Pierre-Hugues Husson
3d054e214d
Add olive and angelica for Xiaomi fingerprint uinput blocklist
2021-02-02 22:04:42 +01:00
Pierre-Hugues Husson
9e6e2b6556
Mute console for everyone, not just secure usecase
2021-02-02 22:03:11 +01:00
Pierre-Hugues Husson
72c62260b9
Fix backlight on some Samsung devices
...
Some Samsung Q vendor devices have HWC rather than lights hal control.
In those cases, backlight is controlled through another SELinux context.
We used to correct this SELinux context for all devices, however this is
no longer needed, and actually breaks those devices.
So, change SELinux context, only if uid/gid is wrong
2021-01-30 22:59:23 +01:00
kzubec
36881fc8a6
Update rw-system.sh
2021-01-22 16:45:55 +03:00
Pierre-Hugues Husson
aae160672f
Add a totally manual ADB, triggerable using /cache/phh-adb. This should help debugging early startup issues
2021-01-19 23:46:40 +01:00
Jens Bertram
a853420626
Scan in /odm/etc/vintf for fingerprint sensor data
...
The manifest.xml for specifying the fingerprint sensor for the Fairphone 3 (SW-version 8901.3.A.0066.20201119) is located at /odm/etc/vintf/. This path is currently not scanned for manifest files. This proposed change includes this missing path an enables to use the fingerprint sensor on the FP3.
2020-12-17 21:55:49 +01:00
Peter Cai
d93e046538
rw-system: disable sensor direct report on SPRD Pie vendor
2020-12-16 21:01:15 +08:00
Pierre-Hugues HUSSON
93019de565
Merge pull request #216 from siddhrsh/patch-2
...
Added Realme C3 brightness& audio jack
2020-12-12 11:02:37 +01:00
Siddhesh Koyande
d07aa9e60c
Added Realme C3 brightness& audio jack
2020-12-12 10:49:49 +05:30
Siddhesh Koyande
c756d26c2b
Realme C2 Headphones jack fix
2020-12-12 08:27:23 +05:30
Pierre-Hugues Husson
8ff15241fd
Disable root console on uart, and kernel logs on uart when secure
2020-12-11 14:51:01 +01:00
Pierre-Hugues Husson
5607a9be21
Use dev/input for jack detection on Realme C11
2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
147dca859c
Realme C11 has same quirks for dt2w and brightness as previous Realme MTK devices
2020-11-29 08:08:50 -05:00
Pierre-Hugues Husson
6ce1b9108d
Galaxy S9 is stupid and still dont understand that android version/spl isnt relevant, so cheat android version/spl for them
2020-11-08 00:36:09 +01:00
Pierre-Hugues Husson
28b4d559a6
Set a property to find focaltech gesture node
2020-10-26 22:46:16 +01:00
Pierre-Hugues Husson
1450230c31
Make rw-system debug easier, but just having to create /cache/phh-log (obviously works only if device has a cache partition), and having perms make it accessible from system app (treble app)
2020-10-25 21:11:27 +01:00
tboy1991
0b075d62bf
Update rw-system.sh
2020-10-17 16:34:18 +02:00
tboy1991
dd952c5f1b
Update rw-system.sh
...
Adds redmi9 lancelot/galahad brightness and fingerprint as enter fix
2020-10-13 18:48:21 +02:00
Pierre-Hugues Husson
ab62dcf481
On Allview V3 Viper, mnld (who handles GPS) crashes with double-mutex unlock. Fix this by forcing it to older SDK
2020-10-06 19:55:11 +02:00
Pierre-Hugues Husson
95bcf66d67
Some devices require their vendor mounted to /persist even if fstab says otherwise
...
See https://github.com/phhusson/treble_experimentations/issues/668
2020-10-05 22:13:44 +02:00
Pierre-Hugues Husson
7662a1675c
Disable HWC presentOrValidate on vndk 26/27
2020-09-30 22:38:44 +02:00
ѕαмαя νιѕρυтє
b79124f41b
rw-system: Update extra vndk dir path
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-09-30 09:55:09 +00:00
Pierre-Hugues Husson
bbee56d39f
ROG Phone III has an additional C2 in vendor. It requires updated seccomp policy
2020-09-27 20:12:39 +02:00
Pierre-Hugues Husson
c18b157a8d
libsoftkeymasterdevice.so is a new path for vndk v26
2020-09-27 20:12:09 +02:00
Pierre-Hugues Husson
6e496dafb0
Force privapp permissions thingy to "log". It s not like we care about this feature
2020-08-18 16:56:53 +02:00
Pierre-Hugues Husson
81c17b3aa3
Add Realme 6 for lcd brightness & fingerprint tricks
2020-08-13 15:51:42 +02:00
Pierre-Hugues Husson
6428935728
Fake Oppo engineer app instead of camera app, and force non-gsi Camera mode
2020-08-05 20:38:43 +02:00
Pierre-Hugues Husson
d26d561dba
Add fingerprint gestures on zf6
2020-08-05 20:38:43 +02:00
kjssad
4134ef2653
Add RMX1941 DT2W fix
2020-07-02 16:28:48 +00:00
Pierre-Hugues Husson
9800e43980
Some devices have mask_brightness with proper selinux, wrong perms...
2020-06-24 11:11:02 +02:00
Pierre-Hugues Husson
c0ff9f49f0
Yet another c2 broken device
2020-06-23 21:40:55 +02:00
Pierre-Hugues Husson
d4ecf50aa0
Add libstagefright_foundation from vendor to vndk hack for Q vendors as well
2020-06-22 18:12:17 +02:00
Pierre-Hugues Husson
97b340689d
Add Redmagic 5G DT2Z KL
2020-06-20 20:11:04 +02:00
Pierre-Hugues Husson
46c5eb1273
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-06-20 00:31:29 +02:00
Pierre-Hugues Husson
9bff86b3a9
Enable ART automatic CPU feature detection. Also fix some devices using a wrong kryo name
2020-06-20 00:19:13 +02:00
Pierre-Hugues Husson
0c42bbf8c4
Switch to SW keymaster on Moto One Macro, and enable devinputjack
2020-06-18 15:00:14 +02:00
Pierre-Hugues Husson
51dc96a900
Another ccodec=0...
2020-06-17 13:36:50 +02:00
Pierre-Hugues Husson
33afc851c4
Yet another sick C2 MTK...
2020-06-11 18:02:21 +02:00
R-L-T-Y
bffd528e03
xiaomi at it again! changes for redmi picasso
2020-06-09 13:12:45 +08:00
Pierre-Hugues Husson
0666c17ef1
moto fp gestures for fpc
2020-06-08 18:51:33 +02:00
Pierre-Hugues Husson
2874f15cf2
Add capacitive back and recent keys for Samsung
2020-06-06 18:41:52 +02:00
Pierre-Hugues Husson
2295229a28
Expose CAF resolution switching (tested on RazerPhone)
2020-06-05 20:34:22 +02:00
Pierre-Hugues Husson
5c712afafa
Add FOD for Vsmart Live
2020-06-03 14:13:33 +02:00
Pierre-Hugues Husson
ff835cbd53
Add motorola fingerprint navigation keymap for moto one action
2020-06-02 23:04:09 +02:00
Pierre-Hugues Husson
afb17027d2
Add a tablet SoC in ccodec 0 band
2020-05-30 16:38:56 +02:00
Pierre-Hugues Husson
089d3c34ca
Add netflix ID for Redmi Note 9S
2020-05-29 10:13:16 +02:00
Pierre-Hugues Husson
05b863b07a
Add netflix id on Mi9, this gives 720p/1080p when securized
2020-05-28 11:44:25 +02:00
Pierre-Hugues Husson
9a6dacedfc
Curtana is redmi, no longer xiaomi
2020-05-25 13:45:22 +02:00
Pierre-Hugues Husson
1d86604109
Curtana is just as broken as other Xiaomi devices
2020-05-24 20:18:20 +02:00
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