Official TWRP is Now Available for the OnePlus 5T
Shortly after the OnePlus 5T was released, we made an unofficial version of TWRP available for the community. That version was built by repacking the OnePlus 5‘s TWRP image with the kernel from the OnePlus 5T, however, it wasn’t a perfect solution since not everything was guaranteed to work.
This time, however, an official version of TWRP has been built from source and released thanks to the work of XDA Recognized Developer simonsickle, XDA Senior Recognized Developer Dees_Troy, and XDA Senior Recognized Developer bigbiff. We’re told that everything works as expected, meaning you can start flashing custom kernels and ROMs, but restoring the data partition from backups will result in boot issues if File Based Encryption is enabled (which is simply a side effect on how FBE works).
Flashing instructions are the same as always for OnePlus devices. First, enable OEM Unlocking in Developer Options. Then, reboot to the bootloader and open a command prompt or terminal and type:
fastboot oem unlock
Unlock your bootloader as prompted, which will wipe the internal storage. Download the official TWRP for the OnePlus 5T. Finally, change directories in the command prompt window or terminal to where you stored this file, and then type:
fastboot flash recovery twrp-3.2.0-0-dumpling.img
After you boot into recovery, you should see TWRP pop up. For a more detailed guide that includes step-by-step instructions as well as instructions on how to root your device, you should check out this post by XDA Recognized Contributor Funk Wizard.
Keep in mind that if you are flashing one of the OxygenOS OTAs, then TWRP is overwritten with the stock recovery unless you flash Magisk or TWRP again immediately afterwards. A useful tip for those of you who like to run OxygenOS but with root access.
Download Official TWRP in our OnePlus 5T forum