Question QFIL/EDL Error: Unknown chunk type cac2

Search This thread

Renate

Recognized Contributor / Inactive Recognized Dev
Unknown chunk type cac2

Ha, ha, I know this one.
Some implementations of sparse file handling don't know about 0xcac2 (fill operation).

You can get an updated utility or simply un-sparsify on your desktop.
Then you can flash a non-sparse file.
Look for a utility called "simg2img".
I've got my own Windows version in my sig.
 
  • Like
Reactions: pnin

Renate

Recognized Contributor / Inactive Recognized Dev
Well, that looks fine.
Apparently your antiquated tools don't understand 0xcac2 chunks and they don't like 4 GB image files.
sizeof(4GB file)==0 using (32 bit math)

Since they've got 3.9 GB of don't care at the end we can chop that off.
Code:
C:\>copy userdata.img userdatamod.img
C:\>modfile userdatamod.img /l 14 1b
[00000014] 0000001c => 0000001b
C:\>simg2img userdatamod.img raw.img

Yeah, yeah, you probably don't have modfile. Just use any hex editor.
The result of unsparsifying should be 175,357,952

Or find an updated utility.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Unknown chunk type cac2

    Ha, ha, I know this one.
    Some implementations of sparse file handling don't know about 0xcac2 (fill operation).

    You can get an updated utility or simply un-sparsify on your desktop.
    Then you can flash a non-sparse file.
    Look for a utility called "simg2img".
    I've got my own Windows version in my sig.