yashsingh1/xdaforums huggingface dataset:
[Kindle Fire General] Vashypooh:
when you ran the idme command you were in the wrong folder, it's /system/bin, so do:

cd /system/bin

Then try idme.

However! you need the stock firmware to flash the update.zip, so what you will need to do is get yourself back into the stock recovery, then likely zergrush, then try my stuff.

keep in mind you need to mount /cache/ RW

Some people are having issues in the same area, so I may tweak my batch file to break up a few functions for some people.

This really is hard to support without a KF, glad its almost payday :D
[Kindle Fire General] Husam2011:
@up, i wonder if you got msn or skype? i want you to teamview me :(
[Kindle Fire General] philwaud:
Im stuffed!

I installed CM7 on my kindle fire after trying all week. almost straight away, I noticed that the sound had been fixed, so uploaded the new update and CWMd it.

It now just boots back to the CWM screen. At some points (after a hard reboot) it says that /cache/recovery/log and last_log cant be accessed. I seem to have lost root, and su etc dont work when I open an ADB shell.

Ive tried the instructions above and zergRush seems to copy across OK. It doesnt report anything when I run the chmod command, but I assume thats normal.

When I try to do the ./zergRush, it says:

/sbin/sh: zergRush: not found

Im absolutely stuck here! Help! (pretty please)!
[Kindle Fire General] Vashypooh:
Me? Or someone else. Confused at what @up means.
[Kindle Fire General] toasterjack:
Still need a little help here!

I realized that i am running fastboot

from

c:\kindlefireroot\files>fastboot -i 0x1949 -w

Perhaps there is a little mistake here

Another update: Now the device only shows as USB Device not recognized?!

What can/should I do?

P.S the device is listed as "Unknown devices
[Kindle Fire General] Husam2011:
You need to set idme bootmode 4000 on fastboot for it to be recognized again, green led now ye?
[Kindle Fire General] toasterjack:
yes, and only green light.

How can I set the

idme bootload 4000?

type it in directly in files?

---------- Post added at 01:48 AM ---------- Previous post was at 01:39 AM ----------

Okay, going back to the first OP, I did that already. I just don't know why NOTHING recognizes the fire now. Not the PC, not ADB and not the fastboot.
[Kindle Fire General] Husam2011:
Try this one.

If it doesnt work, then you just keep trying to let the usb read it. I happend to me last night. Just go to device manager and try to update drive by extras/ google drivers etc

---------- Post added at 02:05 AM ---------- Previous post was at 01:53 AM ----------

WOW! I just figured out everything myself, thanks anyway guys but adb push was the only way to save this kindle. I replaced everything i edited to default and everything i added and whatsoever and it booted like a charming kindle with light bleeding.
[Kindle Fire General] Vashypooh:
Glad to hear it!~ Can you explain a bit more what you did? The more I know, the more I can attempt to help with the scripts in the future :)

You just pushed the stock file back? If so which ones :)
[Kindle Fire General] toasterjack:
hm... when I try to update driver, it does not allow me to select the ini file for some reason. I can only go into the \usb-driver folder
[Kindle Fire General] yareally:
you mean the inf file? inf is what you would point to for a driver on windows.
[Kindle Fire General] toasterjack:
yes, inf folder, but tbh, I see nothing.

A recap:

1. Kindle fire only goes up to splash screen

2. fastboot won't connect (waiting)

3. adb won't connect (device not found)

4. USB won't connect (malfunction - most of the times (the last time it worked, power died immediatedly (****)))

5. Green light is always on

6. Cannot find the inf file for device update despite it being in the folder.

---------- Post added at 03:58 AM ---------- Previous post was at 03:53 AM ----------

And I can't get the fastboot working when I can get the PC to recognize it. Can someone explain fastboot for me?

when I type in

fastboot -i 0x1949 -w

it takes me to the definitions

when I type in

fastboot -w

it says

waiting for devices
[Kindle Fire General] yareally:
You're using an outdated version of fastboot. Get the one in the OP if you're using windows or search for one for linux/osx that is newer. the -i option was recently added.
[Kindle Fire General] htf2001:
To me works! Thanks to you works.
[Kindle Fire General] join22:
Just input : su -root
[Kindle Fire General] Grews:
I had bricked my KF when I was trying to install an alternative keyboard tool. I might have messed up with the settings.db file. I was able to bring my KF back to life using the instructions on this thread. I have gone through the process with an Ubuntu 10.04 computer.

Thanks to everyone!
[Kindle Fire General] ubeezee:
Np, Glad to hear it worked! :)
[Kindle Fire General] rydinsmoothx:
i think my fire is only partially bricked. I can still use the fire but i can't access adb shell to restore it. Looking in /system/bin it appears i am missing the sh file. Can i get it from somewhere and replace it?
[Kindle Fire General] Husam2011:
I replaced these before i got the brick, so i just undid them.

/system/framework/framework.jar

/system/lib/libandroid_runtime.so

/system/lib/libwebcore.so
[Kindle Fire General] philwaud:
Kindle fire bricked - completely stuck!

Hi folks

Ive been trying to add cyanogenmod 7 to my kindle fire for a week now. First I came across cp not working (installed a busybox app to fix that), then the log and last_log werent appearing in the kindle root. They werent in /sddata either, but when I plugged the kindle USB in, they were in /mnt/sdcard. I was able to install clockwork recovery and then to install CM7.

Oh joy! It is much much better than the stock kindle rubbish, even if you load goloauncher etc and strip the bloatware.

Almost immediately, I spotted that there was now a version which had sound working, so I duly copied the update.zip file back across and installed.

Disaster! It is now stuck on the CWM recovery screen, when I install, it just loops back to the same CWM screen. Hard reset brings you back to the screen, and it moans about not being able to access E:/cache/recovery/log and last_log

NB it says it cant access them, not that they arent there.

When I ADB to the kindle, I can browse through the files (it appears log and last_log are indeed missing)

I cant su (says /sbin/sh su not found)

Im completely stuck now!

Im fairly OK with command line and linux, but new to android and adb - only had an android phone for five weeks!)

Can someone throw me a lifeline?

Thanks in advance!

Phil

OK, quick update. Ive read all 43 pages here, I can really understand how frustrating it must be for those of you who are trying to help - there is lots of duplicate info and the same mistakes being made by lots of self confessed "noobs"! Im going to have a serious go at fixing things tonight when I get home. Im guessing that this is the order:

1. get temp root

2. zergrush

(not sure if this is necessary, but I cant su so Its on my list of things to try)

3. grab a restore file and try to use fastboot to restore back to factory (complete guess? - but if someone can confirm this, even better point me in towards the starting point, that would be cool)

4. make a factory cable and try again

Ive tried to give as much information as possible, I wouldnt say I was a complete noob, just new to android and adb!

This is a great forum, going to learn so much on here, and promise I WILL share it back when I know what Im doing!

:)
[Kindle Fire General] karora:
Thanks man, you saved my ~200$ and a lot of frustration.
[Kindle Fire General] toasterjack:
C:\Kindlefireroot\usb_driver\android_winusb.inf

"does not exist or cannot be reached"

Ok, so now the -i works. We're getting there little by little. However, the above problem still persists. And when I type in the command

c:\kindlefireroot\files>fastboot -i 0x1949 -w

still provides the familiar <waiting for device>
[Kindle Fire General] toasterjack:
Hi folks. I'm working my way through.

I fixed the above problem of not being able to find the inf file through

Img burn everything in the USB-driver into a iso file

Mount with Daemon Tools, and then

Pick from list ---> choose driver ----> pick the inf files

So NOW, I have

"This device cannot start. (Code 10)"
[Kindle Fire General] yareally:
If you're in recovery still, you have some hope. You can probably use the script in this guide to fix things.

http://xdaforums.com/showpost.php?p=20282175&postcount=402
[Kindle Fire General] philwaud:
Ive downloaded that debricker, unzipped to c:/ and then ran the .bat

The menu displays, I select 1 - zergRush, then just get a blank command box...

:-S
[Kindle Fire General] yareally:
Have to ask the creator about that issue then.
[Kindle Fire General] Vashypooh:
Interesting, it doesn't pop up anything for you at all? Does it ever say anything like press enter to continue?
[Kindle Fire General] toasterjack:
OK, I am completely stuck on the Code 10 error.

The kindle cannot be read via ADB and it fails during fastbook.

Can anyone give me an advice/tip? Thanks
[Kindle Fire General] philwaud:
It gives me a menu of options, then I select 1/ zergRush and then a blank screen.

Anyways, the good news is I fixed it!

I started to make a factory cable (way too small connections, no way I would attempt to solder one!)

Going back to the basics, I noticed I could adb push stuff, so I just pushed the stockrecovery.img and the update.zip files then rebooted.

It worked!

Thanks for the help anyway!

---------- Post added at 10:16 PM ---------- Previous post was at 10:13 PM ----------

It wouldnt work, showed the menu then just blank screen when I chose an option.

After a long hard think and lots of tinkering, I managed to push a new stockimage and update.zip and it worked!

Bliss!

---------- Post added at 10:19 PM ---------- Previous post was at 10:16 PM ----------

Thanks Vashypooh, I tried the script, didnt work!

It ran, showed the menu, clicked 1, then nothing...
[Kindle Fire General] Vashypooh:
I'm just a bit perplexed at the output you are having. My guess is it likely was catching on waiting for adb to see the device. If you were in fastboot mode I think it would hang at a black screen. Nothing else w ould make sense.. I will see if I can tweak that some.
[Kindle Fire General] Vashypooh:
As an update, I have made some pretty hefty changes to my batch file.

It now will correctly be able to tell if you have fastboot, or ADB access when it needs to do something, and take actions accordingly. This should make the system a HECK of a lot more user friendly.

The code is not yet complete. I am still in the process of cleaning it up.

(The auto detection crap took about 1 hour longer than I had thought.)

I will spend some more time on this when I am home from work. Just been a slow night.

The auto detection SHOULD work for you on a kindle fire, if it doesn't someone please let me know. I tested it with my HTC Rezound, so it should be the same really, as I am just checking devices to see if something comes back, or not.
[Kindle Fire General] boazjuggalo:
I quoted my old post because it's been a few days. Sorry had a busy week (daughter's first birthday) and havn't had much time to spend on this :-D

Ok this was my original process. Then you fixed the initial post and I tried it again. I got to the step that tells you how to reboot it in Fastboot mode and it worked. Problem is the next step still froze at "waiting for device" and never did anything. Now my computer does not detect the KF. When I try the "adb shell" command I get "error: device not found" and if I try to go to the next step and type "fastboot -i 0x1949 -w" I get <waiting for device> and it just sits there the same as before. It is NOT showing up in my device manager.

<Edit> Please read EDIT-2 of next quote, lol.

---------- Post added at 12:37 AM ---------- Previous post was at 12:27 AM ----------

Holding the button for 15-20 secs doesn't turn it off. Right now the kindle is just continuously rebooting to the kindle fire logo.

<Edit> the continous flashing was only when plugged to the USB. I just plugged it into the wall charger that came with the KF and i get a constant KF logo with no flashing. Going to let it charge for a bit and try the process again.

<Edit-2> Let it charge for a few minutes and plugged back on PC. It is showing up on device manager now under Other Devices as "kindle" and I have a solid KF logo instead of a flashing screen. I tried the fastboot commands and it just stalls on <waiting for device>. All "adb shell" just gives me a "device not found" error.
[Kindle Fire General] Vashypooh:
New update for my script:

Kindle_Fire_Debricker_v3.zip

Please give it a whirl. It is much improved as far as I can tell. I hope this works better :D

It should automatically detect the KF and say if ADB is online, or fastboot is online.

When performing actions it SHOULD detect you being in the wrong mode, and switch over for performing actions.

Please let me know!
[Kindle Fire General] animefun135:
The requested URL /kindle/Kindle_Fire_Debricker_v3.zip was not found on this server.
[Kindle Fire General] Vashypooh:
Oops, I am sorry!

Fixed.
[Kindle Fire General] OmgitzFire:
$ adb push zergRush /data/local/tmp

it tells me: adb permission denied.

Any help ?
[Kindle Fire General] kfuller:
stock system.img

I can fastboot no problem with the factory cable I made but can't push system files and have no way to create a system.img. Does anyone have a stock system image they make available that can be flashed back to the Fire? This would fix my problem. Please?
[Kindle Fire General] mhalter:
Do you have any suggestions if the device is not listed?
[Kindle Fire General] toasterjack:
Hello everybody.

Just kicked my device out of fastboot.

I went to get a different opinion from a Mac

Despite ./fastboot-mac -i 0x1949 -w saying

error [somenumbers] <waiting for device>

./fast-mac -1 0x1949 oem idme bootmode 4000 threw my device into normal mode.

Okay with that said, the fire is still bricked.

Once I slide to unlock

I have to choose between go-Laucher or Launcher.

Then it freezes.

Sometimes it gets through laucher, but I have

"unexpected error", then the system malfunctions

I can still lock/unclock/shutdown,

but the screen is only black after the lock-screen
[Kindle Fire General] Tr0y:
I have a KF stuck in a bootloop because the permissions for /system have been changed. I can't access the ADB shell or fastboot and I read somewhere that a Motorola Factory Cable will put me straight into fastboot. I haven't made or bought a factory cable yet. But after I get one what am I supposed to do next?
[Kindle Fire General] animefun135:
I think first what you must do its flash update.zip from cyanogen, if it don't t work then try flash recovery or boot.img - try everything.
[Kindle Fire General] kfuller:
Most of the steps to install CM7 require adb to place files in certain areas. With fastboot that's not going to work. All i need is a backup system.img file and I'll be good to go.
[Kindle Fire General] imagine1221:
My kindle was bricked a week ago. And i go via this thread and follow all the steps. At first, my kindle was recognised by Windows 7 as shown in Device Manager, however, when i input the command "adb devices", no devices was recognised.

I then tried the above method as suggested by belinathum, but still failed.

I then unintall all the kindle fire drivers as shown in Device Manager of Windows 7. Did the method (Hard reset and wait for a un-aminated KindleFire logo) as suggested by belinathum again, and i update the Kindle Fire Driver in Device Manager. After the drivers were installed, i try "adb kill-server" and "adb devices". This time, my Kindle Fire got adb connection.

Surely, i then go through the Step 1 to Step 5, as posted by ubeezee. And my Kindle Fire was unbricked.

Many thanks to all contributed to this thread and help other guys to bring their Kindle Fire Unbricked.
[Kindle Fire General] animefun135:
ADB not necessary. Just use fastboot command like:

fastboot -i 0x1949 update update.zip (update.zip it's cyanogen mod update or amazon firmware)

or something like this fastboot -i 0x1949 flash recovery recovery.img (cyanogen recovery or stock, your choice)

commands:

update <filename> reflash device from update.zip

flashall 'flash boot' + 'flash system'

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

reboot reboot device normally

reboot-bootloader reboot device into bootloader
[Kindle Fire General] toasterjack:
I got mine functioning again! after following the instructions while on a Mac computer. This is good. Thanks for all the help.

Moral of the story. Try a Mac. It might help when your PC is not recognizing the kindle fire.
[Kindle Fire General] ubeezee:
Yay! I was crossing my fingers for you. I'm glad to hear you got it working again.
[Kindle Fire General] yareally:
Please quit giving people misinformation. You don't know what you're doing.

You CANNOT flash the update.zip in fastboot. That will only work in recovery. You need to create an image to flash i fastboot
[Kindle Fire General] ubeezee:
Glad you got it working, thanks for posting what worked for you.
[Kindle Fire General] toasterjack:
Just to throw out there

USBDeview.exe is a great way to uninstall your drive, perhaps more securely than windows. Its a really small file, so when the USB isn't functioning (not recognized) give it a try.
[Kindle Fire General] boazjuggalo:
OK, my KF is unbricked and fully working. I plugged it into my laptop and started over. The commands listed in the replies to get it out of fastboot mode worked and that was all I had to do. When I typed the command to reboot the KF was back to it's normal self.

Thanks for the help to everybody in these 45 pages!
[Kindle Fire General] Vashypooh:
Agraben is saying TWRP is due to release for Kindle Fire tomorrow. I plan to be heading to pickup my kindle fire on my way to work, or before and bring it with me.

I will try and update my script to support installing TWRP automatically.

At that time, I think I may create my own thread as the tool likely will grow beyond just being a simple recovery tool. Really hope to get some more feedback ASAP.

Though with one in hand, it will speed my work.
[Kindle Fire General] Xeddicus:
Glad to hear it! I ordered my Fire yesterday and it's nice to know if it somehow happens to turn into a paper weight things will be squared away to undo it.
[Kindle Fire General] animefun135:
hey man, don't be so angry... I just try to help people with their troubles...

here is system.img with I made from stock amazon firmware

http://www.uploadhere.com/1YSZFGADPV

try flash it, may be it's can help.
[Kindle Fire General] Vashypooh:
Yep, I just picked up my Kindle Fire. Its doing the OTA update now. Wanna tinker with it but its all like, noOoo update.
[Kindle Fire General] Vashypooh:
So, as I pulled the device out of the box, and began my progress. Here is what I have done so far.

I used SuperOneClick for rooting.

I wrote a script to automate installing google market + Go Launcher EX

TWRP is due at 11pm EST. I will be waiting for that to release, and then work on adding it in.
[Kindle Fire General] Vashypooh:
I just had an issue where ADB for whatever reason was not root. I could SU and get root, but adb itself just wasn't loading as root.

Ever encounter this / have a solution?
[Kindle Fire General] kfuller:
Can you tell me how you made it?
[Kindle Fire General] animefun135:
in cmd

mkcramfs system system.img

system folder must be in RomTools folder.
[Kindle Fire General] Houndog101:
Many thanks

You saved my bacon,, many thanks.. I tried to replace framework-res.apk as described in the op and kept getting "failed on /dfilename/ - cross link device"

error..
[Kindle Fire General] DexterCN:
helps alot
[Kindle Fire General] hlpdt10:
help me please

i' ve brick my kindle :((

here is my way to brick my kindle:

First i want to make a battery percent in this thread:

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

i tried to used adb to change framework-res.apk but it's not working, so i try to change framework-res.apk by the new one ussing root explorer but my kindle has been booting in loop. :(

So i tried to unbrick my kindle like this

//Step 1: push zergRush on the device then run chmod 755 on zergRush
Code:

$ adb push zergRush /data/local/tmp

$ adb shell chmod 755 /data/local/tmp/zergRush

//Step 2: temp root
Code:

$ adb shell
adb server is out of date. killing...
* daemon started successfully *
$ cd data/local
cd data/local
$ cd tmp
cd tmp
$ ls
ls
boomsh
zergRush
sh
$ rm sh boomsh Remove everything but zergRush here, it will not matter if yours is missing/out of order compared to mine
rm sh boomsh
$ ./zergRush
./zergRush

[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00015118[*] Scooting ...[*] Sending 149 zerglings ...
[+] Zerglings found a way to enter ! 0x10
[+] Overseer found a path ! 0x000151e0[*] Sending 149 zerglings ...
[+] Zerglings caused crash (good news): 0x40119cd4 0x0054[*] Researching Metabolic Boost ...
[+] Speedlings on the go ! 0xafd195cb 0xafd3937f[*] Popping 24 more zerglings[*] Sending 173 zerglings ...

[+] Rush did it ! It's a GG, man !
[+] Killing ADB and restarting as root... enjoy!

//Step 3: reboot into fastboot
//note: 4002 for fastboot

Code:

$ adb shell
# cd /system/bin
cd /system/bin
# idme bootmode 4002
idme bootmode 4002
<idme> write 4002 to offset 0x1000
# reboot
reboot

//Step 4: clear user data and cache using fastboot
//note: 0x1949 is the device-id for the kindle so fastboot can recognize it

Code:

$ fastboot -i 0x1949 -w //this part might take a while
erasing 'userdata'... OKAY [110.203s]
erasing 'cache'... OKAY [ 28.328s]
finished. total time: 138.531s

//Step 5: change back to normal boot mode in fastboot
//note: 4000 is for normal boot
Code:

$ fastboot -i 0x1949 oem idme bootmode 4000
... OKAY [ 0.219s]
finished. total time: 0.219s

//Step 6: use fastboot to restart kindle fire
Code:

$ fastboot -i 0x1949 reboot
rebooting...
finished. total time: 0.016s

but after i fisnish the step 3 ( reboot), my kindle has been stuck at logo kindle , and now my imac and my lap cant see the kindle any more..

when i tried to reboot my kindle and plug it in to imac, but when i tried to using

adb devices

to check my kindle but i only recived: List of devices attached

i tried to start vituar machine win ( with hoping that may be i can unbrick my kindle in win ) but when i restart my kindle, mac can know my kindle and show me which one that i want to connect my kindle? ( vitual machine win or mac?) but when i connect my kindle to win , nothing happen, i cant see my kindle in device management :((

so i dont know what to do know...

please check and help me please
[Kindle Fire General] hlpdt10:
update...

i can fast boot my kindle...:

./fastboot-mac -i 0x1949 -w
erasing 'userdata'... OKAY
erasing 'cache'... OKAY
..-MacBook-Air:tools leo$ ./fastboot-mac -i 0x1949 oem idme bootmode 4000
... OKAY
..-MacBook-Air:tools leo$ ./fastboot-mac -i 0x1949 reboot
rebooting...

after waiting a long thime and nothing happen,

i have reboot my kindle manualy by my hand, i reviced a message

"Your kindle has detected a problem and must clear app storage.The recovery precess will erase some applications and data from your device. Apps from the appstore are stored in the cloud and can be reinstalled later. This will reset your kindle to its original factory settings. You will need to re-register your kindle prior to downloading items from your amazon account. Please press power button to proceed""

i press power button but it still looping in reboot.

and now my lap can see the kindle ..and i still stuck in looping..

how can i do now?

i cant take the framework.apk.bak to my computer, now i want to rewrite the bug framework apk but i cant do that..how?

how can i do now...please help me