Easiest working way root an HTC one M7 in 2022 - One (M7) Q&A, Help & Troubleshooting

I am trying to root my old T-Mobile HTC One M7 in an attempt to run some data recovery to get back some lost photos. I am aware this will likely fail, but want to try anyway.
To do this, I need root on the phone. Ive followed some quides, ran some root apks on the phone ( Kingo Root and a couple of others ), and havent had any success. I even installed a few really sketchy programs on my PC to get it working, and no luck.
My HTC sync manager works fine, but nothing else seems to talk to the phone correctly from my PC.
Most of the guides have dead links in them, as theyre from several years ago. Some posts indicate I need an HTC specific driver, some indicate I need the github universal driver for adb bridge, some claim I can download an APK directly to the phone.
I've been looking and failing for a few days now, with no luck -
Can anybody point me to something they think will still actually work in 2022?
What is the right driver for windows 10 to get adb and other non htc sync manager connections to work with this phone.
Thanks in advance -

Related

SOLVED: adb help for "error: device not found" after reboot from cmd

sorry if this clutters up the forum for a bit, i promise to delete it when it dies.
i've recently started using adb when i flashed over to 5.0.2h. i followed the instructions in the tutorial and was able to use adb. 2 nights ago, i began doing more complicated commands (for me) and tried to push a .apk into /system/app.
i wasn't immediately successful but i eventually got it in there and decided to reboot my phone. after this reboot, however, i lost the use of adb. i tried upgrading to the usb drivers haykuro posted, uninstalling them and re-trying the old one, rebooting the computer, rebooting my phone and none of it works. i've since wiped my phone and flashed it with the latest h build from haykuro (thanks haykuro!) but that didn't work either. now i'm trying to see if the 1.5 sdk will work.
i was wondering if anyone would have an idea about what i should do next. should i reinstall adb? try it on another computer? another cable? it's not the worst loss in the world, my phone is fine and my usb cable still works in the conventional way. i even checked to see if i somehow lost root and i was able to get su on the terminal emulator. but i still want the use of adb for nandroid, if nothing else.
thanks in advance!
I had the same problem after flashing to the G rom. I couldn't get ADB to work but fastboot recognized my phone and I was able to flash back to my backup. First time I did a complete wipe before flashing, second time, no wipe, made no difference in either case for me
When you plug Dream into your computer, does it show up in the Device Manager list? What is the entry? Hopefully it says HTC Dream Composite ADB Interface
I just had the same problem, I had to update the driver and it is working fine now.
Which driver did you use? I downloaded the one on the saphire port project page, but couldn't find a way to install it. When I open device manager, there is no ADB interface listed.
zer0day said:
Which driver did you use? I downloaded the one on the saphire port project page, but couldn't find a way to install it. When I open device manager, there is no ADB interface listed.
Click to expand...
Click to collapse
Give me a few minutes I will find you a link for it.
jordanjf86 said:
Give me a few minutes I will find you a link for it.
Click to expand...
Click to collapse
Here it is. http://dl.google.com/android/android_usb_windows.zip after downloading this when you go to update your driver in device manager make sure to use this. Hopefully this will help it worked for me.
jashsu said:
When you plug Dream into your computer, does it show up in the Device Manager list? What is the entry? Hopefully it says HTC Dream Composite ADB Interface
Click to expand...
Click to collapse
yes, that's what it comes up as. and i've tried the usb drivers from haykuro's page and they didn't work before and after rebooting my computer.
i'm on vista and it wont accept the updated drivers. it downloads the standard removable memory drivers and wont let me update to anything else. anybody have any ideas
just installed the 1.5 apk and adb and it works again. for people running haykuro builds, i would suggest trying this if you have adb problems. just intall the 1.5 sdk as normal, copy adb.exe and AdbWinApi.dll into \system32 and you should be good.
unless requested i will delete this thread in two days. thanks everyone!
Hmm... i tried that and its still not working ):
Ive tried like 10 different USB drivers from various sites including this one, downloaded the 1.5 SDK and installed it, wen through several reboots and it always says either that the driver is for the wrong platform, the most up to date one is ALREADY installed (HTC Bootloader), or that Windows couldn't find any drivers.
Under ADB Interface in device manager is "%USB\VID_0BB4&PID0FFF.DeviceDescRelease%"
did you try and update the driver through the device manager? i've heard that it's the only way to update it for some people.
I had already Posted & Solved This Issue here : http://forum.xda-developers.com/showthread.php?t=493703
Go Check It, It ll work for sure....
90% of the time the problem is with the drivers etc. Use this tutorial to fix that : http://goo.gl/OS3Vi
If you still encounter the problem then you can use ADBwireless available at google play to wirelessly connect your device to the computer
Hope it helps :highfive:
Hi
I actually replying about the bible quote you have mentioned? you into theology?

[Q] HTC One Driver Problems

Basically, I have posted this exact same problem here months ago, but with not a lot of help. I came here to get help and I intend of leaving with a bit of some. Basically, I rooted my HTC One, turned S-On, and finally installed Cyanogen Mod. Everything was working for the most part. I remember being able to attach my phone to my PC and being able to transfer files over to my phone. Recently that has been working out so well. I try to transfer files from my PC to my phone, such as music/videos/etc, but my phone doesn't show up. I can go to device manager and see my HTC One under other devices with the caution triangle, so basically my device is read to be connected to my PC but is lacking the drivers to use it. Like I said before, I have posted this problem on other forums before, and I have been sent the link to the drivers. I've installed HTC drivers, USB drivers, HTC One Sync, and so much more, but none of that has worked. All that happens is that my phone will connect to my PC, charge, be noticed by the PC but is completely unusable from PC to phone. On the phones side, it's 100% okay. No problems other than the simple nightly bugs, but I know it's the ROM version I am using. I reverted to the last known stable Cyanogen Mod, and the one previous to that. That hasn't fixed the problem as well. I'm running out of idea's and I'm just looking for some help. If you can help, rather then posting a link for drivers and thinking I'm retarded, please do so. I will appreciate it to the fullest. As for that, that is all I have to say. Please help, and all help is appreciated.
PlasticSandals said:
Basically, I have posted this exact same problem here months ago, but with not a lot of help. I came here to get help and I intend of leaving with a bit of some. Basically, I rooted my HTC One, turned S-On, and finally installed Cyanogen Mod. Everything was working for the most part. I remember being able to attach my phone to my PC and being able to transfer files over to my phone. Recently that has been working out so well. I try to transfer files from my PC to my phone, such as music/videos/etc, but my phone doesn't show up. I can go to device manager and see my HTC One under other devices with the caution triangle, so basically my device is read to be connected to my PC but is lacking the drivers to use it. Like I said before, I have posted this problem on other forums before, and I have been sent the link to the drivers. I've installed HTC drivers, USB drivers, HTC One Sync, and so much more, but none of that has worked. All that happens is that my phone will connect to my PC, charge, be noticed by the PC but is completely unusable from PC to phone. On the phones side, it's 100% okay. No problems other than the simple nightly bugs, but I know it's the ROM version I am using. I reverted to the last known stable Cyanogen Mod, and the one previous to that. That hasn't fixed the problem as well. I'm running out of idea's and I'm just looking for some help. If you can help, rather then posting a link for drivers and thinking I'm retarded, please do so. I will appreciate it to the fullest. As for that, that is all I have to say. Please help, and all help is appreciated.
Click to expand...
Click to collapse
Ok,
I think the best thing we can to in this case is the classic troubleshooting.
Try different USB Cables, slots on your PC, DON'T connect it to a USB HUB (I think you already know that.. I just mentioned it to ensure that)
Make a backup and flash the stock Sense ROM
If you can get a connection to your PC .. Cyanogen causes this issue
That was to determine wheter it's your phone or your computer that causes this issue. Pretty basic.
Uninstall your drivers from the device manager interface
Uninstall everything that is related to your HTC One(HTCSync, maybe Kies or other programs like this, Every driver)
Now, make a registry clean to reinstall everything on a clean way
Use Wise Registry Cleaner
Proceed a computer reboot
Now, download the latest version of HTC Sync
Install it with every driver component.
Then uninstall HTC Sync WITHOUT the drivers
Plug in your phone and wait until other drivers are installed
If that's done, try if the connection works

Android Phone No Drivers Found

I have a rooted HTC One, though the root checker says it is not currently rooted.
I am trying to get my phone back to factory settings.
When I tried to attach the phone to the computer I get error messages that say that there are not any drivers. There is another message that says that there is not Hardware ID detected.
I cant seem to find any fix when I google this. I hope I can get some direction here to fix this.
I am not a developer, just an guy who likes to play with my toys.
I have tried the basics, removing the HTC software and re installing.
I tried turning the usb debugging off and back on several times.
Thanks
zubenal said:
I have a rooted HTC One, though the root checker says it is not currently rooted.
I am trying to get my phone back to factory settings.
When I tried to attach the phone to the computer I get error messages that say that there are not any drivers. There is another message that says that there is not Hardware ID detected.
I cant seem to find any fix when I google this. I hope I can get some direction here to fix this.
I am not a developer, just an guy who likes to play with my toys.
I have tried the basics, removing the HTC software and re installing.
I tried turning the usb debugging off and back on several times.
Thanks
Click to expand...
Click to collapse
We have no way of knowing what you have done to the phone already to make it invisible to windows ... can you describe what you have already done to the phone with links to the files you used.
no hardware id
I used the instructions from the following web site of QBKING77 (I could not put the link in here because I am too new, just google "QBKING77 root htc one"
Per his instructions I used the file attached and I also loaded TWRP 2.6
I have attached the file I used.

A Hot Mess, Need Help - M7, S-On, Trouble with ADB

The Whole Story:
So yesterday I successfully upgraded my HTC One M7 to Lollipop for the first time. I was very excited because the UI is awesome. However, my cellular service didn't work. I read that this is because the firmware was out of date.
In trying to update said firmware, somehow I wiped the internal storage of my device (I know...) including my backup. But that doesn't really matter that much... because while using the HTC One Toolkit I also managed to idiotically turn S-ON! So I can't get into recovery anyway...
So I've been trying to get S-Off with firewater because if I can just get into recovery I can install an older backup I have from last year and then get a new ROM and try this circus all over again in a few weeks when my brain is hopefully not dumb. And that is where I've run into trouble with adb.
In the adb console I can see my phone's serial but it always is listed as offline. In fastboot, however, it is listed fine. I have tried so so many things, but at this point I'll try and re-try anything all over again just to get this to work.
Honestly, I'm surprised this thing isn't brIcked by now with all the f--k ups I've had in the past two days.
TL; DR: I royally messed up and accidentally turned S-On. Not sure if it is related, but now adb lists my HTC as offline while fastboot seems to recognize it fine. I can also access all my files on the phone from Windows.
One thing that (I think) is an important detail is that I cannot seem to get the RSA prompt to appear when I plug my phone into Windows with debugging mode on. I have never used this computer with this phone before, so I know it isn't saved or anything (maybe it's worth clearing the RSA keys anyway?).
What I've tried so far:
-Downloaded latest drivers from HTC (2.0.7.29 from 3/3/15)
-Installed Android Studio and updated Google USB Drivers and Platform Tools
-Rebooted Computer and Phone Multiple times
-Unplugged and re plugged USB cord
-Unchecked and rechecked USB debugging
Please...Please, I desperately need people who are better at this than I am.
Youngtusk said:
The Whole Story:
So yesterday I successfully upgraded my HTC One M7 to Lollipop for the first time. I was very excited because the UI is awesome. However, my cellular service didn't work. I read that this is because the firmware was out of date.
In trying to update said firmware, somehow I wiped the internal storage of my device (I know...) including my backup. But that doesn't really matter that much... because while using the HTC One Toolkit I also managed to idiotically turn S-ON! So I can't get into recovery anyway...
So I've been trying to get S-Off with firewater because if I can just get into recovery I can install an older backup I have from last year and then get a new ROM and try this circus all over again in a few weeks when my brain is hopefully not dumb. And that is where I've run into trouble with adb.
In the adb console I can see my phone's serial but it always is listed as offline. In fastboot, however, it is listed fine. I have tried so so many things, but at this point I'll try and re-try anything all over again just to get this to work.
Honestly, I'm surprised this thing isn't brIcked by now with all the f--k ups I've had in the past two days.
TL; DR: I royally messed up and accidentally turned S-On. Not sure if it is related, but now adb lists my HTC as offline while fastboot seems to recognize it fine. I can also access all my files on the phone from Windows.
One thing that (I think) is an important detail is that I cannot seem to get the RSA prompt to appear when I plug my phone into Windows with debugging mode on. I have never used this computer with this phone before, so I know it isn't saved or anything (maybe it's worth clearing the RSA keys anyway?).
What I've tried so far:
-Downloaded latest drivers from HTC (2.0.7.29 from 3/3/15)
-Installed Android Studio and updated Google USB Drivers and Platform Tools
-Rebooted Computer and Phone Multiple times
-Unplugged and re plugged USB cord
-Unchecked and rechecked USB debugging
Please...Please, I desperately need people who are better at this than I am.
Click to expand...
Click to collapse
maybe flashing the boot.img and stock recovery of the firmware you are into will help you!
eyeyousee said:
maybe flashing the boot.img and stock recovery of the firmware you are into will help you!
Click to expand...
Click to collapse
Thanks for the tip. Does flashing a boot.img and stock recovery require adb? Currently, that is where my main setback is.
If it doesn't require adb, can you point me into the direction of the right keywords to Google to find out how to do that?

Unable to unlock bootloader due to errors within ADB and fastboot

Hello,
this is my first thread/post on this forum, if I did anything wrong please don't be super harsh and inform me to what to do better, thanks.
So why am I asking for help anyways you may ask, well I had my old Xperia Z1 laying around here for quite a while now and wondered if I could do anything productive with it.
So I came up with the idea to install a CFW like Lineage OS or something else.
This is not my first rooted and cfw phone but the first one what gives me nightmares and a headache.
So after reading all of the nice guides how to root it and how to unlock it, nothing of them is working for me, most of the threads have missing files which I cannot find on google or other just simply won't work for me.
First of all, I have rooted my phone via KingRoot in the meantime since the other methods where not working either.
I have turned on usb-debugging and also allowed installation from unknown sources.
And there we start with the first problem, downloaded the google SDK and installed all adb things I needed, did not work, then I tried it from the official sony website, downloaded the usb-driver folder and tried to install it manually, won't work either, because the device manager always gave me error code 10 "device cannot be started", I tried different sources and even die google studio thing and everything ended up with the same result.
Same error code even when I tried to activate fastboot on my phone by pressing down the volume up button, pluging the usb cable in, and yet again the same error message for this device too.
I am using windows 10 and never had such problems before with sony devices.
I hope someone of you can help me out to find a solution, if you need any further information, just let me know.
Did you solve this?
I have the same problem
snailer said:
Did you solve this?
I have the same problem
Click to expand...
Click to collapse
This may sound stupid or ridiculous, but yes I managed to work it out and was able to install the CWF on my phone which is working perfectly fine.
Since nobody was willing to help me I just skipped the part where I wanted to post my solution but yeah, this may help you too.
So what did I do? Simply I stopped using Windows 10 for this project, I just used one of my older PC's which still had Windows 7 Ultimate on it.
I just rooted the phone via KingRoot, since it was the only solution what kinda worked out for me, then I was able to install all needed SDK, fastboot and ADB files on my PC and was able to use the ones from the Sony site itself this time and after plugin in the phone to the PC, it installed everything else what was needed for the device manager.
After that was done with no error I was finally able to unlock the phone via the command which you can find also on the Sony website.
If you find this helpful or need any extra information just let me know, maybe I can help you then. Oh and if you found out a solution for you what worked, would be nice to hear that too.
Greetz

Categories

Resources