Commit Graph

575 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
2c426e9613 More phhsu perms 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
ffaecf5e3e McTeeKeymaster is actually in vendor/lib/hw/ not vendor/lib 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
9e3460d98c Never forget access to ourselves 2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
7646b28f93 Try another way to remount /system r/w 2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
2d24e99469 Use media_profiles_vendor on Razer Phone to enable 4k video recording 2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
92a3e00330 Allow 10 users/work profiles 2020-10-24 01:54:22 +02:00
theimpulson
72d54e47af rw-system: Enforce vendor media_profiles on PL2
*This fixes https://github.com/phhusson/treble_experimentations/issues/379

Signed-off-by: theimpulson <aayushgupta219@gmail.com>
2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
0e69d64689 Include vr_hwc. This will make for better VR experience, and fixes compatibility warning on huawei devices 2020-10-24 01:54:21 +02:00
Pierre-Hugues Husson
2b9b4c4c91 Include oneplus motor command 2020-10-24 01:54:21 +02:00
Irfan Fadilah
493668ab5f Fix Andromeda Fingerprint Issue
Add `uinput-goodix.kl` and `uinput-fpc.kl` to `xiaomi/andromeda`.

Tested on my device by putting both files under `/system/usr/keylayout`.

Ref: https://forum.xda-developers.com/showpost.php?p=82179105&postcount=731
2020-10-24 01:54:21 +02:00
Pierre-Hugues Husson
7302a2db62 Enable navbar by default 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
a704d5a5b0 Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
b2e61f3cf0 Some devices have broken tsp permissions, even without ear_detect_enable 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
264137a948 Disable Samsung malwares preinstalled in /odm partition 2020-10-24 01:54:19 +02:00
jumper047
d84983edd2 Sound fix #2 for Redmi Note 8 Pro
Miss in previous pull request
2020-10-24 01:54:19 +02:00
jumper047
ba3e75dc5e Fix "no sound" issue for Redmi Note 8 Pro 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
ed96573668 Fix pm install through a file provided by su
See https://github.com/phhusson/treble_experimentations/issues/1214
2020-10-24 01:54:19 +02:00
Andy CrossGate Yan
2d6225cce3 Changes to lightsctl-huawei tool
For https://github.com/phhusson/treble_experimentations/issues/1204

Change-Id: I70655264003190de6c8624e9f63bfea75a09cf61
2020-10-24 01:54:19 +02:00
Michael Cheah
ce62c4117d Fix value comparison in phh-prop-handler.sh 2020-10-24 01:54:19 +02:00