yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] Hashcode:
New version 1.4a is up. Bugfixed the "Reset bootmode" boot option.

Mediafire mirror:

http://www.mediafire.com/?5ybfghzkrry151g

md5sum: d6a85ffe24ec48c132665e8d6852bf3e

Drop box mirror:

http://bit.ly/K5hpiN

md5sum: d6a85ffe24ec48c132665e8d6852bf3e

To apply this update there are 2 methods.

#1 method (fastboot):

cd

fastboot flash bootloader fff-u-boot_v1.4.bin

(Power on your Kindle)

#2 method (adb):

(While booted up in Android or Recovery)

cd

adb push fff-u-boot_v1.4.bin /sdcard

adb shell

dd if=/sdcard/fff-u-boot_v1.4.bin of=/dev/block/mmcblk0p2

#3 method (via root script):

Also can use smirkis' script here:

http://xdaforums.com/showpost.php?p=25605683&postcount=26

NOTE: the filename is: fff-u-boot_v1.4a.bin <-- ("a" after v1.4)
[Kindle Fire Android Development] BrooksBlood:
What do you mean by putting the fff-v1.4 file and script into the root of you SD card? I have a root folder that's not in my SD card and it has nothing in it. Is this what you mean?
[Kindle Fire Android Development] aoaleman:
He means put it in /mnt/sdcard

Additionally, you will probably need to either edit the file name or edit the script to match the filename.
[Kindle Fire Android Development] jeffbud98:
have a few qquestions:

do i have to have the .bin on the sd card before i run the adb commands, or should i put it in the file with my adb commands

do i type the adb shell command seperatly from the dd if= command

i can install this update over the old firefirefire, the one with the triangle and the flames that you get when you use burritoroot 3
[Kindle Fire Android Development] CjamesL:
Thanks for this and thanks to smirkis for the quick and easy script

Works and looks so much better
[Kindle Fire Android Development] ammubarak:
You do not need to push .bin file to sdcard.

Just type adb shell to get into shell mode first and then follow with the remaining commands.

This will replace the previous boot loader in your KF with triangle and the flames.
[Kindle Fire Android Development] smirkis:
I updated the script for the new name/update. same URL.
[Kindle Fire Android Development] TexasRules777:
I just renamed your original script and ran it...is that cool?
[Kindle Fire Android Development] BluesHawk:
Yep. I just renamed the.bin file deleting the a and ran the original script and I was good to go :)
[Kindle Fire Android Development] smirkis:
ya that's fine. I just updated it for those who are downloading both files for the first time.
[Kindle Fire Android Development] soberarmy:
Hey hash can I just restore a earlier backup since I cant make this bootloop stop long enough for me to run a new script, ive set bootmode to normal with utility and no change .

---------- Post added at 09:12 PM ---------- Previous post was at 08:45 PM ----------

This is to anyone. Where do I put the .bin file on my computer so I can use adb commands. I usually use scripts and zip files so believe it or not this would be my first time using adb. I am really sorry if im getting out of hand. Thanks.
[Kindle Fire Android Development] Pkt_Lnt:
Put it in the platform-tools directory where fastboot is located. Turn you KF off, plug into a USB and the other end of USB to computer. Open a cmd prompt in the directory, mine is C:\Program Files\Android\android-sdk\platform tools

Type or paste the command, fastboot flash bootloader fff-u-boot_v1.4a.bin, when you see <waiting for device>, turn the KF on.

After it shows finished, type or paste the command, fastboot reboot

After the KF reboots, disconnect the cables, you are done.
[Kindle Fire Android Development] soberarmy:
Cool thanks ill give it a try when I put the kids down to sleep.
[Kindle Fire Android Development] Thepooch:
Script and update ran perfect thanks guys:-)
[Kindle Fire Android Development] TexasRules777:
Same here..thanks for ALL the hard work you guys do here :beer:
[Kindle Fire Android Development] TexasRules777:
Delete
[Kindle Fire Android Development] raiderep:
Fastboot flashed with correct command and working fine, select with power works fine with holding it in until it moves opposed to just pressing it. Just my observation from previous experience with dual boot menu, same thing happened with that bootloader. Love the blue logo, looks sweet!
[Kindle Fire Android Development] PowSniffer0110:
Used the gscript option and it worked fine. Now how do I install a second rom on top of ICS? Have nandroids but want dual boot.

I have twrp 2.0 and the new boot loader now
[Kindle Fire Android Development] ma678:
OP, would you please update cmd file name on Thread #1? It still shows v1.4 instead.

It works very well though.

Thanks.
[Kindle Fire Android Development] soberarmy:
:confused:cant seem to fix this i set boot mode to 4000 (normal boot)still on bootloop or what ever its doing because it boot up normally sometimes and works but if i let it sit for too long it just reboots itself and most of the time it boots up normally into the rom then 15 seconds later it reboots. Im searching the web but cant seem to find anything on this.:mad:
[Kindle Fire Android Development] pmdisawesome:
I think my Kindle is gone, forever!!!

So I was using the 1.4 when I saw there was an update to 1.4a, so I thought the name didn't matter so I booted into TWRP 2.1.1 and Mount USB Storage, I deleted the 1.4 and I rename the 1.4a file into 1.4 (from fff-u-boot_v1.4a.bin to fff-u-boot_v1.4.bin) and copy it from my pc to my sdcard because I see Hashcode didn't edit his script yet. I then run :

adb shell

dd if=/sdcard/fff-u-boot_v1.4.bin of=/dev/block/mmcblk0p2

It said I/O error so I thought maybe I would ask and did a Reboot System in TWRP, but now my Kindle can't power on. No LED light, no bootloader, no backlight, NOTHING!!! If there wasn't a bootloader, there will be a blackscreen with LED and backlight!

I tried plugging it in, hold it for 20s and power in, connect it to USB and smashing it a bit but nothing work!!!

I am ready for the worst case since it can't power on, but any dim of light would be really appreciated! And can anyone tell me what's the problem, i think it's hardware. Will Opening the case to fix hardware be any help?

PS: The reason I copied it over instead of using adb because when I tried:

adb push .... /sdcard

It tells me : Read-Only File System

But sdcard is never a Read-Only, so I doubt this have something to do with my problem!!!

Edit: I tried again and I realize the area surrounding the power button is very very hot, the other parts of the device isn't very hot, very cool as the matter of fact! So now I'm most certain it's hardware not software since I have been using the bootloader fine yesterday, so is the recovery. Am I right, since it can't power on the only way to fix this now (if possible) is opening the back of the Kindle. But after that, I have no idea!
[Kindle Fire Android Development] Solid-Dado:
Hey guys I'm trying to use the third method but I can't install the new bootloader, someone can explain what I have to do step by step?

Sorry I know I'm noob
[Kindle Fire Android Development] Thepooch:
yeah download the 2 files on your pc move them to your sd card but dont place them in any folder this is considered the root of your sd card download root browser from the market open root browser locate sd card in the list click there find the install fff long press you will get a list of options press run script it will tell you how many bytes in and how many out and show success thats it your done reboot enjoy your new bootloader of course you need to be rooted and it doesnt hurt to read some before taking the dive education is the best measure against failure and damaging your device:Do oh yeah unplug your kindle from your pc before running the script in root browser root browser is made by jrummy thats the right one

---------- Post added at 04:20 AM ---------- Previous post was at 04:12 AM ----------

this isnt a dual boot bootloader

---------- Post added at 05:00 AM ---------- Previous post was at 04:20 AM ----------

Sounds like your battery is flat charge it

---------- Post added at 05:03 AM ---------- Previous post was at 05:00 AM ----------

Or there's something wrong with whatever rom you flashed
[Kindle Fire Android Development] XzinteR:
I installed it through the Root browser included in Rom Toolbox Pro. First attempt froze but I just tried again and everything went fine
[Kindle Fire Android Development] JoshuaLintag:
Am I supposed to use Firekit LiveUSB for method 1?

Please reply.
[Kindle Fire Android Development] JoeGDE:
For method 1, I do the following:

Download FFF

Copy to c:\KFU\Tools

Rename to u-boot.bin

Connect KF to PC. Run KFU.

ADB Status: Online

Boot Status: 4000

Select Bootmode Menu

Select 2 Fastboot (4002)

KF reboots to fastboot mode

In a command prompt go to c:\kfu\tools

Issue these commands:

fastboot flash bootloader u-boot.bin

fastboot oem idme bootmode 4000

fastboot reboot
[Kindle Fire Android Development] Alessioromatm:
I'm sorry,I was wrong to post
[Kindle Fire Android Development] soberarmy:
full battery and im on stock ROM. Boot is set as normal and adb see's it . will the update fix it with the stock bootloader. At this point I dont care if i loose all my personal data i just want this weird bootloop to stop.
[Kindle Fire Android Development] Thepooch:
Try a factory restore or you can download the stock zip and place it at the root of your SD card rename it update.zip and flash it via twrp you can download the latest via KFU or I'm pretty sure you can use an older one http://xdaforums.com/showthread.php?t=1466842 this is not rooted but it won't wipe your recovery. And this one is pre rooted http://xdaforums.com/showthread.php?t=1451747 of coarse after this you will get 2 OTA'S which will wipe out your recovery here is info on going back to stock http://xdaforums.com/showthread.php?t=1399072
[Kindle Fire Android Development] smirkis:
u guys need to double check md5s! the Bootloader partition is so important its not something u wanna mess up on. I highly suggest my new smirkit method.
[Kindle Fire Android Development] freefaling:
Brick

Can someone please point us in the right direction? I was learning so much from xda ever since I started modding my kindle but now I am stuck at a dead-end. Any help would be greatly appreciated.

EDIT: Nevermind I just unbricked it using pokey9000's Firekit method. From now on I think I'll stick to flashing ROMs and kernels only :D
[Kindle Fire Android Development] smirkis:
u killed ur boot loader. usbboot
[Kindle Fire Android Development] Luppertazzi:
Look, i don't get this. Newb as i am.

I have CM9 1.2 ICS whatever the hell. My battery went completely out, and now, when it's not plugged in to a power source, laptop or not, it doesn't do anything. When it's plugged in to a laptop, i get the flashing yellow triangle that blimps and tells me to press power button to enter recovery. I press power button, but nothing happens. How on earth am i supposed to install this when i can't even get it to boot into recovery?
[Kindle Fire Android Development] PowSniffer0110:
[/QUOTE]

this isnt a dual boot bootloader

[/QUOTE]

Then what is it??! Thought this was ****in FFF but fixed by hash. Damn

.. misconceptions
[Kindle Fire Android Development] three-p-o:
Hash,

What toolchain do you use to compile this?

I tried CodeSourcery CodeBench Lite 2011.09-70 and I get an error about:

kf_u-boot/cpu/omap4/start.S:206: Error: selected processor does not support ARM mode `smc #1'

3po

---------- Post added at 02:20 PM ---------- Previous post was at 02:16 PM ----------

This is FFF 1.4a, which is based off of 1.2 by pokey9000.

You are thinking of FFF Extended 0.2 by eldarerathis.

I'm actually trying to see if I can merge them, which is why I'm trying to find out what is wrong with my toolchain.
[Kindle Fire Android Development] Hashcode:
Use CodeSourcery 2010a1 that's the standard compiler for TI's stuff (and what I used on this).

NOTE FOR USERS FLASHING THIS: PLEASE PLEASE DOUBLE CHECK YOUR MD5 ON THE DOWNLOAD. IF YOU FLASH A BAD BOOTLOADER IT TAKES USBBOOT TO FIX (WHICH MEANS YOU NEED TO TAKE THE BACK COVER OFF)

smirkis: can we add an md5sum check to the script? And I'll make that the only way of flashing this in the OP.
[Kindle Fire Android Development] smirkis:
I have md5 checks in smirkit which I put in my post u linked to. if u wanna direct link it in op by all means. it won't flash if md5 fails, so I highly recommend using it, as its the safest way
[Kindle Fire Android Development] ammubarak:
Hash

Please leave the option to the end user to select the way he likes to flash bootloader. I would like to have the fastboot available all times. It is the responsibility of the user if anything goes wrong. It is not yours.
[Kindle Fire Android Development] Luppertazzi:
Can someone please look at what i posted earlier and give me an honest response?
[Kindle Fire Android Development] soberarmy:
Did what you said downloaded 6.3.1 from amazon and renamed it update.zip put on root of sdcard and flashed it with CWM. No more boot loop, ive installed fff and recovery. Thanks alot. really you and everyone here is awsome.
[Kindle Fire Android Development] ammubarak:
Are you using the latest boot loader 1.4a?
[Kindle Fire Android Development] Luppertazzi:
No. I have rooted and installed TWRP via KFU about one month ago. Then, i installed the CM9 Reloaded ROM 1.2, the latest version of it at the time at least. Since then, i have kept charging it up until a couple of days ago when my battery died without me noticing, overnight.

Now it won't start at all when it's unplugged from a power outlet, and when i do plug it in to the laptop or the wall outlet, the yellow triangle keeps flashing, prompting me to press POWER button to get into recovery, but i keep pressing power in short presses or even long 20-30 second presses and it won't get me anywhere, the yellow triangle just flashes. Tried leaving it in a wall outlet like this overnight, no result. It is not recognized by laptop either.

How do i flash this bootloader if i can't even boot into recovery, i just have the yellow triangle and that's it?
[Kindle Fire Android Development] smirkis:
plug ur device in the OEM charger
[Kindle Fire Android Development] Luppertazzi:
OEM charger as in the wall charger? Did that, won't charge, still flashing yellow triangle and can't get into recovery by pressing power button.
[Kindle Fire Android Development] smirkis:
OEM as in the one that came with ur kindle. leave it plugged in for a while before u touch it.
[Kindle Fire Android Development] Luppertazzi:
I plugged it in that and left it overnight and still no change.
[Kindle Fire Android Development] Pkt_Lnt:
Ok, I may misunderstand, so let's get someone to confirm this first before you try it. Hashcode, smirkis?

You do not need to boot into recovery to install the bootloader, that is impossible.

This technique should work, if you start it, but leave the USB end to the computer disconnected. When the <waiting for device> comes up, plug the USB cable into the computer and it should flash.

Again, someone tell me that I am correct or wrong, please. I'm not a dev, just an old linux cli cowboy from the days before gui.
[Kindle Fire Android Development] Luppertazzi:
I get what you are saying and will try it, but if it's connected to the USB on the PC end it always starts up, and i can't turn it on or off, power button does nothing, it just blimps.

---------------

So basically, if i understand right. You're suggesting i should plug my USB cable into my Kindle Fire but NOT into the PC.

Then i should install fastboot, copy this bootloader into the Android SDK directory, start up a command prompt, write the command, and when it shows "Waiting for Device" i should THEN plug the PC end of my USB cable into the laptop and it should flash?
[Kindle Fire Android Development] Pkt_Lnt:
It will be off when you start with the computer end of the USB unplugged. You run the command, and when fastboot shows <waiting for device> you plug it in, same as turn it on, whether power button works or not.

I've used this technique from 1.0 to 1.4a with no issues.

Hold off until someone states this should work, on the other hand, it can not leave you any worse off than what you are now. Did you check the MD5 on the bin file you have on your computer now?

---------- Post added at 01:59 PM ---------- Previous post was at 01:58 PM ----------

YES! Exactly.
[Kindle Fire Android Development] Luppertazzi:
Will try tomorrow and keep you posted, it's late here. Many many thanks for suggesting this.
[Kindle Fire Android Development] Hashcode:
NEW INSTALL METHOD: FLASH.ZIP FROM RECOVERY.

Rombot mirror:

http://bit.ly/J5izIt

md5sum: c6df063aa4418c94bb40f06d4b524e5f

Apply this flash.zip from recovery just like any other ROM or kernel .zip file. This is by far the safest way to upgrade your bootloader. It does a sha1sum check on the file before applying.
[Kindle Fire Android Development] Hashcode:
EDITED:

The # of bad downloads and semi-bricked devices over the bootloader upgrade was disheartening. Hence the reason for the new flashable .zip file which double checks itself. You can definately follow smirkis' advice below and extact the u-boot.bin file from the .zip and flash via fastboot flash if that is your preference.
[Kindle Fire Android Development] hajabooja:
Just received my Kindle Fire less than 2 hours ago (had to let the charge a bit) and already got it rooted, TWRP installed and flashed this. This is great! Thanks so much.
[Kindle Fire Android Development] foxdog66:
The zip worked for me :D and toggling through the boot menu seems a little smoother too (could just be me tho) patiently waiting for your recovery there hashcode :)
[Kindle Fire Android Development] smirkis:
u can always download the zip, extract the bin and fast bootflash it. he's just trying to make it easier/safer for everyone.
[Kindle Fire Android Development] Luppertazzi:
Hash, would you mind weighing in on my issue and giving some advice? How can i restart my Kindle using your bootloader if i can't get it into recovery and all it does is flash yellow triangle, with an inactive power button?
[Kindle Fire Android Development] Thepooch:
I'm glad you got er goin its always a bummer when things don't go well initially I don't mind helping when I can its good to hear success:D
[Kindle Fire Android Development] smirkis:
no offense, but u might as well go start a thread in general or FAQ. your issues have nothing to do with this bootloader.
[Kindle Fire Android Development] AgentCherryColla:
I think I'm bricked :T I flashed the bootloader via TWRP. Then I flashed Gede CM9. It acted a little funny for a while. Then It just stopped working. My kindle won't respond to anything, but the LED still shows orange while plugged in.
[Kindle Fire Android Development] smirkis:
can u elaborate on the acted a little funny part? did u reboot and see the new logo? I haven't tried the zip but I can't see it failing. even amazon flashes the boot loader partition in recovery
[Kindle Fire Android Development] AgentCherryColla:
Any time I pressed the power/lock button it would wack out. Screen would light up but not show anything. Then it just stopped working, and responding to anything :T
[Kindle Fire Android Development] Thepooch:
Probably isn't a bad idea to find out how the boot loader and your recovery are working before going straight to flashing a rom restore your backup if you made one start fresh with new downloads and did you wipe? Always backup and always wipe before flashing unless its just an upgrade of the same rom and op states to wipe dalvik and cache before and sometimes even after

---------- Post added at 07:12 PM ---------- Previous post was at 07:10 PM ----------

Hold the power button for twenty seconds to completely power off the device
[Kindle Fire Android Development] ryanhuong:
I really like the new screen with Fire in blue. What a great update, thank you.

This guy Hashcode is becoming a legend in his own time.
[Kindle Fire Android Development] AgentCherryColla:
I did all the proper things :D It's 100% bricked. Can't ADB, or use any other Android Tool. But it's Ok, I can return it. I need the money anyway Xo i'm just going to buy it again at the end of the month.
[Kindle Fire Android Development] Thepooch:
Good chance you voided the warranty
[Kindle Fire Android Development] AgentCherryColla:
I've only had it for a week. Going to return it to Target. Going to play the "I don't know, I was just reading a book" card. As long as I have the Box, and Receipt I'm good. I really do need the 215 for Gas, and Food ;3
[Kindle Fire Android Development] AgentCherryColla:
Edit! It wasbt bricked. I held the power button for a good hour, and it booted. I guess it was the Rom???? Idk, I'm happy :D
[Kindle Fire Android Development] soberarmy:
Thanks for your help scared me for part of a day. My wife was all " I told you to stop messing with that thing , now you better fix it" Well i knew i was going to get it fix here in XDA Dev. Thank Again.
[Kindle Fire Android Development] soupmagnet:
Hashcode, you just made my day with the Flash.zip.

Although, the people that have purchased factory cables over the last couple of days are going to be pissed.
[Kindle Fire Android Development] three-p-o:
So,

I have FFF 1.4a and FFF Extended merged together. There are however a few caveats.

I needed a 4th menu item for alternate boot. Since I did not have the original source images, I had to extract the png's from the rle's.

I could not match the text and sizes of the menus, so I recreated parts of the images. The new RLE's are slightly larger, plus there is an additional image because of the new menu option. This resulted in a bin that was too big for a bootloader partition.

I ended up taking out the initlogo.rle from the compiled file, which came in under the limit.

My git repo has all the new features added in 1.4a, in addition to

fastboot oem dualformat

and being able to boot from boot2.

You can access it here, https://github.com/MarcT/mt_u-boot

All credit for these changes belong to Hashcode and eldarerathis.

I'm hoping someone can build on this and find a way to clean up the code/images to get it to work with the initlogo screen.
[Kindle Fire Android Development] lovejoy777:
thankyou guys.

i had a pretty hard brick.

just flashed 1.4a and all is good.

thanks hash and the unbricking team:-).

steve
[Kindle Fire Android Development] PowSniffer0110:
I didn't check before I flashed. :/ I can reboot with the new blue logo. Haven't tried recovery. I'm good right?
[Kindle Fire Android Development] powerpoint45:
do i need to wipe anything before installing the zip.
[Kindle Fire Android Development] smirkis:
ur good.

nope.
[Kindle Fire Android Development] ammubarak:
Hash

Thanks.

The reason I do prefer fastboot to flash bootloader is that I always test the new image using fastboot boot bootlader file prior flashing it. The fast boot tool provides additional security feature that other methods may lack.

Thanks again for the outstanding job you are doing for this community.
[Kindle Fire Android Development] smirkis:
u cant fastboot boot a bootloader. u can only USB boot to test it. so honestly, fast booting it is dangerous too.
[Kindle Fire Android Development] freefaling:
Does it have a fastboot countdown like in earlier versions of fff?

PS: just flashed this after a pretty scary brick and all is well again :)

EDIT: nvm I just got the chance to check it and it does work.
[Kindle Fire Android Development] riddle777:
Good job on 1.4a!
[Kindle Fire Android Development] smirkis:
I don't even think its necessary anymore but its great to have at startup for easy use.
[Kindle Fire Android Development] ytt3r:
Lookin' good.
[Kindle Fire Android Development] teegale:
Not sure if this has been asked before or if this is even relevant to FFF but will we ever have a working "Shutdown" from Android OS?
[Kindle Fire Android Development] XzinteR:
I expect it'll happen sooner or later. I don't think it is the highest priority at the moment so don't hold your breath

Sent from my fax machine