Recovery hacking effort for the purposes of Pris project
- ADB
- Bash
- JDK 8 (for Gradle)
- Python
Project root is in the src
directory.
make build
A file named recovery-8110.img
will be created.
Acquire ADB root on the device and then run on the PC from the working directory (needs Bash):
make backup
make deploy
adb reboot recovery
To restore, mount the partitions and run:
mv works/backups/recovery.$RANDOMID.img ./recovery-8110.img
adb deploy
The patched recovery includes Busybox-based root shell. To use it, run adb shell
.
tools/stockerize/stockerize.sh package_root package.zip
The zips will be packed and signed with the same keys recovery was generated with.