* This gives proper permission to /dev/diag node so that diag driver can load successfully
Before in log:
Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
After in log:
Diag_Lib: qpLogDiagInit <== result : 1
Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
Signed-off-by: muralivijay <muralidharan9845@gmail.com>
Signed-off-by: LordShenron <shen.priyanshu@gmail.com>
Signed-off-by: Melvin <kartik3163@gmail.com>
-IMS service is no longer using /data/shared path.
-remove unused /data/shared path access.
CRs-Fixed: 2526160
Change-Id: I072d0b922a48880d45f7c85ac3569b2cec3d7250
Signed-off-by: Melvin <kartik3163@gmail.com>
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.
Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
Signed-off-by: Melvin <kartik3163@gmail.com>
time-services: Start time_daemon service from common rc
Currently, time_daemon service is running after statsd
service which is causing some xTS failure. The patch
moves time_daemon service definition to common rc file
so that daemon can start early.
Signed-off-by: Melvin <kartik3163@gmail.com>
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.
Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
Signed-off-by: melvinstark3 <kartik3163@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
charger binary is moved to /system/bin. Also the label got changed
to charger. Update it accordingly.
Change-Id: I78574238f9fc5ec028d10ab866676bfc0cd36370
Signed-off-by: melvinstark3 <kartik3163@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
Bypass safetynet even if we have permissive selinux
Change-Id: Ib44cdbd15b53af3a1768cb0912f2dbcc56a8d97e
-Fall back to older fp for safetynet
Co-authored-by: ronaxdevil <pratabidya.007@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
As property service is part of init, and if init is busy with built-in
command e.g. fsck, the propety_set() won't go through until the built-in
command is finished.
Move the start of hwservicemanager earlier and wait for its done after
launches bootanim and its dependencies (there is not wait time during
boot but the command is as a safeguard).
Bug: 74437368
Test: boot with simulated long fsck and bootanim shown early
Test: boot see 'start_waiting_for_property("hwservicemanager.ready", "true"): already set'
Change-Id: Iab4b857a51e0e6b8b059d063c1f0d65a0e987622
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
* use zstd compression algorithm
* Enable ZRAM deduplication feature that helps in savings of memory by
avoiding the duplication.
Signed-off-by: utsavbalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>