Commit graph

31 commits

Author SHA1 Message Date
Arian
60f3b13f27 sm8450-common: Decommonize regulator, touch, haptics and audio kernel modules
Change-Id: I644b35134d3beca8c31d218bfcbff2f4ad4ac2fd
2024-03-19 23:22:37 +01:00
Arian
5a49bb0289 sm8450-common: Extract from unicorn
Change-Id: I4eabd9505d7875357a43a26a472433b80e14ccc1
2024-03-19 23:22:37 +01:00
Arian
2e2859f77e sm8450-common: Import proprietary files listing
Change-Id: I7d53b0acb56b101f909578e046553e48837867b3
2024-03-19 23:22:36 +01:00
Arian
d921c96ffd sm8450-common: Configure kernel build
Change-Id: I478751631d78ce70f2032ad376ef017bfed39f78
2024-03-19 23:22:36 +01:00
Arian
41eb2e51bd sm8450-common: Enable camera override format from reserved
This enables qcom additions for high framerate videos.

Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
2024-03-19 23:22:36 +01:00
Arian
8da6db63f9 sm8450-common: Set display board flags
Change-Id: I1f78b0dadb14452f2a0c5152661813580b105064
2024-03-19 23:22:36 +01:00
Arian
4b95dd4ce1 sm8450-common: Set audio flags
Change-Id: I43706f761ac871638d00c2ca4b14c083de5d9701
2024-03-19 23:22:36 +01:00
Arian
37eea61587 sm8450-common: Initial sepolicy
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
2024-03-19 23:22:36 +01:00
Arian
65f2b53ea1 sm8450-common: Build WiFi hal from source
Change-Id: I31ad65417cfcd1bff81f8686e319c627634e992f
2024-03-19 22:58:04 +01:00
Arian
1253ccdfcf sm8450-common: Enable 64bit audio HAL
Change-Id: Iab35e98a78863c8bb08d07b3fc3d13b792e4f824
2024-03-19 22:58:04 +01:00
Arian
8f6c27c442 sm8450-common: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2024-03-19 22:58:04 +01:00
Arian
e578f20fad sm8450-common: Build telephony packages and disable rild
Change-Id: I876600dd0c72eceeef65be9d78d869368ec635c9
2024-03-19 22:58:04 +01:00
Arian
e01402faeb sm8450-common: Add properties from stock
Change-Id: Ia18b74e99cb0e62d5274179a42b87d914bd65298
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
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
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
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
Arian
c4670a2a21 sm8450-common: Add bootctrl and import gpt-utils from LA.VENDOR.1.0.r2-07900-WAIPIO.QSSI13.0
Change-Id: I29aeee0348fbcf111bbdf232ac171106f4cb92bd
2024-03-19 21:59:58 +01:00
Arian
d7d146490d sm8450-common: Define partition flags
Change-Id: I9746d1ea7b2b3eeaaae10b6bf83a6de671f12838
2024-01-25 16:29:32 +01:00
Arian
5249ffabc9 sm8450-common: Intial configuration
Change-Id: Ia0c75c39fe5772e3b7887b75f2721ac7183a3d55
2024-01-20 10:33:25 +01:00