How to Root HTC U12+ without TWRP Recovery (Magisk)

How to Root HTC U12+ without TWRP Recovery

Want to root your newly bought HTC flagship? In this tutorial, we will show you how to root HTC U12+ without TWRP recovery. This will be done using Magisk by XDA Developer topjohnwu.

HTC revealed its flagship for the year 2018 recently, in hopes to stand out among the tough competition. The phone offers a unique design with a translucent back that lets you see some of the phone’s internals. When it comes to the chipset, the HTC U12+ sports the Snapdragon 845, again, seen on other OEM flagships such as the Samsung Galaxy S9+. With the new phone, HTC has stepped up their game with the Edge Sense technology, that was first seen on the U11. Unlike the predecessor, the U12+ offers several new gestures to initiate certain actions on the device.

Overall, the phone has managed to offer some exciting new features including the dual-camera setup on the front and rear. Although the phone comes with Android Oreo out of the box, it is planned to be upgraded to Android 9.0 P. Despite all the goodies, users might often like to explore beyond the software provided by the OEM. In such a case, one would like to root HTC U12+. Rooting will give the user the ability to modify the software according to his/her needs. These include, but are not limited to kernel optimizations, mods such as Xposed Framework or ViPER4Android, and more.

How to Root HTC U12+ without TWRP Recovery


Table of Contents

Guide to Root HTC U12+ without TWRP Recovery

Now, when we talk about rooting an Android device, the first thing that comes to our mind is ‘TWRP recovery’. It’s a custom recovery that would allow a user to flash a root package, such as SuperSU or Magisk to root a phone. But, that’s not the case with the HTC U12+ right now. The phone was released pretty recently and has still not gained support for TWRP recovery, officially or unofficially.

But thanks to some XDA enthusiasts, we now know how to root HTC U12+ without TWRP recovery. The method was first brought up by XDA senior member Freak07. According to which, we can use Magisk Manager to patch the stock boot.img (kernel) for root. In this case, the help was provided by another XDA senior member 5m4r7ph0n36uru. The said member has provided stock firmware ZIP for the HTC U12+. Users can download the firmware file and extract the ‘boot_signed.img’ file (Typically known as boot.img). Once extracted, one can easily patch it to root HTC U12 Plus.

If the process seems tricky at first, then don’t worry, we have got you covered. We have detailed the procedure below, which will help you easily root HTC U12+ using Magisk, without having to install TWRP recovery first.

Also, read – How to Enable Android Messages for Web Right Now [Root Required]


How to Root HTC U12+ using Magisk?

  1. First, extract the stock boot image (boot_signed.img) for the current firmware installed on your device.
  2. Connect the HTC U12+ to the PC and transfer the ‘boot_signed.img’ to the internal storage/SD card.
  3. Download the latest Magisk Manager APK and install it on the phone.
  4. Next, go to the app drawer and open “Magisk Manager”.
  5. Tap on the “Install” button and choose “Install” again.
  6. Select the “Patch Boot Image File” option.
    Root HTC U12+ - Patch Stock Boot Image using Magisk
  7. Navigate to the storage and select the file transferred earlier.
  8. Magisk will automatically start patching the boot image.
  9. Once patched, connect the phone to the PC again.
  10. Copy the “patched_boot.img” file from /sdcard/MagiskManager/ to C:\adb on the PC.
  11. Hold the SHIFT key and right-click on an empty space inside the same folder.
  12. Select “Open PowerShell window here”.
    Root HTC U12+ - Open PowerShell Window Here
  13. Boot your Android device into Download Mode using:
    adb reboot download
  14. Next, check the currently active slot:
    fastboot getvar current-slot
  15. Finally, flash the “patched_boot.img” to the active slot to root HTC U12+ without TWRP recovery.
    fastboot flash boot_a patched_boot.img


    fastboot flash boot_b patched_boot.img
  16. Once done, reboot your phone using:
    fastboot reboot

As soon as you enter the reboot command, the HTC U12+ will boot into the rooted OS. You should now be able to use root-enabled applications or install Magisk modules to further customize your phone. You can also leverage Magisk Hide option in the app to hide root from certain applications.

How to Root HTC U12+ using Magisk
Image credits: XDA Senior Member qriozum


  • Not able to flash patched boot image? – You can only flash boot image while the HTC U12+ is in Download Mode. You will only get errors if you try to flash the boot image in Bootloader Mode.
  • Face Unlock option is greyed out in settings after rooting – This is a known issue. HTC has designed the feature such as if it detects root, it will be disabled. To bypass it and re-enable Face Unlock, simply use Magisk hide and hide root from the Face Unlock system app (

So there you go! You have just been able to root HTC U12+ without TWRP recovery. If you have any questions, please leave them down in the comments.

Source: XDA-Developers


  1. Thanks for your quick reply. I’m not up-to-date with the whole encryption/decryption process but it seems a lot of people are not using TWRP on Pie or it’s become a bit more frustrating to use compared to in previous years?. If this is the case , I will just use Google Drive back-up or at least wait until there is a TWRP that works with Security Patch 01 Jul 2019 which is what I have.

    1. Yes, you’re right. The developer hasn’t updated the recovery in months, so I am not sure when exactly you can expect a working build for your phone.

  2. Hi

    How do you install a recovery? I have always relied on recovery to create a nandroid back-up incase the worse should happen.

    Thanks very much

    1. Hi Sonny. You can download the recovery image and follow the instructions in this thread.

      Make sure that you read the first and second posts of the thread as it includes some important information regarding two particular things – (1) Touchscreen fix and (2) ADB commands.

Leave a Reply

Your email address will not be published. Required fields are marked *