Commit Graph

134 Commits

Author SHA1 Message Date
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
Jeff Vander Stoep
b60b481227 sanders: wpa_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
2018-09-23 21:06:04 -03:00
Tom Cherry
8bad0865ea Move mkdir /data/nfc/... to rootdir init.rc
These are directories used by the system so they should be created by
the system.

Test: treehugger
Change-Id: I4c2d381423e002705f4de09d34a63a49ec473688

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 20:27:23 -03:00
Jaekyun Seok
d5d0276021 Add 'vendor.' prefix to a vendor HAL service name
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 20:27:23 -03:00
Roshan Pius
736519d8c9 sanders: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-09-20 22:15:50 -03:00
Roshan Pius
90c6b2d95d sanders: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-09-20 22:15:50 -03:00
Jeff Vander Stoep
61803ca1ae sanders: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-09-20 22:15:50 -03:00
therootlord
4901164b18 sanders: init.qcom.rc: add eas changes 2018-09-20 21:39:03 -03:00
Vachounet
13c6967767 sanders: update init.*.rc from stock 2018-07-19 18:49:44 -03:00
Vachounet
92d056ceaf sanders: init: fix wcnss_service path 2018-07-19 03:02:49 -03:00
Vachounet
7207d67758 sanders: init: /system/vendor -> /vendor 2018-07-19 03:02:40 -03:00
Vachounet
7b2d219e9c sanders: fix FMRadio after enforcing
* Use oss service
* Set proper context

Change-Id: I7bd58339bf2d9d37847961f9260eead785c14c5a
2018-04-27 14:03:52 -03:00
attack11
f419a198aa msm8953: sched_upmigrate need to be set first 2018-04-01 02:47:48 -03:00
attack11
97ad391067 Revert "Use tracefs not debugfs"
This reverts commit 4312ce926ab60cbde9ff079908b7eb2954824419.
2018-03-23 19:26:57 -03:00