Related
hey guys i just got a mytouch 4g about half an hour ago and i went quick to root it.. but when i try adb shell it says device not found.... i got my sdk and tried a adb fastboot file i found in the development section but stills saying device not found... im comming from a samsung vibrant and i rarely used adb...
so if anyone can help me with this ill really appreciate.. i wanna start doing my roms today if posible... so help me out so i can root this today... thanks guys
tried cyanogen method but still says device not found....
given you are using a Window's based computer....
Well you need HTC's drivers for this. You can either use PDA Net's drivers. Which can be obtained from June Fabrics dot com. or from HTC's site directly.
The Official HTC drivers can be found on your SD card post mounting the card to the computer. or here http://www.htc.com/us/support/t-mobile-mytouch-4g/downloads/
If that doesn't work try using True-Blue's EZ-ADB. Link in my signature.
if you are using a Linux computer you need to kill then start the ./adb server in ROOT then exit out and try adb devices again.
neidlinger said:
given you are using a Window's based computer....
Well you need HTC's drivers for this. You can either use PDA Net's drivers. Which can be obtained from June Fabrics dot com. or from HTC's site directly.
The Official HTC drivers can be found on your SD card post mounting the card to the computer. or here http://www.htc.com/us/support/t-mobile-mytouch-4g/downloads/
If that doesn't work try using True-Blue's EZ-ADB. Link in my signature.
if you are using a Linux computer you need to kill then start the ./adb server in ROOT then exit out and try adb devices again.
Click to expand...
Click to collapse
alright man thanks for the support... ill try
There is also a few lines to past into a usb driver folder inf file I found this on a TMO forum.
[HOW TO] Get ADB to recognize your myTouch 4G
Options
I'll past the important stuff here.
11-08-2010 01:56 PM
Rather than reinvent the wheel, just going to "borrow" zapote21's excellent guide for setting up ADB, this time for the myTouch4G (if you're weird like me and immediately swapped out SDcards or just prefer not running exe files):
-----
I am going to assume that you have the SDK installed and that you have a clue as to what I am about to say...
If you dont understand this language, then you probably dont need to be trying to use ADB... lol
Go to the "usb_driver" folder in your SDK and find the *.inf file...
Use notepad++ to edit that file and add the following lines to the "[Google.NTx86]" and the "[Google.NTamd64]" sections:
;T-Mobile myTouch4G
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C96
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C96&MI_01
;
Save the file, reinstall drivers, and done..
Sent from my HTC Glacier using XDA Premium App
possible driver issue
My guess is that the OP just forgot the most basic step - to turn on Settings / Applications / Development / USB Debugging.
Yeah, turn on USB Debugging. Plug the phone in and run the HTCDriver.exe file from the SD card. Unplug and then plug in again, then try adb devices.
Beeing a rom dev im going to forget about debugging ??
It was that i didnt have htc driver so when i downloaded it worked... im running sense rom
Sent from my HTC Glacier using XDA Premium App
bosina said:
Beeing a rom dev im going to forget about debugging ??
It was that i didnt have htc driver so when i downloaded it worked... im running sense rom
Sent from my HTC Glacier using XDA Premium App
Click to expand...
Click to collapse
NICE ! ! ! i'm glad it was that simple.
i saw your post count and thought " im sure this guy has ADB debugging turned on "
neidlinger said:
NICE ! ! ! i'm glad it was that simple.
i saw your post count and thought " im sure this guy has ADB debugging turned on "
Click to expand...
Click to collapse
Yeah man....i just needed the htc driver...kind of dumb think...after that I just had to repeat the gfree method and use the version 2 cuss I thought version 4 wasnt working for me and was that I didnt temp root....but I had it working after somw minutes woking on it... What I dont see is much development movement.....on vibrants u see sharing and alot of roms....lots of things and u see all the stuff going on.....but anyways im on a sense rom...gorilla something and works good...i experience phone getting hot when oc high.....
Sent from my HTC Glacier using XDA Premium App
Well I try to root my phone i installed sdk and I did the adb but the cmd on my pc dose not see my phone all am trying to do is downgrade my phone so I can root how do I get the pc to see my phone it told me it hass adb but when I run cmd it dose not know its there plz help I really want this phone root it I been at this for the last 2 weeks
Sent from my T-Mobile G2 using xda premium
explain what you did and what you do exactly. Based on which instruction.
you're computer is a Windows VP / Vista / 7?
did you reboot afgter installing?
And post the command line you have.
We will without question need to know what you tried before anyone here can help.
Also, check to see if you phone was in USB debug mode. If it was not, no matter what you try it will not work.
I try to to downgrade my phone useing cm fourm on how to doundgrade a g2 well I use the coustom usb and I put it in the sdk folder were it was suppost to go well I try to run cmd and it tells me no such thing sorry not exacly what it says but close to what it dose tell me so now what do I do I really want a rom on this
Sent from my T-Mobile G2 using xda premium
First off, not to knock you, and I apologize if English isn't your first language, but you're posts are very hard to follow. Some punctuation and spelling would help immensely.
Second, you need to give us more detail. Step by step, as to what you are doing (commands entered, what error messages actually say, etc).
Third, some simple instructions are below, see if it helps:
1) Go to Start > Run (or hold the Windows Key and press R) to give you the run prompt.
See picture #1
2) At the command prompt, type in (without quotes) "cd\program files\android\android-sdk\platform-tools" NOTE: This is the path for default install for the google SDK installer with Windows 32bit. If you are running Windows 64bit I believe it is "cd\program files (x86)\android\android-sdk\platform-tools"
See picture #2
3) type in "adb" (again, minus quotes) to see the list of adb commands.
See picture #3
Hopefully you can take it from there.
Ok I have windows 7 well I download the sdk ok I was doing every thing from the cm forms well I all so did the thing with adb were on the cm forms it ask me to download the usb thing in place it in the folder were in extras sorry if miss spell I rann cumman prompt cmd it dose not see my phone that it it says here go this this in the forms look for need help that's my post to
Sent from my T-Mobile G2 using xda premium
Hey mate, I'd be willing to help you if you took your time (slowed down) and worked on your posts a bit. I tried really hard to understand what you're trying to tell us and I just can't get it.
Sent from my HTC Vision using XDA App
Can any one call me in help 614 962 1447
Sent from my T-Mobile G2 using xda premium
I tried to install sdk. Cm told me in their forums to install an adb in usb custom. The cmd does not recognize my phone.
Sent from my T-Mobile G2 using xda premium
Ok, so we will assume the SDK is installed properly. Then you open a command prompt and change the directory to the directory you installed the SDK using the "cd" command. From there you type "adb devices" and what is displayed on the command prompt?
We need to take this one step at a time. Everyone wants to help, but we need to be able to understand what is going on.
Can some one call me and help me plz 614 962 1447
Sent from my T-Mobile G2 using xda premium
Ok now the pc that my phone adb ok but when I put in adb divice cmd dose not see it and what's with this run thing all I do in my pc is run search for cmd
Sent from my T-Mobile G2 using xda premium
I think I understand what you are saying. So, you search for cmd in windows and then click on it to open. Once you do that you enter "adb devices" correct? Do you enter any other commands before "adb devices?" Also, have you gone to settings/apps/development and clicked Enable USB Debug on your phone?
I doubt you will find anyone willing to call you, but if you can clearly tell us what is going on; you will find help here.
Yes you are right I did adb devices but no other commainds but it tells me no external devices and some other stuff it says
Sent from my T-Mobile G2 using xda premium
And debuging good on my phone and sdk is on windows and under device manger it tells me my phone adb
Sent from my T-Mobile G2 using xda premium
This could be your problem. Before you enter "adb devices" you need to change the directory to where you installed the SDK. So, open a command prompt, enter "cd [directory where you installed the SDK]." Once the directory is changed enter "adb devices."
As for the location of the SDK, if you installed it to the hard drive it would be: C:\android-sdk\platform-tools. So you would enter "cd c:\android-sdk\platform-tools."
Try that and let us know what happens.
when I put this in cmd c:\program files (x86)\android\android-sdk\platform-tools it tells me file name derectory name or volume label syntax is incorrect
Sent from my T-Mobile G2 using xda premium
When I run cmd in put adb devices it tells me the system can not find the path specified
Sent from my T-Mobile G2 using xda premium
Can I plz get help
Sent from my T-Mobile G2 using xda premium
ok, these are not the recommended ways of gaining root, but your knowledge seems to be not good enough for the usual guides... (you are sure you want to root?)
here is one tool:
http://forum.xda-developers.com/showthread.php?t=1097977
or contact this guy:
http://forum.xda-developers.com/showthread.php?t=1500370
good luck (or ask for a remote session - i dont have time for this right now)
Hello all,
I posted a thread yesterday about my issues trying to get my a500 running AOKP to connect to my computer. So, as it is right now, it's got nothing on it, except for a few apps.
I have narrowed it down to the possibility that it is NOT ROM-specific and that it has something to do with USB drivers. I installed the drivers from the Acer US and UK websites, along with the setup.exe drivers from TimmyDean's root folder. None of them worked.
I tried on two different computer, and got the same issues. All I hear is 3 quick beeps after the computer fails to install device driver software.
My question is this: To those of you who are on an ICS ROM/Leak, HOW do you access your SD Card/Internal Storage on your PC?
I really hope somebody could help, I'm pretty stumped.
skadude66 said:
Hello all,
I posted a thread yesterday about my issues trying to get my a500 running AOKP to connect to my computer. So, as it is right now, it's got nothing on it, except for a few apps.
I have narrowed it down to the possibility that it is NOT ROM-specific and that it has something to do with USB drivers. I installed the drivers from the Acer US and UK websites, along with the setup.exe drivers from TimmyDean's root folder. None of them worked.
I tried on two different computer, and got the same issues. All I hear is 3 quick beeps after the computer fails to install device driver software.
My question is this: To those of you who are on an ICS ROM/Leak, HOW do you access your SD Card/Internal Storage on your PC?
I really hope somebody could help, I'm pretty stumped.
Click to expand...
Click to collapse
I installed Android SDK and the google adb drivers. Then I let win7 search the whole system.
Moscow Desire said:
I installed Android SDK and the google adb drivers. Then I let win7 search the whole system.
Click to expand...
Click to collapse
I already have the SDK installed from a whole ago, and I have used ADB recently for my phone, so I guess I should have the updates drivers correct? So I should just go through the device manager and let Win7 search through my C:/ drive? What will it be picking up, the ADB drivers?
Sent from my SGH-T989 using xda premium
skadude66 said:
I already have the SDK installed from a whole ago, and I have used ADB recently for my phone, so I guess I should have the updates drivers correct? So I should just go through the device manager and let Win7 search through my C:/ drive? What will it be picking up, the ADB drivers?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I had google android drivers, Acer drivers, probably 4 different sets. I believe the last I used, were HTC adb drivers. Got pretty frustrated as I couldn't connect 501 with adb. But After I did the full scan on c: drive, it finally picked them up.
It doesn't matter which drivers get used, as long as it works
"Throw enough bullets at the target, and eventually you will hit it"
have you tried going into device manager .Then plug in the Iconia tab once its recognized .Right lick on the device and install the drivers manually.You must know where the drives are extracted to on your computer to do this. Also Not with my acer tab but i have had a issue in the past with usb device drivers .They can sometimes be confused by windows and windows will load driver for the other device and of course fail. So to get around this you can try making sure your phone is connected to the usb port you always use. Then try to plug the iconia into another port. and see If windows will prompt you to install the device.
If still no luck do a search on microsoft tech site.If you can not find it this can also be done by uninstalling all usb devices on the computer in programs and features. Then go to device manager and manually uninstall the usb hubs and devices listed in there. Reboot the computer and windows will put them back.Re install the drives from acer for the iconia reboot. then connect it and see if it will then find the device.
The above is for tech savy users only due to if there is a registry issue the hubs might not install back .
Good luck. and again if you cant follow what i typed above Microsoft tech help has it in step by step instructions. just search for usb device driver install issues and narrow down your issue.
Thank you to BOTH of you! I was getting frustrated that I can't do anything with my tablet! I will definitely try both of these when I get home.
@Erica: I went into Device Manager and it did not recognize my tablet, so I tried to install drivers from Windows Update, and it didn't find any.
@Moscow: HTC USB drivers will work? Really? I don't see why not, but then again, each website has you go through different steps to get your model number, etc.
What I am wondering is, for the scan if the C:/ drive, do I extract only the .exe for the USB drivers?
Sent from my SGH-T989 using xda premium
skadude66 said:
Thank you to BOTH of you! I was getting frustrated that I can't do anything with my tablet! I will definitely try both of these when I get home.
@Erica: I went into Device Manager and it did not recognize my tablet, so I tried to install drivers from Windows Update, and it didn't find any.
@Moscow: HTC USB drivers will work? Really? I don't see why not, but then again, each website has you go through different steps to get your model number, etc.
What I am wondering is, for the scan if the C:/ drive, do I extract only the .exe for the USB drivers?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Generally, the zip file contains driver files for AMD64 and i386. Just extract them to a location on your C: drive. Like C:\android\adb_drivers. Once you extract the driver files, or any other driver files, and you have windows search your computer, it will usually find them, and install them. Takes a couple minutes.
I find this is easier than trying to have windows look in a specific folder. Like I said, I have tons of driver files.
Also, google for Android USB drivers. Will give you the generic Android USB driver pack. Unzip them also, to a diff folder.
skadude66 said:
Thank you to BOTH of you! I was getting frustrated that I can't do anything with my tablet! I will definitely try both of these when I get home.
@Erica: I went into Device Manager and it did not recognize my tablet, so I tried to install drivers from Windows Update, and it didn't find any.
@Moscow: HTC USB drivers will work? Really? I don't see why not, but then again, each website has you go through different steps to get your model number, etc.
What I am wondering is, for the scan if the C:/ drive, do I extract only the .exe for the USB drivers?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
When you say it does not recognize your tablet. Are you saying that when you plug the tablet into the computer thru usb You do not get a prompt to install a Driver? If this is the case Windows thinks it has the proper driver. You will have to find the device in device manager . OPEN it and update driver. You can try to have windows to search . but i disagree with MD on this. But both ways tend to have the same results .TELL it where your drives are such as mine are in c:/android/androidsdk/ xxx
You could also try to install Acer sync from the acer iconia d/laod site If you do this i would change the install path to a sub folder of your sdk install. could be useful in future.
Moscow Desire said:
Generally, the zip file contains driver files for AMD64 and i386. Just extract them to a location on your C: drive. Like C:\android\adb_drivers. Once you extract the driver files, or any other driver files, and you have windows search your computer, it will usually find them, and install them. Takes a couple minutes.
I find this is easier than trying to have windows look in a specific folder. Like I said, I have tons of driver files.
Also, google for Android USB drivers. Will give you the generic Android USB driver pack. Unzip them also, to a diff folder.
Click to expand...
Click to collapse
So which do you recommend I try first? Acer or Android ones? Also, you recommend a full scan of the C:/ even though I categorize them in folders?
erica_renee said:
When you say it does not recognize your tablet. Are you saying that when you plug the tablet into the computer thru usb You do not get a prompt to install a Driver? If this is the case Windows thinks it has the proper driver. You will have to find the device in device manager . OPEN it and update driver. You can try to have windows to search . but i disagree with MD on this. But both ways tend to have the same results .TELL it where your drives are such as mine are in c:/android/androidsdk/ xxx
You could also try to install Acer sync from the acer iconia d/laod site If you do this i would change the install path to a sub folder of your sdk install. could be useful in future.
Click to expand...
Click to collapse
Basically, I hear the quick beeps and the device is not being recognized by Windows. Under device manager it is the only device that has a question mark or exclamation point for icon.
I will try both methods and report back on which one works. Thank you very much!!
Sent from my SGH-T989 using xda premium
Quick update.
I tried both of your theories, and neither of them worked
I tried to find the ADB drivers, but couldn't get them to install through SDK Manager (file not found on an XML file).
So then, I took two of the drivers I had downloaded, and extracted the folders they were in, into a folder on C:\ called android drivers.
I tried searching my entire C:\ and nothing came up at all. This is where I tried Erica's method, and I narrowed it down to the C:\android drivers and it STILL didn't bring anything up.
Finally, I tried downloading and placing these (http://androidforums.com/incredible...ivers-adb-bootloader-disk-drive-htc-sync.html) drivers, and it still didn't find them.
Oh, and I also tried plugging my phone into the troublesome port and it connected fine, as per Erica's suggestion, so I think this is some kind of driver issue.. but WHAT!
Thanks for all of your help so far!
EDIT: Here is the icon I am getting when I plug my tablet into my computer: http://i.imgur.com/jUf54.jpg
Not sure you tried this or not.
Go to Acer.com then there download drivers page. look. for Acer sync. Download and install that. it just might install the Acer adb drivers
Beyond that I say go to Ms tech site and search for USB host/driver issues.
Sorry its not working but at this point I have no idea without being infront of the machine.
Good luck
erica_renee said:
Not sure you tried this or not.
Go to Acer.com then there download drivers page. look. for Acer sync. Download and install that. it just might install the Acer adb drivers
Beyond that I say go to Ms tech site and search for USB host/driver issues.
Sorry its not working but at this point I have no idea without being infront of the machine.
Good luck
Click to expand...
Click to collapse
Thanks. I'll try it. The only thing I didn't try in your suggestions was to uninstall USB hosts, seems a bit drastic to me. I'll try Acer Sync and lets hope it fixes it!
Sent from my SGH-T989 using xda premium
Nope, no dice on Acer Sync. Same three beeps, nothing is happening. I keep restarting the machine as well to make sure it's as clean a boot as possible.
Thanks anyways!
I've run out of ideas.. Anybody else have any theories or suggestions?
Sent from my SGH-T989 using xda premium
skadude66 said:
Nope, no dice on Acer Sync. Same three beeps, nothing is happening. I keep restarting the machine as well to make sure it's as clean a boot as possible.
Thanks anyways!
I've run out of ideas.. Anybody else have any theories or suggestions?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
USB Debugging turned on?
Moscow Desire said:
USB Debugging turned on?
Click to expand...
Click to collapse
Tried with it turned on and off.
Sent from my SGH-T989 using xda premium
skadude66 said:
Tried with it turned on and off.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Here are 2 zip files.
1 for Google USB drivers and the other for USB ADB for HTC drivers.
Unzip them to different folders on your C:\. Then let it search again. Hope it picks them up.
Moscow Desire said:
Here are 2 zip files.
1 for Google USB drivers and the other for USB ADB for HTC drivers.
Unzip them to different folders on your C:\. Then let it search again. Hope it picks them up.
Click to expand...
Click to collapse
Thank you. I will check and try when I get home. Man, I HOPE THIS WORKS!
Sent from my SGH-T989 using xda premium
skadude66 said:
Thank you. I will check and try when I get home. Man, I HOPE THIS WORKS!
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Yeah, that's the last of my guesses, and it was the last sets of drivers I installed on my Win7 before I got ADB working. I had issues connecting ADB, and may have just installed the HTC divers, just to connect with my Desire. I think after that, I installed the google drives, and could connect with my 501.
I could always get the PC to recognize the tab, just not through ADB.
With that AOKP rom though, I am not sure. I had it for a bit, but reflashed back to my 3.2.1 daily driver. Not sure if I could see it through PC, as I don't think I checked. Waste of time I think, as basically, it was 80% Thor Rom, and we all know it doesn't get 3g or gps on a 501.
Moscow Desire said:
Yeah, that's the last of my guesses, and it was the last sets of drivers I installed on my Win7 before I got ADB working. I had issues connecting ADB, and may have just installed the HTC divers, just to connect with my Desire. I think after that, I installed the google drives, and could connect with my 501.
I could always get the PC to recognize the tab, just not through ADB.
With that AOKP rom though, I am not sure. I had it for a bit, but reflashed back to my 3.2.1 daily driver. Not sure if I could see it through PC, as I don't think I checked. Waste of time I think, as basically, it was 80% Thor Rom, and we all know it doesn't get 3g or gps on a 501.
Click to expand...
Click to collapse
I can't get it to recognize through ADB either. I'd love to try another ICS ROM, but I have to go through Dropbox and it gave me a smaller file name, so it isn't as safe. Might try to download through my a500.
I do have a Nandroid of 3.2.1, bit I doubt that could fix my issues.
Sent from my SGH-T989 using xda premium
skadude66 said:
I can't get it to recognize through ADB either. I'd love to try another ICS ROM, but I have to go through Dropbox and it gave me a smaller file name, so it isn't as safe. Might try to download through my a500.
I do have a Nandroid of 3.2.1, bit I doubt that could fix my issues.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Found this;
http://forum.tegraowners.com/viewtopic.php?f=30&t=350
What is interesting is the part about Acer ADB USB drivers. No link, so will have to search.
EDIT: Link
http://www.slatedroid.com/topic/17456-usb-drivers/
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have the android sdk installed? If you have no idea what that is then it is a no. If you don't then you will need to install it first.
Root
I upladed a package for you that that will automate the install process. You will have to put in the password you use to login and at one point.
To run the package, unzip the attachment to you desktop and open a terminal.
run:
Code:
cd ~/Desktop/root/
chmod a+x install_sdk.sh
chmod a+x root_nexus4.sh
./install_sdk.sh
You will have to choose which packages to install for the android sdk. A screen will popup in the middle of the install and give you options to select the packages. Check to "Tools" folder and continue. This link might help.
When this is finished run
Code:
./root_nexus4.sh
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
There are no drivers to install like windows.
Post #62 in the thread below is a walk through for getting everything setup on Ubuntu 12.10
http://forum.xda-developers.com/showthread.php?p=19446284
Note: The java files have changed to version 7 so the commands in the walkthrough need to be changed to reflect this. ADB does not work without java installed. You also have to manually enter the Nexus 4 into the list of devices which is covered under the editing udev section of the post.
If your not familiar with Linux this isn't easy to get setup, Linux isn't windows that's for sure. You might be better served trying to use one of the toolkits to root your phone. I've used mskips toolkit without any problems.
http://forum.xda-developers.com/showthread.php?t=1995688
---------- Post added at 10:25 AM ---------- Previous post was at 09:59 AM ----------
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have java installed properly in windows 7 and did you use the sdk manager to download and install the proper packages including the drivers?
http://developer.android.com/sdk/win-usb.html
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
In Ubuntu you do not need drivers. I attached a file that will automate the sdk install process. However, I did not include a java jdk installation. You will need that installed on ubuntu in order for the sdk to work. In the SDK there is a tool called "adb", and another called "fastboot". These two tools are what you will use to root your phone using ubuntu. If you absolutely need help installing the java jdk then let me know. Otherwise a google search "install java jdk ubuntu 12.04" should lead you to some good guides. NOTE: I am assuming you are using Ubuntu 12.04. Check which version you actually have.
Thanks for the links. I'll do some reading and try to get this set up tonight.
Austin Ag06 said:
Thanks for the links. I'll do some reading and try to get this set up tonight.
Click to expand...
Click to collapse
I just built an Ubuntu 12.10 box a couple weeks ago and followed the instructions in the link and it worked with no problems. Hardest part is setting up java as I had the instructions up on my windows pc and couldn't cut and paste the commands, the syntax has to be 100% correct or the command won't run and it was hard to judge where I needed to use spaces or not. This is the one thing I hate about Linux and that's having no executables to easily install things like java like there are in windows.
Hi guys,
I'm currently experiencing a probem with my Nexus 4. No matter what OS I use (Linux or Windows) or what driver I use adb keep saying that my device is offline. As I saw elsewhere I tried an other usb cable or port but nothing seemed to work. Does anyone got an idea for this ? This thing is gonna drive me crazy !
Thanks
Task Manager, then kill the ADB one. Then open ADB, adb devices again.
Otherwise, did you check the debugging =.= Or reinstall the driver manually (not by WIndows).
I have had a problem with this and it has been unsolved as of yet, but I may be able to help you. In the SDK Manager, there is an extras area, if you don't have the drivers from there I have found you may have trouble. It could be something else, but this should be a sufficient launchpad.
Sent from my ADR6425LVW on GrayTheWolf's CM10 build.
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
saintjimmy said:
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
Click to expand...
Click to collapse
Are you on 4.2.2 they changed somethings with the update. Have you updated your SDK?
Try installing PDAnet drivers. They will make it work.
xdaOSdev.team said:
Try installing PDAnet drivers. They will make it work.
Click to expand...
Click to collapse
I can verify this, it solved the problem I have been having for a few months in Linux OSes.
Sent from my ADR6425LVW on GrayTheWolf's CM10 build.
saintjimmy said:
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
Click to expand...
Click to collapse
Guys, he said he's using ubuntu lol there are no usb drivers to install
try this...it sounds like your adb may be out of date. This will also reinstall fastboot, unless you leave 'android-tools-fastboot' off the last command
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
btw, if you haven't already done so, you should get the full sdk installed. It's better to have it and not need it than to not have it and realize after three hours of pulling your hair out you should have had it all along lol (I've done it, so I speak from experience)
Thanks @hp420 but sadly the device is still offline. I'm just realizing it now but I didn't have the warning message about the association with the computer that I usually have when activating USB debugging with 4.2.2
Load latest SDK version. Load driver inf fix. Search forum. Known problem. Easy fix.
sent from my nexus 4; cat on lap, beer in hand
This is due to the new whitelist for adb in 4.2.2.
Some of these steps may be unnecessary, but I know this works (I've had to do it a few times to all my devices that have been upgraded to 4.2.2).
You need the adb from the latest SDK.
Untick USB Debugging.
Reboot the phone.
Tick USB Debugging.
Reboot the phone.
On your PC, make sure you add the new SDK/tools to the PATH then do adb kill-server; adb start-server
Unlock your phone.
Plug it in to your PC.
A message on your phone will appear asking to add the PC to the whitelist.
Accept this and your phone should appear when you do an adb devices
No need for driver i'm running linux...
Sent from my Nexus 4 using xda app-developers app
Nark.GA60 said:
This is due to the new whitelist for adb in 4.2.2.
Some of these steps may be unnecessary, but I know this works (I've had to do it a few times to all my devices that have been upgraded to 4.2.2).
You need the adb from the latest SDK.
Untick USB Debugging.
Reboot the phone.
Tick USB Debugging.
Reboot the phone.
On your PC, make sure you add the new SDK/tools to the PATH then do adb kill-server; adb start-server
Unlock your phone.
Plug it in to your PC.
A message on your phone will appear asking to add the PC to the whitelist.
Accept this and your phone should appear when you do an adb devices
Click to expand...
Click to collapse
Tanks fort that answer I'll try it as soon as possible !
Sent from my Nexus 4 using xda app-developers app
Try typing
adb kill server
adb start-server
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Try typing
adb kill server
adb start-server
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
saintjimmy said:
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
try a live cd of ubuntu and see what happens. that will at least narrow it down to whether it's your ubuntu installation or your phone. if it still won't mount in the live cd we can assume it's an issue with your phone. from there you can run a nandroid backup and reflash the factory images to see if that fixes the issue. if it does, you can try a fresh install of the rom you're using. if it still works, then restore all your apps/app data
if it's your ubuntu installation there are other avenues you can try.
saintjimmy said:
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can try uninstalling SDK and perform a fresh install. Move your platform tools to a more convenient locations and change the path under windows properties.
I don't know if you tried this already but..
Have you tried uninstalling and reinstalling the drivers for phone?
switch to another USB port? A different usb cable?
scream4cheese said:
You can try uninstalling SDK and perform a fresh install. Move your platform tools to a more convenient locations and change the path under windows properties.
I don't know if you tried this already but..
Have you tried uninstalling and reinstalling the drivers for phone?
switch to another USB port? A different usb cable?
Click to expand...
Click to collapse
UBUNTU!!!!!
lol
hp420 said:
UBUNTU!!!!!
lol
Click to expand...
Click to collapse
Or try using Ubuntu. LOL.
But dual-booting to another OS is a hassle.(?) If ubuntu is not your daily driver, you're gonna have to keep rebooting in between OSs.
scream4cheese said:
Or try using Ubuntu. LOL.
But dual-booting to another OS is a hassle.(?) If ubuntu is not your daily driver, you're gonna have to keep rebooting in between OSs.
Click to expand...
Click to collapse
Thann you all for your answers! I use linux mint which is my main OS. I manage to resolve my problem in a weird way: first I push a CWM recovery with fastboot and then I flash the ZIP from SuperSu ! From now USB debugging is working properly and I get the usual warning !
What I would like to know now is why ? Does the SuperSU ZIP reset something ?
Sent from my Nexus 4 using xda app-developers app