This incorporates the ideas of http://forum.xda-developers.com/showthread.php?t=2144709, so if you want to see how this was resolved for the Nexus 4, check out that thread.
Okay. So you've flashed a spanking new 4.2.2 ROM and ADB no longer talks to your Sensation. What happened?
Well, the fact is that 4.2.2 is significantly more secure, in the good sense. It enforces RSA authentication via ADB. However, RSA authentication is supported only in recent versions of ADB.
What to do?
First, make sure you have the latest version of ADB on your PC.
On Windows you can quickly find out if you your version of ADB is up to date. Check your ".android" folder and see if it holds a file called "adbkey".
On any platform type "adb version" to verify that you have the latest version of ADB. Versions 1.0.31+ support RSA authentication.
-- So now, if you have ADB 1.0.31 or higher. You can skip directly to step 2, then.
-- If you do not have ADB 1.0.31 or higher, and you have the full Android SDK installed, open the SDK manager and update it. If you only have ADB and fastboot installed in a folder on your PC, overwrite files in the folder with those in the corresponding zip file attached (windows or linux -- sorry! I don't have Mac versions at this time). These come from version 16.01 of the android platform-tools package, if you are curious.
-- if you have never installed the SDK or ADB or fastboot, now is the time to do that. I recommend going to http://developer.android.com/sdk/index.html to get started.
[*]Enable USB debugging on your phone
USB debugging is now enabled by selecting Android Debugging in System Settings > Developer Options.
"I don't have the Developer Options items in System Settings!!"
In Android 4.2.x, you need to go to System Settings > About Phone and tap the Build Number item about 6 or 8 times, and Developer Options will reappear.
[*]Plug in the USB cable. Securely.
Dismiss the USB mass storage window.
"I connected the cable, but nothing happened!!"
Okay, chill. You won't get a response until ADB tries to connect to your Sensation. So go ahead and start ADB on your PC. Suggested command:
Code:
adb devices
"Now ADB started, but nothing's happening on my computer!!!"
Uh, didn't I just advise you to chill ? Take a look at your phone...
"What's this pop-up that just popped up??"
(See image below)
Congratulations, that is Android asking your permission to store an RSA key on your Sensation for ADB interaction with your PC.
Fearlessly accept it.
Hint: check the "Always allow from this computer" box to save time later on.
The RSA authentication key you just accepted will be stored on your phone in the file /data/misc/adb/adb_keys.
You are now good to go. Just 3 easy steps with a minimum of panic.
Questions? Problems? Ask away!
Many thanks to XDA member skipjacks for the idea for this post
Hi,
Nice! :good:
People should also not use USB 3.0 slots or USB hubs.
Try several slots if the front ones do not work.
Windows 7 & 8 drivers are HERE in case anyone needs them...
malybru said:
People should also not use USB 3.0 slots or USB hubs.
Click to expand...
Click to collapse
I understand about the hubs, but why not USB 3.0?
Skipjacks said:
I understand about the hubs, but why not USB 3.0?
Click to expand...
Click to collapse
Hi,
I have read a lot of instances of "Device not recognized" when using 3.0 slots.
I am not saying it will never work.
But ,if you use one,and it does not work,then,try it on a 2.0 slot.
Thanks for the post
few problems:
- I tried updating ADB with SDK manager. It kept saying something was accesing the installation folder. even after I closed explorer, virusscanner etc. I replaced the files with the zip attachement, but still a weird issue.
- another thing. Before I updated adb reported error: device offline. After update the issue persists. not using any hubs or USB 3.0. I think it's because I'm not using the stock cable that came with the phone.
onemanshow85 said:
Thanks for the post
few problems:
- I tried updating ADB with SDK manager. It kept saying something was accesing the installation folder. even after I closed explorer, virusscanner etc. I replaced the files with the zip attachement, but still a weird issue.
- another thing. Before I updated adb reported error: device offline. After update the issue persists. not using any hubs or USB 3.0. I think it's because I'm not using the stock cable that came with the phone.
Click to expand...
Click to collapse
Hi,
I think there is one solution that will address both issues. Before I mention it, let me ask: are you sure you enabled USB debugging on your Sensation? This is confirmed if, when you plug in the cable to your PC, you immediately get a USB debugging icon in the Notification Bar.
Glad we got that out of the way!
Unplug your device from the PC.
Anyhow, since you already have the SDK installed, the recommended way to update is to use the SDK Manager.
--in Windows, I think this is an executable in the tools sub-folder of your main android SDK folder. Double clock on it.
--in Linux, start up a terminal and type
Code:
android
if that doesn't do it, CD to the /tools directory in android-sdk-linux, or wherever you put the SDK, first. Then type "android".
The window that opens when you start SDK Manager should show that you need an update to (at least) platform-tools. Go ahead and do the update. You will have to accept some license(s) - accept it or them.
Once the install is complete, close SDK Manager.
Now plug your USB cable back in, and try out the "adb devices" command. It should work.
Suppose you still get "device not found", though. Try the following: again unplug.
Type the command:
Code:
adb kill-server
Now plug the phone back in, verify that you have USB debugging, and try "adb devices".
If no go, let me know what platform you are running, etc. I've heard it could be the cable, but I think that you just need to make sure it is plugged in securely.
BTW, the reason you probably won't have to do the adb kill-server step is that the SDK Manager kills running adb processes during the install.
Let me know how it goes!
Yrs,
dkephart
Sent from my HTC Sensation using xda premium
tnx. I was somewhat ehead of the steps you mentioned. problem was that SDK manager can't install anything cause it can't seem to kill any other adb proces. But I used a workaround for that so no problem there.
ADB does find my device, only it is stated as offline. I will have to try it again with the stock cable that came with the phone. Then I'll know if this is a software issue. Currently I'm using a complete random micro-USB cable wich I found on work laying around.
I'll let you know if stock cable is any difference. If so, it might be usefull info for ppl to know to always use stock cable while using ADB/Fastboot
onemanshow85 said:
tnx. I was somewhat ehead of the steps you mentioned. problem was that SDK manager can't install anything cause it can't seem to kill any other adb proces. But I used a workaround for that so no problem there.
ADB does find my device, only it is stated as offline. I will have to try it again with the stock cable that came with the phone. Then I'll know if this is a software issue. Currently I'm using a complete random micro-USB cable wich I found on work laying around.
I'll let you know if stock cable is any difference. If so, it might be usefull info for ppl to know to always use stock cable while using ADB/Fastboot
Click to expand...
Click to collapse
Yeah... my random selection doesn't have this problem. But I once seemed to have it with the official cable. You might want to try rebooting both the phone and the PC.
Sent from my HTC Sensation using xda premium
The stock cable did the trick. everything works fine with the stock cable.
So if ppl find any trouble using ADB with a cable other then stock, this might cause the problem.
onemanshow85 said:
The stock cable did the trick. everything works fine with the stock cable.
So if ppl find any trouble using ADB with a cable other then stock, this might cause the problem.
Click to expand...
Click to collapse
Great find...and extra points to anyone who determines why this might be the case...
Sent from my HTC Sensation using xda premium
dkephart said:
Great find...and extra points to anyone who determines why this might be the case...
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Some really cheap cables only have 2 wires in them and can only be used for charging. You need the other wires for data transfer.
But some companies only put the charging wires in to save money on the copper.
It must be a REALLY low quality cable though. I mean I get all my cables on Monoprice for like $1-$2 and they all work great for data.
Or, the cable does have all the internal wires and one is just broken inside.
Sent from my HTC Sensation using xda app-developers app
I've done everything in the thread, I can see my htc when I run the adb command but I don't get the pop-up on my phone. I tried the stock cable and different one but nothing. I'm on latest albinoman ROM. what should I do ?
P.S : I tried rebooting both the phone and pc but still the same problem.
nemovich said:
I've done everything in the thread, I can see my htc when I run the adb command but I don't get the pop-up on my phone. I tried the stock cable and different one but nothing. I'm on latest albinoman ROM. what should I do ?
P.S : I tried rebooting both the phone and pc but still the same problem.
Click to expand...
Click to collapse
You get your serial number and "device offline" from the adb devices command?
Sent from my HTC Sensation using xda premium
dkephart said:
You get your serial number and "device offline" from the adb devices command?
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
no just the serial number
nemovich said:
no just the serial number
Click to expand...
Click to collapse
I'm puzzled, then. What happens when you do "adb shell"?
And if that comes back with the shell prompt (a $), then what happens if you type "su"?
Sent from my HTC Sensation using xda premium
dkephart said:
I'm puzzled, then. What happens when you do "adb shell"?
And if that comes back with the shell prompt (a $), then what happens if you type "su"?
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
with adb shell I get $ and with su I get #.
nemovich said:
with adb shell I get $ and with su I get #.
Click to expand...
Click to collapse
Cool! Then you have adb working. To confirm, in the shell, "ls" should come back with a listing of the files on your device. If you do "cd sdcard" and "ls" you get the files on the SD card.
You're good to go.
Sent from my HTC Sensation using xda premium
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
---------- Post added at 05:07 PM ---------- Previous post was at 04:57 PM ----------
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
Sent from my HTC Sensation using xda premium
nemovich said:
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
Click to expand...
Click to collapse
There is still a possibility adb did not update, or that you have more than one copy of adb on your system. Here's another way. cd to the android-sdk- windows folder (you are running windows, right?) and type
Code:
android update sdk --no-ui
...now the SDK manager will run. It takes a while. When done, reboot your PC and plug in your Sensation. Go to the platform-tools subfolder of your SDK folder and run adb from there. You could type "./adb" to make sure. Check your device - the homescreen has to be unlocked - and you should see the pop-up.
I don't really know about Android Commander, so there is always a possibility that that app doesn't handler things right, but I think this will work.
Let me know how it goes...
Sent from my HTC Sensation using xda premium
dkephart said:
There is still a possibility adb did not update, or that you have more than one copy of adb on your system. Here's another way. cd to the android-sdk- windows folder (you are running windows, right?) and type
Code:
android update sdk --no-ui
...now the SDK manager will run. It takes a while. When done, reboot your PC and plug in your Sensation. Go to the platform-tools subfolder of your SDK folder and run adb from there. You could type "./adb" to make sure. Check your device - the homescreen has to be unlocked - and you should see the pop-up.
I don't really know about Android Commander, so there is always a possibility that that app doesn't handler things right, but I think this will work.
Let me know how it goes...
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
when I cd to the sdk folder ( C:\Users\Documents\adt-bundle-windows-x86-20130219), it gives me command not recognized. I can run sdk manager from the folder and everything is up to date.
I run adb from platform-tools and it gives me the same thing as before.
one thing though, I don't see the "adbkey" file in platform-tools but it is there in ".android" folder. so I run it from the later folder too but the still the same thing, no pop-up.
it's not just android commander, a lot of other apps give the same thing.
Related
Team XDA Developers,
It's been a long frustrating evening and I write to you in a desperate plea for help. First off--YOU ARE ALL GENIUSES. That being said let my scrubby noobermcnooberstein train of thought commence.
Found a lot of help from 'drexman8244' on the Nexus S 'fastboot help?' thread and although I've made it decently far... I've hit a wall that I cannot overcome.
First--the specs. Running Windows XP SP3 32-bit. The phone is a Samsung GT-i9020 (aka Nexus S).
Second--I've successfully installed the Java SDK, the Android SDK, downloaded USB drivers from Google, downloaded/installed a copy of ADB into the '/SDK/tools' directory, configured the PATH value in the Windows System Environment variables in Control Panel 'System', and basically set things up to rock and roll.
Third--I turn on my Nexus S, enable USB debugging, and attach the device to the workstation. The system detects the device and produces the following output (which appears to install the Android ADB driver and successfully establish a connection to Nexus S). Verified this step by entering 'adb devices' in a command prompt. Working great!
Fourth--In the command prompt I enter 'adb reboot bootloader'. The device reboots... but here's where things get strange. The device enters Fastboot (bootloader) mode and the Windows workstation request an additional 'Android 1.0' hardware device driver to continue. (I've searched far and wide and can't seem to find something that resembles this driver)
Fifth--Regardless of my efforts to direct the Hardware Installation Wizard to the 'C:\Program Files\Android\android-sdk-windows\google-usb_driver' location on my workstation... it just doesn't seem to accept that as a valid driver for the device in Fastboot (bootloader) mode. Blows my mind.
Sixth--??? What steps do you fellas think I should take next?! I've obviously tried uninstalling the device from the workstation, rebooting the Nexus S and the workstation, attempting to install the ADB driver before attaching the device and rebooting into Fastboot. Nothing I've tried seems to work.
Any input is especially appreciated and I hope that there's nothing left out. Warm regards--
The Kid
Edit: Posted an album on the Imgur account in case anyone wants to look at screenshots of the steps provided.
Hey man what you need to do is this.....I had the same problem with drivers. Once I figured that out things ran smooth.
PDAnet drivers
http://forum.xda-developers.com/showthread.php?p=9861928#post9861928
webplus said:
Hey man what you need to do is this.....I had the same problem with drivers. Once I figured that out things ran smooth.
PDAnet drivers
http://forum.xda-developers.com/showthread.php?p=9861928#post9861928
Click to expand...
Click to collapse
You're a scholar and a gentleman--and absolutely right.
Looks like the default drivers from Google are borked. Downloaded the ones from PdaNet and things went smooth like butter. Thanks for making my day!!
haha no problem took me 6 hours of trying everything to figure out what I was doing wrong. Glad everything worked. If not for these forums and some great minds on these boards many of us would still be sporting a locked phone......so KUDOS to them!
bluetrevian said:
Team XDA Developers,
It's been a long frustrating evening and I write to you in a desperate plea for help. First off--YOU ARE ALL GENIUSES. That being said let my scrubby noobermcnooberstein train of thought commence.
Found a lot of help from 'drexman8244' on the Nexus S 'fastboot help?' thread and although I've made it decently far... I've hit a wall that I cannot overcome.
First--the specs. Running Windows XP SP3 32-bit. The phone is a Samsung GT-i9020 (aka Nexus S).
Second--I've successfully installed the Java SDK, the Android SDK, downloaded USB drivers from Google, downloaded/installed a copy of ADB into the '/SDK/tools' directory, configured the PATH value in the Windows System Environment variables in Control Panel 'System', and basically set things up to rock and roll.
Third--I turn on my Nexus S, enable USB debugging, and attach the device to the workstation. The system detects the device and produces the following output (which appears to install the Android ADB driver and successfully establish a connection to Nexus S). Verified this step by entering 'adb devices' in a command prompt. Working great!
Fourth--In the command prompt I enter 'adb reboot bootloader'. The device reboots... but here's where things get strange. The device enters Fastboot (bootloader) mode and the Windows workstation request an additional 'Android 1.0' hardware device driver to continue. (I've searched far and wide and can't seem to find something that resembles this driver)
Fifth--Regardless of my efforts to direct the Hardware Installation Wizard to the 'C:\Program Files\Android\android-sdk-windows\google-usb_driver' location on my workstation... it just doesn't seem to accept that as a valid driver for the device in Fastboot (bootloader) mode. Blows my mind.
Sixth--??? What steps do you fellas think I should take next?! I've obviously tried uninstalling the device from the workstation, rebooting the Nexus S and the workstation, attempting to install the ADB driver before attaching the device and rebooting into Fastboot. Nothing I've tried seems to work.
Any input is especially appreciated and I hope that there's nothing left out. Warm regards--
The Kid
Edit: Posted an album on the Imgur account in case anyone wants to look at screenshots of the steps provided.
Click to expand...
Click to collapse
as far as the USB driver and such, dont point it directly at the USB-driver folder point it at the SDK folder and then click the box that searches the sub folders
The drivers from Google aren't borked. You install one driver - the "normal" Android USB interface - for when the phone is plugged in and fully booted, and another - the "Fastboot" interface - for when the phone is plugged in but in recovery. For the latter, you have to pick the driver manually and do a force install, as Windows won't recognize the device.
Both drivers are available in the usb-drivers directory in the Android SDK directory, provided you loaded the SDK manager and downloaded the USB drivers.
jimmypopulous said:
The drivers from Google aren't borked. You install one driver - the "normal" Android USB interface - for when the phone is plugged in and fully booted, and another - the "Fastboot" interface - for when the phone is plugged in but in recovery. For the latter, you have to pick the driver manually and do a force install, as Windows won't recognize the device.
Both drivers are available in the usb-drivers directory in the Android SDK directory, provided you loaded the SDK manager and downloaded the USB drivers.
Click to expand...
Click to collapse
This is correct. Oddly, I had no problems searching with the driver with the wizard on my win7 x64 pc, but had to manually point it for the fastboot relevant driver on my laptop, running the same OS.
Basically, as jimmypopulous says, you need to manually select the usb driver when you're in fastboot, according to my experience.
I hear what folks are saying about the Google USB drivers working fine for most installs.
That being said... No matter how many times I manually provided the path to the Google Fastboot driver location the OS refused to accept them as valid. (Seems like there are others that experienced this problem from a quick glance at the forums.)
In either case it seems as though the alternative drivers resolved the problem and I appreciate all the feedback that was given!
The Kid
I had the same issue - my Nexus One always worked fine on my laptop but even after updating the SDK & drivers I couldn't get fastboot to work with my Nexus S.
ADB worked fine but my laptop didn't recognise my phone properly via fastboot.
After installing PDANet, fastboot works as well now - thanks very much for your help, my NS is now rooted!
Hi,
This is my first post so bear with me and let me know if I'm outta line in any way.
I'm trying to root my nexus s and I am running XP. I can get ADB devices to work but when it comes to fastboot my device is not recognised. I have been trying for a couple of days and still cannot get it to work! I have installed PDAnet and and tried force installing the drivers but I can' get them to install. When I click install driver from a list and browse to the drivers it says that the specified location does not have information about your hardware. Is there something I am doing wrong here? Is there another way I can force install the driver?
Also I am a MASSIVE NOOB so please try and be specific when giving me directions.
Thank you XDA Overlords!
Uninstall all references to the drivers. your phone should show up with a bang once done properly.
Then follow the excellent guides here to root your phone properly
Sent from my Nexus S
Also make sure you have the phone connected and in fastboot mode when you install PDAnet.
Sent from my Nexus S using XDA App
Adding these 2 lines in the android_winusb.inf file from the google "usb_driver" folder helped me.
;Nexus S
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E20&REV_0100
Click to expand...
Click to collapse
Detailed:
If your PC displays "Android 1.0" in Device Manager (when you try to connect the phone through fastboot), then go to Android 1.0, Properties, Details tab. Select Hardware ids.
USB\VID_18D1&PID_4E20&REV_0100 This part should be exactly the same with the one you add in "android_winusb.inf"
When you say uninstall all references what do you mean? Again, I am a massive noob. Do you mean uninstall the device with USBDeview from all the previous times I have tried installing it? I've tried that multiple times and still can't get it to work
matt2053 said:
Also make sure you have the phone connected and in fastboot mode when you install PDAnet.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
When I try install PDAnet with the ns in fast boot mode the installer says please connect your phone to complete the installation. Is there another way to install it where this won't happen?
lambda30 said:
Adding these 2 lines in the android_winusb.inf file from the google "usb_driver" folder helped me
Detailed:
If your PC displays "Android 1.0" in Device Manager (when you try to connect the phone through fastboot), then go to Android 1.0, Properties, Details tab. Select Hardware ids.
USB\VID_18D1&PID_4E20&REV_0100 This part should be exactly the same with the one you add in "android_winusb.inf"
Click to expand...
Click to collapse
In fastboot the ns just comes up as unknown device with hardware id of USB\UNKNOWN.
I tried just entering that id into the .inf file but that didn't help.
Anyone got any other ideas?
Thank you for these ideas I'm not gonna give up yet!
thejug02 said:
When I try install PDAnet with the ns in fast boot mode the installer says please connect your phone to complete the installation. Is there another way to install it where this won't happen?
Click to expand...
Click to collapse
Maybe the installer has changed since I did it.
Try running PDA install, put phone in fastboot, then plug in when prompted.
Sent from my Nexus S using XDA App
matt2053 said:
Maybe the installer has changed since I did it.
Try running PDA install, put phone in fastboot, then plug in when prompted.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Yea maybe it did change. When I run the installer it stops and requests that you connect the device and put it in debugging mode. When you connect the ns in fastboot it doesn't read it as the ns so just continues to ask you to connect the ns.
Thanks for the idea though! Keepem coming people!
I just uninstalled the drivers from my laptop and installed again using PDAnet method. It worked without a problem.
The only other thing I can think of is to boot phone and make sure USB Debugging is checked and try again.
Sent from my Nexus S using XDA App
lambda30 said:
Adding these 2 lines in the android_winusb.inf file from the google "usb_driver" folder helped me.
Detailed:
If your PC displays "Android 1.0" in Device Manager (when you try to connect the phone through fastboot), then go to Android 1.0, Properties, Details tab. Select Hardware ids.
USB\VID_18D1&PID_4E20&REV_0100 This part should be exactly the same with the one you add in "android_winusb.inf"
Click to expand...
Click to collapse
It helped me too! It must be added under the [Google.NTx86] box
Ok so I hope someone can help. My issue is this. When I try to connect to PdaNet I get this message "please kill Android Debug Bridge (adb.exe)" . I use my device to tether, and really need this working. Yes, I can tether wirelessly. But it eats a lot of battery. What do I need to do? Also, if I'm turning something off, how do I tun it back on if I need it later?
Adb start-server and kill-server I think it is. It won't hurt anything to turn it off.
Usually when you use an adb command it says server is out of date... killing (for me anyway)
What rom are you running? I'm pretty sure wired tether works on Evervolv right in the Wireless and Networks menu.
Sent from my HTC Speedy (Gonzalez)
Thanks for the quick reply. I'm using the Stock Sence Rom. Just typed it in. It says " 'adb' is not recognized as an internalor external command, operable program or batch file" . I forgot do I have to type something in before I type adb? Or to get to adb before I can turn it off?
prboy1969 said:
Thanks for the quick reply. I'm using the Stock Sence Rom. Just typed it in. It says " 'adb' is not recognized as an internalor external command, operable program or batch file" . I forgot do I have to type something in before I type adb? Or to get to adb before I can turn it off?
Click to expand...
Click to collapse
Go to the Android SDK and navigate to tools or platform-tools (depending on which version you have, probably the latter) and open up a terminal (command prompt) in that location. The commands might not be exact, I get them confused from time to time
Hope that helps.
Sent from my HTC Speedy (Gonzalez)
Can you got to task manager, find adb.exe and end process? That's what used to do when I got that error.
Sent from my PG06100 using XDA Premium App
Thanks. Will try that now.
Shifted from neverland using XDA Premium App
To tether 4g by usb, I use wired tether for root users. To tether 3g, I use the hacked mod by nfinitefx. No external program on your pc needed for linux or win 7 (just a driver needed for xp)
Sent from my PG06100 using XDA App
Well after much BS, and a lot of help from all you guys. I got it figured out. Seems adb exe. turns on automtically everytimeI connectmy phone . Well what I had to do is connect, then open task manager and end adb exe . Only thing isnow I can't seem to restart adb . But I got PdaNet working, even on 4G.
I downloaded the android sdk and eclipse. Over pdanet w/ no prob.
But when I tried to download packages from the repo adb.exe interfered with the pdanet connection..if I killthe process.eclipse just restarts adb. So I'm having trouble getting the packages
---------- Post added at 03:29 PM ---------- Previous post was at 03:22 PM ----------
I ended up deleting adb.exe downloaded the packages and restored adb from the recycle bin
trusmokah said:
I downloaded the android sdk and eclipse. Over pdanet w/ no prob.
But when I tried to download packages from the repo adb.exe interfered with the pdanet connection..if I killthe process.eclipse just restarts adb. So I'm having trouble getting the packages
---------- Post added at 03:29 PM ---------- Previous post was at 03:22 PM ----------
I ended up deleting adb.exe downloaded the packages and restored adb from the recycle bin
Click to expand...
Click to collapse
Putting this out there for anyone who had the same problem that I had; When I would end-task ADB.exe, it would instantly restart.
The fix for me was that I had to first end-task "droidexplorer" which was a running task even when Droid Explorer was not running. After that, I could end adb.exe
Why are you using pdanet? CM7 has built in wireless tethering.. just doesn't make "sense".
Check the date on the OP . March of this year .
I have used pdanet successfully but I only need it every once in a while. Recently when I tried to start it i could not get adb.exe to stop. yes, i used the task manager.
has anything changed?
PDANET and ADB
I have used pdanet for years. worked fine on my eris, and was working on my rezound up until a month or so ago. now i have constant problem with adb.exe restarting.
tried killing it with task manager, then plugging phone in. pdanet connect for a second, but it looks like as soon as adb kicks on i no longer have internet access, though i am still connected. shows no kb action from the phone.
anyone with any thoughts? need help.
stuck on updating pdaNet updating on your phone
Hi,
I was wondering if anyone has a fix for this. I tried to install pdanet on my computer but it was giving me an error when i connected my phone. I then uninstalled the current version of pdanet and used an older version. That also did not work. So I am back at square one trying to install the current version again but now I am stuck at the installation screen that says "updating pda on your phone". What can I do now?
Thanks
This forum is really old. When I teathered with this device I used https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether Its easier to use than pdanet. Unless you're not rooted.
Chad The Pathfinder said:
This forum is really old. When I teathered with this device I used https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether Its easier to use than pdanet. Unless you're not rooted.
Click to expand...
Click to collapse
yes, but my phone gets stuck in a bootloop on a rom that I installed. So now I cannot do much of anything except get into recovery mode.
Well when I get into a bootloop the only thing to do is a full wipe and start over. Sorry.
Chad The Pathfinder said:
Well when I get into a bootloop the only thing to do is a full wipe and start over. Sorry.
Click to expand...
Click to collapse
Yea, I'm trying to do that. I need to know how to do that. Could you help me out?
http://forum.xda-developers.com/showthread.php?t=1266885
http://org.downloadcenter.samsung.c...113815/T-Mobile_T769_Blaze_4G_USB_Drivers.exe
22.8MB file installing slowly?
First off, I apologize for being paranoid. I downloaded this file and started installing it. It's a 22.8 MB .exe file. I started installing, and it *seems* to be working correctly. After clicking install MSS Installation Wizard is installing Samsung USB Driver for Mobile Phones V1.3.2200.0. Slightly after, desktop toolbar icon popped up Installing device driver software, opened it up showing:
USB Composite Device Ready to use
USB Mass Storage Ready to use
CDC Cerial Waiting for user input
Samsung LTE USB Device Ready to use
Samsung LTE Card USB Device Ready to use
It's been like 10-15 minutes and the MSS Installation Wizard is chugging along, at about 50%. Is this file legit? Is it just my slow ass computer that is making this install take forever? Have other successfully installed this for ADB usage?
Looks to just be the link to Samsung, which yes I have installed. It was a bit slow on my netbook.
Sent from my SGH-T769 using Tapatalk 2
Same here. I installed it yesterday while working on my wife's phone (Blaze also). The first time I tried to install it on my desktop it was slow and there was some sort of error. I had to reboot and redo it before I got it properly installed.
I've never needed the drivers, just downloaded kies.
Sent from my SGH-T769 using XDA
Kies I think installs the drivers for you. You can't properly use the device without the drivers and you definitely cannot use some of the tools without them.
No ADB
hi guys
I'm trying to getting ADB going on the T-Mobile BLAZE 4G (T769), but I don't seem to be able to have adb recognize the device.
I've installed the Samsung drivers (linked here) and it installs a bunch of devices.
But, adb devices returns nothing.
Any idea whether I've missed anything?
I'm not new to adb or Android (have done it on over 10 devices), but I just can't to get it going on the Blaze.
FYI, as part of unlocking the devices, I had to enter menus via 7284 and 9090 on the keypad and enable a bunch of usb diag/modem stuff. Could this have anything to do with it?
** UPDATE **
I just used *#7284# and changed back the USB->Modem to USB->PDA and now ADB works.
Does anyone know how to get this device working with adb on Debian? I can't for the life of me get the device recognized by adb. I have a 51-android.rules set up and all that jazz. udev sees it and rules are applied properly. I just can't get it recognized. It seems references to accessing this device from Linux are very few and far between. What gives?
Well in case anyone is interested I found the solution while searching elsewhere. It seems it's a permission problem. If I run a:
sudo adb kill-server
Then:
sudo adb start-server
The device is then recognized. Hope maybe this helps someone else.
Sent from a magical unicorn using CM10
strungoutfan78 said:
Well in case anyone is interested I found the solution while searching elsewhere. It seems it's a permission problem. If I run a:
sudo adb kill-server
Then:
sudo adb start-server
The device is then recognized. Hope maybe this helps someone else.
Sent from a magical unicorn using CM10
Click to expand...
Click to collapse
Can you explain this a bit more, like where to input these commands. Im a bit green and having this issue.
---------- Post added at 01:25 AM ---------- Previous post was at 01:04 AM ----------
theshowman said:
hi guys
I'm trying to getting ADB going on the T-Mobile BLAZE 4G (T769), but I don't seem to be able to have adb recognize the device.
I've installed the Samsung drivers (linked here) and it installs a bunch of devices.
But, adb devices returns nothing.
Any idea whether I've missed anything?
I'm not new to adb or Android (have done it on over 10 devices), but I just can't to get it going on the Blaze.
FYI, as part of unlocking the devices, I had to enter menus via 7284 and 9090 on the keypad and enable a bunch of usb diag/modem stuff. Could this have anything to do with it?
** UPDATE **
I just used *#7284# and changed back the USB->Modem to USB->PDA and now ADB works.
Click to expand...
Click to collapse
I tried the #7284# and #9090# and got "unable to process request"
any other suggestions?
After I flash the latest CM9 or CM10 builds, ADB no longer finds my phone.
I've checked my drivers and re-installed them numerous times and that doesn't help.
In CM9 I can mount my phone just fine, and I can explore the files with ease.
I have tried other Sense based ROMs and ADB will find my phone just fine. (The last one I tried was CleanROM4.5 and ADB found it right away)
I've tried the CM9 alpha4 build and ADB works perfectly.
ADB even works in recovery work.
I'm wondering who has it working and who doesn't.
Also, if you have it working, could I pick apart your brain to see what I'm doing differently?
Just try typing 'adb devices' and see if your phone shows up.
Finally solved this issue.
Here's how I did it in Windows 7 Profession 64bit. FYI, I have HTC Sync installed.
Plug your phone in to your pc.
Open up device manager (Right click computer -> Manage -> Device Manager)
Find your phone in the list.
Mine was initially under 'Other Devices' labeled as 'One'
Right click -> Update Driver Software...
Select 'Browse my computer for driver software'
Select 'Let me pick from a list of device drivers on my computer'
Make sure to uncheck 'Show compatible hardware'
Select 'Android Phone' then 'Next'
Select 'Google, Inc' on the left pane and 'Android ADB Interface' on the right pane. Hit Next
Hit 'OK' if there was a warning.
To test if ADB is working, launch a CMD prompt and type 'adb devices'
You should now see you phone in the list!!
p.s. mounting your sdcard should also work.
Thanks to h8rift and cortez.i for helping me out!
Click to expand...
Click to collapse
I'm in the same boat with ya. I've been trying to figure this out on my phone but have come across no solution. Nobody seems to like using adb here but I find it quite useful.. anyway I found that just using adb over WiFi is sufficing for now. Hope it gets fixed tho.
Sent from my HTC One XL using xda premium
xaey said:
I'm in the same boat with ya. I've been trying to figure this out on my phone but have come across no solution. Nobody seems to like using adb here but I find it quite useful.. anyway I found that just using adb over WiFi is sufficing for now. Hope it gets fixed tho.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
That's good to know it works over WiFi. I haven't tried that myself, mainly because I don't know how.
Is it easy to set up WiFi ADB?
I need it for App development so it would be nice to get some form of it working
(At least I'm not the only one having issues)
[email protected] said:
That's good to know it works over WiFi. I haven't tried that myself, mainly because I don't know how.
Is it easy to set up WiFi ADB?
I need it for App development so it would be nice to get some form of it working
(At least I'm not the only one having issues)
Click to expand...
Click to collapse
Yup really easy. Just select the option right under enabling adb in the settings app that enables adb over WiFi. Then in the cmd prompt type "adb connect x.x.x.x:5555" where x.x.x.x is the ip address it gives you in the settings. Then you should be connected. To double check just check adb devices and it should show up.
Sent from my HTC One XL using xda premium
xaey said:
Yup really easy. Just select the option right under enabling adb in the settings app that enables adb over WiFi. Then in the cmd prompt type "adb connect x.x.x.x:5555" where x.x.x.x is the ip address it gives you in the settings. Then you should be connected. To double check just check adb devices and it should show up.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Ah good deal! I'll try that when I get home.
Thanks!
Finally solved this issue.
Here's how I did it in Windows 7 Profession 64bit. FYI, I have HTC Sync installed.
Plug your phone in to your pc.
Open up device manager (Right click computer -> Manage -> Device Manager)
Find your phone in the list.
Mine was initially under 'Other Devices' labeled as 'One'
Right click -> Update Driver Software...
Select 'Browse my computer for driver software'
Select 'Let me pick from a list of device drivers on my computer'
Select 'Android Phone' then 'Next'
Select 'Google, Inc' on the left pane and 'Android ADB Interface' on the right pane. Hit Next
Hit 'OK' if there was a warning.
To test if ADB is working, launch a CMD prompt and type 'adb devices'
You should now see you phone in the list!!
p.s. mounting your sdcard should also work.
Thanks to h8rift and cortez.i for helping me out!
Mine comes up as HTC MTP Device and when I go into device manager and try to manually install it still fails. It doesn't come up as "One" and it won't let me choose "Google, Inc." As soon as I plug the device into the computer it starts to install the drivers and that's when it switches from "One" to "HTC MTP Device". Is there a way to make it so Windows 7 doesn't automatically try to install drivers for a device when you plug it in?
SkizzMcNizz said:
Mine comes up as HTC MTP Device and when I go into device manager and try to manually install it still fails. It doesn't come up as "One" and it won't let me choose "Google, Inc." As soon as I plug the device into the computer it starts to install the drivers and that's when it switches from "One" to "HTC MTP Device". Is there a way to make it so Windows 7 doesn't automatically try to install drivers for a device when you plug it in?
Click to expand...
Click to collapse
I had that show up once too, for this, in the 'Let me choose my own' try selecting '(Standard USB Host Controller) on the left pane and 'USB Composite Device' on the right pane.
Oh and p.s. Make sure to uncheck 'Show compatible hardware'
This worked perfectly! Thanks for this.
Sent from my One X using xda premium
i got adb working with that method above but my phone still doesn't mount the sd card without rebooting
thoughts?
bigballa said:
i got adb working with that method above but my phone still doesn't mount the sd card without rebooting
thoughts?
Click to expand...
Click to collapse
Hmm I have not heard of that issue before. That is interesting indeed. Did it used to work before on stock/other ROMs?
Well, I TRIED to follow the directions above, but I don't have the "Show compatible hardware" check box, and googling for the problem only turns up solutions to other devices that require the unchecking of that box...none, where the box IS the problem...
bikeracer4487 said:
Well, I TRIED to follow the directions above, but I don't have the "Show compatible hardware" check box, and googling for the problem only turns up solutions to other devices that require the unchecking of that box...none, where the box IS the problem...
Click to expand...
Click to collapse
What driver are you trying to update?
Is it the HTC MTP one? Or?
[email protected] said:
What driver are you trying to update?
Is it the HTC MTP one? Or?
Click to expand...
Click to collapse
It said HTC MTP at first, but I deleted the driver software for that so now it says "One".
Have you been able to resolve the issue? I'm unfortunately going on vacation and won't have internet for a week.
Sent from my One X using xda app-developers app
[email protected] said:
Have you been able to resolve the issue? I'm unfortunately going on vacation and won't have internet for a week.
Click to expand...
Click to collapse
Unfortunately, no. I've resorted to using the terminal emulator on the phone when I REALLY need the console, and I can still mount the USB storage just fine, so it's not ideal, but I've been making do.
Solved for LG OB
I browsed device manager on windows 7 , there i got missing drivers for "smbus controller"
I downloaded Intel chipset drivers and installed it. Missing smBus controller yellow icon gone. and now my device is listed in output of "adb devices" command
Wow the threads make it look so easy but here are my steps so far and I'm a couple hours into S-Off but had to go through all this stuff (The basics I guess but this is my first time on android 4.4 so I was pretty lost.
1) First I found the XDA Developer link here which has a QR code to scan to download the file.
2) Realized I did not have a QR Scanner installed so I installed google goggles.
3) Scanned the code and realized it did not work and simply takes me to the xda developers forum
4) Searched for another link and found this one http://dottech.org/156395/how-to-roo...verizon-guide/ (This QR code works)
5) downloaded and installed the weaksauce exploit.
6) Decided I will backup my data on the phone before continuing .
7) Installed titanium backup
8) Was told to enable USB debugging
9) Found this can only be enabled if your phone has development mode enabled.
10) Searched for how to do that on this newest version of android and found this link. http://www.pcadvisor.co.uk/how-to/go...formance-mode/ which I was able to figure out the exact steps for the M* on my own.
11) In the newly unlocked developer options from the enabled USB debugging.
12) Titanium backup reminded me I do not have the paid version (but I do own a licesnse!) Need to copy the license file to the SD card.
13) Realized I don't have an external SD card installed.
14) Searched the house for a paperclip to pop out the SD card slot, no dice... Found a needle and trimmed the head off it with wire cutters, and popped out the door.
15) Installed the SD card!
16) Titanium backup says it cannot write to the external SD card (Well this is where I like to keep my backups not on the internal Card....)
So Starting from 18 how do I:
1) Use titanium backup to backup to my external SD card (No write permission). I have tried the SDFix application and that did not work. How do i get write permission to backup with titanium backup?
2) Where do I download the HTC M8 Drivers?
Ok so I guess I cannot backup the phone, lets say I will just skip the backup.
I'm trying to S-Off using the weaksauce method. I go to the folder where I downloaded firewater and type adb reboot and I get a message that my device is unauthorized..
What now?
Did you look here ? http://forum.xda-developers.com/showthread.php?t=2708628
Works great.
You can just use internal storage for your backup, once you get the phone s offed . Then do a backup to the external sd card. You need root access and a kernel without write protection. Take your time, it'll work.
Sent from my Nexus 7 using XDA Premium 4 mobile app
I would recommend watching some of these videos, they are very helpful.
http://forum.xda-developers.com/showthread.php?t=2697957
+1 on the videos well worth watching!
Sent from my Nexus 7 using XDA Premium 4 mobile app
Did you get it figured out? If you didn't and still need some help, send me a PM and I'll walk you through step by step and help you get it done. I've walked three people through the S-OFF method now (using Teamviewer and chat) and am getting pretty efficient at it. Shoot me a PM if your still stuck.
Watch this...
https://www.youtube.com/watch?v=sLtmwN1UyUU
I'm having the exact same problem. I rooted the phone thinking that's all I'd need to do. But with TiBu I can't backup to my SD card. So now I'm trying to do the S-Off so I can solve that problem. But I can't get the adb to work either.
I installed the HTC Sync Manager "package" from HTC, which allegedly comes with the driver. But, when I plug the phone into the computer it doesn't even see an adb device for my phone. I'm familiar with adb devices because I used it on my Droid Bionic.
Then I downloaded what has been nicknamed the "HTC One Toolkit M8" and installed the "Universal Adb Driver" from that. Still, no adb device is detected. Frankly, I'm laughing and disgusted with this phone. I'm laughing because someone with my prior skills with android should have no problem with this. But disgusted because this phone has been the most counter-intuitive phone I've ever owned. Just trying to disable the lock screen took almost 30 minutes.
Anyone know what I'm doing wrong? When I plug the phone in right now it shows up under "Portable Devices" and that's it. My Bionic would pop up 3 devices(CD-ROM, media device or something of that sort and the adb device).
I've literally spent the last hour searching with Google trying to figure out what I'm doing wrong. I thought it was a driver problem, but now that I'm not seeing any "unknown" devices nor am I seeing the adb device I'm convinced I've screwed this up somehow.
Yay me. I can't find my old account info, so 1 post for me.
Edit: Also, after installing the "Minimal ADB and Fastboot" as well as the Android SDK, the command "adb devices" has never found my phone. LOL
Just an FYI...the tool to open the SD card slot comes with the phone. It's the metal piece with the HTC logo in the packaging that the manuals come in. You'll have to pull that part of the box apart to get it out.
It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Pauls57 said:
It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Also, if you have any other type of phone software such as pdanet installed on your computer, either uninstall it or close it before trying to run the exploit.
Pauls57 said:
It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Click to expand...
Click to collapse
Yeah, I did that already. I'm convinced this isn't a driver issue since I never actually see the adb device(or an unknown device) in my device manager.
robocuff said:
Also, if you have any other type of phone software such as pdanet installed on your computer, either uninstall it or close it before trying to run the exploit.
Click to expand...
Click to collapse
I don't. I haven't gotten that far since I haven't gotten s-off done.
Are you using a USB 2.0 port on your computer. USB 3.0 will cause problems with ADB. What operating system does your computer have on it? Windows 8 doesn't seem to get along well with ADB either. Seems to work for some, and not for others.
Joshy8 said:
Yeah, I did that already. I'm convinced this isn't a driver issue since I never actually see the adb device(or an unknown device) in my device manager.
I don't. I haven't gotten that far since I haven't gotten s-off done.
Click to expand...
Click to collapse
That just seems to me that it IS more likely a driver issue. You should see your device name or at least unknown device. Open up your device manager, then unplug your phone and replug it in. See what it shows when it refreshes. It will be under portable devices or Android USB devices or both. Mine shows both. If you still need help shoot me a PM and I can walk you through.
robocuff said:
Are you using a USB 2.0 port on your computer. USB 3.0 will cause problems with ADB. What operating system does your computer have on it? Windows 8 doesn't seem to get along well with ADB either. Seems to work for some, and not for others.
Click to expand...
Click to collapse
Windows 8 doesn't have any problems with adb. I've used it flawlessly on several computers. USB 3.0 neither. USB 3.0 can however cause problems with Firewater running correctly.
nicholi2789 said:
That just seems to me that it IS more likely a driver issue. You should see your device name or at least unknown device. Open up your device manager, then unplug your phone and replug it in. See what it shows when it refreshes. It will be under portable devices or Android USB devices or both. Mine shows both. If you still need help shoot me a PM and I can walk you through.
Click to expand...
Click to collapse
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.
Joshy8 said:
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.
Click to expand...
Click to collapse
I don't know, I have had lots of driver issues on lots of devices and had to sort it out many times. Most notably was my Nexus 7 that thing was the hardest device to get drivers installed for, it took me hours. I've gotten pretty dang efficient at installing drivers nowadays though. I need more specific information about your set-up before I can really offer good advice though. The HTC Media Cd rom that you see pop up when you plug in is the CDROM.iso. It's just stupid HTC bloatware crap, you can disable it or delete it once you have root. When you plug it in you should see the CDROM popup on your desktop then it should mount as MTP too. You should be able to browse your internal and external storage.
One thing I would suggest though and you may think i'm crazy for it.. Swap the USB cable your using for a different one and try that on a different usb port. I've messed around trying to get drivers installed for hours, only to switch the USB cord and have it work just fine. I've even had this problem with brand new USB cords.
If you do still need help tomorrow don't hesitate to shoot me a PM, I would be glad to help.
Joshy8 said:
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.
Click to expand...
Click to collapse
I don't know if this will help but I see you typing in adb device, it must be adb devices you must have the s.
Don't ask me how I know.
hager03 said:
I don't know if this will help but I see you typing in adb device, it must be adb devices you must have the s.
Don't ask me how I know.
Click to expand...
Click to collapse
Haha. I wont' ask. Thanks for the tip, but I am doing adb devices. It comes back and says something like "List of devices found" or something and then is blank. Of course, it works just fine on my Bionic.. haha. It's always listed.
This is going to be a silly question, but did you turn on USB Debugging in the developer options? Does the phone say USB debugging connected on the phone's notification tray?
You should either have unknown device or you should see it listed properly in device manager.
I would go through device manager and uninstall any devices related to the phone. When prompted I would also remove the drivers. Then follow the below guide.
http://forum.xda-developers.com/showthread.php?t=2742295