Open ghost opened 5 years ago
Same problem here
exactly same problem here
The same issue
same here
$ twrpabx backup.ab
Input file: 'backup.ab'
Read 512 bytes
TW ADB Backup Header type: twstreamheader
Number of partitions: 11
Read 512 bytes
Unexpected type: twimage
same issue, anyone have a quick fix?
Read 512 bytes
TW ADB Backup Header type: twstreamheader
Number of partitions: 9
Read 512 bytes
Unexpected type: twimage```
I've opened a pull request for this.
@prudy
I've opened a pull request for this.
I have built the programme using your twrpabx.cpp, but it still fails, albeit with a different error message:
Wrote 1048064 bytes
Remaining bytes in backup file: 8169466880
Read 512 bytes
Corrupt start of data header
wimage
Tried this with two different backup archives. Apparently more work is needed.
This pull request fixes only issue #7. Your problem comes from separate issue #4, please take fix for it as well (or use all-in-one from my git branch).
This pull request fixes only issue #7. Your problem comes from separate issue #4, please take fix for it as well (or use all-in-one from my git branch).
I now did compile it all from your branch, but the problem is still there. After the boot image it throws the towel with a "corrupt header" message. Are you sure that the fix is in your branch? In #4 @hrimhari says that he has a fix and will create a pull request, but I don't see that he actually has done so.
It's right there: https://github.com/arifogel/twrpabx/pull/5
By all-in-one (issue 4+7) I meant branch on my git: https://github.com/prudy/twrpabx/tree/img_and_issue4
@hrimhari @prudy a big thank you to both of you!!
I get the following error message when trying to extract a TWRP backup archive:
I previously generated this TWRP backup with the following command:
I have a Samsung Galaxy S2 i9100 phone running LineageOS.