Commit Graph

22 Commits

Author SHA1 Message Date
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
76e806921c Set ro.adb.secure earlier, because vendor might override us 2018-03-27 23:39:49 +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
3afca900ad Add init.treble-environ.rc to properly setup bootclasspath/serverclasspath 2018-03-04 21:36:55 +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
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
Pierre-Hugues Husson
f6ccfe0865 ANDROID_PRODUCT_OUT is obsolete. use PRODUCT_OUT instead 2018-02-18 15:19:17 +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
8fe3900c00 Fix fingerprint 2018-02-15 21:11:16 +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
a8645acd0e [ugly] ::Huawei:: Declare telephony, because huawei. 2017-12-28 00:59:00 +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
cdf726b0fd Add a script to generate various build variants 2017-12-17 18:13:06 +01:00
Pierre-Hugues Husson
1cbdf550d8 Initial commit 2017-12-17 17:46:37 +01:00