Commit graph

74 commits

Author SHA1 Message Date
Jens Reidel
bac702fda9 sm8450-common: rootdir: Enable mgame mi_thermald mode
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.

Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 22:58:04 +01:00
Arian
ce5d445710 sm8450-common: rootdir: Add ultrasound socket to sensors hal
Change-Id: Idf860292b6198aac2bf909747be8ab24872b83b2
2024-03-19 22:58:04 +01:00
Arian
7c587d3ae9 sm8450-common: rootdir: Add oem_291 group and ultrasound socket to audio hal
Change-Id: I72121d7130ee1f7d48c656774ceb1a70eed28925
2024-03-19 22:58:04 +01:00
Arian
c7fc76bb98 sm8450-common: rootdir: Add goodix fingerprint permissions
Change-Id: I99dec0b23be7ed93c0f91151f6eafabcdd9e19bd
2024-03-19 22:58:04 +01:00
Arian
a4395b9603 sm8450-common: rootdir: Add mi display permissions to ueventd
Change-Id: Ia50fd6db73de741cd9d774374b617a4ba3ed3615
2024-03-19 22:58:04 +01:00
Arian
733ec1b8a9 sm8450-common: rootdir: Import xiaomi additions to seperate file
Change-Id: Ic794aa8951e525e5fa409d5c6234121109d911c9
2024-03-19 22:58:04 +01:00
Arian
427f5ac4b7 sm8450-common: rootdir: Check persist
Change-Id: Ifc66f4ff386ef3fd01eb10ebe7d105ff9f18127b
2024-03-19 22:58:04 +01:00
Arian
60894cbcbe sm8450-common: rootdir: Add mbnota support
Change-Id: Id503db81379785fef63444e26ee674faa7ae1a06
2024-03-19 22:58:04 +01:00
Arian
973b08b277 sm8450-common: Add touch_report init script
Change-Id: I4db767086b34c46e64cb94a6e4dd20837672d31c
2024-03-19 22:58:04 +01:00
Cosmin Tanislav
65d0066c06 sm8450-common: Reduce Telephony injections
Change-Id: Ia4173ab26bc48cc50f223696e87c44ba9e57f0ef
2024-03-19 22:58:04 +01:00
Adrian Salido
158eace9ca sm8450-common: overlay: Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.

Bug: 123205093
Change-Id: Icb53a748c40bd7ae3dc8d87316d15a47e551d653
2024-03-19 22:58:04 +01:00
Arian
f148f4df20 sm8450-common: overlay: Drop QTI UIM GBA package
We are not shipping the app

Change-Id: Ia00185c7a659462a2f3cff8183610c3c009cf715
2024-03-19 22:58:04 +01:00
Arian
a0170797aa sm8450-common: overlay: Add automatic brightness config and enable by default
Change-Id: I9f99a999d4ca477cb303b87ee51a0f6273e7edfb
2024-03-19 22:58:04 +01:00
Arian
cf521db397 sm8450-common: overlay: Add brightness levels
Change-Id: I048d8899bbf9f5e79ae11cd923434312e3af5a8d
2024-03-19 22:58:04 +01:00
Arian
07ad29a5c3 sm8450-common: overlay: Enable config_dozeAfterScreenOffByDefault
Remove non-existing config_dozeAfterScreenOff

Change-Id: I9c961b2971b8deb9205bec598598d96100069cd3
2024-03-19 22:58:04 +01:00
Arian
959b9083fc sm8450-common: overlay: Import telephony_injection from LA.VENDOR.1.0.r1-15600-WAIPIO.0
Change-Id: I4d1ab43728dfb7c5920a92c56e6b8c3f57fc8d04
2024-03-19 22:58:04 +01:00
Arian
505221f721 sm8450-common: overlay: Import voice over cellular strings
Change-Id: Id2d389d7c1ab0dfd0ae0c9f33a8344a894460f21
2024-03-19 22:58:04 +01:00
Arian
b3cc9df3a3 sm8450-common: overlay: Update Frameworks overlay from LA.VENDOR.1.0.r1-15600-WAIPIO.0
Change-Id: I7a13a9139477c45228966d845087902f503e3fd2
2024-03-19 22:58:04 +01:00
Arian
e97facd2db sm8450-common: overlay: Checkout Frameworks overlay to LA.VENDOR.1.0.r1-13100-WAIPIO.0
Change-Id: Ib65e04f44abb39c807410b5208320578faff1705
2024-03-19 22:58:04 +01:00
Arian
dd1a2fe030 sm8450-common: overlay: Update CarrierConfig from LA.VENDOR.1.0.r1-15600-WAIPIO.0
Change-Id: I5064cd4de2f54a6a17e148b48479fee13228fd39
2024-03-19 22:58:04 +01:00
Arian
1282b1308f sm8450-common: overlay: Update CarrierConfig from LA.VENDOR.1.0.r1-13100-WAIPIO.0
Change-Id: I37be6311c72514206343b66735c1a24440ae523a
2024-03-19 22:58:04 +01:00
Arian
a0bcbb8e7c sm8450-common: overlay: Update Wifi overlay from LA.VENDOR.1.0.r1-15600-WAIPIO.0
Change-Id: Ie1e9980cbc138050de6631709f4ad2cc4bd06230
2024-03-19 22:58:04 +01:00
Arian
cf6b00804b sm8450-common: overlay: Checkout Wifi overlays to LA.VENDOR.1.0.r1-13100-WAIPIO.0
Change-Id: I876dc908cabff70c32bb135e5efc5cc17b27824b
2024-03-19 22:58:04 +01:00
Arian
3f7ea5da4f sm8450-common: overlay: Add _Sys suffixes
Change-Id: If37354e50f86354c45767bfb7ecda88d47f5f393
2024-03-19 22:58:04 +01:00
Arian
a4957b2eed sm8450-common: Import overlays from V13.0.16.0.SLCEUXM
Change-Id: I924f78d20cdd91fdf7f237a334564a946b4eb80f
2024-03-19 22:58:04 +01:00
Arian
d89fe9e188 sm8450-common: Include qcom sepolicy_vndr
Change-Id: I3070d3b03aa8cf10a3f3b08ebb8b796c660b4e7b
2024-03-19 22:58:04 +01:00
Ayishwarya Narasimhan
fc30009ac3 sm8450-common: vintf: manifest: Update ims factory hal to 2.1
Change-Id: Iaaed8a4e8e3d1928bb8093b8377603a9a4bb5d58
2024-03-19 22:58:04 +01:00
Pavan Kumar M
a947e159a0 sm8450-common: vintf: Update IDpmService version to 1.1
Change-Id: Id17525a0d4f86d36d29fa93d1071955393c9b19d
CRs-Fixed: 3078312
2024-03-19 22:58:04 +01:00
Tyler Wear
cb2c337aee sm8450-common: vintf: IFactory 2.5
Up IFactory version to 2.5.

Change-Id: I6a0022a055f405bdb4d4e4d3bca72c221246662f
2024-03-19 22:58:04 +01:00
Arian
db08946477 sm8450-common: vintf: Support diwali, cape and ukee sku
These only differ by strongbox and spu, which xiaomi removes anyway, so use one manifest for all.

Change-Id: Icf19971f775f62b77f8d8ecc504ed30594de83e4
2024-03-19 22:58:04 +01:00
Arian
1f408298df sm8450-common: vintf: Drop tetheroffload.config from manifest
Change-Id: Iaf4611a3eb0f6f24f09a6dcabf56569fc317c10d
2024-03-19 22:58:04 +01:00
Arian
39a9378b45 sm8450-common: vintf: Drop ANT
Change-Id: Ibb2727613d0557c4f1ec4c1144008a53a606a949
2024-03-19 22:58:04 +01:00
Arian
515030b620 sm8450-common: vintf: Drop QTI extended fingerprint
Change-Id: Ifc0647f74da12ba7b90f47df46726efd93794ae1
2024-03-19 22:58:04 +01:00
Arian
1b25918bde sm8450-common: vintf: Drop strongbox and spu
Change-Id: I8f3947b188fc1bb7f2446ed3a53d53c3704f8d0f
2024-03-19 22:58:04 +01:00
Arian
541c714404 sm8450-common: vintf: Add xiaomi manifest additions
Change-Id: I5954f5279de6a0fc85d846cf75e38ed366b7b948
2024-03-19 22:58:04 +01:00
Arian
c6994920f8 sm8450-common: vintf: Import qcom manifest_taro
Checked out to a state before the first public tag which matches stock.
https://source.codeaurora.org/quic/la/platform/vendor/qcom/taro/tree/manifest_taro.xml?h=LA.VENDOR.1.0.r1-11000-WAIPIO.0&id=57a2dd1b02a703ed1318f0f8d6c9478066004ffe
57a2dd1b02/manifest_taro.xml

Change-Id: I8ec9891cf9dd85a262e79bae51bbd4686358facd
2024-03-19 22:58:04 +01:00
Arian
aef421d530 sm8450-common: Include common framework compatibility matrices
Change-Id: Ibb7838384bb448c70c8e5a12ab5ca3a2a0868588
2024-03-19 22:58:04 +01:00
Arian
99422324ae sm8450-common: Import compatibility_matrix from LA.VENDOR.1.0.r1-24300-WAIPIO.QSSI13.0
Change-Id: Ibe17978deed4cb86211cb245f87566e7a21fd6de
2024-03-19 22:58:04 +01:00
Arian
b94400dce7 sm8450-common: Import config.fs from LA.VENDOR.1.0.r1-11900-WAIPIO.0
Change-Id: I645a7ca6b830e4f50efabf05f849806fa51208ea
2024-03-19 22:58:04 +01:00
Bruno Martins
e4b19a036e sm8450-common: Define Soong namespace
Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2024-03-19 22:58:01 +01:00
Arian
b18da8f560 sm8450-common: Configure recovery and import recovery.fstab from LA.VENDOR.1.0.r1-11000-WAIPIO.0
Change-Id: I107359e36cf2d67eba61d34e66610e765b6ba32a
2024-03-19 21:59:58 +01:00
Arian
b6c5d9631b sm8450-common: Change vbmeta_system rollback index location
"Rollback Index Location 1 is already in use."

Change-Id: If6ba66486acd9d949f64260cef36e0ebf88cac48
2024-03-19 21:59:58 +01:00
Alexander Koskovich
c0439621ef sm8450-common: Move GSI AVB keys to /vendor_boot
Change-Id: I59cac1103239dbd885986a98b2edd70ce1391e8a
2024-03-19 21:59:58 +01:00
Nolen Johnson
3051478393 sm8450-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2024-03-19 21:59:58 +01:00
Cosmin Tanislav
4574d0ca21 sm8450-common: Include system_ext in vbmeta system
Change-Id: If8deff26f3f1420c37041c6f5ba7a2f49cdeb4ce
2024-03-19 21:59:58 +01:00
Shivaprasad Hongal
6fce06e128 sm8450-common: avb: Compile recovery image as a chain partition
Add AVB flags to compile recovery image
as a chained partition. This is required
for safe OTA when multislot support is
not present.

Change-Id: I1115eba4038e6fcaa61440846a25861366996ed4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2024-03-19 21:59:58 +01:00
Christian Oder
e26ffed63d sm8450-common: Build disabled VBMeta image
Partitions that use vbmeta_system can be found by looking at
avb flag in fstab from boot ramdisk.

--flags 2 makes the verification function of avb always return a
positive result.

--set_hashtree_disabled_flag builds the vbmeta images with the
HASHTREE_DISABLED bit set and as a result they don't need to manually
disable dm-verity via e.g. 'adb disable-verity'.

The rest of the configuration is taken from
https://source.android.com/devices/tech/ota/dynamic_partitions/implement#avb-configuration-changes

Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2024-03-19 21:59:58 +01:00
Arian
24aa4c1d29 sm8450-common: Implement virtual A/B
Change-Id: I9e5c9a29aeacf382d956f0d5a53bf8f98c717384
2024-03-19 21:59:58 +01:00
Cosmin Tanislav
a5180020d9 sm8450-common: gpt-utils: Add product, system_ext and vendor_dlkm to AB_PTN_LIST
Change-Id: I6ea37a2a08b8508131a00fefda73db2bead8d50d
2024-03-19 21:59:58 +01:00
Cosmin Tanislav
8696d273da sm8450-common: gpt-utils: Add vbmeta_system to PTN_SWAP_LIST
Change-Id: Ifee886ac5b62e7b1816775dc388b423000801d00
2024-03-19 21:59:58 +01:00