How to Root OnePlus 5 via Magisk or SuperSU

Latest builds of both SuperSU and Magisk have been released to make it simpler for you to Root OnePlus 5. If you’ve already done unlocking your phone’s bootloader, as well as installing a custom recovery like TWRP, then the next and possibly the final annoying step is to gain root access. Unlike the other two processes, which might have been a bit hard, rooting a phone doesn’t require you to have a computer, since all can be done using your phone itself. With that being said, let’s have a look on how you can Root OnePlus 5 via Magisk or SuperSU.

OnePlus 5 was released in July 2017, and has some of the better specifications on the market, sporting the Snapdragon 835, 6 or 8 insane gigabytes of RAM, 128 Gigs of super fast UFS 2.1 storage, a 5.5″ beautiful AMOLED panel, with a good enough dual camera setup. The phone grabbed all the attention when it was first released, but was soon discarded for the more future-proof OnePlus 5T, which had a bezelless design. The OnePlus 5 was released with Android Nougat out of the box, and is currently running a stable version of Android Oreo atop OxygenOS 5.0, and has a guaranteed update to Android P as soon as possible.

If you still feel a lackluster with your OnePlus 5, then rooting it only makes more sense. With a rooted device, you will be able to access the hidden partitions of your smartphone, allowing you to install custom ROMs, and many other mods. Rooting does usually void warranty on other devices, and although OnePlus claims that the users still retain their device’s warranty, we strictly advice you not to proceed with the guide unless you are an Android enthusiast wanting the most out of your device. With that being said, all you need to be able to Root OnePlus 5 is right here. Before that, ensure your device has an unlocked bootloader, with a custom recovery like TWRP installed on it prior to this.


AndroidOdex is not responsible for any kind of mishap that occurs to your device in the midst of the process. Our guides are well researched and aptly written, and we advice you to give them a good read before carrying out the procedure. 


  1. This guide is specifically made for the OnePlus 5. Trying this on other devices might result in a hard brick.
  2. Ensure your device has atleast 60% of battery to prevent shutdowns in the middle of the procedure.
  3. Even though rooting your device doesn’t affect the data partition, backing up everything is always a good habit.
  4. Enable USB Debugging on your device. To do so, navigate to Settings > About Phone and tap on Build Number seven times. This will enable Developer Options, under which you can enable USB Debugging.
  5. We recommend you use the original data cable supplied by the OEM to connect your phone to your PC.


How to Root OnePlus 5

  1. Transfer the Magisk or SuperSU root file to the root of the internal storage of your smartphone.
  2. Reboot your phone into the recovery mode by pressing and holding Power Volume Down buttons simultaneously.
  3. Swipe to allow modifications in TWRP Recovery.
  4. From the main menu, tap on Install and navigate to the zip file you’ve just transferred.
  5. Tap on it, and swipe to confirm the flash.
  6. The process takes a good second, and once done don’t forget to wipe cache.

That’s all! You’ve successfully gained complete root access on your OnePlus 5. What’s next? Browse through our website’s OnePlus 5 archives to install some custom ROMs as well. If you had any issues in following our guide on How to Root OnePlus 5, then feel free to hit us in the comments section below.

Leave a Comment