maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer (https://talk.maemo.org/showthread.php?t=82471)

itsnotabigtruck 2012-02-21 00:38

[Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
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

admiral0 2012-02-21 14:57

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
What next? custom ROMs?

coderus 2012-03-15 15:14

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
nice tool for backuping, thanks

Rusnak-COBRA 2012-08-12 08:23

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
okay guys, anyone used it? worth trying? safe?

wook_sf 2012-09-12 06:29

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
anyone can reupload script?

thedead1440 2012-09-12 08:12

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
wook did you try with unlzo.py as linked in the first post?

wook_sf 2012-09-12 08:14

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Quote:

Originally Posted by thedead1440 (Post 1265160)
wook did you try with unlzo.py as linked in the first post?

"This utility is the exact opposite of ali1234's unlzo.py" and i am lazy to rewrite :D

thedead1440 2012-09-12 08:19

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Common wook ;) its a small script you can surely do it for everyone :D

wook_sf 2012-09-12 08:23

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Quote:

Originally Posted by thedead1440 (Post 1265164)
Common wook ;) its a small script you can surely do it for everyone :D

lazy
it would require to edit unlzo.py, read it and understand it...and then to write it, that's pretty borring procedure because outcome is not something too special, so...huh :D i am lazy
but, if no one reupload...i will have to...;) :D
so...let's wait little bit longer :D

www.rzr.online.fr 2012-09-23 13:36

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
do u have a copy of :

https://endno.de/~itsnotabigtruck/sparsify.py

?


All times are GMT. The time now is 19:36.

vBulletin® Version 3.8.8