Commit Graph

170 Commits

Author SHA1 Message Date
Koushik Dutta
8a6bc77423 test
Change-Id: I25bd6846aea09247459c89ba98e6ac34c3debaa3
2011-05-26 11:14:15 -07:00
Koushik Dutta
d79b7541f3 whoops
Change-Id: Ided86fe1991e5d9d6a707465429ec35ccc09743a
2011-05-25 10:47:41 -07:00
Koushik Dutta
666053ed26 3.1.0.1
Change-Id: Ia3115a520922254565532bbbb1e9aba6c680e80b
2011-05-16 10:04:53 -07:00
Koushik Dutta
4d5109cfa8 update to 3.1.0.0
Change-Id: I86d5aa2651c297ddf03279269da0c23819a06be1
2011-05-12 13:46:19 -07:00
atinm
54815c9dc9 Use TARGET_RECOVERY_PRE_COMMAND before calling __reboot() recovery
For the Power menu,
frameworks/base/core/jni/android_os_Power.cpp#L180
already uses TARGET_RECOVERY_PRE_COMMAND if
TARGET_RECOVERY_PRE_COMMAND is defined in the
BoardConfig.mk for a device to make a system() call before
calling __reboot() for recovery. This commit adds
the same thing to the other places that we know we are
getting into recovery using __reboot().

Change-Id: Ifd0394fed1e87b63d80d95e0e2a049004518e27e
2011-05-07 15:36:56 -04:00
codeworkx
9c4c8e2c66 bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones.
The Samsung Galaxy S bootloader apparently expects the kernel to be flashed to BML-managed flash - bad erase blocks will be mapped from a reservoir area.
CWM however just skips bad blocks, the usual procedure for mtd-accessed flash.
Consequently, the bootloader sees a corrupt zImage, and will usually crash when the kernel initializes.
This of course will only happen when the "boot" partition has bad blocks.

This patch was written by "eifert" and adds a tool called "bml_over_mtd" for flashing boot images which takes care of bad blocks and maps them to a reservoir area, like BML does.

Change-Id: If570717a19b879d47d70d937a0751cd85853eacd
2011-04-25 11:16:41 -07:00
Koushik Dutta
6a97396572 3.0.2.8
Change-Id: Icce5373f73f349c07bad29763803ba919cf64dc1
2011-04-24 20:16:39 -07:00
Koushik Dutta
1f1a274ecc 3.0.2.7
Change-Id: I43e32be031bf7803ca3ef3c8e77e7955218fd798
2011-04-23 16:35:19 -07:00
Koushik Dutta
f573510b50 bml fixes
Change-Id: I442ef3c155bab36db578ca5735215aedda353c29
2011-04-22 12:12:32 -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
ee9ab1969a 3.0.2.4
Change-Id: Ic727ec267f090bd8f9bc04f02e852184aecccc89
2011-03-23 22:51:53 -07: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
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
jt1134
47d86a35bc option to specify usb_mass_storage device in device overlay 2011-02-27 17:07:53 -08:00
Koushik Dutta
33fd0d0a70 Fix inc /datadata wiping from RM.
Change-Id: I983bf83a7baf1494c7ff26199591bb93fab5ae74
2011-02-27 12:42:24 -08: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
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
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
29a7891204 3.0.0.2
Change-Id: I4705196b5bf8e66e4ac409a027650be9ce491f4c
2010-12-30 23:17:28 -08:00
Koushik Dutta
ebc5aab351 3.0.0.1
Change-Id: Ie38f59158f6ada921e9be4e5a8e7cd89207225d5
2010-12-30 11:41:31 -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
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
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
Koushik Dutta
134ead7537 fix up bmlutils some more
Change-Id: Ia11e917a6c0dc8164d599e02154f9f7b2934ed65
2010-12-12 16:54:41 -08:00
Koushik Dutta
03a4f5ba0d supprot backup and restore of samsung kernels
Change-Id: I6deb5918f97ca5c5466b1d78369454b3452b89c0
2010-12-12 12:24:02 -08:00
Koushik Dutta
02c360501b Fix graphics corruption on some devices. BML restore needs to unlock first.
Change-Id: Ib6ede1dee0a0a4494319cfdb1613be2e89260874
2010-12-12 02:52:44 -08:00
Ricardo Cerqueira
9acb022ab8 recovery: Support board-specified font sizes and font-files
This, for example, is for an LDPI device:
BOARD_RECOVERY_FONT_INCLUDE_HEADER := ../../device/geeksphone/one/font_7x16.h
BOARD_RECOVERY_FONT_WIDTH := 7
BOARD_RECOVERY_FONT_HEIGHT := 16

Change-Id: I71d2f420b9668b5767c9b0b5d90e3e523c56e873
2010-11-27 04:08:06 +00:00
Koushik Dutta
37d96f7414 2.5.1.3
Change-Id: Iae5d458edaedb90dd2422175a185a9b5725dbc74
2010-11-26 18:45:06 -08: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
d771acbed0 Modify apply_patch to fail if trying to patch mtd on non-mtd devices.
Change-Id: I09c5bb5d12d838fdc4c4c6eb380021c9b3f3e33e
2010-11-11 00:00:45 -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
7a77aec362 fix mmcutils usage
Change-Id: I04db586599af21f64174b0e656201c724bf82050
2010-11-09 09:23:15 -08:00
Koushik Dutta
487821abe5 Merge remote branch 'github/eclair' into froyo 2010-11-06 17:59:05 -07:00
Koushik Dutta
9456641236 2.5.1.1 2010-11-05 12:47:48 -07:00
Shashank Mittal
815ca5d230 [recovery]: Add support for OTA upgrade on mmc devices.
Change-Id: I8f230dfa5be4e9f142765797d949e10434e1fdeb
2010-10-12 18:46:30 -07:00
Koushik Dutta
0209a62c7d merge from froyo
Change-Id: Ic80ad93cd3b05d55ba8b4e16edaa59ee58f08f05
2010-10-12 11:39:35 -07:00
Koushik Dutta
adf906d034 custom keymapping support 2010-09-26 15:58:35 -07:00
Koushik Dutta
7f4ff5cd3a favor primary device always for fstab 2010-09-20 19:21:52 -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
Koushik Dutta
e17a78ddda allow the parted and fix permissions tools to be optional 2010-09-17 14:17:57 -07:00
Koushik Dutta
4e10b135cc Lie and say it is version 2 for backwards compatibility.
Change-Id: I5b0627fd49d3ee9f562c67bcac48783b00198ab0
2010-09-13 15:14:07 -07:00
Koushik Dutta
28a41b4df2 initial support for bml backup and restore
Change-Id: I7e6f1a76371c0d1c1f4cfac0413ba6fa7743f17a
2010-09-13 14:55:17 -07:00