Commit Graph

67 Commits

Author SHA1 Message Date
Prashant Somashekar
357a2f5109 extendedcommands/nandroid: remove internal options if no sdcard and is_data_media
-force /data as backup_path if volume for /sdcard is null and the same is true

Change-Id: I927b723cde5b519d81402c6d841f2424627253e8

Conflicts:

	nandroid.c
2011-12-18 02:52:21 -05:00
Koushik Dutta
ddc1241a36 fix missing prebuilts in recovery. mmc bootloader message support. fix segfault happening due to C structs not being zeroed out. 2011-11-23 14:06:26 -08:00
Koushik Dutta
89ed0b7355 support backup and restore on internal sdcard
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
2011-10-26 21:25:34 -07:00
Donovan Bartish
a87bb5f57b edited nandroid.c to include rfs in fs lists
Change-Id: I403331df04d6a4cf75fd898af42dec7aab5a1b59
2011-09-29 15:37:19 -05:00
Koushik Dutta
30a937a954 cwr 5
Change-Id: I70cbb4df78b0bbc9d227d19aa6d9434eba2b540d
2011-09-05 21:14:06 -07:00
Koushik Dutta
c915937ebd herp
Change-Id: I4aace74f1d3638241939f842a4526f9724cf5dac
2011-07-20 01:26:02 -07:00
Koushik Dutta
137c9f41c4 fix crash
Change-Id: I65be72b5cd8c0679fb328a78eb4016e2c89ec9b0
2011-07-20 01:19:44 -07:00
Koushik Dutta
94a4babac7 Google Music stores their music cache /sdcard/Android...
Can't back this up unless we start selectively excluding apps, which is gross.

Most apps only store interstitial files here, so it is not a huge deal.
Apps need to be able to work properly without an SD card. (Oops ROM Manager).

Revert "backup and restore of /sdcard/Android (see getExternalFilesDir)"

This reverts commit 50732e3c67.

Conflicts:

	Android.mk

Change-Id: I3978c5521b4f29c4d709c3bb6a8fa7e53678a79e
2011-07-13 10:34:23 -07:00
Koushik Dutta
50732e3c67 backup and restore of /sdcard/Android (see getExternalFilesDir)
Change-Id: I6306464cdce4e3b48e0d109284e5606f65a84ee2
2011-07-07 12:44:05 -07:00
atinm
9759ede732 Use the callback function in the call to mkyaffs2image() in _wrapper
Change-Id: Iee385a602e33a44dfa0deee8af49133f16f09d2c
2011-06-25 18:40:18 -04:00
Koushik Dutta
7905c80940 bug fixes
Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
2011-06-15 00:00:55 -07:00
Koushik Dutta
55e5e7b59a cleanups for tar and /data/media support
Change-Id: I4afe3a8d4484f91b1e689d7b3aa4f137acd66e93
2011-06-14 23:39:59 -07:00
Koushik Dutta
38a921435a make tar backups opt in.
Change-Id: Ib01131f3a65ce4114e73abe2c7ba42263d281844
2011-06-10 09:45:52 -07:00
Koushik Dutta
5082299146 tar nandroid and /data/media support.
Change-Id: I9405e701887fc83c422c63c1dbf5ff087fff880d
2011-06-08 19:03:27 -07:00
Koushik Dutta
7adeadce47 fix up some implicit declarations
Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
2011-05-26 11:47:56 -07:00
Koushik Dutta
e62132bb6d more fixes
Change-Id: Ic55d94ef69b6b8ea4ec2a6df708a9444e9d5f4e5
2011-05-26 11:29:29 -07:00
Koushik Dutta
8a6bc77423 test
Change-Id: I25bd6846aea09247459c89ba98e6ac34c3debaa3
2011-05-26 11:14:15 -07:00
Koushik Dutta
fdd4766c1e Revert "allow precise device detection"
This reverts commit ed7d296dfa.
2011-04-17 00:49:15 -07:00
Koushik Dutta
ed7d296dfa allow precise device detection
Change-Id: Ie837500d459c95df0b1a5f849b3eba718cf8cf09
2011-04-16 13:45:53 -07:00
Koushik Dutta
5ee98b20d0 for toast
Change-Id: I5dd56606ace68d77e244840941852571c05d36e0
2011-03-02 19:35:05 -08:00
Koushik Dutta
33e37f3e5d check for bml too
Change-Id: Iff062f439c0daa0ce768c3853fd7c290e75b8d3d
2011-02-27 16:33:32 -08:00
Christopher Lais
066a1027a4 Use raw partition functions for emmc
Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
2011-01-16 06:29:31 -06:00
Koushik Dutta
e06e539196 fix sd-ext backup and restore.
Change-Id: I346724f231bb29df2c0fa833df420620ab1be1b4
2011-01-16 02:33:04 -08:00
Koushik Dutta
53c9bd8b10 Refactor nandroid so the availability of boot backup is determined automatically. Boot backups are also no longer assumes to be on raw partitions, as they may be on a VFAT partition or someting different, such as in the case of Nook.
Change-Id: I036befb44f0d873fde02485e34aab14faf8bfe8d
2011-01-04 11:38:31 -08:00
Koushik Dutta
a25deae3ef fix wimax
Change-Id: Ieff7638293e01546baf382d9c8a5b798cff46331
2011-01-01 18:17:48 -08:00
Koushik Dutta
f12df71ffb fix nandroid linkage issue
Change-Id: I36998f2e94ad1ead656c6374c551d5e02e2db219
2011-01-01 18:16:01 -08:00
Joshua Wise
5a3f1d8af5 Erase WiMAX device before restore. 2010-12-31 02:16:00 -05:00
Joshua Wise
05d4a09aba Fix up for property_get in recovery, which appears to have slightly different semantics. Durr. 2010-12-31 02:05:35 -05:00
Joshua Wise
ca889ec844 WiMAX backups have their serial number in them, and messages now say WiMAX instead of wimax. 2010-12-30 02:48:25 -05: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
5460f0c746 Automatically detect /datadata from recovery.fstab. Remove BOARD_HAS_DATADATA.
Change-Id: I28d3c7a6beaacd77c67c5af0ae3464acfd2572e3
2010-12-18 22:37:49 -08:00
Koushik Dutta
bf4444f1fb Fix various bugs.
Change-Id: I46e3001e6857480a77253be24b1753b2e4d88e69
2010-12-18 18:57:47 -08:00
Koushik Dutta
df1e406782 Merge from ClockworkMod recovery
Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
2010-12-18 17:42:31 -08: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
56c1b3b576 add support for bml dumping
Change-Id: I9dd7fd8552d4efce533c23541f3612c01e3bd90b
2010-09-13 15:08:49 -07:00
Koushik Dutta
28a41b4df2 initial support for bml backup and restore
Change-Id: I7e6f1a76371c0d1c1f4cfac0413ba6fa7743f17a
2010-09-13 14:55:17 -07:00
Koushik Dutta
852bb420e7 Do not unmount on wipe unless needed. Add reboot binary. Restart recovery process for Galaxy S. 2010-07-24 11:18:00 -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
062d6b0bb3 Backup of Froyo apps on external storage. 2010-07-03 13:54:32 -07:00
Koushik Dutta
0837091e8d command line nandroid 2010-06-26 12:25:02 -07:00
Koushik Dutta
52d3f205b5 fix sdext backup bug 2010-06-21 12:11:13 -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
8b5e1856b3 support DATADATA 2010-06-14 22:04:22 -07:00
Koushik Dutta
58131e760c add optional hiding of the progress bar, for speed. 2010-06-09 12:41:20 -07:00
Koushik K. Dutta
8430655931 format BOOT on nandroid restore. 2010-04-18 21:21:58 -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