Commit Graph

60 Commits

Author SHA1 Message Date
Koushik Dutta
5268131918 allow explicitly provided mount locations
Change-Id: I3930b2abeb81c09c25c1750f0545c233c0d5a4a2
2011-08-31 23:26:45 -07:00
Koushik Dutta
7905c80940 bug fixes
Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
2011-06-15 00:00:55 -07:00
Koushik Dutta
fcb87af735 fix build
Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3
2011-06-14 23:44:39 -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
f573510b50 bml fixes
Change-Id: I442ef3c155bab36db578ca5735215aedda353c29
2011-04-22 12:12:32 -07:00
Kolja Dummann
92796ec949 build "mount & storage" menu from fstab 2011-03-07 13:06:07 +01:00
Koushik Dutta
13ac7a473f fix build
Change-Id: If907795c670fb1ca7ba28bbfd40d21ce51405b7d
2011-03-02 12:36:10 -08:00
Koushik Dutta
e734dad68c fixes
Change-Id: I28b58fec5ac92463bf189269267b8e1579dbc92c
2011-03-02 12:32:13 -08:00
Koushik Dutta
fa265db3a3 remove redundant code
Change-Id: I6a24f89068c882b18973c9143a02768531b71ddd
2011-03-01 21:43:29 -08:00
Koushik Dutta
c5ab2a34f9 remove debug code
Change-Id: I14a6657a6f875d4305ed72a163bf72e3e9c5dad1
2011-03-01 21:43:05 -08:00
Koushik Dutta
e2b929ded1 forgot to check this in.
Change-Id: I97a7cf0b9bb296bff4b8a80f528082c0c409e9e1
2011-03-01 21:41:54 -08:00
Koushik Dutta
a1f43bfd27 build break!
Change-Id: Ia33661ea1c735990528095038b93fd4ecb717341
2011-02-27 18:31:41 -08:00
Koushik Dutta
978a0e25c4 logging
Change-Id: Id835419f1ed3d9cf9c946f73a35eddc3ac029a2c
2011-02-27 17:58:26 -08:00
Koushik Dutta
ab1f8b836e more fixes for sammy
Change-Id: Ie11c673a204a328a82f767a2610c5f1d9a51233c
2011-02-27 17:28:30 -08:00
Koushik Dutta
7161f35736 specify a type on the mount.
Change-Id: I610330e2971aaf235e0420fa7d4387e4f55b0015
2011-02-27 17:00:47 -08:00
Koushik Dutta
e8bc2c808c Support fs mount options.
Change-Id: I8b0dc79dd054c4d1af599d9b68b5478196bdd183
2011-02-27 14:00:19 -08:00
Koushik Dutta
c7ef9af5d7 Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4 2011-02-09 16:32:42 -08:00
Koushik Dutta
49ee9a8b09 Defer to fstype2 if found. Use auto fs if two fstypes are specified
Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4
2011-02-09 16:15:54 -08:00
Koushik Dutta
64d79c6531 Support multiple file system types.
Change-Id: Icd89a7ce14ef7948dbd25bfbb17ff9d930514b00
2011-02-09 06:13:30 -08:00
Christopher Lais
066a1027a4 Use raw partition functions for emmc
Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
2011-01-16 06:29:31 -06:00
Koushik Dutta
9f52e5f23b fix android secure formatting
Change-Id: I617b8c453aad6d306cf8ddbc1a067c59ead56573
2011-01-02 14:11:24 -08:00
Koushik Dutta
1375df75ff fix bug
Change-Id: Id38cf292fd93f5a53552c80c48d9281701b88ce0
2011-01-01 18:04:44 -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
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
5d80817f2b There was apparently a lack of carebear.
Change-Id: Ie65bce617b99985ab937602e1e30a97340b0dd5b
2010-12-18 22:29:27 -08:00
Koushik Dutta
4995114d38 Add BOARD_HAS_JANKY_BACKBUFFER for terrible Galaxy Tabs.
Change-Id: I72e7a8aaf65c97d4cd2b77ff92cf7232f8c9e7a7
2010-12-18 21:58:43 -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
Steve Kondik
0b7bbf29d5 recovery: Remove condition around get_root_mtd_partition
Change-Id: I2e763000f65aba342f1851c7e94778a815bbaa6f
2010-12-14 03:43:35 -05: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
Koushik Dutta
ddc2e39dcf fix fstab generation
Change-Id: I223a07fd0ce3c0d48b7f18f5c42ae204affe087a
2010-11-27 17:53:50 -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
Shashank Mittal
815ca5d230 [recovery]: Add support for OTA upgrade on mmc devices.
Change-Id: I8f230dfa5be4e9f142765797d949e10434e1fdeb
2010-10-12 18:46:30 -07:00
Doug Zongker
c18eeb874b mount sdcard only on demand; fix sideload installs
Bug: 3009493
Change-Id: I1a7f99fc41a6a7012742e82f8c06a0c75584890a
2010-09-21 16:58:10 -07:00
Doug Zongker
d4208f9f9d remove the notion of "root path"; support mixed flash types (do not merge)
Remove the wacky notion of "roots" and "root paths" (those things that
look like "FOO:some/path" instead of just "/foo/some/path").  Let each
device specify its own table of available partitions and how to mount
them (needed for devices that use both MTD/yaffs2 and EMMC/ext4
partitions).

Change-Id: I18b0a572a71c5e087e0b7ae11b1774388339bfd1
2010-09-20 18:07:31 -07:00
Doug Zongker
d7d4208976 remove unneeded partition roots
Recovery itself no longer needs to access all these partitions;
manipulation of them is done by the updater binary.  This is a small
first step towards removing roots entirely.

Change-Id: I3fbcada32079a37db4cc097861dfa91e0a08da30
2010-09-17 13:02:48 -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
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
Doug Zongker
23ceeea85e make a copy of sideloaded packages in /tmp before verifying
Copy a sideloaded package into /tmp, then verify and install the copy,
to prevent malicious users from overwriting the package between
verification and install.

Bug: 2826890 package can be replaced during verification
Bug: 2058160 Recovery should copy sideloaded (sd card) update ...
Change-Id: I3de148b0f1a671f1974782b6855527caeaefda23
2010-07-08 17:27:55 -07:00
Koushik Dutta
062d6b0bb3 Backup of Froyo apps on external storage. 2010-07-03 13:54:32 -07:00
Koushik Dutta
a6522b3584 add recovery.log reporting 2010-06-20 13:16:06 -07:00
Koushik Dutta
e51e47d814 fix up the default SDCARD devices 2010-06-18 15:57:18 -07:00