While it usually takes a while for brand new devices to be rooted (hello, Galaxy S8/S9), it seems the root community was super eager to get the HTC U12+ rooted, as there is a working root method using a custom kernel patch combined with Magisk. It also helps that HTC is dev-friendly (hello again, Samsung). Follow this guide closely and your HTC U12+ will be rooted in no time. Warning: This guide involves unlocking your bootloader, which will perform a factory reset on your device. Make sure you backup all important user data before proceeding!

Requirements:

ADB Fastboot & Tools on your PC (see Appuals guide “How to Install ADB on Windows”)Magisk ManagerHTC U12+ boot.img (choose the one that matches your firmware, you can check in Settings > About Phone)

First you need to unlock your bootloader – this is done through the official HTCDev.com website. Register an account on HTCDev, then click “Unlock Bootloader” on the main page.

Now type the following command: adb devices An ADB pairing dialogue should appear on your phone screen, so confirm it, and then in the ADB terminal type: fastboot oem get_identifier_token This will return a long string of characters which you need to copy. Paste the characters into the My Device Identifier Token page on HTCDev and hit submit. You’ll receive an email from HTC with a downloadable attachment called “Unlock_code.bin”, so download it and save it in your main ADB pathway. In the ADB terminal, type: fastboot flash unlocktoken Unlock_code.bin Follow the instructions on your phone screen to unlock the bootloader, and after your device resets, you’ll be back in Android. Now you need to download the Magisk app and the boot.img for your current firmware. Copy both files to your phone, and install the Magisk app.

Launch the Magisk app, and choose “Patch Boot.img” and select the boot.img file you downloaded. After Magisk has patched the boot.img, launch an ADB terminal and type: adb pull /sdcard/MagiskManager/patched_boot.img Then type: adb reboot bootloader When you’re in the bootloader, it should tell you what active slot you’re on (A or B). Depending on the active slot, you want to type: Or If the flash is successful, type: fastboot reboot When your phone reboots into Android, your HTC U12+ should now be rooted!

How to Unlock and Root HTC U12 PlusModding Tool Sunshine Can Now Enable S-OFF on the HTC U12+How to Root the HTC U11 and HTC U11 PlusFix: root User’s Home Directory is /root How to Root the HTC U12  - 1How to Root the HTC U12  - 97