I was trying to change the keyboard and have converted KF to brick
The mistake that i done was that i had uploaded wrong settings.db and now KF its stuck at boot logo... i can see the animation and when i connect device to computer (Win) it makes 2x sounds (Beep-beep), the device its visible in "safely remove hardware..." and new "Removable media" its visible in My Computer, but its disabled.
I have already read&tried tons of possible things, like "Kindle Fire Utility", "fastboot ...", "adb ..."...
- http://forum.xda-developers.com/showpost.php?p=22433402&postcount=4
- http://forum.xda-developers.com/showthread.php?t=1356257&page=70
- ...
but with no luck
When i try to run commands adb or fastboot (with -i 0x1949) its just says "waiting for device" and nothing happens... not even if i reboot manually (~20s power button press) or disconnect&connect KF.
Is there still chance for my KF?
-----------------
EDIT: Solved by b63
there is always a chance - only a question of tools an effort ...
do you have fff (the yellow triangle) and twrp on the kf ?
None... i was think of instaling TWRP, but first i wanted to change the keyboard
bad decision - now you have to get to fastboot somehow
to have all tools available i would recommend to download kfu (if you not allready have), extract it to c:\ and rename to "kfu" that it is c:\kfu
all needed commands are in the tools directory of kfu (c:\kfu\tools)
open a (elevated) command prompt and cd to c:\kfu\tools
issue "fastboot -i 0x1949 oem idme bootmode 4000"
when it says <waiting for device> power off the kf by holding power button for ~20sec till it turns off
power on again
the command should be picked up and finished
power off/on again
the kf should stay at "kindle fire" static (fastboot)
check with "fastboot -i 0x1949 getvar product"
tell me if you'r gone so far ...
no luck... boot animation is in loop and fastboot is waiting for device
ok - need to try an other method
what says your device manager under "android phone" ?
do you see "kindle" or "unknown device" ?
if yes you should update the driver
which drivers do you use ? kfu or sdk ?
when you say boot animation in loop means the "kindle fire" animated - right ?
or is it boot looping ? - then you will have to charge it for some hours with the wall charger
container.mariborcan.net/datoteke/kfdm.jpg (can't add img link, because i'm new on forum )
everything worked until now...
when you say boot animation in loop means the "kindle fire" animated - right ?
Click to expand...
Click to collapse
it's animated... then disapperes for second... then animates... disappears for second... and looping again and again...
sounds like the 3-5 sec bootloop -> out of battery
in this case -> wall charger and hard power off to allow charging
or are you absolutely shure it's fully loaded ?
what about the device manager ?
b63 said:
sounds like the 3-5 sec bootloop -> out of battery
in this case -> wall charger and hard power off to allow charging
or are you absolutely shure it's fully loaded ?
Click to expand...
Click to collapse
i will try to charge it once more...
b63 said:
what about the device manager ?
Click to expand...
Click to collapse
device manager says "Android Composite ADB interface" (container.mariborcan.net/datoteke/kfdm.jpg), "safely remove hardware" recognize device as "Kindle"
sounds good - any reaction on "adb devices" ?
have made a little batch file to test adb connection
please place it in the tools directory of kfu, rename from .txt to .bat and run it from the command line
it should check if you can reach adb commands - if yes then there is a chance to switch the kf to fastboot mode - this is necessary to install fff & twrp
the batch is waiting for device - means if the output don't change for some seconds please restart the kf and check if the commands are resumed
maybe copy and paste the output
would also check the adb_usb.ini in the .android folder in your personal directory
it should include 0x1949
if you get response to "adb devices" you can follow this post:
http://forum.xda-developers.com/showpost.php?p=21803658&postcount=29
usb driver are working ok...
i have rechanged KF and now i "adb devices" recognizes KF...
C:\kfu\tools>adb devices
List of devices attached
3700002600000001 device
Click to expand...
Click to collapse
but if i run "fastboot devices" it doesnt show anything and it's still "waiting for devices" if i try to "fastboot -i 0x1949 oem idme bootmode 4002"
you'r missing point 2 of the description
first you need to switch to fastboot mode - then you can use the fastboot commands
a other option is to try to use kfu option 5 to install twrp - it should do it for you
btw. since fastboot commands only work in fastboot mode your above command wont make sense - see here:
driver (under android phone):
normal & recovery boot: -> android composite adb interface
fastboot: -> android adb interface
here all the possible commands to change bootmode:
with adb (secure kernel):
adb shell su -c "idme bootmode 4000"
adb reboot
or (twrp or unsecure kernel):
adb shell idme bootmode 4000
adb reboot
with fastboot:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
or:
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
or:
fastboot oem idme bootmode 4000
fastboot reboot
the number is the bootmode you want to switch to:
normal boot -> 4000
fastboot -> 4002
boot to recovery -> 5001
and if you know:
normal boot -> adb commands YES -> fastboot commands NO
fastboot -> adb commands NO -> fastboot commands YES
recovery -> adb commands YES -> fastboot commands NO
then you only have to count 1 and 1 together and can master nearly each hanging situation !
Click to expand...
Click to collapse
My KF is stuck at the KF logo too.. windows sees adb device but when using the command "adb devices" nothing shows up. It did work when I was trying to install recovery then this happened.. I read about a "factory cable" which I am trying to make or get.. So am I correct in assuming that is my only real way of saving my device since adb won't connect?
Sent from my Galaxy Nexus using XDA App
not necessarily - your device might be in fastboot mode - only fastboot commands are working
try "fastboot -i 0x1949 getvar product" and see if something returns
if you did with kfu just select option 1 - bootmode normal
or manually:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
b63 said:
not necessarily - your device might be in fastboot mode - only fastboot commands are working
try "fastboot -i 0x1949 getvar product" and see if something returns
if you did with kfu just select option 1 - bootmode normal
or manually:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
Click to expand...
Click to collapse
wow THANKS where is the :doh: button... i used the KFU and option 1 and normal bootmode and it rebooted and came back.. you R the MAN!!
I can't believe i didn't do that last night with all the other stuff i tried..
I now have a fully working kindle fire AGAIN
it wont work...
i have changed driver front and back "android composite adb interface/android adb interface", tryed everything and it just wont go i can't get it in fastboot...
b63 please read my PM...
allready replied ...
b63 solved the problem
to sum up what he did... (all console commands are written with prefix >>)
transfered files from fbmode-0.9.zip (http://forum.xda-developers.com/showthread.php?t=1414832) to KF to folder /data/local/tmp
>> adb push fbmode /data/local/tmp
>> adb shell chmod 755 /data/local/tmp/fbmode
>> adb shell /data/local/tmp/fbmode
>> adb reboot
than checked device...
>> fastboot -i 0x1949 getvar product
it's should give:
product: kindle
finished. total time: 0.004s
than installed TWRP...
>> fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
downloading 'boot.img'... OKAY [ 2.892s]
booting... OKAY [ 0.001s]
finished. total time: 2.901s
checked again:
>> fastboot -i 0x1949 getvar product
product: kindle
finished. total time: 0.001s
than flashed bootloader...
>> fastboot flash bootloader u-boot.bin
sending 'bootloader' (211 KB)... OKAY [ 0.063s]
writing 'bootloader'... OKAY [ 0.507s]
finished. total time: 0.570s
than changed bootmode to recovery
>> fastboot oem idme bootmode 5001
... OKAY [ 0.196s]
finished. total time: 0.198s
rebooted...
>> fastboot reboot
rebooting...
finished. total time: 0.014s
checked if device is in recovery
>> adb devices
List of devices attached
37************ recovery
then we fixed settings.db file that I have f*** up ... we installed old file and rewrited permissions to system.system with 666
on the end we switched back to normal bootmode and rebooted...
>> adb shell idme bootmode 4000
<idme> write 4000 to offset 0x1000
>> adb reboot
Click to expand...
Click to collapse
Hope this helps someone...
Related
Well i did a factory reset and erased the whole sd card... now everything i turn on my kindle fire it goes straight into TWRP and no matter how many times i press reboot system it wont go reboot to my regular cm7 cant find anything on fixing this could someone help please
Check out the " Kindle fire utility " it sounds like you just need to set your boot mode back to 4000
Sent from my Incredible 2 using xda premium
I've been trying do I just change it from twrp menu I'm stuck in?
Sent from my ADR6400L using XDA App
you can do it with kfu:
http://forum.xda-developers.com/showthread.php?t=1399889
or unbrick utility:
http://forum.xda-developers.com/showthread.php?t=1428428
or manually depending on the current bootmode:
with adb:
adb shell su -c "idme bootmode 4000"
adb reboot
with fastboot:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
or
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
or
fastboot oem idme bootmode 4000
fastboot reboot
Stuck in TWRP too
I am stuck in TWRP or CM7, I can't restore my stock backup. It is either stuck in TWRP or i can restore my cm7 backup and go back to cm7 after issuing the fastboot 4000 command.
Jchapman007 said:
I am stuck in TWRP or CM7, I can't restore my stock backup. It is either stuck in TWRP or i can restore my cm7 backup and go back to cm7 after issuing the fastboot 4000 command.
Click to expand...
Click to collapse
error messages or what happens if you try to restore your stock backup would be helpful - did you wipe dalvik cache/cache after restore ? changed partition tables ?
don't know what's wrong with your stock backup but you could use one of the prerooted stock roms here:
http://forum.xda-developers.com/showthread.php?t=1402440
i would recommend the secure version
Jchapman007 said:
I am stuck in TWRP or CM7, I can't restore my stock backup. It is either stuck in TWRP or i can restore my cm7 backup and go back to cm7 after issuing the fastboot 4000 command.
Click to expand...
Click to collapse
Did you hit 'reboot into recovery'? If so, don't do that! I did it yesterday and got stuck in fastboot.
If that is where you are, what operating system is your PC?
Sent from my Kindle Fire using xda premium
I did this also. Accidently did a factory reset *Noob move* instead of Wipe System.
Now I'm stuck, I can't even get to recovery, and my computer doesn't register the device. I'm pretty sure I'm stuck in bootmode 4002 which is fastboot. But, I can't do
adb shell
su
idme bootmode 4000
to get back in, and even with fastboot it won't work. :/
Just stays at <waiting for device> which is a pain in the ass.
if you'r in fastboot
fastboot -i 0x1949 getvar product
should return "kindle"
else you have a driver problem - take a look at device manager
if the driver prob is sorted theese is to return to normal boot if you want to do that:
fastboot oem idme bootmode 4000
fastboot reboot
can't tell more for your special case - too few information
Alright, well I had an issue myself..
C0deMaver1ck on KF IRC helped me out
Reinstall Drivers
Reboot computer
fastboot -i 0x1949 oem idme bootmode 4000
Should throw you back into regular boot, or use whichever mode you want.
http://chat.andirc.net:2021/?channels=kindlefire - If you need any assistance. C0deMaver1ck helped me, and I'm sure he'd be willing to help you out.
so i keep having the disappearing status bar issue on CM7 so i booted into TWRP, fixed permissions wiped cache and dalvik and hit reboot system. now my kindle will only boot into TWRP. anyone know how to get it to boot to CM7?
Sent from my SGH-T959V using xda premium
Please use the search feature, this has been discussed countless times!! You need to set your device to boot in 'normal' mode via adb. The kindle fire utility also has an option to do this....
Sent from my Kindle Fire using Tapatalk
you said "boot to recovery" in cm7 - disable this option for the future !
http://forum.xda-developers.com/showthread.php?t=1399889
or
http://forum.xda-developers.com/showthread.php?t=1428428
or
with adb:
adb shell su -c "idme bootmode 4000"
adb reboot
with fastboot:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
or
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
or
fastboot oem idme bootmode 4000
fastboot reboot
b63 said:
you said "boot to recovery" in cm7 - disable this option for the future !
http://forum.xda-developers.com/showthread.php?t=1399889
or
http://forum.xda-developers.com/showthread.php?t=1428428
or
with adb:
adb shell su -c "idme bootmode 4000"
adb reboot
with fastboot:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
or
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
or
fastboot oem idme bootmode 4000
fastboot reboot
Click to expand...
Click to collapse
i wish i knew how to use adb commands
Sent from my SGH-T959V using xda premium
then use the unbrick utility (second link) - extract it to c:\ - run it
use option 2 - recovery loop
b63 said:
then use the unbrick utility (second link) - extract it to c:\ - run it
use option 2 - recovery loop
Click to expand...
Click to collapse
i can't as i'm on a mac and have no access to a windows computer...
i don't know about a mac
but you should have a directory where an adb executable is located
there you should open a command shell and issue the nessesary commands
this is what i found:
Android SDK Mac: http://developer.android.com/sdk/index.html
Platform tools installed: Go to the tools folder in the sdk. Make sure fastboot and adb are there. IMPORTANT: Check fastboot by doubling clicking it (make sure it doesn't say binary doesn't execute).
Adjustments: Make sure that you are using the ./ version of the commands. When it says to input SU, input su.
FAQ: Stuck at fastboot, and adb is not connecting? Depending on circumstances, answer may vary. In my case, here is the terminal log (AMA is my computer):
AMA:~ Aidan$ cd /Users/Aidan/Android/android-sdk-mac/platform-tools
AMAlatform-tools Aidan$ ./adb devices
List of devices attached
AMAlatform-tools Aidan$ sudo ./fastboot oem idme bootmode 4000
then power off / on
update:
think you can use my previous commands:
now you need to first navigate to your platform-tools folder in your android sdk folder using terminal.
Go to utilities in the applications tab in finder. Open up Terminal.
Now type the following line to navigate to the platform-tools folder.
cd ~/androidsdk/platform-tools
for me it is this because my SDK folder is named "androidsdk", if your's is named differently, insert it's name where androidsdk is.
followed by that you can start using ADB. Instead of running things as
adb root, or adb reboot, you need to include
./ before the commands, IE: ./adb root, or ./adb push
IE THE FIRST STEP IS "adb root", rewrite this is "./adb root"
from then on, include that ./ before any command.
ok so i have both fastboot and adb working, now what do i have to type in order to get this to reboot properly (i'm sorry for asking so much, but i'm a COMPLETE adb noob).
we have look what you have available - adb or fastboot
as first:
./adb devices
get a response ?
if not:
./fastboot -i 0x1949 getvar product
it should return "kindle"
gimme the results
the first time it worked and then when i did it again as a double check, my kindle started to boot (as it always does when it's plugged in and now it is stuf at the yellow triangle....
EDIT: finally got it to turn off, so fastboot registers it, what next
what commands did you exactly enter in the terminal ?
both the adb and fastboot commands you just showed me. but everything is back to normal, what do i do know that the kindle is recognized?
please copy and paste what is in the terminal window, that i can see to which command it has responded
what do you mean with back to normal ?
normal boot to os ? or to twrp again ?
basically the commands are the same as for windows - you have just to add ./ in the front:
this are the comands to set bootmode to normal:
when you have fastboot available:
./fastboot -i 0x1949 oem idme bootmode 4000
./fastboot -i 0x1949 reboot
or
./fastboot -i 0x18d1 oem idme bootmode 4000
./fastboot -i 0x18d1 reboot
or
./fastboot oem idme bootmode 4000
./fastboot reboot
when you have adb available:
./adb shell su -c "idme bootmode 4000"
./adb reboot
fastboot is the one that responded.
Code:
Macintosh:platform-tools recardeeps317$ ./fastboot oem idme bootmode 4000
< waiting for device >
...
OKAY [ 0.201s]
finished. total time: 0.201s
Macintosh:platform-tools recardeeps317$ ./fastboot reboot
but it doesnt actually reboot the Kindle. it gets hung at the triangle still. if i get it to boot back to TWRP could i just make a back up and reflash CM7?
EDIT:
finally got it to reboot into CM7 with:
Code:
Macintosh:platform-tools recardeeps317$ ./fastboot -i 0x18d1 reboot
< waiting for device >
rebooting...
finished. total time: 0.000s
ok - now we know it is responding to fastboot without the address initialisation commands (that depends on the version of fff - the bootloader)
did you try to power it off manually (pwr button ~30sec) ?
why would you like to reflash ? is it defect or now just not starting ?
and yes you can switch it to other bootmodes as well:
normal = 4000
fastboot = 4002
recovery = 5001
now it's up to you what you will like to do ...
UPDATE: hurraaa !!! congratulations ! - glad that it's working again !
please mark the subject of the topic (edit first post) to [Solved]
Im trying to install the new CWR software and dont know how to get my kindle fire into fastboot mode or what that even really means
first you should read a bit and try to understand how it works
then you should have the necessary programs (adb.exe & fastboot.exe)
for the beginning some things to know:
driver (under android phone):
normal & recovery boot: -> android composite adb interface
fastboot: -> android adb interface
here all the possible the commands to change bootmode:
with adb:
adb shell su -c "idme bootmode 4000"
adb reboot
or
adb shell idme bootmode 4000
adb reboot
with fastboot:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
or
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
or
fastboot oem idme bootmode 4000
fastboot reboot
the number is the bootmode you want to switch to:
normal boot -> 4000
fastboot -> 4002
boot to recovery -> 5001
and if you know:
normal boot -> adb commands YES -> fastboot commands NO
fastboot -> adb commands NO -> fastboot commands YES
recovery -> adb commands YES -> fastboot commands NO
then you only have to count 1 and 1 together ...
You should check out the Kindle Fire Utility. Specifically the option that changes the bootmode.
Last I checked, it also has an option to install the appropriate drivers. And if you are comfortable using the command prompt, you can use adb.exe and fastboot.exe that are included with that utility.
i was tinkering with adb and i finally got it to connect to my kindle. i typed in the commands ./adb reboot now my kindle is stuck in the firefire bootmode and i cant get adb to recognize it. your help is greatly appreciated. i tried to hold down power but it just turns off. i hold power again and it stays in bootmode, doesnt go into twrp
if it makes a difference i was on ics aosp rom with twrp recovery
maybe holding the power button for ~30sec - it should turn off completely
or would try if you can issue fastboot commands:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
in your case with ./ at the beginning - i assume you'r on a mac or linux
b63 said:
maybe holding the power button for ~30sec - it should turn off completely
or would try if you can issue fastboot commands:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
in your case with ./ at the beginning - i assume you'r on a mac or linux
Click to expand...
Click to collapse
awesome. thank you so much!
glad to help ...
please mark the subject of the topic (edit first post) with [Solved]
I made a mistake that when I do the following commands:
Code:
unzip fbmode.zip
adb push fbmode /data/local/fbmode
adb shell chmod 755 /data/local/fbmode
adb shell /data/local/fbmode
adb reboot
But i forgot to copy the TWRP 2.0.img to the device.
Now KF stuck in the fbmode, i can not get out of it. Anyone know the command to get out of fbmode, I did try fastboot -i 0x1949 reboot but it always boot to fbmode.
Thank you.
*************
I try the command
Code:
fastboot -i 0x1949 oem idme bootmode 5002m
then my KF has boot into normal mode.
Problem solve. Search button win )
Code:
fastboot -i 0x1949 oem idme bootmode 4000
That should do it.
If you are trying to install it, just run...
Code:
fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
u copy twrp to your fastboot folder not your kf, than do fastboot boot twrp2.0.img or whatever u have it named.
Sent from my HTC Glacier using xda premium
smirkis said:
u copy twrp to your fastboot folder not your kf, than do fastboot boot twrp2.0.img or whatever u have it named.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
I did copy to my fastboot folder in my PC but didnt work, I think the correct way its copy into device root folder.