| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iddb0a977a8e809413defd4e7a9bb21311f5db862
|
|
|
|
| |
Forward port write_raw_image changes to jellybean.
|
|
|
|
| |
Change-Id: Id2616d1fead045688a5acf13b3420016322f664b
|
|
|
|
| |
Change-Id: If8a7f00e0269b37f2865c0910d4e9efa21018cda
|
|
|
|
| |
Change-Id: I0a820a6f9a9b0e092426e5eaa4760a89fe3ccdf6
|
|
|
|
| |
Change-Id: I124adeeed93f4ec97d1e14c1572e313024f11008
|
|
|
|
| |
Change-Id: I1045d8671a0ea6b20f0a1a3c67c384b3dd2dc6c1
|
|
|
|
| |
Change-Id: Idf0b4384dbf25da39ff6adb5515824beca8eb8cb
|
|
|
|
| |
Change-Id: Idbfb2399fcf6dbcf29f3049ff155d56f9a9a2a68
|
|
|
|
|
|
|
|
| |
Several programs were not linked against libcrecovery which has the __system
function.
Change-Id: I12b33a9157ab74825129896d0f2177fa83638464
Signed-off-by: Evan McClain <aeroevan@gmail.com>
|
|
|
|
| |
Change-Id: I2281a571e37ba9fac2b99806ce9c63e591b4d39f
|
| |
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I787c086223b674050c0a12fc575add9badb471af
|
| |
| |
| |
| |
| |
| |
| | |
write_raw_image() can now take either a blob or a filename as the
source. The blob format eliminates the need for a temp file.
Change-Id: I0c6effec53d47862040efcec75e64b7c951cdcf7
|
| |
| |
| |
| |
| |
| |
| | |
When formatting /data, if it's an ext4 filesystem, reserve the
last 16 Kbytes for the crypto footer.
Change-Id: I7b401d851ee87732e5da5860df0287a1c331c5b7
|
| |
| |
| |
| | |
Change-Id: Id96e98da76b3091987b01651f980797b1d6b49d8
|
| |
| |
| |
| | |
Change-Id: Ie6e309b127e80cd6475f1deaa5dbadf9f5cc2746
|
| |\
| | |
| | |
| | | |
Change-Id: Id458df96fd56830fdb35397e95a80274761ecff5
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '858f0a763d0f736eb721f54257b6164886bfcbfc'
* commit '858f0a763d0f736eb721f54257b6164886bfcbfc':
close update package before installing; allow remount
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
images.
An extra parameter was added to the make_ext4fs() function, we these tools need
to be updated to match.
Change-Id: Id640a7f2b03153eb333b00337f0f991ff5332349
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This CL removes the following line from the top of build logs:
"diff: out/target/product/*/obj/PACKAGING/updater_extensions_intermediates/register.inc.list: No such file or directory"
Change-Id: I79c15a69a0b1b0da0e45620b45a7a0fea5625250
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make the mount and format functions take extra parameters describing
the filesystem type and add support for mounting and formatting ext4
filesystems on EMMC.
Change recovery to consistently use stdout for status messages instead
of mixing stdout and stderr.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
git://android.git.kernel.org/platform/bootable/recovery into upstream-2.3.5
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
diff: out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates/register.inc.list:
No such file or directory
Change-Id: I269b1703b6091b343db45b1c5cdd0962c738788b
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I6163e5a519ef28e9e9ea12d5a46d525d1d9d8fb2
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I90e3feb0c1655279d58751ce800f299d9b4f3d03
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ide34392bd8ac56878aa3e992b275a39d6b6bc7cf
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2ae07e94eb68dd261b3978671aec88c25cd2518e
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
emmc devices.
Change-Id: I674c7b5873b7758bf15f0b55c34ec01513e6f23c
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Detect flash type at runtime rather than requiring this to be set in the
device configuration. The detection is based on the existence of /proc/mtd,
/proc/emmc, or /dev/block/bml1.
Change-Id: I464962a567022c5862c249f06d36c2d1cddeacba
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I597f3d83ef14d2640192e0026a0fe1a93023bfc6
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a cleaner fashion.
Re add firmware update
Change-Id: I699ad22390ed14e597d17a7bcb32ad1b1af00b4b
support mmc misc
Change-Id: Iff02f8d03db6835f501d052140cebeefee521305
fix compile errors
Change-Id: I032edbd157a8a15f561bb83330c715ebaa008d18
fix compile errors
Change-Id: Idff3449be3376f22fceefc2c35637527f8df8f3f
Initial work to clean up the block devices.
Change-Id: I4be20ac124864a281be9cd116e211a2618404a27
all done
Change-Id: I0338f62f6a045556ebe90b0200685be113178319
fix up nandroid
Change-Id: I886f00271183e6d2921c080b0939341f2cf12a4d
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8f230dfa5be4e9f142765797d949e10434e1fdeb
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I7e6f1a76371c0d1c1f4cfac0413ba6fa7743f17a
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ia402c4fcd2881cfb7cf7318718933ed64a19ec6b
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I9033146899d596c6d0a4ba8a5fad080d799d96ae
|
| |\ \ \ \
| | |/ / / |
|
| | | | | |
|
| |_|_|/
|/| | |
| | | |
| | | | |
Change-Id: I9d34e491022d7dfed653a861b0728a0a656f1fbe
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make the mount and format functions take extra parameters describing
the filesystem type and add support for mounting and formatting ext4
filesystems on EMMC.
Change recovery to consistently use stdout for status messages instead
of mixing stdout and stderr.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Close the update package before invoking the binary, to allow the
installer to unmount /cache if it wants to. Add a function to allow
remounting of a mount as read-only.
Change-Id: Idfcc96c3da66083295177f729263560be58034e4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove support for the HTC-specific "firmware" update command and the
corresponding edify function write_firmware_update(). This
functionality is now done by an edify extension library that lives in
vendor/htc.
Change-Id: I80858951ff10ed8dfff98aefb796bef009e05efb
|
|/
|
|
|
|
|
|
|
|
|
| |
Add a version of package_extract_file that returns the file data as
its return value (to be consumed by some other edify function that
expects to receive a bunch of binary data as an argument). Lets us
avoid having two copies of a big file in memory (extracting it into
/tmp, which is a ramdisk, and then having something load it into
memory) when doing things like radio updates.
Change-Id: Ie26ece5fbae457eb0ddcd8a13d74d78a769fbc70
|
|
|
|
|
|
| |
The symlink() function should remove existing files before creating
symlinks, so scripts are idempotent. Log messages when various system
calls fail (but don't make the whole script fail).
|
|
|
|
|
| |
Handy for producing debugging OTA packages (eg, running sqlite3 or
whatever in recovery).
|