[Q] Adb not working - One (M7) Q&A, Help & Troubleshooting

So i was going to install a new rom and i wiped the internal storage, I had done this before but adb had recognized my device and i was able to sideload a rom with no problem. However now when i try to sideload either my phone (m7) doesn't get recognized or i get an error "protocol fault (no status). And when i try to push a rom it says 'error:closed'. Please help as I am a beginner trying to learn as much as possible (and fix my phone ). Thanks in advance.

mousaalwaraki said:
So i was going to install a new rom and i wiped the internal storage, I had done this before but adb had recognized my device and i was able to sideload a rom with no problem. However now when i try to sideload either my phone (m7) doesn't get recognized or i get an error "protocol fault (no status). And when i try to push a rom it says 'error:closed'. Please help as I am a beginner trying to learn as much as possible (and fix my phone ). Thanks in advance.
Click to expand...
Click to collapse
what does it say in your windows device manager when your phone is in recovery ? can you see your phone in the list anywhere, possibly post a picture of it ?

Related

[Q] ADB doesnt recognize HTC One in Recovery

I have a nandroid backup.
Its too big to keep on the phone at all times
Therefore its been placed on my computer
And in the case i need it (boot-loop), how can i transfer the backup while in CWM?
ADB seems to be the simplest way, but adb cannot find my device when it is in the bootloader or in custom recovery.
Am i missing something? Or is there another way to solve this issue.
If anyone could help, id be very grateful.
Hi
Greetings,
When you boot in fastboot and connect your phone to pc does it shows fastboot usb if yes then it is recognised if no then you will have to download the drivers if HTC and install them
Sent from my HTC Sensation Z710e using xda premium
shrex said:
Hi
Greetings,
When you boot in fastboot and connect your phone to pc does it shows fastboot usb if yes then it is recognised if no then you will have to download the drivers if HTC and install them
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
yes fastboot usb is shown and all fastboot commands work, its just that adb doesnt work when its in bootloader or recovery.
I did some more digging around and found that when the phone is connected while in recovery, the computer recognizes it as a "HTC MTP device"..and thats it. I cant upgrade the drivers of the said device or essentially do anything with it.
What am i missing?
ADB should only work under Recovery. I found that with the last HTC driver it didn't install for when you are under Bootloader, Recovery, or Fastboot. I forgot what version actually worked the best but it might have been the 3 series drivers. Anyway while under Recovery you'll have to force the HTC drivers to install thru your Device Manager. It will not automagically detect them. I would start with these drivers and try them out.
HTCDriver_4.2.0.001.exe
Universal_Naked_Driver_0.72.zip
HTCDriver3.0.0.007.exe
TygerByte said:
ADB should only work under Recovery. I found that with the last HTC driver it didn't install for when you are under Bootloader, Recovery, or Fastboot. I forgot what version actually worked the best but it might have been the 3 series drivers. Anyway while under Recovery you'll have to force the HTC drivers to install thru your Device Manager. It will not automagically detect them. I would startpage these drivers and try them out.
HTCDriver_4.2.0.001.exe
Universal_Naked_Driver_0.72.zip
HTCDriver3.0.0.007.exe
Click to expand...
Click to collapse
Thanks for the reply, ive tried the first two drivers, work fine when the phone is booted, but no avail in recovery. The laptop shows the device connected as "My HTC" while in recovery, but im unable to use adb commands as adb doesnt connect to it. Ill try the third 3 series driver and post an update in a few.
UPDATE: wont install, im running windows 8 and it says this driver is not compatible with this operating system.
Bhavpreet said:
Thanks for the reply, ive tried the first two drivers, work fine when the phone is booted, but no avail in recovery. The laptop shows the device connected as "My HTC" while in recovery, but im unable to use adb commands as adb doesnt connect to it. Ill try the third 3 series driver and post an update in a few.
UPDATE: wont install, im running windows 8 and it says this driver is not compatible with this operating system.
Click to expand...
Click to collapse
Does it say its offline? What do you actually see when using adb. As for the driver in Windows 8, you have to disable driver signature checking to use them. There is a thread in the Nexus 4 forum on how to do this, which is here:
http://forum.xda-developers.com/showpost.php?p=33463359&postcount=109
EddyOS said:
Does it say its offline? What do you actually see when using adb. As for the driver in Windows 8, you have to disable driver signature checking to use them. There is a thread in the Nexus 4 forum on how to do this, which is here:
http://forum.xda-developers.com/showpost.php?p=33463359&postcount=109
Click to expand...
Click to collapse
installed the 3 series driver, still the same problem. Heres some photos (which i should have attached originally) of whats happening.
The pictures are while the phone is normally booted, and then when the phone is in recovery.
Edit: Uninstalled all of the HTC drivers and devices inside the device manager, and only installed the Universal Naked Driver, the phone now shows up with a different name in device manager, but STILL does not work while in recovery.
Another pictures attached of how device manager looks with just the Universal Driver while in recovery.
anyone?
i have the same problem as u.. I tried both my missus Windowss PC now.. It used to detect it before. Now it suddenly doesn´t anymore. On my mac, same deal. Nothing detected.
Been googling around and i have found threads but they all end unsolved. ADB returns ADB devices blank. Kill-server or adb remount does nothing. in Fastboot USB its totally a ghost.
found any fixes?
I'm clueless too. I can only think to try other recoveries. Philz CWM comes to mind. I also uploaded the latest google usb drivers for you incase you want to try that out too. Google v7 USB drivers I think they are called. You'll probably have to force install them since they won't detect. Included the adb and fastboot from the SDK too. Last thing I can probably suggest is to try different USB port. Oh and TWRP too since it has the terminal built in it you could try starting up ADB from there.
Me too...
Did anyone ever resolve this? I'm facing it now, having tried multiple recoveries. Previously was able to use adb fine. (I'm on a mac.)
bretula said:
Did anyone ever resolve this? I'm facing it now, having tried multiple recoveries. Previously was able to use adb fine. (I'm on a mac.)
Click to expand...
Click to collapse
In case this helps someone else: The reason I lost adb was that I'd installed the drivers on my mac for EasyTether. There's a note about this on the EasyTether FAQ page. When I disabled the EasyTether driver, I was able to use adb again.
TygerByte said:
I'm clueless too. I can only think to try other recoveries. Philz CWM comes to mind. I also uploaded the latest google usb drivers for you incase you want to try that out too. Google v7 USB drivers I think they are called. You'll probably have to force install them since they won't detect. Included the adb and fastboot from the SDK too. Last thing I can probably suggest is to try different USB port. Oh and TWRP too since it has the terminal built in it you could try starting up ADB from there.
Click to expand...
Click to collapse
have you tied all-in-one-tool-kit ???
Not sure if this will help, but I had an issue like this with my asus tab - adb worked fine in android os but not in twrp recovery, device manager showing it as other device.
While in recovery with device connected to pc I followed this how-to from the device manager part on and got adb working in recovery.
ADB not connecting
Bhavpreet said:
I have a nandroid backup.
Its too big to keep on the phone at all times
Therefore its been placed on my computer
And in the case i need it (boot-loop), how can i transfer the backup while in CWM?
ADB seems to be the simplest way, but adb cannot find my device when it is in the bootloader or in custom recovery.
Am i missing something? Or is there another way to solve this issue.
If anyone could help, id be very grateful.
Click to expand...
Click to collapse
Re Install HTC drivers manually, windows sees HTC until you boot into recovery mode and try to use ADB, It worked for me.
HTC One(M7) not recognized by adb
Condition:
HTC One(M7) - rooted; s-ON; GPE ROM 4.3.1
Recovery - CWM
I have a similar problem with my HTC One(M7). I'm working mainly on a mac (OSX Maverick), but I have also tried using a PC (Windows 8). I accidentally wiped the data on the phone while in recovery, and now I have a phone that only boots to the bootloader and recovery. Since backups usually take a lot of memory, I kept all of mine on my computer. The simple fix I've been trying to do is sideload the ROM to the phone through adb, however adb does not find the device. I repeatedly get the "device not found". However the device is recognized in fastboot, and i always get the "fastboot USB" when it is connected. So I am unable to flash the ROM I need to the phone because it is unable to communicate with either computer. On the PC I made sure to have had the proper drivers, I downloaded HTC SYNC, and have tried updating them manually. However I always get the "error Code 43". The PC also does not recognize the device, so again I am unable to communicate with the device. Can I plz get any help, I have tried reading multiple forums, but have had no luck trying any solution. I would really appreciate any advise; Im desperate to fix the phone.
TonyDEV said:
Condition:
HTC One(M7) - rooted; s-ON; GPE ROM 4.3.1
Recovery - CWM
I have a similar problem with my HTC One(M7). I'm working mainly on a mac (OSX Maverick), but I have also tried using a PC (Windows 8). I accidentally wiped the data on the phone while in recovery, and now I have a phone that only boots to the bootloader and recovery. Since backups usually take a lot of memory, I kept all of mine on my computer. The simple fix I've been trying to do is sideload the ROM to the phone through adb, however adb does not find the device. I repeatedly get the "device not found". However the device is recognized in fastboot, and i always get the "fastboot USB" when it is connected. So I am unable to flash the ROM I need to the phone because it is unable to communicate with either computer. On the PC I made sure to have had the proper drivers, I downloaded HTC SYNC, and have tried updating them manually. However I always get the "error Code 43". The PC also does not recognize the device, so again I am unable to communicate with the device. Can I plz get any help, I have tried reading multiple forums, but have had no luck trying any solution. I would really appreciate any advise; Im desperate to fix the phone.
Click to expand...
Click to collapse
Take a look at this FAQ post and see if this doesn't help solve your problems. I would also recommend updating your CWM recovery to the latest.
having a similar problem. My system and everything is wiped all I have is TWRP 2.6.0.1 and I'm trying to end with cyanogenmod. theres no sdcard slot so my only option is an adb push through recovery. Adb doesnt recognize it, it just doesn't return anything in the list of devices when i type adb devices. in devmgmt it lists my phone as a disk drive... I have tried to update the drivers to the universal naked ones, but then windows says that it already found and installed the best driver software I have the T-Mobile variant but I thought I'd post here since this problem is more than likely not carrier specific and I didn't wanna add another thread. I can do fastboot just fine when in fastboot usb mode, but in recovery no adb... I can't install the naked drivers it just says that the file is incompatible
blu422 said:
having a similar problem. My system and everything is wiped all I have is TWRP 2.6.0.1 and I'm trying to end with cyanogenmod. theres no sdcard slot so my only option is an adb push through recovery. Adb doesnt recognize it, it just doesn't return anything in the list of devices when i type adb devices. in devmgmt it lists my phone as a disk drive... I have tried to update the drivers to the universal naked ones, but then windows says that it already found and installed the best driver software I have the T-Mobile variant but I thought I'd post here since this problem is more than likely not carrier specific and I didn't wanna add another thread. I can do fastboot just fine when in fastboot usb mode, but in recovery no adb...
Click to expand...
Click to collapse
your TWRP is very outdated update to 2.6.3.3
http://techerrata.com/browse/twrp2/m7
Install this driver then plug your phone in and enter TWRP
http://www.mediafire.com/download/j55vk6qbbr6250c/HTCDriver_4.8.0.002.exe
If device manager does not see your phone as My HTC under ADB Interface it's installed wrong.
clsA said:
your TWRP is very outdated update to 2.6.3.3
http://techerrata.com/browse/twrp2/m7
Install this driver then plug your phone in and enter TWRP
http://www.mediafire.com/download/j55vk6qbbr6250c/HTCDriver_4.8.0.002.exe
If device manager does not see your phone as My HTC under ADB Interface it's installed wrong.
Click to expand...
Click to collapse
thanks! did what you said i installed the drivers and the installation crashed the first time, then the second time it game me the option to remove or repair and i repaired and it worked thank you!!!
---------- Post added at 02:55 PM ---------- Previous post was at 02:37 PM ----------
clsA said:
your TWRP is very outdated update to 2.6.3.3
http://techerrata.com/browse/twrp2/m7
Install this driver then plug your phone in and enter TWRP
http://www.mediafire.com/download/j55vk6qbbr6250c/HTCDriver_4.8.0.002.exe
If device manager does not see your phone as My HTC under ADB Interface it's installed wrong.
Click to expand...
Click to collapse
so i have adb... but now it wont let me flash cyanogenmod... error executing updater binary in zip.... just fails.... help? updated to twrp 2.7.1.1. that fixed the problem

Help with ADB Sideload

So I went to flash the newest version of TWRP and once I got it flashed from fastboot, it's telling me I have no OS installed. ADB Sideload doen't appear to be working for me either, keeps telling me device not found.
I need some help really fast!! Is there a way to flash a ROM from Fastboot? Or is there any other way to move a ROM file onto my damn phone? I have no idea why it's telling me there is no OS installed....
UPDATE: Got it to actually try to sideload, but got an error "* failed to write data 'protocol fault (no status)'. Ughhh, I just want my phone to work again.
Look around for adb drivers, also use a different port or USB cable
SaHiLzZ said:
Look around for adb drivers, also use a different port or USB cable
Click to expand...
Click to collapse
The drivers eventually worked, my phone seems to have been broken even worse than before now....
If you want help you will have to explain more
sent from my mobile device
SaHiLzZ said:
If you want help you will have to explain more
sent from my mobile device
Click to expand...
Click to collapse
I made a separate thread relating all of the information and what I have done to get to this point here: http://forum.xda-developers.com/showthread.php?t=2651187
Figured my current issue isn't related to ADB Sideloading anymore.

[Q] Handy stuck after CM update

Hi guys.
I'm really in need of some big help. I tried to update my phone today (HTC One with OneDroid), because it said there would be a new stable (!) version. So I installed it, but then after rebooting the device, the message "Unfortunately, the process com.android.phone has stopped." pops up. I can press "OK", but it just appears again, and again, and again. I already had this bug a few times, but I was able to solve it with flashing the rom again.
To the main problem: My PC won't recognize the phone, I'm not able to load a new ROM on the sd card. Fastboot USB also doesn't seem to work. Also, my SIM-Card doesn't seem to work, obviously there must a connection between the error message and this failure.
How can I make it visible on my PC (WIN 7 btw.) so I can load a new ROM on the phone or how can I make the error disappear?
Versions:
OneDroid CM11-20140405-SNAPSHOT-M5-m7
TeamWin Recovery
HTC undlocked via HTC Dev.
Already tried factory reset, bug still existing, so I guess it's because of the actually unstable ROM. How can I make my PC recognize the phone?
Thanks in advance!
Did you take a nandroid backup in TWRP before flashing the new rom/update?
If you can boot normally your pc wont recognize your phone, thus not being able to copy another rom zip, then do it via adb sideload.
aightbit said:
Hi guys.
I'm really in need of some big help. I tried to update my phone today (HTC One with OneDroid), because it said there would be a new stable (!) version. So I installed it, but then after rebooting the device, the message "Unfortunately, the process com.android.phone has stopped." pops up. I can press "OK", but it just appears again, and again, and again. I already had this bug a few times, but I was able to solve it with flashing the rom again.
To the main problem: My PC won't recognize the phone, I'm not able to load a new ROM on the sd card. Fastboot USB also doesn't seem to work. Also, my SIM-Card doesn't seem to work, obviously there must a connection between the error message and this failure.
How can I make it visible on my PC (WIN 7 btw.) so I can load a new ROM on the phone or how can I make the error disappear?
Versions:
OneDroid CM11-20140405-SNAPSHOT-M5-m7
TeamWin Recovery
HTC undlocked via HTC Dev.
Already tried factory reset, bug still existing, so I guess it's because of the actually unstable ROM. How can I make my PC recognize the phone?
Thanks in advance!
Click to expand...
Click to collapse
See FAQ 2 in @nkk71 guide to help get your pc talking to device
http://forum.xda-developers.com/showthread.php?t=2541082
mb_guy said:
See FAQ 2 in @nkk71 guide to help get your pc talking to device
http://forum.xda-developers.com/showthread.php?t=2541082
Click to expand...
Click to collapse
Thanks, trying to get it fixed now again.
windieboss said:
Did you take a nandroid backup in TWRP before flashing the new rom/update?
If you can boot normally your pc wont recognize your phone, thus not being able to copy another rom zip, then do it via adb sideload.
Click to expand...
Click to collapse
Unfortunately not, no backup made. Thanks for the tip with adb sideload.
Fixed it, thanks for the tips! :good:

HTC one's OS wiped out and unable to mount storage.

Hi to all of you. i recently traded my iphone 5 for an unlocked tmobile htc one. when i got the phone i wanted to put the double tap to wake feature from the M8 on my M7 with the elementalx rom. but i failed and the phone got soft bricked. i deleted the backup and everything i had in my recovery mode, which is ClockWorlMod. i know nothing about android and i guess i wanted to play with it. in result i messed up my only phone. i have tried using my command prompt on my computer to push files into my phone. it is complicated and i always end up getting "error" and don't know what to do.
can anybody please help me get my phone back online?
What error code are you getting and did you try the adb sideload option
Thealshear said:
What error code are you getting and did you try the adb sideload option
Click to expand...
Click to collapse
yes i have tried that option on CWM, but the thing is that my device doesn't even show up on the computer when plugged in. btw the error code doesnt show up anymore, it just says "restarting in usb mode"
do you have adb drivers installed in your computer
Thealshear said:
do you have adb drivers installed in your computer
Click to expand...
Click to collapse
yes but i could try and redownload it.

[Q] Soft brick, no adb, no os, no root

Help me please! I have an htc one m7 AT&T. My device is still s-on, I can access recovery (twrp), but my phone cannot be identified in adb sideload. I am on hboot 1.55.0000. My computer is also bricked so I can't do much unless I drive to my parents. When I went there to use their PC, I installed all the latest htc drivers (even tried some older ones), android sdk and Java SE. I was on a windows 7 64 bit PC. Trust me I've done a sideload before and everything was set up properly. The phone is recognized in fast boot, but not in recovery. The phone has no os on it and recovery says it is no longer rooted. What can I do from here? I am thinking perhaps mounting from usb otg. Will this work? Is there a fast boot command that could be of assistance? I am completely stuck and could really use some help. I don't care what I have to do just explain it to me and I'll love you forever. There is nothing on my internal memory anymore it was wiped somehow. If you need any other info I'll happily provide it for you. Anything involving using a PC or Mac (I have access to both platforms at my parents) will have to wait until I can get out there again. I can't afford a new phone right now and this iPhone im using sucks lol. Thanks In advance for any help.
Anyone... anyone? Please help me.
Justkevin09 said:
Anyone... anyone? Please help me.
Click to expand...
Click to collapse
Are you still needing help with this? Your problem appears to be driver related or possibly a problem with you recovery version.
Which recovery are you using (name and version please) to check if it's a driver problem boot to recovery and connect to a Windows pc. Open the device manager and check what the device is listed as. It should be "MY HTC".
Now I'm running windows 10, I have TWRP v. 2.7.1.1. Like I said previously the computer is not detecting the device at all. I literally have no idea what to do. My new PC doesn't recognize it in fastboot either :/
what is status ur bootloader?
if locked or relocked then
1. install latest htc syn manager
2. run RUU.exe

Categories

Resources