Commit Graph

300 Commits

Author SHA1 Message Date
VDavid003
a3f96351d7
Fix vendor hostapd detection for manifest fragments
This fixes tethering on phones that have hostapd defined in a manifest fragment
2021-03-08 13:32:33 +01:00
Sarthak Roy
6b93fc5f03
Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10 2021-03-05 19:19:56 +05:30
Pierre-Hugues Husson
61d163657a Disable secondary watchdogs.
AOSP's watchdogd doesn't support multiple watchdogs.
This shouldn't be an issue, since AOSP GSI obviously doesn't support it
and AOSP GSI is part of certification.
HOWEVER, some people use modified kernel/vendors that may break such
assumptions. Anyway we can just disable it.

See https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396
2021-02-23 15:00:54 +01:00
Pierre-Hugues Husson
b74ad8ea7e Rename all calls to resetprop to resetprop_phh to prevent conflict with Magisk, see d8056f8032 2021-02-22 10:04:28 +01:00
Nitan Alexandru Marcel
e936f0b83a
Add Redmi/joyeuse to changeKeyLayout
Fixes random touches on Redmi Note 9 Pro `joyeuse` when fingerprint is pressed
2021-02-09 12:36:12 +02:00
Pierre-Hugues Husson
3d054e214d Add olive and angelica for Xiaomi fingerprint uinput blocklist 2021-02-02 22:04:42 +01:00
Pierre-Hugues Husson
9e6e2b6556 Mute console for everyone, not just secure usecase 2021-02-02 22:03:11 +01:00
Pierre-Hugues Husson
72c62260b9 Fix backlight on some Samsung devices
Some Samsung Q vendor devices have HWC rather than lights hal control.
In those cases, backlight is controlled through another SELinux context.
We used to correct this SELinux context for all devices, however this is
no longer needed, and actually breaks those devices.

So, change SELinux context, only if uid/gid is wrong
2021-01-30 22:59:23 +01:00
kzubec
36881fc8a6
Update rw-system.sh 2021-01-22 16:45:55 +03:00
Pierre-Hugues Husson
aae160672f Add a totally manual ADB, triggerable using /cache/phh-adb. This should help debugging early startup issues 2021-01-19 23:46:40 +01:00
Jens Bertram
a853420626
Scan in /odm/etc/vintf for fingerprint sensor data
The manifest.xml for specifying the fingerprint sensor for the Fairphone 3 (SW-version 8901.3.A.0066.20201119) is located at /odm/etc/vintf/. This path is currently not scanned for manifest files. This proposed change includes this missing path an enables to use the fingerprint sensor on the FP3.
2020-12-17 21:55:49 +01:00
Peter Cai
d93e046538 rw-system: disable sensor direct report on SPRD Pie vendor 2020-12-16 21:01:15 +08:00
Pierre-Hugues HUSSON
93019de565
Merge pull request #216 from siddhrsh/patch-2
Added Realme C3 brightness& audio jack
2020-12-12 11:02:37 +01:00
Siddhesh Koyande
d07aa9e60c
Added Realme C3 brightness& audio jack 2020-12-12 10:49:49 +05:30
Siddhesh Koyande
c756d26c2b
Realme C2 Headphones jack fix 2020-12-12 08:27:23 +05:30
Pierre-Hugues Husson
8ff15241fd Disable root console on uart, and kernel logs on uart when secure 2020-12-11 14:51:01 +01:00
Pierre-Hugues Husson
5607a9be21 Use dev/input for jack detection on Realme C11 2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
147dca859c Realme C11 has same quirks for dt2w and brightness as previous Realme MTK devices 2020-11-29 08:08:50 -05:00
Pierre-Hugues Husson
6ce1b9108d Galaxy S9 is stupid and still dont understand that android version/spl isnt relevant, so cheat android version/spl for them 2020-11-08 00:36:09 +01:00
Pierre-Hugues Husson
28b4d559a6 Set a property to find focaltech gesture node 2020-10-26 22:46:16 +01:00
Pierre-Hugues Husson
1450230c31 Make rw-system debug easier, but just having to create /cache/phh-log (obviously works only if device has a cache partition), and having perms make it accessible from system app (treble app) 2020-10-25 21:11:27 +01:00
tboy1991
0b075d62bf Update rw-system.sh 2020-10-17 16:34:18 +02:00
tboy1991
dd952c5f1b Update rw-system.sh
Adds redmi9 lancelot/galahad brightness and fingerprint as enter fix
2020-10-13 18:48:21 +02:00
Pierre-Hugues Husson
ab62dcf481 On Allview V3 Viper, mnld (who handles GPS) crashes with double-mutex unlock. Fix this by forcing it to older SDK 2020-10-06 19:55:11 +02:00
Pierre-Hugues Husson
95bcf66d67 Some devices require their vendor mounted to /persist even if fstab says otherwise
See https://github.com/phhusson/treble_experimentations/issues/668
2020-10-05 22:13:44 +02:00
Pierre-Hugues Husson
7662a1675c Disable HWC presentOrValidate on vndk 26/27 2020-09-30 22:38:44 +02:00
ѕαмαя νιѕρυтє
b79124f41b rw-system: Update extra vndk dir path
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-09-30 09:55:09 +00:00
Pierre-Hugues Husson
bbee56d39f ROG Phone III has an additional C2 in vendor. It requires updated seccomp policy 2020-09-27 20:12:39 +02:00
Pierre-Hugues Husson
c18b157a8d libsoftkeymasterdevice.so is a new path for vndk v26 2020-09-27 20:12:09 +02:00
Pierre-Hugues Husson
6e496dafb0 Force privapp permissions thingy to "log". It s not like we care about this feature 2020-08-18 16:56:53 +02:00
Pierre-Hugues Husson
81c17b3aa3 Add Realme 6 for lcd brightness & fingerprint tricks 2020-08-13 15:51:42 +02:00
Pierre-Hugues Husson
6428935728 Fake Oppo engineer app instead of camera app, and force non-gsi Camera mode 2020-08-05 20:38:43 +02:00
Pierre-Hugues Husson
d26d561dba Add fingerprint gestures on zf6 2020-08-05 20:38:43 +02:00
kjssad
4134ef2653
Add RMX1941 DT2W fix 2020-07-02 16:28:48 +00:00
Pierre-Hugues Husson
9800e43980 Some devices have mask_brightness with proper selinux, wrong perms... 2020-06-24 11:11:02 +02:00
Pierre-Hugues Husson
c0ff9f49f0 Yet another c2 broken device 2020-06-23 21:40:55 +02:00
Pierre-Hugues Husson
d4ecf50aa0 Add libstagefright_foundation from vendor to vndk hack for Q vendors as well 2020-06-22 18:12:17 +02:00
Pierre-Hugues Husson
97b340689d Add Redmagic 5G DT2Z KL 2020-06-20 20:11:04 +02:00
Pierre-Hugues Husson
46c5eb1273 Don't enable CPU feature runtime detection for everyone
Sadly CPUs impacted with needs_a53_835769_fix/needs_a53_843419_fix can't use runtime codepath
Enable CPU feature runtime detection on known-problematic CPUs
2020-06-20 00:31:29 +02:00
Pierre-Hugues Husson
9bff86b3a9 Enable ART automatic CPU feature detection. Also fix some devices using a wrong kryo name 2020-06-20 00:19:13 +02:00
Pierre-Hugues Husson
0c42bbf8c4 Switch to SW keymaster on Moto One Macro, and enable devinputjack 2020-06-18 15:00:14 +02:00
Pierre-Hugues Husson
51dc96a900 Another ccodec=0... 2020-06-17 13:36:50 +02:00
Pierre-Hugues Husson
33afc851c4 Yet another sick C2 MTK... 2020-06-11 18:02:21 +02:00
R-L-T-Y
bffd528e03
xiaomi at it again! changes for redmi picasso 2020-06-09 13:12:45 +08:00
Pierre-Hugues Husson
0666c17ef1 moto fp gestures for fpc 2020-06-08 18:51:33 +02:00
Pierre-Hugues Husson
2874f15cf2 Add capacitive back and recent keys for Samsung 2020-06-06 18:41:52 +02:00
Pierre-Hugues Husson
2295229a28 Expose CAF resolution switching (tested on RazerPhone) 2020-06-05 20:34:22 +02:00
Pierre-Hugues Husson
5c712afafa Add FOD for Vsmart Live 2020-06-03 14:13:33 +02:00
Pierre-Hugues Husson
ff835cbd53 Add motorola fingerprint navigation keymap for moto one action 2020-06-02 23:04:09 +02:00
Pierre-Hugues Husson
afb17027d2 Add a tablet SoC in ccodec 0 band 2020-05-30 16:38:56 +02:00