[Q] ERM... I tried something without knowing fully what it would do. - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

I know that it was foolish of me to not fully research this set of commands I have copied the before and after of tit all from the command line. I was attempting to mess around with my phone with QPST. I know, I can REALLY REALLY make things hideous if I don't tread carefully with QPST, but I am willing to take the risk in order to learn, even if I do get burned because my phone bursts into flames.
Any who here is the output from my commandline which I ran because using *#0808# and switching to either RNDIS+DM+MODEM or DM+MODEM+ADB didn't make my phone visible for QPST. And I also tried while in recovery, download mode, and all the other settings in the *#0808# menu, plus variations of the menu and then booting into recovery, normal boot, and download mode. All to no avail, then in frustration I tried the following and it's gotten to the point I can't see my phone via adb anymore. So could someone please give me the undo set of commands for typing into my phones terminal as I can't type them via my computer due to adb not seeing it anymore? Thanks
C:\Users\xxxxx>adb devices
List of devices attached
0123456789ABCDEF device
C:\Users\xxxxx>adb shell
$ echo MODEM USB > /sys/class/sec/switch/usb_sel
echo MODEM USB > /sys/class/sec/switch/usb_sel
cannot create /sys/class/sec/switch/usb_sel: permission denied
$ su
su
# echo MODEM USB > /sys/class/sec/switch/usb_sel
C:\Users\xxxxx>adb shell
error: device not found

Oh!, and if anyone can explain either what the commands did or better yet where I can go read about such commands and what they do that would be great too. Thanks

Not sure how relevant this is or if it will help you but this man seems to be in kinda the same boat, why don't you take a look at this thread particularly post #2 http://forum.slimroms.net/topic/2008-broken-usbuart-path-causing-loss-of-adb/
Sent from my Nexus 7 2013 using Tapatalk

crazymonkey05 said:
Not sure how relevant this is or if it will help you but this man seems to be in kinda the same boat, why don't you take a look at this thread particularly post #2 http://forum.slimroms.net/topic/2008-broken-usbuart-path-causing-loss-of-adb/
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Thank you for the link I haven't tried anything based on the information yet, actually haven't read it all yet. Very complex stuff just lets me know how far I have to go. Odd thing is that I now for some reason have ADB working again. I did a factory reset recently and the other day I reinstalled/refreshed my computer. My computer was infected by a bunch of viruses and malware the phone was just sluggish and I had way more apps I wanted rid of than to keep. Anyway, I don't know if the virus on my system had anything to do with the malfunction or if it was the command I used but for now it is back to working.
I was working on a friends HTC Desire and was having a hell of a time getting fastboot commands to work. I got hboot USB working but when giving a command it would generate a "device connected toi USB has malfunctioned" also the USB ports would shut off untill reboot too intermittantly and even my wifi three or four days ago became disabled and I reset the adapter fine for 5mins then it went a level deeper and deeper till I reinstalled the driver. That being said it is more likely that it was the virus and or the person messing with my system that was causing all the grief. They even triggered email alerts on a couple of my accounts that passwords were input wrong 5 times in a row and that some security settings were being changed. Hopefully I have dealt with that if not I'll have to wait till they get bored. Sorry if that was a little off topic it sort of conencts to my recent problems.

Related

[Solved] Question: How to root MyTouch Slide using OSX?

wdfowty said:
I'm having a few issues using my bootcamp partition for this (in Parallels), following eugene and king_fyo's tutorials, and was wondering what it would take to root my MyTouch3gS using osx?
I am semi-familiar with ADB, and I have made the loop.sh script, but i'm stuck at that point.
Here are my main questions:
-How to you get the loop to stop? I have to quit Terminal app to stop it.
-Any other things to know? Tips? Success stories? Tutorials maybe (or even a quick and dirty how-to?)
Thank you for your time, and for not flaming the newb
Click to expand...
Click to collapse
EDIT: SOLVED!
So, I'm waiting for my Nexus one to come in the mail, and I think to myself, "Why not give rooting the slide another go?"
Worked second try. How's that for random....
So, here's how I made it work...Dunno if it was 'luck of the draw', but here ya go anyways...Hope it helps someone!
1. Instead of turning off the phone normally, I rebooted straight into recovery, with the phone being on first.
Code:
./adb reboot recovery
2. While rebooting, MANUALLY search for devices as soon as you can type it in, repeating rapidly (This made the difference for me).
Code:
./adb devices
3. You should catch the device in offline mode right before the recovery screen. Unplug device for 5 seconds or so, then plug it back in.
Code:
./adb devices
List of devices attached
HT05MPS02279 recovery
4. You should see your device in recovery, then you're good to go. If not try again.
How to you get the loop to stop? I have to quit Terminal app to stop it.
Click to expand...
Click to collapse
No, simply hit <control> c from inside the Terminal app to break out of the shell script.
Any other things to know?
Click to expand...
Click to collapse
Not really, it may take you several tries to get this as it did for people using M$ Winblows. I tried it about 20 - 30 times on XP and never was successful. After switching to my mac, I got root on the 5th try!
My suggestion is to follow Eugene's guide, it worked great for me! If you have problems, post them here and myself or others will try to help you.
Good luck!
wdfowty said:
I'm having a few issues using my bootcamp partition for this (in Parallels), following eugene and king_fyo's tutorials, and was wondering what it would take to root my MyTouch3gS using osx?
I am semi-familiar with ADB, and I have made the loop.sh script, but i'm stuck at that point.
Here are my main questions:
-How to you get the loop to stop? I have to quit Terminal app to stop it.
-Any other things to know? Tips? Success stories? Tutorials maybe (or even a quick and dirty how-to?)
Thank you for your time, and for not flaming the newb
Click to expand...
Click to collapse
So I set up my camera to record myself rooting my phone using OSX and a couple friends walked into the room. I got distracted explaining what it was I was doing and didn't make the how to. If I have free time tomorrow afternoon I can make a how to vid. My girlfriend just got her slide yesterday and I believe she wants me to root it.
it's exactly the same doing it in Mac OSX as doing it in Windows except you don't have to worry about drivers. Make sure you get android SDK for Mac OSX and that you put it somewhere that is in your PATH variable.
But if you feel more comfortable doing it from Bootcamp Windows partition -- by all means do that.
Don't boot camp it... lol
I'll be posting a Mac OSX version of Eugene's Root Method shortly.
sk8rbebop, Fordude, stangri, Thanks for the quick replies! Wasn't expecting anything so soon!
I think I have tried to press CMD+C to stop the script, must have been my problem. lol.
@stangri What do you mean by PATH variable? I have the Android SDK installed in my home folder...
@sk8rbebop That's pretty funny . I'm going to have a go at it right now, I'll edit this post with my results.
edit: I don't know if this is right, but I stop the script when I see the device in offline mode. But when I unplug device, re-plug and run ./adb devices nothing shows up. The same happens if I don't unplug.
edit2: Still nothing. adb never recognizes device after I stop the loop.
I threw up a guide. Hope it helps.
Don't shut off the loop until something displays under the devices.
Re: Question: How to root MyTouch Slide using OSX?
When u connect the slide to your mac and type "adb devices", do you see your phone listed? Crucial first step before moving on.
To make things a little easier for me, I put the sdk tools folder in my path so I could issue adb commands in any directory I want to.
Sent from my T-Mobile myTouch 3G Slide using Tapatalk
@sk8rbebop Read the guide and i'm still stuck at the loop. I'm having the same issues as earlier, the device will show for a little bit but right before the recovery screen shows, it dissapears. I was stopping the script once I saw the device, before it "dissapeared". Stopping the script after it dissapears does the same...
BTW, I've noticed that I need to start the adb daemon before I run the loop in order for it to even see the device in the loop. Odd.
@Fordude Yes, if I run ./adb devices when the phone is on I get my serial number and it says "device".
edit: I found that I am running an out of date SDK revision, so I am updating to the newest (revision 6), lets see if that makes any difference...
edit 2: No dice. Lame. Oh well I guess...Try try again. My mac seems to be determined not to let this happen
update: So, I'm getting a nexus. Thanks all for your help, happy hacking!
SOLVED
post removed

Help, Please

So, I have tried all methods posted here. I have not gotten a new sdcard, so that could be it, but if you sift through all these threads, many people have gotten root with the card that came from verizon. Also, would it help to wipe out my phone? Not exactly sure how to do it, but would it help? Also, I hear my phone connect with the usb sounds, but it seems like sometimes I get a quick 3 tones and it doesn't connect. Not sure what that means either.
If anyone can please help, I would appreciate it!
if your not sure if it connected right, open the device manager and see if it is appearing on there.
As far as i know wiping your phone probly won't really help much either.
rstandi said:
So, I have tried all methods posted here. I have not gotten a new sdcard, so that could be it, but if you sift through all these threads, many people have gotten root with the card that came from verizon. Also, would it help to wipe out my phone? Not exactly sure how to do it, but would it help? Also, I hear my phone connect with the usb sounds, but it seems like sometimes I get a quick 3 tones and it doesn't connect. Not sure what that means either.
If anyone can please help, I would appreciate it!
Click to expand...
Click to collapse
There are about 10 threads on adb shell/rooting difficulties already. Why didn't you just bump an older one?
When you connect the usb to the phone what mounting setting did you select? It needs to be on charge only.
So, I have tried all methods posted here.
Click to expand...
Click to collapse
I have rooted two phones using various methods. The Easiest method? Who knows, but this is what I did, I in NO way take credit for this method. This is a culmination of various methods I found on various forums. Thank you to everyone here and on androidforums. Give it a shot.
1. Uninstall HTC sync and PDAnet (If installed)
2. Install drivers as specified for re-flash recovery from revoked team (HTML file has instruction in recovery zip - unrevoked.com/recovery/android-usb-driver.zip
3. Restart PC
4. Install PDANet - junefabrics.com/android/
5. Make sure to complete all steps for PDANet
6. Make default connection on phone, "Disk Drive" AND Turn on "USB Debugging"
7. Shut down the phone
8. Unclick the card
9. Volume down + Power into bootloader
10. Run adb shell in cmd prompt as loop(loop.bat)
11. Start recovery and wait .5 - 1 second after you hear the disconnect sound to click in your card.
12. You should see error device not found change to the other message IF LUCKY.
13. IF NOT,
- Let loop.bat continue to run
- Pull battery, unclick SD card
- Vol down + Power
- Recovery
- Listen for 2 tones (Count aloud..it helps)..
Quick - Insert card right after/during second (Change timing up slightly between tries)
Keep trying, my second root didn't take as long as my first but was easier. I think the unrevoked bootloader drivers with the PDANet usb drivers really make this easier. The other great thing is after you get root, you are set up to do the flash immediately using this method. Its just one more method that worked for me, hope this method helps you succeed. Good luck.
can anyone definitively explain to me which type of usb connection (e.g. "charge only", "disk drive") is necessary to get into shell and why? I have looked at what the various threads have to say about this. In fact that's the problem--I have found contradicting opinions posted on this matter. In my admittedly inexperienced mind, it seems like I should be fine either way, as long as adb recognizes my device.
davisbs999 said:
can anyone definitively explain to me which type of usb connection (e.g. "charge only", "disk drive") is necessary to get into shell and why? I have looked at what the various threads have to say about this. In fact that's the problem--I have found contradicting opinions posted on this matter. In my admittedly inexperienced mind, it seems like I should be fine either way, as long as adb recognizes my device.
Click to expand...
Click to collapse
I used disk drive the first time, and can not recall what I used on my second device. I see that it is contradicting throughout. I really do not think it even makes a difference because you are doing a battery pull and it never reaches that step on the phone. The important thing in my opinion are the drivers and timing.
Studmf said:
I used disk drive the first time, and can not recall what I used on my second device. I see that it is contradicting throughout. I really do not think it even makes a difference because you are doing a battery pull and it never reaches that step on the phone. The important thing in my opinion are the drivers and timing.
Click to expand...
Click to collapse
I rooted my cousin's Droid Incredible and I had Disk Drive enabled. I just want to say THANK YOU Studmf!!!!! I was stuck because I had HTC Sync installed and was stuck forever trying to root the Incredible. The instructions that I WAS following left that detail out.

Can someone offer some guidance? Please.

Hey guys. Please forgive anything dumb I might say, and also that I've searched a bit for this, on google and on xda, but seem to be getting a bit confused. First, let me say, I rooted my evo months ago, using Unrevoked 3.21. I never really have had to use ADB for anything, I use terminal emulator or Root Explorer for anything I have needed to do. My friend just got an Evo today, and I'm assuming it will come with 3.70 software and hboot 2.1. She wants me to root it for her, which I will do, once I feel comfortable with the steps I need. I have followed ziktroniks thread of how to root the new hboot since it was called "like a boss" edition, and I feel like I shouldn't have a problem doing that. I can follow instructions pretty well. The problem I'm having is, since I rooted using Unrevoked 3.21, and I've never had to use ADB, I'm a little confused about what I need to do, and what drivers I need to install to get ADB working. I know that at the time I rooted, I installed Unrevoked hboot drivers on my computer. I downloaded the android SDK tools, but am having trouble getting it set up. When I try to run the installer, it says "android SDK relies on the Java SE Development Kit (JDK). Then it provides a link to the java website, and I downloaded and installed the JDK that it pointed me to. However, when I try to set up the android SDK, it brings me to same prompt, saying android SDK relies on Java SE Development Kit, and that i need to install it first, which I thought I already have. I'm sure it's something stupidly simple, and I feel embarassed that I haven't yet got ADB set up, but hey, I guess there's a first for everything. So if anyone could be so kind to help point me in the right direction to getting ADB set up, I'd be very gratefull for that. I've gone long enough without knowing how to use ADB, and I'd really like to get this ironed out.
My computer is running windows vista, 64 bit system, if that helps out at all.
Thanks in advance.
I just came over to check out your question from Myn's thread... I did not have the problem you mention when I set up ADB, so I cann't be of much use there.
I noticed you have WIN 64bit. You may have a hard time finding the drivers you will need for the computer to recognize your phone. If you end up needing them, PM me and I can throw them in dropbox and get a link for you. Good luck with everything.
Yeah, getting the 64 bit drivers might be a problem, but when you do it'll be easy if you remember this:
If you've used Terminal Emulator then ADB is demystified. Once you confirm the drivers are working, ADB is just Terminal Emulator on your computer.
I use Vista (I actually like it!), but I assume you have a Start Menu on W7...open it and at the bottom is the Start Search box. Type cmd and an old-style DOS prompt/box will come up. Once you've used the commands to log onto the phone (sorry I forgot them, but I'm sure they're in the directions, if not PM me and I'll look 'em up) that DOS box is exactly like Terminal Emulator.
And the rest should be easy to follow. It'll make you smile the first time the phone reboots after you issue a command on the 'puter, it did me.
Hope this helps...
[EDIT] here y'go...this is a good one...
http://forum.xda-developers.com/showthread.php?t=502010
Thanks for the quick responses guys, I've made some progress. I will post back in a few and let you know how I'm making out. Thanks again.
k2buckley said:
Hey guys. Please forgive anything dumb I might say, and also that I've searched a bit for this, on google and on xda, but seem to be getting a bit confused. First, let me say, I rooted my evo months ago, using Unrevoked 3.21. I never really have had to use ADB for anything, I use terminal emulator or Root Explorer for anything I have needed to do. My friend just got an Evo today, and I'm assuming it will come with 3.70 software and hboot 2.1. She wants me to root it for her, which I will do, once I feel comfortable with the steps I need. I have followed ziktroniks thread of how to root the new hboot since it was called "like a boss" edition, and I feel like I shouldn't have a problem doing that. I can follow instructions pretty well. The problem I'm having is, since I rooted using Unrevoked 3.21, and I've never had to use ADB, I'm a little confused about what I need to do, and what drivers I need to install to get ADB working. I know that at the time I rooted, I installed Unrevoked hboot drivers on my computer. I downloaded the android SDK tools, but am having trouble getting it set up. When I try to run the installer, it says "android SDK relies on the Java SE Development Kit (JDK). Then it provides a link to the java website, and I downloaded and installed the JDK that it pointed me to. However, when I try to set up the android SDK, it brings me to same prompt, saying android SDK relies on Java SE Development Kit, and that i need to install it first, which I thought I already have. I'm sure it's something stupidly simple, and I feel embarassed that I haven't yet got ADB set up, but hey, I guess there's a first for everything. So if anyone could be so kind to help point me in the right direction to getting ADB set up, I'd be very gratefull for that. I've gone long enough without knowing how to use ADB, and I'd really like to get this ironed out.
My computer is running windows vista, 64 bit system, if that helps out at all.
Thanks in advance.
Click to expand...
Click to collapse
I didn't use windows to root my evo, I used a mac, and I do all my java development on a debian linux box, but I think the problem may have to do with your computer using the wrong java by default. On mac and linux, this is controlled by the environmental variable $JAVA_HOME, on windows, I have to assume there is a similar variable, or registry entry - I am looking it up on google right now...
Here we go, I found it - try the directions on this page:
http://confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows
hopefully this helps
oh, one other thing, I noticed you said she has hboot 2.10, and I think "like a boss" technique is for hboot 2.02. I think for 2.10 you need to find a thread entitled something like "like wood on fire", or something - although I may be wrong, maybe they updated the "like a boss" thread to cover hboot 2.10 also. Just wanted to make sure you double-check.
Good luck.
Bleys43 said:
oh, one other thing, I noticed you said she has hboot 2.10, and I think "like a boss" technique is for hboot 2.02. I think for 2.10 you need to find a thread entitled something like "like wood on fire", or something - although I may be wrong, maybe they updated the "like a boss" thread to cover hboot 2.10 also. Just wanted to make sure you double-check.
Good luck.
Click to expand...
Click to collapse
Thanks for the heads up. Yea, that thread has been updated and the name has changed nearly daily. Right now it just changed to something else "The final edition" or something like that, yesterday it was "yea, yes im on top" or something like that. ha. I feel confident that I can execute the necessary commands, once i get this damn ADB up and running. I find myself getting confused. I got the java issued figured out, and installed the Android SDK started package. Im reading more before I attempt anything, but the problem I find is that half or more of the stuff I find while searching, is out dated I think. I keep landing threads and such from june and july, and i'm not sure if that's current or obsolete. **** changes so much. So where I'm at now, is the android SDK tools windows is installed, and I'm kinda at a standstill right now. Lol. I see a late night this evening.
And just to mention, to my surprise, her brand new white evo came with : hardware 004, hboot 2.02, software 3.30. I would've thought it'd come with the latest OTA update and hboot etc. Guess I was wrong. Anyways, shouldn't affect much I don't think, if I can ever get ADB to set up correctly. Any other/additional advice is more than welcomed. My pm inbox has plenty of room. THanks
Alright, I am kind of stuck here, I believe that I have everything installed and all the drivers I need, following the links you guys posted here. I open a command prompt, and when it opens initially, it reads : C:\Users\Kyle> Then I enter C:\ android-sdk-windows\tools Then the initial prompt changed from C: \users\kyle> to C:\android-sdk-windows\tools> Thats as far as I get. I tried typing adb devices, and I got 'adb' is not a recognized as an internal or external command.
Im not sure where to go from here. If anyone could point me in the right direction from here, it would be super appreciated. I feel like I'm getting very close here, I just don't know what to check next?? Thanks in advance.
Try this thread. It has a lot of ADB info.
http://forum.xda-developers.com/showthread.php?t=694250
damn, well I think I'm at a standstill for tonight. All the info you guys have posted has been very helpful, however I'm still unable to get it working. I'm pretty sure I have all the drivers that I need installed. I have usb debugging checked on the phone. HTC sync is installed, along with some other drivers that I have found while researching adb. I'm either missing something big, or I'm making stupid mistakes. I just can't seem to get it to work. Any time I type anything 'adb' into the command prompt, it says that adb is not a recognized command, internal or external. So I'm assuming that I must not have the right drivers. Also, just so I understand, if anyone could confirm this. While trying to use adb, does the phone have to be in bootloader? recovery? Booted into the OS, connected as charge only? I seem to be finding conflicting information.
First, I believe you need to get rid of HTC Sync, or at very least make absolutely certain it isn't running...it conflicts with adb.
Second, when it's plugged into USB, make sure your phone's in the "Charge Only" mode.
Third, make sure that under "Settings, Applications, Development" you've got "USB Debugging" checked.
Ok, so when SDK installed itself it should have created a sub-directory (I'm using your screen name as 2nd directory, but substitute the correct one)
C:\Users\K2Buckley\android-sdk-windows\platform-tools
In this directory should be 2 files: "adb.exe" and "adbwinapi.dll". Copy them to your windows\system32 (64?) folder. This will/should allow you to run ADB from any directory, and eliminate the need for you to add anything to your Environment Variables.
Now, if your drivers are running properly and your phone's plugged in, open the Command Prompt by going to the Start Menu, and in the Start Search box at bottom type CMD.
No matter which directory it opens in you should be able to run adb, so as a test, type
adb devices
If it's working, (and it should be), you'll see your phone's ID come up.
You can then do a directory change to whatever directory on your puter you have put all the files you're going to need for your process. For instance I would type
cd c:\users\neil\evo-rooting
That command prompt should pop up. From that point on follow your directions to push, pull, reboot, etc. whatever is called for right from that command prompt. As an example, if I wanted to "push" the file "warm22rom.zip" from that directory to the "zip" directory on my sd card, from that C:\USERS\NEIL\EVO-ROOTING command prompt I'd type
adb push warm22rom.zip sdcard/zip
And if I wanted to reboot my phone from the computer, from that command prompt I'd type
adb reboot
In fact, try that one as a test (be patient, it takes about 20-30 seconds to execute but it's a trip when your phone boots...).
I've just run through this whole process myself just to make sure it works. It does. So if it doesn't work for you, it's gotta be the drivers.
2 other quick checks:
In your computer's Device Manager should be "Android Phone" with "Android Composite ADB Interface" listed if you click the plus sign...
and/or
In Vista, when I plug the phone into the USB port, a little gray square with a white check in a green circle pops up on the right side of my task bar (you should have something similar). This is the "Safely Remove Hardware" icon, and if I double click it it opens a box that shows me what devices/drivers are installed. In that box are 2 things you need to look for: a single line that says "Android Composite ADB Interface" and a short "tree" that reads "USB Mass Storage Device, HTC Android Phone USB Device, Generic Volume - J" (this is my SD Card designation).
If you see these things, or something close, you've got it all installed right.
It's up to you now...go forth and Root, and ADB to your heart's content.
Good luck, I hope this helped.
Fail for me. I feel like a moron. Still can't get this going. Don't know what the hell I'm missing. Anything special that I'm missing about using a 64 bit system? I'm officially stumped. I don't know how much it matters, but can't seem to find any threads/guides specific to the Evo. I keep finding them for moto droid, g1, vibrant. I must be too tired and not thinking straight.
I also keep finding information saying that there should be an adb.exe file in the tools folder, as well as a couple .dll files. I can't find any anywhere on my computer, not even when I search. So does this mean I have either not extracted to the right place or something? Now I'm more lost. F*_k.
Persnlmgr said:
First, I believe you need to get rid of HTC Sync, or at very least make absolutely certain it isn't running...it conflicts with adb.
Second, when it's plugged into USB, make sure your phone's in the "Charge Only" mode.
Third, make sure that under "Settings, Applications, Development" you've got "USB Debugging" checked.
Ok, so when SDK installed itself it should have created a sub-directory (I'm using your screen name as 2nd directory, but substitute the correct one)
C:\Users\K2Buckley\android-sdk-windows\platform-tools
In this directory should be 2 files: "adb.exe" and "adbwinapi.dll". Copy them to your windows\system32 (64?) folder. This will/should allow you to run ADB from any directory.
Now, if your drivers are running properly and your phone's plugged in, open the Command Prompt by going to the Start Menu, and in the Start Search box at bottom type CMD.
No matter which directory it opens in you should be able to run adb, so as a test, type
adb devices
If it's working, (and it should be), you'll see your phone's ID come up.
You can then do a directory change to whatever directory on your puter you have put all the files you're going to need for your process. For instance I would type
cd c:\users\neil\evo-rooting
That command prompt should pop up. From that point on follow your directions to push, pull, reboot, etc. whatever is called for right from that command prompt. As an example, if I wanted to "push" the file "warm22rom.zip" from that directory to the "zip" directory on my sd card, from that C:\USERS\NEIL\EVO-ROOTING command prompt I'd type
adb push warm22rom.zip sdcard\zip
And if I wanted to reboot my phone from the computer, from that command prompt I'd type
adb reboot
In fact, try that one as a test (be patient, it takes about 20-30 seconds to execute but it's a trip when your phone boots...).
I've just run through this whole process myself just to make sure it works. It does. So if it doesn't work for you, it's gotta be the drivers.
2 other quick checks:
In your computer's Device Manager should be "Android Phone" with "Android Composite ADB Interface" listed if you click the plus sign...
and/or
In Vista, when I plug the phone into the USB port, a little gray square with a white check in a green circle pops up on the right side of my task bar (you should have something similar). This is the "Safely Remove Hardware" icon, and if I double click it it opens a box that shows me what devices/drivers are installed. In that box are 2 things you need to look for: a single line that says "Android Composite ADB Interface" and a short "tree" that reads "USB Mass Storage Device, HTC Android Phone USB Device, Generic Volume - J" (this is my SD Card designation).
If you see these things, or something close, you've got it all installed right.
It's up to you now...go forth and Root, and ADB to your heart's content.
Good luck, I hope this helped.
Click to expand...
Click to collapse
Whoa, thanks dude. I'm going to try that right now. I made my last post as you were typing that up apparently, I was ready to throw in the towel, but I'm going to try what you said. Thats very very close to what i was doing, out of all the different tutorials i was trying to follow.
I still couldn't find the .exe or .dll files, so I have no clue what happened there. I'm going to try re installing sdk all together and see if I can get this. Thanks again dude, I know it's late, I appreciate you taking the time to type that up.
. I'm going to give this a try.
And yes, by the way, the drivers listed in my "safely remove hardware" are the same as what you have there. I'm reinstalling the sdk tools now. Hopefully that adb.exe file is there. Before, all that was there was 'adb', among some other folders. I'm assuming there needs to be one that is actually 'adb.exe', correct? when i clicked on the properties of that 'adb' one that was there, it said 'file type: .exe (application)'. Is that what I'm looking for?
http://developer.android.com/sdk/index.html
that is the site I downloaded the sdk tools from, the one for windows that says 'installer ro8 windows.exe (recommended) Does that appear to be the correct one? Once i downloaded that, the installer popped up, installed everything, then sdk manager popped up, requested that I download and install some stuff (android platforms?). Once that's finished, that should be it, right? Just want to make sure I haven't been missing a step or something.
(and thanks for your patience with me, I'm learning though. all the flashing I've done in the past few months, still can't believe that I never took to the time to learn adb. now I know why people are against Unrevoked, cuz I didn't learn sh!t by doing that. A few clicks and I was rooted and flashing away!)
well. I fubared something, ha. This is becoming comical. I followed what you said. The only thing is, which I'm sure this is the issue...after sdk tools installed again, there was still no 'adb.exe' folder in platform-tools. just 'adb'. The adbwinapi.dll was there, and i copied it to "windows/system32" I copied the 'adb' to that folder as well. So either the 'adb' that i copied was incorrect, and I have no idea where that damned 'adb.exe' is at, or i was supposed to move or cut them, rather than copy. either way, i give up for tonight, need some sleep.
when I opened a command prompt, and typed 'adb devices', a windows error with a red x pops up (outside the command prompt) that reads "this application has failed to start because AdbWinApi.dll was not found. Re installing the application may fix the problem". Then I click ok.. Then it says "adb.exe has stopped working, a problem caused the program to stop working correctly. windows will close the program and notify you if a solution is available" HA. DAMn I suck.
Not thinking clearly right now, need some sleep. Thanks again, hopefully we can get this straightened out tomorrow, or later today i guess it is now, damn its late.
Edit!! whoa! My final attempt was to copy the adbwinapi.dll to windows\system (instead of system32), and i believe that worked. I typed in adb devices, and I got "list of devices attached HT0###L00069 device" I assume that's my Evo? Hooray! Thank you so much man, I cannot express how happy I am right now, ha. That adb reboot kicked ass, lol. Now I can learn some stuff.
Finally, last question. My friend (who's phone I was going to root) had to leave hours ago. I was using my phone to do this and get it working. When I go to root her phone, in theory, should it connect to adb just fine at this point? Thanks again man, you were a huge, massive help.
I suck. I had it working. For some reason, through my tiredness and confusion, I thought I had to type "adb kill-server" to exit adb. After I did that, now if I type anything starting with adb, it says:
"daemon not running. starting it now on port 5037
CreateProcess failure, error 2
failed to start daemon
error: cannot connect to daemon"
Have no idea what the eff I did. Tried doing some research, will have to check more tomorrow. I tried adb start-server, and got the same message. Rebooted phone and computer, same thing. So i messed something up. Anyone know what I did and what i could try to get it working again? damn i suck.
k2buckley said:
I suck. I had it working. For some reason, through my tiredness and confusion, I thought I had to type "adb kill-server" to exit adb. After I did that, now if I type anything starting with adb, it says:
"daemon not running. starting it now on port 5037
CreateProcess failure, error 2
failed to start daemon
error: cannot connect to daemon"
Have no idea what the eff I did. Tried doing some research, will have to check more tomorrow. I tried adb start-server, and got the same message. Rebooted phone and computer, same thing. So i messed something up. Anyone know what I did and what i could try to get it working again? damn i suck.
Click to expand...
Click to collapse
The "kill-server" should not have completely disabled ADB. Relax until you get her phone, then do everything you did to yours to hers. It should re-start. Yes, "adb.exe" was the proper file (not folder) to have moved into your computer windows\system(32,64,-) directory, as was the dll file. Obviously. Or it never would've told you the device ID.
You're on the right track.
And, when in doubt, issue that "adb reboot" command. It's not gonna hurt the phone and it'll let you know if ADB is working... Just don't do it halfway through any process.
And stop experimenting with things like adb kill-server, dummy!!! The only way you need to know to STOP adb is you DON'T NEED TO STOP ADB! It's not like a background program that you need to kill when you're done.
The way to "stop" or "kill" ADB is simply not to issue ADB commands. And when you close that Command Prompt box, ADB IS closed.
Okay, I just tried issuing the adb kill-server command. It takes me back to a DOS prompt with no notes. Then I typed ADB and my daemon started back up. I then issued adb start-server and it took me back to a blank (no notes) command prompt.
Don't know why it completely shut down your ADB, but I think when you plug her phone in you'll have a fresh start and it'll all work.
Start with adb devices, then if it shows her ID, issue adb reboot. If the phone reboots, you're good to go forward.
[EDIT] Okay, I just tried something I should've told you to try: without the phone plugged in, open the Command Prompt and type adb devices. Prompt should come back up as below. I then issued adb kill-server. Again, see below, nada. But then I issued adb start-server and got what you see in the string below:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Neil>adb devices
List of devices attached
[blank, so none]
C:\Users\Neil>adb kill-server
[blank]
C:\Users\Neil>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\Users\Neil>[blank]
Yours should look and work like this. If it does, plug in the phone and get started.
If not, pull out that .38 on the top shelf of your closet. Put in only 1 bullet. Spin chamber. Point at head. Pull trigger.
If you're still standing, (that's a good sign), go back to step one (unplug phone, reboot phone and computer), and try, try again. (Or Google Chat me...I PMd my screen name to you).
Just saw this one...responses in Green
k2buckley said:
Whoa, thanks dude. I'm going to try that right now. I made my last post as you were typing that up apparently, I was ready to throw in the towel, but I'm going to try what you said....
I'm assuming there needs to be one that is actually 'adb.exe', correct? when i clicked on the properties of that 'adb' one that was there, it said 'file type: .exe (application)'. Is that what I'm looking for?
YES INDEED!!
that is the site I downloaded the sdk tools from, the one for windows that says 'installer ro8 windows.exe (recommended) Does that appear to be the correct one? Once i downloaded that, the installer popped up, installed everything, then sdk manager popped up, requested that I download and install some stuff (android platforms?). Once that's finished, that should be it, right? Just want to make sure I haven't been missing a step or something.
All Good
(and thanks for your patience with me, I'm learning though. all the flashing I've done in the past few months, still can't believe that I never took to the time to learn adb. now I know why people are against Unrevoked, cuz I didn't learn sh!t by doing that. A few clicks and I was rooted and flashing away!)
We all have to start somewhere. And I used Unrevoked, too, so had to go back and learn ADB
well. I fubared something, ha. This is becoming comical. I followed what you said. The only thing is, which I'm sure this is the issue...after sdk tools installed again, there was still no 'adb.exe' folder in platform-tools. just 'adb'. The adbwinapi.dll was there, and i copied it to "windows/system32" I copied the 'adb' to that folder as well. So either the 'adb' that i copied was incorrect, and I have no idea where that damned 'adb.exe' is at, or i was supposed to move or cut them, rather than copy. either way, i give up for tonight, need some sleep.
when I opened a command prompt, and typed 'adb devices', a windows error with a red x pops up (outside the command prompt) that reads "this application has failed to start because AdbWinApi.dll was not found. Re installing the application may fix the problem". Then I click ok.. Then it says "adb.exe has stopped working, a problem caused the program to stop working correctly. windows will close the program and notify you if a solution is available" HA. DAMn I suck.
No you don't. You're doing good...
Not thinking clearly right now, need some sleep. Thanks again, hopefully we can get this straightened out tomorrow, or later today i guess it is now, damn its late.
Edit!! whoa! My final attempt was to copy the adbwinapi.dll to windows\system (instead of system32), and i believe that worked. I typed in adb devices, and I got "list of devices attached HT0###L00069 device" I assume that's my Evo? Hooray! Thank you so much man, I cannot express how happy I am right now, ha. That adb reboot kicked ass, lol. Now I can learn some stuff.
Agreed. Totally trippy when you type on the 'puter and the phone reacts
Finally, last question. My friend (who's phone I was going to root) had to leave hours ago. I was using my phone to do this and get it working. When I go to root her phone, in theory, should it connect to adb just fine at this point? Thanks again man, you were a huge, massive help.
Click to expand...
Click to collapse
YES INDEED IT SHOULD CONNECT, and you're very welcome!!
I still really don't understand why anyone has to install SDK if they're only going to tweak their phone and not write programs. That's what SDK is for. I think the whole SDK Install thing is just to get those f-ing USB drivers...which seems patently absurd.
SO FORGET SDK AND JUST CONCENTRATE ON ADB...
Persnlmgr said:
Okay, I just tried issuing the adb kill-server command. It takes me back to a DOS prompt with no notes. Then I typed ADB and my daemon started back up. I then issued adb start-server and it took me back to a blank (no notes) command prompt.
Don't know why it completely shut down your ADB, but I think when you plug her phone in you'll have a fresh start and it'll all work.
Start with adb devices, then if it shows her ID, issue adb reboot. If the phone reboots, you're good to go forward.
[EDIT] Okay, I just tried something I should've told you to try: without the phone plugged in, open the Command Prompt and type adb devices. Prompt should come back up as below. I then issued adb kill-server. Again, see below, nada. But then I issued adb start-server and got what you see in the string below:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Neil>adb devices
List of devices attached
[blank, so none]
C:\Users\Neil>adb kill-server
[blank]
C:\Users\Neil>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\Users\Neil>[blank]
Yours should look and work like this. If it does, plug in the phone and get started.
If not, pull out that .38 on the top shelf of your closet. Put in only 1 bullet. Spin chamber. Point at head. Pull trigger.
If you're still standing, (that's a good sign), go back to step one (unplug phone, reboot phone and computer), and try, try again. (Or Google Chat me...I PMd my screen name to you).
Click to expand...
Click to collapse
Well I'm awake and rested! Now that I'm not stupidly tired, I think I remember something bad. For some reason, I'm thinking I might've, just possibly, typed adb kill. as opposed to adb kill-server. I probably did just that, killed adb! But yea, even with the phone disconnected, if I type adb devices, i get the same error message, failed to start daemon. Crap. Wonder if I should start all over? Or if "kill adb' did something worse. The reason I tried to do that (which I know I shouldn't have, and I've learned a lesson from it) is because when I tried to removed the device, from the "safely remove hardware", it wouldn't let me stop the "adb compositte interface" because it said something was still using it. I had everything closed, no windows of any sort open. I thought to myself, "hmm, adb must still be connected to my phone somehow, perhaps i need to kill it before I can unplug the phone." So, that was my dumbass reasoning. But I do think I typed "adb kill" When I typed that, no errors came up, and it did indeed allow me to stop the device. However, it's just when I try any other adb commands now. If I type "adb", it pops up a crapload of information, looks like it shows me a bunch of different adb commands. but as soon as I type anything after "adb" such as "adb devices," "adb start-server" or whatever, it gives me the error message and says failed to start daemon. So I believe i effed something up.
k2buckley said:
Well I'm awake and rested! Now that I'm not stupidly tired, I think I remember something bad. For some reason, I'm thinking I might've, just possibly, typed adb kill. as opposed to adb kill-server. I probably did just that, killed adb! But yea, even with the phone disconnected, if I type adb devices, i get the same error message, failed to start daemon. Crap. Wonder if I should start all over? Or if "kill adb' did something worse. The reason I tried to do that (which I know I shouldn't have, and I've learned a lesson from it) is because when I tried to removed the device, from the "safely remove hardware", it wouldn't let me stop the "adb compositte interface" because it said something was still using it. I had everything closed, no windows of any sort open. I thought to myself, "hmm, adb must still be connected to my phone somehow, perhaps i need to kill it before I can unplug the phone." So, that was my dumbass reasoning. But I do think I typed "adb kill" When I typed that, no errors came up, and it did indeed allow me to stop the device. However, it's just when I try any other adb commands now. If I type "adb", it pops up a crapload of information, looks like it shows me a bunch of different adb commands. but as soon as I type anything after "adb" such as "adb devices," "adb start-server" or whatever, it gives me the error message and says failed to start daemon. So I believe i effed something up.
Click to expand...
Click to collapse
Okay, well as I said, **** SDK, it's irrelevant.
"You need the driver only if you are developing on Windows and want to connect an Android-powered device to your development environment over USB."
So, go here ( http://developer.android.com/sdk/win-usb.html ) to get and (re)install the ADB Composite drivers. You should not have to do anything else. If they ask WHERE you want to install them, either direct them to the root of your harddrive, likely C:\ , or if you can set the directory where the DRIVERS (not the program) goes, choose WINDOWS.
Then you should be ready to go back and follow the rest of my instructions easily.
BTW, I assume you've checked UNRevoked.com to see if they have a fix for their super easy, automatic Root process to accomodate the new HBoot?
Jus' askin...
Keep me posted, or GChat me. I'm at my desk...

huawei mytouch root

I've been working on this for the past week. Every exploit I've tried just hangs after a while. I've gotten much further manually. I've got unbuntu and been working using various manual methods. The thing I've noticed is that there is no system folder in root. There is a system partition in which app and bin folders exist. Later today I'm going to have time to try some more. If it weren't for these silly rules id reply to somebody elses post, but I guess reading in forums for 3 years as a registered user doesn't count. Never a need to post as I've always found something using a search. And now I've got a phones that's been out for a week and there's no info out on it so I guess I get to develop myself. Not a hard thing...just time consuming and I've got better things to do, but these pink apps gotta go and I need wired or wireless tehter again. Hopefully I have succcess later today and can post how I accomplished it.
I'll be waiting anxiously. please post updates in this thread with your progress!
Any progress on this? I have been attempting but no luck.
update on progress
jb0ne said:
I'll be waiting anxiously. please post updates in this thread with your progress!
Click to expand...
Click to collapse
ok so here's what i've learned so far from trying every method that i can find...
when you boot the phone into the pink screen (volume up and volume down plus power) there is a partition containing 1 folder with 5 files. That folder is called image and the file inside are amss.mbn, boot.img, cust.img, emmcboot.mbn, and recovery.img
The Ascend G300 is a similar phone to the G312 and there is a filed called superrecovery which changes the recovery to set ADB with root priveliges and installs SU in system. If we use the recovery from that batch file made by PauloBrien and push it to the device while in pink screen mode and then reboot into recovery the phone won't power on. You can return to the pink screen and change back to the original recovery, but you can not boot the device into recovery nor regularly. Now this gave me an idea as i'm typing. what if i change it and issue the command in ADB as ADB works during the pink screen. I'm going to try that now.
But this can't be done when in bootloader, only in pinkscreen which makes me think it's fastboot USB mode, but fastboot commands dont work uless you are in the bootloader with the huawei logo which you can only get into by issuing the reboot-bootloader command through adb. once you enter bootloader mode via ADB reboot command then you are able to issue some fastboot commands.
ok so that didn't work...basically when the files in the imge folder are changed the device won't boot into anything but the pink screen mode.
the original recovery file size is 6340KB and the one from PauloBrien is smaller at 5074KB. I'm wondering if file size has something to do with why it won't boot, however, i'm not familiar with what's inside of these files. So...as i reasearch how to build our own clockworkmod recovery i'm wondering if there's a way to change the ADB command inside from not root to root. if it's a on off selecton i'm not sure how i'd affect file size. this is where we get into the realm of knowledge that i don't possess.
so if anybody can offer up some knowledge from where i stand now... please do so.
on a side note, when running exploits, (gingerbreak, zergrush, doomsomething, psneuter, etc)...they all hang.
in linux when trying to drop a file into /system/bin the terminal read out says something about failing to cycle power, not certain what this means.
as i learn a bit more, i'll go ahead and add more...
I am hopeful to hear back from you with a successful root method for this device. I myself just purchased this phone for myself and would really love to see more development on it. Seems like a solid phone with a low entry price. Look forward to seeing what you come up with.
I'm also waiting anxiously for someone to figure this out. I just got this phone and while I really like it, there is just so much packed on this thing that I want to get rid of before I can really enjoy the phone.
I'll be watching this thread as well hopefully OP or someone else will figure out the trick to rooting this phone, like others I have used the usual methods but no luck. I've counted no less than 13 programs I'd uninstall right off the bat.
For what its worth the phone seems to not be considered part of the Ascend models of phones although they are quite similar our model is called the Unite U8680 and the Unite Q U8730 (the slider version). I've sent a email to Huawei lets see if they respond at all.
It's pretty much useless but this is all I can find on the G312 on the Huawei website:
http://www.huaweidevice.com/worldwide/technicaIndex.do?method=gotoProductSupport&productId=4086&tb=0
I'll be watching this thread as well. According to a post on another forum regarding a different Huawei model, dialling *#*# 2846579 #*#* and making some changes in the log file settings suddenly made their phones rootable for some reason. However while the same # gets you into the service mode on this phone, the log file changes made no difference.
I wonder, though, there are quite a few other options in that service mode. Maybe something in there that could be useful.
Edit: There's one menu that looks interesting, the USB one. You can change it to all sorts of modes including "Manufacture mode" whatever that is. Afraid to try it, don't want to brick my wife''s new phone
I've been playing with this menu as well and some of the USB modes do seem interesting. I was hoping this would let me find the product ID for the phone cause I found a link on the Huawei homepage to register to get an unlock code for the boot loader on this phone. If anyone is interested here is a link to the page and sadly the method they say to find the product ID doesn't work on our phone.
http://www.huaweidevice.com/worldwide/servicePolicy.do?method=toApplyUnlock
huawei says the product ID is an 8 digit number. I've been trying to dump the log files so i can scan them for some kind of 8 digit number. i've also tried all the different USB modes as well as a few other changes in the project menu that we're able to access. These haven't given me any success in changing the ownership of the folders needed to gain root access. i've not had any time to tear apart the recovery image to figure out what it's doing. but all in due time somebody will figure this out. still haven't been able to get fastboot to work properly either. am running through the usb modes on that now.
Yes please help i cannot figure out out either
builder.clockworkmod.com
so i've been working on building a recovery image for this devices using koush's site and have been able to build it, but the device won't boot into recovery yet. not sure how to fix this, gonna mess around and keep on trying. i can get it to boot back up and can get it to respond to adb commands when in the mode that just shows the android 4g logo. but i can't get into recovery. not through adb and not through using the power and volume buttons.
still working on it... any body else have anything yet?
No info on rooting this phone but Huawei just posted on their website the open source gingerbread kernel for the G312 U8680 here is a link to it:
http://www.huaweidevice.com/worldwi...=toDownloadFile&flay=software&softid=NDY3MzU=
It's been rooted!
Yep, it's a simple one too. Happy to have my wife's phone rooted Removing bloat, however, is tricky -- it's hidden in an inaccessible partition and when you erase it, it restores it on next reboot.
http://forum.xda-developers.com/showthread.php?p=31237225#post31237225
http://www.droidrzr.com/index.php/topic/4276-how-to-root-huawei-mytouch-4g/
Big thanks to mattlgroff for cracking this nut!
jb0ne said:
Yep, it's a simple one too. Happy to have my wife's phone rooted Removing bloat, however, is tricky -- it's hidden in an inaccessible partition and when you erase it, it restores it on next reboot.
http://forum.xda-developers.com/showthread.php?p=31237225#post31237225
http://www.droidrzr.com/index.php/topic/4276-how-to-root-huawei-mytouch-4g/
Big thanks to mattlgroff for cracking this nut!
Click to expand...
Click to collapse
When you install an update to one of these apps lets use the, yahoo mail on for example, it will show in the /system/app or /data/app. The problem is the apk before the update is in /cust/t-mobile/us/app which is read only and unable to be mounted as R/W and that is why Titanium backup is unable to uninstall it.
I have tried moving it and deleting it manually with no luck. I have not tried through ADB yet but may give that a try next.
jamonthis said:
When you install an update to one of these apps lets use the, yahoo mail on for example, it will show in the /system/app or /data/app. The problem is the apk before the update is in /cust/t-mobile/us/app which is read only and unable to be mounted as R/W and that is why Titanium backup is unable to uninstall it.
I have tried moving it and deleting it manually with no luck. I have not tried through ADB yet but may give that a try next.
Click to expand...
Click to collapse
If you figure it out and find anything out I would love to know about it. Where should I watch for an update in case someone does get that sorted out?
Recovery mode
There is an accessible recovery mode, at least on my querty version of the phone. You have to completely pull the battery first. Put the battery back in, hold Volume up, and then hit power. I held the power button for a couple seconds, and volume up for maybe 6-8 seconds, then started hitting volume up repeatedly. The key is to pull the battery each time you try, I think. It looks like powering off from the phone's power menu just puts it in a suspend sort of mode. (Compare boot times when rebooting, and when pulling battery)
Apparently the bootloader is locked, so not sure how useful it is yet.
For anyone with a T-Mobile MyTouch Q (Huawei U8730), I created a wiki page for it, and we should post in the New Device Forum Requests thread so we have a specific place to post info.
I just purchased a U8730 today and will definitely be figuring out how to root it at some point.
For anyone that cares here's a link in case you haven't registered at the other site.
http://j.gs/1U5q
I'm hoping we can get some development going for this phone. I just picked one up for my daughter a month ago and it's giving her memory filled messages already. It'd be great if we can get it permanently rooted and remove bloat to start... then possibly move onto Cyanogen... considering she had the horrible Comet (also by Huawei) previously and it had development for CM7. I may be taking a leap from my contract soon, but can't go to Straight Talk with her phone unless it's unlocked

[Q] newbie in over his head

the phone is a sprint gnex.
i had twrp as recovery, and i was playing around with it, got distracted, and my 2 year old grabbed it and wiped everything. no OS, no recovery, no nothing.
i'm not even sure where to start. my newbie self is thinking maybe odin? i used adb once, is that where i should be looking?
i guess my question is where does one start when he has no OS. and i could sure use a link for wherever factory images, or tar files, or whatever, are reposed.
please help a brother out, and keep in mind i am in fact over my head. just trying to salvage this if possible. it is not an urgent thing, as i the device is merely used as a media device for my 2 year old.
my laptop is a windows 7 device. i've downloaded usb drivers for samsung, odin, and adb fastboot. they are sitting in my download folder as zip files. that is where i stand.
boathead said:
the phone is a sprint gnex.
i had twrp as recovery, and i was playing around with it, got distracted, and my 2 year old grabbed it and wiped everything. no OS, no recovery, no nothing.
i'm not even sure where to start. my newbie self is thinking maybe odin? i used adb once, is that where i should be looking?
i guess my question is where does one start when he has no OS. and i could sure use a link for wherever factory images, or tar files, or whatever, are reposed.
please help a brother out, and keep in mind i am in fact over my head. just trying to salvage this if possible. it is not an urgent thing, as i the device is merely used as a media device for my 2 year old.
my laptop is a windows 7 device. i've downloaded usb drivers for samsung, odin, and adb fastboot. they are sitting in my download folder as zip files. that is where i stand.
Click to expand...
Click to collapse
Don't worry you'll be fine.
If you can get into twrp, try just downloading a ROM and gapps zip on computer and using adb to push or sideload to device (Google "adb sideload ROM galaxy nexus...exact steps easy to find)
If you can't get into recovery, or just want to go back to complete stock and start from there, go here https://developers.google.com/android/nexus/images
Grab a package for sprint gnex(mysidspr, aka toroplus) and if u have adb&fastboot installed on computer(if not then Google "installing android SDK" and it will be top result, fastboot and adb come WITH the SDK when u install it)
Then you just unzip that factory img file, plug device into computer while in boot loader mode (hold power and both volume keys), open the folder created when u uncompressed factory IMG file, hold down shift and right click and choose "open command prompt". Enter "fastboot devices"(no quotes) in the command window to make sure device is recognized. Then just run "flash-all.exe" or "flash-all.bat" in command prompt and BE PATIENT AND LET IT FINISH EVERYTHING. After that device will be like brand new out of box.
ashclepdia said:
Don't worry you'll be fine.
If you can get into twrp, try just downloading a ROM and gapps zip on computer and using adb to push or sideload to device (Google "adb sideload ROM galaxy nexus...exact steps easy to find)
If you can't get into recovery, or just want to go back to complete stock and start from there, go here https://developers.google.com/android/nexus/images
Grab a package for sprint gnex(mysidspr, aka toroplus) and if u have adb&fastboot installed on computer(if not then Google "installing android SDK" and it will be top result, fastboot and adb come WITH the SDK when u install it)
Then you just unzip that factory img file, plug device into computer while in boot loader mode (hold power and both volume keys), open the folder created when u uncompressed factory IMG file, hold down shift and right click and choose "open command prompt". Enter "fastboot devices"(no quotes) in the command window to make sure device is recognized. Then just run "flash-all.exe" or "flash-all.bat" in command prompt and BE PATIENT AND LET IT FINISH EVERYTHING. After that device will be like brand new out of box.
Click to expand...
Click to collapse
thank you so much for responding. i will play around with this later, but it is a bit comforting to know that maybe i'm not doomed.
i cannot get into recovery, so yeah, i don't know what i'm doing.
boathead said:
thank you so much for responding. i will play around with this later, but it is a bit comforting to know that maybe i'm not doomed.
i cannot get into recovery, so yeah, i don't know what i'm doing.
Click to expand...
Click to collapse
Why can't you get into recovery?
Are you choosing recovery mode via the bootloader menu? I didn't think it was POSSIBLE to wipe recovery from within recovery.
Even if you can't, trust me, Doing a factory img restore, or using fastboot to flash custom recovery again is VERY easy. To get the SDK that has needed fastboot tools, go here http://developer.android.com/sdk/index.html#ExistingIDE
And grab the needed exe for your setup(windows 64 or 32bit). Make sure you are getting the "ADT bundle" it's what has needed platform tools. Then just run the exe and follow instructions.
Now u COULD also just Google search for Wugfresg toolkit, and download and use that. Its very easy to use as well. I just prefer to have adb and fastboot installed to my computer so that I can always be good to go. Plus I use Linux so Im not able to use Wugfresh, but knowing how to just use fastboot and adb also makes ya feel like a boss(even though is pretty simple lol)
Don't worry, there is hope, and it's not gonna be difficult. You'll be up again in no time.
because you said you didn't think it was possible to wipe recovery from recovery, i went into bootloader. you are correct. in my panic i overlooked it. i DO in fact still have twrp.
but there is nothing to restore or install. so once my phone charges, i'll give it a shot as you suggested. would you kindly check in later in case i need some more help?
thanks my friend for steering me in the correct direction.
boathead said:
because you said you didn't think it was possible to wipe recovery from recovery, i went into bootloader. you are correct. in my panic i overlooked it. i DO in fact still have twrp.
but there is nothing to restore or install. so once my phone charges, i'll give it a shot as you suggested. would you kindly check in later in case i need some more help?
thanks my friend for steering me in the correct direction.
Click to expand...
Click to collapse
Of course!
I'm always checking in these forums, and I use Tapatalk, and have actually grown fond of Tapatalk notifications, so I SHOULD get a notif if you post back or PM(though I prefer to keep in thread, that way someone else searching for answer to similar issue can find a helpful thread as well)
Yea it sounds like your little one got into twrp and most likely wiped all of /data and /system. Instead of just a regular factory reset which would have left your stuff like flashable zips and all still in /sdcard. That sucks! I've actually done that on accideHahaha
hile back(a mistake you only make once to wipe all of /data AND /system lol, even though can pretty easily be fixed)
Sounds like you could use adb sideload or push to get ROM/gapps zips back on the device, or just go with a total device factory restore, whichever you choose at this point should work just fine.
I'm not sure if there is a way to do this yet, but I've always wanted to put a pin code lock for TWRP. That way if my nephew ever did find his way into there when using my phone, he wouldn't be able to do any damage. If it's not a part of custom recovery yet (I haven't looked actually lol) it would be awesome if someone found a way to add that feature in. Could save a lot of us the hassle in cases like this! Hahaha
I'll check back in the morning and randomly tomorrow (some of the day I won't have a connection, I use Gnex strictly on WiFi) to see if you need any help/tips/clarifying of any steps needed. Once you do this restore process once, you'll be amazed at how easy it can be, and as long as you keep the files on your laptop, you'll be ready to go if you ever need to do it again.
success!
i had a great deal of trouble sorting the drivers....took quite a while to get the pc to recognize the device. then i got confused about a few things...stunner, i know, but was able to reflash a factory image with the wug toolkit. so i guess i took the cowardly way and didn't do the adb route.
anyway, i'm good to go. i am left with the initial problem that had me in recovery in the first place. i figured flashing a rom would solve it, but no. so i'm left thinking it is on the server side. at least i have something to work with now.
so thanks again. without your calming words i never would have gotten this going. i don't have the temperament to play around with my devices, i've learned.
boathead said:
success!
i had a great deal of trouble sorting the drivers....took quite a while to get the pc to recognize the device. then i got confused about a few things...stunner, i know, but was able to reflash a factory image with the wug toolkit. so i guess i took the cowardly way and didn't do the adb route.
anyway, i'm good to go. i am left with the initial problem that had me in recovery in the first place. i figured flashing a rom would solve it, but no. so i'm left thinking it is on the server side. at least i have something to work with now.
so thanks again. without your calming words i never would have gotten this going. i don't have the temperament to play around with my devices, i've learned.
Click to expand...
Click to collapse
That temperament is something that is gained. MOST of us have been in that "oh holy crap what do I do now?!?! Im not prepared for this!!" Moments (my first one was on my birthday back when I had DroidX2, and didn't have my own computer to restore it using RSDlite sbf flash.. I accidentally flashed something that didn't work, and was left with no OS stuck in bootloop with no way to get into the bootstrap recovery we had...was without device for 3 days until I could get to a coworkers laptop!! Lol!!!) But the stress goes WAY down after you've restored device once or twice and have the tools at the ready with basic understanding of the steps at least
And as for drivers, I apologize for not warning/informing about that. I forgot that you mentioned you had multiple driver packages downloaded and i was going to clarify which to use(on a Linux setup you don't need drivers and it been a while since I used windows for my device so drivers aren't usually on my mind lol) I think a lot of people use the PDAnet drivers. But if you are connected to internet and just put device in fastboot mode and connect to computer, I think it will automatically find and install the correct drivers needed for fastboot/adb access.(the toolkit can also be used to install correct drivers I believe)
And don't worry, I wouldn't call using toolkit the "cowardly way". SOME people detest/despise use of toolkit since they think it takes away from learning and understanding how to do it without a toolkit. But when you use a toolkit you usually see command prompt correct? (Or at least a setting so you can SEE what it is running as far as commands) so you get to see what its doing, which helps beginners start to grasp the concepts of what it is doing.
Trust me, if you can use the toolkit correctly, you can easily transfer that knowledge to just using fastboot or adb commands.
by the way, fastboot is what's used for factory image restore. ADB is for pushing/pulling files, taking logs, sideloading a ROM/gapps zip that isn't on device, taking/restoring adb backups of system and or data, things like that. Think of adb as the "taker and giver". And fastboot as the "img installer/booter"...imgs being anything from system img files, to data partition img files, boot.img(aka kernel), recovery.img, bootloader update img, radio imgs. Things like that
The reason the knowledge from using toolkit easily transfers over to using just straight up fastboot for example is because of how they word the choices and menus. You will see it says something like "use fastboot to flash new recovery img", which the fastboot command for that in command line equates to "fastboot flash recovery "NameOfRecoveryImage.img" "
(With no quotes of course, and replace "NameOf...." With the actual file name of the recovery.img you have downloaded, and you can rename the downloaded recovery img file to something easier to type out if you want to also)
Basic structure of using fastboot command would be as follows:
fastboot[space]command[space]partitioname[space]filetobeused
Which after used once or twice is very easy to grasp basic usage
So are you able to at least boot into OS now? Also, make sure if you are trying to flash a KitKat ROM, that you install the 2.7TWRP recovery, anything earlier won't work correctly for 4.4based ROMs.
Again, any trouble feel free to ask.
(And apologies for the long rambling posts lol)
yes. i am in the OS now.
what gave rise to my troubles in the first place is that i've moved my residence. all my devices recognize my new wifi, and proceed along their merry way.
my gnex is another story. it recognized my wifi, shows me as connected, but nothing at all can actually access the server. i tried factory reset, nothing. then i was going to install a new rom, figuring something was corrupted. then my 2 year old took over!
so i am in the OS, but still cannot access the server. so it must be on the server side i figure. not sure how to fix this, but when i have some time, i'll do some looking around. i am going to try to access a different wifi network later on to see if at least it is not my device.
again, thanks for your help my friend.
boathead said:
yes. i am in the OS now.
what gave rise to my troubles in the first place is that i've moved my residence. all my devices recognize my new wifi, and proceed along their merry way.
my gnex is another story. it recognized my wifi, shows me as connected, but nothing at all can actually access the server. i tried factory reset, nothing. then i was going to install a new rom, figuring something was corrupted. then my 2 year old took over!
so i am in the OS, but still cannot access the server. so it must be on the server side i figure. not sure how to fix this, but when i have some time, i'll do some looking around. i am going to try to access a different wifi network later on to see if at least it is not my device.
again, thanks for your help my friend.
Click to expand...
Click to collapse
what security do you use on your router? if WEP try changing it. the gnex has issues sometimes with using WEP secured WiFi AP's
also, if using a 5ghz network, I can only get mine to connect to that on channel 153. there are only a certain number of 5ghz channels supported.
might also want to just try forgetting WiFi network and re add?(if it restored the access points by any means including Google backup/restore)
and make sure your router isn't rejecting the Mac address for some reason(and some people will suggest reboot of the router to see if that helps fix it, which I've seen fix many connection issues)
well, my device works beautifully....everywhere except in my house.:crying:
as much as drivers befuddle me, routers do even more so. it must be a router issue, right? my device connects to google elsewhere. and all my other devices connect to google here at home. maybe tomorrow i'll try the router's live chat to see if i can get some help.
boathead said:
well, my device works beautifully....everywhere except in my house.:crying:
as much as drivers befuddle me, routers do even more so. it must be a router issue, right? my device connects to google elsewhere. and all my other devices connect to google here at home. maybe tomorrow i'll try the router's live chat to see if i can get some help.
Click to expand...
Click to collapse
what type of security are you using in the router setting? WPA? wep? none?
what model router are you using?
is device connecting to internet and just not Google servers?
is device connecting to router at all and just no internet access?(meaning when you are in WiFi settings, and choose network does it show obtaining IP address and then connected? or just never fully connect?)
I've had similar issues in past and might be able to help with some more details
ashclepdia said:
what type of security are you using in the router setting? WPA? wep? none?
what model router are you using?
is device connecting to internet and just not Google servers?
is device connecting to router at all and just no internet access?(meaning when you are in WiFi settings, and choose network does it show obtaining IP address and then connected? or just never fully connect?)
I've had similar issues in past and might be able to help with some more details
Click to expand...
Click to collapse
wpa2...but i've even disable all security to see....i've disable firewalls...nothing. it is an arris router that time warner cable provided when i moved to my new place.
and i my phone does show me as connected to my network...just can't get into google. and the phone works just fine at my work. as you know, i've been through several roms and an entirely new OS...so it cannot be the phone...can it?
been through this entire threads, and no joy.
http://forum.xda-developers.com/showthread.php?t=2110225
if you have any ideas, post away. i will be away from access to the internet for a few days, so i won't even have a chance to check in here, but any info in the meantime would be most thanked.
boathead said:
thank you so much for responding. i will play around with this later, but it is a bit comforting to know that maybe i'm not doomed.
i cannot get into recovery, so yeah, i don't know what i'm doing.
Click to expand...
Click to collapse
my samsung s5 had the same problem. i wiped out everything and it says i have no os no nothing. i hope if anyone can help, i will be pleased.
the only question is that "how can i get an os and get my phone working"
ashclepdia said:
Don't worry you'll be fine.
If you can get into twrp, try just downloading a ROM and gapps zip on computer and using adb to push or sideload to device (Google "adb sideload ROM galaxy nexus...exact steps easy to find)
If you can't get into recovery, or just want to go back to complete stock and start from there, go here https://developers.google.com/android/nexus/images
Grab a package for sprint gnex(mysidspr, aka toroplus) and if u have adb&fastboot installed on computer(if not then Google "installing android SDK" and it will be top result, fastboot and adb come WITH the SDK when u install it)
Then you just unzip that factory img file, plug device into computer while in boot loader mode (hold power and both volume keys), open the folder created when u uncompressed factory IMG file, hold down shift and right click and choose "open command prompt". Enter "fastboot devices"(no quotes) in the command window to make sure device is recognized. Then just run "flash-all.exe" or "flash-all.bat" in command prompt and BE PATIENT AND LET IT FINISH EVERYTHING. After that device will be like brand new out of box.
Click to expand...
Click to collapse
The same thing happened to me right now, while I was installing CM13 in my Lenovo Zuk Z1. I took a backup from TWRP and copied the same to my pc. Then I wiped all the data from my phone using TWRP. Then I plugged in the Usb back to copy the downloaded files of CM13 to my phone but my pc is not showing the Internal Memory of my phone. I am so freaked out right now. I dont have an OS in my phone and I am unable to restore what I backed up. I am just stucked in TWRP. Guide me through to install CM 13 or atleast revert back to where I started. Any help is appreciated.

Categories

Resources