ADB not working - AT&T HTC One (M7)

When I got my m7 I tried to s-off but nothing worked. I eventually figured out that ADB won't work. I am rooted, running IC 3.06 (KK 4.42, Sense 6) and would love to upgrade to insertcoin 6.05 but I'm afraid to do it without ADB to fall back on. Anyone know how to fix this?
I have tried to run many s-off programs from three different PCs running Windows 7 and updated Linux Mint DE, Ubuntu 14.04 with original cable and other good quality ones. I can communicate with the phone with fastboot and can copy and paste to the phone perfectly in every OS. But when I try to ADB reboot or any other command, I get "device not found" .

pete2bec2 said:
When I got my m7 I tried to s-off but nothing worked. I eventually figured out that ADB won't work. I am rooted, running IC 3.06 (KK 4.42, Sense 6) and would love to upgrade to insertcoin 6.05 but I'm afraid to do it without ADB to fall back on. Anyone know how to fix this?
I have tried to run many s-off programs from three different PCs running Windows 7 and updated Linux Mint DE, Ubuntu 14.04 with original cable and other good quality ones. I can communicate with the phone with fastboot and can copy and paste to the phone perfectly in every OS. But when I try to ADB reboot or any other command, I get "device not found" .
Click to expand...
Click to collapse
ADB only works in Android OS with USB debugging enabled or in a custom recovery. If the phone is showing FASTBOOT USB then ADB will not work!

I was in Android with USB debugging enabled, on a PC with drivers. I could copy and paste files between phone and PC. But if I typed ADB devices in a terminal window, I got devices not found. I didn't get unknown command, so it saw the correct path. No matter what command I typed, I got device not found.

pete2bec2 said:
I was in Android with USB debugging enabled, on a PC with drivers. I could copy and paste files between phone and PC. But if I typed ADB devices in a terminal window, I got devices not found. I didn't get unknown command, so it saw the correct path. No matter what command I typed, I got device not found.
Click to expand...
Click to collapse
Have you updated your ADB/Fastboot files or update the drivers?

Related

[Q] Android 1.0 driver error with Fastboot

I been trying for days to get my HTC Flyer with Honeycomb rooted via the GUIDE but I am stuck at step 1.
"If you are not on an appropriate gingerbread version, eg. if you have upgraded to honeycomb then downgrade by using an appropriate RUU; to identify your RUU see: here"
(downgrade to Gingerbread) but I get stuck at the "Fastboot getvar cid" stage to find out which RUU I have. When I have the Flyer in Fastboot mode and connect the cable, I get an error when it trys to install the "Android 1.0" driver.
I have uninstalled, rebooted, reinstalled, repeatedly. I just tried another link that suggested to try installing PDANet for Android to get around this problem. Now when I run Fastboot, rather than just "waiting for connection", I get an error that says "getvar:cid FAILED (status malformed (1 bytes)) finished.
*** Update***
I just tried a different HP Laptop with Windows 7 installed & I had the exact same error regarding the Android 1.0 driver as soon as I plugged in the Flyer when it was in Fastboot mode. Is there some other setting other than Fastboot off I need to do on the Flyer itself? Any other suggestions would be GREATLY appreciated.
Please help!! I am at my wits end here.
thanks,
sPk
still need help
I am still struggling here.
By pointing the Android 1.0 driver installer to the PDANet directory, it found a ADB driver and installed it. But I still get the "malformed error" when I try to use "Fastboot getvar cid" command to find RUU version. Is there another way to get the RUU version??
I think the driver is communicating with the Flyer as I was able to get Flyer to respond to the serialno command.
I have OTA update and want to root/Rom with HBoot 1.11.00011.
If I can't get the RUU version, is there a most likely suspected RUU for a WiFi only Flyer that I just got from Buy.com for US market.
thanks in advance for your help.
sPk
You have the android sdk installed right?
Andriod SDK
Gumby63 said:
You have the android sdk installed right?
Click to expand...
Click to collapse
What will the Android SDK provide? I downloaded "Andriod SDK r16" for windows but it doesn't run. I unzipped it, tried running the "SDK Manager.exe" but it fails indicating that it failed to find android.bat. I also tried the SDK installer but it said that it required JDK (Java SE Development kit). Which was a huge install & I still didn't get the SDK to execute.
Is the ADB USB driver the correct driver when in Fastboot mode?
thanks,
sPk
windsurfsail said:
What will the Android SDK provide? I downloaded "Andriod SDK r16" for windows but it doesn't run. I unzipped it, tried running the "SDK Manager.exe" but it fails indicating that it failed to find android.bat. I also tried the SDK installer but it said that it required JDK (Java SE Development kit). Which was a huge install & I still didn't get the SDK to execute.
Is the ADB USB driver the correct driver when in Fastboot mode?
thanks,
sPk
Click to expand...
Click to collapse
Ok so what you need to do is open up cmd prompt and type 'cd (your tools folder of the sdk)
You can do that by dragging and dropping the tools folder into the cmd window.
Now that you have done that, try doing the fastboot command again and see if it works.
SDK
Gumby63 said:
Ok so what you need to do is open up cmd prompt and type 'cd (your tools folder of the sdk)
You can do that by dragging and dropping the tools folder into the cmd window.
Now that you have done that, try doing the fastboot command again and see if it works.
Click to expand...
Click to collapse
I was able to get the Android SDK & Java installed properly. I uninstalled the driver in the Device Manager and then pointed the driver install to Android SDK/Tools and it indicated that the driver was already installed. I tried Fastboot command for the zilllionth time and still got the same malformed error. So I uninstalled driver & deleted it this time and tried to re-install but now it doesn't find the driver files (because I deleted them). I can re-install SDK or just point it to the PDANet directory again.
Is the correct driver for Fastboot the the Android ADB? It is the only one I have been able to get to load when I plug in the Flyer in Fastboot mode.
thanks,
sPk
Yeah, you're getting the error because you're doing it completely wrong.
Install the drivers that you're told to install in the thread not any other drivers, then put your device in fastboot mode, not hboot mode(which is the mode you have it in) when trying to run fastboot commands.
hboot & fastboot confusion
globatron said:
Yeah, you're getting the error because you're doing it completely wrong.
Install the drivers that you're told to install in the thread not any other drivers, then put your device in fastboot mode, not hboot mode(which is the mode you have it in) when trying to run fastboot commands.
Click to expand...
Click to collapse
DOH!
Globatron, thanks for the clarification. In all my reading of threads, I never saw any definition of hboot & fastboot. Since it wasn't working, I installed the other drivers in an effort to fix what was apparently a driver issue.
Is "fastboot mode" just having the "Fast boot" box checked under the Power settings?
thanks again!
sPk
Fastboot mode
After searching in the forums for a while, I found a description on how to get into "fastboot mode". I have added below in case someone else is new enough not to know.
I ran the command & it finally worked. Being in the right mode was key.
sooo, I now have the cidnum= BS_US001 but looking through the list of the RUU's files, I still don't see any reference to this CID. Another stupid question: How do I find which of the list of 25 RUU files is correct for my WiFi Flyer?
UPDATE: Found out how to find RUU file from link.
http://forum.xda-developers.com/showpost.php?p=18508220&postcount=2
modelid: PG4140000 (Wifi Flyer)
RUU_Flyer_BrightstarUS_WWE_X.XX.1540.XX
cidnum: BS_US001
cidnum: HTC__055
sPk
----------------------------------------------------------
You need to be in fastboot mode. Two ways to get there.
Get into boot then select fastboot
Or
While booted in android connect to PC then enter "adb reboot bootloader" (assuming you know adb a little)
Once in fastboot you need to enter the commands in a cmd terminal on your PC just like adb
What I learned, that may help you...
I had a surprisingly difficult time getting my OTA Honeycomb US WiFi Flyer S-Off'ed, Rooted & uploading a new ROM. I did get it done but there were some basic things I should have known or done. Thanks to Globatron & all who post on this board.
1: Before you start, make sure your PC's drivers are 100% working. I had Windows driver problems that caused other problems. Make sure that your tablet is properly recognized by the PC when the tablet is in Fastboot/Hboot modes, and in regular Android mode.
2: I didn't understand the difference between Hboot & Fastboot. This small thing made all the difference and was one of my major issues. Because I had the tablet in Hboot not Fastboot, the Fastboot commands didn't work and I couldn't get my RUU version
3: Pay attention to the phone's settings. Especially USB Debug mode, Fastboot mode.
4: After I had finally downgraded to Gingerbread. I couldn't figure out why Revolutionary wouldn't recognize my tablet. The simple answer was when I had downgraded to Gingerbread, all my phone settings were back to stock also so I had go in and change the USB Debug and Fastboot modes. It would be helpful to add a reminder in the GUIDE to make sure that these settings are changed before running Revolutionary.
5: Not really related but I had a problem when I wanted to backup my newly Rooted/ROM'ed phone. I had previously purchased the Titanium Backup Pro and I installed it on the Flyer but it wasn't listed in the Apps menu but was listed in the Manage Apps. Because Google-Play/Android Marketplace only copied over the paid apps to my newly upgraded Flyer, it didn't copy the free version of Titanium Backup. You must load both the free version & the paid Pro version for it to work.
I hope this helps someone who runs into any of the same issues I had.
thanks,
sPk

[Tutorial] How to use a linux live CD connecting your phone to PC via adb/fastboot

As I have noticed, many users here in the DX Forum have problems connecting their phones to the PC via fastboot / adb. So I decided to write a short tutorial on how to achieve this with the help of a linux live cd. As you may know, there won't appear problems in linux with the drivers because they're already included in the kernel.
First, lets start with what you need.
You'll need:
A blank USB pendrive
A PC capable of booting from USB (will explain that later)
A micro USB cable
An HTC Desire X
If you meet all these requirements, first download a few things:
YUMI: http://www.pendrivelinux.com/yumi-multiboot-usb-creator/
A linux live CD. For this tutorial I use system rescue cd: http://www.sysresccd.org/Download
adb and fastboot binaries for linux, which I'll attach to the thread.
Then, you need to make your stick bootable using YUMI. Just start the downloaded file and follow the instructions. Be careful to choose the right volume! All data on the volume chosen will be lost! Scroll down to find the entry for system rescue cd and choose the appropriate iso image you downloaded before, let YUMI finish your stick. Before rebooting, copy the adb and fastboot binary to the USB drive using explorer.
After this is done, restart your PC. Check boot priority in BIOS to be sure it will boot your stick before your harddrive. In the YUMI boot menu, choose System Tools -> System Rescue CD. In the system rescue cd menu, choose "Directly start graphical environment". Wait for Linux to boot up. You'll be greeted by the LXDE screen with a terminal window showing a root prompt. There, you just type "cd /livemnt/boot". Connect your HTC Desire X to the PC. Make sure USB Debugging is enabled. Now, you can type "./adb devices" and see if it recognizes your phone. If you want to use fastboot, just type "./adb reboot bootloader" and your phone will directly boot into fastboot mode. There, you can test connectivity with "./fastboot devices".
If you want to flash a kernel, be sure to copy the boot.img to your USB drive before booting the live cd. When you successfully tested connectivity with your phone via "./fastboot devices", just issue "./fastboot flash boot boot.img". For a recovery, do a "./fastboot flash recovery recovery.img" (make sure the file recovery.img exists).
I hope this will help many users with the procedure of flashing kernels via fastboot and connect their phones via adb.
Thank you very much
Good work
navmad
thanks man cant connect with win8 properly adb dont work but fastboot does
Sent from my HTC Desire X using xda app-developers app
Give this a try on Win 8.1 (not win 8) .. got both adb and fastboot permission denied.
ckpv5 said:
Give this a try on Win 8.1 (not win 8) .. got both adb and fastboot permission denied.
Click to expand...
Click to collapse
When did you get permission denied? On which step? adb and fastboot binaries are for linux only. They're extracted from platform-tools folder of android-sdk for linux and to be run on a linux live cd as I wrote in my tut. Just follow the steps exactly.
dansou901 said:
When did you get permission denied? On which step? adb and fastboot binaries are for linux only. They're extracted from platform-tools folder of android-sdk for linux and to be run on a linux live cd as I wrote in my tut. Just follow the steps exactly.
Click to expand...
Click to collapse
It works on Win7 but not Win8.1
And I guess it works on Win8 too.
ckpv5 said:
It works on Win7 but not Win8.1
And I guess it works on Win8 too.
Click to expand...
Click to collapse
I already said. The goal of my tutorial is to be able to run adb and fastboot from a linux live system, not to run them on Windows. The usb stick has to be prepared in Windows though, which should work on Win 8.1 too (didn't got the oppurtunity to test, I'm waiting for the official update rather than running beta software).
dansou901 said:
I already said. The goal of my tutorial is to be able to run adb and fastboot from a linux live system, not to run them on Windows. The usb stick has to be prepared in Windows though, which should work on Win 8.1 too (didn't got the oppurtunity to test, I'm waiting for the official update rather than running beta software).
Click to expand...
Click to collapse
Let's forget it as I said before that I don't really need this, it may come handy for some people.
And this
It works on Win7 but not Win8.1
And I guess it works on Win8 too
Click to expand...
Click to collapse
is referring to running by booting to the linux live cd which is in the usb stick not on windows itself
(more or less the same way I run the gparted live cd)
ckpv5 said:
Let's forget it as I said before that I don't really need this, it may come handy for some people.
And this
is referring to running by booting to the linux live cd which is in the usb stick not on windows itself
(more or less the same way I run the gparted live cd)
Click to expand...
Click to collapse
You mean you can't boot the usb stick? You have to set the options in BIOS correctly. If you have a new PC with Windows 8 or 8.1 preinstalled, you need to disable Secure Boot and activate CSM Boot Modus.
dansou901 said:
You mean you can't boot the usb stick? You have to set the options in BIOS correctly. If you have a new PC with Windows 8 or 8.1 preinstalled, you need to disable Secure Boot and activate CSM Boot Modus.
Click to expand...
Click to collapse
I can boot the usb stick, no problem with that.
There's something in DX and One S that got problem with Win 8.1 but not for One X and One V.
hi , this is great , but any way to use it with sony xperia models ? thanks.
I don't know those, so I can't tell what you need there exactly to do similar things with your phone through adb and fastboot, so maybe just try yourself and find out?

[Q] HTC One os deleted?

Hello Everyone,
I have a big problem i think. I have a HTC One, i have rooted it yesterday, rooting it didn't gave problems at all.
Then... i thought why not overclock it a little bit, so i downloaded ElementalX.
I had to configer and then it started installing. Whyle installing, without warning my device rebooted (shouldn't happened)
and since then i can't get beyond the htc startscreen, stuck there everytime.
I have no backup, so i need to reinstall jellybean 4.2.2 i think, but i can't connect it to my laptop, (windows 8) whyle in
fastboot mode. Can someone help me please??
Now i have deleted everything.
I have downloaded a new rom, MaximusHD 12.1.1, the only problem i have is getting it on my device.
I don't have a usb otg (on the go) cable, and adb and fastboot aren't work.
Does someone knows if there is a way to emulate usb-otg on your pc?
What i mean is that when i connect my phone to my pc my phone will see one directory like it is usb otg.
I hope this is possible. by the way, i have windows 8.
My pc can't find my device when i use adb or fastboot (adb in recovery)
i see fastboot usb where i should see that but it still doesn't works.
i hope someone can help me
facing the same thing on my end.....
Guys, I am stuck in similar situation with my HTC Desire X. Please help with proper solutions.
Hello,
I connected my htc one to another computer, windows xp, and now i have fastboot working and adb also i think
becouse i can reboot the phone through cmd command "adb reboot".
adb sideload issn't working, i get the message "Starting ADB sideload feature..." but nothing will happen.
I have all the needed files on C:\android (adb.exe fastboot.exe adbwinapi.dll and 2.zip"
2.zip is the Jellybean 4.3 zip (MaximusHD 12.1.1 i believe)
Now what do i need to do? How can i get the zip installed on my device?
I hope someone can help me,
greetings, Ricardo
i am on my laptop now, will " C:\Android\ adb push 2.zip /sdcard/ " be a good command?
2.zip is the jellybean rom.
CD to the location of 2.zip then run the command starting with adb push
Sent from my Nexus 4 using Tapatalk 2

[SOLVED] adb list of devices attached

Hi I am trying to flash elitekernel from bootloader fastboot but adb is keep saying that "device not found" when I tried to enter adb devices but he said "list of devices attached", I tried adb kill-server and adb start-server I tried disconnect and connect my device from USB, but nothing helped. Can someone help me what am I doing wrong ?
Thermaltake868 said:
Hi I am trying to flash elitekernel from bootloader fastboot but adb is keep saying that "device not found" when I tried to enter adb devices but he said "list of devices attached", I tried adb kill-server and adb start-server I tried disconnect and connect my device from USB, but nothing helped. Can someone help me what am I doing wrong ?
Click to expand...
Click to collapse
The device never gets recognized so easily on "adb" whereas in fastboot u would not have any issues.....
since u r going to flash the kernel try "fastboot devices" u ll be able to see ur device
The adb issue will be solved by restarting the PC or by trying to re-install the HTC drivers
[email protected] said:
The device never gets recognized so easily on "adb" whereas in fastboot u would not have any issues.....
since u r going to flash the kernel try "fastboot devices" u ll be able to see ur device
The adb issue will be solved by restarting the PC or by trying to re-install the HTC drivers
Click to expand...
Click to collapse
I tried fastboot devices and enter but it's just blank nothing
I tried restart PC didn't help, I tried to restart the phone too, and reinstalling drivers nothing.
Even WinDroid HTC One X+ Toolkit won't recognized him when he is in fastboot, but when he is in windows he said Online on status. I really have no idea where did I go wrong I usually always get him into fastboot flash normal.
Thermaltake868 said:
I tried fastboot devices and enter but it's just blank nothing
I tried restart PC didn't help, I tried to restart the phone too, and reinstalling drivers nothing.
Even WinDroid HTC One X+ Toolkit won't recognized him when he is in fastboot, but when he is in windows he said Online on status. I really have no idea where did I go wrong I usually always get him into fastboot flash normal.
Click to expand...
Click to collapse
I always had the device shown as BLANK on "adb" when using windows
whereas on fastboot I never had that issue.....
can u try this
In windows install this MInimal ADB and Fastboot give a try on"fastboot devices" using this
if not working re install the drivers and try the MInimal ADB and Fastboot again
I am suggesting this because it had worked flawlessly for me with proper drivers and MInimal ADB and Fastboot.......
I never had to install drivers I just installed some adb universal drivers from WinDroid HTC One X+ Toolkit 3.0 it always worked without installing any other drivers, but all of the sudden it's not. I tried now using that MInimal ADB still blank, I will try now to reinstall or uninstall completely that adb universal drivers, and try again.
Thermaltake868 said:
I never had to install drivers I just installed some adb universal drivers from WinDroid HTC One X+ Toolkit 3.0 it always worked without installing any other drivers, but all of the sudden it's not. I tried now using that MInimal ADB still blank, I will try now to reinstall or uninstall completely that adb universal drivers, and try again.
Click to expand...
Click to collapse
Dude try this USB drivers if nothing works
[email protected] said:
Dude try this USB drivers if nothing works
Click to expand...
Click to collapse
Installation won't start on this one that you gave me. I run it but nothing happends.
P.S
I download AdbDriverInstaller he said that I already have installed adb drivers, don't know how when I uninstall it all.
EDIT:
I manage to get device ID on adb devices in windows, but when I enter bootloader in fastboot he can't recognized him on command "fastboot devices" he said "device not found", and I can't flash kernel becouse he needs to be in fastboot.
Thermaltake868 said:
Installation won't start on this one that you gave me. I run it but nothing happends.
P.S
I download AdbDriverInstaller he said that I already have installed adb drivers, don't know how when I uninstall it all.
Click to expand...
Click to collapse
Weird I just installed this and Minimal ADB on my PC and checked....
all good here can see the Device on the adb and fastboot..
try again as administrator or something...might help not sure
I was thinking all the time that I'm doing something wrong, but every time I did it before it went well, but now I have no idea whats happening, why he won't recognized phone in fastboot, it said fastboot usb, and when I connect him he is always "waiting for device" or "device not found"
Thermaltake868 said:
I was thinking all the time that I'm doing something wrong, but every time I did it before it went well, but now I have no idea whats happening, why he won't recognized phone in fastboot, it said fastboot usb, and when I connect him he is always "waiting for device" or "device not found"
Click to expand...
Click to collapse
thats sad......but it happens
can u confirm using which u r trying to get the phone on fastboot....android sdk kit or Minimal ADB
and can u see these files in the fastboot folder
ADBWinApi.dll ADB link library for Windows
ADBWinUsbApi.dll ADB link library for Windows
please confirm this....
[email protected] said:
thats sad......but it happens
can u confirm using which u r trying to get the phone on fastboot....android sdk kit or Minimal ADB
and can u see these files in the fastboot folder
ADBWinApi.dll ADB link library for Windows
ADBWinUsbApi.dll ADB link library for Windows
please confirm this....
Click to expand...
Click to collapse
I am using minimal adb that you gave me, and yes both files are in the folder.
Thermaltake868 said:
I am using minimal adb that you gave me, and yes both files are in the folder.
Click to expand...
Click to collapse
are u still not able to install this driver I gave the link for....
I would try by uninstalling all the installed drivers and install only the above mentioned driver.....Give a try :good:
[email protected] said:
are u still not able to install this driver I gave the link for....
I would try by uninstalling all the installed drivers and install only the above mentioned driver.....Give a try :good:
Click to expand...
Click to collapse
I did that too now, and in windows I get adb devices he show me number of my device, my friend told me now that I can flash kernel when I am in OS that I don't have to be in fastboot he will enter fastboot on his own, and I try that too, and as I told he manage to find device via adb, but when he enter bootloader in fastboot he is waiting for device in kernel cmd windows he can't find him.
Make sure your using a USB port that connects directly to your mobo. adb/fastboot is dodgy with USB hubs. Try a port at the back of your PC.
Sent from my HTC One X+ using Tapatalk
I fixed it I had old drivers for USB I installed new from intel chipset did the setup.exe -overall in cmd after that I uninstall htc drivers that I installed before remove them completly restart PC after that install latest HTC Sync connect the phone run the .bat from kernel, and it went successfully.
Thanks for all the help guys
Adb is showing list of devices attached..what is the solution for this..if any one knows how to solve this problem can u help me??
@Vinay23
On the device I'm using, this was under "Default USB Configuration" - advice from others appears to be that selecting PTP is the way to go.
For me, it works =).
Hope that might help out.
I found it here:
“adb devices” returns empty “List of devices attached” on Ubuntu
Based on react native documentation (https://facebook.github.io/react-native/docs/running-on-device) I wanted to connect to ADB in my ubuntu vm (Ubuntu 18.04.2 LTS) but my problem is that i keep ge...
stackoverflow.com

adb commands work but fastboot says "waiting for any device"?

I am on an older macbook pro running High Sierra. the phone I'm using is a Blu G5 running android 9. I have the developer options unlocked and oem unlocked and usb debugging checked. When i open my terminal i type cd and drag and drop the platform tools folder into the terminal window changing the directory to the folder containing the adb and fastboot files. I can use adb commands such as adb devices and get the serial number and it says devices. So far so good. Then i reboot the phone into the bootloader manually or using command adb reboot bootloader and the phone goes into fastboot mode. I know because it says it on top of the screen in white letters. Then i run into the problem fastboot commands don't work. If I type in fastboot devices nothing but a new command line shows up. When i type in any other command like fastboot device or fastboot oem unlock it says "waiting for any devices." I wait and wait but nothing happens. I have looked on the internet for a solution but all i find is that the driver may not deinstalled properly. I have tried manually installing fastboot driver and used sdk manager to install the fastboot driver and I have tried it using the terminal in android studio but no matter what when i try useing fastboot commands i get the "waiting for any device" message. Does any have a solution or could anyone recommend and forum for android development on MacOSX?
@DimDreams
Seems the Fastboot driver is invalid.
jwoegerbauer said:
@DimDreams
Seems the Fastboot driver is invalid.
Click to expand...
Click to collapse
I have literally tried like 10 different sdk tool downloads just platform tool download basically every thing i can find. By chance would you or anyone out there have a working driver for MacOSX 10.13.6? or link a guide that can help me figure this out. I have made a little progress with a forum on xda about fastboot on macs but i still just keep getting the waiting for any device message.
@DimDreams
May also be that the Fastboot Android mode is not available on the phone in question.
I've had similar issues before and noticed that fastboot mode works better via USB 2.0 than USB 3.0. Maybe check which port you're using and switch. ADB seems to work well either way, however. Hope that helped.
I just had this problem as well and I found this, what worked for me is first boot your phone into bootloader mode with
Code:
adb reboot bootloader
. While in the bootloader fastboot worked for me. Hope this helps someone!

Categories

Resources