Commit Graph

149 Commits

Author SHA1 Message Date
Milan Kragujević bb8623c559
Fix bootanimation on Oreo GSIs 2018-11-28 12:32:13 +01:00
Milan Kragujević d69d0ee67b
Add libmtk-ril.so to AT+EAIC patch in rw-sytem.sh 2018-11-28 12:31:24 +01:00
James Muir 44de60f56c Add missing "="
Fix the base64 encoded of the x509 cert for Google Webview.

You can check this by doing a base64-decode and then using openssl:

  openssl x509 -in gwv.der -inform DER -text -noout
2018-10-10 10:31:30 +02:00
Pablo 9ece067361 Ignore vendor SysuiDarkThemeOverlay.apk
Fixes buggy dark theme on jasmine
2018-09-28 19:23:56 +02:00
Pierre-Hugues Husson b27a9affd2 Allow to add multiple inherit entries 2018-09-05 11:09:33 +02:00
Pierre-Hugues Husson 3e0f024cad Include Xiaomi Mi 6X in 12bits backlight devices 2018-09-05 11:07:50 +02:00
Pierre-Hugues Husson afff20d8a4 Disable fingerprint buttons on Mi Mix 2S (cf bug #144) 2018-09-05 11:07:42 +02:00
Pierre-Hugues Husson b01ca6ae48 Override keylayouts on S9/Note9 to include assistant button, and hard press on home to wake up 2018-09-05 11:07:37 +02:00
Pierre-Hugues Husson bdbd72c7da Fix FDE + MTK RIL fix 2018-08-29 20:38:16 +02:00
Pierre-Hugues Husson 99d0cda107 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-29 20:38:11 +02:00
Pierre-Hugues Husson 4ba8184713 Edit mtk-ril to fix incoming call
https://github.com/phhusson/treble_experimentations/issues/57#issuecomment-416998086
2018-08-29 18:38:36 +02:00
Pierre-Hugues Husson e4185d0cb0 Add brightness fix for mipad 4 2018-08-29 18:38:31 +02:00
AndroPlus 006a105a32 Add hack to fix Bluetooth audio on LineageOS-based custom roms
thanks bgcngm
2018-08-28 00:06:32 +02:00
Pierre-Hugues Husson 7e339c7b92 empty mount vendor's dark theme 2018-08-27 10:26:59 +02:00
Pierre-Hugues Husson 76abd6cb76 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:26:55 +02:00
Pierre-Hugues Husson 85658e55b3 Add option to pass a path to an mk in generate.sh 2018-08-27 10:26:34 +02:00
James Muir ddd243d375 Trivial. Drop extra "libion.so"
the library libion.so is already listed.
2018-08-08 20:02:58 +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
Alexander Pohl 0fc7b6135b
Point to the real gapps overlay dir 2018-06-14 18:41:25 +02:00
Pierre-Hugues Husson 401eb2215a Add various framework-res values overlay 2018-06-11 22:44:10 +02:00
Pierre-Hugues Husson 7d3f700d19 Include some framework-res overrides for gapps 2018-06-11 22:41:14 +02:00
Pierre-Hugues Husson 19ce2265e5 Detect qcom extended brightness and set a property based on this, to be used by framework 2018-06-10 22:54:14 +02:00
Pierre-Hugues Husson c09149f86b fixSPL: More robust partition matching
OP6 has a partition called boot_aging. It would get matched instead of
boot_a when on slot A
2018-06-08 19:13:08 +02:00
Pierre-Hugues Husson 72e91c7933 Revert "Allowe system_app to access UEvent"
This reverts commit 615c724fee.

This doesn't compile, and actually I intented to target platform_app,
which already have this permission.
2018-06-07 16:46:16 +02:00
Pierre-Hugues Husson 615c724fee Allowe system_app to access UEvent 2018-06-07 14:30:47 +02:00
Pierre-Hugues Husson b01b148356 Mark slot as succesfully booted on boot completed
Fixes #55
2018-06-06 23:47:14 +02: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 7e5d147712 arm target uses binder32 vndk 2018-06-01 10:12:22 +02:00
Pierre-Hugues Husson ec16488612 SPL override for moar libs 2018-05-31 23:06:15 +02:00