Reply
Thread Tools
Posts: 18 | Thanked: 50 times | Joined on Oct 2012
#11
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
 
Posts: 18 | Thanked: 50 times | Joined on Oct 2012
#12
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?!
 
Posts: 18 | Thanked: 50 times | Joined on Oct 2012
#13
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
 
Posts: 18 | Thanked: 50 times | Joined on Oct 2012
#14
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
 

The Following 2 Users Say Thank You to hedayat For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Nov 2012 @ China
#15
Originally Posted by itsnotabigtruck View Post
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!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:55.