Commit Graph

61 Commits

Author SHA1 Message Date
0eb14b30e0 Merge from Froyo. 2010-06-23 17:38:05 -07:00
52d3f205b5 fix sdext backup bug 2010-06-21 12:11:13 -07:00
e25908bd87 logging 2010-06-21 08:16:19 -07:00
a6522b3584 add recovery.log reporting 2010-06-20 13:16:06 -07:00
598cfc7e9d Remove any references to mmcblk0. Add recovery.log failure hook into ROM Manager. 2010-06-20 09:42:47 -07:00
63e0476b6e Wipe DATADATA as well when doing factory resets or wiping DATA. 2010-06-15 12:56:17 -07:00
14239d291a begin to abstract out the file system and mount information. known issue: create_fstab causes segfault on incredible. and thus subsequent crash loop of recovery. 2010-06-14 15:02:48 -07:00
f8b21c2b4d hacking away 2010-06-14 12:49:47 -07:00
1741dcdb26 1.8.1.8 2010-06-11 00:49:49 -07:00
f4e3a67a38 support or devices that do not have a trackball or enter button. 2010-06-09 12:19:41 -07:00
fd1579b7c0 add Wipe Battery stats. Generate fstab dynamically. 2010-05-01 12:46:55 -07:00
2f73e58ef8 Unmount partitions after restore (except for CACHE:).
Wipe sd-ext on data wipe.
Fix bug where wiping SDEXT: did not work.
2010-04-18 16:00:21 -07:00
6771aca715 copy extended command and run it, rather than load and delete. 2010-04-03 23:28:39 -07:00
2654f5aae1 DO NOT MERGE
Removing unused recovey options.
Please refer to Bug#2502219 for more info.

Change-Id: I2fe3cdb0c8b93ed7e1cc4093824fbe181f5f0aea
2010-03-26 16:03:44 -07:00
581bd861d1 run update-binary first. revert recovery API version to 2. use RECOVERY_VERSION for the actual display version. 2010-03-20 01:08:55 -07:00
a496b51a83 working advanced menus 2010-03-19 14:51:45 -07:00
16f0b49bea working erase_image and options in recovery now 2010-03-19 14:37:11 -07:00
5899ac9ca0 the beginnings of adding a format option, 2010-03-19 13:34:36 -07:00
b9546a8047 Camera and center button now select. Add more mount and unmount options. 1.7.0 2010-03-14 22:42:30 -07:00
ee57bbc1b6 nandroid in C now has a progress bar 2010-03-12 23:21:12 -08:00
8c866dc252 fix backup 2010-03-08 14:20:37 -08:00
13d8fccf50 need to hide the UI to reboot 2010-03-07 14:15:14 -08:00
32e4111df5 reboot upon extendedcommand success 2010-03-07 14:11:56 -08:00
72a1db6358 run an extended command script on boot if it exists 2010-03-07 14:10:26 -08:00
f68aaaf20c run amend scripts from the command line 2010-03-07 13:39:21 -08:00
2bda3e9fa0 disable script asserts by default for user usage 2010-03-06 16:40:52 -08:00
99fb6fef11 merge busybox and other tools into recovery. 2010-03-03 00:42:58 -08:00
0317378bf6 usb mass storage support. user initiated recovery is now user friendly. 2010-02-26 14:14:23 -08:00
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
261dde9f48 make it pretty 2010-02-25 16:51:45 -08:00
981b0cd1e1 roll recovery tools into a single binary. fix up nandroid to work without deviceid requirement 2010-02-22 08:53:34 -08:00
1fa52ecdbf add mount sdcard option 2010-02-21 21:29:10 -08:00
bcdd00359c Functional Nandroid 2010-02-21 21:10:25 -08:00
a3c2f735d7 fix up back button and menu toggling 2010-02-19 14:17:22 -08:00
e923487ff6 working recovery image! 2010-02-12 00:43:24 -08:00
6060e5c6df update.zip somewhat working now... 2010-02-11 22:27:06 -08:00
e08991e02a bump updater API version to 3; deprecate firmware update command
Remove support for the HTC-specific "firmware" update command and the
corresponding edify function write_firmware_update().  This
functionality is now done by an edify extension library that lives in
vendor/htc.

Change-Id: I80858951ff10ed8dfff98aefb796bef009e05efb
2010-02-03 09:20:07 -08:00
efa1bab94c change log recovery to generic device_recovery_start function
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
2010-02-01 15:59:12 -08:00
687bc12ccf save the recovery log from before HTC firmware updates
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
2010-01-21 12:50:04 -08:00
0523156775 Recovery changes for Encrypted File Systems.
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.
2009-12-10 14:49:04 -08:00
022229c47e am 988500b6: add terminator to recovery\'s getopt_long options array
Merge commit '988500b615de24455e1fee69e72055bb1dca9c86'

* commit '988500b615de24455e1fee69e72055bb1dca9c86':
  add terminator to recovery's getopt_long options array
2009-10-12 11:45:31 -07:00
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
8f8bc4cb48 am f93d8166: confirm before wiping user data in recovery
Merge commit 'f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5' into eclair-plus-aosp

* commit 'f93d8166ef4c06f6ad71293ffa8a4ce469df4fa5':
  confirm before wiping user data in recovery
2009-09-22 18:28:19 -07:00
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
cbf9038038 merge from open-source master 2009-09-01 08:27:43 -07:00
619ec2f3aa Not all failures to fopen_root_path() are serious.
Example: E:Can't open /cache/recovery/command.
2009-08-25 12:53:40 -07:00
34c98df78a do not merge: cherry-pick of c2d666bd4f from master 2009-08-18 12:05:45 -07:00
608fa02e1a resolved conflicts for merge of 64893ccc to master 2009-07-15 18:10:28 -07:00
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
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