Commit Graph

196 Commits

Author SHA1 Message Date
dybios
b4f00bbd7e sanders: Don't build Sepolicy[TEMP]
- Remove fstab contexts too

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:11:39 +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
dybios
68ab697535 sanders: Add few sepolicies
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:03:57 +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
kubersharma001
468b4f03da Sanders : fix init.mmi.rc arguments for host_verifier
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:03:22 +05:30
kubersharma001
f1de9eae72 Sanders : LOCAL_MODULE_TAGS := eng debug are obsolete
LOCAL_MODULE_TAGS := eng is obsolete.
See https://android.googlesource.com/platform/build/+/master/Changes.md#LOCAL_MODULE_TAGS

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 14:01:43 +05:30
ronaxdevil
caadb6b715 sanders: Update spectrum profile
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:56 +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
ronaxdevil
3370b83e0d sanders: fix unknown model name
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
6f11219068 sanders: update spectrum profile
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:13:55 +05:30
ronaxdevil
6943571cc5 sanders: Add proper mtp name
* Show Moto G (5S) Plus when usb file transfer

Reference : Dybios/device_motorola_sanders@74c2fcf

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-07-13 21:16:32 +05:30
ronaxdevil
48de22be0d sanders: update spectrum profile
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-07-04 16:20:53 +05:30
ronaxdevil
4db6f3da49 sanders: update spectrum
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-30 11:46:15 +00:00
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
a69330fd5c sanders: update spectrum profile
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:49:22 +02:00
Vachounet
8f18d5ef8b sanders: sync some config files with stock
* OPS28.85-17-6-2

Change-Id: I028e209d41bff3dffe05107f249b7578b9d9dd6c

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:48:00 +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
Jack Pham
b87abf2f63 sanders: ueventd.qcom.rc: Change ownership of USB role switch nodes
Change ownership of /sys/class/dual_role_usb entries to
system/system to allow USB HAL to access them.

Change-Id: Ie6d968180d55647813904970370dbb74012326b0
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:40:28 +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
Alisson Lauffer
dc12e40c48 sanders: Enable DTV module when device boots up
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-06-29 15:35:11 +02:00
Madhanraj Chelladurai
3e425a47b9 sanders: ueventd: add permission for gps component to read pps device
GPS components make use of DR_SYNC pulse generated by GNSS
hardware, which was received through pps device, hence
require permission for reading this device

Change-Id: I00bd3b8aa88059fb94338b6ba1d107d77c06a5e0
CRs-Fixed: 2299356
2018-12-22 01:41:00 -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
02a6608049 sanders: rootdir: mmi: update from stock OPSS28.65-36-3 2018-12-21 23:40:52 -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