Commit Graph

104 Commits

Author SHA1 Message Date
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
Alberto97
2bd9b6b23d rootdir: load_all_props is dead with M, replace with load_system_props 2017-12-22 01:12:57 -02:00
Adrian DC
5429294ccd sanders: Give /dev/msm_vidc_* camera group and video_device label 2017-12-22 01:12:57 -02:00
attack11
261ab996cf sanders: fstab.qcom it not in vendor 2017-12-22 01:12:57 -02:00
Vachounet
84678abbb2 sanders: remove context from fstab 2017-12-22 01:01:20 -02:00
therootlord
8f9e1b4c1f Revert "Revert "sanders: cleanup libmot_gpu_mapper shim""
This reverts commit 2367114591.
2017-12-22 00:48:56 -02:00
Karthik Gopalan
04c0fc1e90 sanders: Ensure read_ahead_kb values same for all nodes
Set read_ahead_kb values on 8937/8953 for missing nodes.

Change-Id: I9b57a2eac82045f433791fe733417d3c2e8707b4
2017-12-13 13:49:17 -02:00
Yuanyuan Liu
38cd2783b0 init.qcom.rc: Set net_admin for cnss-daemon
Set net_admin capability for cnss-daemon.

CRs-Fixed: 2121853
Change-Id: I1671ad486588cfd32d83a3842b2560f31514f793
2017-12-13 13:44:35 -02:00
Vachounet
28ff186699 sanders: manually start sensorservice 2017-12-13 13:41:31 -02:00
Vachounet
5d83af8a73 sanders: fix fm and bt scripts path 2017-12-13 10:21:00 -02:00
therootlord
2367114591 Revert "sanders: cleanup libmot_gpu_mapper shim"
This reverts commit 7bd956a535.
2017-12-13 10:19:11 -02:00
jhenrique09
3f701b4d95 sanders: rootdir: Don't set fwpath 2017-12-11 11:38:06 -02:00
Vachounet
7bd956a535 sanders: cleanup libmot_gpu_mapper shim 2017-12-10 20:32:54 -02:00
Vachounet
1ad8b6b13c sanders: add back some init scripts to root folder
* Partially revert 8f77caf48
2017-12-10 20:30:51 -02:00
Vachounet
8275f457d7 sanders: add back msm_irqbalance 2017-12-10 20:27:26 -02:00
Manaf Meethalavalappu Pallikunhi
aa4aab4d58 sanders: thermal: Add thermal send rule socket to thermal service init
Add thermal send rule socket to thermal service initialization script
This change is required for SE Android so that thermal socket context
are not overridden by init.

Change-Id: I8774b62f35f72a481f9976dda5d1aee1e19d8374
2017-12-10 20:24:58 -02:00
Vachounet
9e90359ce6 sanders: update rootdir
* Move more services to vendor
* Update ueventd.qcom
2017-12-10 20:17:46 -02:00
therootlord
5caf5d839e sanders: init: move cnd service to vendor 2017-11-27 15:52:21 -02:00
Vachounet
9b6360f9ca sanders: shim: update adspd path 2017-11-26 22:59:56 -02:00
Alberto97
71b7653c8e sanders: remove debugging tools 2017-11-23 11:23:49 -02:00
Vachounet
0b61d8abcc sanders: mods/greybus cleanup 2017-11-23 11:23:18 -02:00
LuK1337
552aa26a6c sanders: replace QCOMs groups with oem_2950-oem_2952 2017-11-23 11:14:19 -02:00
Vachounet
a92cb18e1d sanders: init: move some services to vendor 2017-11-23 11:09:40 -02:00
Luca Stefani
ce90f35b64 init: Use proper seclabel for charger service
* Partically taken from angler f2f207d2594b
2017-11-15 14:15:13 -02:00
jhenrique09
89df59f4ce sanders: Enable sepolicy 2017-11-15 14:15:13 -02:00