Commit Graph

527 Commits

Author SHA1 Message Date
Tony Layher
3f26366993 Recovery: rearrage defines to fix recovery for mecha and
not break it for toastcfh

Change-Id: If6d4ced872bc04fc5d02803672c8279c82fe9ea3
2011-03-21 08:03:46 -04:00
Koushik Dutta
faa477ec99 fix potential break that toastcfh found?
Change-Id: I590bf171a78380daaa9ea65b4ece726b64c7cd23
2011-03-20 15:44:48 -07:00
Tony Layher
6d19f22c85 Recovery: Add support for filesystems >2gb
Add a  prebuilt static linked mke2fs with support for >2gb FS.
Add board_has_large_filesystem define
Adjust mmcutils for differences between busybox and static mke2fs

Change-Id: Ib02771ee161e8874b6840067dc8682fc63ad6513
2011-03-20 08:28:09 -04:00
Koushik Dutta
67fa0c375f fix erroneous detection of device flash type when device is explicitly provided. fix bugs in mount generation.
Change-Id: I54a35390550b1384f12c4b12267029d77bef8fa3
2011-03-17 11:37:21 -07:00
Kolja Dummann
92796ec949 build "mount & storage" menu from fstab 2011-03-07 13:06:07 +01:00
Koushik Dutta
59d86b4cf7 fix wimax backup for emmc
Change-Id: I3da8a3d9411b52e07bebe6214f86dd12ac98bb82
2011-03-06 15:18:48 -08:00
Koushik Dutta
5ee98b20d0 for toast
Change-Id: I5dd56606ace68d77e244840941852571c05d36e0
2011-03-02 19:35:05 -08:00
Koushik Dutta
65ad19c943 version
Change-Id: I34d22f72896a15abc4f0c75267dbcb78b1d6a33c
2011-03-02 12:36:14 -08: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
jt1134
47d86a35bc option to specify usb_mass_storage device in device overlay 2011-02-27 17:07:53 -08:00
Koushik Dutta
7161f35736 specify a type on the mount.
Change-Id: I610330e2971aaf235e0420fa7d4387e4f55b0015
2011-02-27 17:00:47 -08:00
Koushik Dutta
33e37f3e5d check for bml too
Change-Id: Iff062f439c0daa0ce768c3853fd7c290e75b8d3d
2011-02-27 16:33:32 -08:00
Koushik Dutta
d9fbe2f1ce Dont error spew if no misc partition is available.
Change-Id: Ic5d9c8dc936e8f9a4c61474cebeabb2eecc4446e
2011-02-27 15:54:03 -08:00
Koushik Dutta
e8bc2c808c Support fs mount options.
Change-Id: I8b0dc79dd054c4d1af599d9b68b5478196bdd183
2011-02-27 14:00:19 -08:00
Koushik Dutta
33fd0d0a70 Fix inc /datadata wiping from RM.
Change-Id: I983bf83a7baf1494c7ff26199591bb93fab5ae74
2011-02-27 12:42:24 -08:00
Koushik Dutta
75b2fa023b Merge "Added Power off capability" into gingerbread 2011-02-18 23:28:39 +00:00
Koushik Dutta
a9f0e7fdfe remove unused defines. dont try to mount boot if it is emmc or bml either.
Change-Id: I835f74785938be940111f03a6b092b926681d745
2011-02-12 10:21:11 -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
Koushik Dutta
28fee5a1b2 Merge "Add support for devices that have an upside-down mounted display." into gingerbread 2011-02-06 22:12:49 +00:00
Brandon Bennett
6d0604bf34 Add support to mount /boot for systems that have a mountable /boot.
This is checked at runtime to see if /boot is a mountable parition (i.e not mtd), if so it adds an entry into /etc/fstab.

This will allow us to mount /boot from an edify script and push certain files without completely imaging the parition which can contain other files such as the bootloader (u-boot), and recovery kernel and ramdisks as is the case with the encore (NookColor)

Test on NookColor and passion.  Correct entry was added to the NC and not added to the passion as expected.

Change-Id: I9850dee866b77653bf400bb5193905e55da3f25f
2011-01-28 13:42:14 -07:00
Carlos Silva
b5d0bd024c Add support for devices that have an upside-down mounted display.
ZTE Blade is an example of this type of devices.
The original patch comes from Sebastian404 -> http://goo.gl/QC37W

Change-Id: Idffd97adf7da8a352617342bb6ff2161e6eac3a5
2011-01-19 11:15:08 +00:00
Christopher Lais
066a1027a4 Use raw partition functions for emmc
Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
2011-01-16 06:29:31 -06:00
Christopher Lais
a25cf5ec4f Use erase_raw_partition for unknown named partitions
Change-Id: I84014a851ebdfb2c228cff43879580a761c22708
2011-01-16 06:05:22 -06:00
Koushik Dutta
e06e539196 fix sd-ext backup and restore.
Change-Id: I346724f231bb29df2c0fa833df420620ab1be1b4
2011-01-16 02:33:04 -08:00
KalimochoAz
d646a6fa1d Added Power off capability
Change-Id: I545f8b73e84c5083d2d17b98f8edcdd612c0f78e
2011-01-10 06:14:21 +01: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
d8e21c3712 Add the volume command for seeing the current recovery.fstab. Support crazy HTC chargemode.
Change-Id: I26a6e83dc5704aa03ab3aa078f24f8943cf13614
2011-01-04 10:46:55 -08:00
Koushik Dutta
b4c5fd6305 Support for ext2 and ext3 update-binary.
Change-Id: Ide34392bd8ac56878aa3e992b275a39d6b6bc7cf
2011-01-02 22:54:31 -08:00
Koushik Dutta
9f52e5f23b fix android secure formatting
Change-Id: I617b8c453aad6d306cf8ddbc1a067c59ead56573
2011-01-02 14:11:24 -08:00
Koushik Dutta
67c381a6fa 3.0.0.4. Provide an error message if an Amend zip is provided.
Change-Id: Ia740686a138cff01de2c1475acc0abccb18d9c2d
2011-01-02 12:26:35 -08:00
Koushik Dutta
949f3b34ee Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-01-01 20:03:39 -08:00
Koushik Dutta
f1cb0d5b35 fix ums mounting
Change-Id: I97316668fe3e4447a04cd9f189b0d3d89cd97d9f
2011-01-01 20:03:30 -08:00
Koushik Dutta
ad10e56863 fix nandroid-md5.sh executable bit.
Change-Id: Ib90872e1ff341cc913de8ed3577738efd2428f61
2011-01-01 18:50:09 -08:00
Koushik Dutta
7aa8ef9abc fix executable bit on e2fsck
Change-Id: Iedc3ead52645af5c104642e2eb78f3578fb7b8fb
2011-01-01 18:26:49 -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
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
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