Skip to content
Snippets Groups Projects
  1. Jan 31, 2021
  2. Jan 09, 2021
  3. Jan 03, 2021
  4. Dec 03, 2020
  5. Nov 08, 2020
  6. Nov 07, 2020
  7. Nov 03, 2020
  8. Nov 01, 2020
  9. Oct 30, 2020
  10. Oct 28, 2020
    • Joshua Blanchard's avatar
      beckham: Add aov_ec_mixer_paths for MotSpeakerHelper · d4f12f99
      Joshua Blanchard authored
      * Based on observing these in logs...
        - E audio_route: Failed to open /vendor/etc/aov_ec_mixer_paths.xml:
            No such file or directory
        - I MotSpeakerHelper: AOV_EC mixer_path xml not found
      
      Change-Id: Iba85d6b192ab408345785b28bbcd434ec72cae1c
      d4f12f99
    • Joshua Blanchard's avatar
      beckham: Use charge_only_mode from PPWS29.131-27-1-27 · 6f09938e
      Joshua Blanchard authored
      * The common binary doesn't have support for Mods whereas this
        one does have dependencies on libmodmanager, so switch to device
        specific. Our blob will simply override the one in common vendor
        thus no need to decommonize it just so we can use our own.
      
      Change-Id: I3186c4aaed1b0272b0c9249fe648d21e0dbe70fd
      6f09938e
    • Joshua Blanchard's avatar
      beckham: Create /data/gbfirmware for ModService · 045a5042
      Joshua Blanchard authored
      * Do this by creating init.sys.beckham.rc which will run from
        /system during post-fs-data. This way the directory gets created
        and proper sepolicies are set and ModService is satisfied.
      
      * Update sepolicy accordingly
      
      * Also, change gbfirmware_file -> greybus_fw_data_file which is the
        same as the stock label.
      
      Change-Id: I8ee402e49dee8f95133634d57b48354a7b2acf43
      045a5042
    • Joshua Blanchard's avatar
      beckham: sepolicy: Label sysfs_greybus path(s) in file_contexts · 2d19d531
      Joshua Blanchard authored
      * Most of these are already added to genfscon, but it seems this
        additional labeling in file_contexts is needed to address a
        crash; E AndroidRuntime: FATAL EXCEPTION: Greybus Dispatcher
      
      Change-Id: I61e87c3f948fc0e3adc93c9e01c00c668f3df660
      2d19d531
    • Joshua Blanchard's avatar
      beckham: Migrate to function blob_fixup() for patching blobs · 882d6cce
      Joshua Blanchard authored
      Change-Id: I45e3454ecd8f5af17b00e6ad2b3001fc82190e88
      882d6cce
    • Joshua Blanchard's avatar
      beckham: Patch ModService to allow INTERACT_ACROSS_USERS_FULL · 9055443f
      Joshua Blanchard authored
      * com.motorola.permission.INTERACT_ACROSS_USERS_FULL ->
        android.permission.INTERACT_ACROSS_USERS_FULL
      
      * This CL fixes ModService crash due to not being able to
        register as a user app. After this, ModService successfully
        registers and no crashes are observed in logs.
      
      Change-Id: Ie3bdcc1c7094513b6962c85ce2972aed5879a852
      9055443f
    • Joshua Blanchard's avatar
      beckham: Give audiohal access to prox and spkr calibration data · d645584a
      Joshua Blanchard authored
      * Speaker (and receiver) calibration files are located on persist
        partition. Grant audio permission to find and read these files.
      
      * Moto's libspeakerbundle needs access to the proximity sensor,
        so allow it to find sensorservice so MotSpeakerHelperProximity
        can instantiate SensorManager.
      
      Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
      d645584a
  11. Oct 26, 2020
    • Bruno Martins's avatar
      beckham: overlay: Beautify rounded corners · 82aa6375
      Bruno Martins authored and Joshua Blanchard's avatar Joshua Blanchard committed
      
      * Adapted for Beckham.
      
      Change-Id: Ifb3ff156eca7a02daec82138aee449b121c071eb
      Signed-off-by: default avatarJoshua Blanchard <joshua.lee.bbg@gmail.com>
      82aa6375
    • Michael Gernoth's avatar
      beckham: Exclude Lineage Camera app · 6475d0ad
      Michael Gernoth authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * We use our moto Camera app.
      
      EDIT: This way allows us a little more flexability and
      doesn't require decommonizing the package for all devices.
      
      Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
      6475d0ad
    • Joshua Blanchard's avatar
      beckham: Enable support for prebuilt audiohal · c7a54c01
      Joshua Blanchard authored
      * Setting the flag excludes building the audiohal so we
        don't still end up with the arm64 variant source built
        blob at /vendor/lib64/hw/ being stock only includes arm
        version of the hal, which when shipping the prebuilt blobs,
        are the only variants overridden.
      
      Change-Id: I66c2216e11eec39afdbde488a153fc351e691ea9
      c7a54c01
    • Joshua Blanchard's avatar
      beckham: sepolicy: Allow ModService to set usb priority · b7ecbc8a
      Joshua Blanchard authored
      Change-Id: I258bd9279f0fd770e0e6339a4732e1d413b88619
      b7ecbc8a
    • Joshua Blanchard's avatar
      beckham: Update sepolicy for MotoMods · 376ac5f0
      Joshua Blanchard authored
      
      * Make policy less generic and more specific to what we are
        defining. Move ModService to mods_app and define the attribute
        in public policy so it can be properly used across system
        vendor split within private and vendor policies.
      
      * Address mods_camd denials observed in logs
      
      * Add seinfo for ModService app
      
      * Allow ModService to read ro.boot.secure_hardware property
      
      Change-Id: I1bffe7e7b1ceb54bd91ce3f8b982cf94d9afe2ab
      Signed-off-by: default avatarJoshua Blanchard <joshua.lee.bbg@gmail.com>
      376ac5f0
    • Erfan Abdi's avatar
      beckham: Disable mods_camd · df59d754
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * mods_camd is for camera mod and camera mod is broken due to missing framework
        changes and we probably can never get it working on lineage anyway
      * This change also fixes camera focus
      
      Change-Id: I1051e94f9ef8eee5ce916bb18a2e3d2996935f5a
      df59d754
    • LuK1337's avatar
      beckham: Patch prebuilt P blobs to load libprocessgroup · e7488488
      LuK1337 authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * The symbol `set_sched_policy` users moved from libcutils
        to libprocessgroup, so change out the dependency.
      * Pin the patched HAL, leave patching logic for when we want
        to update it.
      
      Change-Id: I0151324ec561e2c8c1bcd12fb87254de0d92706a
      e7488488
    • Nolen Johnson's avatar
      beckham: Include MotoSignatureApp · 04923d61
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Needed for MotCamera2 to update via the Play Store.
      * Also exclude from dex-opt'ing on host, as this app
        is known not to like that (see: shamu, clark).
      
      Change-Id: Ibf2aafd731783fdae63b228460753457296de47c
      04923d61
    • Nolen Johnson's avatar
      beckham: Mark MotCamera2 as presigned · ad98c738
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: Ifa4501b9dc14326ce73df1b106a9a0dcd5f9b5f6
      ad98c738
    • Nolen Johnson's avatar
      beckham: Add Moto Camera 2 & priv-app permissions · eaf88dec
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Snap APIv2 doesn't support our Aux Cam, or Camera
        Mods (considering they are removable and need special
        HAL handling for flash, internal Camera/USB disabling,
        etc.
      
      * Snap APIv1 doesn't like our front-flash, or video
        recording audio (likely fixable). As well as the
        aforementioned lack of Camera Mod support.
      
      * Mata ships Klik to support an external Camera "mod"
        and sets precedent for shipping OEM Cameras, so we're
        just going to go ahead and do it.
      
      Change-Id: I7d5001e7f743cdb9aaeb70c032a19cc008209135
      eaf88dec
    • Nolen Johnson's avatar
      beckham: audio: Kill mot_speaker_effect · 7c19d900
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Revives some A2DP use cases (eg. SBC, aptX).
      * I intend to fix this effect at some point,
        though it will require more time.
      * This, comically, fixed Moto's EQ service choking
        in the background, and makes audio from Audio Mods
        sound, like, 100% better, more bass, etc.
      * TODO: Limit Speaker Mod volume, cause over ~70% sounds
        crackly.
      
      Change-Id: I56ca79c9a1fe47b9da812ee2f8b09c4648391005
      7c19d900
    • seeburger's avatar
      beckham: Initial support for audio Moto Mods · fcbf2bc1
      seeburger authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Added proprietary files.
       * Prebuilt Audio HAL & dependencies.
      * Adjusted SELinux policy to allow the audioserver to access greybus files.
      * Disable AudioFX - Audio Mods/Our Prebuilt HAL DO NOT like this, it's
        EQService directly conflicts with the Motorola one we need to get Audio
       * TODO: Potentially add support to AudioFX for the Moto EQ service if
         possible.
      * Update audio_effects.xml from stock.
      
      Change-Id: I17f38dce866fdc2db9ee23922fc43d402fce45a9
      fcbf2bc1
    • Erfan Abdi's avatar
      beckham: Add moto audio mods helper effect · 250aec62
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * MMI effects wrapper is also needed.
      " Add moto EQ HAL to manifest.
      
      Change-Id: Id2031156c20cfb9e6f3f0036b0792e9272b6aa7e
      250aec62
    • Erfan Abdi's avatar
      beckham: Patch ModFmwkProxy to fix boot crash · c9712bfb
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: Icafa6a565991f87c66ec69c4af59be21be75235a
      c9712bfb
  12. Oct 25, 2020
Loading