The Following 17 Users Say Thank You to itsnotabigtruck For This Useful Post: | ||
![]() |
2012-02-21
, 14:57
|
Posts: 279 |
Thanked: 293 times |
Joined on Oct 2009
@ Italy
|
#2
|
![]() |
2012-03-15
, 15:14
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#3
|
![]() |
2012-08-12
, 08:23
|
|
Posts: 218 |
Thanked: 151 times |
Joined on Dec 2011
@ Slovakia
|
#4
|
![]() |
2012-09-12
, 06:29
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#5
|
![]() |
2012-09-12
, 08:12
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#6
|
![]() |
2012-09-12
, 08:14
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#7
|
![]() |
2012-09-12
, 08:19
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#8
|
![]() |
2012-09-12
, 08:23
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#9
|
![]() |
2012-09-23
, 13:36
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#10
|
Nokia N9/950 Compressed Sparse Image (LZO) Writer
sparsify accepts a loopback filesystem image and builds a "sparse image" in the format used by Harmattan rootfs.jffs2 files. The output file can be used as input to fiasco-gen to build flashable FIASCO images. This utility is the exact opposite of ali1234's unlzo.py, and requires the same Python-LZO library in order to run (see link for more info).
Be advised that any attempt to flash images produced using this tool is entirely at your own risk.
Note that the base filename of the input file is written into the output image, so make sure to rename it to the desired value before sparsifying.
Round-tripping an original partition image using unlzo.py and sparsify will produce a different, sometimes larger, output file, as sparsify's zero-region removal logic is different from Nokia's. However, the two files will be semantically equivalent.
Usage: sparsify.py input output
Example: sparsify.py rootfs rootfs.jffs2
Download: Script
License: Do WTF You Want Public License
Last edited by itsnotabigtruck; 2012-02-21 at 14:54. Reason: fixed unlzo.py link