Commit Graph

594 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
685e64fda2 [simg2img_simple] Don't break when splice doesn't work (over adb for instance) 2020-10-24 01:54:26 +02:00
Victor Bo
d9f73e65c1 rw-system: add 'daisy' stock keylayout files
1-2. because gestures not works (exist in some gsi, same as stock -
swipe for notifications)
3. daisy-buttonJack.kl need for headphones volume control by headphones' buttons

	modified:   base.mk
	new file:   files/daisy-buttonJack.kl
	new file:   files/daisy-uinput-fpc.kl
	new file:   files/daisy-uinput-goodix.kl
	modified:   rw-system.sh
2020-10-24 01:54:26 +02:00
Pierre-Hugues Husson
b8ba68ae2b Add properties to use vendor audio policy, and to disable audio effects 2020-10-24 01:54:26 +02:00
Pierre-Hugues Husson
23cd1f93b6 Add property to use CAF vendor media_profiles
This is controlled through persist.sys.phh.caf.media_profile
system_server loads this file, so it requires a reboot to apply
2020-10-24 01:54:24 +02:00
Pierre-Hugues Husson
463edb235a We also want telephony.ims 2020-10-24 01:54:24 +02:00
Pierre-Hugues Husson
e9a6c15c18 [Xiaomi DT2W] Call sendevent on any touchscreen
On Redmi Go, there is no gesture_mask or wake_gesture,
no /proc/touchpanel/wakeup_gesture, no /proc/tp_wakeup_gesture, no /proc/tp_gesture
However sendevent works.
FWIW it does have /proc/gesture/onoff, and /proc/gesture/data
2020-10-24 01:54:24 +02:00
Pierre-Hugues Husson
d1fe6b947b More props and files to override to fake real firmware for camera 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
6352ce5833 Fix flashlight on S10 lite
Thanks @mainey
2020-10-24 01:54:23 +02:00