[HTC One Mini 2] eskimosound:
Everytime I have to unlock,flash recovery and root I can't remember how to do it....

So I'm writing this very easy guide.

This was a fiddly little phone to root!!!

First off get the One Mini 2 drivers from here:

http://www.htc.com/uk/software/htc-sync-manager/

I personally cannot stand HTC Sync, it's totally pointless but it does contain all the drivers, if you can extract just the drivers then do...

Download Android SDK Slim from here:

https://mega.nz/#!8tETTbga!iVOYHGwT7...PNuQCrX6zJxpwQ

Unzip it anywhere you like, desktop's easy but it can be anywhere...

Go to https://www.htcdev.com log in click on Get Started then Unlock Bootloader and choose One Mini 2 from the dropdown.

Click Yes and Tick the two boxes for all the legal stuff.

Now go into your One Mini 2 Phone Developer Settings and switch on USB debugging.

Next go to Power settings and switch off Fast boot.

Then connect the phone to your PC via USB cable.

Allow your PC to recognise it and download any stuff it wants to.....

Go make a cup of Tea while this is happening.

Next go to your SDK folder, wherever you ended up putting it, click through to the Platform Tools folder where you will see ADB and Fastboot.

Hold down Shift and Right Click anywhere in the folder, choose Open Command Window Here.

In Command Window Type: adb reboot bootloader

Your Phone will boot into Bootloader

Keep the Command Window open...from now until the very end!!

That has just skipped all the 4 Steps on the HTC Dev site!!!

Proceed to Step 5

Now in the Command Windows Type: fastboot oem get_identifier_token

You will see a long block of text. Copy and paste this text into the the token field on the HTC Dev site. Right Click choose Mark and highlight the square bit of code then press Enter to copy.

Paste that into the My Device Identifier Token

HTC will email you a little Unlock_code.bin file within seconds (Check your Junk folder)

Then copy or move the token to the Platform Tools folder.

Back to your Command Window which should still be open!!

Type: fastboot flash unlocktoken Unlock_code.bin

Now follow the instructions on the Phone....

The phone will Unlock the bootloader....

And Reboot your phone....

You need to go back to settings and switch on USB Debugging and switch off Fastboot (See start of tutorial)

Make sure you are still plugged into your PC

In Command Window Type: adb reboot bootloader and your phone will go back into the Bootloader screen.

Next go here: https://xdaforums.com/one-mini-2/orig-development/recovery-twrp-3-0-2-0-unofficial-htc-t3555343

Download this TWRP

Place that file in the Platform Tools folder

Then in Command Window type: fastboot flash recovery twrp_3.0.2-0_v0.1.img

This will install your TWRP Recovery!!!

This bit took me a day to sort out... You need to install SuperuserSU but you can't do it using the TWRP "Do you want to install SuperuserSU" method...

The easiest way I found was to Reboot your phone normally into the OS.

Go to Google Play and download ESFile Explorer

Then in a browser go here: http://www.supersu.com/download and download the Recovery V2.79 Flashable.zip don't be tempted to use the 2.8 version...yet!

Now you have the SuperuserSU in downloads...

Boot into Recovery and in TWRP press Install and find the Download folder, then open that to find Recovery V2.79 Flashable.zip.

Select that and swipe to install....voila!!!

Reboot your phone into the OS

From there open the Super SU app and update your Super User Binaries...

And that's how to Unlock the Bootloader, Install TWRP Recovery and Root....

EASY!!!!

:silly::p:silly::p:silly:

If you want to S-Off you can only do it using Sunshine and you have to relock bootloader!!!

To relock bootloader connect phone to PC with USB Debugging switched on and Power/Fast boot switched off.......right click holding shift in platform tools click on open command window here...

Type: adb reboot bootloader

Once in Bootloader...

Type: fastboot oem lock

EASY!!!!

:silly::p:silly::p:silly: