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
Sensors registry file ownership is retained even after OTA
upgrade and that file is only accessible by daemon belongs to
same ownership permissions.
Change-Id: I3543733232aeab04d14fb9d69f635c1e6c6df1e2
Move persist entry to fstab and mount at /mnt/vendor/persist
Apply required user, group and permissions once persist
folder is created through __mount and parititon is mounted.
Run restorecon on /mnt/vendor/persist.
Change-Id: I7f54b478de898491e32560d5a37657ac370bf893
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.
Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
/data/misc/dhcp
* The creation of /data/misc/wifi and /data/misc/dhcp was moved long ago
to the core init.rc script. Moreover, /data/misc/wifi is deprecated
since wpa_supplicant now relies on /data/vendor/wifi.
Change-Id: Ic0a33af44ffe163d3dd06cebdc1e192dc9bcb11f