Commit Graph

972 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
53df615cca More phhsu perms 2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
705afa376d McTeeKeymaster is actually in vendor/lib/hw/ not vendor/lib 2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
6f2d3e5d29 Never forget access to ourselves 2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
72992a82fd Try another way to remount /system r/w 2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
9fe8e103e9 Use media_profiles_vendor on Razer Phone to enable 4k video recording 2020-04-13 20:25:57 +02:00
Pierre-Hugues Husson
c4a41337e2 Allow 10 users/work profiles 2020-04-13 20:13:16 +02:00
Pierre-Hugues HUSSON
001f229374
Merge pull request #177 from theimpulson/android-10.0
rw-system: Enforce vendor media_profiles on PL2
2020-04-13 20:12:53 +02:00
theimpulson
7db3ec75c4 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-04-13 18:10:55 +00:00
Pierre-Hugues HUSSON
2f8d5331a2
Merge pull request #176 from myst33d/android-10.0
Fix long boot on Oreo vendor for Redmi 6A and Redmi 6
2020-04-10 22:18:08 +02:00
Myst33d #RoccoIsCute
0a96913225
Fix long boot on Oreo vendor for Redmi 6A and Redmi 6 2020-04-10 23:17:52 +06:00
Pierre-Hugues Husson
cfaa261e2c Include vr_hwc. This will make for better VR experience, and fixes compatibility warning on huawei devices 2020-04-05 14:00:25 +02:00
Pierre-Hugues Husson
52c2673998 Include oneplus motor command 2020-04-05 13:42:46 +02:00
Pierre-Hugues HUSSON
e950266b69
Merge pull request #174 from irfanfadilah/andromeda/fingerprint-fix
[Mi Mix 3 5G/andromeda] Fix Fingerprint Issue
2020-04-05 11:32:38 +02:00
Pierre-Hugues HUSSON
1dfec7b9a9
Merge pull request #175 from irfanfadilah/andromeda/audio-fix
[Mi Mix 3 5G/andromeda] Fix Audio Issue
2020-04-05 11:32:01 +02:00
Irfan Fadilah
c6f89d9340
Fix Andromeda Audio Issue
Set `ro.audio.ignore_effects` to `true` for `xiaomi/andromeda`.

Tested on my device by adding it to the `build.prop`.

Ref: https://forum.xda-developers.com/showpost.php?p=82126487&postcount=697
2020-04-05 11:38:51 +07:00
Irfan Fadilah
eb50f7592d
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-04-05 11:30:36 +07:00
Pierre-Hugues Husson
09a49059a9 Enable navbar by default 2020-04-05 01:40:25 +02:00
Pierre-Hugues Husson
a8c3c6124b Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay 2020-04-05 00:55:24 +02:00
Pierre-Hugues Husson
11a2fd96cc Some devices have broken tsp permissions, even without ear_detect_enable 2020-04-05 00:05:12 +02:00
Pierre-Hugues Husson
01c61a68bb Disable Samsung malwares preinstalled in /odm partition 2020-04-04 23:57:10 +02:00
Pierre-Hugues HUSSON
64cb608f45
Merge pull request #172 from jumper047/patch-4
Sound fix #2 for Redmi Note 8 Pro
2020-04-03 09:13:05 +02:00
jumper047
aea333e6b8
Sound fix #2 for Redmi Note 8 Pro
Miss in previous pull request
2020-04-03 02:50:41 +03:00
Pierre-Hugues HUSSON
4ab8565096
Merge pull request #171 from jumper047/patch-3
Fix "no sound" issue for Redmi Note 8 Pro
2020-04-02 21:19:23 +02:00
jumper047
ff0e381d51
Fix "no sound" issue for Redmi Note 8 Pro 2020-04-02 22:04:43 +03:00
Pierre-Hugues Husson
4bc2f864df Fix pm install through a file provided by su
See https://github.com/phhusson/treble_experimentations/issues/1214
2020-03-30 23:50:57 +02:00
Pierre-Hugues HUSSON
3199a5e850
Merge pull request #168 from AndyCGYan/huaweiare-ilight
Changes to lightsctl-huawei tool
2020-03-30 13:06:12 +02:00
Andy CrossGate Yan
4e2fcbe38d Changes to lightsctl-huawei tool
For https://github.com/phhusson/treble_experimentations/issues/1204

Change-Id: I70655264003190de6c8624e9f63bfea75a09cf61
2020-03-30 18:45:53 +08:00
Pierre-Hugues HUSSON
9e60c42682
Merge pull request #167 from cheah/fix-comparison
Fix value comparison in phh-prop-handler.sh
2020-03-26 16:50:44 +01:00
Michael Cheah
740000e786
Fix value comparison in phh-prop-handler.sh 2020-03-26 23:30:57 +08:00
Pierre-Hugues HUSSON
1f1c9b1d0d
Merge pull request #166 from cheah/refactor-oppo-props
Move Oppo props into phh-prop-handler.sh
2020-03-26 15:49:48 +01:00
Michael Cheah
1db7e1e1fe
Move Oppo props into phh-prop-handler.sh 2020-03-26 22:41:24 +08:00
Pierre-Hugues Husson
f7981ef123 Yet another broken sw codec2 2020-03-26 11:45:56 +01:00
Pierre-Hugues HUSSON
eeaa31fdd5
Merge pull request #146 from cheah/fix-xiaomi-dt2w-ten
[Android 10] [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:46:26 +01:00
Michael Cheah
510e1c01d9
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-03-26 09:44:58 +08:00
Pierre-Hugues HUSSON
00eefaa01e
Merge pull request #165 from Tuan9304/android-10.0
Fix Brightness Realme C1
2020-03-22 12:10:00 +01:00
Tuan9304
c268d86c30 Move to right line 2020-03-22 17:43:28 +07:00
Tuan9304
79462b1c64 Fix Brightness Realme C1 2020-03-22 13:13:54 +07:00
Pierre-Hugues HUSSON
93335b6e59
Merge pull request #164 from Dunedan/reenable-multi-user
Re-enable multi user for all devices
2020-03-19 21:21:08 +01:00
Daniel Roschka
29ce153a16
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-03-19 21:02:42 +01:00
Pierre-Hugues Husson
f620ffc0a8 Some CPH devices have two matches. Take first one 2020-03-19 15:21:01 +01:00
Pierre-Hugues Husson
b07cbb9e07 Disable annoying strict mode by default 2020-03-19 15:21:01 +01:00
Pierre-Hugues HUSSON
f6c5cd7e9a
Merge pull request #163 from Dunedan/show-cell-broadcast-app-links
Enable links to cell broadcast app
2020-03-15 22:44:07 +01:00
Daniel Roschka
66a9c57853
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-03-15 21:19:52 +01:00
Pierre-Hugues Husson
e83a8c3726 Ignore audio efects on all moto 2020-03-15 13:28:59 +01:00