Commit Graph

817 Commits

Author SHA1 Message Date
Enes Sastim
31f2441e0e Havoc-P 2018-08-30 11:07:55 +02:00
Pierre-Hugues Husson
30e7c4af92 Fix FDE + MTK RIL fix 2018-08-29 20:36:21 +02:00
Pierre-Hugues Husson
3e655b7c4b Edit mtk-ril to fix incoming call
https://github.com/phhusson/treble_experimentations/issues/57#issuecomment-416998086
2018-08-29 18:30:35 +02:00
Pierre-Hugues Husson
5efefba2bc Add brightness fix for mipad 4 2018-08-29 16:34:14 +02:00
Pierre-Hugues Husson
95622e6a7b Fix MTK RIL by disablimg IMS and EPDG
This isn't ideal from a user point-of-view because the device will
reboot on first boot.

Thanks a lot @Dinolek !
2018-08-28 14:53:16 +02:00
Shadowghost
82b15278ba Update lineage.mk for LineageOS 16.0 2018-08-28 08:45:01 +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
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