-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>
start
* Adapt the service from configstore-hal-1-0 service
to vendor.configstore-hal for AOSP P
* Resolves surfaceflinger first launch crash
due to configstore not being running earlier enough
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
* Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Change-Id: Ia73d08904551dfc8d57268fc4da3f9f34d10e277
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
Revert "potter: Adjust mkdir of time data files"
This reverts commit d52dd9094aab10b5d6640ebd1cba56a66ba847db.
Change-Id: I5d2e4a0849223b07bf060ec3c75c32f76710f672
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
Add changes to not create fingerprint directories in
init.qcom.rc. It will be done in fingerprint module
init script.
Change-Id: If199cf875bb4201fcda923b0e8162b06d8d93d1a