Go to file
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
applypatch Modify apply_patch to fail if trying to patch mtd on non-mtd devices. 2010-11-11 00:00:45 -08:00
bmlutils fix build break 2010-12-21 15:16:05 -08:00
edify make StringValue wrapper okay to call on NULL 2010-02-24 15:05:07 -08:00
etc add offmode charging for htc 2011-04-10 10:20:53 -07:00
flashutils bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones. 2011-04-25 11:16:41 -07:00
htc/res/offmode_charging_images add offmode charging for htc 2011-04-10 10:20:53 -07:00
minui Add support for devices that have an upside-down mounted display. 2011-01-19 11:15:08 +00:00
minzip add a one-argument version of package_extract_file 2010-02-01 14:40:12 -08:00
mmcutils Fix makefile fail 2011-03-21 20:31:52 -04:00
mtdutils bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones. 2011-04-25 11:16:41 -07:00
res/images There was apparently a lack of carebear. 2010-12-18 22:29:27 -08:00
testdata add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
tools remove amend 2009-07-14 16:58:42 -07:00
updater Support for ext2 and ext3 update-binary. 2011-01-02 22:54:31 -08:00
utilities fix bug where the wrong SD Card block gets partitioned. rely on the ftsab to glean the sdcard mmcblk 2011-04-22 11:26:03 -07:00
Android.mk bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones. 2011-04-25 11:16:41 -07:00
bootloader.c Dont error spew if no misc partition is available. 2011-02-27 15:54:03 -08:00
bootloader.h forward port excluded bootloader stuff from eclair 2010-06-30 23:17:53 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:03 -08:00
common.h Support fs mount options. 2011-02-27 14:00:19 -08:00
default_recovery_ui.c Recovery: Fix keys for many new devices 2011-03-26 18:51:18 +01:00
edifyscripting.c format .android_secure on RM data wipe. 2011-04-23 19:01:16 -07:00
encryptedfs_provisioning.c Merge from ClockworkMod recovery 2010-12-18 17:42:31 -08:00
encryptedfs_provisioning.h DO NOT MERGE 2010-04-01 17:14:57 -07:00
extendedcommands.c remove old chargemode crap 2011-04-17 15:56:30 -07:00
extendedcommands.h readd ext2/ext3 format support. 2011-01-01 17:55:22 -08:00
firmware.h forward port excluded bootloader stuff from eclair 2010-06-30 23:17:53 -07:00
install.c 3.0.0.4. Provide an error message if an Amend zip is provided. 2011-01-02 12:26:35 -08:00
install.h run update-binary first. revert recovery API version to 2. use RECOVERY_VERSION for the actual display version. 2010-03-20 01:08:55 -07:00
killrecovery.sh fixes and stuff for droid x 2010-08-17 16:55:38 -07:00
mounts.c Merge from ClockworkMod recovery 2010-12-18 17:42:31 -08:00
mounts.h Merge from ClockworkMod recovery 2010-12-18 17:42:31 -08:00
nandroid-md5.sh fix nandroid-md5.sh executable bit. 2011-01-01 18:50:09 -08:00
nandroid.c Revert "allow precise device detection" 2011-04-17 00:49:15 -07:00
nandroid.h Add support for wimax imaging 2010-12-29 23:03:32 -08:00
NOTICE Automated import from //branches/donutburger/...@140818,140818 2009-03-24 18:36:43 -07:00
reboot.c missing files 2010-07-24 11:21:12 -07:00
recovery_ui.h Added Power off capability 2011-01-10 06:14:21 +01:00
recovery.c remove old chargemode crap 2011-04-17 15:56:30 -07:00
roots.c bml fixes 2011-04-22 12:12:32 -07:00
roots.h build "mount & storage" menu from fstab 2011-03-07 13:06:07 +01:00
setprop.c missing files 2010-07-24 11:21:12 -07:00
ui.c There was apparently a lack of carebear. 2010-12-18 22:29:27 -08:00
verifier_test.c add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
verifier_test.sh add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
verifier.c add a simple unit test for the OTA package verifier 2009-12-09 17:01:45 -08:00
verifier.h do not merge: cherry-picked 60151a295c from master branch 2009-08-17 13:21:04 -07:00