Commit Graph

911 Commits

Author SHA1 Message Date
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
bdda647078 empty mount vendor's dark theme 2018-08-27 10:25:27 +02:00
Pierre-Hugues Husson
b038cf4143 Some devices declare boot hal, but doesn't have it. Put bootctl at the end until I get a better fix 2018-08-27 10:24:23 +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
be0b90541d We need to be setuid to allow transitions 2018-08-21 23:23:49 +02:00
Pierre-Hugues Husson
b284445668 Allow vendor_init to load kernel modules 2018-08-21 12:07:18 +02:00
Pierre-Hugues Husson
17e27d8149 Add option to pass a path to an mk in generate.sh 2018-08-20 22:24:32 +02:00
Pierre-Hugues Husson
34e58e0456 Oops, delete useless changer 2018-08-20 21:10:00 +02:00
Pierre-Hugues Husson
59b9ac8d75 At the end of the day, Samsung keystore seem fine 2018-08-20 21:06:32 +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
20d38353ee Some P goodies 2018-08-19 16:42:45 +02:00
Pierre-Hugues Husson
36c254eca4 Add qti.ims.ext context (will it conflict when it is in /vendor?) 2018-08-19 16:42:21 +02:00
Pierre-Hugues Husson
5f6b88c758 HACK: Allow access to 27 sphal on vndk 26. system will try to load 27's android.hidl.memory instead of 26's 2018-08-19 12:35:34 +02:00
Pierre-Hugues Husson
cafafc5934 Fix QtiAudio 2018-08-17 23:43:53 +02:00
Pierre-Hugues Husson
cef477ef5b As of P init, /mnt is noexec. Mount our own tmpfs 2018-08-17 13:33:31 +02:00
Pierre-Hugues Husson
572aad9d57 typo 2018-08-16 17:29:55 +02:00
Pierre-Hugues Husson
df25576594 exfat fsck/mkfs selinux label 2018-08-16 17:14:13 +02:00
Pierre-Hugues Husson
3f96b1903b Include exfat if source is present 2018-08-16 17:00:28 +02:00
Pierre-Hugues Husson
986fa4cd0b Set usb aio compat for everyone
Too many different devices have this problem:
- Galaxy S9
- Razer phone
- Amlogic
2018-08-16 14:59:26 +02:00
Pierre-Hugues Husson
b2586b17f6 Enable swipe up gesture (disabled by default) 2018-08-16 13:57:01 +02:00
Pierre-Hugues Husson
ca106f5bec Fix boot on Huawei View 10 2018-08-15 12:26:01 +02:00
Pierre-Hugues Husson
59615488b1 Keystore is broken on S9 2018-08-14 20:02:41 +02:00
Pierre-Hugues Husson
6a1961a026 Galaxy S9 doesnt support asynchronous io on functionfs 2018-08-14 20:02:34 +02:00
Pierre-Hugues Husson
bb592d860a Use AOSP ld.config.26.txt 2018-08-14 20:02:11 +02:00
Pierre-Hugues Husson
d1a0b0b955 p wip 2018-08-12 23:41:19 +02:00
Pierre-Hugues Husson
45a98a37cc P WIP 2018-08-12 21:31:47 +02:00
Pierre-Hugues Husson
341d5d9e59 P WIP 2018-08-07 13:09:49 +02:00
Pierre-Hugues Husson
c0fbb023db P WIP 2018-08-07 12:50:47 +02:00
Pierre-Hugues Husson
7b82dab9d2 P WIP 2018-08-07 12:49:42 +02:00
Pierre-Hugues Husson
d19317f418 Revert "Decrease size of system partition"
This reverts commit 8eb18c7929.

Keeping this size is getting harder and harder
Sorry old devices...
2018-08-06 18:17:10 +02:00
Pierre-Hugues Husson
64b63dfc5c Fix tether for some Qualcomm devices [selinux part]
Fixes https://github.com/phhusson/treble_experimentations/issues/131
2018-08-02 15:01:10 +02:00
Pierre-Hugues Husson
eb2b482ac2 Enable ambiant display for everyone 2018-08-01 00:40:28 +02:00
Pierre-Hugues Husson
6b9cb2af4d [twrp] Support Samsung partitions 2018-07-23 22:16:46 +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
Pierre-Hugues Husson
aea7c39d02 Add busybox
From https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-armv7l
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
Pierre-Hugues Husson
aea19262a0 Rename service-claner to phh-on-boot and move bootctl mark-boot-successful to phh-on-boot and add a conditional start 2018-07-18 23:48:33 +02:00
Pierre-Hugues Husson
bb82498d1c Fix https://github.com/phhusson/treble_experimentations/issues/68 2018-07-17 18:03:15 +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
Dil3mm4
db80eb1c21 Differentiate QC values for HI6250 and HI36x0 platform (#18)
The previous set values are not compatible over HI6250 platform.
They were causing thermal issues.
This differentiation is needed to avoid the "hot-pan" occurrence.
Tested on ANE-LX1.
2018-07-09 08:29:30 +02:00
Pierre-Hugues Husson
361aedfd20 night mode is slow on mt6580 as well 2018-07-02 00:22:27 +02:00
Pierre-Hugues Husson
3711fd50e8 Detect Wifi 5G on MTK 2018-07-01 23:06:11 +02:00
Pierre-Hugues Husson
18fb7ed72f Night mode is awfull slow on Cubot X18 Plus. For the moment just blacklist the device, but needs to know whether this is the chipset, or chipset + screen 2018-07-01 23:05:18 +02:00
Pierre-Hugues Husson
9b1ab76f44 Add SELinux policy to access qualcomm audio HAL on Pixel-s 2018-06-29 00:31:19 +02:00
Pierre-Hugues HUSSON
6fedb4d2cb
Merge pull request #16 from notsyncing/android-8.1
Add NfcNci package to PRODUCT_PACKAGES
2018-06-24 15:57:43 +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
c9b139187f Resize userdata on OP6
We'll probably want to do that for other devices as well
But this requires /data to be available at that time.
That's probably true only for FBE devices, not FDE.
Also, we might not want to do that on all devices
So for the moment, do it only on OP6
2018-06-15 15:03:06 +02:00
Pierre-Hugues Husson
f099635304 Add config_webview_packages including both AOSP webview and gapps webview 2018-06-15 13:01:16 +02:00
Pierre-Hugues HUSSON
efcc37ddb6
Merge pull request #12 from OldDroid/patch-2
Point to the real gapps overlay dir
2018-06-14 19:02:43 +02:00