Commit Graph

42 Commits

Author SHA1 Message Date
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 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
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 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
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
Luca Stefani 2a59e6bed3 msm8976-common: Set BT addr prop 2017-01-20 16:10:12 +01:00
Luca Stefani 5f7027da0c msm8976-common: rootdir: Add sensors permissions 2017-01-20 14:46:40 +01:00
Luca Stefani f3b8d66175 msm8976-common: rootdir: Add some permissions 2017-01-20 14:46:40 +01:00
Luca Stefani b698ed1501 msm8976-common: Add apnhlos mount point 2017-01-19 18:27:29 +01:00
LuK1337 d603f2a450 msm8976-common: Create /efs on init 2017-01-18 15:44:51 +01:00
LuK1337 e7fe808544 msm8976-common: Fix init.qcom.rc code style 2017-01-18 15:38:51 +01:00
LuK1337 cf88f21aaf msm8976-common: Remove broken / useless services 2017-01-18 15:26:25 +01:00
LuK1337 3b78c9adb8 msm8976-common: Initial tree based on xiaomi/msm8956-common 2017-01-17 14:51:38 +01:00