Reply
Thread Tools
Posts: 245 | Thanked: 891 times | Joined on Feb 2012
#1
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

Last edited by itsnotabigtruck; 2012-02-21 at 14:54. Reason: fixed unlzo.py link
 

The Following 16 Users Say Thank You to itsnotabigtruck For This Useful Post:
Posts: 278 | Thanked: 288 times | Joined on Oct 2009 @ Italy
#2
What next? custom ROMs?

Last edited by admiral0; 2012-02-21 at 18:45.
 
coderus's Avatar
Posts: 3,602 | Thanked: 5,278 times | Joined on Nov 2011 @ Russia
#3
nice tool for backuping, thanks
 
Rusnak-COBRA's Avatar
Posts: 214 | Thanked: 144 times | Joined on Dec 2011 @ Slovakia
#4
okay guys, anyone used it? worth trying? safe?
__________________
Symbian, MeeGo & webOS fan (Jolla? Tizen? B2G? Ubuntu for Phone?), SmartMobil.sk editor-in-chief
BB Z10 & N950 Dev black & N950 Proto B2 silver & N9 16GB + 64GB & N900 & E7 & N8 & C7 & PlayBook & TouchPad & Veer & Lumia 800
http://facebook.com/RUSNAK | http://twitter.com/RusnakCOBRA | Mobile Phones MUSEUM, over 2060 pieces
 
wook_sf's Avatar
Posts: 640 | Thanked: 412 times | Joined on Oct 2011 @ rajvoSa BA
#5
anyone can reupload script?
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 
Moderator | Posts: 6,152 | Thanked: 6,033 times | Joined on Nov 2011
#6
wook did you try with unlzo.py as linked in the first post?
 
wook_sf's Avatar
Posts: 640 | Thanked: 412 times | Joined on Oct 2011 @ rajvoSa BA
#7
Originally Posted by thedead1440 View Post
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
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 
Moderator | Posts: 6,152 | Thanked: 6,033 times | Joined on Nov 2011
#8
Common wook its a small script you can surely do it for everyone
 
wook_sf's Avatar
Posts: 640 | Thanked: 412 times | Joined on Oct 2011 @ rajvoSa BA
#9
Originally Posted by thedead1440 View Post
Common wook its a small script you can surely do it for everyone
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 i am lazy
but, if no one reupload...i will have to...
so...let's wait little bit longer
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch

Last edited by wook_sf; 2012-09-12 at 08:28.
 
www.rzr.online.fr's Avatar
Posts: 992 | Thanked: 877 times | Joined on Jan 2009 @ fr/35/rennes
#10
do u have a copy of :

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

?
__________________
Notice: my posts are my own words, and unless specified those are not "Maemo Council" position which I am part of or other organization i am belonging to.

Please edit this page to attract attention to Maemo Council to any topic :

http://wiki.maemo.org/Talk:Task:Comm...Q2_2014/Agenda


--

http://rzr.online.fr/q/please# Please support my #MeeGo #HarmattanDev #n9 / #n950club contribs :

http://rzr.online.fr/q/harmattan# Shared Repo over 1K projects .. *update url*
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:23.