yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] charmainelooi:
Hope I did not brick it:

unzip fbmode.zip

adb push fbmode /data/local/fbmode

adb shell chmod 755 /data/local/fbmode

adb shell /data/local/fbmode

adb reboot

Your kindle will "get stuck" on the kindle fire screen, but really it's just in fastboot mode.

fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img

Results:

c:\android-sdk\platform-tools>fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img

creating boot image...

creating boot image - 10240 bytes

downloading 'boot.img'...

OKAY [ 0.007s]

booting...

OKAY [ 0.003s]

finished. total time: 0.011s

I followed the instructions as shown above. It simply hung there at the "Kindle Fire" sign... there's no automatic booting into twrp recovery .. I ran this command and got the following:

c:\android-sdk\platform-tools>fastboot -i 0x1949 getvar product

product: kindle

finished. total time: 0.001s

Hope I am still good to go. How should I proceed from here ? Thanks
[Kindle Fire Android Development] b63:
if you had the prompt to reboot on the kf screen then go ahead with the fastboot commands:

fastboot oem idme bootmode 5002

fastboot reboot

...
[Kindle Fire Android Development] charmainelooi:
Seems like you are right ... the twrp is of the wrong size but I can't seem to download from http://teamw.in/project/twrp2/79. Could someone provide a dropbox download ? Thanks
[Kindle Fire Android Development] b63:
just downloaded it - download works fine - try:

http://techerrata.com/file/twrp2/twrp-blaze-2.0.0RC0.img

size: 10,3 MB (10.878.976 Bytes)
[Kindle Fire Android Development] charmainelooi:
Thanks ... the rooting resumes... ;-)

---------- Post added at 03:56 PM ---------- Previous post was at 03:46 PM ----------

Is this message correct ? Just wanna be sure before proceeding

c:\android-sdk\platform-tools>adb shell idme bootmode 4000

<idme> write 4000 to offset 0x1000
[Kindle Fire Android Development] sxayarath:
I think I don't have the right drivers installed but for the life of me I don't know how to get the right ones installed. I'm still stuck on the KF logo and basically all I'm getting is the "error: device not found" or "waiting for device" messages. The KF only shows up as an Android Phone and not an Other Device. Any ideas?

I attached an image of how it is displayed.

**EDIT**

I've checked my C:\Program Files\Android\android-sdk\extras\google\usb_driver folder and I do have the following under [Google.NTx86] and [Google.NTamd64]:

;Kindle Fire

%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006

%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
[Kindle Fire Android Development] b63:
yupp - it's perfect !

---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------

you can add the missing entries to the file - in both sections (32 & 64 bit) and reinstall the drivers or use the kfu drivers:

http://xdaforums.com/showpost.php?p=22342376&postcount=6
[Kindle Fire Android Development] pokey9000:
Seeing 1949:0006 means you're in Android or recovery.

The 18d1:0100 is fastboot mode in FFF. You shouldn't ever have to create an .ini entry or new driver for this as long as you have the ADB drivers installed. This is one of the natively supported ADB VIDs. You shouldn't even have to pass an ID to FFF when you're using fastboot, though using -i 0x1949 with FFF works because it falls back to 18d1.
[Kindle Fire Android Development] nelvbautista:
My KF just auto-updated to 6.3 thus loosing my old root. I followed the initial steps above but I'm getting a "permission denied" error after typing in

adb shell /data/local/fbmode

Not sure what I'm doing wrong here... Thanks in advance for any suggestions...
[Kindle Fire Android Development] sxayarath:
Ok I should have probably explained myself better. I do not have FFF on my KF, but the stock bootloader (I know, I know...now that I've been reading up everywhere, I definitely should install FFF especially for situations like this). So I go the update, tried to go through the process, but before I could fastboot TWRP everything screwed up (likely human error). In any case, that's where I'm at...stuck at the dreaded KF logo. Anyways, I am no expert. I've been rooting since I received my first smartphone (HTC Evo 4g) and basically I follow directions well (for the most part). I've screwed up several times, but I've always managed to find a way to fix my mistakes. The exception of course is now and I definitely don't know my way around the KF. I greatly appreciate everyone who has tried to help me though.
[Kindle Fire Android Development] smirkis:
adb shell chmod 755 /data/local/fbmode
[Kindle Fire Android Development] nelvbautista:
Thanks but I's still getting the same error... so far I've just covered the 1st 3 steps from the 1st page...

unzip fbmode.zip - done

adb push fbmode /data/local/fbmode - no errors

adb shell chmod 755 /data/local/fbmode - no errors

adb shell /data/local/fbmode - permission denied

adb reboot - havent reached this yet

Other ideas, suggestions, tips, will be highly appreciated. Thanks.
[Kindle Fire Android Development] smirkis:
make sure your kf isn't mounted as usb storage
[Kindle Fire Android Development] pokey9000:
Have you tried using KFU to fix your drivers? I haven't tried it myself but I hear it fixes a lot of Windows driver issues. There's also firekit if you're desparate.

Also, try running "fastboot -i 0x1949 reboot" on the command line, then hold down the power button until it reboots. If it works (causes it to reboot once more, and the command exits cleanly) then you were probably stuck with a broken /system or something. If not, then definitely look at your drivers.
[Kindle Fire Android Development] Alchemist07:
Hi,

I am using Linux and I followed the isntructions normally, however, I am now stuck at the yellow firefirefire logo after choosing to reboot.

when I try:

"fastboot oem idme bootmode 5002"

it just gives me:

< waiting for device >

and having used "lsusb", I can see that it is not detecting my kindle anymore.

Never happened to me before does anyone know how to get this unstuck?

Thanks
[Kindle Fire Android Development] pokey9000:
Try using /data/local/tmp instead of /data/local. If that doesn't work, post the output of:

adb shell ls -la /data/local
[Kindle Fire Android Development] Alchemist07:
Ah OK i noticed the same behaviour as the other poster, it now recognises by device with a google ID, not sure how im going to fix this driver issue whilie in linux :S

---------- Post added at 06:14 PM ---------- Previous post was at 06:07 PM ----------

Ah OK, I found a fix for coming out of that kindle fire logo for Linux, PM me if anyone needs more help but basically you need update your android rules with the new "google" device id. rest of the instructions work fine.

Thanks
[Kindle Fire Android Development] nelvbautista:
Sorry for the noobie question but how do I make sure my KF is not mounted as usb storage? It's automatically read as a usb storage device whenever I plug it in...
[Kindle Fire Android Development] b63:
simply tap disconnect when you have the connected picture on the kf screen
[Kindle Fire Android Development] sxayarath:
I have used KFU to fix my drivers and that hasn't worked. My KF still shows up as an Android phone. I'll look into firekit.

I tried running that command, but it just runs through without pausing and goes back to prompting for a command. Thanks for the effort.
[Kindle Fire Android Development] Laquox:
Told you it wouldn't be long. If this method is too much for you there are now options:

Kindle Fire Utility Roots 6.3?

Stock Root update that works with TWRP
[Kindle Fire Android Development] Vashypooh:
While the old verison of KFU migh thave done 6.3 you should use the newer version if you want it to work nicer.
[Kindle Fire Android Development] charmainelooi:
the login screen remains in potrait mode

On a different note, I am not sure whether it's just my kindle setup. When I need to log in with my kindle placed on a horizontal plane, the slider and the password entry screen remains in a portrait mode. Thought it would be fixed in 6.3.

PS: I have not intention to move into CM7 etc ...

Also, whenever I connect to my PC via mini-usb cable , I don't get prompted anymore for USB storage ... I only get ADB access . How can I get Kindle to be recognized as a USB storage again ?

thanks all !! You guys rock
[Kindle Fire Android Development] nelvbautista:
Oh right!!! Stupid me LOL... anyway, still getting the permission denied error on

adb shell /data/local/fbmode

do i need to remove other rooting apps i have here such as BurritoRoot3, Voodoo OTA Rootkeeper for this to work?

Thanks...
[Kindle Fire Android Development] smirkis:
any downside to flat-out deleting check_rooted vs renaming it?
[Kindle Fire Android Development] Th3-Chronikk:
I'm really surprised they didn't take out the fastboot exploit in 6.3
[Kindle Fire Android Development] smirkis:
im not, pokey9k never released the source code, and in return it didn't get patched up lol.
[Kindle Fire Android Development] Th3-Chronikk:
O ok
[Kindle Fire Android Development] jcase:
I am, it is extremely obvious what is going on, pokey eve pointed ppl in the right direction to see.

5mins + a reboot exploit and this could of been an app.
[Kindle Fire Android Development] fludiddy:
Followed the instructions to the letter and works perfectly! Thanks!
[Kindle Fire Android Development] techferret:
I am having the same issue...and this is my output:

C:\Users\techferret>adb shell ls -la /data/local

-la: No such file or directory

tmp

fbmode

Some help would be nice...I've been trying to find a solution for 6.3 root since Amazon shipped it to me with the update already. The Rezound and Admiral were a walk in the park compared to the Kindle Fire :confused: I've even tried utilizing KFU 0.9.5 with no results other then using KFU 0.9.3 to install BurritoRoot and that was a diaster :mad:...it seemed that Superuser installed but I couldn't get TWRP to work and the Fire never got root irregardless of the Su apk being present...hopefully someone can come up with a solution. Thanks in advance :o
[Kindle Fire Android Development] jcase:
Windows users

DRIVERS DRIVERS DRIVERS

I am not familiar with Windows, please don't PM/Email me about issues if you are running into problems when using windows. I really do not know how to help you.

All windows issues are almost entirely driver or path related.

Use a Linux LiveCD and run adb and fastboot as root.
[Kindle Fire Android Development] tangbunna:
Done it in perfectly in 5mn but some icons are missing

I have done rooting my kindle fire in 5mn according to the instruction from Win7.

All steps are perfectly works without errors but there is one problem after rooted, some icons are missing only square white/black as seen in my photo uploaded. but those apps are working fine.

My question is, how can I restore all the icons ?
[Kindle Fire Android Development] jcase:
Try clearing the cache for the launcher, this isn't root related.
[Kindle Fire Android Development] sxayarath:
I don't know how or why, but the latest KFU v0.9.5 fixed my brick. I had to factory reset it, but whatever. Woohoo!!!
[Kindle Fire Android Development] techferret:
:o Yeah, I suspected the drivers...so I finally dual-booted my machine and was able to root my Kindle Fire...but it was a hassle :p: jumping to Linux to successfully install Recovery and got stuck on FFF yellow triangle so then I boot into Win7 to finish the steps from recovery on using Kindle Fire Utility 0.9.5 to boot back into recovery :) and then went into cmd to finish the adb steps :rolleyes:...but I got Root! Thanks jcase for the how-to!
[Kindle Fire Android Development] brandon_L:
ok I made it to the reboot to the kindle fire screen. Now I can't get adb to see the device to fastboot to twrp. I have uninstalled and reinstalled the drivers numerous times. Am I missing something?
[Kindle Fire Android Development] FC127:
I am having a little bit of an issue... I looked yesterday to see what system version I was on and it said 6.2.2. I researched the proper way to root and used the KindleFire Utility to install burrito root, FireFireFire bootloader and TWRP recovery. When I booted back into the kindle I tried to use the KindleFire Utility to install GApps. It said "failed" based on no permission.

I then checked the system version again and it said 6.3... So, it updated overnight without me knowing. Now I am left with FireFireFire bootloader and TWRP but no root. I tried to use this guide to no avail. When I type "fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img" adb says it cannot do this.

I figured, since I already had twrp, that I can skip to copying SU and this seemingly worked until I typed "adb shell mv /system/bin/check_rooted /system/bin/check_rooted.bak". It then said the file was not found.

ANy suggestions?
[Kindle Fire Android Development] jcase:
if check_roooted was not found then you are not on a stock 6.3
[Kindle Fire Android Development] FC127:
Ok, I tried to install the superuser zip in twrp and it wouldn't install.

Edit: Nevermind... I guess everything worked out ok. Flashed cm9 successfully. Thanks for the help jcase.
[Kindle Fire Android Development] krelvinaz:
Took a brand new KF that got the 6.3 OTA.... followed the Instructions in the first post, outside of having to snag a copy of Superuser.apk, flawless...

Piece of cake. thanks for the new instructions. I didn't even know there was a new version as my KF hasn't updated and won't unless I let it.
[Kindle Fire Android Development] limezone:
I'm sorry I have to ask... but,

I was installing firefirefire through KFU and it hung up 'waiting for device' when "kindle has been told to reboot in Fastboot mode".

I've still got it plugged into the PC. I'm afraid to disconnect it.

suggestions?

BTW adb won't see the kindle now.
[Kindle Fire Android Development] jassjulius:
I followed the guide and encountered a similar problem as described above. After running fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img and rebooting, I get "stuck" on the yellow triangle, but with the difference that I am really stuck.

Issuing fastboot oem idme bootmode 5002 gives < waiting for device >, the same happens when i issue fastboot -i 0x1949 getvar product.

adb devices does not list it either. What makes me at least a bit optimistic is that when i lsusb it gives me:

Bus 001 Device 047: ID 18d1:0100 Google Inc., which should mean that it is in fastboot mode, right?

I do doubt that it is the drivers, since fastboot was working perfectly before and I havent changed anything on my notebook. Also, i am using linux (mint), which as i have read does not have excessive driver problems.

What should I do? I read above that someone with the same problem used Kindle Fire Utility to proceed to the steps described in the first post. Unfortunately I dont have access to a windows machine at the moment, but if you think this could work, I'll find one.

Edit: i forgot to add just in case that i was on stock 6.3.
[Kindle Fire Android Development] anantshri:
I also got stuck there the solution i found was with the help of script package here

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

I actually used part of one of the script.

basically did a fastboot flash boot and fastboot flash recovery

that got my system back running

hope this can help.
[Kindle Fire Android Development] res1n:
Thanks, process worked flawlessly! Great work to the dev's around here!
[Kindle Fire Android Development] jassjulius:
Thanks for the reply. I did try this before. Of course i didnt make the usb stick, but just ran the script from the zip. Unfortunately, as this uses fastboot, it is no use, because I cannot connect to my device using fastboot. It gives me < waiting for device > as any other fastboot command.
[Kindle Fire Android Development] Roland Deschain:
I was stuck at that doing a previous root process, but rebooting the device while it was still plugged in let it recognize it for a few seconds just after turning it back on, and the command went through. Yet another time, I had to actually type the command in then turn it off and then, a couple seconds after turning it back on, I entered the command and it grabbed it.

The Kindle Fire sure is a pain when it comes to doing this stuff compared to....seemingly every other Android device on the planet. I've done a lot of rooting and ROMming with the Droid X and HTC Rezound, and never had as many problems as I've had with the Kindle Fire; lol.

If either of the things I mentioned work for you, I'd appreciate a reply saying so, as I'm honestly curious. (The more I know of what works and doesn't, it'll help me decide if I want to help a friend root & ROM his KF.)
[Kindle Fire Android Development] FC127:
I had to type my command, without hitting enter, then plug in my fire. When I heard the sound to tell when its connected I hit enter. It worked for the fastboot command to change to normal boot.
[Kindle Fire Android Development] vivid80:
HELP!!!!

I got stuck on the "kindle fire screen". When I run this line "fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img"

when I run this it says: "< waiting for device >". I'm on Windows 7.

what should I do? I'm in a really hurry since I need to send it to some one as a gift as soon as possible and I just wanted to install some apps before sending and this happened.

I really appreciated your helps

BTW: first i had some mistypes that couldn't run the fastboot line. I restarted the device couple of times. Just to let you know what I've done!

I tried a lot to install the correct drivers provided but none of them were working and it keep saying "unknown device" in the device management window!

HELP HELP!!!

update:

I finally overcame this problem :)

I was not able to install the proper driver for the KF. I used another KF to detect the device, after proper installing of the driver I connected the above mentioned one and continued the process.

Thank you all so much
[Kindle Fire Android Development] jassjulius:
Thanks for your reply. I feel so stupid at the moment, I was executing all the fastboot commands in normal user mode, everything was solved by issuing "sudo ./fastboot".
[Kindle Fire Android Development] unolax:
Stuck at kindle logo

I followed this guide, to the letter, when I got to the part with fastboot, windows can no longer recognize the device and unable to get out of fastboot. Any help would be awesome I have been searching for most of the day and have been unable to fix this.

Thank you,

---------- Post added at 02:12 AM ---------- Previous post was at 01:32 AM ----------

Nevermind, wow. I misspelled it a few hundred times... ebkac error
[Kindle Fire Android Development] pghallinan:
Problem at "adb shell mount system"

Everything seems to work for me up to the lines:

Once in recovery

adb shell mount system

This command returns a "help" response about the proper command line for use of "mount," as follows:

adb shell mount system

Usage: mount [-r] [-w] [-o options] [-t type] device directory

I suspect I have missed something obvious, but for the life of me I can't figure it out. Any thoughts?
[Kindle Fire Android Development] jcase:
Are you in android, or in recovery.
[Kindle Fire Android Development] pghallinan:
I assume I am in recovery. The twrp image loaded when commanded and gave me an options screen for rebooting to recovery; afterwards, the two immediately preceding fastboot commands then executed (I assume properly) with "Okay" and "rebooting." Is there something that tells me whether I actually am in recovery?
[Kindle Fire Android Development] jcase:
if you are in twrp you are in recovery
[Kindle Fire Android Development] celphtitled:
My dad installed the 6.3 update over his rooted Fire. Can someone be so kind as to tell me what steps I need to take to re-root it?

I don't mean how to root, but what to do before root i.e. do I need to delete super user or anything like that.

Thanks.
[Kindle Fire Android Development] GoSooners345:
ok can someone get me the FIREFIREFIRE Bootloader as it is not listed in the OP!
[Kindle Fire Android Development] pmdisawesome:
Actually installing the TWRP will auto-install FireFireFire boot loader 1.0
[Kindle Fire Android Development] wmka2000:
You are My hero, KFU not succeeded with me but your solution superfast root it flashly While I am still NOOb and first time use ADB and Fastboot Mod :)
[Kindle Fire Android Development] XITruthiX:
I dont mean to repeat, but I just got my GF a kindle fire, it came in about 3 hours ago and I got to hacking immediately.

This manual root method is outdated, the TWP link is to 2.1 and does NOT auto-update FFF. If you use this method, and rename to TWP.img correctly, you will get TWP but upon reboot as stated you'll enter a loop at the "Kindle Fire" screen. If you get a "unknown device" you need to have the drivers pre-installed, have th kindle already connected to the PC and then reboot the Kindle. If you boot the Kindle while its already connected to the PC it SHOULD recognize in the drivers as a kindle, how ever if you disconnect the USB and then reconnect it it will show "device uknown." My Fix was:

-power down kindle, attach to USB (it will boot when you plug in, power down and reboot)

-Your PC will attempt to install drivers (and should recognize it as a kindle) but fail

-open device manager, right click>properties>drivers>uninstall (and click the check box to "delete driver etc)

-power down

-download KFU .9.5 and run >install_drivers

-power up, device manager, right-click>properties>drivers>update drivers>choose driver>manually choose a driver from a list/have disk and navigate to the KFU.9.5 drivers>kindle folder and choose android_winusb

-install the driver and it should finish reading as android adb etc.

-KFU .9.5 bootmenu> option 3 (recovery)

-the device should respond almost immediately and factory reset to stock

-when booted back to the OS, run KFU FFF, KFU root and SU, KFU (custom recovery of your choice)

It took me god damn 3 hours to get it right, I thought I bricked it as I couldnt get a CMD ADB bridge to manually find the kindle, KFU pushed through the fastboot commands even though an active ADB wasnt running. good luck!
[Kindle Fire Android Development] wmka2000:
It should be allready su now disappeared after update. You have to root it again and google for voodo unroot app), it will resume your root after any future update
[Kindle Fire Android Development] Aronoskarss:
Not on 2.1, and it is giving me hell. When it is supposed to install firefirefire nothing happened, so now

I'm stuck on the kindle fire logo.

Been trying some solutions, none have worked....
[Kindle Fire Android Development] anrchy666:
@XITruthiX thanks so much i too was working on this for hours u saved me ;)
[Kindle Fire Android Development] XITruthiX:
Read my post like 2 posts back dude

NP man, thats why we're all here!! If I was a noob I would have panic'd and given up calling it a brick, but ive been hacking everything ever since like 1995 haha, just be stubborn, I had to take a cigarette break to clear my head and rethink what was happening
[Kindle Fire Android Development] tedr108:
I see the OP is now saying to use KFU. Would really prefer to do this from an Ubuntu machine. (Otherwise, I'll have to put KFU on my work computer.) So, I'm wondering if anyone can:

1) Show me a link to the old twrp img (2.0), which automatically installs FFF <== please let me know if this will not work for any reason

or

2) Let me know where in the OP install process to install FFF, if that's even possible (I'm assuming this one is not easy or jcase probably would have simply inserted the line(s) and not sort of paused this thread)

Thanks...

Followup: On Ubuntu, rooted with this method after finding the older twrp recovery to download. Everything running fine ... Google Play (still no icon for this yet!), Gmail and various other market apps. Will probably flash a custom rom soon, but this will get me by for now.