Commit Graph

928 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
a0ca96eeeb Include gitignore to ignore generated files 2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
60dd25356d Rename huawei/backlight overlay to huawei, because it will contain other values 2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
a9a6cba4dd Force GPU profiling on Huawei as a work-around for rendering artifacts 2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
456b7b722a Include devinput overlay if qcom device 2018-05-26 13:32:44 +02:00
Pierre-Hugues Husson
6603eb0180 Build bootctl 2018-05-26 13:30:17 +02:00
Pierre-Hugues Husson
47ab64bbde Replace more softkeymaster, some 8.1 devicesrequires this 2018-05-26 11:26:33 +02:00
Pierre-Hugues Husson
639dd35ed5 [opengapps] Don't set google experimental camera features 2018-05-26 00:28:46 +02:00
Pierre-Hugues Husson
77157661cb Prefer round icon 2018-05-26 00:20:27 +02:00
Pierre-Hugues Husson
1474d2f0d2 De-dup file, this is set by vendor/hardware_overlay 2018-05-26 00:10:05 +02:00
Pierre-Hugues Husson
6db5159dda Let user decide whether he wants to disable LED 2018-05-20 01:20:23 +02:00
Pierre-Hugues Husson
a70b26943b Don't fail script if resize2fs fails 2018-05-19 22:10:30 +02:00
Pierre-Hugues Husson
5125a91128 Enable AutoPowerModes
The doc says that this should be enabled only if you a GCM or something
alike. So possibly we don't want this on FOSS/Vanilla variant

Fixes https://github.com/phhusson/treble_experimentations/issues/40
2018-05-19 19:09:46 +02:00
Pierre-Hugues Husson
1b5659be4f Fix restart only when started 2018-05-19 18:43:25 +02:00
Pierre-Hugues Husson
b139f72be4 Fix trustkernel keystore/gatekeerp
TEE requires that ro.product.model is either original, or "AOSP on armxx"
sed in-place
I had to move from /dev to /mnt, because /dev is nosuid
2018-05-19 16:54:30 +02:00
Pierre-Hugues Husson
63b2403f9f Enable Huawei fast/quick charge. Thanks @Flex1911 and @OldDroid 2018-05-19 15:49:45 +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
e5bf6a5c2a Allow system_server => su grep 2018-05-19 13:39:22 +02:00
Pierre-Hugues Husson
bf886321ea Check if there is a fingerprint HAL before declaring fingerprint feature 2018-05-18 15:09:30 +02:00
Pierre-Hugues Husson
a8ead1aa88 Fix Go suffix 2018-05-18 14:59:22 +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
eafd73a5e2 Don't dexpreopt gapps-go 2018-05-17 23:32:26 +02:00