View Single Post
Old 02-03-2010, 05:17 AM   #44
paul1981
Junior Member
paul1981 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2010
Device: Hanlin v5
Quote:
Originally Posted by Qbspin View Post
The problem mounting the V5 ro.fs and root.fs is the cramfs format used by Jinke. The first modification to cramfs standard is the offset size, changed to 32 bits, so the i-node length is 16 bytes (and 12 in standard). A modified version of fsck.cramfs is needed to decompress the files in these images.

If you are interested I can show you the code and another "special" structure included in root.fs (but not in ro.fs).

Regards

QB
Hello,

Qbspin, I'm trying to decompress the firmware of the Hanlin v5 provided by Jinke but I'm having problems because of the cramfs version used (as you mentioned). I'm able to mount root.fs.v5 on a local directory, but when I try to untar something on it I get an I/O error. I'm using this firmware tools.

Were you able to do this by modifying that fsck.cramfs? Could you please explain us how you did it?

Thanks a lot,
paul1981 is offline   Reply With Quote