yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] raywaldo:
You are correct but it probably confuses the noob. What difference does it make? It will just install su. Which will be overwritten by the custom rom. What is the harm? Just allow him to root and everything is fine. :)
[Kindle Fire Android Development] snkmad:
Thanks i'm going to watch your videos.
[Kindle Fire Android Development] raywaldo:
Kindle Fire Videos

There is a series of videos here: http://www.youtube.com/watch?v=MYAe6QFBnos&list=PLCAB9B3C6980646BD&feature=mh_lolz
[Kindle Fire Android Development] snkmad:
Watched all of them.

So when i add superuser, it also installs FFF and TWRP?
[Kindle Fire Android Development] melmantheman:
WUT????

Hi ive posted here before but i havent had a problem with adb before but as of 7/7/2012 i cant get it to recognize and i reinstalled the drivers using the included tool and doing it manually. In Device Manager it sees it as android Phone but adb doesn't do anything about it. It wont add it as a device and does not appear under "Listed Devices" what should i do? this has not happened before!

I am not rooted i have however used an older kfu before (on version 6.2.1) to insall google market and lock wallpaper without a permanent root. I am running now on version 6.3.1.
[Kindle Fire Android Development] snkmad:
Installed root fine.

But when is says: "press the power button for boot menu", should i press and release or press and hold until the menu changes?

I tried twice, but it booted into normal mode, didn't show the "normal boot | recovery | reset boot more" options.
[Kindle Fire Android Development] raywaldo:
Root vs SU

Just do option 2 - Install permanent root with superuser

Then you will have all that you need to flash a custom ROM (as I did on the other video).

As the other poster said, installing SU (Super User) is not even an issue. But, it is done automatically when you install the permanent root.

When you finish with option 2, just reboot the device and it will LOOK the same except that the "Fire" portion of the "Kindle Fire" boot screen will change from Orange to Blue. Also, when you FIRST boot, there is a small text at the bottom that says to hold the power button for menu options. If you do press the power button, you can then press it to select "recovery" which is where you will see the Team Win Recovery and be able to flash a custom ROM. :D
[Kindle Fire Android Development] melmantheman:
I finally got adb working again (thank god) but the md5 checker doesnt work properly in the KFU. I cant install twrp or FFF or even root. What should i do?
[Kindle Fire Android Development] raywaldo:
I would start fresh

1. Connect the fire & delete the drivers in Windows & reboot

2. Download the latest kfu, extract & rename the folder on the root of your hard drive

3. Disconnect the fire & run install drivers batch file

4. Connect the fire and run kfu
[Kindle Fire Android Development] CannibalAngel:
Thanks! Will re-download it once I get home tonight.
[Kindle Fire Android Development] snkmad:
Well it just won't appear the boot menu options when the blue Fire is showing.

It worked!

Just had to press the power button for a little longer, then i hit it a couple of times, and the menu appeared.

Just did the nandroid backup. Now going to install gedeROM.

Many thanks guys!
[Kindle Fire Android Development] melmantheman:
Thats what i did to get adb working again. Now i have this problem. Thank you for the speedy reply though!

also i have checked the md5's with the ones in the file and they all match up. I do not understand why it keeps returning that they dont.

Edit:

After lots of time consuming labor, i was able to remove the md5 check and properly install the bootloader and twrp.
[Kindle Fire Android Development] Ozz465:
anyone know how to delete a back up in twr?
[Kindle Fire Android Development] raywaldo:
Team Win Recovery Project

Simple. Just connect your USB to your computer. Go to the TWRP folder, backup, 0000...., select the date & rename or delete or copy to your computer.

BTW, the same process works with CWM except that the folder names are a bit different.
[Kindle Fire Android Development] Mherder:
This isnt working for me... i just got a brand new kindle in the mail to replace my old one which had screen burn in.

KFU Can't detect the kindle at all. Kindle is stock and is running the newest firmware..
[Kindle Fire Android Development] raywaldo:
Start Over with KFU

Probably an issue with the windows drivers. Look back a few posts (http://xdaforums.com/showpost.php?p=28420120&postcount=1819) and I advised someone to start over. Follow that process and see if the KFU will not recognize it.

*** Run the install drivers batch file BEFORE you attach the KF.

I have a video here:

http://youtu.be/MYAe6QFBnos
[Kindle Fire Android Development] MizzouBrent:
Correct, drivers need to be updated on your PC (assuming you're using a PC). It should say Android Composite ADB Device or something along those lines in Device Manager. If it doesn't say that you need to update. At that point, KFU should see your device. I didn't bother installing Root because I had no desire to stay on the stock Amazon software so I did the following.

1) Download the FFF Bootloader and put it on my SD card. Also download the most recent version of TWRP. You can do this through KFU.

2) I installed TWRP through KFU.

3) After the system rebooted, I changed boot mode in KFU to Recovery and rebooted. Recovery should boot up.

4) while in recovery I flashed the FFF bootloader.

Boom. TWRP installed and custom bootloader installed. From there, just download and flash whatever ROM you like.
[Kindle Fire Android Development] horsegoalie:
Issues with install

I cannot get this to work on my GFs Fire. It worked fine on this PC with mine. I have ADB seeing the fire, but when I choose option 2, I get a whole bunch of messages about /I not being available for find. I used the PC as normal with the Kindle being G:, and I also inserted a couple usb sticks to force it to be I:, but no luck. I attached a log file. Any help would be appreciated.

find: `/I': No such file or directory

find: `bootmode': No such file or directory

***********************************************

* Installing Permanent Root *

***********************************************

***********************************************

* Activating Fastboot (4002) *

***********************************************

1971 KB/s (510876 bytes in 0.253s)

The kindle has been told to reboot in Fastboot Mode.

twrp.img is missing.

So we will download it for you!

find: `/I': No such file or directory

find: `twrpurl': No such file or directory

tools/cat: write error: No space left on device

find: `/I': No such file or directory

find: `twrpmd5': No such file or directory

wget: missing URL

Usage: wget [OPTION]... ...

Try `wget --help' for more opt...gwin from the path, and all worked perfectly.
[Kindle Fire Android Development] CannibalAngel:
I re-downloaded KFU.

I keep getting the same messages in my last update. ADB status shows as online but boot status shows as unknown. No matter what I do It wil not detect the boot status.

What files should I have in the KFU folder? I have 3 folders and 2 batch files.

Is there another link I can download the tool from? Is there another way I can root the fire?
[Kindle Fire Android Development] airmaxx23:
Is it possible to get the latest version of TWRP in a flashable zip file so that I can upgrade my version? I've tried getting the KFU working on 3 different computers and I can not get it to work.
[Kindle Fire Android Development] redbean25:
You can get the IMG file here: TWRP21 You can flash that just using fastboot commands outside of KFU.
[Kindle Fire Android Development] airmaxx23:
I can't get adb to work on either machine. I've uninstalled the drivers and re-installed them several times but it does not work, It shows up as an adb device in device manager though.
[Kindle Fire Android Development] redbean25:
So, if you connect the Kindle, and then touch disconnect on the screen (with usb debugging turned on in the KF Android Development settings), then open CMD prompt on your PC, navigate to the KFU/tools folder and type adb devices, does anything show up?
[Kindle Fire Android Development] airmaxx23:
I'm currently running and ICS rom so I don't have to disconnect when I plug it in, sometimes when I plug it in it shows up as an adb device in device manager and sometimes it does not. When it does show up and I open a CMD prompt in the KFU/tools folder and type adb devices nothing shows up. I've been struggling with this for a while, that's why I'd like to be able to flash the newest TWRP over the version of TWRP that I'm currently using.

Edit: Currently under device manager there is a "!" in android ADB interface.
[Kindle Fire Android Development] redbean25:
Yeah, that ! means there is an issue with the driver. So until you can figure out what is awry with the driver, it won't work. I have seen someone here that had put that img into a flashable zip, but I don't remember where that was, nor do I remember how to do it myself. I don't use the driver packaged with KFU myself. I use the driver in the Android SDK and it works just fine for my Kindle Fire, HTC Incredible, as well as HTC Rezound. There is likely some kind of driver conflict. If you have Android SDK installed and you tried to install the KFU drivers, that can cause a conflict. Also if you have other phones that were installed previously it can cause a conflict. Another user just a few posts found a conflict with Cygwin too, but that wasn't for the drivers.

You can also try this:

Go to developer options, uncheck android debugging. Plug kindle fire in, turn on USB connection, go to device manager, and remove the kindle fire driver. Turn off USB connection, go back to developer options, then turn android debugging back on, then plug kindle fire back in, and turn USB connection back on.

also, here is a way to flash it without using a PC at all:

http://xdaforums.com/showthread.php?t=1500935
[Kindle Fire Android Development] airmaxx23:
Thanks, even when I can get the adb interface to not have the "!" it still will not show up under adb devices. I think I'll use the above link, thanks again.
[Kindle Fire Android Development] cabrone1:
I get an issue with superuser not installing even with 0.9.6. It asks if the device is on but then finishes and says I have root, however, non of my CMD looks anything like the videos or screen captures.
[Kindle Fire Android Development] Dasanko:
What do they look like then? Post some screenshot or log.....
[Kindle Fire Android Development] kennytung:
Hi everyone, I tried to help my sister to root/install recovery for her KF today and currently being stuck at this step (I already rooted it using the permanent root option, now trying to install TWRP), also the KF is currently showing kindle fire (in blue color) screen. Not sure if I continue to wait for it or it's really stuck? If so then how can I fix and continue? Many thanks.

EDIT: nevermind, I took a risk unplug and restart the KF and it seems ok now with the TWRP installed.
[Kindle Fire Android Development] srmd:
thank you so so so so much ...................good job .
[Kindle Fire Android Development] rquinn19:
I'm having issues getting adb to work. It's worked before, but all of a sudden it won't. Windows sees the Kindle as ADB Composite Device, but adb doesn't see the device. I'm trying to get into recovery. When I setup the Kindle I installed TWRP without FFF so I can't figure out how to get into recovery. reboot recovery in terminal emulator just reboots the device. I've tried this on 3 different PCs and adb doesn't work on any of them even though it appears the drivers are installed correctly.

edit: using es file explorer i moved the rcmode file to the correct directory and changed permissions and executed it then rebooted and now i'm in recovery. I keep having issues because i'm trying to get fff installed even though i installed twrp and energy rom first.

edit2: nevermind in recovery i was able to flash smirkit then install fff i think i'm all good now
[Kindle Fire Android Development] CannibalAngel:
So I have tried everything I can think of and found. KFU is still not working properly. ADB detects the device as Online but the Bootmode keeps saying Unknown. ADB detects the device when running adb devices. I have deleted and installed the KFU about 4 times now. It still will not work.

Just for informations purposes:

Computer is a Windows 7 x64 laptop

KFU 0.9.6 has been downloaded, extracted, moved to the root of the C:/ drive, and renamed "KFU"

The Kindle is plugged in via USB and I have disconnected it as a disk drive

The Kindle is on system version 6.3.1_user_4107720

The following are the screen shots of the KFU and ADB recognizing the device. The last 2 shots of FKU are me running it as an administrator. It seems like this "findstr" command is missing from the utility. That may be why it is not detecting the bootstatus.

Please help me!
[Kindle Fire Android Development] DigitalAnalog:
How do I use KFU to update to TWRP 2.2? I tried choosing the Install Latest TWRP Recovery but it's installing 2.1. Thanks!
[Kindle Fire Android Development] cryplock:
Heres an easy way for you

Until they come out with an updated version Ill tell you the easiest way to do it without editing the bat file. Download kindle fire utility v 0.9.5 not the newest one. If you download the newest one this wont work. You will get an md5 check error. Anyway once you download 0.9.5 unzip the file and drag the Kindle Fire Utility folder in the zip to your desktop. Open up the folder and make a new folder and name it recovery. Now go here and download the new version of twrp http://www.teamw.in/project/twrp2/79 . Now I dont know how your have your computer set up to show file extensions or not. If you can see .img that means you can just make sure file name is cwm.img If you cant see extensions just rename the file to cwm . Once you do that drag that file into the recovery fold you made. ***VERY IMPORTANT: Now so no misshapes happen, disconnect your computer from the internet.*** Connect your fire to your computer, get it running and unlock the screen. click on run.bat press 0 to make sure your fire is online. Now I know what the menu says 3 to install twrp / 4 to installed clockwork. We are tricking the program here. Press 4 to install clockwork and it will install the latest version of twrp for you instead.

Enjoy
[Kindle Fire Android Development] ProfEngr:
I guess the md5 is hardcoded in the .bat in 096 then?

Sent from my Thunderbolt using one opposable thumb.
[Kindle Fire Android Development] cryplock:
it calls to a file md5.exe in the tools folder to check it with the twrp file in recovery. its a check to make sure it downloaded right. md5 just has the wrong value for the new file.

Its only a few lines of coding in the bat file that you can take out or just set the values to equal but most dont know how to do so

for /f "tokens=2 delims=|" %%a in ( 'tools\cat files/files.log ^| find /I "twrpmd5"' ) do ( set twrpmd5=%%a )

for /f "tokens=1" %%a in ( 'tools\md5 recovery\twrp.img' ) do ( set md5check=%%a )

if "%md5check%" == "%twrpmd5%"

in the older version it doesnt seem to check but you have to use the cwm option in order for it to install this version of twrp. Its coded a little different for the twrp part in the old version so it wont work. If that makes any sense to you..

---------- Post added at 07:22 PM ---------- Previous post was at 07:13 PM ----------

seems someone made a flashable file for twrp 2.2 check it out in this thread http://xdaforums.com/showthread.php?t=1768192
[Kindle Fire Android Development] breeves002:
Hi, I'm new to the kindle fire and I'm trying to install TWRP.

I'm using KFU, but I can't get it to recognize the device.

I have installed the drivers included, and in device manager it recognizes the kindle fire as Android ADB Interface like it should.

I'm not 100% sure what the difference between fastboot and regular is? All i know is regular is 4000 and fastboot is 4002.

When I open KFU it says that ADB Status: Offline and Boot Status: Unknown

When I run a cmd on adb and type "adb devices" it says listing adb devices and lists nothing. The kindle removable storage SOMETIMES pops up...

Ive tried two different computers and did a factory reset on my kindle fire. I'm running 6.3.1.

EDIT 2: FIXED! I Figured it out! See my post 2 down to how I did it.

What am I missing? What am I doing wrong?

EDIT: I reinstalled the driver and now it says Android Composite ADB Interface. The internal SD card pops up in windows. However i still can't get KFU to see the device... I've rebooted both the computer and the kindle many times. Any ideas??

If I start cmd on kfu/tools and type "adb shell" it says "device not found".

If I try to do anything inside of kfu, it says <waiting for device> and does nothing, even if i reboot the device and unplug several time.
[Kindle Fire Android Development] CannibalAngel:
It seems like you are having the same issue I am having. Unfortunately, no one has responded with a solution that works. I hope that someone does soon. I would love to root my Kindle Fire.
[Kindle Fire Android Development] breeves002:
I literally JUST got it to work! I tried using a different USB cable (i'm not sure if it had anything to do with it), I also turned off AVG (doubt that had anything to do with it either), and I used the first computer I tried to do this on.

I deleted the driver from Device Manager and then reinstalled it when the kindle fire popped back up as just kindle. I installed it from the c:/kfu/drivers folder. Make sure you choose the one with COMPOSITE in it, that is the correct one. Then I rebooted both the computer AND the kindle fire at the same time. Worked PERFECTLY upon reboot!

Good luck! Also try a new computer, or at least a create a new account on the computer. Have no other applications open.
[Kindle Fire Android Development] CannibalAngel:
Still no dice for me I'm afraid. I disabled Avast!, uninstalled the drivers, rebooted, re-installed the drivers, rebooted, and ran KFU. It still comes up saying that ADB Status is Online and Boot Status is unknown. I even tried a different USB cable and USB port.

When you installed the driver, do you install it over "Amazon Kindle USB Device" under Disk Drives in Device Manager? Or do you do it over "Android Composite ADB Interface" under Android Phone?

When you run the KFU, does it say "'findstr' is not recognized as an internal or external command, operable program or batch file." like mine does?
[Kindle Fire Android Development] Thepooch:
why dont you just fastboot flash fff.bin and twrp.img its not required to root to flash a rom if that is your final intent
[Kindle Fire Android Development] CannibalAngel:
Well, I would like to root to be able to run apps like Titanium Backup and Root Explorer. I would rather root the device before I install any ROM but if this is the only way I can get it to work, I guess I will have to do it like this.

Could you provide the steps to install FFF and TWRP?

Once I install those, will I be able to use TWRP to preform a backup before I wipe and install a new ROM?

Thank for the reply!
[Kindle Fire Android Development] raywaldo:
Root vs SU

It is all a matter of terminology. When you flash a custom ROM to the device, it is rooted and you can run the "root" apps.

Some folks like the stock OS because they are already familiar with it or because they use the device primarily for e-books, etc. So, all they want is to "root" the device to allow them to run additional apps on top of the KF's standard operating system.

What the poster was telling you is that, unless you DO want to run the stock rom (rooted), then the only thing you really need is a way to flash a custom rom. That process is via the recovery program. So, once you have a custom recovery program installed (TWRP), then you can use that to flash a rom and bingo... you are rooted. :cool:

And, yes, when TWRP is installed, it is completely installed and you have access to all of its functions. There is no "un-rooted" recovery.
[Kindle Fire Android Development] CannibalAngel:
Thanks for that! I have no idea why KFU will not work for me but this is the next best thing it seems. Are there procedures for installing TWRP and FFF that someone can post here so that I can attempt this tonight?
[Kindle Fire Android Development] raywaldo:
kfu is best

You probably would be best to just visit your neighbor (or friend) and use THEIR computer to run KFU. It is so much easier than trying the fastboot option. If you are having trouble with KFU, then probably you would also have trouble with fastboot.

If you do try another computer, here is my guide (with video): http://raywaldo.com/2012/01/kindle-fire-works-great/ I just finished updating it to the current version of the KFU. It also includes help fixing some of the problems you may encounter. :D
[Kindle Fire Android Development] Jaemostoriginal:
will this work on a mac?
[Kindle Fire Android Development] Medic1013:
Ok so somehow I have twrp 2.1 and have flashed a Jellybean rom. Everything is running ok but I don't have root. I've installed and reinstalled the drivers but can't get the kindle to show up at all when I'm plugged in. I'm to the point of trying the LiveUSB method in hopes of getting root access.

Any ideas or help getting the kindle to show up when plugged in to get root?

*edit* Ok so now the kindle is recognized but get errors and in the end show FFF has been installed.

I get "failed to copy 'files\fbmode' to '/data/local/fbmode': permission denied

unable to chmod /data/local/fbmode: no such file or directory

/system/bin/sh: /data/local/fbmode: not found

The kindle has been told to reboot in Fastboot mode.

Next its waiting for device and results in okay with All Done! and FireFireFire installed.

Then I run option 2 with the end result being rooted. In the end I am still not rooted. TB won't run and root checker denies root access.
[Kindle Fire Android Development] raywaldo:
First, if you have twrp and a custom ROM then you do have root. The only thing that could be missing is the su binary. Check the app drawer for su / superuser and execute it. Then run the other apps again and grant them su privilege & remember.

Second, it looks like you are trying to run some Linux scripts on a windows machine. The kfu is Windows only. Someone previously ported it to Linux / mac but that version is out of date. Get the current windows version and start over. Check my post (4 or 5 back) for my guide / video.
[Kindle Fire Android Development] tundrwd:
Trying to root my KF, but the KFU 0.9.6 just isn't working.

I'm on XP, with all the latest patches (which I think is part of the problem).

First - the install_drivers.bat runs with something about an "and" error (there isn't an "and" in the script. And when the program dpinst32 runs, I CANNOT install it due to unsigned drivers. There is no "continue" option. I've changed the driver signing option in ControlPanel->System to "ignore", have logged out, rebooted, etc. - to no avail. I think some later patch has now removed the ability to install unsigned drivers completely - or the install utility itself is just plain not going to allow it.

I went the ADB route, and installed the Android SDK - only installing the basic package, and adding Google USB drivers. I run KFU, still have the ADB shown as "offline". Device Manager shows the "Android Phone - Android Composite ADB Interface" - when the KF is plugged in to the laptop via USB. Still no joy in KFU - ADB Offline.

How do I get the drivers installed that are needed by KFU, etc.?
[Kindle Fire Android Development] tundrwd:
Finally found a reference to running dpinst32.exe with the /LM option - that installed the KFU drivers.

HOWEVER - it still shows an ADB status of "offline", and Boot status as "unknown" - now where to go?