Lanchon / REPIT

A Device-Only Data-Sparing Repartitioning Tool For Android
159 stars 25 forks source link

"flashize-ext: unable to extract package contents" #53

Open Lanchon opened 7 years ago

Lanchon commented 7 years ago

this is a recovery bug. it occurs on TWRP builds that include busybox builds that cannot unzip whole-file-signed zips.

whole-file-signed zips are the kind of signed zips that have always been used on Android, both as APKs (verified by android) and OTAs (verified by recovery). they are typically produced using this AOSP tool.

i will not produce unsigned builds for these defective recoveries.

workaround:

just unzip your chosen REPIT zipfile to a directory on your PC or phone and zip it again to a new zipfile. make sure that the process retains the exact directory structure. in particular, make sure that no extraneous root directory is introduce in the new zip file.

FYI, an unsigned version of the device dump tool was added in commit 04fa0e308999411b59e780be9d008b5369d1119d.