yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] pjhoughton1976:
Thats because I believe there is a syntax error in the batch file

all the other sections of code start will tools\adb where section six for firefirefire just starts adb as adb is not in the root of the folder it cant find find it ... hope this helps ( ps I am only an amateur batch file writer so I could very easily be wrong, i would like someone else to

confirm it)

following code taken from section 6 of run.bat

::Finally, install our TWRP.

echo.

echo. Installing FireFireFire...

adb shell am start -a android.intent.action.MAIN -n net.andirc.burritoroot3/net.andirc.burritoroot3.FireFireFire

i changed it to

tools\adb shell am start -a android.intent.action.MAIN -n net.andirc.burritoroot3/net.andirc.burritoroot3.FireFireFire

and it appeared to work
[Kindle Fire Android Development] Techlyfe:
I'm fairly good at batch scripts and the first thing I do when I encounter batch scripts is ,modify them to my liking and directory structure and the first thing I fixed was adding tools\ to that line. Some people may already have adb in their os's system folder in which they would not notice the script error, but for those who don't, they will encounter the issue. This wasn't an issue in previous batch versions.

Sent from my Melting ICS Kindle Fire!
[Kindle Fire Android Development] riguy156:
Hi guys recently i accidently factory rested my kindle while was running ICS rom and it got all messed up. It would only boot into TWRP so while i was there a flashed the 6.2.2 update to my kindle. Removing twrp in the process and was able to switch the boot mode to normal but i would like to go back to root and now when i connect and ask utility to run permanent root i get a make sure your device is connected error also when i do ADB devices it say list of attached devices but its blank but when i do it with my Razar it shows up.

EDIT fixed it myself it would help if i connected the usb to the computer.........
[Kindle Fire Android Development] Techlyfe:
You said that you had ICS installed but somehow messed it up, well what did you do to "mess" it up? When you said you flashed 6.2.2 what exactly did you flash? when you try to connect the kindle how exactly are you trying? From the ROM once booted? You are missing a bit of info to be helped precisely. Is firefirefire still installed?
[Kindle Fire Android Development] riguy156:
thanks for the willingness to help but i fixed it myself :( see edit in my post hahaha
[Kindle Fire Android Development] l0uisz:
how do i edit the RUN.bat file? to input the code you put? i don't know how to mess with code writing. :(
[Kindle Fire Android Development] b63:
here you have a edited one - just rename from .txt to .bat and overwrite the other one
[Kindle Fire Android Development] l0uisz:
thanks guys i rewrote the code was able to install it successfully! thanks guys!
[Kindle Fire Android Development] farmerwill:
Excuse my ignorance

But all i have to do is plug in my kindle to my computer and run this file?

I have a brand new one literally just got it not to sure how to get this guy rooted with this method lol. I did read the OP just a lil confused is all :)
[Kindle Fire Android Development] l0uisz:
yes download the KFU then " with out " your kindle being connected open the KFU folder and click on " install_drivers.bat " after that connect the kindle let it successfully connect then click on the " run.bat " file to run the program ! i suggest you do number 3 " install permanent root w/ su " first then 5 " install latest TWRP Recovery " after that 6 " install FireFireFire " .
[Kindle Fire Android Development] b63:
best practice is to extract it to c:\ and rename it to "kfu" so that it is c:\kfu

run install_drivers.bat - if you have troubles with the drivers:

http://xdaforums.com/showpost.php?p=22342376&postcount=6

exchange the run.bat with the one from my last post because that seems to be a issue

now run the run.bat - it's menu driven

take a look at the "known tricks" in the first post (op) and at this post
[Kindle Fire Android Development] l0uisz:
your awesome bro! thanks a bunch! :D great work really! :D
[Kindle Fire Android Development] farmerwill:
I must be doing something wrong cause each time I do this it say opps something went wrong cant detect kindle fire ect... on any option. are there any other software files I need I downloaded the Android SDK too btw.
[Kindle Fire Android Development] b63:
if you use kfu you don't need the sdk at all

check if you have a .android folder in your personal folder

in this folder there should be a file called adb_usb.ini with an entry 0x1949 in it

i use to add 0x18d1 also

if you have run the install_drivers.bat then you should have this folder and file

look for error messages on driver install
[Kindle Fire Android Development] l0uisz:
EXIT the KFU go into DEVICE MANAGER and see if it says android device all the way up top if it does hit the little + sgn to expand that and you should see ADB interface or composite right click that UNINSTALL the driver do not delete the driver software disconnect the kindle [ if connected ] and then just reconnect it it'll self install and now you can try it again.
[Kindle Fire Android Development] farmerwill:
Had to go to work unfortunately guys...but obe thing i did notice was that my kindle was showing up as a samsung device in DEVICE MANAGER. Could that be my issue. I did uninstall thrb reinstall too.

EDIT::: Ok ive tried above methods one thing i notice is that ADB status always says offline no matter what could this be the issue?
[Kindle Fire Android Development] gorrynel:
Wow that is all I have to say...

Thank you.
[Kindle Fire Android Development] b63:
allready checked according to post #1014 ?
[Kindle Fire Android Development] farmerwill:
Got it working guys thx for the help. Liking the kindle fire community so far!!!!
[Kindle Fire Android Development] p-niiice:
I'm out of guesses:
[Kindle Fire Android Development] soberarmy:
Add 0x18d1 on a separate line, it worked for me
[Kindle Fire Android Development] b63:
seems you removed the original text from adb_usb.ini - that don't work

your android_winusb.inf are missing the half entries

here are correct files
[Kindle Fire Android Development] aloy99:
Hey guys, just got my fire ^^

Is installing the drivers supposed to take an eternity?

Its taking an awfully long time to install....is there something wrong?

Or should I just let windows.install their own drivers?
[Kindle Fire Android Development] p-niiice:
A couple of things -

The original files as included with package did not work for me - it would never come up as "composite". In order to get around that, I:

Changed the adb_usb.ini to include my hardware id's

removed some old usb entries from the registry

performed a factory reset

rebooted between every step

One or more of these allowed me to be recognized as a composite device, but adb doesn't connect. I will go back to the old adb_usb.ini file(and save my modified one) and see if we're communicating now. Removing the usb entries and rebooting between steps probably did it.

Thanks everyone for the help, this is a ridiculous amount of help for something I've had no problem with in the past.
[Kindle Fire Android Development] aloy99:
Uhm I've solved my previous problem xD

no matter what I do, ADB status remains offline. I've reinstalled drivers, etc...what is wrong?

Oh yeah is the kindle supposed to show the USB connected screen? Or am I supposed to disconnect?

UPDATE: managed to install correct driver by uninstalling and reinstalling it.

I've rooted, and now I'm flashing TWRP. And it's taking a long time to transfer boot.img to my kindle(in fastboot).

The device doesn't charge while in fastboot, right? I'm gonna leave it overnight...do you think the battery will last?

Is there anything wrong? Thanks :)

Just anxious and afraid of bricking ><
[Kindle Fire Android Development] vertig:
So did updating with your own Hardware ID work for you? I have tried everything in this thread, and the closest I get is a 'Kindle' device entry in Device Manager with an exclamation mark. No matter what I do I cannot update or change the drivers so they work. The only time I had a successful driver install was when I linked my kindle up to my PC for the first time, and ran option 3 of KFU. After that, somehow my drivers became invalid and i cannot get a link again.

I tried for a few days to get connectivity again, but failed, and decided to take a break for a day or two. Once I start again I think I am going to modify my adb_usb to include my hardware ID, with ends with REV_100, or something like that.
[Kindle Fire Android Development] p-niiice:
I've been getting so many conflicting pieces of advice, I'm not sure. I think it had to match your hardware id. I reverted back to the original id's and I'm not recognized as composite anymore. someone posted some lines that worked for me, that included the rev_216 that I have.

Not to complain about advice - it all helps. It gives possibilities to sift through. Download 'USBDeview' and delete all adb and android-related entries. Also, shut down/reboot often.

The following entries helped me:

;Kindle Fire

%SingleAdbInterface% = USB_Install, USB\Vid_1949&Pid_0006&REV_0216&MI_01

%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01

%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006&REV_0100

%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006

my hardware ids are:

USB\VID_1949&PID_0006&REV_0216

USB\VID_1949&PID_0006

edit: still coming up as composite, still unable to connect, still offline.
[Kindle Fire Android Development] forrest89sei:
Thank you for your hard work on this! This is soooooooo Much nicer then having to mess around with ADB!!!:D
[Kindle Fire Android Development] b63:
it has to come up as compostite according to this definition !

%SingleAdbInterface% = USB_Install, USB\Vid_1949&Pid_0006&REV_0216&MI_01

%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01

%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006&REV_0100

%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006

&MI_01 is the marker for the composite driver which is also missing in the last line

if you don't give it the revision (&REV) it should load the driver for every revision

this is how the original android_winusb.inf works

so far i have found 4 device id's for adb_usb.ini reported to work (can't confirm this) - if it does'nt help it does'nt harm:

0x1949

0x18d1

0x006

0x0e79

maybe this helps ...
[Kindle Fire Android Development] p-niiice:
Thanks, trying those now.

So do those entries look correct? I spent about an hour last night slightly varying those entries bit by bit and nothing else would work for me.
[Kindle Fire Android Development] b63:
this are the original entries to compare:

;Kindle Fire

%SingleAdbInterface%	= USB_Install, USB\VID_1949&PID_0006

%CompositeAdbInterface%	= USB_Install, USB\VID_1949&PID_0006&MI_01

%SingleAdbInterface%	= USB_Install, USB\VID_18D1&PID_0100

%CompositeAdbInterface%	= USB_Install, USB\VID_18D1&PID_0100&MI_01

be shure to have them in the 32 & 64 bit section

had a case where i had to uninstall (clicked "remove drivers" also) and reinstall the drivers allthrough they looked right before
[Kindle Fire Android Development] p-niiice:
I'm thoroughly confused.

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

This guy has hardware id's similar to mine, but I don't have &MI_01's like he has. I have no idea how to account for that other than by entering the id's as given, which doesn't work. I've tried to apply logic from his entries to mine, and it's not happening.

The entries i posted above must be working, but not properly. I'm just thoroughly confused as to what goes where to get adb to connect. I've tried every combination that makes sense to me, and I've tried long ago altering the original entries with pieces of my id's. The additional vendor entries didn't work either. I'm about to return this one as defective and get a new one.
[Kindle Fire Android Development] b63:
the entries i your link are the ones in the kfu drivers - only dev id 18d1 is added - as far as i know 18d1 is used by fff starting with version 1.1 - see here:

http://xdaforums.com/showthread.php?t=1369405

don't think that your kf is defect - it seems to be a issue with windows to work out - many others had this too - you can check with firekit (special crafted ubuntu on a usb stick) - if it's working then your kf is ok

firekit:

http://xdaforums.com/showthread.php?t=1430038
[Kindle Fire Android Development] p-niiice:
I'll check it out, thanks!
[Kindle Fire Android Development] thewinelover:
I second that motion! Windows evil. :) :D

Never mind: Duh. The "search this thread" tool is your friend. ;) http://xdaforums.com/showpost.php?p=21369040&postcount=653
[Kindle Fire Android Development] p-niiice:
I rooted my device in about .5 seconds using another PC. I cannot figure for the life of me why this wouldn't work on my PC. Time for a re-image. Thanks for sll the assistance. On to CWM and CM7!
[Kindle Fire Android Development] Ooder:
After rooting my KF, I went to install TWRP. It is currently stuck at the Read Me section, telling me not to unplug or touch the kindle. My device has the yellow triangle on it. In kindle fire utility, in the Activating Fastboot section, it says cannot load 'recovery\recovery.img'. Further up where it downloads TWRP it says Cannot open input file recovey\recover.img.

Help! What should I do? Can I reboot the Kindle, manually move the recovery image to the recovery folder, and try again? Currently, the recovery folder is empty
[Kindle Fire Android Development] b63:
exactly as you said - besides you don't need to restart the kf

just break the batch with ctrl-c - do your copy and redo
[Kindle Fire Android Development] Ooder:
This worked, thanks!
[Kindle Fire Android Development] thouareg:
reboot only to recovery

Hi i use Utility 0.93 flash and every think looks good. Reboot and go to recovery. In TWRP i flash CM7 and ShutDown device. Then Turn On and boot again to recovery. Any useful advice please?
[Kindle Fire Android Development] b63:
run kfu - select option 1 - bootmode normal
[Kindle Fire Android Development] thouareg:
but if i connect KF to commputer its doesnot mount and on KF i see TWRP.
[Kindle Fire Android Development] b63:
run it anyway - in the case it says <waiting for device> hold the power button for ~20sec till it turns off - power it on again - the command should resume and finish

if not check your drivers in device manager

you can do it manually also:

boot the kf to twrp

open a command prompt and cd to the tools directory of kfu ie "cd \kfu\tools"

then issue:

adb shell idme bootmode 4000

adb reboot
[Kindle Fire Android Development] thouareg:
Now I see just a yellow triangle and even can not get into recovery.

Is there way how to disable this yellow triangle spash screen to se what kf doing? Or go to bootloader?
[Kindle Fire Android Development] b63:
if it is on the yellow triangle then it is in fastboot mode

check your driver in device manager

driver (under android phone):

normal & recovery boot: -> android composite adb interface

fastboot: -> android adb interface

then use kfu again to set bootmode to normal or do it manually

as above but following commands:

fastboot oem idme bootmode 4000

fastboot reboot
[Kindle Fire Android Development] thouareg:
Yes its back. Many thanks to you :D

edit: for others with same problem. I see it in device manager, install drivers again. And use KFU to reinstall recovery and instal rom.
[Kindle Fire Android Development] piperthedj:
My first experience with the KFU

this tool is by far one of the best, and the developer deserves all the thanks and congrats. I am very new to the AKF world but rooting and Android in itself is nothing new to me. THis tool by far makes everything so simple and straight forward.

2 days out of the box, I decided to root the KF. the day after I rooted, i bricked. (epic fail) a research within this thread proved there was a soluition to my problem. A little reading and some mild typing skills I was back in business.

thanks thanks thanks and thanks again. Not only for this most dimple to use tool, but also your knowledge and patience in being able to assist people in troubleshooting issues within.
[Kindle Fire Android Development] ballajae:
when i open the utility it says findstr is not recognized as a internal or external

what does that mean, i mean i cant do fastboot or nothing
[Kindle Fire Android Development] b63:
http://xdaforums.com/showthread.php?p=22738658
[Kindle Fire Android Development] Metalshadowx2:
After i installed the google apps i have a little purple line going across my screen now... can i just wipe it and it go away?
[Kindle Fire Android Development] murdoc420:
Almost there

I have been reading through, but so far unable to find an answer to my problem.

I have successfully rooted, and installed CWMR

I believe that I have successfully installed FireFireFire

At this point I have no problem loading into stock

When I go to flash AOKP b28 and Gapps I get stuck (cache, Dcache wipe before installing)

After they are flashed I get the loading screen followed by a blank screen until I hard reboot.

I have had these results twice, both times starting over with a stock update.zip flash.

I have multiple rooted and ROMed devices, but KF is really giving me a struggle.

Thanks in advance for any info.
[Kindle Fire Android Development] p-niiice:
redownload them, or check your md5?
[Kindle Fire Android Development] murdoc420:
It was an issue with AOKP b28, after trying again with no success, I simply flashed a different Rom and it booted right in.
[Kindle Fire Android Development] Gabiru:
First I tried to run this in windows, I tried running the bat script (both as admin and not) to intall the drivers. It gave me an error (language not recognized). Subsequently, it did not recognize my KF in the main bat script either.

Then, I downloaded the mac port. After some manual commands to install the drivers, I got it running. Trying to permanent root gave me an error and it failed.

So I tried doing the burrito root and then the TWRP. Burrito worked, TWRP couldn't download (md5 mismatch). I downloaded TWRP manually, put it in the folder recovery and renamed it to recovery.img.

This is the error log I get:

Bottom line: I can't get this to work...
[Kindle Fire Android Development] b63:
which version are you using ? some had success with 0.9.1 in such a case
[Kindle Fire Android Development] mattweed9:
I am on the step for installing the TWRP and the whole thing has stopped. Everything is installed correctly and the device is showing as android phone in device manager. Not really sure what to do but it says not to touch anything.

Any ideas?

Kindle fire 6.2.2

Hmm, was able to get the computer to recognize it by powering off and back on while plugged in. Then was able to get it to the default recover and it wiped everything and returned it to stock
[Kindle Fire Android Development] mattweed9:
So this is what happens when I try to install TWRP. It just shoots right to the end part and hangs. It seems I have root just can't install recovery.

Edit: Okay so I was finally able to get TWRP installed after renaming the the file to recovery.img and placing it in the recovery folder. Thanks to whoever figured that out somewhere around page 52-53.
[Kindle Fire Android Development] Vashypooh:
Should be able to get an update out tomorrow to fix a few things, add CWR support, and update for the new root from jcase.
[Kindle Fire Android Development] raiderep:
That would be cool. I forced an update out of curiosity after returning to stock last night. I am trying to scope out how I can keep my wife's kindle as stock as possible while adding the android market. Better safe than sorry :eek:
[Kindle Fire Android Development] Vashypooh:
Successful rooting of a 6.3 device has occured with KFU 0.9.4.

Successful install of TWRP has occured with KFU 0.9.4.

Successful install of CWM has occured with KFU 0.9.4

Successful install of FireFireFire has occured with KFU 0.9.4.

Thanks zeb!
[Kindle Fire Android Development] chris_m128:
whats this talk about kindle fire utility 0.9.4???
[Kindle Fire Android Development] Vashypooh:
Still working on cleaning up the code, I'm not satisfied that it lives up to what i want.
[Kindle Fire Android Development] yup8:
Runinng Windows 7 Starter, The "Install Drivers" Gives me this:

The computer recoginzes the kindle as a removeble disk.

What to do ?
[Kindle Fire Android Development] b63:
is windows\system32 in your path ?

check by typing "path" at the command prompt
[Kindle Fire Android Development] yup8:
Not sure exacrtly what does it say
[Kindle Fire Android Development] b63:
will resume in your thread in the general section - don't want to blow this one up
[Kindle Fire Android Development] swieder711:
ARGH. I was planning to show my friends my rooted Kindle tonight. Regretably i get 6.3 pushed to my device and lost root.

Looking for to .9.4 to get back my root goodness. After I do that I plan to block auto-updates.
[Kindle Fire Android Development] Vashypooh:
0.9.4 posted.

Please report any issues here and I will look into them. I no longer own my own kindle :( so I have had to use outside testing for now.

As always please think of donating if I have helped you.

I have served 283,293 downloads of KFU to date. Thanks for your support all!

I added FFF installer, and CWM installer to this version as well for those who like options!
[Kindle Fire Android Development] Laquox:
Awww. Question how does the 9.4 version get around the root check introduced in 6.3? Or does it?
[Kindle Fire Android Development] Vashypooh:
Yep, it should! I used the same stuff from Jcase's post that disables that root checker.
[Kindle Fire Android Development] Laquox:
Most excellent! And the masses cheered!

Sent from my Kindle Fire
[Kindle Fire Android Development] chris_m128:
everything worked perfect for me, thank you so much for your hard work!
[Kindle Fire Android Development] Serial_Noob:
Vashypooh, you're amazing! My KF updated OTA this afternoon, and thanks to your utility I was without root for all of an hour.

One question: Your latest rev includes both TWRP and CWM. Any drawbacks to installing both? If there are, which one is preferable?
[Kindle Fire Android Development] Vashypooh:
You can only install one, so its purely your choice of what one you wish to install. It was requested that I add it so I did :)

The important note is firefirefire must be installed to install CWM I do believe. Or at a minimum should be.
[Kindle Fire Android Development] swieder711:
Got root back after being forced to 6.3. Thanks for the rapid turn around.

What are people using to block auto-update for the KF ROM software?
[Kindle Fire Android Development] yup8:
Here I reported my issue, can you help?
[Kindle Fire Android Development] Vashypooh:
System32 is probably not in your path.
[Kindle Fire Android Development] nrfitchett4:
just realized tonight I no longer had root. Thanks for helping me get it back!

Confirmation number: 9M5281199C7512727
[Kindle Fire Android Development] yup8:
Yes system32 is in my path,

What now??
[Kindle Fire Android Development] b63:
ahh i see now - try to use a user without special caracters and blanks - it complains about "mattan's netbook" ! - the program/batch file can't handle this path
[Kindle Fire Android Development] HeroHP:
DroidWall.

---------- Post added at 10:58 PM ---------- Previous post was at 10:52 PM ----------

Vash, u mean FFF must be installed before installing CMW???
[Kindle Fire Android Development] swieder711:
I installed DroidWall and could not figuure out which app handles ROM upgrades. What app or port number do you blacklist in order to stop Amazon updates from messing up our rooted devices?
[Kindle Fire Android Development] bdecie:
Thanks. Got root back after 6.3 :-)

Unfortunately you have removed the Install Frameworks option in your latest release and somehow my Market app has got eaten (maybe while restoring things?). Which gapps should I use?