Commit graph

51 commits

Author SHA1 Message Date
Jens Reidel
f8535a90d0 sm8450-common: Build qca6750 module in addition to qca6490
Change-Id: I5ea957dc2ddb9742bb929595570ca7e63cd1476c
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Arian
2875d02e19 sm8450-common: Update blobs from V816.0.4.0.ULLMIXM
tunings.txt got removed from vendor, blobs only reference /mnt/vendor/persist/vpp/tunings.txt

Change-Id: Ic572965155a57b6815c7418fb5d368dc9268a960
2024-05-18 11:05:22 +02:00
Arian
6e6c6d5141 sm8450-common: Update blobs from V816.0.3.0.ULFMIXM
Change-Id: If178a1a004cfaf4474d9a375912301ef721f7f24
2024-04-09 18:16:58 +02:00
Cole Faust
91b704b61d sm8450-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-22 09:58:29 +01:00
Michael Bestas
341bfeae81 sm8450-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-03-19 23:22:37 +01:00
Jens Reidel
8c6add2160 sm8450-common: Build Lineage PowerShare HAL
Change-Id: I3ea02cd0c6b1a26851f1961768e00e5f3339c4bb
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
6d717119b7 sm8450-common: Allow choosing NFC supported SKUs
Change-Id: Ia14a6c93e6320c8dfa1df2957e19b51a267c2234
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Arian
3ce1e37a01 sm8450-common: Update blobs from unicorn V816.0.3.0.ULECNXM
Change-Id: I450a8b6079fd8ec454de573e0c00145884e9d0d4
2024-03-19 23:22:37 +01:00
Jens Reidel
e2499f7089 sm8450-common: Fix qcacld-3.0 module path
This was a symlink to "." and removed in newer qcacld-3.0 versions.

Change-Id: I30bcdc56af59248b1fdc9f0f680c4c9f56e3d99b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Bruno Martins
cc77d18b06 sm8450-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-19 23:22:37 +01:00
Michael Bestas
9dc0c1f103 sm8450-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-03-19 23:22:37 +01:00
Arian
f7693955d8 sm8450-common: Reserve some space on system partitions
Change-Id: Ifa2c030cdeb1d731b114a93fefac20f8bf158048
2024-03-19 23:22:37 +01:00
Luofan Chen
cb98749357 sm8450-common: Import QCC system_ext blobs
Makes the QTI GNSS service happy. Thanks luca020400 for the help.

Change-Id: I6de25b0b3fde6cce3a6cdf95f31c68734d429956
2024-03-19 23:22:37 +01:00
Arian
73e615c43a sm8450-common: Build GNSS HAL from source and import proprietary configs from V14.0.11.0.TLECNXM
Also drop disabled and unused gnss services

Change-Id: I5da8b02daf11a84d5083810ab3bcbe613cf618bb
2024-03-19 23:22:37 +01:00
Arian
8d24a268f9 sm8450-common: Drop sla
Change-Id: I725028a3a6cd41b4008d46de476bfe986052de60
2024-03-19 23:22:37 +01:00
Roger Ellis
e68f771221 sm8450-common: Add exclusion for vendor ELF prebuilts
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
 - Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
 - See b/156534160 for long-term fix which should override this change.

Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2024-03-19 23:22:37 +01:00
Dan Willemsen
a98cafec7e sm8450-common: Mark as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2024-03-19 23:22:37 +01:00
Arian
17318c1ba5 sm8450-common: Kang display blobs from eqs
Change-Id: I256ef5141c3ce1988da950c217da35ae75d50d94
2024-03-19 23:22:37 +01:00
Arian
761e3fe5cb sm8450-common: Switch to unified supplicant service rc entry
Change-Id: I6cc5a1d062c19be570d5631cb7ea9c760a992aef
2024-03-19 23:22:37 +01:00
Arian
bf1d4271a1 sm8450-common: Switch to generic cpu variant
Change-Id: Iec116bb8d489ce7c07b36006086870b37ad971e6
2024-03-19 23:22:37 +01:00
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