Commit Graph

115 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
4b1aea0437 Force lawnchair instead of AOSP launcher 2019-07-03 09:21:17 +02:00
AndyCGYan
91cd65dcdc Build xiaomi-motor
Serves as a manual/intermediate solution to https://github.com/phhusson/treble_experimentations/issues/539

Change-Id: Ia334f7d106b121014c791b0edb06b59a0eef3580
2019-06-06 06:48:26 +00:00
Pierre-Hugues Husson
52d4d73146 Include sim toolkit app 2019-03-14 12:59:54 +01:00
Pierre-Hugues Husson
908dd917b6 Fix incoming SMS and mobile data on MT6379 2019-02-26 23:15:51 +01:00
Hackintosh 5
3edd4b1605 Makefile configuration for huawei charger 2019-01-11 19:05:42 +00:00
Pierre-Hugues Husson
26a5b8fd13 Fix syntax 2019-01-08 14:39:22 +01:00
penn5
3c9d658c9b Update base.mk
Copy libnfc-nci-huawei.conf
2019-01-04 14:01:47 +00:00
Pierre-Hugues Husson
25e6438ba5 Update twrp.sh OTA with xz and sparse image support 2018-12-09 23:24:26 +01:00
Pierre-Hugues Husson
dd40ddcf1c Merge branch 'android-9.0-mix3' of https://github.com/AndroPlus-org/device_phh_treble into android-9.0 2018-12-03 22:07:10 +01:00
Pierre-Hugues Husson
71cea41aa0 Install lightsctl and uevent debugging tools by default 2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
82aeb3d402 Fix adbd on devices with integrity check
Some devices (Like Samsung Galaxy J6) has integrity check.
This means that all files outside of /system are signed by the OEM.
Since we replaced /sbin/adbd, that's an issue.
Workaround this by creating a new service, called adbd_system, which
will called instead of /sbin/adbd when needed
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
c2b6687a5a Force ro.logd.auditd to true (set to false by Samsung vendor) 2018-12-03 22:06:32 +01:00
AndroPlus
ebce78113a Add keylayout to use additional button on Mi MIX 3
AI button is useless in AOSP, so use it as camera key instead
2018-11-23 20:35:46 +09:00
Pierre-Hugues Husson
c0ba937fd5 Revert "Also set build display id in etc/local.prop"
This reverts commit ab0defc922.

It didn't work
2018-11-21 10:07:08 +01:00
Pierre-Hugues Husson
ab0defc922 Also set build display id in etc/local.prop 2018-11-18 22:36:00 +01:00
Tadi
1d3bc574ef Add universal NoCutoutOverlay 2018-11-08 21:00:11 +01:00
Pierre-Hugues Husson
31e189a7d0 Add floating_feature.xml overwrite for S9/N9. Currently it declares Stereo feature 2018-11-06 20:58:37 +01:00
Pierre-Hugues Husson
67839a24e2 [Galaxy Note 9] Fix improper S-Pen rotation 2018-11-04 18:20:25 +01:00
Pierre-Hugues Husson
5b04034d90 Include back fingerprint.kl, which has been removed after vendor/hardware_overlay cleanup 2018-10-02 23:56:42 +02:00
Dil3mm4
f489554e06 Huawei: Changing USB configuration to avoid HiSuite wasn't enough 2018-09-27 15:02:47 +00:00
Pierre-Hugues Husson
b544b15e68 Get back to allowing "rild" universally
This requires to drop a checkpolicy, because checkpolicy doesn't allow
multiple identical domains definition, and "rild" will be defined both
in system and vendor.
This isn't optimal, but that's still the best solution I've found.
2018-09-18 11:16:19 +02:00
Pierre-Hugues Husson
61f745995c Replace libnfc-nci.conf with Oreo's on Oreo vendor devices
As of pie the previous PRODUCT_COPY_FILES line was ignored because
it got copied from device/generic/common/nfc/libnfc-nci.conf instead
2018-09-17 14:10:29 +02:00
Pierre-Hugues Husson
3f1fb0d20b OP6: Keylayout to support dt2w 2018-09-10 00:32:11 +02:00
Pierre-Hugues Husson
7afea6fe95 Override keylayouts on S9/Note9 to include assistant button, and hard press on home to wake up 2018-09-03 14:58:26 +02:00
Pierre-Hugues Husson
465f92f67f Include an XML to describe how to load interfaces java libs 2018-08-27 23:23:37 +02:00
Pierre-Hugues Husson
8d4e78370e Include current interfaces as framework jar, to be used by apps 2018-08-27 00:38:11 +02:00
Pierre-Hugues Husson
69a4b69ff7 Revert "Include consumerir feature, disable dynamically if not present"
This reverts commit 1936b6256e.

Many devices are not booting because of this, saying the feature is
present, but not the HAL.
I'm unsure why yet, but this feature is not worth the trouble.
2018-08-20 10:58:38 +02:00
Pierre-Hugues Husson
572aad9d57 typo 2018-08-16 17:29:55 +02:00
Pierre-Hugues Husson
3f96b1903b Include exfat if source is present 2018-08-16 17:00:28 +02:00
Pierre-Hugues Husson
bb592d860a Use AOSP ld.config.26.txt 2018-08-14 20:02:11 +02:00
Pierre-Hugues Husson
425290a949 typo 2018-07-23 21:37:40 +02:00
Pierre-Hugues Husson
9c37ec0bcd Off-computer updater/flasher for A-only without recovery
How to use:
- Push UNSPARSED system.img to /sdcard
- Create file /cache/phh/flash
- Create block.map:
$ uncrypt /data/media/0/system.img /cache/phh/block.map
- Reboot

This is done by copying /system to a tmpfs, then killing all services,
moving /system to /dev/old-system, unmounting it, then applying
uncrypt's block.map

Tested devices as of today:
- Blackview A20
- Huawei Mate 9
2018-07-23 15:38:12 +02:00
Dil3mm4
475fc60e4b Missing renaming on service-cleaner
Related to commit aea1926
2018-07-20 15:39:38 +02:00
Dil3mm4
bbc4d30e85 Abolish Huawei HiSuite (and maybe other OEM stuff) (#19)
This is done by specifying default usb configuration
2018-07-15 14:18:35 +02:00
Song Fuchang
0b87f3f870
Add NfcNci package to PRODUCT_PACKAGES
This fixes NFC on LineageOS on Xiaomi MIX 2S.
2018-06-24 21:46:45 +08:00
Pierre-Hugues Husson
8ccedd2598 Typo for bootctl (thanks Jim_) 2018-06-06 15:28:28 +02:00
Pierre-Hugues Husson
e486629583 Include "vintf" tool, useful to debug system/vendor mismatch 2018-06-06 15:28:07 +02:00
Pierre-Hugues Husson
6603eb0180 Build bootctl 2018-05-26 13:30:17 +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
36e63f8a80 Move vndk include in generate.sh, to only include vndk32 in arm 2018-05-18 13:52:14 +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
08a31770cf I need an empty system file for later mount bind 2018-05-14 13:36:26 +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
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