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)

hedayat 2012-10-20 18:14

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Last night, I've created my own version of sparsify.py at http://hedayat.fedorapeople.org/scripts/my_sparsify.py

However, today a friend of mine(HAMIDx9) gave me a link to the origianl sparsify.py: http://hamidx9.ir/download/sparsify.py_.tar.gz

hedayat 2012-10-22 20:23

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
I wonder why my posts doesn't go through, but anyway I have written my own version of sparsify.py, and also (later) I was able to get the original version from a friend. I wonder if I'm not permitted to send any links?!

hedayat 2012-10-22 20:26

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Let's see if I can post links.
My own version: http://hedayat.fedorapeople.org/scripts/my_sparsify.py

Original version (given by HAMIDx9): http://hamidx9.ir/download/sparsify.py_.tar.gz

hedayat 2012-10-22 20:28

Re: [Announce] sparsify - N9/950 Compressed Sparse Image (LZO) Writer
 
Let's see if I can post links as normal text.

My own version: http://hedayat.fedorapeople.org/scripts/my_sparsify.py

Original version (given by HAMIDx9): http://hamidx9.ir/download/sparsify.py_.tar.gz

lzs2000131 2012-11-24 09:00

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

Originally Posted by itsnotabigtruck (Post 1167596)
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

Could you reupload the script to another site,No access to this site in my region.Thank you!


All times are GMT. The time now is 14:34.

vBulletin® Version 3.8.8