summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix sim build in donut, tooDoug Zongker2009-06-121-4/+4
|
* edify extensions for OTA package installation, part 1Doug Zongker2009-06-1213-13/+694
| | | | | | | | | | | | | | | 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).
* Merge change 3514 into donutAndroid (Google) Code Review2009-06-107-0/+889
|\ | | | | | | | | * changes: core of edify, an eventual replacement for amend
| * core of edify, an eventual replacement for amendDoug Zongker2009-06-107-0/+889
| | | | | | | | | | | | Edify is a simple scripting language for OTA installation, to be used when we move to OTAs being installed via binaries shipped with the package.
* | 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.
* remove unused permissions scheme from amendDoug Zongker2009-06-0312-1076/+69
| | | | | | | Amend (aka the recovery command language) had a half-implemented scheme of limiting which commands OTA packages were allowed to execute. It's not clear what this was ever supposed to be good for. Remove it.
* don't say "install complete" when it really isn'tDoug Zongker2009-05-294-2/+14
| | | | | | | 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."
* undo temporary alignment hackDoug Zongker2009-05-082-48/+8
| | | | | | Remove the memory alignment that mysteriously made OTA installs work, in anticipation of a kernel that fixes the actual problem. Handle EINTR properly.
* align data passed to write() on 32k boundariesDoug Zongker2009-05-062-17/+55
| | | | | | | | | | In donut, OTA installation often encounters the write() system call doing short writes -- which is legal but unexpected -- or failing with ENOSPC when plenty of space is available. Passing aligned memory buffers to write() appears to prevent (or at least reduce the frequency) of these problems. b/1833052 has been filed to look at the underlying problem, but this change aligns buffers we use with write() so we can OTA for now (or see if this problem still occurs).
* handle short writes when unzipping filesDoug Zongker2009-04-301-11/+27
| | | | | | | minzip fails if write() doesn't write all the data in one call. Apparently this was good enough before, but it causes OTAs to fail all the time now (maybe due to the recently-submitted kernel)? Change code to attempt continuing after short writes.
* merge cupcake into donutJean-Baptiste Queru2009-04-230-0/+0
|\
| * Automated import from //branches/cupcake/...@142138,142138Doug Zongker2009-03-251-4/+9
| |
| * auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-201-0/+190
| |
* | AI 144130: Don't build OTA package keys into the recovery binary; readDoug Zongker2009-04-022-21/+88
| | | | | | | | | | | | | | them from an external file in the recovery image. Use the test-keys for all builds. Automated import of CL 144130
* | AI 144082: Remove the unused "unpacking" recovery icon.Doug Zongker2009-04-013-2/+0
| | | | | | | | Automated import of CL 144082
* | AI 144070: Add an option to wipe cache (only) to the recovery menu.Doug Zongker2009-04-011-0/+9
| | | | | | | | Automated import of CL 144070
* | AI 143128: Use PNG instead of BMP for recovery image icons. This savesDoug Zongker2009-03-2736-101/+68
| | | | | | | | | | | | about 60k from the recovery and system images. Automated import of CL 143128
* | Automated import from //branches/donutburger/...@142141,142141Doug Zongker2009-03-251-4/+9
| |
* | Automated import from //branches/donutburger/...@140818,140818Dianne Hackborn2009-03-251-0/+190
|/
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-04135-0/+14368
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-04137-14711/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-032-0/+343
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-032-343/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-114-48/+254
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-101-24/+79
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1811-35/+341
|
* Initial ContributionThe Android Open Source Project2008-10-21134-0/+14144