[Q] Nothing but TWRP, no ROM at all - Sprint LG Optimus G

Dear everyone, I am in some deep trouble. I was sick of my rom and my phone was cluttered, so I did factory reset, wiped system, and wiped the internal storage. Now I can't put CM10 on my phone. I still have TWRP installed but nothing else to flash. I cant find out how to put any files onto my phone. Help please, and thanks!

download cm10 on your comp then use this to sideload it to your phone http://teamw.in/ADBSideload

I saw this, but I don't fully understand what the "command line" is. Is it just the Command Prompt or CMD?

Command prompt. Use this thread to help you get up and running: http://forum.xda-developers.com/showthread.php?t=2082084

BMP7777 said:
Command prompt. Use this thread to help you get up and running: http://forum.xda-developers.com/showthread.php?t=2082084
Click to expand...
Click to collapse
Whenever I attempt the "adb sideload" step, I get a "DNS server failure" message. I have no no idea what this means. Honestly, I am so screwed right now. I have all the files, it shows as an ADB device, and this step is screwing me over hard.
EDIT: Don't worry, I found the error to be with the phone, when I checked the ADB devices, it said my phone was in "host" mode, even though my phone said it was in ADB sideload, and my computer should say "sideload" instead of "host". So, I did a little research, and came up with the solution of using the "adb push" command. Worked like a charm! Thanks for the help though.

Related

Cannot mount SD card in boot recovery [resolved thanks to mariosraptor]

Hi XDA Community!
Completely bone-headed n00b here (is there any other kind)?
Firstly, a quick background:
HTC Desire, rooted, S-Off, 16 gig Class 4 SD card with 1 gb ext4 partition
I was flashed with a perfectly working Leedroid 2.2f rom, overkill backed up with Clockwork, AmonRa, Titanium, MyBackup Pro, complete SD card backup (you name it, I did it), then wiped and flashed ownhere's Rom because I was running out of app space. The flash was successful then I proceeded to backup ownhere's rom after re-installing all my apps and I think that's where the problem began. I began my first backup with Clockwork via Rom Manager, but was not getting any response, so I rebooted my phone into Clockwork Recovery and backed up ownhere's rom there. After that, I could not turn on my phone.
I'd appreciate if someone could point me in the right direction. As of right now, my phone goes into a vicious boot loop whenever I try to turn it on. I can still get into hboot by holding down the power button and volume down button and then get into Android system recovery (Amon Ra Recovery, build: RA-desire-v2.0.0) by selecting "recovery", but when I try to do a nandroid restore, the error message I get is:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:/nandroid/
I've googled many times and have attempted to follow the steps outlined by various tutorials with similar sounding problems, but unfortunately to no avail. I've tried formatting my SD card on my computer, re-partitioning the SD card on my phone (not sure if that was successful), wiping it, attempting to restore it, attempting to flash it, but I keep getting that same error message above in the end.
I certainly don't deserve it after what I've done, but any help would be greatly appreciated! Thanks for having the patience to read.
EDITED: Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Hey mario, thanks for the quick reply.
I'm currently reading ADB for Dummies to figure out what you're talking about and will get back to you. I know I've used it before when I rooted my phone, but I was just following step-by-step instructions and had no idea what I was doing.
I recall seeing "unknown device" in device manager while my phone was plugged into my computer via USB during one of my recent attempts at fixing my current issue.
PS. I'm on Windows 7.
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
turn off your phone by removing battery. press the back button+power on. you are in fastboot mode. the correct cmd's are fastboot commands.
like "fastboot reboot-bootloader" w/o the quotes.
ayato kamina said:
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
Click to expand...
Click to collapse
Gotcha, I was able to get into "fastboot USB" by following your back button+power on (or down volume+power, then selecting fastboot) and connecting a USB cable to from the phone to my computer. I then went into command prompt (cmd) in the start menu. Typed in:
1) cd\
2) cd android-sdk-windows\tools
3) entered in "fastboot oem enableqxdm 0"
I then received the error message: The program can't start because AdbWinApi.dll is missing from you computer. Try reinstalling the program to fix this problem.
That will be my next step is to re-install Android SDK Windows.
Will report back, thanks!
Lennyz1988 said:
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
Click to expand...
Click to collapse
Thanks for pointing that out, Lenny. I didn't know that. I'm not sure if I have the HTC Sync drivers, but in fastboot mode (as instructed by mario), I checked device manager in properties of My Computer and the unknown device exclamation icon is gone. I see, ADB interface>HTC Bootloader.
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
mariosraptor said:
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
Click to expand...
Click to collapse
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
i hope it helps. i will see more tomorrow. good luck!!!
ayato kamina said:
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
Click to expand...
Click to collapse
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
just let see what happens and hopefully it will work again.
ayato kamina said:
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
Click to expand...
Click to collapse
mariosraptor said:
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Click to expand...
Click to collapse
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
mariosraptor said:
just let see what happens and hopefully it will work again.
Click to expand...
Click to collapse
YES! I can finally turn on my phone again! Thanks so much, Mario! You are a genius and thank you for being so patient with me.
This is what happened:
I waited a while and the phone remained stuck on the boot animation so I took the battery out and completely restored all my files onto my partitioned SD card. I tried booting again with similar results so I tried running a nandroid restore to a previous Leedroid rom from Amon Ra Recovery and no longer received the cannot mount message so the restore was finally able to execute and after a lengthy boot process, I'm up and running again!
Thanks again so much! Once more, I could not have done it without your help. I'm going to see how stable it is, but it looks very good. By tomorrow if I'm still up, I will re-edit my first post with the exact steps I took to remedy my particular problem.
May I have your paypal email address?
persianblue said:
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
Click to expand...
Click to collapse
Sorry to hear that, persianblue. In light of your problem, I will write the solution right now, although it sounds like a you're getting a different error message than I did after entering the fastboot command. Regardless, I will post the step-by-step instructions because there's no guarantee you did exactly what I did to recover my phone.
I'll have it up shortly.
SOLUTION
copied and pasted from the first post:
Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
Click to expand...
Click to collapse
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
mariosraptor said:
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
Click to expand...
Click to collapse
Absolutely! I'm discovering that firsthand thanks to you. Again, I appreciate your help. I had spent soooo much time trying to figure it out on my own and you were able to help me right away.
You sir, are a class act!
So it's been over a full day since my personal debacle and I'm happy to say my phone is still up and running . There has been, however, one abnormality. It's not a huge issue in the long run as I can still use the phone as I normally do, but I've noticed whenever I plug my micro-usb cable into my phone (with the other end either connected to a computer or a power outlet), there is a noticeable delay before it starts charge. Also, when connected to a computer, I'm no longer receiving the prompt for 1) charge only 2) mount sd card 3) sync 4) etc etc.
The icon in the top left that normally pops up doesn't show either when I have it connected to computer. Again, not a big deal in the long run, but obviously it can be a nuisance not being able to transfer files b/t my phone and computer via this method anymore. Not sure if anyone else has encountered this issue. I'm using the same cable, same computer. My next step is to try it on a diff computer, then eventually a different cable and hopefully that might be the issue.

[Q] Attempting to Root, stuck at "Setting Recovery Bootmode. Please Wait..."

[Q] Attempting to Root, stuck at "Setting Recovery Bootmode. Please Wait..."
Okay, so I decided to root my Kindle Fire, figuring it wouldn't be too complicated. I'm generally great at technical stuff, and if I don't know how to do something then I learn quickly. But I can't figure out what, if anything, I'm doing wrong.
I have downloaded and extracted KFU, installed the drivers, and run the .bat with no problems. However, when I begin the permanent root process, it activates fastboot, installs TWRP, and then nothing. It gets to where it says "Setting Recovery Bootmode. Please wait..." and it doesn't get any further. I've been waiting for maybe an hour now? Surely it's not supposed to take that long, what's going on?
I just realized I put this in the wrong thread, I apologize for that lol.
http://forum.xda-developers.com/showthread.php?p=23747567
http://forum.xda-developers.com/showthread.php?p=23747671
http://forum.xda-developers.com/showthread.php?p=23747804
Will give you some insight to your problem and how to fix it.
Those links all lead to the same page? Thanks though, that helps me understand what SHOULD be happening, but I still don't know why it isn't working..
Well, let's start with...When you turn the device on, what happens?
Uh, what exactly do you mean? It'll turn on just fine if I stop the root and set it back to normal mode. While it's plugged in attempting to do that it just sits at the kindle fire logo.
The links that I gave you point to different posts from the same guide, but I'm learning today that the XDA app has trouble with multiple post links from the same thread.
But, that's not important right now. What is important, is the reason I directed you to that page in the first place. True, it does give you an idea of what's supposed to happen, but it also tells you about the different bootmodes and what it means when you are stuck at the Kindle Fire logo, along with a whole host of other things.
It is very important for you to understand this because it will aid you in understanding that your "problem" is not really a problem at all and that your Kindle is doing exactly what it's supposed to do.
Knowing this, your issue should be relatively easy to fix. I would suggest you go back over that thread and try to get an idea of what's going on.
I understand that it's in fastboot mode. Like it should be. I understand what recovery mode is and does. What I don't understand is why it is taking so long to get past this particular step of the rooting process. My issue isn't that it's stuck on the boot screen and I don't know how to get past that. My issue is that it won't root. After installing TWPR, when it says "Setting Recovery Bootmode" blah blah blah, which I'm guessing means it is setting up TWPR to do what it should do, it doesn't get any further. KFU just stops, telling me to "Please wait..." for hours.
Also, if any of that comes off as rude or anything, I don't intend for it to sound that way lol. I do appreciate your help. I'm just a bit frustrated with this.
1. Which Kindle Fire logo is it booting to, stock or KF w/android
2. Are you familiar with the command line interface?
You need to see if TWRP was ever installed in the first place. Enter the command to set it to recovery:
fastboot -i 0x1949 oem idme bootmode 5001 (for stock bootloader)
or
fastboot oem idme bootmode 5001 (for FFF KF w/android)
...then reboot
If it boots into recovery then all you need to do is install FFF (if it isn't already)
If it doesn't boot into recovery you need to install it manually.
It boots to the logo with the android.
And I am familiar with that, yes. I messed around with some of the commands after reading through the page you linked me to, but it doesn't recognize the commands I enter. I know that you are supposed to change the directory, and I did that, but it still didn't work. I dunno if I'm just not going to the right place, or I have the folder saved somewhere that won't work (which would be my desktop), or if I'm just dumb and doing it completely wrong. I will try those commands now, though.
kodasaur said:
It boots to the logo with the android.
And I am familiar with that, yes. I messed around with some of the commands after reading through the page you linked me to, but it doesn't recognize the commands I enter. I know that you are supposed to change the directory, and I did that, but it still didn't work. I dunno if I'm just not going to the right place, or I have the folder saved somewhere that won't work (which would be my desktop), or if I'm just dumb and doing it completely wrong. I will try those commands now, though.
Click to expand...
Click to collapse
You need to fix your drivers
http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
The problem is explained in detail here:
http://forum.xda-developers.com/showthread.php?p=25444709
...also, in that thread, I think gedemis has made a fix for the driver issue, though I'm not sure how well it works.
The drivers are installed properly, it shows up in the device manager as "Android Composite ADB Interface". Still not getting anything.
kodasaur said:
The drivers are installed properly, it shows up in the device manager as "Android Composite ADB Interface". Still not getting anything.
Click to expand...
Click to collapse
Does any device appear when you enter this? With those drivers, the Kindle should be able to be detected, and you can flash the bootloader.
Code:
fastboot devices
I'm sorry, I guess I should have explained it a little better.
When your computer cannot communicate with your device, 99.99999% of the time it's caused by the drivers, regardless of what Windows says. Sometimes you can just reinstall over the old ones, but you usually have to uninstall (and delete if possible) the old ones, reboot the computer and reinstall the drivers manually. The first link I gave you has detailed instructions on how to install your drivers. The second link that I gave you explained the problem in detail and provided information for making sure your drivers are configured properly.
In rare cases, switching out your USB cable or trying different USB ports is enough to fix the problem but chances are, it's more likely to be the drivers.
Go back, read, and make absolutely sure you've done EVERYTHING you can to fix your drivers because based on what you've told us, that's probably what your problem is.
Now, on the chance that you have actually done this but are having trouble communicating it effectively, we are going to need some more detailed information as to what steps you have taken to enter the above posted "fastboot" commands and, if any, what type of error messages you've received.
The more detail you're able to provide, the better, as it will help us pinpoint your exact problem and eliminate any possibility of user error.
But it IS commumicating with the Kindle? At least up until that step. It does everything else that it's supposed to.
I've uninstalled the drivers and manually reinstalled them. I don't know what else to do.
Where exactly am I supposed to enter these commands? I keep getting "fastboot is not a recognized internal or external command, operable program, or batch file"
kodasaur said:
But it IS commumicating with the Kindle? At least up until that step. It does everything else that it's supposed to.
I've uninstalled the drivers and manually reinstalled them. I don't know what else to do.
Where exactly am I supposed to enter these commands? I keep getting "fastboot is not a recognized internal or external command, operable program, or batch file"
Click to expand...
Click to collapse
Shift+right click on the KFU "tools" folder containing fastboot.exe and select "Run in Command..."
The prompt that opens up will be where you enter your fastboot commands. Make sure you understand the command before you enter it, especially if it involves the bootloader.
Okay, thanks. When I use that command, it returns either a series of question marks, or "0123456789ABCDEF". Which I now see means that it's in fastboot mode. Now what?
When it returns 123456789ABCDEF enter the following command
fastboot -i 0x1949 oem idem bootmode 4000
...then reboot
When I do that I get
... FAILED (remote failure)
kodasaur said:
When I do that I get
... FAILED (remote failure)
Click to expand...
Click to collapse
Sorry, typo...
fastboot -i 0x1949 oem idme bootmode 4000
Alright, that worked lol. After rebooting?

[Q] Wiped the WHOLE Kindle, Need help ASAP!

so yesterday i got tired of my ICS Rom. So, i went to recovery (TWRP) then recovered my old back up of stock. But since it had all the settings like when I flashed the rom, I Factory reseted it. But then suddenly it had deleted the whole stock rom! Couldn't go back. So my kindle was stuck on recovery loop over and over again. I got really impatient. So I started moving around then I mounted my Kindle to my computer and apped the ICS Rom that I used before. Then it flashed but it was still stuck on recovery. started moving more stuff on it, clicked the partitioning sd card and now I can't mount my kindle via Usb -___- and Then I new it was on Recovery fastboot. Please help! I Need this fixed. it deleted everything. and when I connected it to Adb shell, it says "Missing system/bin/sh"
Help me! i'm going to california on next week and I would like my kindle to work for me to play, listen to music, watch tv on it on the way.
Sorry for bad Grammar -___-
Do you have FFF? Is fastboot working at all? If so, have you tried fastboot oem format? (this will cause all your data to get lost), or booting/reflashing TWRP?
Dasanko said:
Do you have FFF? Is fastboot working at all? If so, have you tried fastboot oem format? (this will cause all your data to get lost), or booting/reflashing TWRP?
Click to expand...
Click to collapse
I Have FFF 1.4, have TWRP 2.1 and fastboot works. But Mounting USB don't work. In recovery it says (cannot mount /sdcard/ (Invalid argument).)
What's the output of
adb shell "parted /dev/block/mmcblk0 p"
?
Can you please explain what that means. i really don't now many of these commands. I need more like a Step-by-step. Like in ADB Shell, it says error: device not found
Luise. said:
Can you please explain what that means. i really don't now many of these commands. I need more like a Step-by-step. Like in ADB Shell, it says error: device not found
Click to expand...
Click to collapse
Means your KF is either not plugged in, or the drivers are wrong. You can't go on until the drivers are properly installed, if that's your issue. Take a look here: http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
Okay, Installed ADB Drives I think it now works it just tells me (exec '/system/bin/sh' failed: No such file or directory (2))
Can you type "fastboot getvar product" and then restart/plug in the KF?
Dasanko said:
Can you type "fastboot getvar product" and then restart/plug in the KF?
Click to expand...
Click to collapse
Yes i did and it says "Kindle"
Get TWRP (http://teamw.in/project/twrp2/79) and type "fastboot boot openrecovery-twrp-blaze-2.1.1.img" and see if you can get ADB working now.
Okay I already have TWRP Installed on 2.1.1 so Do I just go on Recovery and try to work adb shell on there instead of FFF Fastboot?
You just hinted at your ADB not working properly, try to fastboot boot into that TWRP to see if ADB works fine from it (I guess your drivers are good on the Device Manager, no errors or warnings showing up?). If it doesn't, then I guess the alternative is to try restoring the entire stock layout...
okay, I have TWRP, and when i have the usb connected to Kindle while its on Recovery, My Internet i use a Easytether so you can tell what android devices are connected and while my kindle is on recovery, The Easytether says My Kindle can connect, (but it really cant) and the ID Shows up that 0000005 number? but I Really Need My kindle to work! -__-
These issues have been fixed.
For future reference, this user was experiencing a combination of bad drivers and a corrupt sd card partition (rm 12 + mkpartfs primary fat32 start end + name 12 media).
The ADB issues were gone after fixing the drivers, without a need to reinstall TWRP.

[Q] Multiple devices problem while trying to root Kindle Fire

Hi All,
First up the device is Kindle Fire 3.6.2, and im on Windows 7 64 bit.
I first tried using KFU to start the root, but KFU kept hanging when trying to reboot in FastbootMode. The Kindle WOULD boot to fastbootmode, but then KFU was frozen on the line that said somthing like "rebooting to Fastboot mode". It then explained to turn off and on your kindle if it gets stuck, which i did numerous times, but it KFU didnt resume the batch file.
So, I have been following the Guide here:
http://forum.xda-developers.com/showthread.php?t=1638452
And i was able to succeffully install TWRP and backup my system, but TWRP keeps getting frozen on "updating partition", so im not confident that the Backup was successfull, however I can see the backup when i reboot the device in TWRP.
Now im attempting to use the Next few steps to root the kindle, specifically this step:
adb shell mount system
But adb says:
Error - more than one device.
When i query devices I get (shortened for clarity):
123 device
123 recovery
Im not sure why each of my steps have been sooo difficult to root my kindle! I really just want to experience Jelly Bean for the first time in my life!
Is there any tool at this point I can use to do the steps for me more easily? I tried KFU again but it always freezes after rebooting in fastboot mode,
If no tool is available, should i somehow disconnect one of the devices in adb? (I dont know how too).
BTW - I have no other devices other than a mouse attached to my PC!
Thanks so much in advance.
Regards,
Dale
Please, anybody? Ill be very grateful for any help!
help
still would love any help anyone!
dalecameron said:
still would love any help anyone!
Click to expand...
Click to collapse
First of all, when using adb (especially in Windows), always start every adb session with the command 'adb kill-server'. This will prevent previous adb sessions from staying active and causing problems down the line, like with the "multiple devices" error you are receiving.
Also, "updating partition details" in TWRP recovery takes only about a split second, but for some reason doesn't specifically let you know when it's finished. Your backup is in it's place so there's nothing to worry about. Beyond that, you shouldn't be having any problems whatsoever. Your adb shows connected in both normal and recovery modes, which suggests you have access to both, so your problems are all but non-existent.
And finally, you don't need to waste your time trying to "root" your device. When you flash a custom ROM in recovery, it gives you "root" automatically, so all you need to do at this point is use adb to push a ROM to your sdcard, factory reset in recovery, then flash the ROM (and Gapps, of course).
soupmagnet said:
First of all, when using adb (especially in Windows), always start every adb session with the command 'adb kill-server'. This will prevent previous adb sessions from staying active and causing problems down the line, like with the "multiple devices" error you are receiving.
Also, "updating partition details" in TWRP recovery takes only about a split second, but for some reason doesn't specifically let you know when it's finished. Your backup is in it's place so there's nothing to worry about. Beyond that, you shouldn't be having any problems whatsoever. Your adb shows connected in both normal and recovery modes, which suggests you have access to both, so your problems are all but non-existent.
And finally, you don't need to waste your time trying to "root" your device. When you flash a custom ROM in recovery, it gives you "root" automatically, so all you need to do at this point is use adb to push a ROM to your sdcard, factory reset in recovery, then flash the ROM (and Gapps, of course).
Click to expand...
Click to collapse
Thanks SoupMagnet! Much appreciated, and thanks for the adb tip!
dalecameron said:
Hi All,
First up the device is Kindle Fire 3.6.2, and im on Windows 7 64 bit.
I first tried using KFU to start the root, but KFU kept hanging when trying to reboot in FastbootMode. The Kindle WOULD boot to fastbootmode, but then KFU was frozen on the line that said somthing like "rebooting to Fastboot mode". It then explained to turn off and on your kindle if it gets stuck, which i did numerous times, but it KFU didnt resume the batch file.
So, I have been following the Guide here:
http://forum.xda-developers.com/showthread.php?t=1638452
And i was able to succeffully install TWRP and backup my system, but TWRP keeps getting frozen on "updating partition", so im not confident that the Backup was successfull, however I can see the backup when i reboot the device in TWRP.
Now im attempting to use the Next few steps to root the kindle, specifically this step:
adb shell mount system
But adb says:
Error - more than one device.
When i query devices I get (shortened for clarity):
123 device
123 recovery
Im not sure why each of my steps have been sooo difficult to root my kindle! I really just want to experience Jelly Bean for the first time in my life!
Is there any tool at this point I can use to do the steps for me more easily? I tried KFU again but it always freezes after rebooting in fastboot mode,
If no tool is available, should i somehow disconnect one of the devices in adb? (I dont know how too).
BTW - I have no other devices other than a mouse attached to my PC!
Thanks so much in advance.
Regards,
Dale
Click to expand...
Click to collapse
Uncheck the backup of android secure and I believe it will stop hanging at updating partitions.

Soft Brick, couldn't flash anything, now can't mount anything

When I boot to twrp in recovery, I am unable to accomplish anything -- wipe or install. When I try to do either I get an error about "unable to mount sdcard". I have seen this thread, but cannot find the zip mentioned anywhere. I am able to run "adb push" to /sdcard and then to actually see the file pushed there in twrp recovery. I'm just not able to do anything with the pushed file in the install function.
Tried mounting with adb shell, but kept getting error of "Invalid argument". Did discover that /sdcard is /dev/block/mmcblk0p36, and using fdisk in adb shell found that it "doesn't contain a valid partition table". I'm not concerned about losing data. Everything was backed up, but anybody know how to create the correct partition table so I can install a ROM?
Original post:
So I screwed up. I rooted my phone according to this post. Unfortunately I then did something stupid when trying to flash a new recovery and get actual SU privileges to remove bloatware. Instead of going back to the first page in that thread and seeing the links to use there, I followed this guide. Unfortunately, when I ran the script, install-insecure-linux.sh, it flashed the boot.insecure.img and then spit out errors related to incompatibility with the ncurses version on my laptop. It seems difficult if not impossible to downgrade the ncurses without causing a ton of other headaches. It went to reboot and just stayed dead.
Thought I was hosed, but then after charging for a while I got signs of life. Managed to boot to fastboot. Connected back up to the laptop and decided to follow the cyanogenmod guide for installing CM11. Flashed the CM recovery img file successfully but after rebooting I can't do anything.
I still occasionally get into the fastboot on the phone. Running fastboot devices on the laptop lists the phone. Running adb devices does not. Running any other fastboot command sticks at either nothing or <waiting for device>. Running any adb command gives "error: Device not found". I added a udev rule and adb_usb.ini with the device id "0bb4" and mode 0666, but no joy.
I only have a linux machine available at the moment, so I'd prefer suggestions for working in linux. If someone knows of a good Windows solution, I can probably try that in a few days. Thanks in advance.
EDIT: Progress
Noticed that for a second when I first connect to the laptop USB the fastboot menu showed in red FASTBOOT USB before going back to just FASTBOOT. Managed to tee up the command for flashing the twrp recovery img and ran it immediately upon plugging in. Was then able to boot to recovery. Not sure what my next step to getting a working phone is though. Help still appreciated.
My last post got swallowed by the ether I guess. I was able to fix it by formatting the sdcard using mkdosfs -F 32 -n INT_SD -s 64 /dev/block/mmcblk0p36. Then rebooting, wiping, and installing CM11. All is good again.

Categories

Resources