[HOW TO]UnBrick - If you get a bad download and stuck with TWRP use adb push . . . - Kindle Fire Q&A, Help & Troubleshooting

I wanted to try a new Kindle rom over at the developers section and downloaded a rom, connected the Kindle to the Windows 7 computer and dropped it into the Kindle to flash.
After the rom was flashed I discovered that there were lots of error messages and to make a long story short, the rom was a bad download.
I could not get the Kindle to be recognized with the Windows 7 computer after the flash, meaning that I could not drop in a rom to the Kindle because the Kindle was not working and all I had to use was TWRP with out a decent or working rom to flash.
So I re-download the rom and then I could not get the rom into the Kindle.
The only resource that I had was TWRP 2.6.3.
Being stuck with COLOR="RoyalBlue"]TWRP 2.6.3.[/COLOR] I was able to fire up the ANDROID sdk and push the rom into the Kindle
Here are the steps that I took...
Download the Java SDK, you will need it without JAVA you can not get the Android SDK and the Android "adb" to work.
Download the Android SDK.
When you start up the Android SDK for the first time, ensure that you select the Android SDK Tools, the Android SDK Platform-tools: down at the bottom of the Android SDK Manager, select Extra folder with the Google USB Driver.
Navigate to C:\Program Files (x86)\Android\android-sdk\platform-tools\ the directory where the adb.exe was found and place all of your goodies there such as the rom or the gapps and such. This was conducted on a PC Win 7, but you could extract the adb.exe and place it anywhere you wanted because the adb had to be in the same directory as the files that you want to place into the Kindle via the push commands.
Uninstall the amazon drivers and disconnect the Kindle.
After the kindle was disconnected and no drivers were installed, start up the Kindle Fire Utility v0.9.9 and use it to install the drivers
Connect the Kindle to the computer and the magical moment happen for me right here. The PC noticed and recognized the Kindle for me. From here on it was all downhill
type in the adb commands
Type adb kill-server then enter.
Type adb devices then enter.
Once you see your device listed as 584398823829342343 then you can start the push command
The push the rom "adb push cm-11-20131230-1957-otter-sgt7.zip /sbcard/cm-11-20131230-1957-otter-sgt7.zip" This was very critical to add the slashes into the command. I had to try this 4 times before I figured it out. The forward slash denotes a folder in the scrips
The push the gapps "adb push gapps-kk-20131119.zip /sbcard/gapps-kk-20131119.zip"
disconnect the Kindle, then flash the rom and the google apps and let it do its thing
These were the steps that saved me and I may have missed one or two minor details. I was so driven that I could not give it. It took me 4 hours into the late evening hours but I was able to get the Kindle up and working.
I now love this Kindle even more.
The sideload command could have worked for me but there was not enough documentation found on Google or YouTube . It would be nice iif someone could write up a sideload tutorial . . . Or maybe I will write up a push tutorial.
The Rom is solid and I cant get enough of it after this soft-brick accomplishment that left me scared wondering who was going to save me.
It was then that it kicked in 2:00 AM, there is no Calvary coming in to save the day . . .
I would have to learn these applications such as the Android SDK and how to use the adb commands.
Yes, Google did help me big time and the resources here at XDA.

Related

[Q] no adb after firefirefire - SOLVED

my computer won't recognize the kindle fire in adb. I have the kf rooted. have firefirefire installed. after firefirefire was installed is when I lost adb. I have tried reinstalling the drivers numerous times to no avail. Any suggestions?
I have deleted all previous sdk, usb drivers or anything android related from computer to start from scatch. I did a factory reset on the kf. I currently have KFU v0.9.3 setup from instructions i followed on a youtube video titled (How to Root - Kindle Fire 6.2.2 BurritoRoot3) by Nat3Mil. sorry I would post a link but apparently I can't until I have 8 posts.
kf v6.2.2
win7
thanks
maybe this helps:
http://forum.xda-developers.com/showpost.php?p=22342376&postcount=6
and check "adb_usb.ini" in the ".android" folder in your personal folder
it should include 0x1949 - i use to add 0x18d1 also in a new line
Sound like your Fire is in Fastboot. This happened to me last week. If you are able to load the drivers in manually, then you should be able to use the following commands:
adb shell su -c "idme bootmode 4000"
adb reboot
b63 said:
maybe this helps:
http://forum.xda-developers.com/showpost.php?p=22342376&postcount=6
and check "adb_usb.ini" in the ".android" folder in your personal folder
it should include 0x1949 - i use to add 0x18d1 also in a new line
Click to expand...
Click to collapse
I have followed those steps in the link before and did it again but no difference. I don't have the adb_usb.ini file or the .android folder. only "Kindle ADB" and "kfu" folders both on the root of the c drive.
vwpower44 said:
Sound like your Fire is in Fastboot. This happened to me last week. If you are able to load the drivers in manually, then you should be able to use the following commands:
adb shell su -c "idme bootmode 4000"
adb reboot
Click to expand...
Click to collapse
load the drivers manually and it acts like everything is good but adb still won't recognize the kindle under adb devices
zachjen said:
I have followed those steps in the link before and did it again but no difference. I don't have the adb_usb.ini file or the .android folder. only "Kindle ADB" and "kfu" folders both on the root of the c drive.
Click to expand...
Click to collapse
without the .android folder in your personal folder and the correct adb_usb.ini adb will never work !
create the .android folder and copy the file from c:\kfu\drivers\kindle to the .android folder
Thank you a million times! All is well again.
I had that folder and usb file before when it couldn't be recognized and forgot to put them back I guess.
glad to help ...
please mark the subject of the topic (edit first post) with [Solved]
b63 said:
glad to help ...
please mark the subject of the topic (edit first post) with [Solved]
Click to expand...
Click to collapse
I can't get this to work.
I've been trying to root/install jb on my kindle fire hd I bought today. I downlaoded the android sdk, installed the proper pacakges. Ran cmd and did "adb devices" no devices found. Enabled ADB on kindle fire, no devices found still. I've now downloaded the kfu and copied the file over just like you said (as well as installed the driver) and still to no avail.
I'm running Win7 64bit.
Any ideas?!?
You might be able to root the hd but the 1st gen. methods will not work and you will not be installing jelly bean at this point it`s not even possible. The hd forum can be found here http://forum.xda-developers.com/forumdisplay.php?f=1782

[Q] TWRP problem

I was just messing around with TWRP trying to flash a new ROM. I forgot to make a backup and wiped the internal storage + system (in other word I wiped everything) I have the files in my computer but I don't know how to access them since the computer can't recognize my device. Any suggestions? :crying:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Thepooch said:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Click to expand...
Click to collapse
Since the device can't be recognized I would try to search for the ADB drivers. This happened to me on my kindle fire hd 7" and the only way I could fix it was by doing "adb sideload filenamehere.zip" after going into Advanced > ADB Sideload.
Hope I could help!
I'm very grateful
thanks
you rock bro
Thepooch said:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Click to expand...
Click to collapse
Im new to this world of tablets and all the commands and prompt, etc... but I thought that I would never solve my problem lol. I'm still a noob but
Thank you for all what you did for my kindle fire hd. I just wanna let people know you helped me unbrick my kindle ( you worked more than 4 hours to be exactly on my kindle) not many people in this forum would do that :good: and thanks to all the developers and mods you nailed it quite well on unbricking my kindle using the programs they have developed.
Editing the drivers so they could work on my machine (I live in El Salvador so my region is a problem when i try to install the drivers) was no easy quest and using teamviewer for letting you work was cool, but the best part is that you installed the cm10.1 by Hash which I had before bricking my device. You saved my kindle bro, thanks A LOT!!!!! I appreciate it. :victory:

[Q] TWRP Doesnt show my backed up to restore!

TWRP Doesnt show my backed up to restore! and i have not any rom placed on my sd-card to install and iam wiped :cyclops::crying:
Kindle Fire 8.9 and TWRP 2.6.0.0 by the way, why the usb storage mounting doesnt work in TWRP?
DSH said:
TWRP Doesnt show my backed up to restore! and i have not any rom placed on my sd-card to install and iam wiped :cyclops::crying:
Kindle Fire 8.9 and TWRP 2.6.0.0 by the way, why the usb storage mounting doesnt work in TWRP?
Click to expand...
Click to collapse
i have figuerd out what must i do!
now i have ADB and ADB doesnt find my device to push the rom on it!
plz plz plz help me
i had Drivers installed but when in fastboot connected to pc windows cannt find JEM-Prod... (something like this)
i neeed your help im so confused
Why are you in fastboot, you just need to sideload the ROM onto twrp. Usually u just goto advanced>side load and swipe the thing. Then on your PC put the ROM in the same folder as adb command if you haven't setup your paths, and run adb.exe sideload filename.zip. that will typically do the job.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
stunts513 said:
Why are you in fastboot, you just need to sideload the ROM onto twrp. Usually u just goto advanced>side load and swipe the thing. Then on your PC put the ROM in the same folder as adb command if you haven't setup your paths, and run adb.exe sideload filename.zip. that will typically do the job.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
thanks for your help but adb doesnt recognize my kindle fire! when in CMD i type "ADB Devices" no devices showd up and when "ADB usb" error shows
i think this is the cuase why your tip doesnt work for me (
ive tried this but step 3 give an error
Had been searching on & off over 2 months & finally found the sol
This now lets you use the KFU util and others to root & install new OS etc
You need to have installed ANDROID SDK and extras-usb & JAVA se
1)
you will need to modify the following two files:
a. adb_usb.ini – You can find it under your Users\YourUsername\.android folder
In a typical Windows 7 installation, adb_usb.ini will be located under C:\Users\YourUserNameHere\.android
Open the adb_usb.ini file with a text editor (Notepad is just fine) and add the following line at the end (on a new line). Save and exit.
0×1949
2)
android_winusb.inf – You can find it under the folder you installed the Android SDK, in my case C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver
Open the file with a text editor (notepad is again good enough), locate [Google.NTx86] section and also the [Google.NTamd64] section and add the following lines to each section, like in the screenshot.
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
3)
Note: If your device list is empty, maybe you plugged-in Kindle Fire before you installed Android SDK and Android USB Drivers. In this case you’ll need to force load the Android USB driver. Right click on My Computer and select Properties then navigate to Device Manager. Under Other Devices you should see Kindle with a yellow icon containing an exclamation point.
Right Click on Kindle name and select Update Driver Software. A Dialog will pop-up asking how do you want to search for driver software. Select Browse and point toward the folder containing Google USB Driver (in my case C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver). Select Next and proceed with the installation, choose Install this driver anyway when prompted.
Ok now you can
cd C:\Program Files (x86)\Android\android-sdk\platform-tools
d. type adb kill-server followed by enter
e. type adb devices. If everything is fine, you should see a connected device (your Kindle Fire)
0000666665555 device
Click to expand...
Click to collapse
Sounds like you have a driver issue or the device would be showing up with adb devices, try using my drivers from this post: http://forum.xda-developers.com/showthread.php?p=44319953
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
stunts513 said:
Sounds like you have a driver issue or the device would be showing up with adb devices, try using my drivers from this post: http://forum.xda-developers.com/showthread.php?p=44319953
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
thank you very much, but how must i install that?
in device manager i select update driver and locate this folder and it says windows was unable to install you kindle fire HD
i put my kf in recovery mod and plug in the cable!
why have i these problems ?
but again i wanna say thank you bro:good:
So in the task manager is showing a device with an exclamation mark over it right? If so right click the device and hit properties, then goto the details tab, and choose hardware id's from the drop down menu and post them here, I'll see about modifying the driver if I can. Don't know why mine wouldn't work I had the old and new vendor id's for twrp in that.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
When i connect to pc in fastboot, in device manager shows as Other devices "Jem-PVT-Prod-04" and the Hardware Ids is:
USB\VID_1949&PID_0008&REV0100
USB\VID_1949&PID_0008
and when just plug the usb cable in recovery mod task manager show it as Portable Device and "Amazon Kindle Fire HD" with a yellow mark! and the hardware Ids is:
USB\VID_1949&PID_0008&REV_0216
USB\VID_1949&PID_0008
thank you bro
ok i guess the hd 8'd have a slightly different pid than the 7 inch model, here i uploaded the updated version to this thread. Try updating the amazon kindle hd device and using recovery if u can, its a better option to just reflash stuff from that rather than fastboot unless u need to, makes things little bit easier imo. This should also work with the jem-pvt-prod-04 device as well,
stunts513 said:
ok i guess the hd 8'd have a slightly different pid than the 7 inch model, here i uploaded the updated version to this thread. Try updating the amazon kindle hd device and using recovery if u can, its a better option to just reflash stuff from that rather than fastboot unless u need to, makes things little bit easier imo. This should also work with the jem-pvt-prod-04 device as well,
Click to expand...
Click to collapse
OMG OMG OMG you saved me and my KINDLE FIRE
i have best wishes for you bro best wishes :good::good::good::good::good::good:
Help!?!?!?
stunts513 said:
ok i guess the hd 8'd have a slightly different pid than the 7 inch model, here i uploaded the updated version to this thread. Try updating the amazon kindle hd device and using recovery if u can, its a better option to just reflash stuff from that rather than fastboot unless u need to, makes things little bit easier imo. This should also work with the jem-pvt-prod-04 device as well,
Click to expand...
Click to collapse
i flashed recovery.img to my kindle using flashify and than i rebooted it than it came up saying kindle fire than the red screen slides across the screen. the app says that you may see a red screen.so im stuck now.
You probably just need to reflash the recovery partition from fastboot.

TWRP Software Brick FIX! Kindle Fire 2

I've cracked the kindle code for ADB Sideload / Push In TWRP recovery! :highfive:
If you have access to TWRP and nothing else, this is for you.
Like many, I foolishly formatted my internal storage on my Kindle Fire 2 while in TWRP. with no Zips to flash I was stuck trying everything I could think of to get a file onto my Device. Read up on ADB Sideload.. But my PC would not recognize ADB Sideload AT ALL, and I Couldn't Find the Drivers.
Read up on Mounting.. No drivers no mount. Updated my Android SDK, drivers there didn’t work. Almost threw my kindle in the river.
But then I Found A certain set of Drivers from Amazon's support section. (See Attached)
So here's how to get your kindle back: :fingers-crossed:
Download and Extract the driver files. Run the Kindle Drivers. Once the Drivers are finished plug in your kindle fire 2, windows will not recognize it and we need to install the driver manually.
Go to My Computer icon. Right click and select Properties. Open Device manager in the top left.
Your Kindle will show as a yellow triangle Kindle or Kindle Fire Device (or in some cases it will have the wrong driver installed, {right click and uninstall current driver, your PC will have to restart.})
Right Click on Kindle Fire Device> Click Update Driver Software..> Click Browse my computer for Driver software> Click Let Me pick from a list of device drivers on my computer>
NOW {Kindle} will show up on the list a few times, find the one that has: ADNROID COMPOSITE ADB INTERFACE and install this driver for your kindle. If everything worked your kindle fire will now be recognized and install.
NEXT STEP!
Sideload will not work for this, so don’t even try. No SDK is required for this process just the ADB Files (Attached)
Make sure you extract the ADB.zip right onto your C:/ drive to make this easy.
Download any Kindle Fire 2 Rom (Found in Kindle Fire 2 Android Development section, preferably a Small File Size like CM 10.1),
Rename this ZIP to kindle.zip (or another short name)
Download the Gapps File for the version of ROM you just downloaded from Goo.im,
Rename this ZIP to gapps.zip (or another short name)
Place both ZIPs directly into the C:/ADB folder
Open a command prompt by going to Start > Run > CMD and hit enter. A DOS Command prompt will open.
First line will say
C:\USERS\YOURNAME>
Type> CD C:\ADB Now it will change your Directory to the C:\ Drive ADB folder
Ok on your Tablet now in TWRP, Tap MOUNT> next check [x]DATA and [x]System and tap MOUNT USB SYSTEM
Windows will not notify you of the change so don’t freak out.
ADB needs to be at least Version 1.0.29, you can check by typing the command: ADB version
Next type> ADB devices
Will now say>
LIST OF DEVICES ATTACHED:
123456789ABCDEF RECOVERY
(IF it doesn’t say anything under list of devices you will have to uninstall and reinstall the driver in step 1)
Next TYPE> adb push kindle.zip \sdcard\kindle.zip
Wait about 30-40 seconds without touching anything, it will be sending the file.
IT WILL SAY>
3589 KB/s (128302247 bytes in 34.908s) or something similar.
Next Type> adb push gapps.zip \sdcard\gapps.zip
Wait about 30-40 seconds without touching anything, it will be sending the file.
IT WILL SAY>
3262 KB/s (57280392 bytes in 17.143s) or something similar.
BAM! Files are on your device!
BACK TO THE TABLET!
Tap Unmount and click the home icon in the top right.
Click INSTALL and tap (UP A LEVEL) to get to the root of the kindle fire.
Your files should be there Labeled Kindle.zip and Gapps.zip!
Install normally! AND Don’t forget to Wipe your Dalvik/Cache! :good:
All this info is available in the forums here but I'm really glad you did this. It should prevent a lot of redundant questions. Very well written, simplified and explained.
Kudos!
-> Sent from my mind to your screen.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
hi, i am using Chinookgod's method to push the kindle.zip and gapps.zip to my kindle successfully
but when i try to 'swip to confirm flash', it shows 'Failed' ,
and E:Mount: Unable to find partition for path '/\sdcard\kindle.zip'
Error flashing zip '/\sdcard\kindle.zip'
Updating partition details..
below is the screen cap
hxxp://imgur.com/ecjcZZF (please change hxxp to http)
what should i do? plz help :crying:
below is my cmd.exe screen cap, please note that it still shows
LIST OF DEVICES ATTACHED:
123456789ABCDEF RECOVERY
hxxp://imgur.com/WJs4ABY (please change hxxp to http)
Easy.
bon1025hk said:
hi, i am using Chinookgod's method to push the kindle.zip and gapps.zip to my kindle successfully
but when i try to 'swip to confirm flash', it shows 'Failed' ,
and E:Mount: Unable to find partition for path '/\sdcard\kindle.zip'
Error flashing zip '/\sdcard\kindle.zip'
Updating partition details..
below is the screen cap
hxxp://imgur.com/ecjcZZF (please change hxxp to http)
what should i do? plz help :crying:
below is my cmd.exe screen cap, please note that it still shows
LIST OF DEVICES ATTACHED:
123456789ABCDEF RECOVERY
hxxp://imgur.com/WJs4ABY (please change hxxp to http)
Click to expand...
Click to collapse
Thats easy. You can fix this by doing a system wipe then do a factory data reset to prep the system.
Will it work for me?
I got backup of my rom in my sdcard but having the same problem when try to restore. stuck with no OS. Help
My Phone Lg lu6200
Still need help
Chinookgod said:
Thats easy. You can fix this by doing a system wipe then do a factory data reset to prep the system.
Click to expand...
Click to collapse
I tried following your instructions and the directory came up. I then tried entering "adb shell" as a command and got the following:
Doesn't work for my Kindle HD 8.9...any help please?
I get an error closed closed
Chinookgod said:
Thats easy. You can fix this by doing a system wipe then do a factory data reset to prep the system.
Click to expand...
Click to collapse
hi,
i have Kindle Fire HD 7" after some issues i try to flashing, voip all data and delete backup etc, my WTRP V.2.7.8.0 changed to v.2.6.3.1 and stuck in kindle fire logo and not connected to pc or not show storage in my computer.
please help me and restore my kindle fire tate. thanks a lot (i am using Ubuntu 14.04 LTS)

[Q] KF2 Rooted with cm11 and kitkat running

My kf2 was working fine but I ran out of room to install apps. I deleted unneeded apps still not enough room. I booted into twrp did a full wipe and now I can't side-load any roms to install. Twrp shows no OS installed. It will boot into twrp fine but nothing else. I have a fastboot cable. My computer recognizes my kf2 as an adb device but I can't seen to get anything to load. Some of the commands in KFFAID work but not all. I am trying to load cm11 and kitkat back. Any help would be appreciated.
James
getnby said:
My kf2 was working fine but I ran out of room to install apps. I deleted unneeded apps still not enough room. I booted into twrp did a full wipe and now I can't side-load any roms to install. Twrp shows no OS installed. It will boot into twrp fine but nothing else. I have a fastboot cable. My computer recognizes my kf2 as an adb device but I can't seen to get anything to load. Some of the commands in KFFAID work but not all. I am trying to load cm11 and kitkat back. Any help would be appreciated.
James
Click to expand...
Click to collapse
if sideload doesnt work then just do this, put the rom you want to flash and its gapps in the folder that adb is in, and run this while booted into twrp: adb push romnamegoeshere /sdcard/
then you can install the rom from inside twrp
didn't work
stunts513 said:
if sideload doesnt work then just do this, put the rom you want to flash and its gapps in the folder that adb is in, and run this while booted into twrp: adb push romnamegoeshere /sdcard/
then you can install the rom from inside twrp
Click to expand...
Click to collapse
Here is what happened. It said the device was not found. In the device manager it shows adb device under kindle fire.
Look on your task manager and kill every instance of adb.exe that you see and try again, I had that happen before when multiple instances were running. As long as it is in twrp then adb should work. If it continues to not work then uninstall the adb driver and if you see the MTP kindle device still there remove it as well, there might be a composite device that needs removing too, I find it a pita going between fastboot, recovery and whatever ROM os flashed if I use windows because of this, the drivers constantly have to be reinstalled when you change modes for me, hence why I avoid working with my kindle in windows and instead just use Linux. If you see any USB composite devices, check the hardware id's for a vid of 1949, if it has that then feel free to uninstall it. This may sound a bit complex, if you need more of an explanation just tell me.
Sent from my Amazon Kindle Fire HD using Tapatalk
No luck
stunts513 said:
Look on your task manager and kill every instance of adb.exe that you see and try again, I had that happen before when multiple instances were running. As long as it is in twrp then adb should work. If it continues to not work then uninstall the adb driver and if you see the MTP kindle device still there remove it as well, there might be a composite device that needs removing too, I find it a pita going between fastboot, recovery and whatever ROM os flashed if I use windows because of this, the drivers constantly have to be reinstalled when you change modes for me, hence why I avoid working with my kindle in windows and instead just use Linux. If you see any USB composite devices, check the hardware id's for a vid of 1949, if it has that then feel free to uninstall it. This may sound a bit complex, if you need more of an explanation just tell me.
Sent from my Amazon Kindle Fire HD using Tapatalk
Click to expand...
Click to collapse
My computer only recognizes the kindle as an adb device in fastboot mode. I haven't been able to use any of the adb commands on it with any luck. It says device not found. This only shows in kffaid version 4.1.87-beta.
*facepalm* you don't use adb commands with fastboot, you use fastboot commands with fastboot. When it is in twrp it should have adb access though...
Sent from my Amazon Kindle Fire HD using Tapatalk
I think I have a driver issue. I forgot to thank you for your help. If I could send the zip rom and gapps I could get it back to where it was. Is there anyway to start all over from the original kindle OS at this point?
Thanks you
You coukd restore it in fastboot using kffa but it seems like unnecessary work. I would boot a ubuntu 13.10 live cd/usb and just attempt it from there since there won't be any driver issues.
Sent from my LG-P769 using Tapatalk
I tried Ubuntu 12.04 LTS and it was to much trouble. I will try Ubuntu 13.10. I will have to learn the commands to use it.
Thanks
getnby said:
I tried Ubuntu 12.04 LTS and it was to much trouble. I will try Ubuntu 13.10. I will have to learn the commands to use it.
Thanks
Click to expand...
Click to collapse
these commands should do the trick assuming the repos are all active in the downloadable section of the software updates control panel.
Code:
sudo apt-get update
sudo apt-get install android-tools-fastboot
and after that the fastboot command will work but keep in mind to give it superuser privis with sudo or it probably wont work, i had forgotten that recently on my own pc since i don't deal with fastboot too often. ex: sudo fastboot -i 0x1949 getvar product
I had to work all weekend. I tried to get access through ubuntu 13.10. I used the commands you provided (sudo apt-get update). This command worked fine. When I used this command (sudo apt-get install android-tools-fastboot) It said I had to enable universe. I did some research and got that working and tried to use this command again (sudo apt-get install android-tools-fastboot) then this one worked fine. Then I tried the last command with my kindle in fastboot mode flashing green light (sudo fastboot -i 0x1949 getvar product ). The message was cannot connect to otter-2 ... device. Same thing I have been getting all along.
I think when I wiped the system I cleared all the software to connect to any external device. I don't know if I can even get access to restore the original OS. If you haven't guessed by now I an a noob. I think you realized that with my adb commands with fastboot enabled. I got the impression you knew when I saw the *facepalm* comment the the beginning of you post. When my kindle is booted to twrp my computer does not recognize it. My computer will recognize as an adb device when in fastboot mode. My computer will recognize it as a kindle (with a yellow triangle in the device manager) when it is trying to boot with the white and blue logo. I don't know what to do at this point. Here is a screen shot with adb side load from twrp.
Interesting, seems that data didn't want to mount. Have you tried adb from Linux while in twrp? Just run "sudo apt-get install android-tools-adb" to install the command, if you can get adb access at least then I may be able to help fix this depending on what exactly is wrong. BTW I didn't exactly think you were a noon with that facepalm, I just see people get that misconception a lot about adb and fastboot commands. What exactly did that fastboot command report back, I was surprised it was an error when I saw otter2 in the error considering that was what that command was sort of supposed to report back.
Sent from my Amazon Kindle Fire HD using Tapatalk
Here is where I am. See below. Now where do I put the file in ubuntu so I can access it from the terminal window. I am running ubuntu from a live CD. I tried the push command but it says no such file or directory. I told you I was a noob!
[email protected]:~$ adb devices
List of devices attached
0123456789ABCDEF recovery
Since adb is in a system path must out it in the current directory you are CD'd into, if you left the terminal alone it should be in ~ (the home folder of the Ubuntu account) so photo the home folder and drop it in there and run "adb push filename /sdcard/"
Considering that /data doesn't want to mount and that /sdcard os technically in /data, that command might not work depending on what's going on. I reccomend seeing if you can first and if not goto the months and mount /cache if its not mounted already, and they pushing a twrp update into it to try to reflash twrp, its small enough I think it should fit into the cache, though I don't think a ROM would fit.
Sent from my Amazon Kindle Fire HD using Tapatalk
I installed ubuntu on my laptop with windows 7. It seems to work better. I put the files in the home folder and the user folder. I mounted the cache and ubuntu said instead of unable to mount it was unable to access kindle now. Here is the terminal window results.
[email protected]:~$ sudo apt-get install android-tools-adb
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
android-tools-adb is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~$ adb push cm-10.2-20130908-UNOFFICAL-otter2.zip /sdcard/
cannot stat 'cm-10.2-20130908-UNOFFICAL-otter2.zip': No such file or directory
[email protected]:~$
Um OK well the filenames are case sensitive in Linux so lookout for that. Also if it was in your home folder then it should have worked as long as you didn't CD anywhere else in the terminal first.
Sent from my Amazon Kindle Fire HD using Tapatalk
Problem Fixed
I fixed my problem. I had to restart my kindle into recovery mode and connect the fastboot cable to the computer and kindle before it booted into TWRP. At that point while booted into TWRP I used the push command in ebuntu terminal to sideload cm11 and gapps. After I loaded them I installed them with TWRP and rebooted. Now it is restored to where it was when I wiped it. I will not do the advanced wipe again.
adb push cm-11-20140202-NIGHTLY-otter2.zip /sdcard/
adb push gapps-kk-20131119.zip /sdcard/
Thanks for your help stunts513
Click to expand...
Click to collapse

Categories

Resources