Commit Graph

3 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
6b9cb2af4d [twrp] Support Samsung partitions 2018-07-23 22:16:46 +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