Commit Graph

246 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
cb2ce15028 Enable ART automatic CPU feature detection. Also fix some devices using a wrong kryo name 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
b80dacffb4 Switch to SW keymaster on Moto One Macro, and enable devinputjack 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
566578b691 Another ccodec=0... 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
e1b7744aa7 Yet another sick C2 MTK... 2020-10-24 01:54:41 +02:00
Pierre-Hugues Husson
862135d95b moto fp gestures for fpc 2020-10-24 01:54:40 +02:00
Pierre-Hugues Husson
20229c2e4e Add capacitive back and recent keys for Samsung 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
7c93897a08 Expose CAF resolution switching (tested on RazerPhone) 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
d8a0e7fad0 Add FOD for Vsmart Live 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
9147dad81b Add motorola fingerprint navigation keymap for moto one action 2020-10-24 01:54:39 +02:00
Pierre-Hugues Husson
350f7309d7 Add a tablet SoC in ccodec 0 band 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
1654d13af6 Add netflix ID for Redmi Note 9S 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
a3d37b4e23 Add netflix id on Mi9, this gives 720p/1080p when securized 2020-10-24 01:54:37 +02:00
Pierre-Hugues Husson
a582ad2c95 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-10-24 01:54:34 +02:00
Pierre-Hugues Husson
d5d48511b9 Also set chmod/chown for fod samsung files 2020-10-24 01:54:33 +02:00
siddhrsh
d7ed46d6e9 Update rw-system.sh
Added realme c2 brightness and navigation command
2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
a9a8f1f2d3 Fix various FOD-related props and files SELinux permission 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
c09bf830cc Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
f987ea4fee Update Samsung HBM to use max brightnmess 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
9a7d1e8325 Add Samsung HBM FOD default value 2020-10-24 01:54:30 +02:00
Pierre-Hugues Husson
99c0674382 [securize] Take the most recent between ro.vendor and ro.keymaster SPL, because vendor could be correct like -05 2020-10-24 01:54:28 +02:00
Pierre-Hugues Husson
7fd5c1e596 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-10-24 01:54:28 +02:00
Victor Bo
d9f73e65c1 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-10-24 01:54:26 +02:00
Pierre-Hugues Husson
d1fe6b947b More props and files to override to fake real firmware for camera 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
6352ce5833 Fix flashlight on S10 lite
Thanks @mainey
2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
ffaecf5e3e McTeeKeymaster is actually in vendor/lib/hw/ not vendor/lib 2020-10-24 01:54:23 +02:00
Pierre-Hugues Husson
7646b28f93 Try another way to remount /system r/w 2020-10-24 01:54:22 +02:00
Pierre-Hugues Husson
2d24e99469 Use media_profiles_vendor on Razer Phone to enable 4k video recording 2020-10-24 01:54:22 +02:00
theimpulson
72d54e47af 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-10-24 01:54:22 +02:00
Irfan Fadilah
493668ab5f 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-10-24 01:54:21 +02:00
Pierre-Hugues Husson
b2e61f3cf0 Some devices have broken tsp permissions, even without ear_detect_enable 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
264137a948 Disable Samsung malwares preinstalled in /odm partition 2020-10-24 01:54:19 +02:00
jumper047
d84983edd2 Sound fix #2 for Redmi Note 8 Pro
Miss in previous pull request
2020-10-24 01:54:19 +02:00
jumper047
ba3e75dc5e Fix "no sound" issue for Redmi Note 8 Pro 2020-10-24 01:54:19 +02:00
Pierre-Hugues Husson
2476ef2786 Yet another broken sw codec2 2020-10-24 01:54:17 +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
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
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
08ba36bd96 Detect other oppo device, realme 1 2020-10-24 01:54:04 +02:00