Victor Bo
19d8a296fa
sepolicy/treble_app: add rule fix cam2api option
...
logs:
17 00:47:48.796 1 1 W /system/bin/init: type=1107
audit(0.0:357): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=persist.vendor.camera.eis.enable pid=4411 uid=1000
gid=1000 scontext=u:r:system_app:s0
tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service
permissive=0'
01-17 00:47:48.796 1 1 W /system/bin/init: type=1107
audit(0.0:356): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=persist.vendor.camera.HAL3.enabled pid=4411 uid=1000
gid=1000 scontext=u:r:system_app:s0
tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service
permissive=0'
2021-02-15 12:53:43 -05:00
DarkJoker360
49a4d5ce06
Address Huawei fingerprint denials
...
* Fixes fingerprint enrollment issues on P vendor devices.
2021-01-22 10:46:46 +01:00
Pierre-Hugues Husson
43f324824a
Fix video crashing on apps targetting Android 11, on some Mediatek devices (like Redmi 9)
2021-01-21 10:00:15 -05:00
Peter Cai
70950fd8ee
sepolicy: add spreadtrum IMS services
2020-12-16 19:42:09 +08:00
Pierre-Hugues Husson
f121aba763
Allow more blockdev --setrw
2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
30b84072fc
Allow treble_app to set persist.vendor.vilte_support (to 0)
2020-11-29 09:36:05 -05:00
Pierre-Hugues Husson
3489a71cf2
Allow init to create system_file symlinks for A-only, see https://github.com/phhusson/treble_experimentations/issues/1553
2020-11-08 13:13:10 +01:00
Pierre-Hugues Husson
d1a638f4f8
Allow treble_app to access mediatek radio hal to detect it
2020-10-26 22:45:37 +01:00
Pierre-Hugues Husson
0ed42b1d02
Allow treble app to set more props
2020-10-25 21:11:27 +01:00
DarkJoker360
4388860aed
Address charger denials on Huawei devices
...
Thanks to phh and Hamido for the help
2020-06-23 16:45:08 +02:00
Pierre-Hugues Husson
282728cf70
Fix denial preventing Moto One Macro to boot, because init cant mount /mnt/product/persist
2020-06-17 13:36:15 +02:00
Andy CrossGate Yan
d357dec2d4
Quick fixup
...
Building is different from on-the-fly testing
2020-06-11 13:59:47 +00:00
Andy CrossGate Yan
44fe1f36aa
More rights
...
"Here's Sammy!"
2020-06-11 21:34:36 +08:00
Pierre-Hugues Husson
545be46423
Allow phh-su to blockdev --setrw dm partitions to mount / read-write on logical partition devices
2020-06-06 13:13:25 +02:00
Pierre-Hugues Husson
34170ee087
vendor policy requires a _29_0 type to apply
2020-05-29 12:52:56 +02:00
Pierre-Hugues Husson
d917563900
Add smcinvoke dev type. Should fix widevine on Redmi Note 9S
2020-05-29 10:12:28 +02:00
Pierre-Hugues Husson
167c3bb4c1
Add /efs, needed on Galaxy A51 for fingerprint sensor calibration
2020-05-13 13:10:53 +02:00
Pierre-Hugues Husson
fd46dfb49a
[su] Give more right to control dynamic partitions
2020-05-13 10:03:26 +02:00
Pierre-Hugues Husson
53df615cca
More phhsu perms
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
6f2d3e5d29
Never forget access to ourselves
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
a8c3c6124b
Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay
2020-04-05 00:55:24 +02:00
Pierre-Hugues Husson
4bc2f864df
Fix pm install through a file provided by su
...
See https://github.com/phhusson/treble_experimentations/issues/1214
2020-03-30 23:50:57 +02:00
Michael Cheah
510e1c01d9
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:44:58 +08:00
Pierre-Hugues Husson
0031326e7d
Add Oppo fingerprint support, tested on Realme X2 Pro
2020-03-10 23:26:03 +01:00
Pierre-Hugues Husson
e0c0285eb2
Fix huawei touchscreen hal for treble app (used for glove mode)
2019-12-04 23:42:44 +01:00
Pierre-Hugues Husson
21d7520d20
Fix fingerprint gestures on huawei pie vendor
2019-12-04 23:24:51 +01:00
Pierre-Hugues Husson
b701c84f58
Allow treble_app to control /dev/input/eventX (useful to enable dt2w)
2019-12-01 17:06:37 +01:00
Pierre-Hugues Husson
07632a8291
Fix fingerprint on Honor View 10
2019-11-30 20:39:23 +01:00
Pierre-Hugues Husson
1ba43f4ce5
Simplify matching for lenovo dt2w
2019-11-04 22:56:29 +01:00
Pierre-Hugues Husson
cf6e53c1fe
Revert "Add qemu.hw.mainkeys as vendor legal API"
...
This reverts commit 9549703b4a
.
Some vendors already declare this property as u:object_r:qemu_hw_mainkeys_prop:s0, so this commit prevents booting those
2019-10-22 14:37:09 +02:00
Pierre-Hugues Husson
9549703b4a
Add qemu.hw.mainkeys as vendor legal API
2019-10-20 22:49:45 +02:00
Pierre-Hugues Husson
2f8c5dca48
Give lmkd ptrace capability, to bypass hidepid (AOSP uses readproc
group, but I cant because of A-only)
2019-10-16 15:52:59 +02:00
Pierre-Hugues Husson
82d65bd4c3
Add asus-motor, to be called from cameraserver to control ZF6 cam
2019-10-01 13:32:49 +02:00
Pierre-Hugues Husson
ab568ff772
Revert "Fix mediacodec selinux context AOSP regression"
...
This reverts commit 46d65aac9b
.
This segfaults secilc/init on pretty much all devices
2019-09-18 10:18:17 +02:00
Pierre-Hugues Husson
46d65aac9b
Fix mediacodec selinux context AOSP regression
2019-09-16 23:15:03 +02:00
Pierre-Hugues Husson
926096b97f
(re)Add /bt_firmware. this is still required by 8.1 CAF devices like Razer Phone
2019-09-12 21:21:31 +02:00
Pierre-Hugues Husson
2e4d8bcb0a
Allow tee to access rpmb (denials seen on Moto E5 preventing keymaster from working)
2019-09-12 20:58:18 +02:00
Pierre-Hugues Husson
1c31b0512a
[temp] Set ueventd to permissive, needed to boot huawei, because it hits "unlabeled" file when trying to access some files in /firmware
2019-09-09 01:15:54 +02:00
Pierre-Hugues Husson
51ee6f155e
fsck.exfat file context is now handled by aosp
2019-09-09 01:15:17 +02:00
Pierre-Hugues Husson
91ff330807
tmpfs domain is no longer created by the macro
2019-09-09 01:13:44 +02:00
Pierre-Hugues Husson
9f6a970491
Add mediatek proc_ged (else it boots but no graphics)
2019-09-09 01:12:51 +02:00
Pierre-Hugues Husson
b010be5db0
Allow treble app to write "battery info"
2019-08-22 11:36:42 +02:00
Pierre-Hugues Husson
2b4b3d6398
[su] Allow write on any file/dir
2019-08-22 00:34:13 +02:00
Pierre-Hugues Husson
31241609bb
More rights to su
2019-08-21 22:40:53 +02:00
Pierre-Hugues Husson
c7d378a359
More rights
2019-08-09 23:39:36 +02:00
Pierre-Hugues Husson
31386d8037
Update sepolicy to allow more stuff based on S10e testing
2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
76c81a45ed
Allow treble_app to set camera-HAL related properties
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
251a51e6cf
More permissions for phhsu_daemon selinux context
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
92db7539d0
Fix bootanim for some MTK devices
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
2a5a8a8428
[phh-su] Makes su usable on devices without permissive context
2018-12-03 22:06:32 +01:00