![]() |
2012-10-22
, 20:23
|
Posts: 165 |
Thanked: 625 times |
Joined on Oct 2012
|
#12
|
![]() |
2012-10-22
, 20:26
|
Posts: 165 |
Thanked: 625 times |
Joined on Oct 2012
|
#13
|
![]() |
2012-10-22
, 20:28
|
Posts: 165 |
Thanked: 625 times |
Joined on Oct 2012
|
#14
|
The Following 2 Users Say Thank You to hedayat For This Useful Post: | ||
![]() |
2012-11-24
, 09:00
|
Posts: 4 |
Thanked: 0 times |
Joined on Nov 2012
@ China
|
#15
|
s p a r s i fy
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
However, today a friend of mine(HAMIDx9) gave me a link to the origianl sparsify.py: http://hamidx9.ir/download/sparsify.py_.tar.gz