new image diffing tool and support for image patches in applypatch
Images (like boot and recovery) consist of large sections of gzipped data interspersed with other data. To do effective binary patching of these files, we need to apply patches to the gzipped parts in 'uncompressed space', that is, we decompress, apply a patch, then recompress to obtain the desired output. This change defines a new format with these patches, which is basically a description of how the source and target files are to be divided up into chunks and a bsdiff patch for each chunk. We add a new host executable, "imgdiff", for generating these patches from source and target images, and add support in applypatch for recognizing this format and applying it on the device.
Loading
Please register or sign in to comment