- 15 Sep, 2009 1 commit
-
-
Doug Zongker authored
If the a recovery icon file is so short that we can't even read the 8-byte header, put a message in the log but not on the device screen. We intentionally have zero-length files for some icons on some devices, if they're never shown (eg, the firmware installation icons are only used on HTC devices).
-
- 10 Sep, 2009 1 commit
-
-
Doug Zongker authored
Handy for producing debugging OTA packages (eg, running sqlite3 or whatever in recovery).
-
- 18 Aug, 2009 1 commit
-
-
Doug Zongker authored
-
- 17 Aug, 2009 1 commit
-
-
Doug Zongker authored
-
- 04 Aug, 2009 2 commits
-
-
Jean-Baptiste Queru authored
-
Doug Zongker authored
Merge commit '20697b96' * commit '20697b96': only build flash_image for eng
-
- 29 Jul, 2009 1 commit
-
-
Jean-Baptiste Queru authored
-
- 26 Jul, 2009 2 commits
-
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
-
- 23 Jul, 2009 2 commits
-
-
Doug Zongker authored
With the recovery image being installed by applypatch, the flash_image tool isn't needed any more. Continue to build it for eng just in case it's handy for debugging.
-
Doug Zongker authored
gcc 4.4 complains about some of the recovery ui functions not being declared. To include the header, we have to fix the 'volatile' declaration (otherwise there's a compiler error). Move the dream-specific images to vendor/htc/dream, make the default images a generic phone.
-
- 16 Jul, 2009 1 commit
-
-
Doug Zongker authored
-
- 14 Jul, 2009 1 commit
-
-
Doug Zongker authored
Yank all the code to install OTA packages out of the recovery binary itself. Now packages are installed by a binary included in the package (run as a child of recovery), so we can make improvements in the installation process without waiting for a new release to use them.
-
- 02 Jul, 2009 1 commit
-
-
Doug Zongker authored
Merge commit 'bec02d57' * commit 'bec02d57': skip over all-zero blocks when reading MTD partition
-
- 01 Jul, 2009 1 commit
-
-
Doug Zongker authored
We fail to detect certain bad blocks (marked in the factory as bad, I think?) when reading mtd partitions. These come back as a block of all zeros. Since it's fairly unlikely a legitimate boot or recovery block will contain 128k of zeros, change mtdutils to skip over such blocks. Arve says https://review.source.android.com/10535 may be a long-term fix for this, but he isn't yet sure.
-
- 29 Jun, 2009 1 commit
-
-
Android (Google) Code Review authored
Merge commit 'd8f7c9b8' * commit 'd8f7c9b8': remove updater from the user system image
-
- 26 Jun, 2009 2 commits
-
-
Android (Google) Code Review authored
* changes: remove updater from the user system image
-
Doug Zongker authored
updater (which is only needed in OTA packages) is getting included in /system/bin, where it just takes up (quite a bit of) space. Use the hack of including it only in eng builds so it's not there for user builds.
-
- 25 Jun, 2009 3 commits
-
-
Doug Zongker authored
Merge commit '0bbfe3d9' * commit '0bbfe3d9': fix off-by-one error in set_perm()
-
Doug Zongker authored
We were inadvertently skipping over the first filename in the list of arguments.
-
Doug Zongker authored
Merge commit 'fbf3c10e' * commit 'fbf3c10e': improve updater progress bar
-
- 24 Jun, 2009 1 commit
-
-
Doug Zongker authored
Let recovery accept set_progress commands to control progress over the 'current segment' of the bar. Add a set_progress() builtin to the updater binary.
-
- 22 Jun, 2009 1 commit
-
-
Doug Zongker authored
Allow devices (in BoardConfig.mk) to define additional static libraries to be linked in to updater, to make device-specific functions available in edify scripts. Modify the updater makefile to arrange for device libraries to register their edify functions.
-
- 18 Jun, 2009 5 commits
-
-
Doug Zongker authored
Some devices want to do special things when recovery wipes data (eg, wipe data in their baseband processor as well). Add a hook in the device-specific recovery library that gets called when data is wiped. Also add an amend root for the "mbm" partition.
-
Doug Zongker authored
Merge commit '47cace98' * commit '47cace98': add file_getprop() to updater
-
Doug Zongker authored
Add a function to read a property from a ".prop"-formatted file (key=value pairs, one per line, ignore # comment lines and blank lines). Move ErrorAbort to the core of edify; it's not specific to updater now that errors aren't stored in the app cookie.
-
Doug Zongker authored
-
Doug Zongker authored
To do a firmware-install-on-reboot, the update binary tells recovery what file to install before rebooting. Let this file be specified as "PACKAGE:<foo>" to indicate taking the file out of the OTA package, avoiding an extra copy to /tmp. Bump the API version number to reflect this change.
-
- 15 Jun, 2009 3 commits
-
-
Doug Zongker authored
Merge commit 'e3da02e7' * commit 'e3da02e7': add less_than_int, greater_than_int to edify
-
Doug Zongker authored
Merge commit 'd9c9d10d' * commit 'd9c9d10d': fixes to edify and updater script
-
Doug Zongker authored
Merge commit '8edb00c9' * commit '8edb00c9': edify extensions for OTA package installation, part 2
-
- 12 Jun, 2009 7 commits
-
-
Doug Zongker authored
Add functions less_than_int() and greater_than_int() that interpret their args as ints and do the comparison. ("<" and ">" operators, if implemented, should do string comparison.) This lets us do the build time check currently done by the check_prereq binary.
-
Doug Zongker authored
A few more changes to edify: - fix write_raw_image(); my last change neglected to close the write context, so the written image was corrupt. - each expression tracks the span of the source code from which it was compiled, so that assert()'s error message can include the source of the expression that failed. - the 'cookie' argument to each Function is replaced with a State object, which contains the cookie, the source script (for use with the above spans), and the current error message (replacing the global variables that were used for this purpose). - in the recovery image, a new command "ui_print" can be sent back through the command pipe to cause text to appear on the screen. Add a new ui_print() function to print things from scripts. Rename existing "print" function to "stdout".
-
Doug Zongker authored
Adds more edify functions for OTAs: is_mounted getprop apply_patch apply_patch_check apply_patch_space write_raw_image write_firmware_image package_extract_file This allows us to install radios, hboots, boot images, and install incremental OTA packages. Fixes a couple of dumb bugs in edify itself: - we were doubling the size of the function table each time it was *not* full, rather than each time it was full - "no such function" errors weren't visible to the parser, so they didn't prevent execution of the script.
-
Doug Zongker authored
Merge commit '9dbc027b' * commit '9dbc027b': fix sim build in donut, too
-
Doug Zongker authored
Merge commit '9931f7f3' * commit '9931f7f3': edify extensions for OTA package installation, part 1
-
Doug Zongker authored
-
Doug Zongker authored
-
- 11 Jun, 2009 2 commits
-
-
Doug Zongker authored
Adds the following edify functions: mount unmount format show_progress delete delete_recursive package_extract symlink set_perm set_perm_recursive This set is enough to extract and install the system part of a (full) OTA package. Adds the updater binary that extracts an edify script from the OTA package and then executes it. Minor changes to the edify core (adds a sleep() builtin for debugging, adds "." to the set of characters that can appear in an unquoted string).
-
Doug Zongker authored
When I changed the definition of device_perform_action() in response to a reviewer comment, I forgot to change this implementation.
-