Koushik Dutta
a9017dabc5
remove redundant fix
2011-11-23 14:07:06 -08: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
Pawit Pornkitprasan
ff316eb739
recovery: fix non-MTD mounting (uninitialized variables)
...
Mounting failed due to invalid (garbage) fs_options
2011-11-19 13:31:21 +07:00
Koushik Dutta
0df56f4db4
wip
2011-11-16 16:00:35 -08:00
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
Doug Zongker
469243e536
save a last_install file with the result of the last package install attempt
...
When installing a package, create /cache/recovery/last_install, which
contains the filename of the package and a 1 or 0 for success or
failure.
Also, don't mount ext4 and vfat filesystems as read-only (on devices
where /cache is ext4, we need it to be read-write).
Change-Id: I0cf2a1921bbd65e06343aa74e2006577fac77c2c
2011-04-12 09:28:10 -07:00
Iliyan Malchev
201aa88cba
recovery: mount /sdcard read-only
...
Change-Id: Ieffafe00cf82620057cacd0629cb60b0e6aad817
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-11 16:47:53 -08: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
Doug Zongker
2810ceda34
store partition length in recovery.fstab
...
Don't hardcode magical partition behavior in roots.c.
Change-Id: I587fc2c066575b51c11efd2e45a50f5b864df484
2011-02-17 15:55:21 -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
Ken Sumrall
8f132ed870
Reserve the last 16 Kbytes of /data for the crypto footer.
...
When formatting /data, if it's an ext4 filesystem, reserve the
last 16 Kbytes for the crypto footer.
Change-Id: I7b401d851ee87732e5da5860df0287a1c331c5b7
2011-01-19 17:12:47 -08:00
Christopher Lais
066a1027a4
Use raw partition functions for emmc
...
Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
2011-01-16 06:29:31 -06:00
Colin Cross
49396b79b5
Update make_ext4fs arguments in roots.c
...
Change-Id: I835e55fb80add6a74cd4d99f77b2528829d9a349
2011-01-05 17:19:37 -08: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