Commit Graph

194 Commits

Author SHA1 Message Date
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
Michael Cheah
58dd99657a
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-03-26 09:51:58 +08:00
jumper047
f29508b21c Fix typo 2020-02-20 21:17:20 +03:00
jumper047
d3b3d20716 Fix begonia fingerprint sensor behavior 2020-02-20 21:06:58 +03:00
jumper047
0e1cf0877a * rw-system.sh: simplify begonia regexp 2020-02-20 21:03:26 +03:00
jumper047
c832c77d14
Fix regexp 2020-02-20 07:52:04 +03:00
jumper047
a67704f357
Fix brightness on Redmi Note 8 Pro 2020-02-19 22:46:08 +03:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
f7eb2c6c16
Enable latch_unsignaled on exynos devices
ro.hardware=exynos* on some samsung devices
 eg. Samsung Galaxy M20
2020-02-19 19:03:48 +05:30
XavierWrz
0639e66ec0
Add smoothness for Lenovo Moto E5 in Pie Builds 2020-02-06 21:59:48 -03:00
Mehran Kholdi
06aaf84236 Add Redmi 7 - onc(lite) to fingerprint input events blacklist 2020-01-21 22:58:44 +01:00
washinson
73b20785b8 Fix dualsim for some Huawei phones (#143)
* Fix dualsim for some Huawei phones

Huawei P20 Lite doesn't have /odm/phone.prop, we must use /vendor/phone.prop
2020-01-14 11:03:35 +01:00
DarkJoker360
4700841132 Fix audio on Redmi Note 8T (willow)
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2020-01-08 19:44:20 +01:00
lead4good
21655a0839 fix: mia3 brightness scale 2019-12-22 11:56:32 +01:00
Pierre-Hugues HUSSON
ba9d46f93a
Merge pull request #125 from eremitein/android-9.0
[daisy] revert camera in DnD fix
2019-12-11 14:21:18 +01:00
Frieder Paape
f41734ed8f
fix: add sound support for xiaomi a3 2019-12-09 08:39:27 +01:00
Pierre-Hugues Husson
8a6837d774 Add support for Huawei's phone.prop
Reference is https://github.com/LineageOS/android_device_huawei_kirin970-common/blob/lineage-16.0/init/init_kirin970.cpp
2019-12-09 00:57:46 +01:00
Pierre-Hugues Husson
897f17c554 SPL got from boot.img is safer than from vendor (there can be mismatch) 2019-12-08 21:08:02 +01:00
Pierre-Hugues Husson
39b0a00aba Detect whether vendor has an hostapd by checking manifest 2019-12-06 21:35:42 +01:00
Alexander
c0eb03ec69
Fix backlight on Redmi 7A (pine) 2019-12-03 00:39:49 +03:00
Pierre-Hugues Husson
dc8484b74f Fix fingerprint on Honor View 10 2019-11-30 22:42:42 +01:00
Milan Kragujević
71eef45e2c
Fix backlight on Redmi 8A (olivelite) 2019-11-20 23:52:46 +01:00
Victor Bo
4bd3bbdd0b [daisy] revert camera in DnD fix
* camera works fine in DnD mode without this fix in v204 and in v121 too
    not need this fix for daisy anymore

	modified:   rw-system.sh
2019-11-20 04:09:36 +05:00
lead4good
b560c366aa fix sound for redmi note 8 (ginko) 2019-11-11 18:20:21 +01:00
Pierre-Hugues Husson
954d2157da Support Nokia 4.2 assistant button 2019-10-26 21:06:58 +02:00
kuba3351
40e7ecc90d
[device] Added "ro.audio.ignore_effects true" for davinci 2019-10-05 12:41:18 +02:00
Pierre-Hugues Husson
d73bb669e2 latch_unsignaled on mt6771 2019-09-14 13:22:05 +02:00
Dinolek
64d8b7d900 Add prop to disable incoming calls sed 2019-09-13 22:53:28 +02:00
Pierre-Hugues Husson
b8e1d18b51 Actually we want to force samsung workaround off 2019-09-09 20:38:56 +02:00