314 Commits

Author SHA1 Message Date
SGCMarkus
adb81334a8 sm8250-common: add hotword whitelist and permissions 2022-02-19 15:28:33 +01:00
dianlujitao
477f21e5c1 sm8250-common: Enable moto specific VT APIs for ims.apk
Change-Id: I9be06efcb8130efe543099a1d3a147c3c5148f1c
2022-02-19 15:28:33 +01:00
SGCMarkus
e4966ac6e7 sm8250-common: enable qspm service 2022-02-19 15:28:33 +01:00
SGCMarkus
9ff9e90390 sm8250-common: proprietary-files: remove more duplicates and fix a typo 2022-02-19 15:28:33 +01:00
SGCMarkus
21b29c1582 sm8250-common: proprietary-files: add few missing blobs
alignment with e30fba7666/proprietary-files.txt
2022-02-19 15:28:33 +01:00
SGCMarkus
6af61c5c3f sm8250-common: proprietary-files: remove duplicates 2022-02-19 15:28:33 +01:00
dianlujitao
7e727b900f sm8250-common: Remove moto charger
* The close-sourced binary uses symbols removed on R. It doesn't make
   much sense to fix the 45MB binary :), simply use AOSP one instead.
 * Move charge-only services to init.mmi.charge_only.rc while at it.

Change-Id: I62cdd36603afb46d5287dfcaac3d16acc9fca178
2022-02-19 15:28:33 +01:00
dianlujitao
7ef070111c sm8250-common: Use ueventd to load aw882xx calibration file
* Avoid direct filesystem access from the kernel
 * Switch to CAF-defined label while at it

Change-Id: Id9571e0cfb635b536eb4927fb4b2bed042917306
2022-02-19 15:28:33 +01:00
SGCMarkus
a6fb204f84 sm8250-common: add sepolicies from nio
state: fffc7ba5a6
2022-02-19 15:28:33 +01:00
Arvind Kumar
15bf2f2822 sm8250-common: GRF: Set soc properties
- Set soc model and manufacturer properties

Change-Id: I9ecc1cb75a415f5df147d47234fd9d8b69e1e6b5
2022-02-19 15:28:24 +01:00
SGCMarkus
c386f9ceb3 sm8250-common: overlay: pstar and nio have an assistant button 2022-02-19 00:38:42 +01:00
SGCMarkus
61aa352650 sm8250-common: WifiResCommon: remove old, and set its additional flags in the new 2022-02-19 00:38:41 +01:00
SGCMarkus
daf9cf42d6 sm8250-common: import common/kona overlays from nio
https://github.com/LineageOS/android_device_motorola_nio at 03bb670fb7e1236ebe54e06351ddaa05fb4e58f6
2022-02-19 00:23:56 +01:00
SGCMarkus
802309e154 sm8250-common: add missing ril blobs
also build libcodec2_hidl@1.0.vendor and set media.settings.xml
2022-02-19 00:16:43 +01:00
SGCMarkus
091f230a3d sm8250-common: proprietary-files: add vendor.qti.media.c2 service 2022-02-18 23:23:51 +01:00
SGCMarkus
a5d0fba9e9 sm8250-common: add ro.vendor.radio.imei.sv prop 2022-02-18 23:23:51 +01:00
SGCMarkus
da5b3b4830 sm8250-common: manifest: add second android.hardware.radio entries
also add secure_element eSE1 interface
uprev ims, factory, lpa
2022-02-18 23:23:51 +01:00
SGCMarkus
f1ae7f8284 sm8250-common: add a framework manifest file 2022-02-18 23:23:50 +01:00
SGCMarkus
1b2090b03b sm8250-common: fixup for pstars libgui_vendor.so 2022-02-18 22:09:16 +01:00
SGCMarkus
e7b7cabf19 sm8250-common: fstab: remove spunvm entry
cant be mounted -> causes init to not mount /data (and others)
causes bootprocess to hang, without providing adb or anything
2022-02-18 22:09:16 +01:00
SGCMarkus
4d6667e043 sm8250-common: add missing ril blob 2022-02-18 22:09:16 +01:00
SGCMarkus
e3358a2ba8 sm8250-common: build authsecret and add qti fm vendor hidls 2022-02-18 22:09:09 +01:00
SGCMarkus
c72a8b55a3 sm8250-common: add missing vendor_boot partition to AB list 2022-02-18 19:55:51 +01:00
SGCMarkus
7b7e2ba9a3 sm8250-common: build renderscript impl 2022-02-18 17:31:42 +01:00
SGCMarkus
92f77e9346 sm8250-common: add public.libraries from stock 2022-02-18 17:24:41 +01:00
SGCMarkus
907c9133c9 sm8250-common: add sec_config 2022-02-18 17:22:16 +01:00
SGCMarkus
f026c9bfe9 sm8250-common: add qcom sepolicies 2022-02-18 14:56:33 +01:00
SGCMarkus
472670564f sm8250-common: unify fstabs used, and the vbmeta_system entries 2022-02-18 14:55:20 +01:00
LuK1337
f8bbee0e67 Move mGvmqPlatform from header file to cpp
Fixes duplicate symbol when linking BootControl.o and
libboot_control_qti.o.

Change-Id: I387a6fc24ecaef2bd1f2326f0010688b8f63ec45
2022-02-18 13:40:22 +01:00
SGCMarkus
f4a59c1102 sm8250-common: bootctrl: add previous definitions to build in Android.bp 2022-02-18 13:40:07 +01:00
Dan Pasanen
15492e786c sm8250-common: bootctrl: don't assume both partition's slots are on the same disk
* Call out for the disk of both slots of the target partition
  separately in case they are actually on a different disk

Change-Id: Ief0997a1d59556c08b9128777f07679f49e97877
2022-02-18 13:33:30 +01:00
LuK1337
e9423387bd Expose 1.1 impl via cc_defaults
* Needed for device specific gpt-utils.

Change-Id: I1d9e1b4727728f776594f630f639bd4ca7c4309c
2022-02-18 13:32:22 +01:00
Hridya Valsaraju
68cbba7660 Build bootctrl.sdm845 using Android.bp
This is required to build a recovery variant of the
same to be used by fastbootd.

Bug: 78793464
Test: make

Change-Id: I2774c5cdb7013be2f59f10d84cfff94cb1a842c4
2022-02-18 13:31:54 +01:00
LuK1337
ccec60a545 Drop dependency on librecovery_updater
* Not needed.

Change-Id: Ie255f645eafc6f178b8a333059e83ec3d5dbe622
2022-02-18 13:29:04 +01:00
SGCMarkus
42227251ed sm8250-common: import bootctrl from LA.UM.9.12.r1-13800-SMxx50.0 2022-02-18 13:27:05 +01:00
SGCMarkus
818a89d125 sm8250-common: enable updatable apex 2022-02-18 12:59:02 +01:00
SGCMarkus
78b7a70855 sm8250-common: include gsi_keys 2022-02-18 12:58:40 +01:00
SGCMarkus
02f7b36909 sm8250-common: gpt-utils: add partitions present on moto sm8250 2022-02-18 12:52:00 +01:00
SGCMarkus
e7b05599c9 sm8250-common: copy init.recovery.qcom.rc to recovery/root
this is only done automatically for the target device, not the common folder
2022-02-18 12:52:00 +01:00
SGCMarkus
6f8322a583 sm8250-common: build additional vendor copies of the following:
android.hardware.bluetooth@1.0
android.hardware.drm@1.4
android.hardware.fingerprint@2.1
android.hardware.gatekeeper@1.0
android.hardware.gnss@2.1/1.1
android.hardware.keymaster@4.1
android.hardware.neuralnetworks@1.3
vendor.qti.hardware.perf@2.2
android.hardware.radio@1.5
android.hardware.radio.config@1.2
android.hardware.radio.deprecated@1.0
android.system.net.netd@1.1
2022-02-18 12:50:41 +01:00
SGCMarkus
d6238895ad sm8250-common: proprietary-files: add missing files 2022-02-17 23:35:24 +01:00
SGCMarkus
9f3e5ee98b sm8250-common: build android.hidl.base, libhidltransport and libhwbinder 2022-02-17 22:53:00 +01:00
SGCMarkus
88eb9e2c8e sm8250-common: use proper dynamic partition group name 2022-02-17 22:34:39 +01:00
SGCMarkus
d1b15d650f sm8250-common: remove not needed manifest entries 2022-02-17 20:27:46 +01:00
SGCMarkus
94757d6254 sm8250-common: add a device framework compatibility matrix file 2022-02-17 20:26:00 +01:00
dianlujitao
4aba6474a9 sm8250-common: Create symlink for expat
Change-Id: I65c13a8d817c3e684c42d7c282bef0bed61af50a
2022-02-17 20:23:02 +01:00
SGCMarkus
c3328f249f sm8250-common: recreate symlinks from stock 2022-02-17 20:19:29 +01:00
SGCMarkus
deb22a36e7 sm8250-common: build vendor ramdisk image
also use rootdir/etc/fstab.qcom for recovery
and add recovery.wipe
2022-02-17 19:30:04 +01:00
SGCMarkus
2336e05984 sm8250-common: add first_stage_ramdisk fstab 2022-02-17 19:21:31 +01:00
SGCMarkus
288028e415 sm8250-common: add motobox to proprietary files 2022-02-17 19:20:19 +01:00