- Apr 04, 2021
-
-
Joshua Blanchard authored
Change-Id: I92602106ed69b5e870e280237efa51063fe53cb6
-
Change-Id: I3dd0a1534ab6f345da696ecfb625a5e09530b7d6
-
- To pull this off using common tree setup, we create a custom function in target device tree that achieves the desired result and then call that function during vendor makefile generation. Original commit description: "I hate this as much as any of you, but Android.bp has no native way to tell the build system to literally just copy the APK without messing unnecessarily with JNI dependencies." Signed-off-by:
Joshua Blanchard <joshua.lee.bbg@gmail.com> Change-Id: I5efd9534fc3721061e249e2a5545a14e707538d2
-
Joshua Blanchard authored
Change-Id: I01afda4e67f91f0c21858ec617655a30203e1ed7
-
- Adapted for beckham's needs. Change-Id: I48803eeb72499fe8459805f6ef80ef5f868f431e
-
- Apr 03, 2021
-
-
Change-Id: Id94956fbfd9695f398fd0580548aa17e9d0d126b
-
Change-Id: I0c56c8dfaf76eb133883946caceb2fec7baa37e7
-
* 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
-
Joshua Blanchard authored
- Patched ModFmwkProxyService && ModService to include changes from previous versions as needed. Change-Id: I7179c39fe2e7ed203ab03aa6434e4bafc66fba0f
-
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
-
- Jan 31, 2021
-
-
* 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
-
Joshua Blanchard authored
Change-Id: Ia4bdd85fa116aa62121b5b1f7218402774579f89
-
- Jan 09, 2021
-
-
BOARD_SEPOLICY_DIRS is deprecated. Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
-
Joshua Blanchard authored
* Move product hardware sku property to early-init so that the property is set before hwservicemanager startup. Change-Id: Icd40af90a242d831ddebce6272c379a30c5e94aa
-
Required macros are already defined in kernel now, and due to use of generated_kernel_headers, these gives conflict when compiled, hence drop this include and use kernel side declaration Test: libgptutils.motorola_sdm660 compiles without any issues after this drop Signed-off-by:
Aayush Gupta <aayushgupta219@gmail.com> Change-Id: I3edb0826bbac1dc2919bbb049b1e8956d0e1a8d7
-
- Jan 03, 2021
-
-
* Align with templates while we are at it Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
-
- Dec 03, 2020
-
-
Joshua Blanchard authored
Change-Id: I00375a41701de022b5135e0404e13c7a76fce837 Signed-off-by:
Joshua Blanchard <joshua.lee.bbg@gmail.com>
-
That cflag is required for pn547, pn548 and pn551. pn553 doesn't require it Change-Id: I613af16afcce28c48a3ac48863815f2c0db7bc75
-
Currently our source-built NFC HAL only checks for firmware in the 32bit folder, whereas Motorola modified it to look in the 64bit lib folder, so let's just move ours to the 32bit folder. Change-Id: I2575cd5f3724b1fb0e3ddf6136bd864ade459e05
-
* Move NFA_STORAGE to /data/vendor/nfc Change-Id: I7319d001840cfabcb28f0eae790d026a3e40046b
-
- Nov 08, 2020
-
-
Joshua Blanchard authored
* We're shipping prebuilt version already for Moto Mods support as per this commit: fcbf2bc1 Partially reverts: 72c1048c Change-Id: Iede887d44a98e5e64d30ea8aea69e7868a801f9d
-
- Nov 07, 2020
-
-
Nolen Johnson authored
* Remove PREBUILT_AUDIO flag, as we never merged this in common tree. Change-Id: Iecbed74044ff18c129b6bbbf4266ae8db4c7d16e
-
Joshua Blanchard authored
* Drop useless flag and just override Snap directly in RemovePackages module. Change-Id: I3a910c63d1e1b32621c11ca8eb39435717d372ca
-
- Nov 03, 2020
-
-
Joshua Blanchard authored
Change-Id: I9f6ecfb1c68ceef7165f1324bb4f295b4a7a570e
-
- Nov 01, 2020
-
-
Joshua Blanchard authored
* Drop platform_app r/w permissions on this directory and its files being appdomain now has all the permissions it needs which includes platform_app. Change-Id: I3e2e305da1e2c014613ea68675c31c534ee1f11b
-
- Oct 30, 2020
-
-
Joshua Blanchard authored
* Seems to resolve... E PackageManager: updateAllSharedLibrariesLPw failed: Package com.motorola.motosignature.app requires unavailable shared library com.motorola.motosignature; failing! Change-Id: I8c4cdd9b6471a5dae7f3ec321135e1fb92a47866
-
Joshua Blanchard authored
* Define the hal, but label only enough to appease ModServce. Change-Id: Ie5a459a2fde575361ddf4ebc0c47c98988350aeb
-
- Oct 28, 2020
-
-
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
-
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
-
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
-
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
-
Joshua Blanchard authored
Change-Id: I45e3454ecd8f5af17b00e6ad2b3001fc82190e88
-
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
-
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
-
- Oct 26, 2020
-
-
* Adapted for Beckham. Change-Id: Ifb3ff156eca7a02daec82138aee449b121c071eb Signed-off-by:
Joshua Blanchard <joshua.lee.bbg@gmail.com>
-
* 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
-
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
-
Joshua Blanchard authored
Change-Id: I258bd9279f0fd770e0e6339a4732e1d413b88619
-
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:
Joshua Blanchard <joshua.lee.bbg@gmail.com>
-
* 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
-