Commit Graph

75 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
ef76ca50f8 vendor policy requires a _29_0 type to apply 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
f2790b44b4 Add smcinvoke dev type. Should fix widevine on Redmi Note 9S 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
558a525d54 Add /efs, needed on Galaxy A51 for fingerprint sensor calibration 2020-10-24 01:54:30 +02:00
Pierre-Hugues Husson
e8303f1b67 [su] Give more right to control dynamic partitions 2020-10-24 01:54:28 +02:00
Pierre-Hugues Husson
2c426e9613 More phhsu perms 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
9e3460d98c Never forget access to ourselves 2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
a704d5a5b0 Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
ed96573668 Fix pm install through a file provided by su
See https://github.com/phhusson/treble_experimentations/issues/1214
2020-10-24 01:54:19 +02:00
Michael Cheah
78db250470 [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-10-24 01:54:17 +02:00
Pierre-Hugues Husson
3133b832bf Add Oppo fingerprint support, tested on Realme X2 Pro 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
b4deea275c Fix huawei touchscreen hal for treble app (used for glove mode) 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
084a5e669e Fix fingerprint gestures on huawei pie vendor 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
054ec8dd01 Allow treble_app to control /dev/input/eventX (useful to enable dt2w) 2020-10-24 01:53:34 +02:00
Pierre-Hugues Husson
a484416c99 Fix fingerprint on Honor View 10 2020-10-24 01:53:34 +02:00
Pierre-Hugues Husson
6a1bccc72b Simplify matching for lenovo dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
fec86428d8 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
2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
b60efa57a3 Add qemu.hw.mainkeys as vendor legal API 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
a773b78ce5 Give lmkd ptrace capability, to bypass hidepid (AOSP uses readproc group, but I cant because of A-only) 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
c1a8456084 Add asus-motor, to be called from cameraserver to control ZF6 cam 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
53776369f6 Revert "Fix mediacodec selinux context AOSP regression"
This reverts commit 46d65aac9b.

This segfaults secilc/init on pretty much all devices
2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
a249c6a154 Fix mediacodec selinux context AOSP regression 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
81d8ff3c0b (re)Add /bt_firmware. this is still required by 8.1 CAF devices like Razer Phone 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
8243e75282 Allow tee to access rpmb (denials seen on Moto E5 preventing keymaster from working) 2020-10-24 01:53:13 +02:00
Pierre-Hugues Husson
df54dd1335 [temp] Set ueventd to permissive, needed to boot huawei, because it hits "unlabeled" file when trying to access some files in /firmware 2020-10-24 01:53:06 +02:00
Pierre-Hugues Husson
d28f36e873 fsck.exfat file context is now handled by aosp 2020-10-24 01:53:01 +02:00
Pierre-Hugues Husson
016781fa98 tmpfs domain is no longer created by the macro 2020-10-24 01:52:50 +02:00
Pierre-Hugues Husson
2a6a0882dd Add mediatek proc_ged (else it boots but no graphics) 2020-10-24 01:52:50 +02:00
Pierre-Hugues Husson
dc8484b74f Fix fingerprint on Honor View 10 2019-11-30 22:42:42 +01: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
Pierre-Hugues Husson
82aeb3d402 Fix adbd on devices with integrity check
Some devices (Like Samsung Galaxy J6) has integrity check.
This means that all files outside of /system are signed by the OEM.
Since we replaced /sbin/adbd, that's an issue.
Workaround this by creating a new service, called adbd_system, which
will called instead of /sbin/adbd when needed
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
6c4761261b Give back hostapd access to wifi_data_file 2018-09-19 13:46:22 +02:00
Pierre-Hugues Husson
3a68ec19bc Declare framework-side hostapd (will be done by treble app) 2018-09-18 16:44:06 +02:00
Pierre-Hugues Husson
b544b15e68 Get back to allowing "rild" universally
This requires to drop a checkpolicy, because checkpolicy doesn't allow
multiple identical domains definition, and "rild" will be defined both
in system and vendor.
This isn't optimal, but that's still the best solution I've found.
2018-09-18 11:16:19 +02:00
Pierre-Hugues Husson
f446ad7290 Revert "Fix qti in-call audio on P vendor"
This reverts commit ef2dd1fb34.
This commit doesn't fix anything
2018-09-18 11:06:12 +02:00
sanshu
ef2dd1fb34 Fix qti in-call audio on P vendor 2018-09-07 08:08:37 +02:00
Pierre-Hugues Husson
99633e904d Support reading /sys/board_properties/virtualkeys.xxx for virtual keys on touchscreen 2018-09-05 18:39:13 +02:00
Pierre-Hugues Husson
b284445668 Allow vendor_init to load kernel modules 2018-08-21 12:07:18 +02:00
Pierre-Hugues Husson
36c254eca4 Add qti.ims.ext context (will it conflict when it is in /vendor?) 2018-08-19 16:42:21 +02:00
Pierre-Hugues Husson
cafafc5934 Fix QtiAudio 2018-08-17 23:43:53 +02:00
Pierre-Hugues Husson
df25576594 exfat fsck/mkfs selinux label 2018-08-16 17:14:13 +02:00
Pierre-Hugues Husson
ca106f5bec Fix boot on Huawei View 10 2018-08-15 12:26:01 +02:00
Pierre-Hugues Husson
d1a0b0b955 p wip 2018-08-12 23:41:19 +02:00