Commit Graph

755 Commits

Author SHA1 Message Date
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
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
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
01390142b9 Autodetect best group, not everyone uses main 2020-06-21 00:21:52 +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
2e19ed17dc Try to fix a race condition where init.svc could /not/ be restarting at the time of checking 2020-06-18 20:24:21 +02:00
Pierre-Hugues Husson
0f3b53a395 Include "Google" app to fix "Hey, Google" 2020-06-18 19:59:12 +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
4943b6a93e Fix minijail issue on pie vendors 2020-06-17 16:34:17 +02:00
Pierre-Hugues Husson
51dc96a900 Another ccodec=0... 2020-06-17 13:36:50 +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
Pierre-Hugues Husson
33afc851c4 Yet another sick C2 MTK... 2020-06-11 18:02:21 +02:00
Pierre-Hugues HUSSON
e530d6a7e5
Merge pull request #191 from AndyCGYan/sepolicy-phhsu
Quick fixup
2020-06-11 16:19:47 +02:00
Andy CrossGate Yan
d357dec2d4 Quick fixup
Building is different from on-the-fly testing
2020-06-11 13:59:47 +00:00
Pierre-Hugues HUSSON
2c023e8446
Merge pull request #190 from AndyCGYan/sepolicy-phhsu
More rights
2020-06-11 15:39:09 +02:00
Andy CrossGate Yan
44fe1f36aa More rights
"Here's Sammy!"
2020-06-11 21:34:36 +08:00
Pierre-Hugues HUSSON
434e42303e
Merge pull request #189 from R-L-T-Y/android-10.0-picasso
xiaomi at it again! changes for redmi picasso
2020-06-09 09:02:22 +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
179f0cf042 Give more headroom on arm_a 2020-06-07 13:21:02 +02:00
Pierre-Hugues Husson
32ca6fcb5f Some Pie vendor are also affected by minijail issue 2020-06-06 19:33:00 +02:00
Pierre-Hugues Husson
936ed40b56 Some Samsung dt2w use other key value 2020-06-06 19:33:00 +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
4bd26f7fc7 Some Samsung devices also have HOME as gpio key 2020-06-06 18:24:24 +02:00
Pierre-Hugues Husson
506be53b02 Add ota.sh to (try to) OTA 2020-06-06 18:12:37 +02: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
2295229a28 Expose CAF resolution switching (tested on RazerPhone) 2020-06-05 20:34:22 +02:00
Pierre-Hugues Husson
66108419f9 Tell realme fingerprint dirver we are running unlocked bootloader 2020-06-05 17:43:52 +02:00
Pierre-Hugues Husson
65af98b518 Detect looping mediacodec earlier 2020-06-03 20:21:50 +02:00
Pierre-Hugues Husson
7576b8f0fe 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-06-03 16:52:59 +02:00
Pierre-Hugues Husson
5c712afafa Add FOD for Vsmart Live 2020-06-03 14:13:33 +02:00
Pierre-Hugues Husson
00b3c4399a Disable integration for gapps go too, to remove white screen in setup wizard 2020-06-03 12:31:07 +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
0359b91442 Add persist.sys.phh.vsmart.dt2w for vsmart double-tap-to-wake 2020-06-01 19:29:55 +02:00
Pierre-Hugues Husson
afb17027d2 Add a tablet SoC in ccodec 0 band 2020-05-30 16:38:56 +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
089d3c34ca Add netflix ID for Redmi Note 9S 2020-05-29 10:13:16 +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
05b863b07a Add netflix id on Mi9, this gives 720p/1080p when securized 2020-05-28 11:44:25 +02:00
Pierre-Hugues Husson
de8d6e38d3 Add talkback (space has been freed by removing FilesGoogle) 2020-05-26 14:14:16 +02:00
Pierre-Hugues Husson
35f64c5260 Also remove FilesGoogle 2020-05-26 13:49:44 +02:00
Pierre-Hugues Husson
4aad458648 Remove gmsexpress-set overlay
gmsexpress enables com.android.theme.icon.squircle
we want circle by default
2020-05-25 14:10:37 +02:00
Pierre-Hugues Husson
9a6dacedfc Curtana is redmi, no longer xiaomi 2020-05-25 13:45:22 +02:00
Pierre-Hugues Husson
05b0386382 <2GB arm64_ab gapps system 2020-05-24 22:07:19 +02:00
Pierre-Hugues Husson
1d86604109 Curtana is just as broken as other Xiaomi devices 2020-05-24 20:18:20 +02:00
Pierre-Hugues Husson
874d0d8b47 Disable GMS demo SetupWizard integration because it is broken
It references com.android.setupwizard.FLOW_CHOICE, which is no longer
supported by the SetupWizard
2020-05-24 20:12:23 +02:00
Pierre-Hugues Husson
5a29d9607e Alternate audio profile was broken?!? 2020-05-24 20:03:14 +02:00