Commit Graph

257 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
a266e770e8 Some devices require their vendor mounted to /persist even if fstab says otherwise
See https://github.com/phhusson/treble_experimentations/issues/668
2020-10-24 01:54:47 +02:00
Pierre-Hugues Husson
b53b105e83 Looks like Samsung FODs are calibrated at 319 nits, not max brightness 2020-10-24 01:54:46 +02:00
Mohit
dd12c94c40 Update rw-system.sh 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
2d30d404e4 Force privapp permissions thingy to "log". It s not like we care about this feature 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
df3bff6341 Add Realme 6 for lcd brightness & fingerprint tricks 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
d982033bbc Fake Oppo engineer app instead of camera app, and force non-gsi Camera mode 2020-10-24 01:54:46 +02:00
Pierre-Hugues Husson
c6d441ef2e Add fingerprint gestures on zf6 2020-10-24 01:54:45 +02:00
Pierre-Hugues Husson
22c62918c1 Some devices have mask_brightness with proper selinux, wrong perms... 2020-10-24 01:54:44 +02:00
Pierre-Hugues Husson
4b2f105e77 Yet another c2 broken device 2020-10-24 01:54:44 +02:00
Pierre-Hugues Husson
1fb124f8d3 Add Redmagic 5G DT2Z KL 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
0cf5bdd071 Don't enable CPU feature runtime detection for everyone
Sadly CPUs impacted with needs_a53_835769_fix/needs_a53_843419_fix can't use runtime codepath
Enable CPU feature runtime detection on known-problematic CPUs
2020-10-24 01:54:42 +02:00
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