Pierre-Hugues Husson
d6a1c9b772
Disable color management by default on non-12 vendors
...
Color management fixes flickering screen on mediatek devices
The comment in SurfaceFlinger.cpp says that color mangement was disabled
by default on Android <=11, so it's simply restoring old behavior
2021-10-28 14:28:18 -04:00
Pierre-Hugues Husson
c21a8e5013
Don't create /persist => /mnt/vendor/persist symlink, some devices (Pixel 2) need it as a folder
2021-10-15 11:30:35 -04:00
Pierre-Hugues Husson
0ff308b3e7
Don't override keymaster key if we didnt extract a spl
2021-10-13 11:03:08 -04:00
Myst33d
043a42433b
Fix screen recoder on Redmi Note 9
2021-09-04 21:58:39 +06:00
DarkJoker360
29b13b352a
Cleanup audio hacks for Redmi Note 8/8T
...
* Already done by previous audio hacks.
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-09-03 12:49:32 +02:00
DarkJoker360
8f61607113
Enable audio fixes for Redmi Note 8T
...
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-09-03 12:49:00 +02:00
DarkJoker360
d8d6d29f36
Fix bluetooth on cheryl
...
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-08-26 13:48:14 +02:00
Myst33d
81af8dbf47
Fix UI lags on Redmi Note 9
...
Tested on MIUI 12.5.1.0 vendor
2021-08-20 17:36:52 +06:00
Pierre-Hugues Husson
642749e3a2
Add oppo-touchpanel for OnePlus Nord2
2021-08-10 19:09:11 -04:00
Pierre-Hugues Husson
2fc868bc4a
New Oplus way to get project number
2021-08-10 17:23:42 -04:00
Pierre-Hugues Husson
90fe6e4b62
Include new OPPO Hal s/vendor.oppo/vendor.oplus/g
2021-08-08 20:15:33 +02:00
AndroPlus
663cbedfee
Fix sound for Xiaomi Mi 11 Lite 5G
2021-07-31 18:29:47 +09:00
Pierre-Hugues Husson
5e6061d5fd
On ZF8, take stock rom audio policy, rather than the worse ones intended for GSI or QSSI
2021-06-07 12:47:49 -04:00
Pierre-Hugues Husson
475de0067d
Some devices have a lot of stuff in /vendor/etc/audio, not just a CAF audio policy, like ZF8 has their whole vendor audio configuration there. Dont empty this dir in that case
2021-06-03 16:44:44 -04:00
Sarthak Roy
d06e747b50
Fix Brightness, FP and Headphone jack issue of Realme Narzo 20 and Realme X7 Pro 5G
2021-05-13 12:16:42 +05:30
Roger Ortiz
57d109cbf2
freezerhd: fix screen orientation
2021-05-11 20:01:31 +02:00
Roger Ortiz
3fbee899b6
freezerhd: ignore audio effects as well
2021-05-11 17:58:54 +01:00
Pierre-Hugues Husson
07e17110ca
On some Oppo devices, we can NOT load firmware. Oppo engineers realized that and kept the line in rc script, but simply commented it out. so check this
2021-05-11 06:20:40 -04:00
TTTT555
815a378701
begonia: Drop deprecated props
...
* these fixes are not needed since A10/A11 vendor (and only cause errors)
2021-05-02 18:15:07 +02:00
Pierre-Hugues Husson
659278a853
Stop whitelisting Xiaomi devices manually. The kl name is pretty explicit about fingerprint sensor, we should be safe
2021-05-01 14:17:43 +02:00
Uzeda
cebf48f92f
Update rw-system.sh
2021-04-30 03:50:36 -03:00
Pierre-Hugues Husson
8d45b8ea38
[teracube2e] Add support for dt2w
2021-04-16 13:27:41 +02:00
Pierre-Hugues HUSSON
d02b16585a
Merge pull request #242 from KaMyKaSii/patch-1
...
Poco M3 fix fingerprint gesture
2021-04-09 20:20:15 +02:00
Peter Cai
aa0d782b8c
add keylayout for Unihertz devices
...
* Unihertz devices have a dedicated PTT button, which I mapped to
CAMERA, making it useful (kind of) by default and remappable via
third-party apps.
* Additionally, declare capacitive buttons as VIRTUAL so that vibration
is applied when they are pressed.
2021-04-08 20:21:57 +08:00
KaMyKaSii
dcbc76966a
Poco M3 fix fingerprint gesture
2021-03-19 15:49:08 -03:00
notsyncing
d190d02990
NX669J: Use audio config from QSSI
...
AOSP doesn't care about QSSI, and it will always try to load from
/vendor/etc/audio/sku_{ro.boot.product.vendor.sku}, while the stock ROM
loads from /vendor/etc/audio/sku_{ro.boot.product.vendor.sku}_qssi.
This fixes speaker and headphone audio for Nubia Red Magic 6.
2021-03-16 19:40:45 +08:00
Pierre-Hugues Husson
04ee9f055e
Remove wrongly included debugging stuff
2021-03-08 18:39:54 +01:00
VDavid003
a3f96351d7
Fix vendor hostapd detection for manifest fragments
...
This fixes tethering on phones that have hostapd defined in a manifest fragment
2021-03-08 13:32:33 +01:00
Sarthak Roy
6b93fc5f03
Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10
2021-03-05 19:19:56 +05:30
Pierre-Hugues Husson
61d163657a
Disable secondary watchdogs.
...
AOSP's watchdogd doesn't support multiple watchdogs.
This shouldn't be an issue, since AOSP GSI obviously doesn't support it
and AOSP GSI is part of certification.
HOWEVER, some people use modified kernel/vendors that may break such
assumptions. Anyway we can just disable it.
See https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396
2021-02-23 15:00:54 +01:00
Pierre-Hugues Husson
b74ad8ea7e
Rename all calls to resetprop to resetprop_phh to prevent conflict with Magisk, see d8056f8032
2021-02-22 10:04:28 +01:00
Nitan Alexandru Marcel
e936f0b83a
Add Redmi/joyeuse to changeKeyLayout
...
Fixes random touches on Redmi Note 9 Pro `joyeuse` when fingerprint is pressed
2021-02-09 12:36:12 +02:00
Pierre-Hugues Husson
3d054e214d
Add olive and angelica for Xiaomi fingerprint uinput blocklist
2021-02-02 22:04:42 +01:00
Pierre-Hugues Husson
9e6e2b6556
Mute console for everyone, not just secure usecase
2021-02-02 22:03:11 +01:00
Pierre-Hugues Husson
72c62260b9
Fix backlight on some Samsung devices
...
Some Samsung Q vendor devices have HWC rather than lights hal control.
In those cases, backlight is controlled through another SELinux context.
We used to correct this SELinux context for all devices, however this is
no longer needed, and actually breaks those devices.
So, change SELinux context, only if uid/gid is wrong
2021-01-30 22:59:23 +01:00
kzubec
36881fc8a6
Update rw-system.sh
2021-01-22 16:45:55 +03:00
Pierre-Hugues Husson
aae160672f
Add a totally manual ADB, triggerable using /cache/phh-adb. This should help debugging early startup issues
2021-01-19 23:46:40 +01:00
Jens Bertram
a853420626
Scan in /odm/etc/vintf for fingerprint sensor data
...
The manifest.xml for specifying the fingerprint sensor for the Fairphone 3 (SW-version 8901.3.A.0066.20201119) is located at /odm/etc/vintf/. This path is currently not scanned for manifest files. This proposed change includes this missing path an enables to use the fingerprint sensor on the FP3.
2020-12-17 21:55:49 +01:00
Peter Cai
d93e046538
rw-system: disable sensor direct report on SPRD Pie vendor
2020-12-16 21:01:15 +08:00
Pierre-Hugues HUSSON
93019de565
Merge pull request #216 from siddhrsh/patch-2
...
Added Realme C3 brightness& audio jack
2020-12-12 11:02:37 +01:00
Siddhesh Koyande
d07aa9e60c
Added Realme C3 brightness& audio jack
2020-12-12 10:49:49 +05:30
Siddhesh Koyande
c756d26c2b
Realme C2 Headphones jack fix
2020-12-12 08:27:23 +05:30
Pierre-Hugues Husson
8ff15241fd
Disable root console on uart, and kernel logs on uart when secure
2020-12-11 14:51:01 +01:00
Pierre-Hugues Husson
5607a9be21
Use dev/input for jack detection on Realme C11
2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
147dca859c
Realme C11 has same quirks for dt2w and brightness as previous Realme MTK devices
2020-11-29 08:08:50 -05:00
Pierre-Hugues Husson
6ce1b9108d
Galaxy S9 is stupid and still dont understand that android version/spl isnt relevant, so cheat android version/spl for them
2020-11-08 00:36:09 +01:00
Pierre-Hugues Husson
28b4d559a6
Set a property to find focaltech gesture node
2020-10-26 22:46:16 +01:00
Pierre-Hugues Husson
1450230c31
Make rw-system debug easier, but just having to create /cache/phh-log (obviously works only if device has a cache partition), and having perms make it accessible from system app (treble app)
2020-10-25 21:11:27 +01:00
tboy1991
0b075d62bf
Update rw-system.sh
2020-10-17 16:34:18 +02:00
tboy1991
dd952c5f1b
Update rw-system.sh
...
Adds redmi9 lancelot/galahad brightness and fingerprint as enter fix
2020-10-13 18:48:21 +02:00