yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] redbean25:
For your findstr error, check your PATH variable in Windows. Either view it by right clicking on My Computer and selecting Properties, then going to the Advanced Tab and selecting Environment Variables, or open a CMD window and type

echo %path:;=&echo.%

That will show all the entries, each on a new line so they are easier to read. Make sure there is a path entry for C:\WINDOWS\system32. If there is not add the following:

%SystemRoot%\system32
[Kindle Fire Android Development] Dqm56:
deleted
[Kindle Fire Android Development] CannibalAngel:
I'm not sure why this would make a difference but I checked anyway. %SystemRoot%\system32 is not in the path. How do I add it?

EDIT: Figured it out and that worked! I finally got my Kindle rooted!!!!! Thank you for the help!
[Kindle Fire Android Development] redbean25:
Awesome! Glad it worked. It worked because the findstr execurable is located there.
[Kindle Fire Android Development] CannibalAngel:
Thanks again!
[Kindle Fire Android Development] kiawin:
I had the same issue. Apparently it is owing to our username in Windows has a space (or more). This cause the install_drivers.bat to break.

Solution is simple, edit the install_drivers.bat and include double quotations (" ") to all file paths which has %userprofile% (line 9 & 10)

Uninstall what ever drivers you have installed previously by going to Device Manager, go to Android Phone and uninstall it.

Re-run install_drivers.bat and after that execute run.bat.

That should work :)
[Kindle Fire Android Development] raywaldo:
simple solution that I missed!

Great catch! :good:

That is a great tip that a lot of people may need. It could fix some strange problems. Not only on this kit but on a lot of things run from scripts.
[Kindle Fire Android Development] jdiamond7:
I apologize if this has been addressed in a previous post. I have searched the thread and forums up and down and haven't found a solution.

I am having an issue rooting my wife's kindle fire. I am using KFU v0.9.6 to root Kindle Fire version 6.3.1. I previously have rooted mine (months ago) with no issues so I have some experience with this. Bottom line is that everything appears to work except the actual rooting. Drivers load fine, TWRP and FFF install no problem, but I do not get root. Attached is a screenshot of the KFU output.

I even went as far as to try to do the manual root but I get the same error when removing check_rooted, "can't rename '/system/bin/check_rooted' : No such file or directory.

Since I do have FFF and TWRP it would seem to me that I could just flash a pre-rooted system image if I could get my hands on one. I have not been able to find one though.

Anyone have any thoughts?
[Kindle Fire Android Development] raywaldo:
I have jelly bean running nicely on my wife's kf.

Check the "android development" forum for roms. I used the eye candy 3.4 version. It works nearly as well as my Nexus 7.
[Kindle Fire Android Development] quickbird144:
I'm a bit slow. Could you elaborate on how to do this exactly?
[Kindle Fire Android Development] jdiamond7:
Thanks for the reply, I should have specified that I need a stock rooted system image. My wife wants to keep her stock OS (God knows why). I also tried to flash the nfx-update-kindle-6.3.1 update but that didn't seem to give me root either.
[Kindle Fire Android Development] quickbird144:
Nvm got it!
[Kindle Fire Android Development] AndroidLover813:
Rooted My Amazon Kindle Fire

Just wanted to express my thanks to the developers of this Utility. If all instructions are follwed to the tee, you wont have a problem. I'm uploadinding this pick to prove root access on my Kindle Fire:....

Anyway!!!!s good luck and happy flashing!!!!
[Kindle Fire Android Development] jdiamond7:
So I was finally able to gain root access to my wife's KF. I had first tried flashing several pre-rooted stock system images with no luck. I even flashed an old OS version and tried Burritoroot and it still didn't work!

Finally I found this archived thread and found that others had experienced this as well. I followed the instructions to flash eldarerathis's stock rooted with insecure boot image and it worked!

Unfortunately the ROM's version was 6.3 and no sooner had I booted into it then the device immediately rebooted and updated to 6.3.1. I had lost root access before I was able to do anything! I then tried to use KFU to root again and this time it worked! I now have a rooted 6.3.1 on my wife's device.

Thanks Vashypooh, eldarerathis and all the other devs for your awesome work!
[Kindle Fire Android Development] ProfEngr:
You could try the modaco roms. I'm running that as the alternate with NRG rom via dualboot.

Sent from my Thunderbolt using one opposable thumb.
[Kindle Fire Android Development] TheYar:
Another user needing help

I'm fairly experienced with Windows drivers and with Android, including a lot of work with ROMs on Samsungs and Motorolas, but I'm lost now.

Got a new Kindle, got the Utility. Installed drivers fine. Connected Kindle fine. Ran the Utility, rebooted into fastboot (I guess), and now nothing.

The Kindle will only say "kindle fire" on the screen. I can turn it off by holding the button for a long time, but that's it.

Windows will not recognize the device as anything but "unknown device." So of course adb doesn't work and the Utility just says "waiting." I've rebooted the Kindle and PC many times. I've reinstalled the drivers many times. 0x1949 and 0x18d1 are in the .ini file.

When I try to install the drivers manually, Windows says that the driver is not compatible with the device.

Is there any way out of fastboot so I can try to start over? Or is there something else I can look at to get the abd interface back up? All the research I did ahead of time pointed me to this utility as the simple way to root and flash; I'm kinda bummed that I'm now stuck at a bootscreen.

Any help would be appreciated.
[Kindle Fire Android Development] a1exus:
Is it ok to update my 6.2 to 6.3.1 and then do all good stuff: root / unlock / boot recovery / etc
[Kindle Fire Android Development] TheYar:
I followed instructions precisely, and have been bricked for hours now.

The method described in the OP relies on you being able to successfully start up a new ADB driver upon reboot of the Kindle. Many people experience problems with this, which results in what I hope is only a soft brick, but so far I have been unable to resolve it. As always, proceed at your own risk. In my opinion, the OP needs to be updated with more than just the standard disclaimer language, and instead point out that numerous people have reported fairly serious failures when attempting to connect back to the Fire once it has entered fastboot.

EDIT: After a lot of help and a lot of tinkering on my own, I got back into normal booting. I can't be certain what fixed it, but it involved manually deleting a lot of driver information from /Windows and from device manager, installing the fastboot interface driver manually within 5 seconds of booting the KF (that was kinda tricky and involved rebooting it a 2nd time in the middle of the driver install process), and then even though fastboot didn't seem to see the device, issuing manual fastboot commands to reboot normal anyway. Success.
[Kindle Fire Android Development] drink:
I have the same booting forever issue ((

UPD:

Resolved! I just installed permanent root despite ADB Status = offline in kindle utility.
[Kindle Fire Android Development] TheYar:
Good. It seems that once you have an ADB Interface or Fastboot driver up and running without errors, but you still can't see the device with adb or fastboot, then you can either a) completely uninstall and reinstall the driver while the device is still plugged in and running and see if that works, or b) attempt to issue scripted or manual fastboot/adb commands anyway and see if they work, despite the device still failing to respond to a "devices" query. Either of these methods seems to have intermittent success.

The main trick I discovered that helped me is that in some cases you need to time your driver installation so that it completes within like 4 seconds of plugging in the cable. Fastboot won't let driver communications start up except for like within the first few seconds, and if you miss that timeslot, Windows is likely to establish a bunk driver for the device that will persist every time you plug it in afterwards.
[Kindle Fire Android Development] nhshah7:
hi guys,

for anyone that was as stuck as i was for adb drivers, this website made it super easy :)

http://www.jayceooi.com/2011/12/13/how-to-install-kindle-fire-adb-usb-driver/

good luck!
[Kindle Fire Android Development] zadane:
Worked pretty smoothly for me, execpt that it hit an error installing Super user.apk....

Installing Superuser.apk

Error: Could not access the Package Manager. Is the system running?
[Kindle Fire Android Development] e495957:
I hope OP updates the original software and releases a new version! Nice catch and fix!
[Kindle Fire Android Development] c5satellite2:
Can the gapps zip be flashed through TWRP?
[Kindle Fire Android Development] raywaldo:
yes.
[Kindle Fire Android Development] cstone1991:
Help please

I am trying to root my new Kindle Fire with this tool and am having problems at every turn. I have uninstalled/reinstalled the usb drivers multiple times on 2 different PC's both running Windows 7 (x64 on the laptop x86 on the desktop). So here is where I am at:

As you can see in the first screenshot, my drivers appear to be installed correctly (yes I have restarted both the PC and Kindle after successfully installing them) however ADB is still offline.

In screenshot 2 you can see the error that appears when I right click on run.bat and select run as administrator.

When I close this error screen ADB says online, as you can see in the 3rd screenshot. If I attempt option 2 it does this:

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

* Installing Permanent Root *

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

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

* Activating Fastboot (4002) *

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

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The kindle has been told to reboot in Fastboot Mode.

twrp.img is missing.

So we will download it for you!

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

Download successful.

fff.bin is missing.

So we will download it for you!

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

Download successful.

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

* NOTICE *

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

The system cannot find the path specified.

The system cannot find the path specified.

Fastboot uses a different device than ADB.

You should check device manager for "Kindle" or "Amazon"

If you see it, rerun the driver installer that came packaged with KFU.

Installing FFF...

The system cannot find the path specified.

The system cannot find the path specified.

Installing TWRP...

The system cannot find the path specified.

The system cannot find the path specified.

Setting Recovery Bootmode.

The system cannot find the path specified.

The system cannot find the path specified.

Please wait...

I have spent 3 hours working on this and have searched in every way I can think of and the only things I am finding say to reinstall the drivers which, after 20 or so tries, doesn't seem to be working.
[Kindle Fire Android Development] c5satellite2:
This works, just went through the same issue 6 hours ago.

http://www.jayceooi.com/2011/12/13/how-to-install-kindle-fire-adb-usb-driver/

Make sure USB debugging is on, should be under developer options in settings.
[Kindle Fire Android Development] cstone1991:
Thanks for the reply. No luck though... ADB Devices is able to find my dinc2 but not the kf. I looked for a usb debugging option everywhere in the settings but can't find it. I checked the option to install 3rd party apps but that was the closest one I could find. I'm gonna try a restart right now on my laptop and the Kindle to see if that helps at all.

*Edit* I should know by now to never expect anything to work in windows without restarting first. Thanks for your help I was able to get ADB working after restarting and am now rooted. Now to figure out which rom I want to try first.... Lol
[Kindle Fire Android Development] c5satellite2:
You have to reboot after the driver install, sorry I forgot to include that.
[Kindle Fire Android Development] cstone1991:
No problem man. I should have known better. I have been using PC's long enough that it should be second nature. I guess I was just excited to have a new toy and was being impatient. Lol

Anyways, thanks again for your help!

Sent from my ICS Dinc2
[Kindle Fire Android Development] soldir:
unable to access twrp

after installing twrp. I was unable to boot into recovery mode unless i was using the utility. I was able to make a backup but still unable to access the twrp menu. Any suggestion?

Uninstalled drivers and then reinstalled them. The Kindle Fire Utility show adb status online with bootmode status 4000. My problem is that I can't change to recovery mode using the utility or TWRP. When I try to change the mode it stays at waiting for devices.
[Kindle Fire Android Development] dpdurst:
Just used this to flash the Wife's KF and it worked like a champ in just a few minutes. She was on 6.3.1 version. So far running fine and backed up. ready to install roms!
[Kindle Fire Android Development] Thepooch:
try using kfu to send fff to your kindle that way you will then use it to access recovery like it was intended to be accessed...

---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------

just make sure you have fff and twrp and your set :)
[Kindle Fire Android Development] biglos201:
I think you are stuck in fastboot since that first try. Open the utility again and go to boot options and normal boot. It should get you out of that issue.
[Kindle Fire Android Development] v_lestat:
i am having the same issue as i have seen 100 times but nothing seems to work with regards to actually getting root.

i hit #2 - install perm root with superuser

so it tells kindle to reboot into fastboot

then says TWRP.img is missing even though i downloaded it already and have it in the recovery folder

if you watch the kfu folder it deletes the current recovery folder i made then tries to redownload twrp. - why is the program doing that?!

so it tries to download twrp and it downlaods an html file because TWRP doesnt even exist on goo.im

so downloads a bogus file, renames it to twrp.img, and then everything fails.

KDU has zero instructions and i think it was made to be pretty dummy proof but this seems to be a pretty common issue and one that i would think would be posted in the OP if there was a fix.

should i assume KFU wont work for me and i should try another method?
[Kindle Fire Android Development] ciscostud:
Im having the same exactly issues!!! Its driving me crazy!

The twrp file wont download properly and locks me into fastboot.

I have even tried to put the twrp form the OP manually in the recovery folder but its states it MD5 mismatch.
[Kindle Fire Android Development] v_lestat:
ok so right after i posted that i tried one more time.

recreated recovery folder in kfu folder

put twrp.img in there

this time i did more.

it flashed the new bootloader but it wouldnt flash twrp.

it said the md5 is wrong.... ggrrrr

so how can i make kfu use the md5 from the new file ? i have it...

i have the recovery flashed by the way, it asks me to push the power button when it boots to decide boot normal or recovery.

this is beyond frustrating when the KFU app isnt updated to maintain the current files that are out there. - especially when the op posts a link to a file that kfu cant even use.

can i just use this command ? fastboot flash recovery twrp.img
[Kindle Fire Android Development] ciscostud:
I was left in dismay with this "so called easy utilitly" right where your are now.

I have JellyBean rom now and it works great. Here's how I fixed it:

Go to this thread to manually flash the parts your missing http://xdaforums.com/showthread.php?p=24129239

You need to manually flash "twrp2" "FFF" and "SU" because this utility craps itself.

To manualy enter these's commands open your command prompt (CMD) and change to the directory "Kindle Fire Utiltiy\tools" *this is where you can run your commands *see pic* ****Put All the files needed to flash in this tools folder....twrpt2, su, FFF ...ect***

Just follow the guide. Once in Fastboot mode follow the commands and instructions... Done :)

BTW *When the utility before was giving you that opps **** cant continue or whatever and you stuck on a screen, its because your in fastboot mode. So if thats where your at now...your PC should be ready for commands in CMD*
[Kindle Fire Android Development] serg2k9:
It won't download proprerly bercause the download link is dead from files/files.log

the lines that refers to twrpurl and twrpmd5.

you could edit the variables in the run.bat to import your own, mind you have to also provide the md5 for the file the program is gonna download

example:

set twrpmd5="http://techerrata.com/file/twrp2/openrecovery-twrp-2.2.0-blaze.img"

set twrpurl="fa5bb9bdc1133412672a9c8f459283d5"

try that.
[Kindle Fire Android Development] raywaldo:
Files are (normally) downloaded from goo.im and that Site had a meltdown - and failed backup. All developers will have to upload their files again. Could be a week or longer for everything to be back online.
[Kindle Fire Android Development] Vashypooh:
Relaunch KFU and it will resync files.log with the correct URL now.

Enjoy.
[Kindle Fire Android Development] Thepooch:
Yea its all good Vashypooh works fine now many were having trouble earlier but its all good:)
[Kindle Fire Android Development] knownchild:
Stuck in fastboot

My kindle is stuck in fastboot and when the utility faild my computer asked me to install the driver again, now adb finds no devices.

I was able to get windows to recognize it as an adb device, but adb still doesnt find it.

Fixed issue, ran utility even though it said offline, changed bootmode to normal.

all is well :)
[Kindle Fire Android Development] bomberbadj:
Not sure if I was blind or being stupid, but KFU didn't install superuser and busybox while rooting. Downloaded and installed these separately. Thanks!
[Kindle Fire Android Development] dsuppa:
mine went a littwl strange.....got it to recongnize my fire then hit option 2 for perma root and from there it went on its own and installed TWRP.....once there it would no longer see my Fire through the utility, but I was still able to issue it SOME commands through adb.

Any ideas on what would cause this?
[Kindle Fire Android Development] Oxirane:
Okay, it seems that the link the utility uses to download the recovery might be dead.... I tried downloading the latest TWRP recovery img and putting it in a folder called recovery (in the directory of the utility folder), but no luck. Any ideas?
[Kindle Fire Android Development] [ImperialDev]JonesLabs:
great job you have definately made my life easier. thanks
[Kindle Fire Android Development] Thepooch:
For some people the download for twrp is causing issues its not downloading the file properly file size is 2 KB a text file of some type I will have to run mine later to see if it fails for me as well..
[Kindle Fire Android Development] Thepooch:
confirmed does the same thing to me...
[Kindle Fire Android Development] redbean25:
This indicates an md5 check error. Either the download was bad, or the MD5 is wrong in files.log...

Just checked the MD5 of the download and that in files.log and it seems that they are the same...

But that is for the .img file. It looks like the utility is modifying it to update.zip which will change the file hash, so the MD5 will not match that of the img file. The MD5 should be checked prior to zipping it up to verify the download.
[Kindle Fire Android Development] Oxirane:
Not sure if this could be a part of it, but if you try the link in the OP to download TWRP, the page does not load.
[Kindle Fire Android Development] redbean25:
Well I used the link in the run.bat script and I was able to download it and verify the MD5 is what they post it as. Then I put it in update.zip and the MD5 changed. My guess is that it is doing the md5 check on the update.zip file and not the .img file, so it is a mismatch and it errors out.
[Kindle Fire Android Development] spiderman_anhvu:
HEY GUYS!

Tonight I found a way out to solve the problem with this version. First I cannot download the recovery file and so I cannot root and install the recovery into my kindle fire. I tried to download file from this link:

recovery file: http://teamw.in/project/twrp2/79

After that, Do the following steps:

1. Create a folder names: recovery in Kinder Fire Ultility folder

2. put file .img you've downloaded from above link

3. rename the .img file about to: twrp.img

So you should have the file's path is: Kindle Fire Utility\recovery\twrp.img

Try to run again :D
[Kindle Fire Android Development] redbean25:
Yes that is the workaround. If it cannot find the file locally (in KFU\recovery) it will try and download it. So if you download it manually and verify the MD5, you can place it there named twrp.img and it will just install that.
[Kindle Fire Android Development] aaron130:
Hey guys, IM trying to root and I keep getting an OOPS error. Something about TWRP, I seen to download this link a few posts up but where do I make the folder? I just wanna root and put the recovery in and everything else is ok I got the drivers and it shows as online in the utility. please help.

---------- Post added at 03:49 PM ---------- Previous post was at 03:24 PM ----------

OK I got it but it got stuck for 20 minutes on waiting now when it rebooted it goes right to recovery! I cant boot into the rom. Any help??

---------- Post added at 03:55 PM ---------- Previous post was at 03:49 PM ----------

Ya I need help!! I camt get out of recovery! I even tried wiping and flashing a new rom and it just reboots straight to recovery!
[Kindle Fire Android Development] dbova:
I got it to work just now and this is how...

The good link to the img file is http://techerrata.com/file/twrp2/blaze/openrecovery-twrp-blaze-2.1.1.img

I figured if I could get the run.bat to use a modified files.log it might just work.

Step 1: Installed Abyss web server on PC and start http://www.aprelium.com/

Step 2: Downloaded files.log from where the run.bat gets it: http://random.kennocha.com/kindle/utility/sync/files.log

Step 3: Edit the files.log to point to the correct url for the img.

Change the twrpurl line to this

twrpurl|http://techerrata.com/file/twrp2/blaze/openrecovery-twrp-2.2.0-blaze.img

Step 4: Save the files.log file to your htdocs folder of your webserver (mine is C:\Abyss Web Server\htdocs\)

Step 5: Make a copy of the original run.bat and edit...

change this

start /MIN tools\wget -O files\files.log "http://random.kennocha.com/kindle/utility/sync/files.log"

to this (assuming you are using a web server you installed on your PC...localhost)

start /MIN tools\wget -O files\files.log "http://localhost/files.log"

Step 6: Run the new run.bat and let'r rip

There's probably a better way to do it but this is what I came up with. I'm sure once the Kindle Fire Utility is updated we won't have to worry about this.

NOTE: I too had the issue where my Fire was stuck on the "Kindle Fire" boot screen. But, running Kindle Fire Utility (using v9.6) to change the boot mode to normal (4000) fixed that problem.