Commit Graph

234 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
7ef6e8769f Workaround broken OpenGL ES on old Snapdragon devices
Thanks @XavierWrz
2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
7ae4dc8425 Detect whether vendor has an hostapd by checking manifest 2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
084a5e669e Fix fingerprint gestures on huawei pie vendor 2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
6a1bccc72b Simplify matching for lenovo dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
551e1b0397 Add support for Lenovo Z5 dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
eeb6d035a9 Ignore swizzle to fix crash on Oreo PowerVR devices 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
b2612a092e trustkernel keymaster also requires whitelisted ro.product.brrand. This property has disappeared in Android 10, so set it for teed 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
a6a1f7c1f5 Force ro.vndk.version 26 when we detect vndk 26 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
887849be62 New shiny thing broke adb again 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
86aa7e3ab8 also override 64b keymaster3device 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
db164b3c0d Additional lib to be edited to boot keymaster 2020-10-24 01:52:50 +02:00
Alberto Ponces
aca15ba77f Simplify the exynos grep command even further and remove some whitespace 2020-05-14 11:43:00 +01:00
Alberto Ponces
d5b3121548 Fix exynos grep command to apply setprop correctly 2020-05-13 17:59:21 +01:00
Michael Cheah
58dd99657a
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-03-26 09:51:58 +08:00
jumper047
f29508b21c Fix typo 2020-02-20 21:17:20 +03:00
jumper047
d3b3d20716 Fix begonia fingerprint sensor behavior 2020-02-20 21:06:58 +03:00
jumper047
0e1cf0877a * rw-system.sh: simplify begonia regexp 2020-02-20 21:03:26 +03:00
jumper047
c832c77d14
Fix regexp 2020-02-20 07:52:04 +03:00
jumper047
a67704f357
Fix brightness on Redmi Note 8 Pro 2020-02-19 22:46:08 +03:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
f7eb2c6c16
Enable latch_unsignaled on exynos devices
ro.hardware=exynos* on some samsung devices
 eg. Samsung Galaxy M20
2020-02-19 19:03:48 +05:30
XavierWrz
0639e66ec0
Add smoothness for Lenovo Moto E5 in Pie Builds 2020-02-06 21:59:48 -03:00
Mehran Kholdi
06aaf84236 Add Redmi 7 - onc(lite) to fingerprint input events blacklist 2020-01-21 22:58:44 +01:00
washinson
73b20785b8 Fix dualsim for some Huawei phones (#143)
* Fix dualsim for some Huawei phones

Huawei P20 Lite doesn't have /odm/phone.prop, we must use /vendor/phone.prop
2020-01-14 11:03:35 +01:00
DarkJoker360
4700841132 Fix audio on Redmi Note 8T (willow)
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2020-01-08 19:44:20 +01:00
lead4good
21655a0839 fix: mia3 brightness scale 2019-12-22 11:56:32 +01:00
Pierre-Hugues HUSSON
ba9d46f93a
Merge pull request #125 from eremitein/android-9.0
[daisy] revert camera in DnD fix
2019-12-11 14:21:18 +01:00
Frieder Paape
f41734ed8f
fix: add sound support for xiaomi a3 2019-12-09 08:39:27 +01:00
Pierre-Hugues Husson
8a6837d774 Add support for Huawei's phone.prop
Reference is https://github.com/LineageOS/android_device_huawei_kirin970-common/blob/lineage-16.0/init/init_kirin970.cpp
2019-12-09 00:57:46 +01:00
Pierre-Hugues Husson
897f17c554 SPL got from boot.img is safer than from vendor (there can be mismatch) 2019-12-08 21:08:02 +01:00
Pierre-Hugues Husson
39b0a00aba Detect whether vendor has an hostapd by checking manifest 2019-12-06 21:35:42 +01:00
Alexander
c0eb03ec69
Fix backlight on Redmi 7A (pine) 2019-12-03 00:39:49 +03:00
Pierre-Hugues Husson
dc8484b74f Fix fingerprint on Honor View 10 2019-11-30 22:42:42 +01:00
Milan Kragujević
71eef45e2c
Fix backlight on Redmi 8A (olivelite) 2019-11-20 23:52:46 +01:00
Victor Bo
4bd3bbdd0b [daisy] revert camera in DnD fix
* camera works fine in DnD mode without this fix in v204 and in v121 too
    not need this fix for daisy anymore

	modified:   rw-system.sh
2019-11-20 04:09:36 +05:00
lead4good
b560c366aa fix sound for redmi note 8 (ginko) 2019-11-11 18:20:21 +01:00
Pierre-Hugues Husson
954d2157da Support Nokia 4.2 assistant button 2019-10-26 21:06:58 +02:00
kuba3351
40e7ecc90d
[device] Added "ro.audio.ignore_effects true" for davinci 2019-10-05 12:41:18 +02:00
Pierre-Hugues Husson
d73bb669e2 latch_unsignaled on mt6771 2019-09-14 13:22:05 +02:00
Dinolek
64d8b7d900 Add prop to disable incoming calls sed 2019-09-13 22:53:28 +02:00
Pierre-Hugues Husson
b8e1d18b51 Actually we want to force samsung workaround off 2019-09-09 20:38:56 +02:00
Pierre-Hugues Husson
66cf09d963 [Samsung chmods] Need to set selinux too in input/enabled 2019-08-22 11:36:17 +02:00
Pierre-Hugues Husson
d45861e585 If we have both vendor and boot security_patch, prefer vendor security_patch 2019-08-22 10:59:08 +02:00
Pierre-Hugues Husson
ef0936947e We need to restart samsung hal when doing chown 2019-08-22 00:45:53 +02:00
Pierre-Hugues Husson
edaab46a82 Also copy vendor security patch level 2019-08-22 00:45:39 +02:00
Pierre-Hugues Husson
c80de8d3fe Add phh-securize.sh to switch to user build, copy vendor fingerprint, and tighten adb security 2019-08-22 00:35:41 +02:00
Pierre-Hugues Husson
fda319aa57 SaR is more annoying to resize because there is no such thing as /dev/root, but mknod it so we can do it 2019-08-21 22:40:36 +02:00
Pierre-Hugues Husson
d6d8b0ee5c More chmods for /sys Samsung 2019-08-21 22:00:44 +02:00
Pierre-Hugues Husson
0922844a1a Use Samsung key layouts on all samsung devices 2019-08-20 00:03:14 +02:00
Pierre-Hugues Husson
9b00a5140f Also chown cmd 2019-08-14 23:35:52 +02:00
Pierre-Hugues Husson
7508b08c11 If /sys/class/sec/tsp rules are obviously completely broken, unbreak them a little 2019-08-12 22:50:17 +02:00
Pierre-Hugues Husson
1709734aae Samsung running pie vendor have fixed fingerprint remaning 2019-08-11 22:59:32 +02:00
Pierre-Hugues Husson
5dc6a4573a Add bluetooth in the list of features to check HIDL manifest for, to trigger packagemange feature 2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
95036eb2f6 Fix reading vndk if setting prop from vndk failed on recent enough vendors 2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
f7c1c61c74 [Samsung] Disable security.proca (kills su when run) 2019-07-17 20:12:47 +02:00
Pierre-Hugues HUSSON
6110dd3f78
Merge pull request #113 from eremitein/android-9.0
fp-gestures: don't change if exists
2019-06-20 23:31:12 +02:00
Pierre-Hugues Husson
9b40bccd82 If ro.hw.oemName isn't set, set it from sku
cf https://github.com/phhusson/treble_experimentations/issues/533
2019-06-12 15:41:25 +02:00
Victor Bo
ef78cb7a99 fp-gestures: don't change if exists
bad idea to delete users changes after reboot
no need to anger users:)

	modified:   rw-system.sh
2019-06-11 05:03:54 +00:00
AndyCGYan
1747067d80 Fix sound on raphael
https://github.com/phhusson/treble_experimentations/issues/541

Change-Id: I3f5b6d0fb67e2a14a7f16f43ac9ee2e32076ea9b
2019-06-06 06:45:47 +00:00
darkestDark
2c29f204fc
Prevent Brightness Flickering Bug on Redmi Note 7
Add the Device to the List, which gets the prop persist.sys.qcom-brightness set.
2019-06-03 06:53:40 +02:00
Pierre-Hugues Husson
47062277a4 Add cereus in the no sound effects list
https://forum.xda-developers.com/showpost.php?p=79568310&postcount=1998
2019-05-22 20:43:18 +02:00
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