Firekit LiveUSB repair kit 1.1- when you're about to kill Windows - Kindle Fire Android Development

What it is
Firekit combines all the command line tools for Kindle Fire recovery with the Ubuntu LiveUSB. All you need is a USB stick and a PC that can boot off it. All files stay on the stick, so nothing on your PC is changed.
Firekit is run from the command line, but there are scripts to automate common tasks so the typical restoration involves running just two commands. A fastboot-bootable TWRP and FFF is included as well as the Rekindle USB boot tools so even the most fubared bricks can be restored.
This is only for the first gen Kindle Fire 7" from late 2011. It will not work on any other model.
What can it do
Fix power on problems: If the Fire's screen never seems to turn on, you may have wrecked the bootloaders or the partitioning. Fortunately most of the time this results in the CPU falling into the low level USB boot mode. Use the "usb_fix_parts_and_install_fff_twrp" to rebuild the flash enough to boot TWRP. You don't need to use the USB shorting trick for this one, just power up the Kindle after running the script.
Fix stuck-at-triangle-logo: This can be due to being stuck in fastboot or having a corrupt /system. First try getting into recovery. Press power for a few seconds just after turning on, LED should go orange and the TWRP should show up. If that works, reflash your ROM from TWRP. If not, try the "normal_boot" script to get out of being stuck in fastboot.
Fix stuck-at-Kindle Fire-logo: Similar to the above. First try the "normal_boot" script. If that doesn't work, you need to reflash the stock ROM from TWRP. But you don't have TWRP. So use the "install_fff_twrp_from_stock" script which will force the stock ROM into letting you install fastboot. Then flash a ROM.
-and more
Why
A lot of people seem to be having problems with Windows and ADB drivers needed for fastboot and adb. Linux doesn't seem to have this kind of trouble, so I threw this together. It's not pretty or menu driven, but I find that too much automation gets in the way when things are broken to begin with.
Downloading a ~600MB Ubuntu image is needed, and this has only been tested on one PC so far. Don't complain if you spend hours grabbing this only to not have it fix your problem. I thought about rolling my own USB image with debootstrap for a much smaller image but figured that a prefab Ubuntu Live image is probably best for compatibility.
Using Firekit
Making the LiveUSB
Get the latest 32-bit Ubuntu and follow the directions to make a USB stick. If you want to try this with another distro (not tested) it must be 32-bit or have full 32-bit compatibility libraries.
Then unpack the attached zip to the top of the stick. The easiest way is to open the .zip in Explorer, right-click on "fk" (the only file in the zip), and choose "Send to..."->your USB stick's drive letter. You may have to unplug and replug the stick for Windows to see the drive after Ubuntu's been installed. If you have anything else you want available on the stick (roms, other recovery/bootloader, etc) copy them here as well. When done, eject the drive.
Before Booting
Set your PC's BIOS to boot USB before your internal drive. Each PC is different, so it's up to you to figure out how to set your PC to boot from USB.
Running the tools
Always start with your Kindle turned off and unplugged from USB. These directions assume that your Fire is stuck in fastboot, has FFF installed, or you are using the USB boot shorting trick. The exception is if you're trying to install FFF/TWRP from stock Kindle OS, in which case leave it booted and plugged in.
Now boot the LiveUSB. Once the Ubuntu desktop shows up, click the Ubuntu logo in the top left (or press the Windows key) and type "term". Hit enter to run the terminal.
In the terminal window, type "sudo /cdrom/fk". This unpacks the tools and sets up your environment. You should now have a prompt that says "[email protected]:~/firekit#"
A list of the possible scripts should now be showing. Type the name of the script you want and hit enter. Protip: type a few letters and hit tab to autocomplete the rest of the word. If you're using any of the usb_ scripts, short the test point and plug in the Fire. As mentioned before, you should have the Fire already booted when using "install_fff_twrp_from_stock". For all the other commands, just plug the Fire in.
If this keeps you from returning or junking an otherwise good Fire, consider throwing a thanks or a beer my way.
Props to TeamWin & agraben for TWRP, everyone at Canonical
These are the commands as of 1.1:
install_fff_twrp_from_stock: Install FFF and TWRP while in stock Android. Uses fbmode to reboot. Use this to get FFF/TWRP installed on 6.2.1 stock OS.
install_fff_twrp: Install FFF and TWRP while in fastboot. Good if you're stuck in fastboot and you want FFF/TWRP.
fix_parts Restore partition table to stock while in fastboot. Do this if you're in fastboot and your partition table is screwed up.
normal_boot: Set the bootmode to boot android and reboot while in fastboot. Try this if you're stuck at the Kindle Fire logo.
usb_boot_twrp: USB boot TWRP without installing. Boot TWRP if your Kindle black screens when you try to power it on. Needs the USB boot mode trick.
usb_install_fff_twrp: USB boot FFF, install FFF and TWRP. Install / recover the bootloader and recovery if they are broken. Needs the USB boot mode trick.
usb_fix_parts_and_install_fff_twrp: USB boot FFF, restore partition table to stock, install FFF and TWRP. Fix everything if you screwed up the partition table and your Fire's screen no longer turns on. Needs the USB boot mode trick.
Changelog:
1.1:
-Add restore of mmcblk0p1 (x-loader) to the "usb_fix_parts_and_install_fff_twrp" script to recover from total brain damage. Thanks to TyHi for proving this works and may be necessary.
1.0:
-Initial release
(todo: make videos, integrate usb boot mode instructions)

Thanks for the compilation of tools and directions. Rolling up your own image with debootstrap is probably more trouble then it's worth; the images provided by Canonical might be larger -- but they will pretty much work on *.

This is very interesting. I never really was interested in learning about Ubuntu but if it saves me worry about finally getting around to flashing FFF & TWRP then it's worth a shot.

This is a very, very good idea. I spent a long time trying to get the drivers working on Windows, it seems that the ones packaged with the latest KFU are FUBAR.
Maybe you could package this with a minimal Ubuntu install, or another distro? For something with such a simple purpose Ubuntu is mighty bloated.

The sdk version of adb has trouble on windows too. Linux : for those who want their computer to work for them, not the other way around.
Sent from my DROID2 using xda premium

yumcax said:
This is a very, very good idea. I spent a long time trying to get the drivers working on Windows, it seems that the ones packaged with the latest KFU are FUBAR.
Maybe you could package this with a minimal Ubuntu install, or another distro? For something with such a simple purpose Ubuntu is mighty bloated.
Click to expand...
Click to collapse
Ubuntu is a known quantity, and Canonical does all the hard QA work making sure it runs on the largest swath of hardware. I put this together to be a sure thing for people having trouble in other environments, and trying to streamline the OS may compromise that.

pokey9000 said:
What can it do
These are the commands as of 1.0:
install_fff_twrp_from_stock: Install FFF and TWRP while in stock Android. Uses fbmode to reboot. Use this to get FFF/TWRP installed on 6.2.1 stock OS.
Click to expand...
Click to collapse
Sorry for noob questions
1. This means that it will unstall FFF and TWRP without any other downloads, or I should put another files in USB (along with attached one) It will work with 6.2 OS?
2. Should I been rooted first?
And
3. Any root method for ubuntu from USB?
Once more, sorry to ask noobs questions in developers forum
Edit:
I find answer for 3rd question here

Hello,
I have my unbuntu on a bootable usb and I have the extracted kf file on the root folder right where terminal opens up to... so in the terminal I do "sudo fk" and "sudo /fk" and it just gives me command not found, could somebody give me a little help? I'm not a linux noob but I am no pro either.

bigjkcfan said:
Hello,
I have my unbuntu on a bootable usb and I have the extracted kf file on the root folder right where terminal opens up to... so in the terminal I do "sudo fk" and "sudo /fk" and it just gives me command not found, could somebody give me a little help? I'm not a linux noob but I am no pro either.
Click to expand...
Click to collapse
sudo ./fk
"sudo /fk" doesn't work because I'm guessing your file is located in /root/fk, and "sudo fk" doesn't work because executables without a path prefix are assumed to be in the $PATH, and most of the time /root and the current directory ("./") aren't in the $PATH.

Ah, I got it! the permissions needed to be changed, then I ran the sudo ./fk and it worked, thanks!
Alright here is my situation. When trying to revert to stock my brother's kindle got very screwed up, adb shell does not work at all, adb works just fine though. So I bought a factory cable and now once I do the boot sequence with that in windows adb does not recognize anymore, actually in windows it just says unknown device. So it has to be in fastboot mode, yet now that I figured this linux stuff out, it still says waiting for device when trying to install twrp. Is my brother's kindle really screwed up?

bigjkcfan said:
Ah, I got it! the permissions needed to be changed, then I ran the sudo ./fk and it worked, thanks!
That makes since to me, but my computer must hate me... here is from a brand new terminal window that I had opened.
[email protected]:~$ dir
Desktop Documents Downloads fk Music Pictures Public Templates Videos
[email protected]:~$ "sudo ./fk"
bash: sudo ./fk: No such file or directory
Click to expand...
Click to collapse
Don't include the quotes...

Anyone trying to develop for the Kindle Fire should make this. It really saved me in a pinch.

Hi,
I'm running off ubuntu in a USB stick, and every time I type "sudo ./fk" I get the following error messages:
[email protected]:/cdrom$ sudo /cdrom/fk
tar: firekit: Cannot mkdir: Input/output error
tar: firekit/twrp2-blaze.img: Cannot open: Input/output error
tar: firekit/install_fff_twrp: Cannot open: Input/output error
5837+1 records in
5837+1 records out
5977554 bytes (6.0 MB) copied, 0.636875 s, 9.4 MB/s
tar: firekit/u-boot.bin: Cannot open: Input/output error
tar: firekit/usb_install_fff_twrp: Cannot open: Input/output error
tar: firekit/aboot.bin: Cannot open: Input/output error
tar: firekit/normal_boot: Cannot open: Input/output error
tar: firekit/fastboot: Cannot open: Input/output error
tar: firekit/install_fff_twrp_from_stock: Cannot open: Input/output error
tar: firekit/adb: Cannot open: Input/output error
tar: firekit/mmcblk0p1: Cannot open: Input/output error
tar: firekit/usb_fix_parts_and_install_fff_twrp: Cannot open: Input/output error
tar: firekit/usb_boot_twrp: Cannot open: Input/output error
tar: firekit/fbmode: Cannot open: Input/output error
tar: firekit/adb_usb.ini: Cannot open: Input/output error
tar: firekit/usbboot: Cannot open: Input/output error
tar: firekit/fix_parts: Cannot open: Input/output error
tar: Exiting with failure status due to previous errors
mkdir: cannot create directory `/root/.android': Input/output error
cp: accessing `/root/.android/.': Input/output error
Stopping any running adb servers...
/cdrom/fk: line 18: adb: command not found
/cdrom/fk: line 20: cd: /root/firekit: Input/output error
Done. Tools are in /root/firekit. Files copied to USB are likely in /cdrom
Scripts:
install_fff_twrp_from_stock - install FFF and TWRP while in stock Android
install_fff_twrp - install FFF and TWRP while in fastboot
fix_parts - restore partition table to stock while in fastboot
normal_boot - set the bootmode to boot android and reboot while in fastboot
usb_boot_twrp - USB boot TWRP without installing
usb_install_fff_twrp - USB boot FFF, install FFF and TWRP
usb_fix_parts_and_install_fff_twrp - USB boot FFF, restore partition
table to stock, install FFF and TWRP
Good luck. -pokey9000
Is there a system setting I should set to enable r/w? Thanks.

This totally saved my ass today. And my Fire. I figured it was a brick but between this kit and the breakout kit it's back up and running. Stock. Many thanks!

I booted ubuntu fine and was able to get the terminal to boot the program, however when I try to run one of the commands, im getting a 'no such file or directory' with the kindle plugged in.

im a super ubuntu noob...
ive got the live usb done and i can get into the os but once i get into the terminal im at a loss for words of how monkey f***** i am..
every time i try sudo/cdrom/fk i get no directory
same with any other command i get.
i put the fk file directly on the live usb anyone care to break down the terminal a lil better or maybe give advice on a better place to put the fk file

Indebted
I am really grateful that you decided to share this wonderful unbricking method with us. I just successfully unbricked my kindle after a bad bootloader flash.
Thanks!
Here are some pointers for those still stuck with a brick:
- I followed DirectFix's video on Kindle teardown to get off the back cover.
- Then I setup pokey9000's Firekit on my Ubuntu 12.04 ( change file fk's permission to make it executable). After that I ran the script 'usb_fix_parts_and_install_fff_twrp' and at 'waiting for OMAP44xx device...' I did the shorting and plugging in. (I had already setup adb earlier) (USB cable was plugged in the computer from the start of this process; but not in the Kindle)
- I used a spare thin wire lying around, shaved both ends and put one end on the metal casing and then put kindle's back cover on top of it to hold it in place. This way I had both hands free to short the point. Then plug in the usb. (Make sure USB is plugged in the computer from the very beginning) (Also make sure kindle is really off; do a hard reset prior to this step just in case)

I can second that. the said method did not work off my ubuntu 12.04 (i think it was my personal setup) but i followed the linked instructions on using a pendrive and it worked 1st time. i suggest follow the instructions exactly.
thanks again pk9 and anyone else that helped me in my 48 hour bricking session
Sent from my Amazon Kindle Fire using xda premium

i think you are doing the terminal ok. you needed to extract the fk file to your pendrive ie. when you open pendrive you should see lots of files associated with the fire kit & not just one file (fk).
Sent from my Amazon Kindle Fire using xda premium

My Kindle is bricked.
I ran the Kindle Fire Utility 0.95, followed steps in the first post, installed drivers fine, then rooted it. It turned off, and now will not turn on. I've tried charging it, pressing and holding the button 100 times for varying lengths.. nothing.
My question is, what are my options now? I was thinking of doing the Firekit LiveUSB repair kit short trick.. but that will for sure void the warranty. Is there any possibility of me returning the Kindle as is right now? It's only 2 days old.
Any advice would be most certainly appreciated, because I'm pretty f**ked right now.
I'm trying to run your utility, but am a little confused. At first it says:
Fix power on problems: If the Fire's screen never seems to turn on, you may have wrecked the bootloaders or the partitioning. Fortunately most of the time this results in the CPU falling into the low level USB boot mode. Use the "usb_fix_parts_and_install_fff_twrp" to rebuild the flash enough to boot TWRP. You don't need to use the USB shorting trick for this one, just power up the Kindle after running the script.
But then down below it says "Needs usb shorting trick".. which is it?

Related

G-Slate root

There's no G-Slate forum yet, so this goes here.
How to root your T-Mobile G-Slate
This process works under Linux. The hard part under Windows would be mounting a file as an ext4 filesystem, but if you can do that you win.
You need:
The four files in the gslate_root.zip archive attached to this post.
To root:
Put those four files in a directory and open a terminal to there.
Shut down your G-Slate and plug it into your computer via USB.
Hold down both volume buttons and press the power button. The G-Slate will not appear to turn on, but it'll go into APX mode.
Running "lsusb" should show an entry "0955:7820 NVidia Corp."
Run the command "sudo su" to get a root shell. Running "ls" should still show the four files.
./nvflash --bl bootloader.bin --getpartitiontable ptable.txt
./nvflash -r --read 8 system-orig.img
Wait while 400 meg of data copies.
cp system-orig.img system.img
mkdir system
mount -o loop system.img system
cp su system/bin
chmod 4755 system/bin/su
cp Superuser.apk system/app
umount system
./nvflash -r --download 8 system.img
Wait while it copies back.
./nvflash -r --sync
Press the reset button under the sim cover to reboot.
There's your rooted G-Slate. Making that process "one click" is going to suck.
Troubleshooting:
You may need to install the package libstdc++6 or lib32stdc++6 to get nvflash to run.
You may need to use "sudo" on the nvflash commands.
If you want to try to make this work on Windows, the nvflash.exe binary and the APX USB drivers are are available from nvidia.com
This is unbelievable! Can't wait to give it a shot.
EDIT: For future reference, DO NOT use Virtual Box to try and root your device. There are issues getting the drivers to work properly. Lsusb will not work. The following methods have been tested and work:
1. Wubi install of Ubuntu Linux
2. VMware install of Ubuntu Linux
3. Dual-boot install of ""
4. Dedicated Linux box (duh)
And remember: If at first you don't succeed, try try again. Then visit our IRC channel.
Trying this on Windows 7 is gonna be a trip. Never workt with ext4 before.
Install Ubuntu and you can dual boot into Windows or Ubuntu. That's what I do.
Sent from my LG-V909 using XDA Premium App
This method is confirmed working. Thank you so much for the hard work Chandon. It wasn't very hard to complete on Linux. I can't believe my G-Slate is rooted!!!! Hell yes! Oh and the device is not wiped during the process either just to let everyone know!
Some More Help
Would it be possible to pull the recovery partition off now?
Why I ask. I am in a bit of a pickle. My slate will get to the first LG boot screen and then freeze. It does not even go to the boot animation. I can still get into fastboot and APX mode and it is seen by my computer.
How did i get here. While poking around in fastboot I am pretty sure i wiped they recovery partition D'OH.
I was able to complete the steps listed (for root) with out issue but still cannot get past the boot screen since this is only modifying the system partition.
I am thinking that if that could be pulled from the device i could flash it to mine and bring my slate back to life?
Am I way off on this one?
SmellyTunic -
Attached are all the reasonably small partitions that I could pull off my device with nvflash. This should be everything except /system, /cache, and /data.
I suggest backing everything up before flashing any of these, on the off chance that there's some difference between devices.
Thanks so much for this! Is there a good linux live cd(or bootable usb flash drive) someone could suggest where this could be accomplished easily? Not ready to take the plunge actually installing linux on my system yet >.>
Here you go
shinkinrui
Info and steps can be found here http://www.ubuntu.com/download
Pretty easy to set up a dual boot machine.
Chandon,
Any chance you know off hand which one of those partitions is the recovery?
I suggest doing a Wubi install [1], where Ubuntu pretends to be a Windows app (which you can then uninstall like any other app later). Alternatively you could try using VirtualBox [2], but that's less guaranteed to work.
The only reason I wouldn't do this with a Live CD is that you'd risk losing your backup of the stock /system partition when you reboot. It would also make losing power in the middle of the flash really annoying.
[1] https://wiki.ubuntu.com/WubiGuide
[2] (edit: virtual box doesn't easily see the USB device)
Thanks guys, reading about that Wubi solution looks like the simplest way to have a dual-boot system. I like it! I'll be getting my root on later tonight
i prefer Ubuntu just cause you can install it in windows then simply restart and boot into Linux or Windows. This way you don't need to worry about not having Linux again.
SmellyTunic said:
Any chance you know off hand which one of those partitions is the recovery?
Click to expand...
Click to collapse
I'm sure that /system is 8 and the kernel is 13, but don't know about anything else. You might be able to figure it out by reading the ptable.txt file generated by the --getpartitiontable command - it's pretty clear except for the part where it uses 3 letter partition names.
Thanks. I will take a look when i get home from work.
Sent from my GT-I9000 using XDA App
While we are on the topic of development, we really need a forum over here at XDA for the G-Slate!
deez1234 said:
While we are on the topic of development, we really need a forum over here at XDA for the G-Slate!
Click to expand...
Click to collapse
I definitely concur.
thengkiu so much
works like a charm
I have no idea why I'd ever need/want to root my G Slate, I'm fairly simple in my desires for my device - but I have to say I'm delighted to see it is possible and am ever so grateful for folks who figure this stuff out because it keeps moving G Slate towards legitimacy.
Thank you!!
The hard part under Windows would be mounting a file as an ext4 filesystem, but if you can do that you win.
Click to expand...
Click to collapse
No kidding. Since the linux method failed miserably for me, I've decided to press forward with trying to do it on Windows. Problem is, I have yet to find any way to mount an ext4 filesystem on Windows. There are several options out there that will allow you to read ext4 filesystems on Windows, but not write. Any suggestions?
my friend will be happy to see that this is possible.

Kindle Fire stuck in TWRP because system files wiped out.

I tried to install android 4.1 and messed it up my KF. I wiped out everything and KF can no longer restore because the files needed has been wiped out although I did save them into my laptop. The problem is how can I copy the restoration files from my pc into the KF since my PC no longer can connect to KF and see the folder structure. I can still do all the operations in TWRP but that does not help because the system folders are all empty. I tried Kindle Unbrick UtilityV1.1 and it can not connect to the KF, My battery is about to run out.
Can someone please offer any help?
Thanks so much
Ling
bookreader said:
I tried to install android 4.1 and messed it up my KF. I wiped out everything and KF can no longer restore because the files needed has been wiped out although I did save them into my laptop. The problem is how can I copy the restoration files from my pc into the KF since my PC no longer can connect to KF and see the folder structure. I can still do all the operations in TWRP but that does not help because the system folders are all empty. I tried Kindle Unbrick UtilityV1.1 and it can not connect to the KF, My battery is about to run out.
Can someone please offer any help?
Thanks so much
Ling
Click to expand...
Click to collapse
Okay Ling the very most important thing is to put your in recovery and plug it to the stock wall charger till your battery is 100% or you will compound your problem by ten fold. Then you need at least a 4 gig USB flash drive to create a live Linux with persistence to run Soupkit on to solve your problems with drivers and repair the mounting problems with your Kindle Fire.
You install Soupkit onto a live usb that is running ubuntu with persistent. The persistent allows the live usb to save data between reboots. What you need: Preferably Ubuntu 12.04 precise pangolin found here http://releases.ubuntu.com/precise/ use desktop cd image PC (intel X86) Desktop CD, Pendrive Universal USB installer found here http://www.pendrivelinux.com , a USB flash drive between 4-6 gigs.
Select 12.04 desktop from the dropdown in Universal Usb installer, select your usb by drive letter , select format, drag bar for persistent to 1500 mgs or so, then click create, when finished eject cruiser safely, unplug usb flash drive, shutdown computer, insert usb flash drive, power on computer, it will auto boot at startup on Windows 7 but XP takes more work for instance on my XP machine at first boot splash hit escape for advance startup options, then F9 for boot menu, then scandisk cruiser or whatever your USB is by name, it will then boot ubuntu without installing on your Windows machine.
When booted into Ubuntu: setup your network connection, download Soupkit move it from its containing folder to the desktop, right click select extract here, open folder, double click on the file marked installer, select run in terminal, select option 1 in terminal menu, hit enter for sudo password prompt as there isn`t one, when its finished working it will return you to the main menu, select option 2 it will detect a 32 bit operating system and skip the work for 64 bit then it will launch Soupkit, close all open windows, click the gear icon upper right, select restart, If on windows 7 it will simply restart the Ubuntu system, if on Xp hit Esc. at first computer splash, then select again the cruiser reboot is not near a clean an action on XP sadly.
When booted back back to Ubuntu open a terminal Ctrl+alt+t type soupkit.sh in the terminal now you can use all the features of Soupkit if everything went right and communication has been established with the Kindle.
Soupkit thread http://forum.xda-developers.com/show....php?t=1850038
Edit: a 2 gig flash drive will work but 4 is better.
Thanks so much!
Thepooch said:
Okay Ling the very most important thing is to put your in recovery and plug it to the stock wall charger till your battery is 100% or you will compound your problem by ten fold. Then you need at least a 4 gig USB flash drive to create a live Linux with persistence to run Soupkit on to solve your problems with drivers and repair the mounting problems with your Kindle Fire.
You install Soupkit onto a live usb that is running ubuntu with persistent. The persistent allows the live usb to save data between reboots. What you need: Preferably Ubuntu 12.04 precise pangolin found here http://releases.ubuntu.com/precise/ use desktop cd image PC (intel X86) Desktop CD, Pendrive Universal USB installer found here http://www.pendrivelinux.com/univers...easy-as-1-2-3/ , a USB flash drive between 4-6 gigs.
Select 12.04 desktop from the dropdown in Universal Usb installer, select your usb by drive letter , select format, drag bar for persistent to 1500 mgs or so, then click create, when finished eject cruiser safely, unplug usb flash drive, shutdown computer, insert usb flash drive, power on computer, it will auto boot at startup on Windows 7 but XP takes more work for instance on my XP machine at first boot splash hit escape for advance startup options, then F9 for boot menu, then scandisk cruiser or whatever your USB is by name, it will then boot ubuntu without installing on your Windows machine.
When booted into Ubuntu: setup your network connection, download Soupkit move it from its containing folder to the desktop, right click select extract here, open folder, double click on the file marked installer, select run in terminal, select option 1 in terminal menu, hit enter for sudo password prompt as there isn`t one, when its finished working it will return you to the main menu, select option 2 it will detect a 32 bit operating system and skip the work for 64 bit then it will launch Soupkit, close all open windows, click the gear icon upper right, select restart, If on windows 7 it will simply restart the Ubuntu system, if on Xp hit Esc. at first computer splash, then select again the cruiser reboot is not near a clean an action on XP sadly.
When booted back back to Ubuntu open a terminal Ctrl+alt+t type soupkit.sh in the terminal now you can use all the features of Soupkit if everything went right and communication has been established with the Kindle.
Soupkit thread http://forum.xda-developers.com/show....php?t=1850038
Edit: a 2 gig flash drive will work but 4 is better.
Click to expand...
Click to collapse
I was able to restore my KF following your suggestions.
Thanks so much.
Ling
You`re welcome Ling.
This was very helpful. Many thanks, Thepooch.
You`re welcome .
Same problem.
bookreader said:
I tried to install android 4.1 and messed it up my KF. I wiped out everything and KF can no longer restore because the files needed has been wiped out although I did save them into my laptop. The problem is how can I copy the restoration files from my pc into the KF since my PC no longer can connect to KF and see the folder structure. I can still do all the operations in TWRP but that does not help because the system folders are all empty. I tried Kindle Unbrick UtilityV1.1 and it can not connect to the KF, My battery is about to run out.
Can someone please offer any help?
Thanks so much
Ling
Click to expand...
Click to collapse
I did the same thing. My little brother accidentally wiped everything off of my kindle fire. Including my OS. I've tried almost everything. I've been searching on this site for weeks for a solution, but all have not succeeded. I would appreciate if there was a way to fix my kindle.
Please help me.
Adam1998 said:
I did the same thing. My little brother accidentally wiped everything off of my kindle fire. Including my OS. I've tried almost everything. I've been searching on this site for weeks for a solution, but all have not succeeded. I would appreciate if there was a way to fix my kindle.
Please help me.
Click to expand...
Click to collapse
How about some more information? Like...
Do you have FFF installed?
Do you have access to recovery?
If so, are you able to mount your sdcard to USB in recovery?
Do you have an adb connection in recovery?
After weeks of searching, you should have amassed some knowledge of your situation. How much do you actually understand about the problem?
I could go on, but if you're not willing to spend the time to help us help you...
I do have info.
soupmagnet said:
How about some more information? Like...
Do you have FFF installed?
Do you have access to recovery?
If so, are you able to mount your sdcard to USB in recovery?
Do you have an adb connection in recovery?
After weeks of searching, you should have amassed some knowledge of your situation. How much do you actually understand about the problem?
I could go on, but if you're not willing to spend the time to help us help you...
Click to expand...
Click to collapse
Well i don't have FireFireFire. I only have access TWRP v2.2.2.1. I'm not able to mount SD card. Though Ive tried so many times. I might have adb connection in recovery.
When i open device and printers and find my kindle. here is what it says.
Amazon Kindle USB device
Android Composite ADB Interface
F:\
USB Composite Device
USB Mass Storage Device
What are me options.
ALSO: I've been trying to open a Linux LiveUSB on this thread forum.xda-developers.com/showthread.php?t=1850038
In twrp select mount and transfer a rom to your sdcard to flash.
So what you're saying is, since you don't have FFF installed, you must be accessing TWRP via command line...correct? So you should have an adb connection in recovery.
If you can't mount your sdcard in recovery, you'll need to see this thread:
http://forum.xda-developers.com/showpost.php?p=33109015
But make sure you understand it before trying anything. Feel free to ask questions.
"That's a special kind of stupid. The kind that makes me laugh"
Thepooch said:
In twrp select mount and transfer a rom to your sdcard to flash.
Click to expand...
Click to collapse
As previously stated it wont mount to my SD card on my kindle fire, or i would happily FLASH a ROM to my kindle. I want to fix this kindle. I am open minded to any answers that you may have to my problem.
Thank You
---------- Post added at 07:14 AM ---------- Previous post was at 07:10 AM ----------
Thepooch said:
In twrp select mount and transfer a rom to your sdcard to flash.
Click to expand...
Click to collapse
Cant do that due to the fact that it wont let me mount my device!
---------- Post added at 07:19 AM ---------- Previous post was at 07:14 AM ----------
soupmagnet said:
So what you're saying is, since you don't have FFF installed, you must be accessing TWRP via command line...correct? So you should have an adb connection in recovery.
If you can't mount your sdcard in recovery, you'll need to see this thread:
http://forum.xda-developers.com/showpost.php?p=33109015
But make sure you understand it before trying anything. Feel free to ask questions.
"That's a special kind of stupid. The kind that makes me laugh"
Click to expand...
Click to collapse
I have access to TWRP. My kindle lets me into the TWRP menu. It says mount but my computer wont pull up my SD card.
What do you mean via command line?
Sorry for being so ignorant on this subject but nothing seems to work!
---------- Post added at 07:27 AM ---------- Previous post was at 07:19 AM ----------
soupmagnet said:
So what you're saying is, since you don't have FFF installed, you must be accessing TWRP via command line...correct? So you should have an adb connection in recovery.
If you can't mount your sdcard in recovery, you'll need to see this thread:
http://forum.xda-developers.com/showpost.php?p=33109015
But make sure you understand it before trying anything. Feel free to ask questions.
"That's a special kind of stupid. The kind that makes me laugh"
Click to expand...
Click to collapse
ALSO: I havent been able to get your "SoupKit" to work. I've downloaded the linux liveUSB onto a usb drive, but don't know what to do further. How do i know if the Linux liveUSB worked or not? And when i try to extract SoupKit to LinuxLive Key (E: (<<< this is how it shows up on my computer) it says that the folder is empty and that i have to put documents into the compressed file to Extract.
Adam1998 said:
I have access to TWRP. My kindle lets me into the TWRP menu. It says mount but my computer wont pull up my SD card.
What do you mean via command line?
Sorry for being so ignorant on this subject but nothing seems to work!
Click to expand...
Click to collapse
Okay, before we go any further, you really need to educate yourself a little more about what's going on so you can ask more appropriate questions. If you aren't using the command line to access TWRP, then you must obviously have FFF installed (using power button at startup?).
The best place to start is the Kindle Fire for Beginners guide posted here:
http://forum.xda-developers.com/showthread.php?t=1552547
Then, with a better understanding, you can fix your mounting issue with the tutorial posted earlier in this thread. The information in that tutorial is not to be taken lightly. There is a good chance you will cause much bigger problems for yourself if you don't fully understand exactly what you are doing and why you're doing it.
And if you're not comfortable using the command prompt, I think it's time you get comfortable with it, pretty quickly.
"That's a special kind of stupid. The kind that makes me laugh."
soupmagnet said:
Okay, before we go any further, you really need to educate yourself a little more about what's going on so you can ask more appropriate questions. If you aren't using the command line to access TWRP, then you must obviously have FFF installed (using power button at startup?).
The best place to start is the Kindle Fire for Beginners guide posted here:
http://forum.xda-developers.com/showthread.php?t=1552547
Then, with a better understanding, you can fix your mounting issue with the tutorial posted earlier in this thread. The information in that tutorial is not to be taken lightly. There is a good chance you will cause much bigger problems for yourself if you don't fully understand exactly what you are doing and why you're doing it.
And if you're not comfortable using the command prompt, I think it's time you get comfortable with it, pretty quickly.
"That's a special kind of stupid. The kind that makes me laugh."
Click to expand...
Click to collapse
I want to know if my ADB is working. I want to know how to install soupkit and linux onto my computer. I want to know how to flash roms onto my kindle. I Iwant to know how to fix my kindle in the current state its in.
I've been trying to enter in the commands that http://forum.xda-developers.com/showpost.php?p=33109015 thread has told me. Command prompt tells me that "adb" is not a function. Why is that? Can we talk about this in a faster way. MAYBE we could chat on a different website and you could walk me through my problems.
Thanks Dude for all the help you have already given me.
---------- Post added at 05:59 PM ---------- Previous post was at 05:30 PM ----------
Adam1998 said:
I want to know if my ADB is working. I want to know how to install soupkit and linux onto my computer. I want to know how to flash roms onto my kindle. I Iwant to know how to fix my kindle in the current state its in.
I've been trying to enter in the commands that http://forum.xda-developers.com/showpost.php?p=33109015 thread has told me. Command prompt tells me that "adb" is not a function. Why is that? Can we talk about this in a faster way. MAYBE we could chat on a different website and you could walk me through my problems.
Thanks Dude for all the help you have already given me.
Click to expand...
Click to collapse
soupmagnet said:
Okay, before we go any further, you really need to educate yourself a little more about what's going on so you can ask more appropriate questions. If you aren't using the command line to access TWRP, then you must obviously have FFF installed (using power button at startup?).
The best place to start is the Kindle Fire for Beginners guide posted here:
http://forum.xda-developers.com/showthread.php?t=1552547
Hey I was just running KFU and my ADB status was online. Is this a good thing? I also typed in 5 on KFU and it said that FFF was successfully installed. Does this help my situation and how do I know if FFF was really installed.
Then, with a better understanding, you can fix your mounting issue with the tutorial posted earlier in this thread. The information in that tutorial is not to be taken lightly. There is a good chance you will cause much bigger problems for yourself if you don't fully understand exactly what you are doing and why you're doing it.
And if you're not comfortable using the command prompt, I think it's time you get comfortable with it, pretty quickly.
"That's a special kind of stupid. The kind that makes me laugh."
Click to expand...
Click to collapse
Hey i was just running KFU and my ADB status is online. Is this something we can work with. I clicked on the number 5 in KFU and it said FFF was successfully installed. How do i know if FFF was really installed.
Hrm when you restart the device you will see a white kindle blue fire that is the fff bootloader. When you see that quickly depress your power button a few times select recovery it should take you to twrp.
Thepooch said:
Hrm when you restart the device you will see a white kindle blue fire that is the fff bootloader. When you see that quickly depress your power button a few times select recovery it should take you to twrp.
Click to expand...
Click to collapse
Ok now what
Adam1998 said:
Ok now what
Click to expand...
Click to collapse
Seriously? That's your response?
How about giving us an idea of what's going on on your end, since we obviously can't SEE IT.
Are you able to access recovery via the boot menu? If so, are you able to send ADB commands? What commands have you tried? What error messages, if any, are you receiving? Are you able to use ADB to push files to your sdcard? When you navigate to your sdcard in recovery, what do you see? Are you able to mount your sdcard in TWRP? If not, what error messages do you receive? Have you read through the guides/turotials linked to earlier in this thread? Do you understand them? If not, what don't you understand? Reading through this thread, do you have a general idea of what you need to do to resolve your problem? If not, what don't you understand?
You should bombarding us with details if you expect anyone to want to spend the time to try and help you resolve your problem.
Quick one or two line responses to our questions only serve to prolong your ordeal, lead to more questions, and possibly cause those who are willing to help, to lose interest and walk away.
soupmagnet said:
Seriously? That's your response?
How about giving us an idea of what's going on on your end, since we obviously can't SEE IT.
Are you able to access recovery via the boot menu? If so, are you able to send ADB commands? What commands have you tried? What error messages, if any, are you receiving? Are you able to use ADB to push files to your sdcard? When you navigate to your sdcard in recovery, what do you see? Are you able to mount your sdcard in TWRP? If not, what error messages do you receive? Have you read through the guides/turotials linked to earlier in this thread? Do you understand them? If not, what don't you understand? Reading through this thread, do you have a general idea of what you need to do to resolve your problem? If not, what don't you understand?
You should bombarding us with details if you expect anyone to want to spend the time to try and help you resolve your problem.
Quick one or two line responses to our questions only serve to prolong your ordeal, lead to more questions, and possibly cause those who are willing to help, to lose interest and walk away.
Click to expand...
Click to collapse
I am able to acess recovery via the boot menu. When i open command prompt and try the commands it tells me that " adb" is not a command. Ive tried all of the commands that you have posted. None have succeeded. I don't know how to use ADB to push files to my SD card. I don't know if mounting my SD card in TWRP is working. Because no error messages appear. I have read through your guides but i am puzzled. I dont fully understand them. If i am correct i believe i need to get a new OS cause my little brother accidentally erased everything on it. I have complete access to TWRP. And in the KFU it says that my adb status is online.
..................
Code:
adb push <filepath> <rom.zip>/sdcard/
Code:
adb push <filepath> <gapps.zip>/sdcard/
after a full wipe minus the external storage/sdcard flash rom.zip,flash gapps.zip select reboot then system. Pretty sure that is all you will have to do by the sounds of it.
Thepooch said:
Code:
adb push <filepath> <rom.zip>/sdcard/
Code:
adb push <filepath> <gapps.zip>/sdcard/
after a full wipe minus the external storage/sdcard flash rom.zip,flash gapps.zip select reboot then system. Pretty sure that is all you will have to do by the sounds of it.
Click to expand...
Click to collapse
If im correct you wanted me to enter this in command prompt right? when i did this is what popped up
Code:
C:\windows\system32>adb push <filepath> <rom.zip>/sdcard/
< was unexpected at this time.

[Q] demo unit unsuccessful

hey guys. I have a demo unit.
Now before anything else, I should say that I looked at all three other threads on demo units, and that didn't help.
I looked at ThePooch's alternate method, and it didn't work.
In KFU, it gives the output of what is in the picture.
and in Soupkit, it says "permission denied" when trying to install either FFF or TWRP (I can't remember which, but if this is important, I will find out).
Can someone shed some info on what to do?
More pics are available to those who ask.
jma9454 said:
hey guys. I have a demo unit.
Now before anything else, I should say that I looked at all three other threads on demo units, and that didn't help.
I looked at ThePooch's alternate method, and it didn't work.
In KFU, it gives the output of what is in the picture.
and in Soupkit, it says "permission denied" when trying to install either FFF or TWRP (I can't remember which, but if this is important, I will find out).
Can someone shed some info on what to do?
More pics are available to those who ask.
Click to expand...
Click to collapse
Use SoupKit to change the bootmode to fastboot, then install TWRP. See if that helps.
soupmagnet said:
Use SoupKit to change the bootmode to fastboot, then install TWRP. See if that helps.
Click to expand...
Click to collapse
This could be the VMWare problem that you were mentioning in the other thread. upon reboot, VMWare says something to the effect that it could not connect to the kindle because it is in use by another program. I will try USB-Ubuntu in a few hours, but I think it didn't work last night, if i remember correctly.
I have witnessed one demo unit that was completely unrootable even with the use of a factory cable. So at the end it was only good for parts and the motherboard unusable.
soupmagnet said:
Use SoupKit to change the bootmode to fastboot, then install TWRP. See if that helps.
Click to expand...
Click to collapse
when trying to switch bootmodes, Ubuntu just reboots the kindle. It isn't able to get into fastboot. If I could figure out how to take a screeshot of this I would, but I don't know how.
Anyways, I forgoed that, and tried to just do the TWRP installation and this is what I got:
Verifying MD5 checksum...
openrecovery-twrp-2.2.2.1-blaze.img: OK
Checksum matched.
Installing openrecovery-twrp-2.2.2.1-blaze:
Please wait...
1122 KB/s (4972544 bytes in 4.324s)
/dev/block/mmcblk0p5: cannot open for write: Permission denied
Team Win Recovery Project has been installed.
Do you wish to reboot into recovery now?
-- any ideas?
That`s pretty much what I experienced with the demo unit that would not root, it simply would not enter fastboot no matter which approach I took. I can take a look for you but I feel it`s pretty much a moot point if it wont enter fastboot. Power the device off, open a terminal
Code:
fastboot -i 0x1949 getvar product
hit enter, when it says waiting for device, plug the kindle in. if it does not enter fastboot and return product: kindle you are dead in the water.
jma9454 said:
This could be the VMWare problem that you were mentioning in the other thread. upon reboot, VMWare says something to the effect that it could not connect to the kindle because it is in use by another program. I will try USB-Ubuntu in a few hours, but I think it didn't work last night, if i remember correctly.
Click to expand...
Click to collapse
I've really gotta start reading the names on these posts
jma9454 said:
when trying to switch bootmodes, Ubuntu just reboots the kindle. It isn't able to get into fastboot. If I could figure out how to take a screeshot of this I would, but I don't know how.
Anyways, I forgoed that, and tried to just do the TWRP installation and this is what I got:
Verifying MD5 checksum...
openrecovery-twrp-2.2.2.1-blaze.img: OK
Checksum matched.
Installing openrecovery-twrp-2.2.2.1-blaze:
Please wait...
1122 KB/s (4972544 bytes in 4.324s)
/dev/block/mmcblk0p5: cannot open for write: Permission denied
Team Win Recovery Project has been installed.
Do you wish to reboot into recovery now?
-- any ideas?
Click to expand...
Click to collapse
That's the tricky thing about ADB and shell scripts. I won't go into too much detail, but part of that has to do with how ADB handles the exit status. Typically in Linux, an error results in an exit status of 2 (sometimes 1 depending on the type of error). ADB tends to have errors come out with an exit status of 0, which is why it said TWRP had been installed, when in all actuality it hadn't. The reason TWRP wasn't installed is because you need to either have root privileges, or be in fastboot, hence my previous instructions to boot into fastboot first.
In my opinion, your best bet would be to forgo the VM, forget about the dilapidated WinXP computer and figure out a way to boot your Win7 computer into Ubuntu from a USB stick. You are dealing with way too many variables to effectively determine exactly where things are going wrong.
I 'fixed' two demo KF's, messed up a lot on the first (lucky I didn't brick it).... On the second, I used a fast boot cable and installed TWRP, had a JB ROM on it in 15 minutes.
Try this.... Send TWRP to it using the command line, when it says 'waiting on device', open another window and get it to reboot in fastboot mode. On the first KF I found the utility would only put it in fast boot for a few seconds, but it was long enough to write TWRP if you did it this way.
Not sure why some won't work at all, maybe Amazon got smart on the demo units.
Larry
Sent from my Kindle Fire that thinks it's a Nexus 7
soupmagnet said:
I've really got to start reading the names on these posts
That's the tricky thing about ADB and shell scripts. I won't go into too much detail, but part of that has to do with how ADB handles the exit status. Typically in Linux, an error results in an exit status of 2 (sometimes 1 depending on the type of error). ADB tends to have errors come out with an exit status of 0, which is why it said TWRP had been installed, when in all actuality it hadn't. The reason TWRP wasn't installed is because you need to either have root privileges, or be in fastboot, hence my previous instructions to boot into fastboot first.
Click to expand...
Click to collapse
The above statement took place from USB boot, not VMware. Also, like I said, I attempted to set it into fastboot and it just booted regularly. I tried several times with different cables and ports with no success.
Sent from my Amazon Kindle Fire using Tapatalk HD
I will stick with my original idea no fastboot = no fun. You cant push FBmode manually because installation from unknown sources is disabled by default on a large percentage if not all demo units. Regardless if the device doesn`t enter fastboot not much you can do. Taking advantage of the small window of fastboot at boot is risky if the write time isn`t long enough to get it sent and written but it could be your best bet. IMO I would not attempt this with the bootloader only recovery no harm no fowl.

[Q] Kindle Fire BRICKED (Stuck On Kindle Logo) No Susses in CMD

Hello, I Have a Kindle Fire 1st Gen. I Had CM 10.1 on it. I was attempting to put AOSP back on it for My Wife. I did I Noobish Move at 4 am half asleep, I Did NOT go into advanced mode in TWRP and uncheck DATA in the Wipe tab. So This Screwed me "Bricked" Message comes up in TWRP when rebooting, says ( NO OS ) . I have Tried Kindle unbrick utility with no success when clicking on "Stuck at Logo" in utility I get this Error ...> PIC Attatched!>
I then Tried Using android-sdk ( I have went in and edited the files that need to be edited in program files/android...> File_android_winusb as well as in .android folder in the appdata location) Along with CMD & I get a Error So far into the process of Resetting Kindle OS. Pic Attatched as well. It Seems Like I have something missing ?!?!?
I somewhat Suck at CMD, I don't have much experience with it, so Please go slow on me,when Giving advise....
Thanks In Advance!!
If you still have access to TWRP, use it to mount your sdcard to USB.
soupmagnet said:
If you still have access to TWRP, use it to mount your sdcard to USB.
Click to expand...
Click to collapse
I Tried That. I See the Device But when double clicking, It will not let me access it.
Butt Nugget said:
I Tried That. I See the Device But when double clicking, It will not let me access it.
Click to expand...
Click to collapse
Oh that's right, it won't work on 2nd generation devices.
Do you have your drivers installed? Are you able to send any adb commands (adb devices)?
soupmagnet said:
Oh that's right, it won't work on 2nd generation devices.
Do you have your drivers installed? Are you able to send any adb commands (adb devices)?
Click to expand...
Click to collapse
My Kindle is a 1st Gen. I'm not sure If I understand what You are talking about when You say "send Commands/devices" If Your talking about in CMD I Get all the way to Seeing my Device Serial Number for Kindle. The when I type "adb shell" I get a error saying (Failed: No such file or directory <2> - ) You can see this in the screen shot I attached to this thread..
Sorry, I looked at what forum this was in and got a little confused...silly me :silly:
Anyway, back on track...
You should not be receiving that error in TWRP. If you are, then something is seriously wrong with it and probably needs to be reinstalled. Other than that, I'm having trouble seeing where the problem is. (the pic shows that you're not in recovery, btw)
You clearly have access to adb, so...why aren't you using 'adb push' to transfer a new ROM to your sdcard to flash in recovery?
soupmagnet said:
Sorry, I looked at what forum this was in and got a little confused...silly me :silly:
Anyway, back on track...
You should not be receiving that error in TWRP. If you are, then something is seriously wrong with it and probably needs to be reinstalled. Other than that, I'm having trouble seeing where the problem is. (the pic shows that you're not in recovery, btw)
You clearly have access to adb, so...why aren't you using 'adb push' to transfer a new ROM to your sdcard to flash in recovery?
Click to expand...
Click to collapse
I've Done searches and only found how to attempt recovery, typing in commands on pc's CMD Prompt while kindle is mounted to usb in twrp and typing commands in on CMD in pc I installed Android SDK and Device driver. So Sounds possibly what I tried is totally different from what Your asking if i done? If So, Could You Explain step by step thee method with new roms or send me in the right directions 2 a how to link or video? Anything I would appreciate GREATLY! :fingers-crossed:
Butt Nugget said:
I've Done searches and only found how to attempt recovery, typing in commands on pc's CMD Prompt while kindle is mounted to usb in twrp and typing commands in on CMD in pc I installed Android SDK and Device driver.
Click to expand...
Click to collapse
I have no idea what you're saying.
All you need to do is, boot into recovery (TWRP), use adb to "push" a ROM to your sdcard (adb push...), then install the ROM in recovery.
soupmagnet said:
I have no idea what you're saying.
All you need to do is, boot into recovery (TWRP), use adb to "push" a ROM to your sdcard (adb push...), then install the ROM in recovery.
Click to expand...
Click to collapse
I mentioned Earlier (say, the Drive of the device is :F) In My computer, When I click :F It states Cannot access (Drivers are installed for kindle). I'm asking How Can I Mount USB in TWRP and Put ROM File on sdcard when I cannot access it... I Do Not have a Micro USB OTG to USB 2.0 Cable to plug up to kindle with the files put on a external HD to complete this course.
Does that make more since?
Butt Nugget said:
I mentioned Earlier (say, the Drive of the device is :F) In My computer, When I click :F It states Cannot access (Drivers are installed for kindle). I'm asking How Can I Mount USB in TWRP and Put ROM File on sdcard when I cannot access it... I Do Not have a Micro USB OTG to USB 2.0 Cable to plug up to kindle with the files put on a external HD to complete this course.
Does that make more since?
Click to expand...
Click to collapse
Try to understand what you're being told. I'm not saying anything about mounting your sdcard to transfer files to it so get that idea out of your head for a moment.
You need to boot into recovery and use the command 'adb push' to transfer a ROM to your sdcard, then flash it in recovery.
Now, does that make more sense?
soupmagnet said:
Try to understand what you're being told. I'm not saying anything about mounting your sdcard to transfer files to it so get that idea out of your head for a moment.
You need to boot into recovery and use the command 'adb push' to transfer a ROM to your sdcard, then flash it in recovery.
Now, does that make more sense?
Click to expand...
Click to collapse
I am attempting to understand what u are saying But I'm thinking ur not giving full step after step instructions OR this Version I have (v2.6.0.0) differs from Yours, Because there is No such OPTION as ADB PUSH..... I have ADB sideload (under Advanced Tab) which only wipes Cashe.. I've looked in every single area in TWRP and see nothing of anything You are talking about, other than "MOUNT" obviously.
soupmagnet said:
Try to understand what you're being told. I'm not saying anything about mounting your sdcard to transfer files to it so get that idea out of your head for a moment.
You need to boot into recovery and use the command 'adb push' to transfer a ROM to your sdcard, then flash it in recovery.
Now, does that make more sense?
Click to expand...
Click to collapse
While Searching Google for Help I seen this..> http://forum.xda-developers.com/showthread.php?t=2361144
I'm bout to install a Pc with Linux and try pushing it that way.. Have not tried that.
You don't need Linux to run adb commands *face palm* While I am a linux enthusiast, all he's trying to say is boot into twrp, plug kindle into your PC, and open a command prompt, CD into the directory of adb and run "adb push pathtofile /sdcard/filename" this should push it to the kindle, though their might be something else u need for in prior to this I'm not sure, soupemagnet will probably post back if there is. BTW I don't know if u actually meant u were going to install Linux, but if you don't plan on using it after this or anything in the case u do decide to still use it for this, u don't need to install it, distros like Ubuntu let you boot into a full os from the CD so u don't need to install it.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
stunts513 said:
You don't need Linux to run adb commands *face palm* While I am a linux enthusiast, all he's trying to say is boot into twrp, plug kindle into your PC, and open a command prompt, CD into the directory of adb and run "adb push pathtofile /sdcard/filename" this should push it to the kindle, though their might be something else u need for in prior to this I'm not sure, soupemagnet will probably post back if there is. BTW I don't know if u actually meant u were going to install Linux, but if you don't plan on using it after this or anything in the case u do decide to still use it for this, u don't need to install it, distros like Ubuntu let you boot into a full os from the CD so u don't need to install it.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
Stunt Thnx... You Helped breaking it down. I just used KFU and Fixed this within 3 minutes.. Thnx Man!:good:

[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