Commit Graph

859 Commits

Author SHA1 Message Date
Lukas Barth
93ce496efc Simplify mount check 2020-03-10 15:28:32 +01:00
Lukas Barth
494da1a8dc Fix missing /data/sec_storage_data 2020-03-10 13:09:09 +01:00
Daniel Roschka
962529890f
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-03-07 21:16:05 +01:00
Pierre-Hugues Husson
8f96ae3423 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-03-06 18:41:32 +01:00
Lukas Barth
51be51649b Fix mounts and permissions for sec_storage on Kirin devices 2020-03-04 16:10:28 +01:00
Pierre-Hugues Husson
04583fa95a Stop whitelisting all oppo devices in the world, and regexp it 2020-03-03 00:58:55 +01:00
Pierre-Hugues Husson
552f710be1 Add persist.sys.phh.oppo.usbotg to toggle usb otg on Oppo/Realme devices 2020-03-01 18:17:18 +01:00
Pierre-Hugues HUSSON
96a1827f2c
Merge pull request #158 from buddi56/android-10.0
Added CPH1859 and CPH1861 for DT2W and Brightness fixes
2020-03-01 17:31:25 +01:00
buddi56
1fb4bcbad6
Fixed mistake 2020-02-29 21:38:16 +05:30
Naveen Kumar
3d3450c5da Adding Brightness and DT2W fix to CPH1859 and CPH1961 2020-02-29 21:33:28 +05:30
Pierre-Hugues Husson
1e340140bf On Realme devices, trick HAL into exposing all cameras 2020-02-29 16:56:52 +01:00
Naveen Kumar
dda3824e84 Added CPH1859 and CPH1861 for DT2W and Brightness fixes 2020-02-29 18:05:24 +05:30
Pierre-Hugues Husson
3cf77c937c Add google fingerprint gestures kl 2020-02-27 14:46:38 +01:00
Pierre-Hugues Husson
b914331829 Include phh-remotectl system for remote takeover 2020-02-26 23:59:11 +01:00
Pierre-Hugues Husson
2c385ffbe9 Detect other oppo device, realme 1 2020-02-26 15:29:23 +01:00
Pierre-Hugues HUSSON
6f3bf7ffd1
Merge pull request #157 from timbortnik/securize-basicintegrity
Securize basicintegrity
2020-02-23 23:55:50 +01:00
Tim Bortnik
f3d3cb40d4 help-pass-basicintegrity-after-securize 2020-02-23 21:12:17 +02:00
Tim Bortnik
d72a25793e
Merge pull request #1 from phhusson/android-10.0
Android 10.0 pull from phh
2020-02-23 21:10:21 +02:00
Pierre-Hugues HUSSON
dd21e100b2
Merge pull request #152 from jumper047/android-10.0
[Android 10][Begonia] Fix brightness and fingerprint sensor on Redmi Note 8 Pro
2020-02-22 14:54:48 +01:00
Pierre-Hugues Husson
17a2cc66f3 Add props to control Oppo touchpanel
This is needed because /proc/touchpanel is u:object_r:proc:s0
We can't have our own genfscon on it, because we might hit conflicts
2020-02-21 18:02:41 +01:00
Pierre-Hugues Husson
62f63e975d Include realme rmx1931 detection, set specific kl for dt2w in that case 2020-02-21 16:35:07 +01:00
Pierre-Hugues HUSSON
22df6a9302
Merge pull request #156 from DanijelXDA/patch-1
Fix distorted audio bug on GSI images for ginkgo and willow
2020-02-20 22:06:27 +01:00
Danijel Jovanović
e0d0c7ae32
Fix distorted audio bug on GSI images for ginkgo and willow 2020-02-20 21:57:00 +01:00
jumper047
98b219ba1b Fix fingerprint behavior 2020-02-20 21:22:39 +03:00
jumper047
f1757adf2e Simplify begonia regexp 2020-02-20 21:21:45 +03:00
Pierre-Hugues HUSSON
0ba57d9364
Disable libpdx_default_transport unconditionally
Because of new VNDK restrictions of Android 10, there is no way that a /vendor/lib/libpdx_default_transport.so work in any way
2020-02-20 18:15:38 +01:00
Myst33d
caa9ad2e3b
Disable libpdx_default_transport uncoditionally 2020-02-20 22:28:35 +06:00
Myst33d
c198bdb1b6
Fix camera for cactus and cereus 2020-02-20 22:19:11 +06:00
Pierre-Hugues HUSSON
7f566c1c24
Merge pull request #154 from myst33d/android-10.0
Fix distorted sound for cactus and cereus
2020-02-20 14:43:39 +01:00
Myst33d
a35833ed12
Fix distorted sound for cactus and cereus 2020-02-20 19:39:40 +06:00
jumper047
e64d63c5e9
Fix begonia regexp 2020-02-20 07:50:02 +03:00
jumper047
da2e7c8937
Fix brightness on Redmi Note 8 Pro 2020-02-19 22:54:17 +03:00
Pierre-Hugues HUSSON
1966aaaa9e
Merge pull request #149 from SamarV-121/patch-1
Enable latch_unsignaled on exynos devices
2020-02-19 14:28:43 +01:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
7b8beb01ed
Enable latch_unsignaled on exynos devices
ro.hardware=exynos* on some samsung devices
eg. Samsung Galaxy M20
2020-02-19 18:20:20 +05:30
Mehran Kholdi
da0775f9ee Add Redmi 7 - onc(lite) to fingerprint input events blacklist 2020-01-21 22:59:36 +01:00
Peter Cai
3bc733f431 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-01-20 09:25:41 +01:00
Pierre-Hugues HUSSON
7edfd64f30
Merge pull request #145 from cheah/add-flag-for-old-mnc-format
Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred
2020-01-16 23:34:05 +01:00
washinson
21cbb9b4c4 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 10:40:43 +01:00
Michael Cheah
a406582117
Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred 2020-01-11 19:36:06 +08:00
Pierre-Hugues HUSSON
2a42bd0ed2
Merge pull request #141 from eremitein/android-10.0
[daisy] revert camera in DnD fix
2020-01-07 20:57:50 +01:00
Pierre-Hugues Husson
54e5742154 Fix typo, see MR 137 2020-01-07 19:26:09 +01:00
Victor Bo
89c0602a99 rw-system: set latch_unsignaled for 'daisy' too
modified:   rw-system.sh
2020-01-07 06:20:38 +05:00
Victor Bo
26416f43df [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
2020-01-07 06:12:30 +05:00
Pierre-Hugues HUSSON
bf3df8faaa
Merge pull request #140 from PeterCxy/patch-sprd-adf
fix adf display devices on Spreadtrum devices for Android 10
2020-01-02 16:24:21 +01:00
Peter Cai
7e0e808d09
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-01-02 09:44:18 +08:00
Pierre-Hugues HUSSON
ae1bda5715
Merge pull request #137 from J0SH1X/patch-1
Fix Redmi 8 brightness scale
2019-12-24 21:57:20 +01:00
J0SH1X
666cc1ce4b
Fix Redmi 8 brightness scale 2019-12-24 20:52:47 +01:00
Pierre-Hugues HUSSON
18b20430fb
Merge pull request #135 from lead4good/android-10.0
fix: mia3 brightness scale
2019-12-22 15:32:51 +01:00
lead4good
4a58bf9c70 fix: mia3 brightness scale 2019-12-22 11:55:41 +01:00
Pierre-Hugues Husson
1cba9701de Add lightsctl-seh for new light control hal of samsung 2019-12-16 21:01:24 +01:00