Commit Graph

33 Commits

Author SHA1 Message Date
Koushik K. Dutta
8c866dc252 fix backup 2010-03-08 14:20:37 -08:00
Koushik K. Dutta
13d8fccf50 need to hide the UI to reboot 2010-03-07 14:15:14 -08:00
Koushik K. Dutta
32e4111df5 reboot upon extendedcommand success 2010-03-07 14:11:56 -08:00
Koushik K. Dutta
72a1db6358 run an extended command script on boot if it exists 2010-03-07 14:10:26 -08:00
Koushik K. Dutta
f68aaaf20c run amend scripts from the command line 2010-03-07 13:39:21 -08:00
Koushik K. Dutta
2bda3e9fa0 disable script asserts by default for user usage 2010-03-06 16:40:52 -08:00
Koushik K. Dutta
99fb6fef11 merge busybox and other tools into recovery. 2010-03-03 00:42:58 -08:00
Koushik K. Dutta
0317378bf6 usb mass storage support. user initiated recovery is now user friendly. 2010-02-26 14:14:23 -08:00
Chris Soyars
a1749d93bc Added ability to wipe_data and update_package at the same time.
This will be needed for a future project I am working on,
OpenUpdater.
2010-02-26 02:49:30 -05:00
Koushik K. Dutta
261dde9f48 make it pretty 2010-02-25 16:51:45 -08:00
Koushik K. Dutta
981b0cd1e1 roll recovery tools into a single binary. fix up nandroid to work without deviceid requirement 2010-02-22 08:53:34 -08:00
Koushik K. Dutta
1fa52ecdbf add mount sdcard option 2010-02-21 21:29:10 -08:00
Koushik K. Dutta
bcdd00359c Functional Nandroid 2010-02-21 21:10:25 -08:00
Koushik K. Dutta
a3c2f735d7 fix up back button and menu toggling 2010-02-19 14:17:22 -08:00
Koushik K. Dutta
e923487ff6 working recovery image! 2010-02-12 00:43:24 -08:00
Koushik K. Dutta
6060e5c6df update.zip somewhat working now... 2010-02-11 22:27:06 -08:00
Doug Zongker
988500b615 add terminator to recovery's getopt_long options array
http://b/2170691 - recovery argument parsing is broken
2009-10-06 14:44:54 -07:00
Doug Zongker
f93d8166ef confirm before wiping user data in recovery
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.)
2009-09-22 18:16:56 -07:00
Doug Zongker
34c98df78a do not merge: cherry-pick of c2d666bd4f from master 2009-08-18 12:05:45 -07:00
Doug Zongker
608fa02e1a resolved conflicts for merge of 64893ccc to master 2009-07-15 18:10:28 -07:00
Doug Zongker
64893ccc09 remove amend
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.
2009-07-14 16:58:42 -07:00
Doug Zongker
b128f54d0d add function for device-specific wipe data features
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.
2009-06-18 15:07:14 -07:00
Doug Zongker
d683785ec9 resolved conflicts for merge of fb2e3af3 to master 2009-06-17 22:07:13 -07:00
Doug Zongker
fb2e3af3f9 let the "firmware" command take the file straight from the package
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.
2009-06-17 18:12:16 -07:00
Doug Zongker
ddd6a2865d split out device-specific recovery UI code into vendor directories
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.
2009-06-11 14:50:33 -07:00
Doug Zongker
f28c916e73 remove unused permissions scheme from amend
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.
2009-06-02 15:41:00 -07:00
Doug Zongker
07e1dca706 don't say "install complete" when it really isn't
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."
2009-05-28 19:02:45 -07:00
Doug Zongker
1066d2c319 AI 144070: Add an option to wipe cache (only) to the recovery menu.
Automated import of CL 144070
2009-04-01 13:57:40 -07:00
The Android Open Source Project
c24a8e688a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project
ffb48f64fe auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project
8b7334b3c2 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:56 -08:00
The Android Open Source Project
928d471ef2 auto import from //branches/cupcake/...@125939 2009-01-09 17:50:54 -08:00
The Android Open Source Project
23580ca27a Initial Contribution 2008-10-21 07:00:00 -07:00