Commit Graph

174 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
f95b7236bd In addition to null-mounting soundfx, also set property to disable effects (should both have the same effects) 2019-05-22 20:41:25 +02:00
Pierre-Hugues Husson
453790be16 Add tulip in qcom backlight 2019-05-20 23:35:16 +02:00
Pierre-Hugues Husson
fdb303e941 Add tulip in fingerprint input events blacklist 2019-05-20 23:32:56 +02:00
Pierre-Hugues Husson
8441ef413f Fix https://github.com/phhusson/treble_experimentations/issues/121 2019-05-18 21:08:13 +02:00
AndroPlus
d7a9514ccd Add Xiaomi Mi 9 SE for soundfx mess 2019-05-18 19:06:32 +09:00
Pierre-Hugues Husson
31eac57426 Additional way to find a specific msm model (seen on Redmi Go) 2019-05-16 22:04:58 +02:00
Pierre-Hugues HUSSON
85d4e98941
Merge pull request #103 from tytydraco/android-9.0
Disable broken led:torch_2 trigger on Mi A2 / Mi 6X
2019-05-06 22:10:38 +02:00
Michael Cheah
99e13e7d1a
Disable fingerprint button on whyred 2019-05-06 21:53:00 +08:00
Pierre-Hugues Husson
d06769c042 Add G6 Play for soundfx mess 2019-05-05 19:45:48 +02:00
Pierre-Hugues Husson
164e73b49c Nubia RedMagic needs backlight thingy 2019-05-04 18:04:21 +02:00
Pierre-Hugues Husson
75a2e0f64f Set audio rotation on Samsung + Razer 2019-05-03 23:47:33 +02:00
penn5
6f767efce1
Add wayne to audio.camerasound.force
fixes https://github.com/phhusson/treble_experimentations/issues/161
2019-04-24 09:47:32 +01:00
Tyler Nijmeh
c1c1e8600b Disable broken led:torch_2 trigger on Mi A2 / Mi 6X
At the moment, both led:switch_1 and led:torch_2 are both linked to the
front facing camera torch. Xiaomi's stock Pie vendor for devices jasmine
and wayne (Mi A2 and Mi 6X, respectively) mistakingly hooks these nodes
incorrectly, causing the front facing camera torch to default to a
brightness level of 90. However, after a single photo is taken, the
torch turns off temporarily until either A) the camera is closed and
reopened or B) the camera app requests the flash to trigger.

To circumvent the issue with Xiaomi's stock pie vendor blobs, we can
disable the led:torch_2 trigger, and allow led:switch_1 to handle it.

Test: Run the desired command on boot and observe the default front
facing camera torch state.

Test: Ensure Snapchat and Open Camera default to flash being disabled
for the front facing camera torch.

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
2019-04-22 16:20:05 -07:00
Pierre-Hugues Husson
eaacc3accc Remove global libeffects sed. Breaks many devices, and is actually needed only on moto 2019-04-08 13:29:07 +02:00
Pierre-Hugues Husson
f00f7f4402 Samsung pie vendors arent happy with my edits. Disable them until it is fixed 2019-03-31 18:57:41 +02:00
Pierre-Hugues Husson
db12985a31 Set ussd fix on mtk-ril 2019-03-31 17:37:13 +02:00
Pierre-Hugues Husson
63eaf64710 Fix sound on cepheus 2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
b1a230c0e5 Pedantic shellcheck 2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
d3ac3f55d5 Cepheus also has an AI key 2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
8cc37bb205 Rewrite qualcomm chi to read real manufacturer. makes enabling aux cams easier 2019-03-20 23:57:06 +01:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
69f230df9c Fix low brightness issue on realme 2 pro 2019-03-04 22:05:34 +01:00
Pierre-Hugues Husson
c97cc4c507 shfmt -i4 -w 2019-03-04 22:01:39 +01:00
Pierre-Hugues Husson
a8b1cfb7cb Add pettyl and james in the list of borked moto devices 2019-03-04 21:56:20 +01:00
Pierre-Hugues Husson
5574bc3d91 shellcheck 2019-03-04 21:54:48 +01:00
Pierre-Hugues Husson
1cf540004d Also check pie manifest 2019-03-02 15:38:45 +01:00
Pierre-Hugues Husson
4cec494b21 Fix audio hal crash on moto 2019-03-02 14:46:33 +01:00
Pierre-Hugues Husson
908dd917b6 Fix incoming SMS and mobile data on MT6379 2019-02-26 23:15:51 +01:00
Pierre-Hugues Husson
63bacaf3bf Add Moto evert/jeter/aljeter for soundfx workaround 2019-02-14 17:29:15 +01:00
Pierre-Hugues Husson
2b623795c1 yet another error... 2019-02-14 10:29:23 +01:00
suwakowww
eace5d9fac add sakura to fpkey patch 2019-02-13 14:30:09 +08:00
v555574
1173f56c80 Fixed Snapdragon 425 detection on Asus. 2019-02-11 16:06:02 +04:00
Victor Bo
22004cf22b
[xiaomi mi a2 lite] fix fingerprint gestures
fix for fingerprint gestures like an another Xiaomi devices
2019-02-07 04:21:46 +05:00
Pierre-Hugues Husson
f225a4336a typo 2019-02-06 00:52:54 +01:00
Hackintosh 5
888725c0ed Fix camera in DND on Daisy
It's an ugly workaround...
2019-01-30 14:58:34 +00:00
Pierre-Hugues Husson
1423f94c17 Fix headphone and ril on Samsung qualcomm devices 2019-01-26 11:37:05 +01:00
Pierre-Hugues Husson
4484ddd7f8 Try to fix Samsung boot with safedex 2019-01-26 11:37:04 +01:00
Pierre-Hugues Husson
70874ebb27 Merge branch 'wh0dat-patch-1' of https://github.com/wh0dat/device_phh_treble into android-9.0 2019-01-17 00:45:16 +01:00
Tim Bortnik
2acc50decb xiaomi-mimax3-fix 2019-01-15 21:24:21 +02:00
wh0dat
c3d94dd9ce
Added support for Motorola / Hannah
Thanks
2019-01-15 02:39:28 -06:00
Pierre-Hugues HUSSON
4456ea4716
Merge pull request #76 from penn5/patch-1
Try to fix NFC on Huameme
2019-01-08 10:19:39 +01:00
Hackintosh 5
e74f050278 Fix newlines 2019-01-04 16:53:52 +00:00
Hackintosh 5
fb31ebd929 Remove useless implementation and move upwards so that github no longer thinks there are merge conflicts 2019-01-04 16:52:15 +00:00
Hackintosh 5
6f52d92fee Use phh's style
eww
2019-01-04 16:45:59 +00:00
Hackintosh 5
a0c35d242e Fix for some devices 2019-01-04 16:36:15 +00:00
Hackintosh 5
e31f9ceec8 Revert "Add more specific check for correct model"
This reverts commit 91a4066603.
2019-01-04 15:46:51 +00:00
Hackintosh 5
91a4066603 Add more specific check for correct model 2019-01-04 15:28:22 +00:00
penn5
e3c3f6cec2 Add huawei nfc fix
thanks to @haky86 👍
2019-01-04 14:01:47 +00:00
Pierre-Hugues Husson
21abdd8ad1 Fix Moto soundfx detection 2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
ffbb81e84e Add (commented) debug mode for rw-system.sh 2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
5570d9a362 Add Moto E5 for soundfx disablers 2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
c36e655745 On Exynos 7870, use old ABI behaviour for RILd 2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
652a658f83 Add Xiaomi Redmi S2, xiaomi/ysl 2018-12-28 16:33:23 +01:00
suwakowww
ad9b1b6b9f fix margin 2018-12-26 11:49:49 +08:00
suwakowww
bcdbba8a0c fix broken sound for equuleus 2018-12-26 11:47:37 +08:00
Pierre-Hugues Husson
69541d380d [Sony Xperia (XZ1)] Fix brightness. Partial support for camera button 2018-12-16 22:04:04 +01:00
Pierre-Hugues Husson
14d7c12a97 Enable old hwui path for msm8917/37/40 2018-12-03 22:40:34 +01:00
Pierre-Hugues Husson
dd40ddcf1c Merge branch 'android-9.0-mix3' of https://github.com/AndroPlus-org/device_phh_treble into android-9.0 2018-12-03 22:07:10 +01:00
Pierre-Hugues Husson
07e05336c5 Commit fail 2018-12-03 22:06:32 +01:00
suwakowww
3badf7271b revert to single line
I don't know why it will cause boot failed.
2018-11-29 16:04:09 +08:00
suwakowww
8d9236805e Update rw-system.sh
for platina
2018-11-29 08:37:48 +08:00
AndroPlus
c3faca50d5 Fix fingerprint touch on Mi MIX 3 2018-11-23 20:37:18 +09:00
AndroPlus
ebce78113a Add keylayout to use additional button on Mi MIX 3
AI button is useless in AOSP, so use it as camera key instead
2018-11-23 20:35:46 +09:00
Pierre-Hugues Husson
a605776eb2 Ignore vendor/etc/audio/* files (fixes audio for stupid CAF-based ROMs) 2018-11-18 22:36:00 +01:00
suwakowww
45e3d29136 add redmi note 5 (untested)
reported here: https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Redmi-Note-5---Note-5-Pro-%28India%29
2018-11-18 21:20:37 +01:00
suwakowww
db77967142 add sakura and nitrogen to 12bit backlights 2018-11-18 21:20:37 +01:00
Alexander Gujral
1b84d4defc
remove camera section 2018-11-11 16:35:44 -05:00
Alexander Gujral
c5afa54a51 add jasmine_sprout fp (experimental)
adding jasmine_sprout (Mi A2) for fingerprint files, should be same hardware as wayne
2018-11-11 14:05:07 -05:00
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