What is DeltaJen?
How do I use this?
More detailed instructions will be included soon, and the docs will be improved.
If you want direct help/to contribute/generally chat, come on down to the freenode channel #CyboLabs
last but not leased.
The source
XDA:DevDB Information
DeltaJen, Tool/Utility for all devices (see above for details)
Contributors
cybojenix, @GermainZ
Version Information
Status: Alpha
Created 2014-08-06
Last Updated 2014-08-09
Why should I use it?DeltaJen is a tool for quickly making an incremental update based on two update zips. It is simple to use, and easy to extend for devices that don't use a straight up method of flashing a rom.
But what if I use CWM instead of TWRP?Have you ever hated having to download a full rom just to do a simple update? This tool can take a 200mb rom, take out all the changes, and squish the final package to less than 10mb.
The Geeky partsNo issues here. DeltaJen produces updates that even your stock recovery can apply.
The script uses two binaries to efficiently build an update zip. bsdiff and imgdiff. bsdiff can also be replaced by the python module bsdiff4.
No threading or multiprocessing is used currently. as it stands, barely any cpu is used, so threading will be a huge bonus.
Hooks have been added to allow you to easily change how the script adds files, or to add extra lines in the updater-script
How do I use this?
I want to include this in the build steps of a custom romFor a straight update zip, which has no extra files or scripts other than what is in /system and boot.img, you run this.
Note that this will change when I update the cli function.
Code:python DeltaJen.py -b <base_zip> -i <new_zip> -o <output_zip> # Or from python from DeltaJen import DeltaJen dj = DeltaJen("<old_zip.zip>", "<new_zip.zip>", "<output_zip.zip>") dj.generate()
RequirementsI'm working on it for a team already
It does NOT fully support windows yet, due imgdiff not supporting it. You can still run it, but it will only use bsdiff
- Linux (untested on OSX but should work)
- python 2.7 or python 3.2+ (all other versions are untested and may not work)
- imgdiff (supplied below or build from source)
- bsdiff (sudo apt-get install bsdiff) or python module bsdiff4 (sudo pip install bsdiff4)
- at least 500mb free ram (sorry, it dumps the files to ram. sorting it out soon).
More detailed instructions will be included soon, and the docs will be improved.
If you want direct help/to contribute/generally chat, come on down to the freenode channel #CyboLabs
last but not leased.
The source
XDA:DevDB Information
DeltaJen, Tool/Utility for all devices (see above for details)
Contributors
cybojenix, @GermainZ
Version Information
Status: Alpha
Created 2014-08-06
Last Updated 2014-08-09
Last edited: