android-simg2img icon indicating copy to clipboard operation
android-simg2img copied to clipboard

Invalid sparse file format at header magic Failed to read sparse file.

Open prakash2033 opened this issue 4 years ago • 9 comments

image

Why do I get above error when i use simg2img?

Please help and suggest, its quite important file.

prakash2033 avatar Nov 06 '20 20:11 prakash2033

Same issue here

alexenferman avatar Dec 24 '20 21:12 alexenferman

the same for android 10 build

ajdevy avatar Feb 21 '21 16:02 ajdevy

same

Keyezi avatar Aug 20 '22 01:08 Keyezi

Any solution ?

khurshid-alam avatar Aug 08 '23 13:08 khurshid-alam

Same problem, any idea ?

Watchwolf avatar Oct 19 '23 11:10 Watchwolf

For boot.img there is unversal Android Image Kitchen (on Linux) works for every rom. Same for recovery. Just search in xda forum.

For system images or extracted userdata images which are sparse images, they will never work on linux with broken tools like simg2img etc. Moto even add header and footer to the system images which needs to be removed before mounting in linux.

On windows there are sparseconverter which works even for non chunk images. And then you can pull data with image extractor.

You can download from cooments on this video. https://youtu.be/IgkD0idT7EI

khurshid-alam avatar Oct 19 '23 11:10 khurshid-alam