Commit Graph

602 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
0781a41c00 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-10-24 01:54:34 +02:00
Pierre-Hugues Husson
98bf951850 Alternate audio profile was broken?!? 2020-10-24 01:54:34 +02:00
Pierre-Hugues Husson
a582ad2c95 Force bluetooth library to be AOSP's
Some vendors set ro.bluetooth.library_name.
This shouldn't matter because GSIs targetting Pie ignore those
properties from vendor.
Sadly we're targetting Oreo, so vendor can set it.

https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/system/system/build.prop#L167
https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/vendor/build.prop#L103
2020-10-24 01:54:34 +02:00
Pierre-Hugues Husson
44cfb55494 gmsexpress-based gapps-go. arm64_ab fits in 2GB. arm_a doesn't fit on Redmi Go though 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
74c61836c4 arm a is even tighter, so give only 8MB headroom 2020-10-24 01:54:33 +02:00
Mark Gillespie
566dd9753b Remove Telephony
https://github.com/phhusson/treble_experimentations/issues/1141
2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
edd9fe4cb7 Reduce reversed size from 64MB to 32MB 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
d5d48511b9 Also set chmod/chown for fod samsung files 2020-10-24 01:54:33 +02:00
siddhrsh
d7ed46d6e9 Update rw-system.sh
Added realme c2 brightness and navigation command
2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
a9a8f1f2d3 Fix various FOD-related props and files SELinux permission 2020-10-24 01:54:33 +02:00
Tim Bortnik
4216fa3275 disable-storageproxyd 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
cca0a7a754 Add a CLI tool to dump list of cameras on Samsung Q vendor 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
c09bf830cc Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
f987ea4fee Update Samsung HBM to use max brightnmess 2020-10-24 01:54:33 +02:00
EugW
56d252cd5b Fix havoc mk 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
9a7d1e8325 Add Samsung HBM FOD default value 2020-10-24 01:54:30 +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
99c0674382 [securize] Take the most recent between ro.vendor and ro.keymaster SPL, because vendor could be correct like -05 2020-10-24 01:54:28 +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
7fd5c1e596 Unforce root adb
On Samsung Galaxy A51, adb is forced as root by system in init.recovery...rc
However adb doesn't work as root on Samsung devices, so unset this to have working adb
2020-10-24 01:54:28 +02:00
Pierre-Hugues Husson
f01c1c0864 Include lptools in build 2020-10-24 01:54:26 +02:00
Pierre-Hugues Husson
84435b1f57 Add lptools to modify dynamic partitions 2020-10-24 01:54:26 +02:00