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>
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.
Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Those commands have moved to init.rc.
Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
* vendor_init isn't allowed to create files under system_data_file
context, leading to early init panic.
Change-Id: Ie344cc4ece2783bb7d372f64c2c23b4d5ea2cda0
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>
- 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>
Change ownershiip of /data/vendor/tombstones to system
Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
Signed-off-by: DennySPb <dennyspb@gmail.com>
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>
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: '
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>
* 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>
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>
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>