The source project of this merge request has been removed.
Draft: Rewrite update-binary script to support A/B and dynamic partitioning
Loosely based on update-binary
from MindTheGapps
How to test:
- Download the latest OTA Zip.
- Download the modified
update-binary
(direct download link). - Inside the Zip, replace
META-INF/com/google/android/update-binary
with the modified version.- You may need to manually extract, modify, and re-compress the Zip archive depending on what software you use. Make sure to maintain the same directory structure as the original Zip.
- Flash the modified Zip in recovery mode as normal.
Current status (based on limited testing):
- Works with A/B-partitioning
- Works with dynamic partitions
- Fails with certain non-A/B devices (old script worked)
TODO:
-
Better logging -
If possible, verify successful installation and fall back on old method -
Investigate issues with known-failing devices
Supersedes: !65 (closed), !61, !54 (closed)
Should resolve: #81 (main issue thread), #79, #75, #73, #71, #69, #64, #62
Edited by wj25czxj47bu6q