There are a few different smartphones under the HTC Desire name, and none of them are as challenging to find root access as the 510 variant. With that being said, we have found a way to get it done thanks to a kind poster on the XDA Developers forum.
If you want to think about installing a custom recovery such as Team Win’s TWRP and open up the ports so you can install a custom ROM, then you need the tutorial below.
BEFORE WE BEGIN
- You need to have a computer or laptop with working USB slot before starting the guide. Furthermore, we recommend only using a Windows PC as that’s what the source of the post has used. We cannot confirm the guide works using a different operating system.
- You will need the USB cable your phone comes with out of the box.
- Make sure the device starts the guide with enough battery power, so it doesn’t shut down before the flashing finishes. You are not connected to the computer all the time. Therefore, you are relying on the battery power for part of the steps.
- You are voiding any warranty you have left one the smartphone by proceeding. Moreover, we are not liable for any damages or loss of data by following our guide.
HOW TO ROOT THE HTC DESIRE 510 AND INSTALL TWRP RECOVERY
1. Download the unofficial recovery image of TWRP recovery from this link here.
2. Download the image to the computer. We know it works from PC only. We cannot vouch for Mac OS X or Linux, although neither is officially ruled out. Choose another operating system at your own peril.
3. Reboot the HTC Desire 510 in fastboot mode.
4. Connect the device to the computer of your choice.
5. If you are using windows, type CMD and open up the command prompt. Other must open the command line the appropriate way for their computer OS.
6. Type “fastboot devices” as the first command without the quotation marks.
7. Important: Change the directory to where the downloaded recovery image is on the computer.
– eg: C:\users\xxx\desktop\recovery folder
8. Change the name of the image to flash.img.
9. Open the command window again and type “fastboot flash recovery flash.img”
10. Boot the 510 in TWRP from the Hboot menu on the phone.
11. Download the SuperSU binary from this link to the desktop of the computer.
12. Reboot the Desire phone and transfer the SU binary file over to the internal storage SD card.
13. Reboot the device in recovery mode.
14. Choose the ‘install’ option and upload the supersu-v2.16.zip file in recovery.
15. Navigate back to the main menu in recovery and choose the reboot system now option.
16. After the handset reboots once again, it will have the root access.
That’s all you need to have the HTC Desire 510 smartphone rooted and for a custom recovery image to be installed on it as well. The custom recovery image you’ve got is the best available. Sometimes there is more than one recovery image that can be installed on a device, but it’s always best to choose the better one because sometimes a custom ROM can request it be installed as a prerequisite. On the other hand, you’ll likely never come across a custom ROM requesting you to have the worst of the two installed.
The custom ROMs available for your smartphone are the only reason to have a custom recovery image installed outside of getting root access. The rooting access means your user account can now grant full administrative access to any applications that request it. Some of the apps out there do request it before they can run on your device and that’s why you need a rooted device before those apps will work. There are roughly a few hundreds of these type of apps out there in existence, and most of them are available from the same Google Play Store that you always use to install your apps. Some root apps get kicked out of Google Play and others that just choose not to be there; be careful of anything that you install from outside of the Play Store as malware is always potentially out there lurking and would love to get on a device with root access. Research shows that most viruses and malware only harm a device if it has been installed on a user account that has the same kind of administrative permissions that you get with root access. It is, in many respects, like using a Windows PC with the admin account—you don’t want to get malware on the computer if you’re using that type of admin account either.