Commit Graph

624 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
a266e770e8 Some devices require their vendor mounted to /persist even if fstab says otherwise
See https://github.com/phhusson/treble_experimentations/issues/668
2020-10-24 01:54:47 +02:00
Pierre-Hugues Husson
b53b105e83 Looks like Samsung FODs are calibrated at 319 nits, not max brightness 2020-10-24 01:54:46 +02:00
Mohit
dd12c94c40 Update rw-system.sh 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
2d30d404e4 Force privapp permissions thingy to "log". It s not like we care about this feature 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
df3bff6341 Add Realme 6 for lcd brightness & fingerprint tricks 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
d982033bbc Fake Oppo engineer app instead of camera app, and force non-gsi Camera mode 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
c6d441ef2e Add fingerprint gestures on zf6 2020-10-24 01:54:45 +02:00
darkestDark
c2a0997836 libminijail.so error
check for vndk only to mount
2020-10-24 01:54:45 +02:00
darkestDark
706715d631 libminijail.so error
check for vndk only to mount
2020-10-24 01:54:45 +02:00
DarkJoker360
6cc0282277 Address charger denials on Huawei devices
Thanks to phh and Hamido for the help
2020-10-24 01:54:44 +02:00
Pierre-Hugues Husson
22c62918c1 Some devices have mask_brightness with proper selinux, wrong perms... 2020-10-24 01:54:44 +02:00
Pierre-Hugues Husson
4b2f105e77 Yet another c2 broken device 2020-10-24 01:54:44 +02:00
Pierre-Hugues Husson
ec931b7907 Autodetect best group, not everyone uses main 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
1fb124f8d3 Add Redmagic 5G DT2Z KL 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
0cf5bdd071 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-10-24 01:54:42 +02:00
Pierre-Hugues Husson
cb2ce15028 Enable ART automatic CPU feature detection. Also fix some devices using a wrong kryo name 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
6845890690 Try to fix a race condition where init.svc could /not/ be restarting at the time of checking 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
cc820be648 Include "Google" app to fix "Hey, Google" 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
b80dacffb4 Switch to SW keymaster on Moto One Macro, and enable devinputjack 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
3de6f6aaf6 Fix minijail issue on pie vendors 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
566578b691 Another ccodec=0... 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
9da0eff7be Fix denial preventing Moto One Macro to boot, because init cant mount /mnt/product/persist 2020-10-24 01:54:41 +02:00
Pierre-Hugues Husson
e1b7744aa7 Yet another sick C2 MTK... 2020-10-24 01:54:41 +02:00
Andy CrossGate Yan
caa2aa47e6 Quick fixup
Building is different from on-the-fly testing
2020-10-24 01:54:41 +02:00
Andy CrossGate Yan
7739790c53 More rights
"Here's Sammy!"
2020-10-24 01:54:41 +02:00
Pierre-Hugues Husson
862135d95b moto fp gestures for fpc 2020-10-24 01:54:40 +02:00
Pierre-Hugues Husson
9b18fad926 Give more headroom on arm_a 2020-10-24 01:54:40 +02:00
Pierre-Hugues Husson
dcca8cba17 Some Pie vendor are also affected by minijail issue 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
dd41563dac Some Samsung dt2w use other key value 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
20229c2e4e Add capacitive back and recent keys for Samsung 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
40f32f178d Some Samsung devices also have HOME as gpio key 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
84e330315a Add ota.sh to (try to) OTA 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
df05f7ff63 Allow phh-su to blockdev --setrw dm partitions to mount / read-write on logical partition devices 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
7c93897a08 Expose CAF resolution switching (tested on RazerPhone) 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
b7001e21cc Tell realme fingerprint dirver we are running unlocked bootloader 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
65365b3f57 Detect looping mediacodec earlier 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
02c9b63356 Fix mediacodec on vndk-27
Since android-10.0.0_r37, mediacodec seccomp policy now has two
includes. In AOSP 8.1, minijail is vendor-side.
AOSP 8.1's minijail has a bug, which can't read multiple includes.
All of this together means mediacodec is broken.

This fixes it by overriding vendor's minijail to a working one, in the
hope that vendors didn't change anything in their own minijail

https://issuetracker.google.com/issues/158068181
2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
d8a0e7fad0 Add FOD for Vsmart Live 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
801098a3e6 Disable integration for gapps go too, to remove white screen in setup wizard 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
9147dad81b Add motorola fingerprint navigation keymap for moto one action 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
31e7a9e678 Add persist.sys.phh.vsmart.dt2w for vsmart double-tap-to-wake 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
350f7309d7 Add a tablet SoC in ccodec 0 band 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
ef76ca50f8 vendor policy requires a _29_0 type to apply 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
1654d13af6 Add netflix ID for Redmi Note 9S 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
a3d37b4e23 Add netflix id on Mi9, this gives 720p/1080p when securized 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
208a7895de Add talkback (space has been freed by removing FilesGoogle) 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
4fde9be039 Also remove FilesGoogle 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
63f07c4908 Remove gmsexpress-set overlay
gmsexpress enables com.android.theme.icon.squircle
we want circle by default
2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
c54616b9f5 <2GB arm64_ab gapps system 2020-10-24 01:54:35 +02:00