I recently stumbled upon the applypatch tool, but I couldn't find any documentation for it online. Here is the usage output (this is after typing
shell@android:/ $ applypatch --help usage: applypatch [-b <bonus-file>] <src-file> <tgt-file> <tgt-sha1> <tgt-size> [<src-sha1>:<patch> ...] or applypatch -c <file> [<sha1> ...] or applypatch -s <bytes> or applypatch -l Filenames may be of the form MTD:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>:... to specify reading from or writing to an MTD partition.
What do the command line options mean? What is MTD? What are all the sha1 hashes for?
Also, could someone with the reputation add an applypatch tag, or maybe a tools tag? Something more descriptive than what I've put.