Skip to content
Snippets Groups Projects
  1. Apr 04, 2021
  2. Apr 03, 2021
    • Bruno Martins's avatar
      beckham: Add "system/" prefix to system blobs path · d8af4e34
      Bruno Martins authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: Id94956fbfd9695f398fd0580548aa17e9d0d126b
      d8af4e34
    • Nolen Johnson's avatar
      beckham: Add MODIFY_AUDIO_ROUTING to privapp perms for ModService · b83bde46
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      Change-Id: I0c56c8dfaf76eb133883946caceb2fec7baa37e7
      b83bde46
    • Nolen Johnson's avatar
      beckham: Make ModService requires MODIFY_AUDIO_ROUTING permission · 5402b2cf
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Previous to 11, this permission wasn't explicitely needed.
        Now it is, and ModService doesn't request it, so allow do the
        following:
      
        * `apktool d ModService.apk`
        * Add the following permission to the list of requested permissions:
          <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING"/>
        * `apktool b ModService -o ModService.apk`
      
      * Additionally, this is now fine to platform sign, as Moto Mods are now
        EOL, and therefore we don't have to worry about ModService updates
        anymore. We will leave the vendor_platform_signature function for
        for other apps like ProjectorMod to use.
      
      Change-Id: Ie4a218ff94dc47091487cc0af7a1dd28b79ed863
      5402b2cf
    • Joshua Blanchard's avatar
      beckham: Update Mods priv-app's from foles QPFS30.130-15-11-10 · dc1670b4
      Joshua Blanchard authored
      - Patched ModFmwkProxyService && ModService to include changes
        from previous versions as needed.
      
      Change-Id: I7179c39fe2e7ed203ab03aa6434e4bafc66fba0f
      dc1670b4
    • Nolen Johnson's avatar
      beckham: Cleanup dead targets · 6120ea67
      Nolen Johnson authored and Joshua Blanchard's avatar Joshua Blanchard committed
      build/make/core/main.mk:1136: warning:  device/motorola/beckham/lineage_beckham.mk includes non-existent modules in PRODUCT_PACKAGES
      Offending entries:
      nqnfcee_access.xml
      nqnfcse_access.xml
      build/make/core/main.mk:1136: error: Build failed.
      15:35:26 ckati failed with: exit status 1
      
      To do this yourself, put the following line into
      lineage_$TARGET.mk:
      
      `$(call enforce-product-packages-exist,)`
      
      Note that the above flag must be in the product
      makefile to work.
      
      Change-Id: I0e4d93f4c3be077d49befa1f547d11d623ca74d5
      6120ea67
  3. Jan 31, 2021
    • Erfan Abdi's avatar
      beckham: Fix camera recording · 4cd26b39
      Erfan Abdi authored and Joshua Blanchard's avatar Joshua Blanchard committed
      * Patched libmmcamera2_pproc_modules to not look for manufacturer prop, when
        it finds motorola as manufacturer camera hal will start some processes that
        leads to crash on android R...
      * I'm not sure whats downside of this hexpatch but camera recording is fixed...
      
      Change-Id: I8f67d0b07063df30af325a6b8d4181c90c18202f
      4cd26b39
    • Joshua Blanchard's avatar
      beckham: Add IModManager to VINTF manifest · f6088ff7
      Joshua Blanchard authored
      Change-Id: Ia4bdd85fa116aa62121b5b1f7218402774579f89
      f6088ff7
  4. Jan 09, 2021
  5. Jan 03, 2021
  6. Dec 03, 2020
  7. Nov 08, 2020
  8. Nov 07, 2020
  9. Nov 03, 2020
  10. Nov 01, 2020
  11. Oct 30, 2020
  12. 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
  13. Oct 26, 2020
Loading