Commit Graph

616 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
9f53b904c5 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-05-24 19:26:19 +02:00
Pierre-Hugues Husson
7a830b3d3e gmsexpress-based gapps-go. arm64_ab fits in 2GB. arm_a doesn't fit on Redmi Go though 2020-05-24 19:26:19 +02:00
Pierre-Hugues Husson
bcb48d0ba8 arm a is even tighter, so give only 8MB headroom 2020-05-24 19:26:19 +02:00
Pierre-Hugues HUSSON
46b853461c
Merge pull request #182 from fourofspades/Issue_#1141_TabletMode
Added shell script to remove telephony.
2020-05-23 11:47:41 +02:00
Pierre-Hugues Husson
258e730ad7 Reduce reversed size from 64MB to 32MB 2020-05-21 17:12:38 +02:00
Pierre-Hugues Husson
3d84e3da97 Also set chmod/chown for fod samsung files 2020-05-21 17:12:38 +02:00
Pierre-Hugues HUSSON
41af81fe4f
Merge pull request #188 from siddhrsh/patch-4
Update rw-system.sh
2020-05-20 21:44:12 +02:00
siddhrsh
ff01f63493
Update rw-system.sh
Added realme c2 brightness and navigation command
2020-05-21 01:10:03 +05:30
Pierre-Hugues Husson
1f6fcb7322 Fix various FOD-related props and files SELinux permission 2020-05-20 19:59:45 +02:00
Pierre-Hugues HUSSON
edc584e3c3
Merge pull request #187 from timbortnik/disable-storageproxyd
disable-storageproxyd
2020-05-19 09:57:12 +02:00
Tim Bortnik
4f7be9c2b5 disable-storageproxyd 2020-05-19 00:02:05 +03:00
Pierre-Hugues Husson
deb3e53411 Add a CLI tool to dump list of cameras on Samsung Q vendor 2020-05-14 19:35:29 +02:00
Pierre-Hugues Husson
cfe638aa94 Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness 2020-05-14 18:31:37 +02:00
Pierre-Hugues Husson
b3a5ea6275 Update Samsung HBM to use max brightnmess 2020-05-14 15:47:15 +02:00
Pierre-Hugues HUSSON
e9afb88256
Merge pull request #186 from EugW/android-10.0
Fix havoc mk
2020-05-14 15:29:42 +02:00
EugW
89dfb3226b Fix havoc mk 2020-05-14 16:52:26 +05:00
Pierre-Hugues HUSSON
61899854d4
Merge pull request #184 from ponces/android-10.0
Fix exynos grep command to apply setprop correctly
2020-05-14 12:44:46 +02:00
Alberto Ponces
ef30da0aae Simplify the exynos grep command even further and remove some whitespace 2020-05-14 11:41:08 +01:00
Pierre-Hugues Husson
4f718dfef2 Add Samsung HBM FOD default value 2020-05-14 11:00:04 +02:00
Alberto Ponces
d6da9f1fec Fix exynos grep command to apply setprop correctly 2020-05-13 18:00:23 +01:00
Pierre-Hugues Husson
167c3bb4c1 Add /efs, needed on Galaxy A51 for fingerprint sensor calibration 2020-05-13 13:10:53 +02:00
Pierre-Hugues Husson
67bbd94780 [securize] Take the most recent between ro.vendor and ro.keymaster SPL, because vendor could be correct like -05 2020-05-13 10:13:51 +02:00
Pierre-Hugues Husson
fd46dfb49a [su] Give more right to control dynamic partitions 2020-05-13 10:03:26 +02:00
Pierre-Hugues Husson
06badf2f7b 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-05-13 10:03:26 +02:00
Pierre-Hugues HUSSON
88003acb57
Merge pull request #183 from hwti/patch-1
Fix phh-securize.sh with Magisk modules
2020-05-10 12:53:02 +02:00
Loïc Yhuel
7698971538
Fix phh-securize.sh with Magisk modules
With Magisk, depending on enabled modules, directories like /system/xbin, /system/app and others could be tmpfs,
with /system/xbin/su and /system/app/me.phh.superuser being bind-mounts.

So we should try to operate on the real system partition.
2020-05-10 01:20:02 +02:00
Pierre-Hugues Husson
e3af52cfdf Include lptools in build 2020-05-09 20:02:48 +02:00
Pierre-Hugues Husson
186496633e Add lptools to modify dynamic partitions 2020-05-09 14:24:38 +02:00
Pierre-Hugues Husson
c85213c6f1 [simg2img_simple] Don't break when splice doesn't work (over adb for instance) 2020-05-09 14:03:36 +02:00
Mark Gillespie
81f673e8e3 Remove Telephony
https://github.com/phhusson/treble_experimentations/issues/1141
2020-05-08 19:38:03 +01:00
Pierre-Hugues HUSSON
22c1395462
Merge pull request #180 from eremitein/keylayout
rw-system: add 'daisy' stock keylayout files
2020-05-06 11:50:52 +02:00
Victor Bo
13a9b1e26d 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-05-04 23:44:20 +03:00
Pierre-Hugues Husson
0ae6b5b05c Add properties to use vendor audio policy, and to disable audio effects 2020-05-03 18:05:30 +02:00
Pierre-Hugues Husson
bad4131180 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-05-03 18:01:40 +02:00
Pierre-Hugues Husson
80b949241d We also want telephony.ims 2020-04-28 17:34:06 +02:00
Pierre-Hugues Husson
3371719f20 [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-04-28 16:55:40 +02:00
Pierre-Hugues Husson
62dcebdd7f Don't use exec_background, it doesnt exist in a-only oreo devices. Not being background is okay here 2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
cd327cc850 More props and files to override to fake real firmware for camera 2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
091c225863 Fix flashlight on S10 lite
Thanks @mainey
2020-04-25 20:10:25 +02:00