Commit Graph

23 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
64b63dfc5c Fix tether for some Qualcomm devices [selinux part]
Fixes https://github.com/phhusson/treble_experimentations/issues/131
2018-08-02 15:01:10 +02:00
Pierre-Hugues Husson
aea19262a0 Rename service-claner to phh-on-boot and move bootctl mark-boot-successful to phh-on-boot and add a conditional start 2018-07-18 23:48:33 +02:00
Pierre-Hugues Husson
9b1ab76f44 Add SELinux policy to access qualcomm audio HAL on Pixel-s 2018-06-29 00:31:19 +02:00
Pierre-Hugues Husson
72e91c7933 Revert "Allowe system_app to access UEvent"
This reverts commit 615c724fee.

This doesn't compile, and actually I intented to target platform_app,
which already have this permission.
2018-06-07 16:46:16 +02:00
Pierre-Hugues Husson
615c724fee Allowe system_app to access UEvent 2018-06-07 14:30:47 +02:00
Pierre-Hugues Husson
a9a6cba4dd Force GPU profiling on Huawei as a work-around for rendering artifacts 2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
e5bf6a5c2a Allow system_server => su grep 2018-05-19 13:39:22 +02:00
Pierre-Hugues Husson
6eaf501e68 Include service-cleaner.sh which kills looping services 30s after boot 2018-05-14 17:25:03 +02:00
Pierre-Hugues Husson
dbfa3c728e Fix wrong domain 2018-05-01 22:04:56 +02:00
Pierre-Hugues Husson
7527833d72 Give su hwbinder use 2018-05-01 21:44:29 +02:00
Pierre-Hugues Husson
49d6d91f9c Fix f2fs on Huawei devices (Thanks @Flex1911 and @LuK1337) 2018-04-24 14:12:25 +02:00
Pierre-Hugues Husson
01566efd3d Allow mediaextractor to read real sdcard 2018-04-16 23:33:58 +02:00
Pierre-Hugues Husson
7171b3215f Support me.phh.treble.qti.audio 2018-04-15 20:35:08 +02:00
Pierre-Hugues Husson
f1811092e6 [WIP] Edit android version/security patch based on boot.img 2018-04-10 18:35:44 +02:00
Pierre-Hugues Husson
25d7b4c539 Resize /system in boot
Is it really safe?
Tested on Allview V3 Viper and Huawei Mate 9
2018-04-03 00:13:48 +02:00
Pierre-Hugues Husson
1e27cc1157 Override vendor's usb_audio_policy_configuration
Android 8.1 added the support for new type of USB Audio devices
(USB_HEADSET, instead of old USB_DEVICE)
Some older USB devices got converted to this USB_HEADSET while still
using the old protocol.
There is no driver change needed, but the audio policy needs to be
changed.
Since vendors are simply using AOSP usb_audio_policy_configuration
Override it by ourself.
2018-04-01 00:30:31 +02:00
Pierre-Hugues Husson
a3818e7455 Add custom sepolicy to support samsung Galaxy S9
This is harmless on other devices because this type doesn't exist, so
isn't used.
2018-03-21 17:15:55 +01:00
Pierre-Hugues Husson
2886155138 mount bind /system/bin/adbd /sbin/adbd before adbd starts
This is needed for master on A-only devices
2018-02-19 00:06:48 +01:00
Pierre-Hugues Husson
fb0cb0c690 Allow vold to delete /data/user/0 if he thinks it is useful 2018-02-17 19:41:09 +01:00
Pierre-Hugues Husson
8a07d2c495 Auto detect vndk based on vendor SELinux policy 2018-02-16 22:41:03 +01:00
Pierre-Hugues Husson
b91085d281 Fix substratum 2017-12-21 23:20:52 +01:00
Pierre-Hugues Husson
40ae10433e Add su option 2017-12-19 13:08:26 +01:00
Pierre-Hugues Husson
1cbdf550d8 Initial commit 2017-12-17 17:46:37 +01:00