Commit Graph

255 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
9f92f9e233 This breaks (stupid) keymaster 2018-02-11 21:07:15 +01:00
Pierre-Hugues Husson
5f2ba98975 Set ro.build.version.security_patch and ro.build.version.sdk in system/etc/prop.default 2018-01-27 17:52:23 +01:00
Pierre-Hugues Husson
5414900380 Include vndk 2018-01-03 22:39:00 +01:00
Pierre-Hugues Husson
bce1ca56d9 Includes a base-pre.mk for pre-pending COPY_FILES 2017-12-30 18:53:40 +01:00
Pierre-Hugues Husson
a8645acd0e [ugly] ::Huawei:: Declare telephony, because huawei. 2017-12-28 00:59:00 +01:00
Pierre-Hugues Husson
b91085d281 Fix substratum 2017-12-21 23:20:52 +01:00
Pierre-Hugues Husson
fbb8573c74 Oops, failed to properly add fingerprint hw feature 2017-12-21 13:31:38 +01:00
Pierre-Hugues Husson
748277cb08 Rename ab to b, to have fixed length variants 2017-12-19 13:10:47 +01:00
Pierre-Hugues Husson
40ae10433e Add su option 2017-12-19 13:08:26 +01:00