History log of /bootable/recovery/applypatch/applypatch.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b07b293944c2002a39bbd804f0b6f590ed8458cd 28-Feb-2012 Doug Zongker <dougz@android.com> fix build

Change-Id: I44a75f5451af053778be299b23274ecce9b2db76
/bootable/recovery/applypatch/applypatch.h
1c43c9741bc4d9f62f2e3262cea1309890d1bbd2 28-Feb-2012 Doug Zongker <dougz@android.com> fix failure to free memory

The applypatch function is somewhat sloppy about freeing memory (since
it was originally a standalone binary). Fix some of that.

Change-Id: Ifd44d71ea189c0b5115493119fd57bc37533fd59
/bootable/recovery/applypatch/applypatch.h
db314d69f023d2a6c8956073aa9d283e20b280ef 02-Aug-2010 Hristo Bojinov <hristo@google.com> Working ASLR implementation

Separate files for retouch functionality are in minelf/*

ASLR for shared libraries is controlled by "-a" in ota_from_target_files.
Binary files are self-contained. Retouch logic can recover from crashes.

Signed-off-by: Hristo Bojinov <hristo@google.com>
Change-Id: I76c596abf4febd68c14f9d807ac62e8751e0b1bd
/bootable/recovery/applypatch/applypatch.h
c4351c791052ad529a4e83c600b1aa6e6420ea86 22-Feb-2010 Doug Zongker <dougz@android.com> refactor applypatch and friends

Change the applypatch function to take meaningful arguments instead of
argc and argv. Move all the parsing of arguments into main.c (for the
standalone binary) and into install.c (for the updater function).
applypatch() takes patches as Value objects, so we can pass in blobs
extracted from the package without ever writing them to temp files.

The patching code is changed to read the patch from memory instead of
a file.

A bunch of compiler warnings (mostly about signed vs unsigned types)
are fixed.

Support for the IMGDIFF1 format is dropped. (We've been generating
IMGDIFF2 packages for some time now.)

Change-Id: I217563c500012750f27110db821928a06211323f
/bootable/recovery/applypatch/applypatch.h
512536a54a1a211a9f582e76cbf12850dc7d5466 18-Feb-2010 Doug Zongker <dougz@android.com> relocate applypatch; add type system and new functions to edify

- Move applypatch to this package (from build).

- Add a rudimentary type system to edify: instead of just returning a
char*, functions now return a Value*, which is a struct that can
carry different types of value (currently just STRING and BLOB).
Convert all functions to this new scheme.

- Change the one-argument form of package_extract_file to return a
Value of the new BLOB type.

- Add read_file() to load a local file and return a blob, and
sha1_check() to test a blob (or string) against a set of possible
sha1s. read_file() uses the file-loading code from applypatch so it
can read MTD partitions as well.

This is the start of better integration between applypatch and the
rest of edify.

b/2361316 - VZW Issue PP628: Continuous reset to Droid logo:
framework-res.apk update failed (CR LIBtt59130)

Change-Id: Ibd038074749a4d515de1f115c498c6c589ee91e5
/bootable/recovery/applypatch/applypatch.h