Chenyang Zhong
699b06ae9f
sdm710-common: override pixel thermal HAL service with HAL interfaces
...
Google removed the HAL interfaces in Pixel thermal HAL service after
QPR1 [1]. As a result, the pixel thermal HAL on Xiaomi sdm845 devices
cannot be started correct at boot. Override it in sdm845-common, and
restore the interface definitions.
[1] be6336211e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 22:53:22 +01:00
LuK1337
1aaa277c78
sdm710-common: Drop mkdir /data/{fota, hostapd}
...
* vendor_init isn't allowed to create files under system_data_file
context, leading to early init panic.
Change-Id: Ie344cc4ece2783bb7d372f64c2c23b4d5ea2cda0
2021-08-11 13:59:58 +02:00
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
...
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
Giammarco Senatore
f63ead3994
kunlun2: Remove unnened lenovo init scripts
...
and some cleanup
2021-07-17 18:14:46 +02:00
Giammarco Senatore
c119216557
kunlun2: Address some initial denials
...
- Nuke folder creation that breaks encryption
- Nuke permissivers and other creepy things
- Properly label light and fp HALs
- Address initial fingerprint denials
- Label camera zui prop
2021-07-17 18:11:00 +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
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
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
Jimmy Chen
00a3574cef
Move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
Dhananjay Kumar
799b8745bb
init: update audio hal service override as per latest base service definition
...
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:58 +02:00
Dan Pasanen
923fbb3963
rootdir: Turn down debugging on wpa_supplicant
...
Change-Id: I15f8aff12ebcccbc97263b1d82b7ec0d3baea263
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Hai Shalom
2222a23732
rootdir: Add supplicant 1.2 to init.qcom.rc
...
Add missing supplicant 1.2
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Sachin Mohan Gadag
1f1f7eeea2
rootdir: Update rc files
...
- Add fileownership as root:system with 0660
permission for cpu_dma_latency dev node.
- Register audio service to system group to
access cpu_dma_latency node.
Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Veerubhotla Hari
50d7c3e65e
rootdir: Change ownership of /data/vendor/tombstones to system
...
Change ownershiip of /data/vendor/tombstones to system
Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +02:00
Hari Veerubhotla
3762cdea9b
rootdir: Clean-up tombstone related commands in rc
...
Accessing /data/vendor/tombstones causing sepolicy denials.
Change-Id: I0230025822e681bd1402893725d83e2b2d2742b0
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +02:00
Giammarco Senatore
08e188d663
kunlun2: Import stock init scripts
2021-07-12 02:23:52 +02:00
Giammarco Senatore
38b77bd32e
kunlun2: Drop vendor_overlay and its hax
2021-07-11 17:06:19 +02:00
Giammarco Senatore
60633c1215
kunlun2: Update and cleanup init qcom rc
...
* we don't have some paths
* we have emmc
2021-01-21 18:31:18 +01:00
SamarV-121
4416341c21
kunlun2: Hack to override empty power hidl
2021-01-01 17:52:21 +01:00
Robb Glasser
5ec60c1e74
kunlun2: Enable idle_state mechanism
...
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.
Bug: 69270928
Bug: 69915886
Test: Booted and cat-ed the affected files
Change-Id: I8717093e9b8ed9ed35b6ca51a20225abbf71f775
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Andres Oportus
37bb69e906
kunlun2: Add SchedTune configuration
...
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs
Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
GiaSen
2f07f5abc0
kunlun2: Go enforcing
...
Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery
from pstore
vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
2021-01-01 13:33:47 +01:00
jesec
a568f64847
kunlun2: Bind mount /vendor/overlay to empty folder
...
* Instead of removing it directly from vendor
2020-11-28 21:45:41 +01:00
GiaSen
6e374c1939
kunlun2: Remove non-working and useless light rc
...
This reverts commit b6b7486d55
.
2020-11-13 00:01:27 +01:00
GiaSen
6f69e21cbf
kunlun2: Import and bind mount stock audio policy configuration
2020-11-13 00:01:13 +01:00
Subbaraman Narayanamurthy
1190b97d46
sdm710-common: Add CAP_SYS_BOOT for charger
...
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.
Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
2020-07-20 18:32:03 +02:00
SamarV-121
e0d6fd2533
sdm710-common: Import charger service definition
...
Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
2020-07-20 18:31:44 +02:00
Henrique Pereira
5d670a8d37
sdm710-common: Set schedtune boost to 5
...
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:23 +02:00
SamarV-121
a64a64897d
kunlun2: Import power init scripts from bonito
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:25 +02:00
SamarV-121
2d90abaa7c
sdm710-common: Disable IOP and PERF HAL
...
* also revert 56f6504f61
, eb7a690439
, d5cb550169
* in the favour of power-libperfmgr
* also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:40 +02:00
GiaSen
b6b7486d55
temp hax: move light init to init.qcom.rc
2020-05-07 13:42:41 +02:00
SamarV-121
9fb2f8e0b8
kunlun2: Update tap to wake node
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:44 +05:30
SamarV-121
d5cc7b6ce3
kunlun2: Remove all useless stuffs
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:43 +05:30
Diogo Ferreira
baac476693
sdm710-common: Disable tap to wake by default
...
Tap to wake introduces some additional power consumption, this patch
disables it by default.
Change-Id: Ic33c44d72a2d0efcbe3a7dca0206558cbe1f4d6a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-10 12:38:18 +00:00
Danny Baumann
f369b61ff6
sdm710-common: Disable CVP HAL
...
This isn't used on SDM710 and spams logs as it continues to try
to start.
Change-Id: I16928663232d5b4e9d005c60dfe080f9cc596d32
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-06 06:17:09 +00:00
SamarV-121
ea54233e57
sdm710-common: rootdir: Disable edge limit control interface
...
* Enable oppo touchpanel direction too
* Fixes multitouch on edge issue
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
fc18d77e8e
sdm710-common: rootdir: Remove useless perms
...
* also move blkio settings to on property:sys.boot_completed=1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
d07301de0a
sdm710-common: Import QTI Power HAL from Lineage
...
* 0db671a262
* https://github.com/LineageOS/android_hardware_lineage_interfaces/tree/lineage-17.1/power/1.0
* rootdir: Disable vendor.power-hal-1-0
* sepolicy: Lable android.hardware.power@1.2-service-qti
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
530df18b17
sdm710-common: rootdir: Update blkio settings from coral
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
dd2a913043
sdm710-common: rootdir: Disable oppo face hal
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-21 00:33:32 +05:30
SamarV-121
3a6a043d4e
sdm710-common: rootdir: Apply blkio and Boot time FS tune settings from stock init.rc
...
* also remove duplicate shitz
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-21 00:26:03 +05:30
luk1337
78c5637be5
sdm710-common: Start using vendor_overlay
...
* This lets us override files in /vendor without
relying on bind mounts ^.^
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-17 11:25:54 +05:30
SamarV-121
d0f96fa3da
Revert "sdm710-common: Nuke custom power HAL"
...
This reverts commit 050ba7b364
.
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-13 19:13:36 +05:30
SamarV-121
edc5bfe69b
sdm710-common: Import and bind mount stock manifest
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 21:31:49 +05:30
SamarV-121
82bbf4d638
sdm710-common: usb: Convert to realme_sdm710 targets
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:13:54 +05:30
SamarV-121
a685c189e6
sdm710-common: usb: Override stock usb hal service definition
...
* also bind mount to vendor
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:13:54 +05:30
SamarV-121
d0a4a684fe
sdm710-common: Remove bind mounted fstab
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:10:44 +05:30
SamarV-121
0ebb79695c
sdm710-common: Remove redundant things
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:07:09 +05:30
SamarV-121
a75d676746
sdm710-common: Nuke BluetoothResCommon
...
* Not needed on Q vendor
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:02:31 +05:30