Commit Graph

66 Commits

Author SHA1 Message Date
Koushik Dutta
4ca9b4c3a0 allow toggling of software back menu item. add recovery checkpoint file. mount auto now uses busybox mount. 2010-07-19 08:40:58 -07:00
Koushik Dutta
fdda0d66d3 fail 2010-07-19 08:40:57 -07:00
Koushik Dutta
30e5b7f6dc change where the recovery version is spit 2010-07-19 08:40:57 -07:00
Koushik Dutta
82c2ca262e Backup of Froyo apps on external storage. 2010-07-03 13:57:28 -07:00
Koushik Dutta
d3cc60b036 nandroid executable
Change-Id: I697530a804be443260059b24e231d77dfe5bc6c4
2010-07-03 13:56:45 -07:00
Koushik Dutta
0eb14b30e0 Merge from Froyo. 2010-06-23 17:38:05 -07:00
Koushik Dutta
52d3f205b5 fix sdext backup bug 2010-06-21 12:11:13 -07:00
Koushik Dutta
e25908bd87 logging 2010-06-21 08:16:19 -07:00
Koushik Dutta
a6522b3584 add recovery.log reporting 2010-06-20 13:16:06 -07:00
Koushik Dutta
598cfc7e9d Remove any references to mmcblk0. Add recovery.log failure hook into ROM Manager. 2010-06-20 09:42:47 -07:00
Koushik Dutta
63e0476b6e Wipe DATADATA as well when doing factory resets or wiping DATA. 2010-06-15 12:56:17 -07:00
Koushik Dutta
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
Koushik Dutta
f8b21c2b4d hacking away 2010-06-14 12:49:47 -07:00
Koushik Dutta
1741dcdb26 1.8.1.8 2010-06-11 00:49:49 -07:00
Koushik Dutta
f4e3a67a38 support or devices that do not have a trackball or enter button. 2010-06-09 12:19:41 -07:00
Koushik Dutta
fd1579b7c0 add Wipe Battery stats. Generate fstab dynamically. 2010-05-01 12:46:55 -07:00
Koushik Dutta
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
Koushik K. Dutta
6771aca715 copy extended command and run it, rather than load and delete. 2010-04-03 23:28:39 -07:00
Oscar Montemayor
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
Koushik K. Dutta
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
Koushik K. Dutta
a496b51a83 working advanced menus 2010-03-19 14:51:45 -07:00
Koushik K. Dutta
16f0b49bea working erase_image and options in recovery now 2010-03-19 14:37:11 -07:00
Koushik K. Dutta
5899ac9ca0 the beginnings of adding a format option, 2010-03-19 13:34:36 -07:00
Koushik K. Dutta
b9546a8047 Camera and center button now select. Add more mount and unmount options. 1.7.0 2010-03-14 22:42:30 -07:00
Koushik K. Dutta
ee57bbc1b6 nandroid in C now has a progress bar 2010-03-12 23:21:12 -08:00
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
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
Doug Zongker
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
Doug Zongker
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
Oscar Montemayor
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
Doug Zongker
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
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
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
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
Jean-Baptiste Queru
cbf9038038 merge from open-source master 2009-09-01 08:27:43 -07:00