Commit Graph

602 Commits

Author SHA1 Message Date
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
Michael Cheah
f63ed278a1 Move Oppo props into phh-prop-handler.sh 2020-10-24 01:54:18 +02:00
Pierre-Hugues Husson
2476ef2786 Yet another broken sw codec2 2020-10-24 01:54:17 +02:00
Michael Cheah
78db250470 [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-10-24 01:54:17 +02:00
Daniel Roschka
49a11c444d Re-enable multi user for all devices
This commit re-enables multiple users for all devices. That's possible
as the system image is too large for Android Go nowadays anyway,
therefore no Android Go builds are available anymore.

This commit also increases the maximum number of users from 4 to 5 as
that's what several hardware already overlays set.
2020-10-24 01:54:12 +02:00
Pierre-Hugues Husson
0829e45aea Disable annoying strict mode by default 2020-10-24 01:54:11 +02:00
Daniel Roschka
3696ac5b86 Enable links to cell broadcast app
This enables links from the settings to the cell broadcast app for
configuring the behavior for received cell broadcasts.

While most hardware overlays already enabled this setting, it's nothing
hardware related, so it makes sense to set here globally for any device.

I'll also open a PR in `vendor_hardware_overlay` to remove the setting
from all overlays there.
2020-10-24 01:54:11 +02:00
Pierre-Hugues Husson
e8b45caa99 Ignore audio efects on all moto 2020-10-24 01:54:11 +02:00
Daniel Roschka
f28837bce2 Disable audio effects for Motorola Moto G7 Play
This disables audio effects for the Motorola Moto G7 Play (channel) as
enabled audio effects break audio via Bluetooth.

It requires a separate if-statement in `rw-system.sh`, because
`ro.vendor.build.fingerprint` isn't set for the device.

Relates to: https://github.com/phhusson/treble_experimentations/issues/857
2020-10-24 01:54:11 +02:00
Pierre-Hugues Husson
fd2c27ab60 Fix build on arm32 target 2020-10-24 01:54:11 +02:00
mrgreywater
08ad959d76 fix brightness flickering for Lenovo Z5s 2020-10-24 01:54:11 +02:00
mrgreywater
2cf4186175 fix dt2w for Lenovo Z5s 2020-10-24 01:54:11 +02:00
Pierre-Hugues Husson
1867351e50 Another broken Codec 2
See https://github.com/phhusson/treble_experimentations/issues/1104
2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
9869b366ff Some old mediatek devices require to disable Codec2 sw decoding 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
5aed09c09a Add int parameter to xiaomi-display-feature 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
01c1eb1c40 Use a FLOSS gallery instead of google photos 2020-10-24 01:54:10 +02:00
Lukas Barth
f1cbe55552 Simplify mount check 2020-10-24 01:54:10 +02:00
Lukas Barth
0d04ca71f9 Fix missing /data/sec_storage_data 2020-10-24 01:54:10 +02:00
Lukas Barth
a1bfa7dfa7 Fix mounts and permissions for sec_storage on Kirin devices 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
a6eecc7f2d [Realme U1] Fix keymaster, touchpanel and fingerprint 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
3133b832bf Add Oppo fingerprint support, tested on Realme X2 Pro 2020-10-24 01:54:10 +02:00
Pierre-Hugues Husson
71913ae9d2 Set ro.separate.phone on realme devices. That is another model number, that is used like by fingerprint HAL to define the position of the Facola. Also trigger the audio speaker init for Realme U1 2020-10-24 01:54:10 +02:00
Naveen Kumar
5254899122 Adding Brightness and DT2W fix to CPH1859 and CPH1961 2020-10-24 01:54:05 +02:00
Pierre-Hugues Husson
3996e92ba9 On Realme devices, trick HAL into exposing all cameras 2020-10-24 01:54:04 +02:00