Commit Graph

526 Commits

Author SHA1 Message Date
Michael Cheah
ce62c4117d Fix value comparison in phh-prop-handler.sh 2020-10-24 01:54:19 +02:00
Michael Cheah
f63ed278a1 Move Oppo props into phh-prop-handler.sh 2020-10-24 01:54:18 +02:00
Pierre-Hugues Husson
2476ef2786 Yet another broken sw codec2 2020-10-24 01:54:17 +02:00
Michael Cheah
78db250470 [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-10-24 01:54:17 +02:00
Daniel Roschka
49a11c444d 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-10-24 01:54:12 +02:00
Pierre-Hugues Husson
0829e45aea Disable annoying strict mode by default 2020-10-24 01:54:11 +02:00
Daniel Roschka
3696ac5b86 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-10-24 01:54:11 +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
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