Commit Graph

429 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
4e4f1cd715 Add a64_ab device (hello arm pie vendors) 2019-04-24 08:56:27 +02: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
Brian Wang
4f40b50e9f Decrease system partition size for arm_a images so it fits in for more devices 2019-04-18 21:42:11 +02: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
afae0a4d6f Add few debug commands 2019-03-31 19:41:09 +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
3f4e811d2e Remove mtk/ussd fix from vndk-detect. It is plain wrong (property doesnt exist) 2019-03-31 17:37:37 +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
Pierre-Hugues Husson
d322b4157b Switch from ASSIST to VOICE_ASSIST 2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
76c81a45ed Allow treble_app to set camera-HAL related properties 2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
52d4d73146 Include sim toolkit app 2019-03-14 12:59:54 +01:00
Pierre-Hugues Husson
5d34610de1 Call service only if we got it 2019-03-07 22:28:19 +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
c03cb0fad4 Also check pie path for android.hardware.boot hal 2019-03-04 21:47:25 +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
21f2aacfd7 Reenable in-call mute fix for huawei 2019-02-17 13:18:57 +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
Pierre-Hugues HUSSON
a2bc4e2e73
Merge pull request #95 from suwakowww/9.0-fpkey-sakura
Add sakura to fpkey patch
2019-02-13 10:45:04 +00:00
suwakowww
eace5d9fac add sakura to fpkey patch 2019-02-13 14:30:09 +08:00
Pierre-Hugues HUSSON
05a001d7ef
Merge pull request #93 from v555574/android-9.0
Fixed Snapdragon 425 detection on Asus.
2019-02-11 13:19:36 +00:00
v555574
1173f56c80 Fixed Snapdragon 425 detection on Asus. 2019-02-11 16:06:02 +04:00
Pierre-Hugues HUSSON
effd0207fd
Merge pull request #89 from eremitein/android-9.0
[xiaomi mi a2 lite] fix fingerprint gestures
2019-02-07 00:34:38 +01: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
Pierre-Hugues HUSSON
9492b953b4
Merge pull request #86 from TadiT7/pie
Dehardcode status_bar_height in NoCutout overlay
2019-02-05 00:55:12 +01:00
Tadi
17c3643d02 Dehardcode status_bar_height in NoCutout overlay 2019-02-05 00:46:07 +01:00
Pierre-Hugues HUSSON
554a4eca13
Merge pull request #83 from penn5/patch-5
Fix camera in DND on Daisy
2019-02-05 00:21:08 +01:00
Pierre-Hugues HUSSON
e13ff81289
Merge pull request #77 from penn5/patch-2
Fix offline charging on huameme
2019-01-30 20:04:36 +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
01f68a446b Add vibrator-lge debug toy 2019-01-29 22:22:15 +01:00
Pierre-Hugues Husson
1423f94c17 Fix headphone and ril on Samsung qualcomm devices 2019-01-26 11:37:05 +01:00
Dil3mm4
cbf5a7891f Add MTK for USSD Fix 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
7282bfa7ab Qualcomm samsung devices dont use devinput 2019-01-25 16:51:31 +01:00
Pierre-Hugues Husson
9716bf8591 Be compatible with AOSP master BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE
In that case, don't enforce system image size
We will need to implement after build checks to ensure we still work on
older devices
2019-01-17 15:49:46 +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
Pierre-Hugues HUSSON
1b45c55c52
Merge pull request #79 from timbortnik/mimax3-nitrogen-fixes
xiaomi-mimax3-fix
2019-01-16 19:10:22 +01:00
Tim Bortnik
2acc50decb xiaomi-mimax3-fix 2019-01-15 21:24:21 +02:00
Pierre-Hugues HUSSON
31cfcc61d4
Merge pull request #78 from SKULSHADY/patch-1
Fix Havoc-OS common.mk path
2019-01-15 10:45:49 +01:00
wh0dat
c3d94dd9ce
Added support for Motorola / Hannah
Thanks
2019-01-15 02:39:28 -06:00