Advertisement

Tuesday 12 August 2014

The Script Makes the Update of Custom ROM

Custom ROM

Upgrading the ROM is always a happy event, but when we are forced to download the whole is not the best. Why does not follow the practice of all OmniROM wherein Delta update available are small in size and contain only those changes resulting?

Those dealing with the ROM developing you can do the same with DeltaJen, a script which compares with the previous and the next version produces a small * .zip file that contains only the changes! Has an in language python, known in the circles of Linux, which works but on all operating systems. To use the terminal needs but if you create your own ROM, it should possess well.

We must therefore install the Python (tested in 2.7 and 3.2+ versions) as well as some more tools that you can find here. When you get all in place the command to create the Delta update is as follows:

python DeltaJen.py -b <ROMv1.zip> -i <ROMv2.zip> -o <output.zip>

Where "ROMv1.zip" put the path of the previous version of our ROM where "ROMv2.zip" put our last issue and if we let the "output.zip" as it is just us create a file called "output" .

This file can now put it on our device and install it through recovery, attention, however, because the device will be running a version of "ROMv1" which we used as a base to create the "ROMv2".

It is increasingly becoming a mandate to save the ROM developer from hosting large files in the cloud account, while users will be able to less space to keep many of the ROM version using, if needed in the future. You can find more information in the thread tool at XDA.

No comments:

Post a Comment