Commit Graph

73 Commits

Author SHA1 Message Date
Brint E. Kriebel
0b23331f23 Added larger DATA size values for SD partitioning.
Used for systems that use internal SD partitioning for DATA storage.

Change-Id: I3274c196a7143143fccb806cff1665a6f40c1ce7
2010-11-19 10:28:56 -05:00
Steve Kondik
4123b58299 recovery: Autodetection of device flash type
Detect flash type at runtime rather than requiring this to be set in the
device configuration. The detection is based on the existence of /proc/mtd,
/proc/emmc, or /dev/block/bml1.

Change-Id: I464962a567022c5862c249f06d36c2d1cddeacba
2010-11-14 22:40:30 -05:00
Koushik Dutta
19447c0550 Refactor recovery's block device handling to work across variant hardware in a cleaner fashion.
Re add firmware update

Change-Id: I699ad22390ed14e597d17a7bcb32ad1b1af00b4b

support mmc misc

Change-Id: Iff02f8d03db6835f501d052140cebeefee521305

fix compile errors

Change-Id: I032edbd157a8a15f561bb83330c715ebaa008d18

fix compile errors

Change-Id: Idff3449be3376f22fceefc2c35637527f8df8f3f

Initial work to clean up the block devices.

Change-Id: I4be20ac124864a281be9cd116e211a2618404a27

all done

Change-Id: I0338f62f6a045556ebe90b0200685be113178319

fix up nandroid

Change-Id: I886f00271183e6d2921c080b0939341f2cf12a4d
2010-11-10 23:31:34 -08:00
Koushik Dutta
fef77c0253 Changes to support Vision recovery. Fixing up a lot of bugs related to the CodeAurora mmc commit.
Change-Id: I9b71070fe41559a5d93d3c35efc3a511b7088e8e
2010-11-09 20:03:42 -08:00
Koushik Dutta
e17a78ddda allow the parted and fix permissions tools to be optional 2010-09-17 14:17:57 -07:00
Koushik Dutta
4233c7fb3c Use the primary device.
Change-Id: Id45fcedcb5b3cacd753346a117423a462a00efb2
2010-09-03 22:16:57 -07:00
Koushik Dutta
56606a2da3 fix missing break statements in switch... 2010-08-23 16:15:33 -07:00
Koushik Dutta
ceddcd59ac add fix permissions and partition sd card to the recovery. TODO: Restrict to devicess that support large recovery images. 2010-08-23 16:13:14 -07:00
Koushik Dutta
38e8b2b6a9 cleanups 2010-08-17 22:21:53 -07:00
Koushik Dutta
f0e31b89b9 fixes and stuff for droid x 2010-08-17 16:55:38 -07:00
Koushik Dutta
6c7745d928 rename some menus. wipe more locations for dalvik cache. 2010-08-07 12:17:13 -07:00
Koushik Dutta
d4060c3eb6 Galaxy S initial support. Fix firmware flash on inc. May need to fix other phones. 2010-07-22 20:14:44 -07:00
Koushik Dutta
5aaa8238f7 galaxys 2010-07-20 16:23:18 -07:00
Koushik Dutta
92077c15d6 removal of the recovery checkpoint needs to happen AFTER sdcard is mounted. 2010-07-15 00:10:08 -07:00
Koushik Dutta
d63eaef179 add confirmations to anything that would change the system. 2010-07-14 21:01:21 -07:00
Koushik Dutta
ecd32fa2e8 Make generic confirmation function. 2010-07-14 18:38:08 -07:00
Koushik Dutta
1bf4f695d4 allow toggling of software back menu item. add recovery checkpoint file. mount auto now uses busybox mount. 2010-07-14 18:37:33 -07:00
Koushik Dutta
062d6b0bb3 Backup of Froyo apps on external storage. 2010-07-03 13:54:32 -07:00
Koushik Dutta
1e8aabad34 alphabetical sort
Change-Id: I4b1bb6787a5cbe1e99e3d8b0cc5bf37d7167398d
2010-07-01 00:23:45 -07:00
Koushik Dutta
cd44ab973e dont fail if nonmtd format fails... create mtab 2010-06-23 00:02:14 -07:00
Koushik Dutta
49af23cbce dalvik cache wip support 2010-06-21 13:45:51 -07:00
Koushik Dutta
8ec9418782 fix fstab for /sdcard 2010-06-21 12:27:43 -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
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
fd1579b7c0 add Wipe Battery stats. Generate fstab dynamically. 2010-05-01 12:46:55 -07:00
Koushik K. Dutta
f3534d08eb tabs vs spaces 2010-04-18 18:06:24 -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
7fe4d7bbcb because Chris Soyars doesnt like adb reboot recovery. whaaat!? 2010-04-06 23:04:52 -07:00
Koushik K. Dutta
6d32ac029c do not create a /tmp/.installscript. Let the install script do that. 2010-04-06 22:20:04 -07:00
Koushik K. Dutta
a5f64e66dd Add Hero CDMA support. Fix fail where formatting sd-ext would actually rm -rf /... wow epic fail. Spaces in paths are not your friend. 2010-04-05 15:44:57 -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
Koushik K. Dutta
1d53c4ea63 Real men clean up their mallocs 2010-04-02 16:46:21 -07:00
Koushik K. Dutta
68b0190858 Nandroid restore of sd-ext. 2010-04-01 12:20:39 -07:00
Koushik K. Dutta
3f99539c4d Add formatting options for SDCARD and SDEXT. Nandroid backup now supports SDEXT if it is mountable. TODO: Nandroid Restore of SDEXT. 2010-03-30 23:29:43 -07:00
Koushik K. Dutta
6a26e7c23f friendlier backup names. Remove option to format anything but boot. 1.7.8.4 2010-03-27 15:26:11 -07:00
Koushik K. Dutta
fe84a7ff84 allow selective restore 2010-03-25 18:19:23 -07:00
Koushik K. Dutta
da3a58289f touch /tmp/.installscript so we dont run backuptool 2010-03-23 15:11:16 -07:00
Koushik K. Dutta
707fa6d289 null terminate script. wrapping menus. 1.7.7 2010-03-23 11:44:33 -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
f721594cd0 Fix mount USB storage bug. Fix bug where boot image was not being restored by Nandroid. 2010-03-16 13:34:51 -07:00
Koushik K. Dutta
23116c95c7 readd /sdcard to mount menu 2010-03-16 11:56:01 -07:00
Koushik K. Dutta
4b249cd022 refactor backup and restore
fix bugs
2010-03-15 16:41:09 -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
928d605435 remove old nandroid script 2010-03-12 17:47:59 -08:00
Koushik K. Dutta
54305a8497 Nandroid fully implemented in C... needs some testing. 2010-03-12 17:43:26 -08:00