Commit Graph

221 Commits

Author SHA1 Message Date
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
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
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
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
2476ef2786 Yet another broken sw codec2 2020-10-24 01:54:17 +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
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
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
Pierre-Hugues Husson
9d201f65c4 Add google fingerprint gestures kl 2020-10-24 01:54:04 +02:00
Pierre-Hugues Husson
08ba36bd96 Detect other oppo device, realme 1 2020-10-24 01:54:04 +02:00
Pierre-Hugues Husson
ee26efd3c5 Include realme rmx1931 detection, set specific kl for dt2w in that case 2020-10-24 01:53:52 +02:00
Danijel Jovanović
83a65d682a Fix distorted audio bug on GSI images for ginkgo and willow 2020-10-24 01:53:52 +02:00
Myst33d
ec15fde354 Disable libpdx_default_transport uncoditionally 2020-10-24 01:53:52 +02:00
Myst33d
32bf4d0a61 Fix camera for cactus and cereus 2020-10-24 01:53:52 +02:00
Myst33d
92ff02de07 Fix distorted sound for cactus and cereus 2020-10-24 01:53:52 +02:00
Peter Cai
19951443b3 rw-system: disable hardware acceleration in system_server for SPRD devices
* For some reason, the OpenGL implementation on SPRD devices causes
  crashes in system_server on glFinish() due to double-free of mutexes.
  It is not the same case with the MTK skia compatibility bug, because
  this one produces no GL errors, only the final mutex-related crash.
* This crash is only observed in system_server by far. In other
  hardware-accelerated applications, after a lot of tinkering, I could
  not reproduce the same problem. (Even if they somehow do crash, it
  won't bring the entire system down like `system_server`.)
* Since all SPRD devices do not have "high-end gfx", it is reasonable
  to set this `ro.config.avoid_gfx_accel` flag. This will disable the
  use of hardware gfx in system_server, avoiding the crash. Most SPRD
  devices comes with Android Go by default, which has this flag set
  (implied by `ro.config.low_ram`) anyway.
* All devices having the `sprd-adf` module is an SPRD device launched
  with Android 9 or earlier. ADF is deprecated in Android 10 or higher.
2020-10-24 01:53:49 +02:00
Michael Cheah
2bf9b4a6ee Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred 2020-10-24 01:53:49 +02:00
Victor Bo
74ac1adfe1 rw-system: set latch_unsignaled for 'daisy' too
modified:   rw-system.sh
2020-10-24 01:53:46 +02:00
Peter Cai
e19cd78899 fix adf display devices on Spreadtrum devices for Android 10
* Somehow, when running GSI 10, Spreadtrum's adf driver do not show up
  with the correct name in /dev. I am not sure how this happens, but it
  seemed that a few `mknod`s fixed the problem. This was tested on
  Xiaomi Qin 2 Pro.
2020-10-24 01:53:44 +02:00
Whatz
e180fd638f Possible fix for OpenGL bug
Working in moto e5, please feedback
2020-10-24 01:53:41 +02:00
Pierre-Hugues Husson
585bc6673f Reset system props as well. Also fix SPL keymaster priority 2020-10-24 01:53:37 +02:00
Whatz
adc5fec766 Fixing animations issues in Moto E5/Moto E5 Plus 2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
7ef6e8769f Workaround broken OpenGL ES on old Snapdragon devices
Thanks @XavierWrz
2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
7ae4dc8425 Detect whether vendor has an hostapd by checking manifest 2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
084a5e669e Fix fingerprint gestures on huawei pie vendor 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
6a1bccc72b Simplify matching for lenovo dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
551e1b0397 Add support for Lenovo Z5 dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
eeb6d035a9 Ignore swizzle to fix crash on Oreo PowerVR devices 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
b2612a092e trustkernel keymaster also requires whitelisted ro.product.brrand. This property has disappeared in Android 10, so set it for teed 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
a6a1f7c1f5 Force ro.vndk.version 26 when we detect vndk 26 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
887849be62 New shiny thing broke adb again 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
86aa7e3ab8 also override 64b keymaster3device 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
db164b3c0d Additional lib to be edited to boot keymaster 2020-10-24 01:52:50 +02:00
Alberto Ponces
aca15ba77f Simplify the exynos grep command even further and remove some whitespace 2020-05-14 11:43:00 +01:00
Alberto Ponces
d5b3121548 Fix exynos grep command to apply setprop correctly 2020-05-13 17:59:21 +01:00