Commit Graph

464 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
f6ccfe0865 ANDROID_PRODUCT_OUT is obsolete. use PRODUCT_OUT instead 2018-02-18 15:19:17 +01:00
Pierre-Hugues Husson
fb0cb0c690 Allow vold to delete /data/user/0 if he thinks it is useful 2018-02-17 19:41:09 +01:00
Pierre-Hugues Husson
8b6339387f Set ro.sys.sdcarfs to 0 for the moment. 8.0 sdcardfs has been seen kernel panicing on 8.1 on MTK and QC platforms 2018-02-16 23:08:01 +01:00
Pierre-Hugues Husson
095c95be3c Stop defining ro.build.version.release, this prevents huawei's keymaster from working 2018-02-16 23:06:28 +01:00
Pierre-Hugues Husson
8a07d2c495 Auto detect vndk based on vendor SELinux policy 2018-02-16 22:41:03 +01:00
Pierre-Hugues Husson
dd2fd573fa Use a phhgsi_xxx device instead of Treble standard ones, to be able to increase system.img 2018-02-16 21:41:24 +01:00
Pierre-Hugues Husson
8fe3900c00 Fix fingerprint 2018-02-15 21:11:16 +01:00
Pierre-Hugues Husson
69e944cbc7 Allow SP-HALs to use android.hidl.base@1.0 and libion 2018-02-15 01:01:41 +01:00
Pierre-Hugues Husson
fb368c6aaa Add known mtk device 2018-02-14 23:06:31 +01:00
Pierre-Hugues Husson
5fcaeb3f82 Make vndk versioned 2018-02-14 22:06:04 +01:00
Pierre-Hugues Husson
51d142c328 Include more properties override. fingerprint makes it possible to update databases! 2018-02-12 19:56:28 +01:00