Commit Graph

228 Commits

Author SHA1 Message Date
Jerry Zhang
aba46b72f2 sanders: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.

Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
2018-09-20 22:19:01 -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
Henrique Silva
83198bae3f sanders: rootdir: Fix mot_xxxx AIDs 2018-07-19 18:49:44 -03:00
Vachounet
13c6967767 sanders: update init.*.rc from stock 2018-07-19 18:49:44 -03:00
Vachounet
10188cc108 sanders: update sepolicy
* fix build with treble
2018-07-19 17:49:34 -03:00
Vachounet
23ad650025 sanders: move charge_only_mode to vendor
Change-Id: I8c5dd54ad9040f94bca25794d12ec564bfad7f85
2018-07-19 03:02:58 -03:00
Sohamlad7
d751dc3717 sanders: Change audio.calfile and rild path
* and change sbin path to vendor

Change-Id: Iee8427abfdfc999ab8ca00161065105ec3eb6f84
2018-07-19 03:02:50 -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
e8de4d1208 sanders: start that treble disaster 2018-07-19 03:01:03 -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
jhenrique09
2081af0064 sanders: sepolicy: Fix more denials 2018-04-26 01:35:50 -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
Vachounet
db241034c9 sanders: use /system/vendor/bin/sh for init scripts
* For real

Change-Id: I41419e2b0f8746d94ca3b4b52af9e4bcade72f17
2018-01-23 03:43:03 -02:00
Alberto97
71cae9a7e3 sanders: WCNSS update 2018-01-23 03:15:10 -02:00
Vachounet
63050236bf sanders: use /system/vendor/bin/sh for init scripts 2018-01-23 00:32:35 -02:00
Vachounet
e0fb48e962 sanders: remove fingerprintd service
* Not needed
2018-01-20 00:53:36 -02:00
Henrique Silva
2c0096a663 sanders: rootdir: Move swapon_all to right place 2018-01-19 01:10:46 -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
47ef5fd5b2 sanders: init: cleanup
* Remove some proprietary scripts
* Should help for sepolicy rules
2018-01-11 22:03:00 -02:00
Vachounet
27a5f54f17 sanders: init: read hardware revision from ro.boot.hwrev 2018-01-11 22:03:00 -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
jhenrique09
050a82ccae sanders: Build a 32 bit version of rild and fp service
For now we're using 32 bits from stock, for both services. So use it until 64 bits blobs are ready

Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
2018-01-06 02:22:23 -02:00
Wei Wang
b516265ac6 init.mmi.rc: enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time

Bug: 62957152
Test: marlin boot and swap look normal after boot
Change-Id: Icabec31aa677bd606ca8735fe9d2acb54e88bd75
2018-01-06 02:11:34 -02:00
jhenrique09
2fe1ffe2ca sanders: fstab: Set max_comp_streams 2018-01-06 01:58:35 -02:00
jhenrique09
151a317068 sanders: rootdir: Revert old implementation for sensorsservice
Partially reverts db6f13765b
2018-01-05 03:28:13 -02:00
Prema Chand Alugu
9ee52f6bcd sanders: update LD_SHIM_LIBS for Camera
Thanks to @jhenrique09 to implement for Potter, c8b635ff16

Apply the camera_hal shim to system/vendor/lib/libguy.so for Sanders.

12-31 02:03:10.364  5660  5660 F DEBUG   : pid: 5657, tid: 5657, name: mm-qcamera-daem  >>> /system/vendor/bin/mm-qcamera-daemon <<<
12-31 02:03:10.364  5660  5660 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-31 02:03:10.365  5660  5660 F DEBUG   : Abort message: 'CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_Z35eglQueryStringImplementationANDROIDPvi" referenced by "/system/vendor/lib/libguy.so"...'
2017-12-31 04:29:43 -02:00
therootlord
0d838d72a8 fix derp
* Should have been removed in commit a92cb18e1d.
2017-12-29 21:17:53 -02:00
jhenrique09
bef327c474 sanders: Drop gps shim 2017-12-29 21:14:23 -02:00
Paul Lawrence
f212ce9083 Use tracefs not debugfs
Test:   Device boots
	Can take photos
	Run "adb shell atrace -c -b 16000 -t 5 gfx" without root and check produces
	output
	Run "python systrace.py view gfx freq sched am wm dalvik
	binder_driver" from external/chromium-trace after adb root and
	check populated
Bug: 31856701
Change-Id: Ie4f8017d4ef37e12848b1e498e06ed2482752ab2
2017-12-22 01:12:57 -02:00
Alberto97
bdbb81c7cf rootdir: Remove lines that fail 2017-12-22 01:12:57 -02:00
Alberto97
fb4587b977 sanders: Set ro.boot.hardware.revision instead of ro.hw.revision
* Settings look for ro.boot.hardware.revision to show the hardware revision

jhenrique09: Adapt to potter
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
2017-12-22 01:12:57 -02:00