Adb worked and now it doesn't - HTC One A9

When I first plugged my A9 into my computer I was immediately given a prompt to allow the computer to be used for adb, and proceeded to reboot to download to make sure everything worked before I attempted to unlock the bootloader using HTCdev. With the phone still plugged in the USB debugging symbol is no longer there and I've tried unplugging it, and plugging the cable back into the phone as well as the computer. Tried both ports on my computer, disabled USB debugging and re-enabled it but no dice ?. I'm not sure what to do now, adb devices shows up as empty.
Sent from my SCH-I545 using Tapatalk

65vdub said:
When I first plugged my A9 into my computer I was immediately given a prompt to allow the computer to be used for adb, and proceeded to reboot to download to make sure everything worked before I attempted to unlock the bootloader using HTCdev. With the phone still plugged in the USB debugging symbol is no longer there and I've tried unplugging it, and plugging the cable back into the phone as well as the computer. Tried both ports on my computer, disabled USB debugging and re-enabled it but no dice . I'm not sure what to do now, adb devices shows up as empty.
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
This happens to me from time to time, especially when I'm swapping different devices out a lot.
Go to Device Manager
You should have Android USB Devices > My HTC (this is the ADB device) and Portable Devices > HTC One A9 (this is the MTP device).
You likely only see the MTP device. If so, right-click on it and select "Update Driver Software"
Click on Browse my computer for driver software
Navigate to your HTC device driver folder (in my case it's C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win7_x64)
Click Next
If you get a message that the best driver is already installed, then click the back button
Select "Let me pick from a list of device drivers on my computer"
If you have a device listed as My HTC select that
If you don't, you'll kind of have to play with different things from here. Try unchecking show compatible devices and see if it shows any Android USB devices. You might need to browse for your device drivers again.

Will try that when I get home, thank you very much ☺
Sent from my SCH-I545 using Tapatalk

Related

ADB won't find the device... can't root. Going insane.

I installed the Samsung USB drivers on my Win 7 64-bit laptop. I have ADB installed, and have used it for other devices, no problem. I can still use it to connect to my Color Nook.
I kill-server; start-server, and look for devices - nothing. But I can see the USB installer and those other few files on the phone, and I can see everything on the sdcard.
Any ideas? I'm going crazy here.
Do you have USB debugging on?
Sent from my SCH-I510 using XDA App
I had this problem as well.
First see if you have the "SAMSUNG usb driver" installed in control panel programs.
If not, take off usb debug and connect phone to computer. Then you should get a "install verizon software" option once you plug it in. Install software .. Then, enable "usb debuging" try it again, if that doesn't work .. remove verizon software, not usb drivers. This is basically what i did, and it started working

[Q] USB MTP mode not working in Bootcamp

Hi,
Has anyone tried connecting the Nexus 5 to a macbook air in bootcamp? I have MTP mode enabled but cant seem to get the phone to show up as a storage device in Computer. I was however able to connect the phone via MTP to a HP laptop no problem. Anyone have any idea what might be going on?
Thanks.
I also have this problem. MTP is selected and my computer doesn't see it as a storage device.
Sent from my Nexus 5 using xda app-developers app
I had this problem with both my Nexus 7 (2013) and the Nexus 5 in Windows 8 and it came back when I updated to 8.1 (on a Windows PC, not even through Bootcamp). The following fixed the problem each time:
1) Go to Device Manager (press WIN+R, probably CMD+R in Bootcamp, type devmgmt.msc and hit ENTER).
2) Find the phone under something like Android Devices.
3) Right-click and select Update Driver Software.
4) Select Browse my computer for driver software
5) Select Let me pick from a list of device drivers on my computer.
6) Select USB Composite Device
Apologies if the text isn't exact, I'm actually on a Mac right now and don't have Bootcamp... and the PC I remoted into doesn't have an Android device plugged into it. But after doing all of that, Windows instantly recognized it and both MTP and USB debugging / ADB worked fine.
Hmm, so my phone is showing us as "MTP USB Device" under "Portable Devices" in device manager. And the " Update Driver Software" option is not available when I right click it.
howhwa said:
Hmm, so my phone is showing us as "MTP USB Device" under "Portable Devices" in device manager. And the " Update Driver Software" option is not available when I right click it.
Click to expand...
Click to collapse
I had the same problem!
None of the drivers works for me and the "Update driver" option is not available when my phone is plugged in.
Are you using a USB 3.0 port?
For some reason my phone works when I connect it through a USB 2.0 hub, but not when I connect it directly to the USB 3 port on my laptop.
Weird.
This solution worked for me. Go to http://forum.xda-developers.com/showthread.php?t=2512549 and see post #5. Be sure to thank n7of9 for the link and WugFresh for his toolkit solution. Enjoy.

[SOLVED] Computer Does Not Recognize Phone

Not sure what happened, but all of a sudden whenever I plug in my Blu Studio X+ into either one of my computers with USB Debugging enabled I get a pop up saying the USB device is not recognized, and it shows up in the Device Manager as an Unknown Device. I've tried updating the driver manually, but every time I navigate to an INF file in the driver installation dialog it tells me the specified file contains no information on the device. Doing an "adb devices" command returns nothing, and "adb shell" returns "error: device 'null' not found".
Sent from my STUDIO X PLUS using XDA-Developers mobile app
Already check your cable?maybe your cable does not support to transfer data beetween your phone and PC.
Make sure you have connect as a 'MTP' or Try to connect as a 'USB Mass Storage'
If you have tried all the ways,the last way is to backup your phone and do factory reset,or it will be BETTER if you bring your phone to serviceperson,because maybe there is an issues on your hardware.
jasonmerc said:
Not sure what happened, but all of a sudden whenever I plug in my Blu Studio X+ into either one of my computers with USB Debugging enabled I get a pop up saying the USB device is not recognized, and it shows up in the Device Manager as an Unknown Device. I've tried updating the driver manually, but every time I navigate to an INF file in the driver installation dialog it tells me the specified file contains no information on the device. Doing an "adb devices" command returns nothing, and "adb shell" returns "error: device 'null' not found".
Sent from my STUDIO X PLUS using XDA-Developers mobile app
Click to expand...
Click to collapse
You seem to have a lot of driver problems considering the number of threads you made
Go to device manager with your phone plugged in and uninstall every driver that has to do anything with your phone.
Unplug phone.
Reboot your PC.
Now plug phone back in and wait for the automatic driver installation to complete (doesn't matter if it succeeds or not).
Click here to download the latest driver (download it even if you have already).
Disable USB debugging and enable it again and wait for the automatic driver updater if it opens.
Open device manager and manually select the .inf file for your device.
If you don't know which device is your phone, unplug the phone and plug it back in and watch which devices disappear and then reappear again.
Also updating to Ubuntu, as your profile picture suggests, should ease the ADB driver installation and reduce ADB problems
Got it figured out. Wiped all ADB drivers and reinstalled, then downgraded my system-wide ADB from 1.4.2 to 1.3.
Sent from my LG-D415 using XDA-Developers mobile app

Please Help! Nexus 4 shattered screen

Hello Helpers, I shattered my Nexus 4 screen, and the phone has a Pin lock, and is currently in Airplane Mode with BlueTooth enabled. It does Not have USB debugging enabled.
My objective is just to pull out the video, audio, and pictures files, after which I would throw the phone away. I appreciate any feedback, or if someone can help me post a reply to "k.janku1" at the post here http://forum.xda-developers.com/showthread.php?t=2786395 Please refer to point (4) below.
So is there a way I can enabled USB debugging or pull my files out? Following are what I have done, and none are successful in accessing the phone:
1) I have an OTG cable with a mouse. Nexus 4 would not recognize it. I did try to have this OTG Cable + Mouse plug into another Motorola phone and it worked, just not Nexus 4.
2) I plug my Nexus 4 into the PC through the USB cable, the Windows 10 recognize it but when I try to browse that Nexus 4, no files show up.
3) I installed the Android Studio 2.2.2, with various SDK (5.0 and 5.1 SDK) + Google USB driver. And then proceed to run the ADB "shell" or "devices" command located in folder "platform-tools", and the command line would tell me -- "error: no devices/emulators found", or "List of Devices attached" but with NO list of devices displayed. I even boot into Recovery Mode and the ADB command still not seeing any phone.
4) I even try the post here, and I could not get it working either -- http://forum.xda-developers.com/showthread.php?t=2786395
i) I tried the steps listed here http://forum.xda-developers.com/showpost.php?p=66731042&postcount=260 but it does not work for me. The step (2) here returned me "No devices", while step (3) is sort of confusing as it involves TWRP (??) and it said BootLoader would erase all my data files!
ii) Another post here in the same thread -- http://forum.xda-developers.com/showthread.php?p=62398797#post62398797 which mentions the use of "Flash through ADB". But then my phone does not have USB Debugging enabled, so how can ADB talk to the phone in the 1st place? And compile his codes in Android Studio perhaps?
iii) Another post of same thread -- http://forum.xda-developers.com/showthread.php?p=61792353#post61792353 which is lengthy and involves self-custom kernel + compile using Kernel Kitchen. Would this really work?
Thanks
Sean
I had the same of your situation i search and tried a lot of things even show the phone screen in pc but me too i didn't have usb debugging enabled, so what i did is :
Flash the stock ROM for my phone by Odin (it don't need usb Debugging enabled it is for Samsung phones) and by flashing new ROM all your files will be stay in the internal storage, after that the files will be showed in the PC, i don't know if u try that before so that is my solution
Sent from my GT-I9300 using Tapatalk
Xkirnel99 said:
...
Flash the stock ROM for my phone by Odin (it don't need usb Debugging enabled it is for Samsung phones) and by flashing new ROM all your files will be stay in the internal storage, after that the files will be showed in the PC, i don't know if u try that before so that is my solution
Click to expand...
Click to collapse
Thank you for the hint. But I doubt if this approach would work for Nexus 4. I searched online for Odin + Samsung, seems like Samsung phone has a Download mode where the phone would accept the new image file put to it. There is no such mode for Nexus 4, so the phone would not read anything in easy steps like Download mode.

fastboot/adb commands not working

Just got a pixel 3a, it's running android 9. I want to unlock the bootloader. I'm following one of the popular root guides on this forum. I can't seem to get adb or fastboot to find my device.
Installed ADB applications from https://developer.android.com/studio/releases/platform-tools.html
Turned on developer options in phone, turned on USB debugging, plugged in phone.
Wasn't prompted for device authorization from phone.
Changed USB connection mode to PTP.
I have tried all USB connection modes, I verified the cable used to connect the pc to the pone is a data cable as I can transfer data when the phone usb mode is set to file transfer, ptp, or midi​Installed adb/phone device driver using https://developer.android.com/studio/run/win-usb
Still no debugging authorization prompt, but device manager lists the phone under 'Android Device' as 'Android Composite ADB Interface'.
'adb devices' doesn't list anything, tried 'adb kill-server', 'adb start-server', and 'adb usb'
'adb devices' doesn't list anything
reboot phone into fastboot by shutting down and holding power+volDown
'fastboot devices' doesn't list anything
Rebooted my pc, rebooted the phone, retried everything.
I'm at a loss, any suggestions?
Yea I've had some issues with adb/fastboot on windows as well. Sometimes it just won't detect the device, rebooting into my Linux install finds it instantly though. I haven't looked into how to fix it yet though as I can always just reboot to Linux. If you're on a version of windows that supports WSL, perhaps you should try that?
Sent from my Google Pixel 3a XL using XDA Labs

Categories

Resources