Commit Graph

351 Commits

Author SHA1 Message Date
Wang Han
3eefee6e89
davinci: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2020-08-06 21:28:09 +02:00
Arian
bf9b868b7f
davinci: rootdir: Cleanup ueventd.rc
Change-Id: I82f91760460dc00610a654a0f2a9e4bfcaafa96f
2020-08-06 21:28:09 +02:00
Demon000
cce942315f
davinci: rootdir: Cleanup init.qcom.usb.rc
Change-Id: If34bb86511ba660d095586f311690f24250b1f7d
2020-08-06 21:28:09 +02:00
TheScarastic
f3f6c69d93
davinci: rootdir: Set default thermal mode to evaluation
Change-Id: I4f08455abbb3391d46f10a3821a3699e82947e74
2020-08-06 21:28:09 +02:00
Hai Shalom
76b173c3c7
davinci: rootdir: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2 to init.qcom.rc to davinci project.

Bug: 129693419
Test: lshal
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2020-08-06 21:28:09 +02:00
LuK1337
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2020-08-06 21:28:09 +02:00
Demon000
1a7135d93a
davinci: rootdir: Cleanup init.qcom.rc
Change-Id: I075233b71275788fd398c1046765445470b8ee06
2020-08-06 21:28:09 +02:00
Arian
25be117b7b
davinci: rootdir: Import camera motor to init.target.rc
Change-Id: I0190d6b2127c8c52cb079cbd3a5ec772dc9a2fc8
2020-08-06 21:28:09 +02:00
Demon000
1fce149484
davinci: rootdir: Remove unused panel info script
Change-Id: I5d6e076002829c16b17bce6c0acc7687e71aa43d
2020-08-06 21:28:09 +02:00
Arian
b89ad972ad
davinci: rootdir: Cleanup on charger
* Don't enable adb
* Actually mount persist
* Don't split on charger to init.qcom.rc and init.target.rc

Change-Id: Ia4d6d1e417056a6b87358e384bd7a0bedcca1d63
2020-08-06 21:28:09 +02:00
Demon000
867af09b6b
davinci: rootdir: Import coral fs tuning
Change-Id: I3aff3f65a20a82fb7a29ea940597a45ec8e02727
2020-08-06 21:28:09 +02:00
Demon000
7acc933f7d
davinci: rootdir: Move configurations to their proper group
Change-Id: If564c1914fc1bf63d9b87113f4b97009ab162ddc
2020-08-06 21:28:09 +02:00
Demon000
28e249ea57
davinci: rootdir: Start nv_mac on main class
Change-Id: I163fa63bc8fc35584afdc67ab029764066c0964f
2020-08-06 21:28:09 +02:00
Arian
eae07b592e
davinci: rootdir: Cleanup init.target.rc
Change-Id: I659ca6f199684e894df197a05e2076e7fbc3305b
2020-08-06 21:28:09 +02:00
Arian
1522a26294
davinci: rootdir: Enable hvdcp_opti
Change-Id: I038ed0240db4bee39037b60b9ecbe90c2141a428
2020-08-06 21:28:09 +02:00
Arian
e9886e56c0
davinci: rootdir: Move nv_mac service declaration to init.target.rc
Change-Id: I03a3ae4dcea4078f0b03c18b44f4aebd0eeffbbe
2020-08-06 21:28:09 +02:00
Arian
b9acaf3ef7
davinci: rootdir: Add required fstab entries
Change-Id: Id20701d075a92a4dfde3a99478862945599e8598
2020-08-06 21:28:09 +02:00
Arian
5533cb3b62
davinci: rootdir: Import uevent
Change-Id: I7156ee9e8f6035135114c5d69fea54a4b0d2579b
2020-08-06 21:28:09 +02:00
Arian
2aa75ea3a3
davinci: rootdir: Import scripts
Change-Id: I6dbee7c54c43a3e2186d21e7df6a028762aeb49a
2020-08-06 21:28:09 +02:00
Bruno Martins
be67c50cca
davinci: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2020-08-06 21:28:09 +02:00
Arian
031e9dfb0a
davinci: Cleanup qti_whitelist
Change-Id: I05033a1146aeae410985fa22e0039f80fe5cee53
2020-08-06 21:28:08 +02:00
Arian
f943def98b
davinci: fm: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I933ee9527f2adff22df22acc4de330ff0c7fed50
2020-08-06 21:28:08 +02:00
Arian
1d1ca7b65f
davinci: fm: Disable loading of firmware
Change-Id: Idbb383567cc3b95e6a21f387184169c02d11a9bc
2020-08-06 21:28:08 +02:00
LuK1337
2bd87d4991
davinci: Set vendor.bluetooth.soc property to cherokee
* This prop is usually used for FM2 and its JNI.

Change-Id: Ieec0ba907f649f816f313a5ce27bbd1df24e5058
2020-08-06 21:28:08 +02:00
Arian
a23c2562ab
davinci: fm: Build FM2
Change-Id: Ifb8b0868f196f7cf84cd2dc251de03efb4656ac8
2020-08-06 21:28:08 +02:00
Arian
221474267e
davinci: soter: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I347e47f1ea844f887c2e569bcc32e3bf099db737
2020-08-06 21:28:08 +02:00
Fabian Leutenegger
85f1a5efdf
davinci: ant: Build ANT+ HAL
Change-Id: I0235a7f3dff531f000e897efa2e63621f969a23e
2020-08-06 21:28:08 +02:00
Arian
3e9108051f
davinci: charger: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I8f920baf489e8b91cdbc5e3031a5e96a7646ae8e
2020-08-06 21:28:08 +02:00
Michael Bestas
21ca597be9
davinci: charger: Enable offline charger suspend
Change-Id: I27a642dbadfba1575ff2d8e96dc385fc19c0eaff
2020-08-06 21:28:08 +02:00
Arian
eebc547142
davinci: network: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I5453e9019b8e142231675cb996a9d7fea36d2cbf
2020-08-06 21:28:08 +02:00
shoudil
29d90f8b4f
davinci: vndk: Build framework detect modules
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify the vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2020-08-06 21:28:08 +02:00
Arian
f4e715dc98
davinci: vibrator: Build HAL
Change-Id: I3c3200a3ad5b9410ee861a981352b4d7eddf5e53
2020-08-06 21:28:08 +02:00
Arian
07850efdd7
davinci: usb: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I892323509d859b7e6642ccb7befee07961bc2cd5
2020-08-06 21:28:08 +02:00
Arian
254d3d5732
davinci: usb: Build service
Change-Id: Ic3d4b060c59de915dea823a084bbb0c1bf8e59f9
2020-08-06 21:28:08 +02:00
Artem Borisov
4309433e5e
davinci: wfd: Add QCOM's implementation
Change-Id: I7fa7fff123130c2762b97528a8bfe973f55a727f
2020-08-06 21:28:08 +02:00
Arian
ef1a06ec19
davinci: wfd: Add QTI privapp permissions
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I888a2334e7795e327177a6036f549eaffb27cf8b
2020-08-06 21:28:08 +02:00
Arian
4575d7e7d5
davinci: sensors: Import blobs
Change-Id: If70ab52d2960a8bcc13e96a8b2f40c49e3aa1f00
2020-08-06 21:28:08 +02:00
Arian
52f6776fe8
davinci: sensors: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ie319f5940fd3917a4b0537da341e7a1280d26312
2020-08-06 21:28:08 +02:00
Arian
a92a283578
davinci: sensors: Build HAL
Change-Id: If0cd2457072b615e5298bfe421a120298a01959f
2020-08-06 21:28:08 +02:00
Arian
2a7263c2bb
davinci: health: Build HAL
Change-Id: I93c025a9d60e46a3239052ba2eab96d8e470a765
2020-08-06 21:28:08 +02:00
Bruno Martins
65d8db50aa
davinci: textclassifier: Build smart selection models
Change-Id: I4de9326fe60a395454834906552518afbc376f49
2020-08-06 21:28:08 +02:00
Arian
eece4b9221
davinci: thermal: Add mi_thermald
Change-Id: I5de37c21f2c885665e4ff3fa5b431434eeddb023
2020-08-06 21:28:08 +02:00
Arian
14084ffdca
davinci: thermal: Import blobs
Change-Id: I02cd13e2d155796604f1c5c739134a3a1a1c98b1
2020-08-06 21:28:08 +02:00
Arian
a18b9e2016
davinci: thermal: Build HAL
Change-Id: I066f6f1bbf45652bc62e76bfd489fc2b6694e421
2020-08-06 21:28:08 +02:00
Arian
9defaf4564
davinci: handheld: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I7aa974b74b89d2ce712777358e8cb6064470d14a
2020-08-06 21:28:08 +02:00
Arian
644b687a03
davinci: gps: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ie7b5fb38125b75df174690c69c80a492e6756521
2020-08-06 21:28:08 +02:00
Arian
b4714f28be
davinci: gps: Import blobs
Change-Id: I38bb6ff4582359755ed2f80c70d0a7a092a094d1
2020-08-06 21:28:08 +02:00
dianlujitao
0a95afa32f
davinci: Use timeservice_app_cert certificate for TimeService app
Change-Id: I5b7ee8dc7d7be0e6b7f4a02a4535adb7ad6c677f
2020-08-06 21:28:08 +02:00
Arian
79c6619511
davinci: timeservices: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I0086fc814f430b55fb2101278ab35c2a60295869
2020-08-06 21:28:08 +02:00
Demon000
2287d53598
davinci: wifi: Enable 2.4GHz channel bonding
Change-Id: I6f006b6407af78b19092b2fc05733e7ec097c5f1
2020-08-06 21:28:08 +02:00