Commit Graph

926 Commits

Author SHA1 Message Date
Andy CrossGate Yan
90e92a5655 Make high refresh rate show up for Xiaomi Civi
Some new Mi devices only reveal high refresh rate on `ro.product.manufacturer=Xiaomi`
Until the offending blob is pinpointed, fake the prop with copyprop
Feel free to experiment on other devices with similar symptom

Change-Id: I125cc55d6c3d57d7e62c65c997de086cca24abdd
2022-02-19 15:03:08 +00:00
Pierre-Hugues Husson
5874b86caf Fake MTK's ccci_rpcd props
On Mediatek devices, modem can request ro.product.device directly to
switch hardware configuration depending on the HW it is running on.

On AOSP GSI, if the ro.product.device is "generic", it'll switch to
ro.product.vendor.device, but not when it's "phhgsi.*".
Which leads to the device not loading the proper HW config, and failing
to modem altogether (notably on Redmi 9A)

To fix this, have ccci_rpcd report vendor props instead of system props
2022-02-19 09:29:46 -05:00
Quallenauge
a4d6f5c8d3 Disable WPA3 by default (vendor overlays can still override it)
flo: wifi: Disable WPA2 -> WPA3 upgrade.

Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2022-02-10 05:16:41 -05:00
Pierre-Hugues HUSSON
6ec496b398
Merge pull request #294 from ponces/dev-renoir
Fix DT2W on Xiaomi Mi 11 Lite 5G by using xiaomi-touch
2022-02-09 22:09:37 +01:00
Alberto Ponces
a66fa56752 Fix DT2W on Xiaomi Mi 11 Lite 5G by using xiaomi-touch
It may also fix for other Xiaomi devices
2022-02-09 21:07:02 +00:00
Pierre-Hugues Husson
b962aa4bfd Rename our brand from "Phh" to "google", this helps bypass manual certification process 2022-02-08 18:21:53 -05:00
Pierre-Hugues Husson
b3aad18611 Goodbye christmas animation. Put MY OTA json in my own specific file 2022-02-08 15:38:13 -05:00
Pierre-Hugues Husson
089c23d062 If vendor sets its own latch_unsignaled to 1, copy it on our side 2022-02-06 10:17:37 -05:00
Pierre-Hugues Husson
e32ab4aff1 Add path to OTA infos 2022-02-05 16:46:22 -05:00
Pierre-Hugues Husson
329bbe82af [Moto One vision] Set eSCO size. See https://github.com/phhusson/treble_experimentations/issues/1939 2022-02-05 13:46:24 -05:00
Pierre-Hugues Husson
089dcc7bc0 WIP continue on ota 2022-02-01 19:22:27 -05:00
Pierre-Hugues Husson
59a5f1a447 Improve phh-ota, to be theorically usable without root 2022-01-31 16:12:35 -05:00
Pierre-Hugues HUSSON
617e2320fb
Merge pull request #293 from AndyCGYan/fix-op10pro-overlay
Disable ODM display overlay for OnePlus 10 Pro
2022-01-30 21:31:04 +01:00
Andy CrossGate Yan
5ae932aa76 Disable ODM display overlay for OnePlus 10 Pro
To whoever wrote these at OPlus - WTF?

Change-Id: Icd38941e86bf1e8ff743342507b5926708590ccf
2022-01-30 15:41:29 +00:00
Pierre-Hugues HUSSON
10a42e0e8c
Merge pull request #292 from ponces/renoir-dev
Remove Mi 11 Lite 5G (renoir) from the audio effects fix
2022-01-28 19:49:35 +01:00
Alberto Ponces
f7060bda94 Remove Mi 11 Lite 5G (renoir) from the audio effects fix
This should be replaced by the sound volume fix on the Qualcomm page of the TrebleApp
2022-01-28 16:47:07 +00:00
Pierre-Hugues Husson
141780a2ac Upgrade ota.sh to use new my own ota mechanism 2022-01-22 14:36:55 -05:00
Pierre-Hugues HUSSON
fdc8be8692
Merge pull request #291 from pessip/android-12.0
Add Netflix ID for Mi 11 lite 5G
2022-01-16 22:13:22 +01:00
Pessi Päivärinne
5dbc29cc18 Add Netflix ID for Mi 11 lite 5G
Add Netflix ID for Widevine L1 support in Netflix.
2022-01-16 21:22:06 +02:00
Pierre-Hugues HUSSON
cef4fa61fd
Merge pull request #290 from ponces/android-12.0-smartpa_params
smartpa_params: Fix audio for Umidigi X and Gome U9
2021-12-29 22:14:36 +01:00
Alberto Ponces
95cdb160d5 smartpa_params: Fix audio for Umidigi X and Gome U9 2021-12-29 19:57:34 +00:00
Pierre-Hugues Husson
62216987bc Add xmas bootanim courtesy of @sepehrmoh81. phh rom variant 2021-12-22 15:24:58 -05:00
Pierre-Hugues Husson
230b6083b2 All devices support unprocessed audio source 2021-12-20 13:19:32 -05:00
Pierre-Hugues Husson
8c908a0f51 Upgrade selinux rights for oplus fingerprint access 2021-12-19 16:28:36 -05:00
Pierre-Hugues Husson
2a099c2c5a Update way to detect an Oplus device to set fod.bbk prop 2021-12-19 16:27:32 -05:00
Pierre-Hugues Husson
4b86b1ccb5 Be more flexible wrt when to fix Samsung backlight selinux context 2021-12-19 16:27:18 -05:00
Pierre-Hugues Husson
bf333ce566 Fix headset buttons for Xiaomi Mi 11 Lite 5G 2021-12-18 07:40:03 -05:00
Pierre-Hugues HUSSON
63ef13a2f8
Merge pull request #289 from krapk/android-12.0
Disable FP gestures for Motorola One Fusion Plus
2021-12-09 23:03:12 +01:00
Jesús R
4babb2da95 Remove unnecessary if 2021-12-09 15:52:23 -06:00
Jesús R
9b9b7794e7 Disable FP gestures for Motorola One Fusion Plus 2021-12-09 13:32:53 -06:00
Pierre-Hugues HUSSON
f96d4cb317
Merge pull request #288 from AndyCGYan/reverse-slider
Reverse slider
2021-12-09 17:41:42 +01:00
Andy CrossGate Yan
fca972de6f Reverse oplus-alert-slider order
Change-Id: Ic968fa7a8822e133a6f56d28ef108a43edd9639c
2021-12-09 13:36:43 +00:00
Pierre-Hugues HUSSON
1e74ebda8d
Merge pull request #286 from ironydelerium/android-12.0
[Huawei P10] Extend the fingerprint for stopping aptouch
2021-12-08 20:20:02 +01:00
Sarah Vandomelen
8d11e629c4 [Huawei P10] Extend the fingerprint so that the stopping of 'aptouch' only applies to the P10. 2021-12-08 11:15:43 -08:00
Pierre-Hugues Husson
19533fb782 Typo, didnt mean to set latch_unsignaled to everyone 2021-12-08 13:38:12 -05:00
Pierre-Hugues Husson
ee833b1d7d Fix speaker and touchscreen on Huawei P10 2021-12-08 13:36:39 -05:00
Pierre-Hugues Husson
3aad44c311 [oplus-alert-slider] Android AIDL moved, change the method id to change ringer mode 2021-12-07 05:56:11 -05:00
Pierre-Hugues HUSSON
723d9cb4f8
Merge pull request #285 from AndyCGYan/fix-fp-lgs75g
Disable FP gestures for LG Stylo 7 5G
2021-12-03 13:30:15 +01:00
Andy CrossGate Yan
826784b4ae Disable FP gestures for LG Stylo 7 5G
Change-Id: Ib1013963d41997e6ba5b6a645355beb8637d6f01
2021-12-03 12:26:36 +00:00
Pierre-Hugues HUSSON
e9855ca82d
Merge pull request #284 from ponces/android-12.0-fix-distorted-audio
Disable soundvolume effect on Xiaomi Mi 11 Lite 5G
2021-12-02 22:53:13 +01:00
Alberto Ponces
66cc06b0a9 Disable soundvolume effect on Xiaomi Mi 11 Lite 5G
Fixes audio distorsion on this device and may fix on other Qualcomm devices
2021-12-02 21:45:07 +00:00
Pierre-Hugues HUSSON
06a00ae37c
Merge pull request #283 from AndyCGYan/fix-rmgtme-overlay
Disable ODM display overlay for Realme GT ME
2021-12-01 19:22:00 +01:00
Andy CrossGate Yan
7f627a4fe7 Disable ODM display overlay for Realme GT ME
Change-Id: Iba4c4d1e6e470593687285111efede3a93a8cfab
2021-12-01 18:18:10 +00:00
Pierre-Hugues Husson
2fa02fbf17 Launch oplus-alert-slider only once, there is no need to restart it, and it would end up restarting forever on non-oplus device 2021-11-26 10:39:53 -05:00
Pierre-Hugues Husson
f179d6c320 Split lptools into vendor_lptools 2021-11-19 10:50:35 -05:00
Pierre-Hugues Husson
b66b7aa968 Let treble app set ims props 2021-11-18 16:42:15 -05:00
Pierre-Hugues HUSSON
1aece75b52
Merge pull request #282 from Vgdn1942/android-12.0
Add keylayout and fix broken USB for Blackview BV9500Plus
2021-11-15 08:38:44 +01:00
vgdn1942
187b2ec484 Fix broken USB on Blackview BV9500Plus 2021-11-15 09:19:40 +03:00
vgdn1942
37373d808c Add keylayout for Blackview BV9500Plus 2021-11-15 09:00:07 +03:00
Pierre-Hugues Husson
f2481fbc1d Upgrade securize for metadata + new no exec xbin
Use /metadata/phh/secure to store securize status
And if securized, remove apk and system/xbin
2021-11-03 17:43:25 -04:00