Pierre-Hugues Husson
9f53b904c5
Force bluetooth library to be AOSP's
...
Some vendors set ro.bluetooth.library_name.
This shouldn't matter because GSIs targetting Pie ignore those
properties from vendor.
Sadly we're targetting Oreo, so vendor can set it.
https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/system/system/build.prop#L167
https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/vendor/build.prop#L103
2020-05-24 19:26:19 +02:00
Pierre-Hugues Husson
3d84e3da97
Also set chmod/chown for fod samsung files
2020-05-21 17:12:38 +02:00
siddhrsh
ff01f63493
Update rw-system.sh
...
Added realme c2 brightness and navigation command
2020-05-21 01:10:03 +05:30
Pierre-Hugues Husson
1f6fcb7322
Fix various FOD-related props and files SELinux permission
2020-05-20 19:59:45 +02:00
Pierre-Hugues Husson
cfe638aa94
Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness
2020-05-14 18:31:37 +02:00
Pierre-Hugues Husson
b3a5ea6275
Update Samsung HBM to use max brightnmess
2020-05-14 15:47:15 +02:00
Pierre-Hugues HUSSON
61899854d4
Merge pull request #184 from ponces/android-10.0
...
Fix exynos grep command to apply setprop correctly
2020-05-14 12:44:46 +02:00
Alberto Ponces
ef30da0aae
Simplify the exynos grep command even further and remove some whitespace
2020-05-14 11:41:08 +01:00
Pierre-Hugues Husson
4f718dfef2
Add Samsung HBM FOD default value
2020-05-14 11:00:04 +02:00
Alberto Ponces
d6da9f1fec
Fix exynos grep command to apply setprop correctly
2020-05-13 18:00:23 +01:00
Pierre-Hugues Husson
67bbd94780
[securize] Take the most recent between ro.vendor and ro.keymaster SPL, because vendor could be correct like -05
2020-05-13 10:13:51 +02:00
Pierre-Hugues Husson
06badf2f7b
Unforce root adb
...
On Samsung Galaxy A51, adb is forced as root by system in init.recovery...rc
However adb doesn't work as root on Samsung devices, so unset this to have working adb
2020-05-13 10:03:26 +02:00
Victor Bo
13a9b1e26d
rw-system: add 'daisy' stock keylayout files
...
1-2. because gestures not works (exist in some gsi, same as stock -
swipe for notifications)
3. daisy-buttonJack.kl need for headphones volume control by headphones' buttons
modified: base.mk
new file: files/daisy-buttonJack.kl
new file: files/daisy-uinput-fpc.kl
new file: files/daisy-uinput-goodix.kl
modified: rw-system.sh
2020-05-04 23:44:20 +03:00
Pierre-Hugues Husson
cd327cc850
More props and files to override to fake real firmware for camera
2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
091c225863
Fix flashlight on S10 lite
...
Thanks @mainey
2020-04-25 20:10:25 +02:00
Pierre-Hugues Husson
705afa376d
McTeeKeymaster is actually in vendor/lib/hw/ not vendor/lib
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
72992a82fd
Try another way to remount /system r/w
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
9fe8e103e9
Use media_profiles_vendor on Razer Phone to enable 4k video recording
2020-04-13 20:25:57 +02:00
theimpulson
7db3ec75c4
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-04-13 18:10:55 +00:00
Myst33d #RoccoIsCute
0a96913225
Fix long boot on Oreo vendor for Redmi 6A and Redmi 6
2020-04-10 23:17:52 +06:00
Pierre-Hugues HUSSON
e950266b69
Merge pull request #174 from irfanfadilah/andromeda/fingerprint-fix
...
[Mi Mix 3 5G/andromeda] Fix Fingerprint Issue
2020-04-05 11:32:38 +02:00
Irfan Fadilah
c6f89d9340
Fix Andromeda Audio Issue
...
Set `ro.audio.ignore_effects` to `true` for `xiaomi/andromeda`.
Tested on my device by adding it to the `build.prop`.
Ref: https://forum.xda-developers.com/showpost.php?p=82126487&postcount=697
2020-04-05 11:38:51 +07:00
Irfan Fadilah
eb50f7592d
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-04-05 11:30:36 +07:00
Pierre-Hugues Husson
11a2fd96cc
Some devices have broken tsp permissions, even without ear_detect_enable
2020-04-05 00:05:12 +02:00
Pierre-Hugues Husson
01c61a68bb
Disable Samsung malwares preinstalled in /odm partition
2020-04-04 23:57:10 +02:00
jumper047
aea333e6b8
Sound fix #2 for Redmi Note 8 Pro
...
Miss in previous pull request
2020-04-03 02:50:41 +03:00
jumper047
ff0e381d51
Fix "no sound" issue for Redmi Note 8 Pro
2020-04-02 22:04:43 +03:00
Pierre-Hugues Husson
f7981ef123
Yet another broken sw codec2
2020-03-26 11:45:56 +01:00
Michael Cheah
510e1c01d9
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:44:58 +08:00
Tuan9304
c268d86c30
Move to right line
2020-03-22 17:43:28 +07:00
Tuan9304
79462b1c64
Fix Brightness Realme C1
2020-03-22 13:13:54 +07:00
Pierre-Hugues Husson
f620ffc0a8
Some CPH devices have two matches. Take first one
2020-03-19 15:21:01 +01:00
Pierre-Hugues Husson
e83a8c3726
Ignore audio efects on all moto
2020-03-15 13:28:59 +01:00
Pierre-Hugues HUSSON
d467acb307
Merge pull request #159 from Dunedan/disable-audio-effects-for-moto-g7play
...
Disable audio effects for Motorola Moto G7 Play
2020-03-15 13:26:26 +01:00
mrgreywater
c591f08a11
fix brightness flickering for Lenovo Z5s
2020-03-13 17:15:34 +01:00
mrgreywater
9e58131492
fix dt2w for Lenovo Z5s
2020-03-13 16:23:57 +01:00
Pierre-Hugues Husson
00e24bf520
Another broken Codec 2
...
See https://github.com/phhusson/treble_experimentations/issues/1104
2020-03-12 16:54:44 +01:00
Pierre-Hugues Husson
827a578eec
Some old mediatek devices require to disable Codec2 sw decoding
2020-03-11 17:28:09 +01:00
Pierre-Hugues HUSSON
4f527e92f6
Merge pull request #160 from tinloaf/fix-fingerprint
...
Fix fingerprint
2020-03-11 11:44:33 +01:00
Pierre-Hugues Husson
a3280e50f1
[Realme U1] Fix keymaster, touchpanel and fingerprint
2020-03-10 23:26:20 +01:00
Pierre-Hugues Husson
0031326e7d
Add Oppo fingerprint support, tested on Realme X2 Pro
2020-03-10 23:26:03 +01:00
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
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
2c385ffbe9
Detect other oppo device, realme 1
2020-02-26 15:29:23 +01: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
62f63e975d
Include realme rmx1931 detection, set specific kl for dt2w in that case
2020-02-21 16:35:07 +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
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
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
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
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
J0SH1X
666cc1ce4b
Fix Redmi 8 brightness scale
2019-12-24 20:52:47 +01:00
lead4good
4a58bf9c70
fix: mia3 brightness scale
2019-12-22 11:55:41 +01:00
Whatz
0d78085110
Possible fix for OpenGL bug
...
Working in moto e5, please feedback
2019-12-10 13:17:16 -03:00
Frieder Paape
18d605c436
fix: add sound support for xiaomi a3
2019-12-09 08:43:16 +01:00
Pierre-Hugues Husson
ae85f36fcb
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:54:05 +01:00
Pierre-Hugues Husson
9f9ede3158
Reset system props as well. Also fix SPL keymaster priority
2019-12-08 21:07:32 +01:00
Whatz
fdc9e8cfb1
Fixing animations issues in Moto E5/Moto E5 Plus
2019-12-08 14:30:35 -03:00
Pierre-Hugues Husson
060b3f9954
Workaround broken OpenGL ES on old Snapdragon devices
...
Thanks @XavierWrz
2019-12-08 17:09:40 +01:00
Pierre-Hugues Husson
aca36f1b1c
Detect whether vendor has an hostapd by checking manifest
2019-12-06 21:34:44 +01:00
Pierre-Hugues Husson
21d7520d20
Fix fingerprint gestures on huawei pie vendor
2019-12-04 23:24:51 +01:00
Alexander
48b76745c4
Fix backlight on Redmi 7A (pine)
2019-12-03 00:46:39 +03:00
Pierre-Hugues Husson
946ead6db3
Detect touchscreen with dt2w node
2019-12-01 17:07:01 +01:00
Pierre-Hugues Husson
07632a8291
Fix fingerprint on Honor View 10
2019-11-30 20:39:23 +01:00
Milan Kragujević
bcd754334a
Fix backlight on Redmi 8A (olivelite)
2019-11-20 23:53:12 +01:00
lead4good
5201b0f2cb
fix sound for redmi note 8 (ginko)
2019-11-18 22:25:57 +01:00
Pierre-Hugues Husson
2f33d5286e
ugly: vndk somehow replaces vendor files if both exist. this is especially problematic on libstagefright_foundation (found on CAF and Exynos devices)
2019-11-07 22:46:16 +01:00
Pierre-Hugues Husson
1ba43f4ce5
Simplify matching for lenovo dt2w
2019-11-04 22:56:29 +01:00
Pierre-Hugues Husson
dcb6f64f42
Add support for Lenovo Z5 dt2w
2019-11-01 18:30:18 +01:00
Pierre-Hugues Husson
09f46d0192
Support Nokia 4.2 assistant button
2019-10-26 21:07:58 +02:00
Pierre-Hugues Husson
e4f8a3340f
Ignore swizzle to fix crash on Oreo PowerVR devices
2019-10-22 15:26:22 +02:00
Pierre-Hugues Husson
186e81291d
trustkernel keymaster also requires whitelisted ro.product.brrand. This property has disappeared in Android 10, so set it for teed
2019-10-22 14:19:47 +02:00
Pierre-Hugues Husson
1e15460c80
Force ro.vndk.version 26 when we detect vndk 26
2019-09-15 00:56:40 +02:00
Pierre-Hugues Husson
5aa82fd371
New shiny thing broke adb again
2019-09-12 21:21:48 +02:00
Pierre-Hugues Husson
f7c23ba986
Set first_api_level, this helps disable bpf requirements
2019-09-12 20:57:42 +02:00
Pierre-Hugues Husson
cbc8d1e1af
On samsung vndk >= 28 we want to force disable fingerprint weird behaviour
2019-09-12 20:57:30 +02:00