Commit Graph

157 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
e5c1052d1a Add Xiaomi Mi Mix 3 in soundfx blacklist 2018-11-10 13:51:16 +01:00
Yunus İşleyen
86bc69de19 [Huawei P20 lite] Add workaround for laggy overview 2018-11-08 19:23:30 +01:00
Pierre-Hugues Husson
31e189a7d0 Add floating_feature.xml overwrite for S9/N9. Currently it declares Stereo feature 2018-11-06 20:58:37 +01:00
Pierre-Hugues Husson
0a49ccd8c0 Add additional mtk path 2018-11-06 20:28:18 +01:00
Pierre-Hugues Husson
d13c4ff8d8 [Galaxy S/Note 9] Add workaround for laggy Recent apps (still unclear why) 2018-11-04 23:36:25 +01:00
Asureus
a1f4707dec Fix mixed FPC and Goodix sensors in Xiaomi Devices 2018-10-30 22:54:22 +01:00
Pierre-Hugues Husson
45587b3091 Pie changed product property. use vendor fingerprint 2018-10-08 22:39:42 +02:00
Pierre-Hugues Husson
b10bbe19e6 Add Moto G6 in soundfx list
Fixes https://github.com/phhusson/treble_experimentations/issues/184
2018-10-05 23:04:15 +02:00
suwakowww
6593b10836 add fp key patch for wayne/jasmine
wayme and jasmine has two types fingerprint (fpc and goodix)
2018-10-03 17:36:20 +02:00
Pablo
3f8686cdd9 Ignore vendor SysuiDarkThemeOverlay.apk
Fixes buggy dark theme on jasmine
2018-09-29 13:39:06 +02:00
suwakowww
ec9d31fc7a Fix camera flash on Mi 6X / A2 (#46)
https://github.com/phhusson/treble_experimentations/issues/169
2018-09-26 12:01:10 +02:00
Pierre-Hugues Husson
23fcb00111 Ignore vendor ims.apk if it uses Oreo APIs 2018-09-17 16:18:55 +02:00
Pierre-Hugues Husson
61f745995c Replace libnfc-nci.conf with Oreo's on Oreo vendor devices
As of pie the previous PRODUCT_COPY_FILES line was ignored because
it got copied from device/generic/common/nfc/libnfc-nci.conf instead
2018-09-17 14:10:29 +02:00
Pierre-Hugues Husson
07a370207f Drop the set -e, it is becoming too complicated to ensure it works 2018-09-17 14:09:59 +02:00
Arseniy Graur
c34bc786ac Disable fingerprint "button" on Mi 8 2018-09-16 12:42:26 +02:00
Pierre-Hugues Husson
463ca03eac Disable fingerprint "button" on Mi 8 SE as well
Reported at https://forum.xda-developers.com/showpost.php?p=77620503&postcount=591
2018-09-14 21:09:02 +02:00
Pierre-Hugues Husson
3f1fb0d20b OP6: Keylayout to support dt2w 2018-09-10 00:32:11 +02:00
Pierre-Hugues Husson
e064c6f310 Samsung has two android.hardware.power HAL. Take appropriate one.
Samsung includes both stock AOSP android.hardware.power service, and
their own vendor.samsung.hardware.miscpower.

Since the two HALs define the same full-qualified name, hwservicemanager
takes whichever comes last.

Using proper power HAL is needed for Samsung device to have proper sleep
of the touchscreen, and better power handling.
2018-09-09 21:53:31 +02:00
Alessandro Eppacher
229e74b438 Fix Xiaomi sound distortion on all devices
fix to remove entire lib64/soundfx directory, remove lib/soundfx as well
2018-09-08 19:21:29 +02:00
Alessandro Eppacher
64063c77c4 Fix typo in pocophone vendor fingerprint 2018-09-07 08:09:46 +02:00
Pierre-Hugues Husson
fa5792249b Use OpenGL skia (!= skiagl) on PowerVR Rogue GE8100
cf https://github.com/phhusson/treble_experimentations/issues/173
2018-09-06 20:46:30 +02:00
Enes Sastim
d925fea5f3 fix sound for polaris 2018-09-05 10:22:41 +02:00
Pierre-Hugues Husson
4dec3cf5e0 Include Xiaomi Mi 6X in 12bits backlight devices 2018-09-04 20:16:39 +02:00
Pierre-Hugues Husson
c23e5cc98c Empty /vendor/lib64/soundfx on some Xiaomi devices, because it breaks sound rendering 2018-09-04 20:16:39 +02:00
Pierre-Hugues Husson
f53a56ee1d Disable fingerprint buttons on Mi Mix 2S (cf bug #144) 2018-09-03 15:06:54 +02:00
Pierre-Hugues Husson
7afea6fe95 Override keylayouts on S9/Note9 to include assistant button, and hard press on home to wake up 2018-09-03 14:58:26 +02:00
Pierre-Hugues Husson
3e655b7c4b Edit mtk-ril to fix incoming call
https://github.com/phhusson/treble_experimentations/issues/57#issuecomment-416998086
2018-08-29 18:30:35 +02:00
Pierre-Hugues Husson
5efefba2bc Add brightness fix for mipad 4 2018-08-29 16:34:14 +02:00
Pierre-Hugues Husson
bdda647078 empty mount vendor's dark theme 2018-08-27 10:25:27 +02:00
Pierre-Hugues Husson
be0b90541d We need to be setuid to allow transitions 2018-08-21 23:23:49 +02:00
Pierre-Hugues Husson
34e58e0456 Oops, delete useless changer 2018-08-20 21:10:00 +02:00
Pierre-Hugues Husson
59b9ac8d75 At the end of the day, Samsung keystore seem fine 2018-08-20 21:06:32 +02:00
Pierre-Hugues Husson
69a4b69ff7 Revert "Include consumerir feature, disable dynamically if not present"
This reverts commit 1936b6256e.

Many devices are not booting because of this, saying the feature is
present, but not the HAL.
I'm unsure why yet, but this feature is not worth the trouble.
2018-08-20 10:58:38 +02:00
Pierre-Hugues Husson
cef477ef5b As of P init, /mnt is noexec. Mount our own tmpfs 2018-08-17 13:33:31 +02:00
Pierre-Hugues Husson
986fa4cd0b Set usb aio compat for everyone
Too many different devices have this problem:
- Galaxy S9
- Razer phone
- Amlogic
2018-08-16 14:59:26 +02:00
Pierre-Hugues Husson
59615488b1 Keystore is broken on S9 2018-08-14 20:02:41 +02:00
Pierre-Hugues Husson
6a1961a026 Galaxy S9 doesnt support asynchronous io on functionfs 2018-08-14 20:02:34 +02:00
Pierre-Hugues Husson
bb82498d1c Fix https://github.com/phhusson/treble_experimentations/issues/68 2018-07-17 18:03:15 +02:00
Pierre-Hugues Husson
361aedfd20 night mode is slow on mt6580 as well 2018-07-02 00:22:27 +02:00
Pierre-Hugues Husson
3711fd50e8 Detect Wifi 5G on MTK 2018-07-01 23:06:11 +02:00
Pierre-Hugues Husson
18fb7ed72f Night mode is awfull slow on Cubot X18 Plus. For the moment just blacklist the device, but needs to know whether this is the chipset, or chipset + screen 2018-07-01 23:05:18 +02:00
Pierre-Hugues Husson
c9b139187f Resize userdata on OP6
We'll probably want to do that for other devices as well
But this requires /data to be available at that time.
That's probably true only for FBE devices, not FDE.
Also, we might not want to do that on all devices
So for the moment, do it only on OP6
2018-06-15 15:03:06 +02:00
Pierre-Hugues Husson
19ce2265e5 Detect qcom extended brightness and set a property based on this, to be used by framework 2018-06-10 22:54:14 +02:00
Pierre-Hugues Husson
c09149f86b fixSPL: More robust partition matching
OP6 has a partition called boot_aging. It would get matched instead of
boot_a when on slot A
2018-06-08 19:13:08 +02:00
Pierre-Hugues Husson
ec16488612 SPL override for moar libs 2018-05-31 23:06:15 +02:00
Pierre-Hugues Husson
47ab64bbde Replace more softkeymaster, some 8.1 devicesrequires this 2018-05-26 11:26:33 +02:00
Pierre-Hugues Husson
a70b26943b Don't fail script if resize2fs fails 2018-05-19 22:10:30 +02:00
Pierre-Hugues Husson
1b5659be4f Fix restart only when started 2018-05-19 18:43:25 +02:00
Pierre-Hugues Husson
b139f72be4 Fix trustkernel keystore/gatekeerp
TEE requires that ro.product.model is either original, or "AOSP on armxx"
sed in-place
I had to move from /dev to /mnt, because /dev is nosuid
2018-05-19 16:54:30 +02:00
Pierre-Hugues Husson
1936b6256e Include consumerir feature, disable dynamically if not present 2018-05-19 13:40:50 +02:00
Pierre-Hugues Husson
bf886321ea Check if there is a fingerprint HAL before declaring fingerprint feature 2018-05-18 15:09:30 +02:00
Pierre-Hugues Husson
71789c3977 empty-mount trustkernel keystore. It is not working for the moment 2018-05-14 13:39:17 +02:00
Pierre-Hugues Husson
11cbdea0e9 Refactor fixSPL to prevent early exit 2018-05-14 13:34:52 +02:00
Pierre-Hugues Husson
29622ec3e3 Mount bind Huawei's fingerprint.kl 2018-04-30 13:56:06 +02:00
Pierre-Hugues Husson
520fea111e Instead of patching properties, patch libs reading properties to get boot.imgs SPL 2018-04-25 22:18:38 +02:00
Pierre-Hugues Husson
16ea168af4 Blind try at resizing/editing in A/B 2018-04-15 19:19:47 +02:00
Pierre-Hugues Husson
f1811092e6 [WIP] Edit android version/security patch based on boot.img 2018-04-10 18:35:44 +02:00