Related
so yesterday i got tired of my ICS Rom. So, i went to recovery (TWRP) then recovered my old back up of stock. But since it had all the settings like when I flashed the rom, I Factory reseted it. But then suddenly it had deleted the whole stock rom! Couldn't go back. So my kindle was stuck on recovery loop over and over again. I got really impatient. So I started moving around then I mounted my Kindle to my computer and apped the ICS Rom that I used before. Then it flashed but it was still stuck on recovery. started moving more stuff on it, clicked the partitioning sd card and now I can't mount my kindle via Usb -___- and Then I new it was on Recovery fastboot. Please help! I Need this fixed. it deleted everything. and when I connected it to Adb shell, it says "Missing system/bin/sh"
Help me! i'm going to california on next week and I would like my kindle to work for me to play, listen to music, watch tv on it on the way.
Sorry for bad Grammar -___-
Do you have FFF? Is fastboot working at all? If so, have you tried fastboot oem format? (this will cause all your data to get lost), or booting/reflashing TWRP?
Dasanko said:
Do you have FFF? Is fastboot working at all? If so, have you tried fastboot oem format? (this will cause all your data to get lost), or booting/reflashing TWRP?
Click to expand...
Click to collapse
I Have FFF 1.4, have TWRP 2.1 and fastboot works. But Mounting USB don't work. In recovery it says (cannot mount /sdcard/ (Invalid argument).)
What's the output of
adb shell "parted /dev/block/mmcblk0 p"
?
Can you please explain what that means. i really don't now many of these commands. I need more like a Step-by-step. Like in ADB Shell, it says error: device not found
Luise. said:
Can you please explain what that means. i really don't now many of these commands. I need more like a Step-by-step. Like in ADB Shell, it says error: device not found
Click to expand...
Click to collapse
Means your KF is either not plugged in, or the drivers are wrong. You can't go on until the drivers are properly installed, if that's your issue. Take a look here: http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
Okay, Installed ADB Drives I think it now works it just tells me (exec '/system/bin/sh' failed: No such file or directory (2))
Can you type "fastboot getvar product" and then restart/plug in the KF?
Dasanko said:
Can you type "fastboot getvar product" and then restart/plug in the KF?
Click to expand...
Click to collapse
Yes i did and it says "Kindle"
Get TWRP (http://teamw.in/project/twrp2/79) and type "fastboot boot openrecovery-twrp-blaze-2.1.1.img" and see if you can get ADB working now.
Okay I already have TWRP Installed on 2.1.1 so Do I just go on Recovery and try to work adb shell on there instead of FFF Fastboot?
You just hinted at your ADB not working properly, try to fastboot boot into that TWRP to see if ADB works fine from it (I guess your drivers are good on the Device Manager, no errors or warnings showing up?). If it doesn't, then I guess the alternative is to try restoring the entire stock layout...
okay, I have TWRP, and when i have the usb connected to Kindle while its on Recovery, My Internet i use a Easytether so you can tell what android devices are connected and while my kindle is on recovery, The Easytether says My Kindle can connect, (but it really cant) and the ID Shows up that 0000005 number? but I Really Need My kindle to work! -__-
These issues have been fixed.
For future reference, this user was experiencing a combination of bad drivers and a corrupt sd card partition (rm 12 + mkpartfs primary fat32 start end + name 12 media).
The ADB issues were gone after fixing the drivers, without a need to reinstall TWRP.
My Kindle was rooted but I decided to try my hand at installing a custom ROM. However, the ROM I tried would not work and the screen stayed black. However, thanks to TWRP I could install Kindle from Amazon again. The installation went thru smoothly, or so I thought. Now, when I boot the Kindle, I see the Kindle Fire Logo and it stays there. The Computer can see the Kindle as an Android device, Android Composite Device. But Kindle Fire Utility cannot see it so I could try and re-install it again. Any suggestions?
Lacking information, so I'll just fill the voids with assumptions.
I *assume* you didn't wipe cache, dalvik-cache and most important when switching from a ROM to another, Factory Reset - this is the reason said custom ROM wouldn't work, and the reason flashing back update.zip (as you said you installed it, rather than restoring a backup) caused your KF to get stuck in a semi brick.
The most important question here is, do you have FFF installed?
If you do, fixing this is trivial. Just get into TWRP from FFF, wipe cache, dalvik-cache and factory reset and then install whatever ROM you'd like to try or use.
If you don't have FFF installed, then your solutions are to either get a factory cable (recommended) or to crack open the case and do the USB pin short trick. From there you can use fastboot to install FFF and boot into TWRP.
Alternatively, you can try "fastboot getvar product" or "adb shell idme bootmode 5001" to see if you get lucky.
Dasanko said:
Lacking information, so I'll just fill the voids with assumptions.
I *assume* you didn't wipe cache, dalvik-cache and most important when switching from a ROM to another, Factory Reset - this is the reason said custom ROM wouldn't work, and the reason flashing back update.zip (as you said you installed it, rather than restoring a backup) caused your KF to get stuck in a semi brick.
The most important question here is, do you have FFF installed?
If you do, fixing this is trivial. Just get into TWRP from FFF, wipe cache, dalvik-cache and factory reset and then install whatever ROM you'd like to try or use.
If you don't have FFF installed, then your solutions are to either get a factory cable (recommended) or to crack open the case and do the USB pin short trick. From there you can use fastboot to install FFF and boot into TWRP.
Alternatively, you can try "fastboot getvar product" or "adb shell idme bootmode 5001" to see if you get lucky.
Click to expand...
Click to collapse
I tried the USB pin short trick but now my Kindle won't turn on at all nor will it charge. Thanks anyways!
i have similar problem ......please need help
After successfully rooting kf with kfu and making a backup ... I did factory reset and flashed a custom rom ... now kindle is stuck on " kindle fire" logo and just keeps flashing and rebooting . My computer recognizes it as android phone ( android adb ) and kfu does too but only for a couple of seconds . During those few seconds I try recovery ... fast boot ...normal boot... n none seem to work . Kf just reboots n returns to boot loop . Any advice is appreciated .. thanks
Start a new thread when you're posting your own issues.
What colour is the "kindle fire" logo when you turn on your KF?
Force Kindle into Fastboot
Ok, so I have finally got my Kindle to turn on, using the USB Short Trick. Now my only question is about getting the Kindle to boot into fastboot mode so I can re-format the sdcard partition and finally load a new ROM. I have tried several different commands and they all seem to miss the window of opportunity to start the kindle in fastboot mode. Is there any way, short of a factory cable, that one can make the kindle start in fastboot mode?
Not fastboot get var
ComputerGenuis2.0 said:
Ok, so I have finally got my Kindle to turn on, using the USB Short Trick. Now my only question is about getting the Kindle to boot into fastboot mode so I can re-format the sdcard partition and finally load a new ROM. I have tried several different commands and they all seem to miss the window of opportunity to start the kindle in fastboot mode. Is there any way, short of a factory cable, that one can make the kindle start in fastboot mode?
Click to expand...
Click to collapse
fastboot getvar product doesn't seem to do the trick. The kindle seems to be in fastboot mode but the adb shell cannot access the device.
The problem is that you don't have the fastboot drivers installed (also, ADB will not work while fastboot is active) - Windows is painfully slow at detecting a device and installing its drivers, so by the time it even notices anything, the fastboot window is already over.
To solve this, use firekit: http://forum.xda-developers.com/showthread.php?t=1430038
The script that will probably suit your needs the most is usb_install_fff_twrp.
Used Firekit
Dasanko said:
The problem is that you don't have the fastboot drivers installed (also, ADB will not work while fastboot is active) - Windows is painfully slow at detecting a device and installing its drivers, so by the time it even notices anything, the fastboot window is already over.
To solve this, use firekit: http://forum.xda-developers.com/showthread.php?t=1430038
The script that will probably suit your needs the most is usb_install_fff_twrp.
Click to expand...
Click to collapse
I have TWRP and FFF installed. However, upon booting into TWRP, the sdcard partition cannot be mounted, to the Kindle that is, and as such, I cannot mount the sdcard to the computer. When I researched this some more, I found that I can fix this by using a command via adb shell. The guide instructed using fastboot to achieve this. When would be the best time to use adb shell?
What's the output of partitions.txt? (type the following from TWRP)
adb shell parted /dev/block/mmcblk0 p > partitions.txt
Can't use adb
Dasanko said:
What's the output of partitions.txt? (type the following from TWRP)
adb shell parted /dev/block/mmcblk0 p > partitions.txt
Click to expand...
Click to collapse
The problem at hand is using adb. I can never time it exactly right to open adb. I always get an "error: device not found". Windows even recognizes that Android ADB Interface is plugged in.
Okay, things are getting awfully confusing here.
What exactly is it that you can do and that you cannot do?
For example, are FFF and TWRP functional?
GOT IT!
Thank you! I finally figured out that the wrong driver had reinstalled and that was causing my computer to not be able to use adb shell. I fixed that and voila, I am now running CM9. Thanks again!
Hello All,
I was trying to install
http://forum.xda-developers.com/showthread.php?t=1766829
I did:
Factory Reset / Wipe data
Flash Jandycane ROM
Flash GApps
Reboot and Enjoy
But forgot to do:
Wipe Cache & Dalvik Cache
Now when I turn on the kindle it goes to Kindle Fire, then to the boot screen for Jelly Bean. But it just freezes and reboots, I was using CWR to flash the Rom.
Whoops wrong button you got a free thx do all the wipes this time and restore your backup.. Use this to replace cwmr with twrp http://forum.xda-developers.com/showthread.php?t=1500935 your not bricked just the effects of a dirty flash at least let's hope so just don't wipe your sdcard!!!
Edit: just a side note when changing the system on your device the system should be formatted as well
Thepooch said:
Whoops wrong button you got a free thx do all the wipes this time and restore your backup.. Use this to replace cwmr with twrp http://forum.xda-developers.com/showthread.php?t=1500935 your not bricked just the effects of a dirty flash at least let's hope so
Click to expand...
Click to collapse
How do I boot back into CWMR to do the wipes? When I try to use KF Utility it says it is offline.
No fff? Then you will need to install this is how you are to access recovery...
Thepooch said:
No fff? Then you will need to install this is how you are to access recovery...
Click to expand...
Click to collapse
Okay, I am a noob. How would I be able to install FFF?
When I try to install it with KFU it says:
"failed to copy 'files\fbmode' to '/data/local/fbmode': Permission denied"
adb push files\fbmode /data/local/fbmode
adb shell chmod 755 /data/local/fbmode
adb shell /data/local/fbmode
adb reboot
Click to expand...
Click to collapse
It says permission denied
Yup time to buy a factory cable if you can't get it into fastboot http://forum.xda-developers.com/showthread.php?t=1392693&highlight=info if that's not an option then http://forum.xda-developers.com/showthread.php?t=1430038 sometimes it works sometimes it doesn't and usually it requires that you remove the back cover and perform the USB short trick no fun there
Thepooch said:
Yup time to buy a factory cable if you can't get it into fastboot http://forum.xda-developers.com/showthread.php?t=1392693&highlight=info if that's not an option then http://forum.xda-developers.com/showthread.php?t=1430038 sometimes it works sometimes it doesn't and usually it requires that you remove the back cover and perform the USB short trick no fun there
Click to expand...
Click to collapse
Okay I bought the Factory Cable, what do I do when it gets here? Thanks
If you get lucky you might be able to take the easy approach and use kfu to send fff bootloader to your kindle if not you may wanna brush up on how to fastboot flash fff.bin .
Code:
fastboot -i 0x1949 flash bootloader <exact file path-exact name .bin>
Code:
fastboot -i 0x1949 reboot
Last command won't do much with a fastboot or factory cable so just send the first one if you use fff1.4a simply just power it off and select recovery from the boot menu by pressing the power button.
Okay, I bought a Factory cable. I have it in FastBoot mode, but Windows wont let me connect to it. It keeps yelling about messed up drivers.
Trying to go to 100% back to stock for resale. I downloaded the 6.3.1 bin file and renamed to update.zip and installed with TWRP. Everything seemed to go fine but after rebooting I get a constant android.process.acore force close and it just keeps rebooting every 15 seconds. It wont stay up long enough to get through the menus to do a factory reset and KFU shows its ONLINE with a 4000 boot status but every time I try to install permanent root or install TWRP or any other recovery it says failed to copy permission denied...
Not sure what to do here. Every time I try to do anything with KFU it tells me the "directory data/local.fbmode: not found". I also have the problem that I have 2 more Kindle Fires I need to restore to stock but I don't really dare try anything after this for fear the same thing might happen. Any friendly advice out there?
Help?
GrandMasterB; said:
data/local.fbmode
Click to expand...
Click to collapse
Is that a typo or is that how you're entering the command? Also, did you make sure to push fbmode to /data/local before trying to execute?
That's using Kindle Fire Utility. I'm not entering any commands myself, just menu selections. So is that in relation to the" permission denied" error I'm getting first? Is that not allowing it to push the fbmode file? Why would I get a permission denied all the sudden? It has always worked fine on all 3 of our Fires.
GrandMasterB said:
That's using Kindle Fire Utility. I'm not entering any commands myself, just menu selections. So is that in relation to the" permission denied" error I'm getting first? Is that not allowing it to push the fbmode file? Why would I get a permission denied all the sudden? It has always worked fine on all 3 of our Fires.
Click to expand...
Click to collapse
I should have known...silly me.
No. What I'm saying is, in your previous message, the string of text that you posted: "directory data/local.fbmode: not found" is incorrect...Did you copy and paste that exactly as is or did you type it? The answer could mean a completely different solution.
Sorry, that's a typo on my part. I'll copy and paste exactly what i am seeing below.
***********************************************
* Recovery Installer *
***********************************************
***********************************************
* WARNING *
***********************************************
Make sure to read each screen carefully!
Make sure to follow instructions given to you!
twrp.img has been found.
***********************************************
* NOTICE *
***********************************************
Installing TWRP...
If we get stuck here for awhile, power the kindle on and off a few times.
You should also check device manager for "kindle" If so, rerun the driver
installer that came packaged with KFU.
***********************************************
* Activating Fastboot (4002) *
***********************************************
failed to copy 'files\fbmode' to '/data/local/fbmode': Permission denied
Unable to chmod /data/local/fbmode: No such file or directory
/data/local/fbmode: not found
The kindle has been told to reboot in Fastboot Mode.
< waiting for device >
You're actually very lucky because you are able to connect to the kindle using adb, which when I had this problem was completely out of the question. I would try to send the commands manually using command prompt. You may not be able to do that unless you're in fastboot mode though which can be done by (I don't have a windows PC with me at the moment to check this but I believe that is) option 1 in KFU for bootmodes and then option 2 for fastboot. You're going to need to download KindleADB which I just so happen to have available on my mediafire account: http://www.mediafire.com/download.php?1fb30q3wqf95b3i
I would also recommend downloading this TWRP.img which is TWRP 2.1.1 rather than the most recent 2.2.0 which has seemed to cause some issues recently during flashing.: http://www.mediafire.com/download.php?f3sr33214229pr2 and place that in your KindleADB folder after you have downloaded and extracted it. and this is the file for fff v.1.4a which is the current version as far as I know. http://www.mediafire.com/?el5lxqvoasa8uer also place that file into your KindleADB folder and rename it to fff.bin (not fff.bin.bin).
For convenience, place the KindleADB folder on the root of your C: Drive (not in any folders or anything)
To flash TWRP use these commands one line at a time:
Code:
cd /
cd KindleADB
fastboot flash recovery twrp.img
To flash fff you should already be in the KindleADB directory so you can just enter these commands:
Code:
fastboot flash bootloader fff.bin
fastboot reboot
Please understand though that even though I have a lot of experience with android and Kindle Fire and I am fairly confident that this should get you in the right direction I would really appreciate if someone else could confirm that this would work before you try it. (I'm actually more worried about getting you stuck in fastboot than anything else). If this doesn't work you're probably going to need to get a factory cable
After you have TWRP and FFF reflashed to your device, you want to place the update.zip on your SD if it isn't still there and make sure you do a factory reset and wipe EVERYTHING (DATA, CACHE, SYSTEM, DALVIK) before you flash it, that is how you wound up in this situation to begin with. With your other devices which already have twrp and fff installed, that is all you will have to do.
nschiwy said:
You're actually very lucky because you are able to connect to the kindle using adb, which when I had this problem was completely out of the question. I would try to send the commands manually using command prompt. You may not be able to do that unless you're in fastboot mode though which can be done by (I don't have a windows PC with me at the moment to check this but I believe that is) option 1 in KFU for bootmodes and then option 2 for fastboot. You're going to need to download KindleADB which I just so happen to have available on my mediafire account: http://www.mediafire.com/download.php?1fb30q3wqf95b3i
I would also recommend downloading this TWRP.img which is TWRP 2.1.1 rather than the most recent 2.2.0 which has seemed to cause some issues recently during flashing.: http://www.mediafire.com/download.php?f3sr33214229pr2 and place that in your KindleADB folder after you have downloaded and extracted it. and this is the file for fff v.1.4a which is the current version as far as I know. http://www.mediafire.com/?el5lxqvoasa8uer also place that file into your KindleADB folder and rename it to fff.bin (not fff.bin.bin).
For convenience, place the KindleADB folder on the root of your C: Drive (not in any folders or anything)
To flash TWRP use these commands one line at a time:
Code:
cd /
cd KindleADB
fastboot flash recovery twrp.img
To flash fff you should already be in the KindleADB directory so you can just enter these commands:
Code:
fastboot flash bootloader fff.bin
fastboot reboot
Please understand though that even though I have a lot of experience with android and Kindle Fire and I am fairly confident that this should get you in the right direction I would really appreciate if someone else could confirm that this would work before you try it. (I'm actually more worried about getting you stuck in fastboot than anything else). If this doesn't work you're probably going to need to get a factory cable
After you have TWRP and FFF reflashed to your device, you want to place the update.zip on your SD if it isn't still there and make sure you do a factory reset and wipe EVERYTHING (DATA, CACHE, SYSTEM, DALVIK) before you flash it, that is how you wound up in this situation to begin with. With your other devices which already have twrp and fff installed, that is all you will have to do.
Click to expand...
Click to collapse
Thank you. This is exactly what I was looking for. BUT right before you posted this I was finally able to get through the menu and initiate a factory reset that was able to finish and reboot itself before it rebooted unexpectedly again. Every time I tried it before I would get a reboot before it was finished with the factory reset.
Anyways, its back up and running fine now. Connected to my wifi and downloading some apps now. I do have a question though, I did a factory reset and wiped dalvic/cache before installing the update.zip and I wiped dalvic/cache after the install before rebooting and I had this problem. I did not wipe SYSTEM because the guide I followed for back to stock didn't say to wipe system and also because many months ago I was switching ROMs and I wiped everything including stystem (like I do on my Galaxy Nexus) before the install and it wouldn't boot past the FIRE logo. Luckily at that time I still had TWRP installed and was able to easily fix it. But you are saying that I SHOULD wipe system on the other 2 Kindle Fires before I install the update.zip? Just want to make sure I don't have to go through this 2 more times today...
Thanks again for the helps guy. I am extremely thankful.
GrandMasterB said:
Thank you. This is exactly what I was looking for. BUT right before you posted this I was finally able to get through the menu and initiate a factory reset that was able to finish and reboot itself before it rebooted unexpectedly again. Every time I tried it before I would get a reboot before it was finished with the factory reset.
Anyways, its back up and running fine now. Connected to my wifi and downloading some apps now. I do have a question though, I did a factory reset and wiped dalvic/cache before installing the update.zip and I wiped dalvic/cache after the install before rebooting and I had this problem. I did not wipe SYSTEM because the guide I followed for back to stock didn't say to wipe system and also because many months ago I was switching ROMs and I wiped everything including stystem (like I do on my Galaxy Nexus) before the install and it wouldn't boot past the FIRE logo. Luckily at that time I still had TWRP installed and was able to easily fix it. But you are saying that I SHOULD wipe system on the other 2 Kindle Fires before I install the update.zip? Just want to make sure I don't have to go through this 2 more times today...
Thanks again for the helps guy. I am extremely thankful.
Click to expand...
Click to collapse
All you need to do is run the factory reset from TWRP... I know people suggest you wipe the cache and dalvik cache as well, but if you pay attention to the output from doing a factory reset, you'll see it's all inclusive. A factory reset will reformat /data and /cache. Wiping the cache reformats /cache. Wiping the dalvik cache erases /data/dalvik-cache and /cache/dalvik-cache. If redundancy matters to you, it won't hurt to do it all, but you absolutely must perform a factory reset.
I'm not calling you a liar, but despite your claims, I suspect you missed the factory reset part and the /data partition wasn't wiped clean. This is backed up by the fact that the factory reset from the stock system software fixed things for you. The two are pretty much the same, but the stock software will also wipe the /sdcard clean.
As for wiping the system, you don't need to do that before returning to stock. Essentially all ROM/stock zips include a line like this in their updater-script...
format("ext4", "EMMC", "/dev/block/platform/mmci-omap-hs.1/by-name/system");
The above is from the 6.3.1 update zip archive. That takes care of making sure the system is clear of any files before anything else gets written to it. Again... it's not going to hurt if you take that extra step, but it's unnecessary.
That concludes my lecture on everything you never cared to know about factory reset and wiping the system.
Last night I attempted to root my Fire 8.9 2nd gen.. I used a video on youtube to follow the procedure (not sure if I can link it here? if so, let me know). I managed to get twrp installed, but when it rebooted it got stuck on the kindle fire logo. The color of the text "Fire" changes from Orange to Blue on boot and stays that way. I can turn it off and then back on, and hold volume up to get into twrp. Problem is, when I say to mount storage, or connect it to the computer, nothing happens, so I'm in this limbo where I can't recover back to stock or install a ROM.
Maybe I'm not doing something right when trying to mount the internal storage? I've tried on Windows 7, OS X "El Capitan" and an Ubuntu variant.
I don't have a factory cable, just the cable that came with it.
Thanks for any help!!
enjoyingsilence said:
Last night I attempted to root my Fire 8.9 2nd gen.. I used a video on youtube to follow the procedure (not sure if I can link it here? if so, let me know). I managed to get twrp installed, but when it rebooted it got stuck on the kindle fire logo. The color of the text "Fire" changes from Orange to Blue on boot and stays that way. I can turn it off and then back on, and hold volume up to get into twrp. Problem is, when I say to mount storage, or connect it to the computer, nothing happens, so I'm in this limbo where I can't recover back to stock or install a ROM.
Maybe I'm not doing something right when trying to mount the internal storage? I've tried on Windows 7, OS X "El Capitan" and an Ubuntu variant.
I don't have a factory cable, just the cable that came with it.
Thanks for any help!!
Click to expand...
Click to collapse
Does adb recognize your kindle when it's in TWRP? If it does, then enable sideloading in TWRP (under the advanced menu) and try adb sideload /path/to/ROM.zip to flash a ROM.
monster1612 said:
Does adb recognize your kindle when it's in TWRP? If it does, then enable sideloading in TWRP (under the advanced menu) and try adb sideload /path/to/ROM.zip to flash a ROM.
Click to expand...
Click to collapse
Thanks for the reply. Sort of.. If I boot it to fastload or fastboot, w/e it's called, I can open adb shell, but the prompt is odd. If I try to su , it won't work. If I boot into twrp then do adb sideload, it just doesn't work at all.
The computer sees the device though, fortunately.
enjoyingsilence said:
Thanks for the reply. Sort of.. If I boot it to fastload or fastboot, w/e it's called, I can open adb shell, but the prompt is odd. If I try to su , it won't work. If I boot into twrp then do adb sideload, it just doesn't work at all.
The computer sees the device though, fortunately.
Click to expand...
Click to collapse
Try booting into Ubuntu. Are you able to access the kindle's internal storage from within TWRP?
monster1612 said:
Try booting into Ubuntu. Are you able to access the kindle's internal storage from within TWRP?
Click to expand...
Click to collapse
Will I need adb drivers for Ubuntu? If so, where can I get them?
I can see the internal storage from twrp, yes.. when I try to format the sd card (the internal one, there's no removable option) or partition, It seems to give errors.
enjoyingsilence said:
Will I need adb drivers for Ubuntu? If so, where can I get them?
I can see the internal storage from twrp, yes.. when I try to format the sd card (the internal one, there's no removable option) or partition, It seems to give errors.
Click to expand...
Click to collapse
No adb drivers are needed for Ubuntu - you just need to make sure the android-tools-adb and android-tools-fastboot packages are installed (you'll need the 'universe' component enabled in the "Software and updates" settings to install them via apt-get). The kindle doesn't have an external sdcard, so you wouldn't be able to use a removable one. If you're trying to wipe/format the internal sdcard and other partitions, use the Wipe -> advanced wipe menu in TWRP.
monster1612 said:
No adb drivers are needed for Ubuntu - you just need to make sure the android-tools-adb and android-tools-fastboot packages are installed (you'll need the 'universe' component enabled in the "Software and updates" settings to install them via apt-get). The kindle doesn't have an external sdcard, so you wouldn't be able to use a removable one. If you're trying to wipe/format the internal sdcard and other partitions, use the Wipe -> advanced wipe menu in TWRP.
Click to expand...
Click to collapse
Got # prompt on ubuntu terminal. What steps are next to restore?
Edit: Su does not work, there's no root here. If it makes any difference in what to do next.
enjoyingsilence said:
Got # prompt on ubuntu terminal. What steps are next to restore?
Edit: Su does not work, there's no root here. If it makes any difference in what to do next.
Click to expand...
Click to collapse
If you have the # instead of the $ in the terminal, that means you're probably authenticated with root already. In that case, do apt-add-repository universe && apt-get update && apt-get install android-tools-adb android-tools-fastboot - this will automatically enable the universe repo, update the list of available packages, and install the adb and fastboot packages if they aren't already installed.
monster1612 said:
If you have the # instead of the $ in the terminal, that means you're probably authenticated with root already. In that case, do apt-add-repository universe && apt-get update && apt-get install android-tools-adb android-tools-fastboot - this will automatically enable the universe repo, update the list of available packages, and install the adb and fastboot packages if they aren't already installed.
Click to expand...
Click to collapse
Sorry, I should've been more clear. I've added in the universe repository, and installed android-adb-tools as well as android-tools-fastboot. When I said I have # at prompt, that was after typing adb shell. It seems to let me browse through the tablet, a good indicator it's connected and working. My apologies!
Now that I have connectivity from my linux box to the tablet over usb, what are the next steps to recover it? If I type adb shell <enter> whoami, it says root. So we have root access to the tablet. Yay!
enjoyingsilence said:
Sorry, I should've been more clear. I've added in the universe repository, and installed android-adb-tools as well as android-tools-fastboot. When I said I have # at prompt, that was after typing adb shell. It seems to let me browse through the tablet, a good indicator it's connected and working. My apologies!
Now that I have connectivity from my linux box to the tablet over usb, what are the next steps to recover it? If I type adb shell <enter> whoami, it says root. So we have root access to the tablet. Yay!
Click to expand...
Click to collapse
Exit adb shell if you're in it already. Now in the linux terminal, type adb push /path/to/ROM.zip /sdcard, where the /path/to/ROM.zip is where your CM/other ROM zip is located on your PC. Repeat this process for any other zips you desire to flash, like xposed, gapps, etc. This should hopefully put the files in the internal storage, from where TWRP can find and flash them. Good luck!
(Side note: assuming you can boot into TWRP, you should be able to view & manipulate the kindle's internal storage from Ubuntu with nautilus or another GUI-based file manager.)
monster1612 said:
Exit adb shell if you're in it already. Now in the linux terminal, type adb push /path/to/ROM.zip /sdcard, where the /path/to/ROM.zip is where your CM/other ROM zip is located on your PC. Repeat this process for any other zips you desire to flash, like xposed, gapps, etc. This should hopefully put the files in the internal storage, from where TWRP can find and flash them. Good luck!
(Side note: assuming you can boot into TWRP, you should be able to view & manipulate the kindle's internal storage from Ubuntu with nautilus or another GUI-based file manager.)
Click to expand...
Click to collapse
I'm not sure I have a good working rom at this point. Where might I find the latest one? Also, if I wanted to flash this back to the original FireOS... what would be the steps to do that? Thanks for your help!
edit: Found the latest CM ROM and Gapps files. Just need options for full recovery back to FireOS if needed in the end.
enjoyingsilence said:
I'm not sure I have a good working rom at this point. Where might I find the latest one? Also, if I wanted to flash this back to the original FireOS... what would be the steps to do that? Thanks for your help!
Click to expand...
Click to collapse
CyanogenMod has somewhat stable CM12.1 nightlies available for download here, although I think they're starting to slow down now. If you wanted to flash back to the stock OS, Hashcode created a ROM zip for Amazon OS 8.4.1 (the 8.4.3 version was hosted on the now-defunct goo.im), and you may find the link in this thread. That particular version is a bit outdated, but it shouldn't be too hard to manually upgrade.
monster1612 said:
CyanogenMod has somewhat stable CM12.1 nightlies available for download here, although I think they're starting to slow down now. If you wanted to flash back to the stock OS, Hashcode created a ROM zip for Amazon OS 8.4.1 (the 8.4.3 version was hosted on the now-defunct goo.im), and you may find the link in this thread. That particular version is a bit outdated, but it shouldn't be too hard to manually upgrade.
Click to expand...
Click to collapse
Would a nightly build be wise? I'd be worried about it being unstable....
Thanks for the factory reset link.
enjoyingsilence said:
Would a nightly build be wise? I'd be worried about it being unstable....
Thanks for the factory reset link.
Click to expand...
Click to collapse
My 1st and 2nd attempt to flash resulted in a failure. Not sure why...
enjoyingsilence said:
My 1st and 2nd attempt to flash resulted in a failure. Not sure why...
Click to expand...
Click to collapse
Try updating your TWRP. Here's Hashcode's thread that links to a download for the latest version (2.8.7.0 as of the time of writing). It's a .zip, so you can flash it in TWRP.
monster1612 said:
Try updating your TWRP. Here's Hashcode's thread that links to a download for the latest version (2.8.7.0 as of the time of writing). It's a .zip, so you can flash it in TWRP.
Click to expand...
Click to collapse
Thanks. I was able to update twrp and get the 23rd of Dec's nightly CM12 build installed. It didn't seem to work properly though, and gapps wouldn't install. So I've resigned to the fact that I need to put the original OS back on it. After updating twrp, this doesn't seem possible. When I connect it to the computer, all I'm getting is error: device offline when typing adb shell. This is in linux and windows.
I tried connecting it and mounting the usb storage, then dragging over the fireos images, but after installation it went into this reboot loop due to a corrupt something or other... Now, I can't get cm or the original os back on it.
So, some updates... it's still dead.. but here goes:
I tried to copy the original os as found in the link you gave above to the fire via the usb storage mode, but after install and reboot it keeps failing as I mentioned due to corrupt data (the amazon os is throwing that error). so I tried adbsideload... it kept telling me that i needed 1.0.32 or newer of adb. After obtaining that, I was able to sideload the original OS image to no avail.
So I tried the recovery tool: KFHD System.img Recovery Tool but I used the wrong one (the one that isn't for 8.9 inch fire hd tablets)... and now it's stuck at the fire logo (orange/yellow in color). Turning off on again and holding volume up to get to twrp no longer works as it's been de rooted, I believe.
Any suggestions?
enjoyingsilence said:
So, some updates... it's still dead.. but here goes:
I tried to copy the original os as found in the link you gave above to the fire via the usb storage mode, but after install and reboot it keeps failing as I mentioned due to corrupt data (the amazon os is throwing that error). so I tried adbsideload... it kept telling me that i needed 1.0.32 or newer of adb. After obtaining that, I was able to sideload the original OS image to no avail.
So I tried the recovery tool: KFHD System.img Recovery Tool but I used the wrong one (the one that isn't for 8.9 inch fire hd tablets)... and now it's stuck at the fire logo (orange/yellow in color). Turning off on again and holding volume up to get to twrp no longer works as it's been de rooted, I believe.
Any suggestions?
Click to expand...
Click to collapse
The volume up to enter TWRP no longer works because the bootloader's been returned to stock. Regardless, you should be able to boot into fastboot. First, make sure the kindle's turned off completely and not plugged into your PC. Then type fastboot -i 0x1949 getvar product. When you see <waiting for device>, plug the kindle in. The kindle should now show a fastboot screen, and the terminal will have outputted a string looking like "Jem-PVT-Prod-04". At this point, if both of those are true, then you should either locate your backups of the stock software or download it for your device. If you haven't made backups, then you can try this tool to attempt to restore. If that tool doesn't work, I have a backup that I'd be willing to share if necessary. In any case, once you have the stock system images, you should flash them as instructed by Hashcode here (skip to the "Flashing back to stock" section). Good luck!
monster1612 said:
The volume up to enter TWRP no longer works because the bootloader's been returned to stock. Regardless, you should be able to boot into fastboot. First, make sure the kindle's turned off completely and not plugged into your PC. Then type fastboot -i 0x1949 getvar product. When you see <waiting for device>, plug the kindle in. The kindle should now show a fastboot screen, and the terminal will have outputted a string looking like "Jem-PVT-Prod-04". At this point, if both of those are true, then you should either locate your backups of the stock software or download it for your device. If you haven't made backups, then you can try this tool to attempt to restore. If that tool doesn't work, I have a backup that I'd be willing to share if necessary. In any case, once you have the stock system images, you should flash them as instructed by Hashcode here (skip to the "Flashing back to stock" section). Good luck!
Click to expand...
Click to collapse
Thanks for the reply. Surely I must be overlooking something.
I downloaded the kindle fire HD recovery tool from the link you provided (the post by onemeila) - KFHD_SRTv2.1-8.14. Opened the SR Tool file, and used option 2 to restore su and such. When it rebooted, nothing happened... stayed stuck on the orange kindle fire screen.
Next, I obtained the boot and recovery img files from the KFHD System.img Recovery thread by onemeila, and put them in the root of the KFHD_SRT_v2.1 folder. I also copied the system.img that comes with the KFHD_SRT_v2.1 file to the root of it, instead of the folder I was in. Then I issued the kindle the following commands from an administrative command prompt... there weren't any errors:
fastboot -i 0x1949 flash boot boot.img
fastboot -i 0x1949 flash recovery recovery.img
fastboot -i 0x1949 flash system system.img # This one will take a few minutes
fastboot -i 0x1949 reboot
It rebooted, but has remained stuck on the orange kindle fire screen.
enjoyingsilence said:
Thanks for the reply. Surely I must be overlooking something.
I downloaded the kindle fire HD recovery tool from the link you provided (the post by onemeila) - KFHD_SRTv2.1-8.14. Opened the SR Tool file, and used option 2 to restore su and such. When it rebooted, nothing happened... stayed stuck on the orange kindle fire screen.
Next, I obtained the boot and recovery img files from the KFHD System.img Recovery thread by onemeila, and put them in the root of the KFHD_SRT_v2.1 folder. I also copied the system.img that comes with the KFHD_SRT_v2.1 file to the root of it, instead of the folder I was in. Then I issued the kindle the following commands from an administrative command prompt... there weren't any errors:
fastboot -i 0x1949 flash boot boot.img
fastboot -i 0x1949 flash recovery recovery.img
fastboot -i 0x1949 flash system system.img # This one will take a few minutes
fastboot -i 0x1949 reboot
It rebooted, but has remained stuck on the orange kindle fire screen.
Click to expand...
Click to collapse
Do you have adb installed system-wide? If you do, try cd'ing to the directory where you placed the boot, recovery, and system images and then running those commands again. If you don't, then move the files to the folder where the adb and fastboot executables are located and run the commands in that folder.