[Q] "failed to write data protocol fault" - Kindle Fire 2 Q&A, Help and Troubleshooting

Please help!
I've been messing around with a Kindle Fire 2, and I have TWRP 2.3.3.0 installed. I was running Cyanogenmod until I accidentally wiped /system. When I try to reboot, it says in big capital letters that there is no OS installed. I've never gotten out of TWRP because I was afraid I won't be able to come back into it.
I tried to adb sideload and push and all of those great stuff, but it said, "failed to write data protocol fault". I'm guessing the partitions are all messed up. I checked the forums and most were outdated, so I'm posting a new question.
I was thinking about the "Partition SD Card" feature on TWRP, but will it work? What can happen and how do I set it up?
Thanks in advance!

I am not positive but you may just need a more updated adb program for your PC, try the version in my wallpaper fix.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app

Whenever I wiped my kf2 out and forgot to put a rom on the sdcard part I would hook it up to my pc with adb and use "adp push romname.zip /sdcard"
Try wiping your sdcard and retry adb push from your pc.

when evrything fails try to flash a stock image via fastboot

Related

[Q] Bricked KF, no ROM, possibly corrupt /sdcard

I've done so much research on this and tried so many things and now I'm so confused on what to do.
I'm trying to bring this KF back from the dead. It was stuck in a bootloop, no computer would recognize it. So I soldered a factory cable..that made my computer actually see the KF.
After that I used the KFU to install TWRP and FFF. It's currently in fastboot mode. I have managed to get it into ADB a few times. Everytime I do that I get an "ACK" error.
I'm attaching a screenshot of an older verson of KFU and of my device manager as well as my .ini file. I added a line in my .ini file which you will see.
I have tried using most of the fastboot commands to reboot it into "normal" mode but it doesn't seem like it does anything.
Currently it's on the Kindle Fire boot screen (it's white & blue) and says v1.4a in the upper right corner. I've uninstalled/reinstalled drivers many times. Maybe I'm doing something wrong there.
I also tried the Kindle Fire Unbrick Utility with no luck. At this point I can't get into TWRP. I tried to mount the SD card in there last night so I could copy update.zip over but it threw an error. Something like E: /sdcard could not mount.
I have also had Clockwork recovery installed and I tried to mount the sd card in there. Similar error. Am I wrong in believing if TWRP was working I should be able to ADB in from there?
I feel like I've done a lot of research and tried very hard before making a thread..so any ideas at this point are very welcome!
Edit: It actually does boot into clockwork recovery at this point. The exact error is: E:Can't mount /sdcard
To mount your sdcard:
Boot into recovery and enter...
Code:
adb shell
echo /dev/block/mmcblk0p12 > /sys/devices/platform/usb_mass_storage/lun0/file[CODE]
And if you have to, format your sdcard FAT32 block size 4096
Obviously, by formatting your sdcard, you will lose all the data that's on it.
I need to keep rebooting/messing around until it's in ADB mode to do that correct? Or will it work in fastboot mode?
You can't use adb in fastboot.
I still can't get it in ADB mode again.. I tried ubuntu as well with no success..should I be using the factory boot cable at this point? Or should I just keep telling it to boot into "normal" (adb) mode and hope it does that one of these times? I wish I could just get the drive to show up in windows..
edit: I guess I had misunderstood before. I selected recovery mode in KFU (option 3) and then ran the stuff you told me to. this was the result: error: device not found and: the system cannot find the path specified
The factory cable probably won't do you much good.
In Ubuntu, did you install drivers and set up udev rules for adb? And are you using 32 or 64 bit?
Sorry I didn't post that earlier, I'm using windows vista- 32 bit. In ubuntu I simply used firekit. No other configuration was done. I did the jumper trick & it claimed it re-wrote the file system but it appears it didn't touch it. It did install an older version of TWRP & FFF.
I'm not completely convinced it has ever made it into ADB, everytime KFU claims it's online my internet connection is completely lost & that's where I get the ACK error.
I guess one thing I'm very unclear about- is it possible adb was completely removed? It certainly seems like it. It should load adb from the FFF screen, correct?
Just an FYI I got the kindle like this so please don't think I'm a complete moron!
Is your Ubuntu on a LiveUSB or full install? If it is a LiveUSB did you set it up with any persistence?
It is a live cd, and no- I didn't set it up with any persistence. I wouldn't be opposed to installing ubuntu if needed. I also have access to Osx (hackintosh) on the same machine, it's dual booting windows/osx.
Thanks for all your help.
do you have an 8 gig usb drive?
legojerry said:
It is a live cd, and no- I didn't set it up with any persistence. I wouldn't be opposed to installing ubuntu if needed. I also have access to Osx (hackintosh) on the same machine, it's dual booting windows/osx.
Thanks for all your help.
Click to expand...
Click to collapse
OSX should do. Get it booted up and PM me.
Nada, I'm headed to walmart now to get one though..lol
If you have OSX, there should be no need for LiveUSB.
Okay. PM was sent.
Format SD card
I Bricked, looped, KF. Resisted far too long just formatting the SD card and starting over. At some point that is likely your only option. Rebuilding your KF , rooting , and ROMing. Partial fixes cxan be frustrating as well.
Sadly I can't get the sdcard formatted..
legojerry said:
Sadly I can't get the sdcard formatted..
Click to expand...
Click to collapse
Wont mount? Your the second one this week. I have done both methods factory/data reset including sdcard contents and factory/ data reset wiped sd as well in twrp the only worked fine for me only thing is my sdcard is now known as removable storage on my computer. Theres got to be a way to get that card mounted to the system or unmounted and mounted to the pc for formating
I wish I could just see the file system from my computer..nothing, and TWRP errors out.
yeah I have been working with someone else on a the same issue with no avail
---------- Post added at 05:37 PM ---------- Previous post was at 05:35 PM ----------
Im wondering if the battery wasnt unplugged and replugged if it would force it to mount either way shutting down the system maybe windows would be able to grasp it for formatting my only fear with that is it might hand you the system partition instead
Interesting idea.. I just tried that, windows detected it- now it's showing an unknown device and it's sitting at the FFF bootloader.
edit: just tried it again, it went straight into fastboot.

[Q] Can't mount USB Mass Storage onto my PC as ICS has crashed on my Kindle Fire

I rooted my Kindle Fire using KFU 0.9.5 and flashed a custom ROM. It worked fine for a few days and then just crashed -- The options bar located on the bottom disappeared and the error message was: System UI has crashed. (I have attached two pictures for better clarity)
Also, whenever I boot up, there is no yellow flame that appears, it goes to the moving colourful discs straight on.
I tried using terminal emulator and entered many codes in some hope of mounting USB Mass Storage so that I can use KFU and restore my Kindle, but in vain.
I have tried EVERYTHING. I've been at this for 6 days now and am at wits end. :crying: I have read up close to a 100 articles; this was my last resort.
I just want to get the Kindle's stock OS back - no root, nothing.
And the only was is, I suppose, if I am able to mount my Kindle as USB Mass Storage onto my computer.
ANY help is appreciated!
AndroBoss.
I don't have a kindle but did you try wiping it and reinstalling it?
Sent from my SPH-L710 using xda app-developers app
jr71x said:
I don't have a kindle but did you try wiping it and reinstalling it?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
As it now runs on ICS, there is no Gingerbread for Kindle anymore on it. I can't wipe it clean from the device or atleast I don't know how to, please help?
All the wipes you should need to perform can be done in twrp recovery. Wipe factory reset , wipe cache , wipe dalvik and wipe the system. Reflash ROM , reflash gapps , reboot then system if prompted and you should be good to go.
Edit: failing to use the correct method to return to stock will just cause more problems. Rather than trying to go back to pure stock without fff and twrp I suggest you perform the above wipes and flash this instead http://forum.xda-developers.com/showthread.php?t=1439916 its just modified stock with Google play and it will not wipe out your recovery and bootloader.
Thepooch said:
All the wipes you should need to perform can be done in twrp recovery. Wipe factory reset , wipe cache , wipe dalvik and wipe the system. Reflash ROM , reflash gapps , reboot then system if prompted and you should be good to go.
Edit: failing to use the correct method to return to stock will just cause more problems. Rather than trying to go back to pure stock without fff and twrp I suggest you perform the above wipes and flash this instead http://forum.xda-developers.com/showthread.php?t=1439916 its just modified stock with Google play and it will not wipe out your recovery and bootloader.
Click to expand...
Click to collapse
Okay, I will flash what you suggested but that's the problem. I am unable to access TWRP recovery from my Kindle. When it boots up there is no yellow flame that appears as the custom ROM is ICS 4.0.
I tried mounting a twrp.img on to the SD Card after downloading one straight onto the tab but of no avail :/
What do you suggest? Is there any way I can get the TWRP Recovery to come up so that I can get the modified stock that you suggested?
Thanks for your help, regardless
Androboss1994 said:
Okay, I will flash what you suggested but that's the problem. I am unable to access TWRP recovery from my Kindle. When it boots up there is no yellow flame that appears as the custom ROM is ICS 4.0.
I tried mounting a twrp.img on to the SD Card after downloading one straight onto the tab but of no avail :/
What do you suggest? Is there any way I can get the TWRP Recovery to come up so that I can get the modified stock that you suggested?
Thanks for your help, regardless
Click to expand...
Click to collapse
I know you said you read "close to a 100 articles" in your OP, but I suggest you do a little more reading. Get yourself acquainted with the key software components of the Kindle Fire and how they work together. Some of the things you say in your posts suggest you would benefit from the first post here...
http://forum.xda-developers.com/showthread.php?t=1552547
- The yellow flame you are looking for is an older version of the FireFireFire (FFF) bootloader, but there is a newer/better version.
- The KF cannot go to "the moving colorful discs straight on" because the first thing you will see is the bootloader's bootlogo.
- You must determine what bootloader is currently installed on the device because it is key in determining how you can get into recovery (TWRP).
- "Mounting" sdcard means to make the storage space available to either the host computer or the Kindle Fire, but it almost always means the former. Your comment about having "tried mounting a twrp.img on to the SD Card" doesn't make sense.
My guess is you do not have FFF installed and the device is booting with the stock bootloader. Odds are you will still be able to boot into your current ICS system and execute an adb command to set the bootmode to recovery (5001). Then a reboot should take you into TWRP. At that point, you should try to mount the sdcard partition onto your computer and transfer the latest FFF and whatever ROM you want to flash. Be sure to install FFF as soon as possible. This will allow you to get back into TWRP even if your system software becomes unbootable. Only when you are comfortable with FFF and TWRP should you consider flashing another ROM onto the device.
In broad strokes, the above paragraph contains the steps you will take to get your device running properly again. If any part of it doesn't make much sense to you, I suggest you read the above article again. Then, you can figure out the specifics commands from the third post of the link above and the following...
http://forum.xda-developers.com/showthread.php?t=1638452
kinfauns said:
I know you said you read "close to a 100 articles" in your OP, but I suggest you do a little more reading. Get yourself acquainted with the key software components of the Kindle Fire and how they work together. Some of the things you say in your posts suggest you would benefit from the first post here...
http://forum.xda-developers.com/showthread.php?t=1552547
- The yellow flame you are looking for is an older version of the FireFireFire (FFF) bootloader, but there is a newer/better version.
- The KF cannot go to "the moving colorful discs straight on" because the first thing you will see is the bootloader's bootlogo.
- You must determine what bootloader is currently installed on the device because it is key in determining how you can get into recovery (TWRP).
- "Mounting" sdcard means to make the storage space available to either the host computer or the Kindle Fire, but it almost always means the former. Your comment about having "tried mounting a twrp.img on to the SD Card" doesn't make sense.
My guess is you do not have FFF installed and the device is booting with the stock bootloader. Odds are you will still be able to boot into your current ICS system and execute an adb command to set the bootmode to recovery (5001). Then a reboot should take you into TWRP. At that point, you should try to mount the sdcard partition onto your computer and transfer the latest FFF and whatever ROM you want to flash. Be sure to install FFF as soon as possible. This will allow you to get back into TWRP even if your system software becomes unbootable. Only when you are comfortable with FFF and TWRP should you consider flashing another ROM onto the device.
In broad strokes, the above paragraph contains the steps you will take to get your device running properly again. If any part of it doesn't make much sense to you, I suggest you read the above article again. Then, you can figure out the specifics commands from the third post of the link above and the following...
http://forum.xda-developers.com/showthread.php?t=1638452
Click to expand...
Click to collapse
WOW! Okay, thank you so much; I'll keep you updated. I'll do all this tonight! Cheers :good:

[Q] CM10.1 won't boot, can't mount storage. Fastboot?

I've successfully rooted my Kindle Fire HD 8.9" and installed TWRP. I then put the zip file provided by Hashcode onto my device, wiped my cache and dalvik cache, and proceeded to install the new ROM.
After a successful install, I rebooted. It optimizes 65 installed apps, and then reboots again. An hour later the Cyanogen Mod logo is still spinning. I figured that was long enough to assume something went wrong. I powered down, went into TWRP and tried to mount storage so I could replace the Cm10.1 file with my backup files to go back to Stock. I'm receiving the following error when trying to mount storage though:
Code:
E:Unable to locate volume information for USB storage mode.
So I attempted using ADB Sideload, but at no point have I managed to get my Kindle recognized by the ADB server. I appear to be in some hell where my device still "works," but I have no way to put anything on it to fix it.
My last option appears to be fastboot. I am able to get into fastboot mode on the Kindle, though I don't know what to do with it. I'm familiar with all the other steps from my original Kindle Fire, but I never got this deep into it. Wanted to see if someone could give me some direction before I really break this thing.
Update: Alright, so between the FAQ (Item 11) and Hashcode's instructions on restoring backups I've managed to get my Kindle back to stock. I panicked and posted prematurely, so sorry for crapping up the forum. Shout outs to Hashcode and Soupmagnet for their posts.

[Q] Unable to install ROM help

So, long story short. customer walks in with a completely wiped kindle fire. system and all. This is what i did to try and get it going
1. I ran kindle fire utility 0.9.9
2. twrp 2.6 and Fire fire FIRE!!
3. pushed custom rom through ADB to SD Card succesfully (tried to install no luck)
4. pushed stock rom through adb to sd card successfuly (tried to install this one also no luck)
when i install the roms throught TWRP i get
"simulating actions..."
"updating partition details..."
and the install bar at the bottom completes the process in less than 3 seconds.. when i attempt to reboot it says "no os found"
Kindlefire model is D01400 so it's first gen from what i read
sidenote... i am able to push files through ADB but, i'm unable to mount storage. my computer doesn't recognize it as a memory card..
any help would be greatly appreciated.. i've been searching for hours..
elchochito said:
So, long story short. customer walks in with a completely wiped kindle fire. system and all. This is what i did to try and get it going
1. I ran kindle fire utility 0.9.9
2. twrp 2.6 and Fire fire FIRE!!
3. pushed custom rom through ADB to SD Card succesfully (tried to install no luck)
4. pushed stock rom through adb to sd card successfuly (tried to install this one also no luck)
when i install the roms throught TWRP i get
"simulating actions..."
"updating partition details..."
and the install bar at the bottom completes the process in less than 3 seconds.. when i attempt to reboot it says "no os found"
Kindlefire model is D01400 so it's first gen from what i read
sidenote... i am able to push files through ADB but, i'm unable to mount storage. my computer doesn't recognize it as a memory card..
any help would be greatly appreciated.. i've been searching for hours..
Click to expand...
Click to collapse
When you push files to the device, reboot and see if they're still there.
soupmagnet said:
When you push files to the device, reboot and see if they're still there.
Click to expand...
Click to collapse
Thank you for responding.. yes, the files are there.
I found out what was wrong on my last attempt before i went home for the night.
On the advanced options i had the "test" check mark on.. unchecked it and problem solved.. Got it up and running.. 4 hours of research = 1 checkmark off ha.. lesson learned.

Got nothing on my Kindle but TWRP!!! Help Please

Kindle fire HD 8.9 very early edition: (no exsd card)
It was rooted and N2A installed long time ago with TWRP recovery...
Installed an incompatible APP lately that just kept messing everything up, did a backup, tried a couple updates and Roms that weren't the best...
Reinstalled my back up and messed with it again... THEN I MESSED UP!!!
Went into TWRP and started factory wipe but decided (at the wrong time of night) to wipe too many things... FORGOT MY BACKUP WAS INTERNAL... Kindle didn't have an SD card like my other tablets do...
So now EVERYTHING is wiped but I can boot into TWRP, BUT, when I plug the USB in windows doesn't recognize the device anymore...
Do I even have any options? Can I get anything back on my device???
if you have adb installed (https://www.xda-developers.com/install-adb-windows-macos-linux/). you can use the command "adb push *file path* /sdcard/" that way you can transfer whatever you need over.
And it worked!!!!!!!!! yeah, once I figured out exactly how to type the complete command correctly... geeezzz TNX

Categories

Resources