Commit Graph

936 Commits

Author SHA1 Message Date
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
63b2403f9f Enable Huawei fast/quick charge. Thanks @Flex1911 and @OldDroid 2018-05-19 15:49:45 +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
e5bf6a5c2a Allow system_server => su grep 2018-05-19 13:39:22 +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
a8ead1aa88 Fix Go suffix 2018-05-18 14:59:22 +02:00
Pierre-Hugues Husson
36e63f8a80 Move vndk include in generate.sh, to only include vndk32 in arm 2018-05-18 13:52:14 +02:00
Pierre-Hugues Husson
eafd73a5e2 Don't dexpreopt gapps-go 2018-05-17 23:32:26 +02:00
Pierre-Hugues Husson
f11d7c0a3a Add gapps-go variant 2018-05-17 22:20:52 +02:00
Pierre-Hugues Husson
1959f79e53 Set service-cleaner as oneshot 2018-05-17 22:20:52 +02:00
Pierre-Hugues Husson
d746f760a0 Include more lineage stuff 2018-05-16 22:14:41 +02:00
Pierre-Hugues Husson
6b28c3f740 Set lower arm_a size (seen on Koolnee Rainbow) 2018-05-14 21:06:11 +02:00
Pierre-Hugues Husson
6eaf501e68 Include service-cleaner.sh which kills looping services 30s after boot 2018-05-14 17:25:03 +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
08a31770cf I need an empty system file for later mount bind 2018-05-14 13:36:26 +02:00
Pierre-Hugues Husson
11cbdea0e9 Refactor fixSPL to prevent early exit 2018-05-14 13:34:52 +02:00
Pierre-Hugues Husson
903725538c Use Huawei backlight RRO when detecting a Huawei device 2018-05-02 23:38:24 +02:00
Pierre-Hugues Husson
e59aa1bc35 Enable nightmode overlay by default 2018-05-01 23:38:34 +02:00
Pierre-Hugues Husson
dbfa3c728e Fix wrong domain 2018-05-01 22:04:56 +02:00
Pierre-Hugues Husson
7527833d72 Give su hwbinder use 2018-05-01 21:44:29 +02:00
Pierre-Hugues Husson
29622ec3e3 Mount bind Huawei's fingerprint.kl 2018-04-30 13:56:06 +02:00
Pierre-Hugues Husson
14764f3afd Include fingerprint.kl suited for AOSP use. Thanks @OpenKirin team 2018-04-30 13:54:39 +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
c2662ea37c
Merge pull request #7 from Zanooda/android-8.1
Bluetooth fix for Kirin 65x
2018-04-24 14:28:10 +02:00
Pierre-Hugues Husson
49d6d91f9c Fix f2fs on Huawei devices (Thanks @Flex1911 and @LuK1337) 2018-04-24 14:12:25 +02:00
Daniel Storozhev
61f0df3e71
Bluetooth fix for Kirin 65x
BTM_BYPASS_EXTRA_ACL_SETUP has to be true for Kirin 650/659 (aka hi6250) devices.
2018-04-23 13:34:39 +02:00
Pierre-Hugues Husson
01566efd3d Allow mediaextractor to read real sdcard 2018-04-16 23:33:58 +02:00
Pierre-Hugues Husson
7171b3215f Support me.phh.treble.qti.audio 2018-04-15 20:35:08 +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
Pierre-Hugues Husson
25d7b4c539 Resize /system in boot
Is it really safe?
Tested on Allview V3 Viper and Huawei Mate 9
2018-04-03 00:13:48 +02:00
Pierre-Hugues Husson
1e27cc1157 Override vendor's usb_audio_policy_configuration
Android 8.1 added the support for new type of USB Audio devices
(USB_HEADSET, instead of old USB_DEVICE)
Some older USB devices got converted to this USB_HEADSET while still
using the old protocol.
There is no driver change needed, but the audio policy needs to be
changed.
Since vendors are simply using AOSP usb_audio_policy_configuration
Override it by ourself.
2018-04-01 00:30:31 +02:00
Pierre-Hugues Husson
0dcd4589e9 Enable exfat driver for Lineage-based ROMs 2018-03-28 23:09:38 +02:00
Pierre-Hugues Husson
846bc0de38 Make a board-base to be included by all boards 2018-03-28 23:08:57 +02:00
Pierre-Hugues Husson
76e806921c Set ro.adb.secure earlier, because vendor might override us 2018-03-27 23:39:49 +02:00
Pierre-Hugues Husson
d39956c936 Include lineage sepolicy 2018-03-23 16:14:30 +01:00
Pierre-Hugues Husson
365f7f7e24 [rr] Include SEPolicy 2018-03-22 22:47:23 +01:00
Pierre-Hugues HUSSON
0cb4122f07
Merge pull request #3 from MrPink7/android-8.1
Add rr.mk
2018-03-22 21:17:02 +01:00
Pierre-Hugues Husson
a3818e7455 Add custom sepolicy to support samsung Galaxy S9
This is harmless on other devices because this type doesn't exist, so
isn't used.
2018-03-21 17:15:55 +01:00
Pierre-Hugues Husson
6f0f99d488 Also disable app optimization 2018-03-19 23:11:52 +01:00
Pierre-Hugues Husson
e38b40749e Revert "Let's switch to ro.adb.secure=1"
This reverts commit aedc5ad289.
We still have too many devices to debug to do that
2018-03-19 20:28:33 +01:00
Pierre-Hugues HUSSON
70abaa45bc
Merge pull request #4 from Dinolek/android-8.1
Allow to flash GSI on phones with smaller system partition size
2018-03-19 14:49:34 +01:00
Dinolek
8eb18c7929
Decrease size of system partition
This will not affect device that have bigger partitions and will 
allow to flash system.img to phones with smaller system size.
2018-03-17 20:35:59 +01:00
Dinolek
27aa7be152
Don't dexpreopt gapps
This is done to reduce size of gapps in system.
First boot will take a little bit more.
2018-03-17 20:32:29 +01:00
MrPink7
fda6b76dea Add rr.mk
Resurrection remix support
2018-03-09 11:57:09 +02:00
Pierre-Hugues Husson
493a27a1a6 I can't find a way to set ro.build.fingerprint from device mk. So set it from build/make instead 2018-03-05 22:25:19 +01:00
Pierre-Hugues Husson
4696c0ffc1 Add lineage.mk 2018-03-04 23:20:26 +01:00
Pierre-Hugues Husson
de92708b12 Create folder before creating rc file 2018-03-04 22:24:18 +01:00
Pierre-Hugues Husson
3afca900ad Add init.treble-environ.rc to properly setup bootclasspath/serverclasspath 2018-03-04 21:36:55 +01:00
Pierre-Hugues Husson
ccfcad1254 Set arm32 system partition to 1GB 2018-03-04 19:12:21 +01:00