summaryrefslogtreecommitdiffstats
path: root/install.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* eclair snapshotJean-Baptiste Queru2009-11-131-16/+18
|
* remove amendDoug Zongker2009-07-151-103/+2
| | | | | | | | 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.
* improve updater progress barDoug Zongker2009-06-241-1/+13
| | | | | | 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.
* let the "firmware" command take the file straight from the packageDoug Zongker2009-06-181-22/+44
| | | | | | | | 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.
* fixes to edify and updater scriptDoug Zongker2009-06-121-0/+10
| | | | | | | | | | | | | | | | | | | | | 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".
* edify extensions for OTA package installation, part 2Doug Zongker2009-06-121-1/+2
| | | | | | | | | | | | | | | | | | 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.
* edify extensions for OTA package installation, part 1Doug Zongker2009-06-121-1/+1
| | | | | | | | | | | | | | | 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).
* allow OTA package to provide binary instead of scriptDoug Zongker2009-06-051-1/+169
| | | | | Allow installation of OTA packages which do not contain an update-script, but instead contain an update-binary.
* don't say "install complete" when it really isn'tDoug Zongker2009-05-291-1/+1
| | | | | | | Change the recovery UI so that when there is a hboot or radio update pending (which the user most do a home+back reboot to actually install), the UI tells them so, instead of saying "Install from sdcard complete."
* AI 144130: Don't build OTA package keys into the recovery binary; readDoug Zongker2009-04-021-8/+88
| | | | | | | them from an external file in the recovery image. Use the test-keys for all builds. Automated import of CL 144130
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+186
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-186/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+186