summaryrefslogtreecommitdiffstats
path: root/recovery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* change log recovery to generic device_recovery_start functionDoug Zongker2010-02-021-3/+3
| | | | | | | | | | Remove (or at least stop calling) the HTC-specific mechanism for preserving the recovery log from before a radio or hboot update. Replace it with a generic device_recovery_start() function which each device's code can implement to do whatever it wants on recovery startup. Change-Id: If3cca4b498c0b1cf0565236404ecf56a1fc46123
* save the recovery log from before HTC firmware updatesDoug Zongker2010-01-211-1/+3
| | | | | | | | | | | | | | When doing a firmware (radio or hboot) update on HTC devices, save the recovery log in block 1 of the cache partition, before the firmware image and the UI bitmaps. When we boot back into recovery after the firmware update to reformat the cache partition, copy that log out of cache before reformatting it and dump it into the current invocation's log. The practical upshot of all this is that we can see the log output from radio and hboot updates. Change-Id: Ie0e89566754c88f4bed6a90d8a0aa04047b01a27
* Recovery changes for Encrypted File Systems.Oscar Montemayor2009-12-101-14/+71
| | | | This change enables/disables the Encrypted file systems feature. It reads some properties form the data partition, wipes the partition out, and then rewrites the proper properties again into the data partition to signal that encrypted FS are enabled.
* am 988500b6: add terminator to recovery\'s getopt_long options arrayDoug Zongker2009-10-121-0/+1
|\ | | | | | | | | | | | | Merge commit '988500b615de24455e1fee69e72055bb1dca9c86' * commit '988500b615de24455e1fee69e72055bb1dca9c86': add terminator to recovery's getopt_long options array
| * add terminator to recovery's getopt_long options arrayDoug Zongker2009-10-061-0/+1
| | | | | | | | http://b/2170691 - recovery argument parsing is broken
* | am f93d8166: confirm before wiping user data in recoveryDoug Zongker2009-09-231-69/+107
|\| | | | | | | | | | | | | Merge commit 'f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5' into eclair-plus-aosp * commit 'f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5': confirm before wiping user data in recovery
| * 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.)
* | merge from open-source masterJean-Baptiste Queru2009-09-011-3/+6
|\ \ | |/ |/|
| * Not all failures to fopen_root_path() are serious.Jay Freeman (saurik)2009-08-251-3/+6
| | | | | | | | Example: E:Can't open /cache/recovery/command.
* | 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