Commit Graph

117 Commits

Author SHA1 Message Date
Chia-I Wu
f9c5f1e4e2 sanders: Start hwservicemanager early
Test: builds and boots
Bug: 35173320

Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
2019-12-16 15:28:53 +01:00
Wei Wang
968521a5c4 sanders: start bootanim before mounting data partition
Bug: 30118894

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:53 +01:00
Ecco Park
29ba5b2153 sanders: Adding the execute permission for /data/vendor/wifi
ag/3332074 broke the Pixel Logger funtionality for wifi.

The Logger needs the write permission for /data/vendor/wifi/cnss_diag.
so, parent directory needs to set the execute permission for other group.

Test: manual test with Pixel Logger
Bug: 70228425
Change-Id: I75819f0b0bf4ed376d5d87f33af2e1693c864db8
Signed-off-by: Ecco Park <eccopark@google.com>
2019-12-16 01:42:16 +01:00
Skylar Chang
93f24fb1fd QTI: Create QTI log dir in /data/vendor/ location with permissions
Change-Id: Ib21082c3af84c15de2dac635cce9ad5c3e1f528d
2019-12-16 01:42:16 +01:00
RAJATH R
96f8f3ed53 Create new directory for Bluetooth SoC dump
Create new directory for Bluetooth SoC dump/logs
collection for new Android P dump format

Change-Id: I1257518fa12420a6d8d5bb66f15782ab97582f36
2019-12-16 01:42:16 +01:00
Boy Petersen
aeddd290d8 tweak bfq iosched for flash drives 2019-12-16 01:42:16 +01:00
Boy Petersen
47bbbe3b03 interactive governor: leave min_sample_time at default
Don't ramp down that fast, use default 80000 instead to help UI smoothness.
While we're at it, correct odd above_highspeed_delay timings.
2019-12-16 01:42:16 +01:00
Niranjan Pendharkar
d84e1b540a sanders: Use low level shutdown trigger to stop cnss-daemon
Low level shutdown is triggered after SystemServer is
cleaned up. sys.shutdown.requested is private to SystemServer
and is used to syncrhonize the shutdown process if SystemServer
crashes before hardware reboot is complete.
Native daemons must use low level shutdown indication from
powermanager for their graceful shutdown, if they wish to stop
before init terminates the process.

Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67
Signed-off-by: kubersharma001 <kubersharma001@gmail.com>
2019-12-16 01:42:16 +01:00
Jorge Lucas
ad99acb8f5 Revert "sanders: init.qcom.rc: add eas changes"
This reverts commit 4901164b18.
2019-12-16 01:42:16 +01:00
Henrique Silva
90320cbe4f sanders: set default wifi country code and allow resetting
* Fix 5ghz option sometimes not appearing on hotspot settings

Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
2019-12-16 01:41:48 +01: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
Varun Garg
4e4e55cca4 msm8953: Update the sched parameters
Updating the sched params upmigrate, downmigrate
and upmigrate_min_nice for msm8953

Change-Id: I204bdc817bf769aa9f36acf4b4e2f151fe48d3c5
2018-03-23 19:22:10 -03:00
Vachounet
496570a51f sanders: shim: transition to TARGET_LD_SHIM_LIBS 2018-03-05 02:41:31 -03:00
Lennart Wieboldt
81ce9eca39 sanders: remove cpuset foreground boost
Cpuset foreground boost is departed since
https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838

Change-Id: Iab1834dbb8cce15480b5e11968bcfff7cc80177e
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2018-02-16 01:27:43 -02:00
Dan Pasanen
c6ea6e0279 sanders: add shim for wifi_qsap_set_tx_power
Change-Id: I9ef277db6f4e068e7b92710f6039b4f261d72282
2018-02-07 22:47:27 -02:00
jhenrique09
ed3a1e0d54 sanders: Nuke data-ipa-cfg-mgr 2018-01-27 17:54:43 -02:00
jhenrique09
d6cf4553cb sanders: rootdir: Remove some interactive and lowmemorykiller nodes
[   21.260478,1] init: Unable to open '/sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor': Permission denied
[   21.264136,6] init: Unable to open '/sys/module/lowmemorykiller/parameters/enable_adaptive_lmk': Permission denied
[   21.264277,6] init: Unable to open '/sys/module/lowmemorykiller/parameters/vmpressure_file_min': Permission denied

These nodes doesn't exists on kernel
2018-01-27 17:54:43 -02:00
Alberto97
71cae9a7e3 sanders: WCNSS update 2018-01-23 03:15:10 -02:00
Vachounet
14da1dae25 sanders: move init.*.rc to vendor
* Early mount /system
* Create a dedicated fstab for TWRP
* Load fstab from vendor
* Move also ueventd.qcom to vendor

Change-Id: Ifcefd31dcbcf562efc6359e1fa1e155d24d802e5
2018-01-19 01:08:50 -02:00
Vachounet
4b10a52396 sanders: shims cleanup
Change-Id: Ideafbadf8d51c94b7505201239e32435dc3ea54f
2018-01-19 00:42:07 -02:00
Vachounet
ebf6515642 sanders: update for IMS
* Services update
* Add HIDL HALs
2018-01-19 00:32:47 -02:00
Vachounet
0e03081e83 sanders: build audiod
* And update path
2018-01-11 22:46:45 -02:00
jhenrique09
0cbaab6b3e sanders: libshims: Nuke rild socket shim 2018-01-11 22:11:31 -02:00
Vachounet
bdcc4d7df7 sanders: init: remove qcom-sh service
* Not used
service qcom-sh does not have a SELinux domain defined
2018-01-11 22:03:00 -02:00
Vachounet
68cd5555be sanders: use 64bit rild
* Partialy revert fa3d0d2dde4dd503edfc2977977d37c7cfaea7a3
2018-01-11 22:03:00 -02:00
Vachounet
a043c74d38 sanders: switch to O 64bit RIL stack
* Make needed changes in ramdisk
* Enable HIDL HALs
* Build radio service
* Update vendor properties
2018-01-11 22:00:58 -02:00
Vachounet
d548007ecc sanders: enable binderized bluetooth 2018-01-11 21:55:37 -02:00
Vachounet
2e69ec63a0 sanders: start energy-awareness service 2018-01-11 21:55:26 -02:00