Commit Graph

518 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
9d201f65c4 Add google fingerprint gestures kl 2020-10-24 01:54:04 +02:00
Pierre-Hugues Husson
6399544000 Include phh-remotectl system for remote takeover 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
Pierre-Hugues Husson
8381467ee3 Add lightsctl-seh for new light control hal of samsung 2020-10-24 01:53:41 +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
937bf8e8b4 Test cmd for vendor.goodix.extend.service 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
b4deea275c Fix huawei touchscreen hal for treble app (used for glove mode) 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
82a54a27ce Add android.hidl.manager@1.0 lib. This is used by treble app to detect hostapd presence 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
084a5e669e Fix fingerprint gestures on huawei pie vendor 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
daa9edcd5c Reset LD_PRELOAD. Mediatek puts annoying non-working libcoredump in there, ignore it 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
054ec8dd01 Allow treble_app to control /dev/input/eventX (useful to enable dt2w) 2020-10-24 01:53:34 +02:00
Pierre-Hugues Husson
a484416c99 Fix fingerprint on Honor View 10 2020-10-24 01:53:34 +02:00
Pierre-Hugues Husson
f6900c679a Tell pe gapps we are a phone 2020-10-24 01:53:29 +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
Andy CrossGate Yan
cbce8b2c2b Add privapp-permissions whitelist for PhhTrebleApp 2020-10-24 01:53:22 +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
fec86428d8 Revert "Add qemu.hw.mainkeys as vendor legal API"
This reverts commit 9549703b4a.

Some vendors already declare this property as u:object_r:qemu_hw_mainkeys_prop:s0, so this commit prevents booting those
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
03ff840d7e Add support for pe gapps 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
394b829b2d Set TARGET_GAPPS_ARCH 2020-10-24 01:53:21 +02:00