extfstools icon indicating copy to clipboard operation
extfstools copied to clipboard

ext2dump.exe failed to extract system.img.ext4

Open weijen6 opened this issue 3 years ago • 5 comments

https://samfrew.com/download/GALAXY__Note3__/nO5r/TPL/N9005XXSGBRI2/N9005TPLGBRJ1/

weijen6 avatar Feb 02 '21 05:02 weijen6

it will work with ext2rd.

problem is that ext2dump is quite old, I just kept it around for historical reasons. now deleted from the repository to avoid confusion.

nlitsme avatar Feb 02 '21 13:02 nlitsme

ext2rd dump failed. what should i do? C:\extfstools>ext2rd.exe system.img.ext4 ./:testdir sparse: v00000001 h:001c c:000c b:00001000 nblk:00090000 ncnk:00000fea, cksum:00000000 end of sparse: 90000000 4074 entries in sparse map first: 0-1000: copy from 28 last: 8b18a000-90000000: fill with 00000000 EXCEPTION - did you specify -B for a block device? ERROR (2)No such file or directory: appending testdir/./VODB/lib/libMyScript2D.so

weijen6 avatar Feb 02 '21 14:02 weijen6

ext2rd will now create directories on windows.

But there still seems to be another problem, you will get 'blocknr too large' during extraction. also, if you look at the output of 'ext2rd -d system.img' you will notices at some point you get invalid data.

I am looking into this.

nlitsme avatar Feb 03 '21 08:02 nlitsme

I think the problem is in this ext4fs feature, which is not yet supported by ext2rd:

  • Flexible block group metadata location (EXT4_FEATURE_INCOMPAT_FLEX_BG)

nlitsme avatar Feb 03 '21 08:02 nlitsme

Note that I will not solve this right away, it may be a while before I have time to do this.

nlitsme avatar Feb 03 '21 09:02 nlitsme