Commit graph

61 commits

Author SHA1 Message Date
LuK1337
d2efa15d0b msm8976-common: Remove useless rm -rf /efs/dmverity
* It wasn't working anyway:
/init.qcom.rc: 73: rm requires 1 argument
2018-01-26 15:47:20 +01:00
LuK1337
7ae5254b74 msm8976-common: Update time data file path to match O changes 2018-01-26 15:47:20 +01:00
LuK1337
2807542d4b msm8976-common: /system/bin -> /system/vendor/bin 2018-01-26 15:47:20 +01:00
Luca Stefani
3b1d4dda68 msm8976-common: Remove hostapd daemon
* It lives in it's own rc extension now
2018-01-26 15:47:20 +01:00
Roshan Pius
38d48d92b5 msm8976-common: wifi: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
2018-01-26 15:47:20 +01:00
Christopher Wiley
9eec850757 msm8976-common: wifi: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
2018-01-26 15:47:20 +01:00
Roshan Pius
054d9243de msm8976-common: init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.

Bug: 33435250
Test: Compiles.
Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
2018-01-26 15:47:20 +01:00
Luca Stefani
7e70804173 msm8976-common: Use proper seclabel for charger service
* Partically taken from angler f2f207d2594b
2018-01-26 15:47:20 +01:00
Alberto97
7588252675 msm8976-common: bt: Remove net_bt_stack
* net_bt_stack is gone, replace it with bluetooth (android/platform_system_core@604208e957)

Change-Id: I62ac0fa2e59a9643fd6a3d4b173dd8c8892037b9
2018-01-26 15:47:20 +01:00
Woody Lin
094f6917e1 msm8976-common: rootdir: Symlink platform/soc/${ro.boot.bootdevice} to bootdevice
Make symbolic link from
/dev/block/platform/soc/${ro.boot.bootdevice} to
/dev/block/bootdevice.

Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5
2018-01-26 15:47:20 +01:00
Luca Stefani
62679c3e53 msm8976-common: Build biometricts HAL
* Remove now unused fingerprintd daemon
2018-01-19 00:15:58 +01:00
Luca Stefani
9fe4b83c29 msm8976-common: Add libcamera_client shim
Change-Id: I4cc4eb52bc41e5174342e5571f096edb0e5a5c75
2018-01-19 00:15:57 +01:00
Luca Stefani
313cbb8738 msm8916-common: gps: Add get_process_name shim
Change-Id: I10ce654b14866d41610c7e4098df9691b983d515
2018-01-19 00:15:57 +01:00
Bruno Martins
6d58bd23b5 msm8976-common: Grant rmt_storage proper unix perms
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.

avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0

Add wakelock group to access:
/sys/power/wake_lock
-rw-rw----  1 radio  wakelock 4096 2017-06-28 00:37 wake_unlock

Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
2017-07-04 18:40:56 +02:00
LuK1337
b2f7745ad4 msm8976-common: Update blobs from T813XXU2BQD1
Change-Id: I3e3938773fddd721129a85552caec00f3ab8b17c
2017-04-23 22:44:42 +02:00
LuK1337
c2d9166d30 msm8976-common: Use /fota for uncrypt partition
* Should have done that earlier.

Change-Id: Ib74f059066c65eb1d3905a9bbd29b553dae34b3e
2017-02-08 17:23:47 +01:00
LuK1337
070cd34492 msm8976-common: Remove useless debugging writes
* We don't set those:
[    6.369929]  [3:           init:    1] init: write: cannot expand '${persist.sys.ssr.enable_debug}'
[    6.370081]  [3:           init:    1] init: write: cannot expand '${persist.sys.mba_boot_timeout}'
[    6.370234]  [3:           init:    1] init: write: cannot expand '${persist.sys.modem_auth_timeout}'
[    6.370381]  [3:           init:    1] init: write: cannot expand '${persist.sys.modem_dbg_cfg}'
[    6.370535]  [3:           init:    1] init: write: cannot expand '${persist.sys.pil_proxy_timeout}'
[    6.370688]  [3:           init:    1] init: write: cannot expand '${persist.sys.external}'

Change-Id: I64bfe89618744dd33a8173eaab1a4613208fc74b
2017-02-05 21:13:05 +01:00
LuK1337
d08ada9a36 msm8976-common: Clean up IIO permissions
* Remove stuff that is being denied by SELinux
* Get rid of weird Samsung's intendation

Change-Id: I23c868db3d7a1d53323acb2b6780e12f8bbc2e70
2017-02-03 18:08:09 +01:00
Luca Stefani
8b0db50e14 msm8976-common: Create ramdisk symlinks & folders at build-time
* Create dsp, efs, persist and modem folders
* Symlink bt_firmware and tombstones

Change-Id: I6b67e15e9cbde875f564bcb72f024ce9ce5e0ccf
2017-01-31 14:54:48 +00:00
LuK1337
1dfa316616 msm8976-common: Reenable fingerprint
Change-Id: Ic65f7c6cab4a89edaaf34454abadf7f43a2d9a33
2017-01-27 12:34:26 +01:00
Luca Stefani
e601781cca msm8976-common: Cleanup bt
* We don't need hci_qcomm_init and init.qcom.bt.sh
* Remove hci_filter_root
* Update sysfs permissions from bullhead

Change-Id: Id0b80f188cc3dd6d3595f5216bb3b927179afced
2017-01-26 22:36:58 +01:00
LuK1337
9e4f0712e7 msm8976-common: Use pad partition for /misc
Change-Id: Id7e10528f157e36004b75dd1e491560e991b4099
2017-01-25 15:13:23 +01:00
Luca Stefani
039887cb7c msm8976-common: Remove btnvtool
* We don't read bt address from NV

Change-Id: I4f2eeeed70ae830937c4d4c86fe5665dac0f8c99
2017-01-25 11:23:35 +01:00
Michael Bestas
c77c730833 msm8976-common: Cleanup init.qcom.bt.sh
* Remove bluez support
* Bring closer to AOSP devices' script

Change-Id: I6eeb69487b02070a84bc2958fb8a939a684ab915
2017-01-25 11:11:55 +01:00
LuK1337
4023be8cc7 Revert "Revert "msm8976-common: Disable fingerprint for now""
This reverts commit 3491bc986a.
2017-01-24 11:58:15 +01:00
LuK1337
832fb18aa3 msm8976-common: Set modem subsystem restart_level to RELATED 2017-01-24 11:53:12 +01:00
LuK1337
ffd034cd40 msm8976-common: Remove net_admin, net_raw groups from loc_launcher and pm-service 2017-01-23 22:42:57 +01:00
Luca Stefani
a560f4d542 msm8976-common: Add FP perms 2017-01-23 22:32:33 +01:00
Luca Stefani
3491bc986a Revert "msm8976-common: Disable fingerprint for now"
This reverts commit bf60f71066.
2017-01-23 22:13:46 +01:00
LuK1337
f175f6bc68 msm8976-common: Make it enforcing :3 2017-01-23 17:34:56 +01:00
LuK1337
06e899f6c8 msm8976-common: Add ueventd rule for FRP partition 2017-01-23 14:08:14 +01:00
LuK1337
1a1aee683d msm8976-common: Switch to TimeKeep 2017-01-23 13:40:35 +01:00
LuK1337
4b809e4a3e msm8976-common: Fix init.qcom.rc intendation 2017-01-23 12:59:02 +01:00
LuK1337
f76d9e8928 msm8976-common: Add a really bad libc hax for camera
* See : https://review.lineageos.org/#/c/1170/
2017-01-22 23:59:44 +01:00
Luca Stefani
692fac35e4 msm8976-common: rootdir: Set permission for rmt_storage debug 2017-01-22 21:03:01 +01:00
Luca Stefani
e4866309fa msm8976-common: rootdir: Add loc_launcher 2017-01-22 15:32:32 +01:00
Luca Stefani
12ac3a2044 msm8976-common: rootdir: Update mdnie permissions 2017-01-22 13:57:39 +01:00
LuK1337
bf60f71066 msm8976-common: Disable fingerprint for now 2017-01-22 12:28:40 +01:00
LuK1337
6fa41acfa3 msm8976-common: Add wcnss_filter
* Needed for bluetooth.
2017-01-22 12:17:09 +01:00
LuK1337
d736be91aa msm8976-common: Remove ipacm service 2017-01-22 12:00:51 +01:00
LuK1337
fd5f2854a9 msm8976-common: Fix /bt_firmware symlinks 2017-01-22 11:41:04 +01:00
Luca Stefani
1aa4ec2d00 msm8976-common: Add BT firmware symlinks 2017-01-21 23:45:19 +01:00
Luca Stefani
fcb2591cd8 msm8976-common: Update LMK & Process reclaim configuration 2017-01-21 21:39:28 +01:00
Luca Stefani
12d0a3bc97 msm8976-common: Update power configuration 2017-01-21 21:25:56 +01:00
LuK1337
66696f7c90 msm8976-common: Remove hvdcp_opti 2017-01-20 23:07:07 +01:00
Luca Stefani
2aec7b9f14 msm8976-common: Remove init.qcom.sh 2017-01-20 22:24:35 +01:00
Luca Stefani
73e5becf6d msm8976-common: Remove unneeded radio blobs 2017-01-20 22:22:31 +01:00
LuK1337
74fbea78d2 msm8976-common: Fix button lights 2017-01-20 21:51:34 +01:00
Luca Stefani
6431319376 msm8976-common: Don't build wcnss_service
* Unused
2017-01-20 21:50:21 +01:00
Luca Stefani
64a352525a msm8976-common: Update lights hal 2017-01-20 17:46:29 +01:00