Commit Graph

76 Commits

Author SHA1 Message Date
Pierre-Hugues Husson 2069acbbc1 Add android.hidl.manager@1.0 lib. This is used by treble app to detect hostapd presence 2019-12-04 23:42:15 +01:00
Pierre-Hugues Husson dcb6f64f42 Add support for Lenovo Z5 dt2w 2019-11-01 18:30:18 +01:00
Pierre-Hugues Husson 09f46d0192 Support Nokia 4.2 assistant button 2019-10-26 21:07:58 +02:00
Andy CrossGate Yan 3a32e685d1 Add privapp-permissions whitelist for PhhTrebleApp 2019-10-26 21:07:46 +02:00
Pierre-Hugues Husson 82d65bd4c3 Add asus-motor, to be called from cameraserver to control ZF6 cam 2019-10-01 13:32:49 +02:00
Pierre-Hugues Husson a1527b0b28 Don't include sas stuff on non-sas target 2019-09-26 22:24:54 +02:00
Pierre-Hugues Husson d3f427ccd3 Various a-only fixes:
Create apex folder
Create mnt/storage/full
Create /product symlink
Start apex
Override zygote
2019-09-12 20:58:32 +02:00
Pierre-Hugues Husson a5d9f5a7f6 Android 10 by default thinks the device cant have a lockscreen... 2019-09-09 01:14:12 +02:00
Pierre-Hugues Husson c80de8d3fe Add phh-securize.sh to switch to `user` build, copy vendor fingerprint, and tighten adb security 2019-08-22 00:35:41 +02:00
Pierre-Hugues Husson c323b7e9b9 Revert "Force lawnchair instead of AOSP launcher"
This reverts commit 4b1aea0437.

This broke navigation gestures, with no easy fix
2019-08-06 15:51:21 +02:00
Pierre-Hugues Husson 5dc6a4573a Add bluetooth in the list of features to check HIDL manifest for, to trigger packagemange feature 2019-07-17 20:12:47 +02:00
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