Commit graph

839 commits

Author SHA1 Message Date
Pig
d06a7361f4
light: Remove backlight support in favour of hwcomposer
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ia05d24423bb80bb5df6a5352ea68bd8e971d5b32
2021-07-16 23:40:47 +02:00
Bruno Martins
0e256fece3
Ditch vendor.rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-07-16 23:38:58 +02:00
DennySPb
0ab66457c6
kunlun2: Sort and cleanup vendor.prop 2021-07-16 23:32:06 +02:00
Bruno Martins
961898527d
sepolicy: Add thermal-engine rules
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I4ef5664b036d0cff81ebb39646276b208da4986b
2021-07-16 23:25:14 +02:00
DennySPb
37b5c61917
sepolicy: Fix camera properties for vendor build
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I9eda9aa87102c44400c4dfb48588835d6ecb834f
2021-07-16 22:07:31 +02:00
GiaSen
57e6de12d3
sepolicy: address some more denials
and nuke neverallows
2021-07-16 18:44:08 +02:00
Bruno Martins
cb9efcce49
kunlun2: Opt-in for QC RIL service
Change-Id: I8f25446824efad6a14211cc77264524f908df7cd
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
Alex Naidis
24a8008375
wifi: enable QPower and Deep sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings

Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I052498f312b3b3f7c6d843c9b69a9aca9aecb72a
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
George Chang
c78d20bfcd
rootdir: Default enable uicc se
It should be true in new versions.
uicc_se_enabled is true by default, but persist property
may remain false after ota

Bug: 149075883
Test: enable uicc_se
Change-Id: I78f8d51cb9ffb92f4eb7dea232920c2b69ce359d
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
Adam Shih
84460e3bdf
sepolicy: gmscore_app: suppress denials on firmware
Bug: 149543390
Bug: 149062700
Bug: 151195371
Test: boot with no gmscore_app avc error
Change-Id: I4c667b86863121529f7c3a24b9daf615260104c7
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
Pig
be846c32da
sepolicy: ignore hardless QCOM denials
Change-Id: Ie8f74bde8aeedbd134b11307221c1f930ea4f5dc
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
Pig
d87e39409a
Move DPM feature property to /system_ext
* DPM blobs are under /system_ext.

Change-Id: I6bafdc3b310168c6b4d681c9eb94eb4e2e43c5e5
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
Chenyang Zhong
0dbccb45e2
props: inline DPM prop changes
with LA.UM.9.8.r1-02700-SDM710.0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I5f24de9adea5fcc971b3d139ebbfd088182112af
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
Ray Essick
7e231d0a53
seccomp: Allow mremap to use MEMRMREMAP_MAYMOVE flag
Bug: 151163101
Bug: 152908945
Test: see bug, shouldn't see crash in mediacodec minijail

Merged-In: If25dc5a56fe2f549d7867aa5a459b949be7e6947
Change-Id: I9835b0e8ef2e8286b5142c6bec9fb7796d3947cc
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
Alessandro Astone
974954b682
Import codec2 seccomp policy
Change-Id: I9efcb2f71a3917c4e317fdde754fc10905b91cc9
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
Ashwin R C
ec1d9ed563
sepolicy: Allow hal_audio_default to read audio_device
audio_hw_primary: pcm_open_prepare_helper: cannot open device '/dev/snd/pcmC0D0p': Permission denied

Change-Id: I8fb7ec2c269fca6b8bf21aacf521990e9279418d
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
LuK1337
4652cba66e
sepolicy: Address hal_audio_default denials
Change-Id: I67b064ccf1d84ca4b891f1cdb4f4d6ecebdbce23
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:05 +02:00
LuK1337
1efea1f5bc
kunlun2: sepolicy: Address time_daemon denials
Change-Id: I83947a673ed19cfc20c130fb133d1957aa44d284
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:05 +02:00
LuK1337
2f47635396
kunlun2: sepolicy: Address qti_init_shell denials
Change-Id: I21807dc3ae7b7c073b3b06f1412ccc21a727b497
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:05 +02:00
LuK1337
7f69622f6f
sepolicy: Address kernel denials
Change-Id: Ie506bd769173d1c5780cfbf8b2740b5c5d66d8c5
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:05 +02:00
Scott Warner
933e39f1c8
sepolicy: Address hal_graphics_composer_default denials
Change-Id: Iff994cc69d8e11b746cda5a5517c0cf0deea8c86
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:43:59 +02:00
Scott Warner
047ebfb3ab
sepolicy: Address sensors denials
Change-Id: Iff842e7333fba5dd17cb3675caede95dd37e3780
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:42:51 +02:00
LuK1337
ff0ea35f8a
kunlun2: sepolicy: Address hal_sensors_default denials
Change-Id: I211841e7709e6e54edcce9951f5a52f7b7be6158
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:34:31 +02:00
LuK1337
cd50185651
sepolicy: rild: file->dir
Change-Id: I631cc080ad0dedecf24476bac84064575b809809
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:34:31 +02:00
LuK1337
da6ae287a6
sepolicy: Address rild denials
Change-Id: Ia081566c64e7cdc4007baab0de61ba8e62906a61
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:34:21 +02:00
Giammarco Senatore
dfbc4aeaba
kunlun2: Nuke neverallows
for real now
2021-07-16 18:33:17 +02:00
Giammarco Senatore
dedb2fbbcc
kunlun2: Don't ignore neverallows anymore
now that vendor is source built
2021-07-16 18:00:05 +02:00
Giammarco Senatore
8542e2767b
kunlun2: Use prebuilt audio HAL
Import some more needed configs as well (from stock)
and cleanup unused ones
2021-07-16 17:55:02 +02:00
Jake Weinstein
24e8915eaa
kunlun2: Do not balance msm_drm and kgsl-3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

Change-Id: I811699d0181427de21830c4ccbaf520ecea9e91a
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
2021-07-16 17:55:01 +02:00
Giammarco Senatore
8300ea271d
kunlun2: Import msm irqbalance 2021-07-16 17:55:01 +02:00
Giammarco Senatore
807b9d621b
kunlun2: add android.hardware.contexthub entry 2021-07-16 17:55:01 +02:00
Giammarco Senatore
835641f2cf
kunlun2: drop livedisplay
This is eleven branch, not plus
* Yeah I am debugging on Plus idk why
2021-07-16 17:55:01 +02:00
Giammarco Senatore
11d6885d93
Drop android.hardware.thermal HAL 2021-07-16 17:55:01 +02:00
Giammarco Senatore
f751694588
kunlun2: add missing vendor.qti.ims.factory manifest entry 2021-07-16 17:55:01 +02:00
Giammarco Senatore
4f9dd57777
kunlun2: Import Wi-Fi Firmware from stock 2021-07-16 17:55:00 +02:00
Giammarco Senatore
d3e806d4c3
kunlun2: Import libdrm
hwcomposer dependency
2021-07-16 17:55:00 +02:00
Dillon Brosche
c695b9e482
Update qti privapp permissions 2021-07-16 17:55:00 +02:00
Giammarco Senatore
207b6143df
kunlun2: uprev vendor.qti.esepowermanager to 1.1 2021-07-16 17:55:00 +02:00
Giammarco Senatore
d30642f65a
kunlun2: Add missing camera and FM blobs
- Camera blobs
- FM blobs
- Build vendor livedisplay too
2021-07-16 17:55:00 +02:00
Giammarco Senatore
d08ec39995
kunlun2: build gpu 710 libs
remove duplication
2021-07-16 17:54:59 +02:00
Giammarco Senatore
9b88532640
proprietary-files: actually use display kanged blobs 2021-07-16 17:54:59 +02:00
Ameya Thakur
efe1a8603b
Generate non-hlos image mount points for A/B builds
On builds where A/B support is enabled the system image acts as the
rootfs. In this case we can no longer create the non-hlos image mount
points at run time as we used to. We now create them as part of the
build itself.

Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:59 +02:00
DennySPb
350cd4e75d
Build some dependencies for QSEECOM and Display
* libtinyxml for mm-pp-dps
 * libchrome for ese_client
 * vendor.display.config@1.0 for qseecom

Change-Id: I68dcee5ef53bfc8448a019ff94514255114fd779
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:59 +02:00
Lucchetto
779979796b
kunlun2: create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-07-16 17:54:59 +02:00
Giammarco Senatore
647ce59262
fstab: switch to FBE 2021-07-16 17:54:59 +02:00
Luca Stefani
877ed2fe50
kunlun2: Override renderscript driver
Change-Id: I0875b3397df892cf5c0764004466c81d95bf6303
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
Marty E. Plummer
c32862f441
Set SSR9-10 restart_level in init.qcom.rc
Change-Id: Ic0da5fec9734be8b92e8a2868f0bc1b16ff34acf
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
LuK1337
68d09ebf7f
Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
Ethan Halsall
92c43038ca
Update vulkan permissions
Signed-off-by: Ethan Halsall <ethan.halsall@gmail.com>
Change-Id: I724392adc765508d1a6e462297bf581087b1f708
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
Bruno Martins
0f5c6d1630
rootdir: Remove vendor-ril lib path property trigger
No longer used with QC RIL services.

Change-Id: Ib660b20f2a3cca222a10a1919f0f81ee174bf6dc
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00