Commit Graph

89 Commits

Author SHA1 Message Date
Koushik Dutta
3affbec593 fix up boot formatting. remove depracated function.
Change-Id: I9d707e62b1752079ec1b669a3800dbf12e035ead
2011-01-01 18:10:11 -08:00
Koushik Dutta
2e45449ef3 more logging
Change-Id: I77a7198808133e5f0a6d8de1f5e716aecf31c0ae
2011-01-01 18:06:17 -08:00
Koushik Dutta
a8708c6044 readd ext2/ext3 format support.
Change-Id: Ic21197df8ff53fdc8ffd3dc1947bd2ecb475eda8
2011-01-01 18:00:27 -08:00
Koushik Dutta
da32b54f85 readd ext2/ext3 format support.
Change-Id: I58652abaea8f7a52b70bc1b14aec5b530fe70382
2011-01-01 17:55:22 -08:00
Koushik Dutta
5b7f34a2d8 wimax restore should not be on by default
Change-Id: I1e1869e615905ce6dbefd0b1a8e64414f619508e
2010-12-29 23:36:03 -08:00
agrabren
1f76a5da6b Add support for wimax imaging
Change-Id: I2f14918f3ffb37fe94bab469e1d89a9874d89d18
2010-12-29 23:03:32 -08:00
Koushik Dutta
745b5ff987 Use unique filenames for the pre ext4 convert backup.
Change-Id: I49ee96c454c826fc92c45f160c6d45cc5566f0a6
2010-12-21 00:58:43 -08:00
Koushik Dutta
31b741174c Fix fstab generation.
Change-Id: Ibab3c93c55abcece80a89bbff620f164588baf96
2010-12-20 08:49:20 -08:00
Koushik Dutta
bec0995afe ROM Manager is now powered by Edify,
Change-Id: I3857aa6591b743be146d87a4e97afdc9d9c765ed
2010-12-19 20:37:57 -08:00
Koushik Dutta
33491accea Fix sdcard mount bug.
Change-Id: I2e448f3f0a0a4de39a8d1cd7db5dc8cd986d3229
2010-12-19 03:41:41 -08:00
Koushik Dutta
4196e0fa5e bml devices that are using rfs are automatically upgraded to ext4. Version 3.0.0.0.
Change-Id: I069f0c5122e8d48ce311f519f08890d3e569dbb3
2010-12-19 03:38:29 -08:00
Koushik Dutta
5460f0c746 Automatically detect /datadata from recovery.fstab. Remove BOARD_HAS_DATADATA.
Change-Id: I28d3c7a6beaacd77c67c5af0ae3464acfd2572e3
2010-12-18 22:37:49 -08:00
Koushik Dutta
9765a037a1 Remove usage of BOARD_HAS_NO_MISC_PARTITION.
Change-Id: I5775f47fb1d5ef66e2461a0c53166af03354a6f6
2010-12-18 21:31:02 -08:00
Koushik Dutta
b643e4f3d0 Fix up fstab generation
Change-Id: I922183bc3de8d2b3bb7d1497725f2641a4358216
2010-12-18 18:39:39 -08:00
Koushik Dutta
df1e406782 Merge from ClockworkMod recovery
Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
2010-12-18 17:42:31 -08:00
Brint E. Kriebel
d352233ab6 Added options for an internal SD card to be handled by recovery.
Exable uses in BoardConfig.mk:
	BOARD_HAS_SDCARD_INTERNAL := true
	BOARD_SDCARD_DEVICE_INTERNAL := /dev/block/mmcblk3p1

Setting BOARD_SDCARD_DEVICE_SECONDARY to the same value as
	BOARD_SDCARD_DEVICE_INTERNAL will allow the device to
	"fall back" to the internal SD card for other actions.

Change-Id: I2cf8ab4b1d385ac714f5b7416b915d059033d94b
2010-12-13 23:57:20 -08:00
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