Commit Graph

147 Commits

Author SHA1 Message Date
dybios
ccd41c8eb9 sanders: Fix power off charging display
- Incompatible blobs so switch to system default
  battery charging screen instead

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-11-08 00:44:21 +05:30
ronaxdevil
38d7a70ab5 Revert "sanders: init: Re-include eas changes"
This reverts commit 4c723fcb1b.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-11-06 19:35:02 +05:30
ronaxdevil
4c723fcb1b sanders: init: Re-include eas changes
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 16:50:35 +05:30
jhenrique09
4ee1e138ec [DNM] sanders: Introduce 'SafailNet'
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>
2019-10-30 16:45:14 +05:30
sai4041412
5432a7009a Sanders : add firmware/image to BOARD_ROOT_EXTRA_SYMLINKS
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 15:38:03 +05:30
sai4041412
9aee3a5774 chown system system /sys/kernel/hbtp/display_pwr
*from logs spam

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 15:35:21 +05:30
kubersharma001
e79e5dba49 Sanders : Fix host_init_verifier
*init.qcom.rc

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 15:30:35 +05:30
Wei Wang
965a4ba541 Sanders: rootdir: Wait for hwservicemanager ready before running fsck
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>
2019-10-30 15:25:43 +05:30
Hai Shalom
e7021a9a47 Sanders : Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2

Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:05:58 +05:30
ronaxdevil
2e581802ba Revert "sanders: init: Resolve vendor HALs for early bootanimation"
This reverts commit 6225e1a0a44358d3bf413b63499c9beff10918c1.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:03:22 +05:30
ronaxdevil
8e6dd08eda sanders: init.qcom.rc update
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:56 +05:30
ronaxdevil
714edf2984 sanders: Add dtv init file to fix dtv
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
f320732b2a Revert "sanders: init.qcom.rc: add eas changes"
This reverts commit 4901164b18.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
51eb6785d3 Revert "sanders: update eas configs"
This reverts commit 00a0ab7485.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
6545c72646 Revert "sanders: : dont use max swappiness on 4gb varient"
This reverts commit 62c4b5b4ba.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
c7988205e2 Revert "sanders: update zRAM flags"
This reverts commit e1b9ef8199.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
fcbe5d2464 Revert "sanders: Revert back to lz4 compression algorithm"
This reverts commit de9c4bf362.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
UtsavisGreat
98650a8407 sanders: rootdir: use all cores for camera daemon
Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 16:45:58 +02:00
UtsavisGreat
854eea7030 sanders: disable adaptive low memory killer
Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 16:45:57 +02:00
sai4041412
b601c5c4c5 Sanders: Dirty flash fix
This helps after a dirty flash, in order to avoid broken strings on settings app.

original commit RevengeOS-Devices/android_device_xiaomi_tissot-common@430576c

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 16:45:56 +02:00
ronaxdevil
de9c4bf362 sanders: Revert back to lz4 compression algorithm
-For now sanders don't have support for zstd compression algorithm

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:47:18 +02:00
andr68rus
d598491ffa sanders: Add spectrum support
Co-authored-by: Anushek Prasal <anushekprasal@gmail.com>
Co-authored-by: ronaxdevil <pratabidya.007@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:47:04 +02:00
UtsavisGreat
301937a186 sanders: init: swapon zRAM on boot_complete
Signed-off-by: utsavbalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:46:17 +02:00
utsavbalar1231
e1b9ef8199 sanders: update zRAM flags
* 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>
2019-06-29 15:46:02 +02:00
utsavbalar1231
8eb8b5c536 sanders : add restricted cpuset
this will restrict cpu cores to 0-3

Signed-off-by: utsavbalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:45:27 +02:00
ronaxdevil
62c4b5b4ba sanders: : dont use max swappiness on 4gb varient
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:45:11 +02:00
Adrian DC
a5055746a4 sanders: init: Resolve vendor HALs for early bootanimation
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>
2019-06-29 15:41:28 +02:00
Wei Wang
b61b607514 sanders: Tune zram performance
* 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>
2019-06-29 15:41:03 +02:00
Ashwin R C
b75443ef25 sanders: Set swappiness back to 100
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:40:58 +02:00
kubersharma001
6f7180db2a sanders: re-adjust dir for new time service blobs from P
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>
2019-06-29 15:40:32 +02:00
Karthik Gopalan
7598b30633 sanders: Swap disk creation
Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:39:59 +02:00
Jadilson Guedes
84ba8e7a7b sanders: Rename the QC introduced props to have vendor tag added to use tree
* fix FmRadio

*131be18e30

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:36:23 +02:00
Jadilson Guedes
825b529d5b sanders: fix for FMRadio app
* add perms for FMRadio app
* add back FM support

Co-authored-by: Vachounet <vachounet@live.fr>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:35:22 +02:00
Madhanraj Chelladurai
cad3943832 sanders: ueventd: init: add permission entries for location component
Add permissions for location components in init.qcom.rc and
ueventd.qcom.rc

Change-Id: I07f3b57470336165393a68144faccf26cdbca98c
CRs-Fixed: 2299356
2018-12-22 01:35:19 -02:00
therootlord
eff2a4c1b0 sanders: rootdir: ueventd: partial update from LA.UM.7.6.r1-03700-89xx.0 2018-12-22 00:51:53 -02:00
Abir Ghosh
e3a7e1a07b sanders: Do not create fingerprint directories in init
Add changes to not create fingerprint directories in
init.qcom.rc. It will be done in fingerprint module
init script.

Change-Id: If199cf875bb4201fcda923b0e8162b06d8d93d1a
2018-12-21 23:45:08 -02:00
therootlord
e2a28ddc9c sanders: rootdir: update iop dir path and permissions 2018-12-16 16:32:48 -02:00
therootlord
ade1c2e82b sanders: update ACDB props and init.qcom.rc 2018-12-16 16:22:50 -02:00
therootlord
00a0ab7485 sanders: update eas configs 2018-12-09 22:31:04 -02:00
therootlord
094d6fd2b4 sanders: update perf configs from LA.UM.7.6.2.r1-04200-89xx.0
* init.qcom.rc: set vendor.post_boot.parsed prop, required for perf

* perfboostsconfig.xml edits:

* Reduced minimum launch boost freq
* Remove SCHED_SPILL_NR_RUN and SCHED_RESTRICT_CLUSTER_SPILL opcodes
2018-12-09 22:17:52 -02:00
Erfan Abdi
2f35f4fbb1 sanders: Update to match new qcom sepolicy
Change-Id: If6e58161489790ea7736dc1ec1fe11f2e2841b6c
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: therootlord <igor_cestari@hotmail.com>
2018-11-15 20:02:29 -02:00
Shaikh Shadul
8f68d0a5dd sanders: change sensors registry file owner and group
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
2018-11-09 14:58:17 -02:00
therootlord
51e777cc1d sanders: update for the new mount points
* Also bind mount /mnt/vendor/persist to /persist for backward compatibility
2018-11-08 15:31:27 -02:00
Vinay Verma
2fbbc52c5a sanders: Moving persist mount point to /mnt/vendor/persist
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
2018-11-07 23:07:12 -02:00
erfanoabdi
5db228eca7 sanders: Convert libinit to init scripts
* Also set ro.product.manufacturer to motorola for camera HAL in GSIs.

Change-Id: I2c78e4837cdbd8e7f18e3c1a086978bd289a60a6
2018-10-10 00:07:43 -03:00
therootlord
070727ce81 sanders: rootdir: add sensors init script from LA.UM.7.6.2.r1-03200-89xx.0 2018-09-25 14:03:31 -03:00
therootlord
ed0dd32ab5 sanders: update fingerprint configs to match vendor changes
* Remove custom fp hal/service

* Build android.hardware.biometrics.fingerprint@2.1

* Update init related configs and props
2018-09-23 21:13:21 -03:00
Harikrishnan Hariharan
3437531910 sanders: Start loc_launcher as gps user
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
2018-09-23 21:13:06 -03:00
therootlord
0a41b9dc1a sanders: gps: update to LA.UM.7.6.r1-02000-89xx.0 tag 2018-09-23 21:06:04 -03:00
Han Wang
247d9b0e98 sanders: Remove creation of /data/misc/wifi and
/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
2018-09-23 21:06:04 -03:00