Commit Graph

175 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
e7d2dc0956 Add support for ARM targets 2018-03-04 19:12:21 +01:00
Pierre-Hugues Husson
db5f0fc56a Include carbon support 2018-03-03 19:50:47 +01:00
Pierre-Hugues Husson
dba5145217 Add optional parameter to generate.sh to include a rom-specific mk 2018-03-03 19:49:38 +01:00
Pierre-Hugues Husson
d3736a801e Get back to previous way of getting fingerprint. Will need a proper fix for master 2018-02-20 23:53:39 +01:00
Pierre-Hugues Husson
8eafd0b57c Revert "Stop defining ro.build.version.release, this prevents huawei's keymaster from working"
This reverts commit 095c95be3c.
2018-02-20 23:17:26 +01:00
Pierre-Hugues Husson
c4ccbd9752 Add dynamic bluetooth config (requires system/bt changes) 2018-02-20 23:03:30 +01:00
Pierre-Hugues Husson
9dccd6e70e Use default libnfc-nci.conf if not found in vendor/etc
From https://android-review.googlesource.com/c/platform/build/+/620268
Icc6e0b1d2b29adacf085cfa68566b064e736d3fa
2018-02-20 21:30:42 +01:00
Justin Yun
e3bf50c88c Default libnfc-nci.conf for GSI
For the devices that do not include libnfc-nci.conf in vendor/etc,
use default libnfc-nci for GSI.

Bug: 72080121
Test: Install GSI and remove vendor/etc/libnfc-nci.conf.
      Check if nfc is available in settings menu.

Change-Id: I17d0d70f8a6515afa0c603f58cfcb61c0a3a00b0
2018-02-20 21:28:43 +01:00
Pierre-Hugues Husson
aedc5ad289 Let's switch to ro.adb.secure=1 2018-02-20 21:27:36 +01:00
Pierre-Hugues Husson
984c22d6b0 I want to be first to define properties 2018-02-20 21:27:36 +01:00
Pierre-Hugues Husson
2886155138 mount bind /system/bin/adbd /sbin/adbd before adbd starts
This is needed for master on A-only devices
2018-02-19 00:06:48 +01:00