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
Don't allow formatting of special partitions like radio, bootloader,
or misc. No sense in formatting recovery from recovery either dawg.
Change-Id: I0f935aad103574b17be237993730afaeae623871
cwm 3.0.2.4 had the bad habbit to bind back key to enter,
which is the same function as power key, when there is no
select-button on that device.
many many new (htc) devices got: home | menu | back | search
back should be always back. having back working as enter
button confused the shit out of me.
home/menu was not used. i bound up/down highlight movement to it
back is fixed back. search on the other hand is replacement enter.
so, you can control the whole recovery with those 4 easy-to-reach
keys now. on some devices power/vol+/vol- are kinda hard to reach.
if this patch breaks any other devices i am not aware off, please
handle this issue in another sane way.
Change-Id: Ic9c14e6ae7a8a0f1c9cf5c8895716e5357b3da0e
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
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
ZTE Blade is an example of this type of devices.
The original patch comes from Sebastian404 -> http://goo.gl/QC37W
Change-Id: Idffd97adf7da8a352617342bb6ff2161e6eac3a5