Commit graph

250 commits

Author SHA1 Message Date
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
LuK1337
4dee922adc sm8450-common: gpt-utils: Fix build errors.
Change-Id: Ie8245d1637e12b5979a8af1b864cc713135b5c95
2024-03-19 21:59:58 +01:00
LuK1337
4ca9839edd sm8450-common: gpt-utils: Drop unnecessary includes.
* When using generated_kernel_headers including
   asm/byteorder.h will cause a warning due to
   unused static functions.

 * When using generated_kernel_headers including
   stdio.h will cause errors due to redefined macros.

Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
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
sganda
89e306247b sm8450-common: rootdir: taro:Remove spunvm mount from rc file
Remove spunvm mount from rc file since IAR is not supported.

Change-Id: I446d378ada1d51d98d7365d87c94016bc4905879
2024-03-19 21:59:58 +01:00
Ritesh Kumar
0ee90c2e0e sm8450-common: rootdir: taro: fix QUIC copyright marking
This change fixes QUIC copyright marking as per guidelines.

Change-Id: I53794540a4b97341220400a9b2087d8cb557ee1d
2024-03-19 21:59:58 +01:00
Arian
9ccc2798fd sm8450-common: rootdir: Import taro specific scripts from LA.VENDOR.1.0.r1-11000-WAIPIO.0
Change-Id: Ic770480180b7531d6abbd423e4b0feb9c475b8fd
2024-03-19 21:59:58 +01:00
Vamsi Krishna Gattupalli
d5a07eccc6 sm8450-common: rootdir: adsprpc: To disable cdsp daemon if NSP defective for parrot
To disable cdsp daemon by checking value of node
fastrpc_cdsp_status which is set after checking if
NSP is defective.

Acked-by: Ansa Ahmed <quic_ansa@quicinc.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Change-Id: I8f197c46d6cedb64a58ae49d0a5120c8a78e533f
2024-01-25 16:29:47 +01:00
Subrat Dash
9e64959380 sm8450-common: rootdir: init.qcom.rc: Do not register HIDL service
Remove the option to register HIDL service for
wpa_supplicant with a separate instance(wigigsvc).

Change-Id: I953b7d69e7dcaff83cadd9a55f3b76ab2a1216f3
2024-01-25 16:29:47 +01:00
Ganesh Vilas Chaudhari
37ff0286d1 sm8450-common: rootdir: Stop qcrild for qultivate targets
- For modemless qultivate targets, stop the qcrild and make
  ro.vendor.radio.noril property to yes

Change-Id: I111fa5cabc8524ee76a5c5c8c6449b77d1ff6874
CRs-Fixed: 3694884
(cherry picked from commit 7482be9422213036d54e8e3cdb07d6ab001cda51)
2024-01-25 16:29:47 +01:00
Hanuma Sri Saketh Valluri
d3128164e1 sm8450-common: rootdir: ueventd: Set hidraw node to 0660 system system
This is required for dynamic sensor HAL to access hidraw node, which is
needed to enable Headtracking for Spatial Audio on Halliday.2.0

Change-Id: I525b276e3de0558303727d8f2675367d227834cd
2024-01-25 16:29:47 +01:00
Sai Kumar Kunchala
53aab8c384 sm8450-common: rootdir: wpa_supplicant(aidl): Add support for starting AIDL lazily
Able to start supplicant from framework using
ISupplicant.getService() in init_qcom.rc.

Change-Id: Ia4efd2a71916fef88835ba5df2fefc1d403895a1
CRs-Fixed: 3591871
(cherry picked from commit eeac14f4c6e1a8d984b1556cedb2f1b2bef93663)
2024-01-25 16:29:47 +01:00
PRANAY BHARGAV BHAVARAJU
46ceefad47 sm8450-common: rootdir: avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2024-01-25 16:29:47 +01:00
Yuanfang Zhang
de333dc9cc sm8450-common: rootdir: ueventd: Add support for byte-cntr1
The device under /dev/byte-cntr1 should be with permission
root diag.

Change-Id: Id5e45789995b706360742253fc93dc2304f70442
2024-01-25 16:29:47 +01:00
Anand Jha
941fe452b6 sm8450-common: rootdir: Remove vendor.ril-daemon commands
Remove legacy rild vendor.ril-daemon services
commands as they are not used now.

Change-Id: Ib1a88d34dc73ff72f553b923e75ef084dd5d56f1
CRs-Fixed: 3262433
2024-01-25 16:29:47 +01:00
Michael Adisumarta
5b82062c5e sm8450-common: rootdir: ueventd: Add support for ipa_lnx_stats_ioctl
The device under /dev/ipa_lnx_stats_ioctl should be with permission
radio radio.

Change-Id: I531cbda9954e17012b247f6505b51cd5adda7c3d
2024-01-25 16:29:47 +01:00
Naman Jain
4abfd2ac85 sm8450-common: rootdir: init: remove getprop commands for fixing avc denials
remove logic from init scripts where getprop is used,
causing avc denials. Removed logic is not applicable
to current targets using this.

Change-Id: Ib783c6b2c341da59d24b8f4626e0461e1fbbdd0d
2024-01-25 16:29:47 +01:00
Mohammed Mirza Mandayappurath Manzoor
97798cb173 sm8450-common: rootdir: ueventd: Set permissions for KGSL sysfs node
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.

Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
2024-01-25 16:29:47 +01:00
Naman Jain
e6e7537915 sm8450-common: rootdir: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file.

Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e
2024-01-25 16:29:47 +01:00
Satish Kumar Kodishala
cc837a6545 sm8450-common: rootdir: Add permissions for btfmslim node
Add permissions for btfmslim node to be
able to access from FTM.

Change-Id: Idd2988dff0967f05429e9e142937a96a274a4833
2024-01-25 16:29:47 +01:00
Benergy Meenan Ravuri
14163a49cd sm8450-common: rootdir: ss_ramdump: set io priority to realtime
Change-Id: Ie6af973c15cae9ae983041298caa130df9e5f0b1
2024-01-25 16:29:47 +01:00
Arian
d9a4f0ce33 sm8450-common: Import qcom common scripts from LA.VENDOR.1.0.r1-11000-WAIPIO.0
Change-Id: Ia3030c7c18ad39ac58d17a3147b269a6f1093b59
2024-01-25 16:29:40 +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
Arian
0d2c2e78ab Initial commit 2022-04-03 15:03:49 +02:00