[RECOVERY][m7wls] TWRP 3.1.1-0 touch recovery [2017-05-19]

Roman G

Senior Member
Feb 10, 2010
542
72
0
47
Oregon
To get root:

Unlock your device via http://htcdev.com
Download the latest TWRP from http://techerrata.com/browse/twrp2/m7wls

Shut off your device.
Press and hold volume down and then press power. Keep holding volume down until a menu shows on your screen.
Use the volume rocker to select fastboot and press power to select fastboot.
Plug the device into your computer.
If you have the right drivers installed your phone screen will now say: FASTBOOT USB

Using a command prompt, type:
fastboot flash recovery recovery.img
fastboot reboot-bootloader


Your device will reboot. Use the volume rocker to select recovery and press power. You will now boot TWRP.

In TWRP, select reboot -> system. You will be prompted to install SuperSU. Swipe to confirm.

When your device boots you will see a prompt to install the full version of SuperSU. Select to do the TWRP install. Your device will download a file, reboot into TWRP which will automatically install the file, then reboot again.

Congratulations, you are now rooted!
Pardon my ignorance guys, but it's been about a year since I have done any modding or rooting.
What I highlighted in red, does anything need to proceed that at the command prompt.
Thanks
 

Paleryder

Senior Member
Apr 12, 2011
939
140
0
Chicago
That is how I got to this point was using ADB. I just need to know if i'm supposed to point it to a specific folder or just type that in at any old command prompt.

Thanks
yes you are absolutely correct, remember sometimes it is advisable to boot your device totally prior to using the recovery ! Welcoe Back:good:
 

mrrogers1

Senior Member
Jun 30, 2007
3,052
2,525
0
NEEEEBRASKA
That is how I got to this point was using ADB. I just need to know if i'm supposed to point it to a specific folder or just type that in at any old command prompt.

Thanks
You just need to have the recovery.img in the same folder/path as your adb resides in so it knows where to grab it from. I attached a screen shot of what mine looks like and the cmd window. Hope that helps.
 

Attachments

SuperiorEVOlution18

Senior Member
Apr 20, 2012
915
481
0
Baltimore
how can i get my phones sd card to mount since i can't get it to work through twrp or is there a way to do it and i'm missing it. thanks
I know you can mount it normally through android but I'm not sure if there is a way to do it from recovery or bootloader there's a link somewhere in here to explain more about the mounting system, I'm at work or I'd find it an link it.

Sent from my HTCONE using xda app-developers app
 

Roman G

Senior Member
Feb 10, 2010
542
72
0
47
Oregon
You just need to have the recovery.img in the same folder/path as your adb resides in so it knows where to grab it from. I attached a screen shot of what mine looks like and the cmd window. Hope that helps.
Thanks that did help although I must still not be getting something.


c:\android
^thats where it's pointed to.
recovery.img
^thats the name of the file.
fastboot flash recovery recovery.img
^this is what i'm typing in.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
^this is what it's saying after I type it in
:crying:
^and thats where i'm at right now.
 

erikivy

Senior Member
May 7, 2010
595
128
0
Central VA
Thanks that did help although I must still not be getting something.


c:\android
^thats where it's pointed to.
recovery.img
^thats the name of the file.
fastboot flash recovery recovery.img
^this is what i'm typing in.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
^this is what it's saying after I type it in
:crying:
^and thats where i'm at right now.
Are you sure you have the SDK installed? It doesn't look like it's finding the necessary executable files. I just zipped up 4 files that I think are necessary to run adb and fastbboot and copied the archive up to my dropbox account. If you want to plop them into your c:\android folder, they might work for you. If not, someone else will probably be able to sort you out.

https://dl.dropboxusercontent.com/u/7794270/fastboot_files.zip
 
  • Like
Reactions: Roman G

Roman G

Senior Member
Feb 10, 2010
542
72
0
47
Oregon
Are you sure you have the SDK installed? It doesn't look like it's finding the necessary executable files. I just zipped up 4 files that I think are necessary to run adb and fastbboot and copied the archive up to my dropbox account. If you want to plop them into your c:\android folder, they might work for you. If not, someone else will probably be able to sort you out.

https://dl.dropboxusercontent.com/u/7794270/fastboot_files.zip
Thanks thats what it was, now I got device not found.
 

Roman G

Senior Member
Feb 10, 2010
542
72
0
47
Oregon
Is your phone booted into bootloader?
If you have the right drivers installed your phone screen will now say: FASTBOOT USB
^this^^^^
But I have to hit the volume down after I plug my phone in to see FASTBOOT USB


When my phone is on and usable and I execute "adb devices" it sees it, but not when I am in the bootloader.

---------- Post added at 10:13 AM ---------- Previous post was at 09:59 AM ----------

C:\android>fastboot devic
FA344S902155 fastboot

I just issued this command and it found my phone in fastboot. So I don't know what the hell i'm doing wrong.

---------- Post added at 10:32 AM ---------- Previous post was at 10:13 AM ----------

I also went in to device manager and everything looks to be in order in there. Someone please.
 
Last edited:

mrrogers1

Senior Member
Jun 30, 2007
3,052
2,525
0
NEEEEBRASKA
Thanks that did help although I must still not be getting something.


c:\android
^thats where it's pointed to.
recovery.img
^thats the name of the file.
fastboot flash recovery recovery.img
^this is what i'm typing in.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
^this is what it's saying after I type it in
:crying:
^and thats where i'm at right now.
If you have the right drivers installed your phone screen will now say: FASTBOOT USB
^this^^^^
But I have to hit the volume down after I plug my phone in to see FASTBOOT USB


When my phone is on and usable and I execute "adb devices" it sees it, but not when I am in the bootloader.

---------- Post added at 10:13 AM ---------- Previous post was at 09:59 AM ----------

C:\android>fastboot devic
FA344S902155 fastboot

I just issued this command and it found my phone in fastboot. So I don't know what the hell i'm doing wrong.
Ok, here is how I would to this, step by step.

Phone plugged in and turned on, making sure USB debugging is turned on under "Developer Options"

open command window.....

1. adb devices (to make sure it see's the phone, if it returns the deviceID, proceed.)
2. adb reboot bootloader (This reboots the phone into bootloader. As long as you have drivers installed properly, the phone screen will show "fastboot usb".)
3. fastboot flash recovery recovery.img (this will push the recovery "named" recovery.img that is in your SDK folder to the phone and flash it)
4. fastboot reboot (This reboots the phone)

See attachment for example

Then manually boot into bootloader (or you can use adb reboot bootloader) and use the volume rocker to choose recovery and press power to boot recovery. PROFIT

Hey, I don't know how the sdk was that he sent you but if you download this one that I use (you can download from here >>>>>> HTC_OneSDK) all you have to do is unzip to a folder and if you run the cmd.exe it'll map you to the current folder and all you have to do is run commands.
 

Attachments

  • Like
Reactions: Roman G