summaryrefslogtreecommitdiffstats
path: root/recovery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add terminator to recovery's getopt_long options arrayDoug Zongker2009-10-061-0/+1
| | | | http://b/2170691 - recovery argument parsing is broken
* confirm before wiping user data in recoveryDoug Zongker2009-09-231-69/+107
| | | | | | | When using the hidden menu to wipe data in recovery, confirm before starting the wipe. (This does not affect booting with the --wipe_data flag, or using Alt+W on dream with the menu hidden -- those still wipe data immediately.)
* do not merge: cherry-pick of c2d666bd4f6eb5f7a9f17b10435c161cb105b7c5 from masterDoug Zongker2009-08-181-0/+10
|
* resolved conflicts for merge of 64893ccc to masterDoug Zongker2009-07-161-28/+1
|\
| * remove amendDoug Zongker2009-07-151-28/+1
| | | | | | | | | | | | | | | | 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.
* | add function for device-specific wipe data featuresDoug Zongker2009-06-191-2/+7
| | | | | | | | | | | | | | | | 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.
* | resolved conflicts for merge of fb2e3af3 to masterDoug Zongker2009-06-181-2/+20
|\|
| * let the "firmware" command take the file straight from the packageDoug Zongker2009-06-181-1/+2
| | | | | | | | | | | | | | | | 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.
* | split out device-specific recovery UI code into vendor directoriesDoug Zongker2009-06-111-42/+29
|/ | | | | | | | | Take some device-specific details of the recovery UI (eg, what keys to press to bring up the interface and perform actions, exact text of the menu, etc.) and split them out into separate C functions. Arrange to take implementations of those functions from the appropriate vendor directory at build time. Provide a default implementation in case no vendor-specific one is available.
* remove unused permissions scheme from amendDoug Zongker2009-06-031-4/+0
| | | | | | | 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-291-1/+6
| | | | | | | 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 144070: Add an option to wipe cache (only) to the recovery menu.Doug Zongker2009-04-011-0/+9
| | | | Automated import of CL 144070
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+471
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-471/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-111-23/+78
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-101-24/+79
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+361