Home / Downloads / HOW TO: Root Android 8.1 OPM5 on Nexus 5X Oreo Factory Image
HOW TO: Root Android 8.1 OPM5 on Nexus 5X Oreo Factory Image

HOW TO: Root Android 8.1 OPM5 on Nexus 5X Oreo Factory Image

Want to enjoy root apps on the latest firmware? Keep reading to find out how to root LG Nexus 5X on Android 8.1 Oreo OPM5 factory image. Experienced users would already know that once an update is installed on the device, root status is reverted to stock which forces users to root again. The procedure, whether you had root before or not, remains the same after you update. Thankfully, we have all required steps listed with adequate detail and helpful tips. After your Nexus 5X is rooted, you would have access to loads of root apps, modifications and customizations. For a detailed list on the benefits of root, read: Benefits of rooting an Android device. It is necessary that your Nexus 5X is running the correct firmware, if not then read: How to update LG Nexus 5X to Android 8.1 Oreo OPM5. You can easily root Nexus 5X on Android 8.1 OPM5 Oreo using the tutorial below. You will need to have an unlocked bootloader first, or this tutorial will wipe off all your data. Don’t worry, we have everything covered in the detailed steps below – even a tutorial on how to install TWRP 3.1 recovery.

As you read further, we will guide you how to backup your important data, some other important tips and then tell you how to root Android 8.1 OPM5 on Nexus 5X with complete steps and how to flash ClockworkMod recovery on your phone. We will use TWRP recovery as our custom recovery and Magisk Manager as our rooting package. For more details, continue reading. Let’s get on with the tutorial now.

HOW TO: Root Android 8.1 OPM5 on Nexus 5X Oreo Factory Image

Disclaimer: All the custom ROMs and firmwares, official software updates, tools, mods or anything mentioned in the tutorial belong to their respective owners/developers. We (TeamAndroid.com) or the developers are not to be held responsible if you damage or brick your device. We don’t have you on gun point to try out this tutorial 😉

Root Nexus 5X Android 8.1 OPM5 Details:

Android 8.1 Oreo is now available for the Pixel XL, Pixel, Nexus 5X, Nexus 6P and Pixel C tablets and phones. These are the major changes in final release of Android 8.1, as per Google:

New February 2018 security patch has been bundled in with the new Android 8.1 Oreo update release. For newer devices like Pixel 2 and Pixel 2 XL, this update unlocks Visual Core to be utilized by developers in their own apps. Further, this update also adds Augmented Reality (AR) stickers which interact with the real world and with themselves through the stock camera app. Performance improvements and bug fixes have also been incorporated.

Meanwhile, you should also check out the following articles:

  • Install Android 8.1: How to Update Nexus 5X to Android 8.1 OPM5 Oreo Factory Image.
  • Root Apps: You should check out our list of essential root apps that you should install.
  • Install Android Oreo: How to Install Android 8.1 Oreo on Computer.
  • Custom ROMs: For the complete collection of Android Oreo based ROMs for the Nexus 5X, visit our Custom ROMs page.

The method to root Nexus 5X Android 8.1 has been explained with instructions on the next page. In case you have problems connecting your phone with the computer, make sure USB drivers are properly installed and read the tips below.

Nexus 5X USB Drivers

You will need to connect your Android phone with the computer. For that, please make sure you have installed the USB drivers for Nexus 5X properly. If not, you can download the latest official drivers from our Android USB Drivers section here:

Download Nexus 5X USB drivers!

Backup and Other Important Tips

Done with the USB drivers? Perfect. The tutorial is on the next page, but first, please take a look at the following tips and important points you need to take care of. These are important, as we don’t want anyone losing their personal data or apps.

Always backup your important data that you might need after you install a new custom ROM, an official software update or anything else. Make a backup for just in case, you never know when anything might go wrong. Read: How to Backup Android Apps, Text Messages, WhatsApp, Call History.

If you already have a custom recovery (ClockworkMod, TWRP etc.) installed on your phone, we strongly recommend a backup using that as it creates a complete image of your existing phone set up. [Tutorial: How to Backup Android Phone using TWRP]

A few more optional tips that you should remember:

1. Having problems connecting your Android phone to the computer? You need to enable USB debugging mode. See here: How to Enable USB Debugging — for Gingerbread, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow, Nougat and Oreo.

2. Make sure your Android device is charged up to 80-85% battery level. This might help you: How to Check Battery Percentage. Why? Because, if your phone goes off suddenly while installing a custom ROM, flashing an official firmware update or installing mods etc. — your phone might get bricked or go dead permanently. No one wants that, right?

3. Most of the tutorials and how-to guides on Team Android are for factory unlocked Android phones and tablets. We recommend not to try our guides if your phone is locked to a carrier, unless we have specified the carrier name or device model.

All set and ready? Good. You can now continue reading below to root Android 8.1 OPM5 on Nexus 5X + install TWRP recovery with the given step-by-step tutorial.

HOW TO: Root Android 8.1 OPM5 on Nexus 5X Oreo Factory Image

We have put together a detailed step-by-step instructions guide on how to root Android 8.1 OPM5 Oreo on Nexus 5X. Please read the complete tutorial once before actually performing it.

Just To Remember:

  • This root method is only for Android 8.1 (OPM5) installed on Nexus 5X and I am not sure if it will work on the other variants of the Nexus 5X on other carriers.
  • Your Nexus 5X bootloader should be unlocked.
  • Nexus 5X should be on Android 8.1 OPM5 software version.
  • Make a Nandroid backup of your previous phone set up before proceeding – for just in case anything goes wrong.

Complete Step-By-Step Instructions:

Step 1.1 – Download Android SDK from the Android Developers website and install. Also set it up with downloading platform-tools and USB drivers package in SDK. See: How to Set up ADB and Fastboot on Windows.


Step 1.2 – Download ADB / Fastboot – Android SDK Platform Tools separate package and install on your computer. Download from the following links depending on your OS and extract it anywhere in your computer.

Step 2 – Enable USB Debugging mode in your Nexus 5X.

NOTE: Skip Steps 1.1, 1.2, 2 if you already have them.

Step 3 – Download Magisk-v15.2.zip for Nexus 5X on your PC, if you haven’t already.

Step 4 – Connect and mount your Nexus 5X USB memory on your computer using the USB cable.

Step 5 – Now copy/paste the Magisk-v15.2.zip file to your SD card. Make sure the file is in the SD card / internal storage root (not in any folder).

Step 6 – Then turn OFF your phone.

Step 7 – Download twrp-3.1.1-0-bullhead.img and save it into the same directory as the extracted Fastboot/ADB package files.

Step 8 – Connect your Nexus 5X to your computer using a USB cable.

Step 9 – Now go into Fastboot/Bootloader Mode on Nexus 5X. How? Press Volume Up + Volume Down + Power keys for a few seconds till you see some text on the screen. This is Bootloader Mode.

Step 10 – Navigate to the same directory now as where you have Fastboot (i.e. Step 1) and on Windows: Open Command Prompt (Shift + Right-click > Open Command Prompt). For Mac OS X and Linux, use Terminal to navigate to this directory.

Step 11 – Type in the following command and press Enter.

fastboot boot twrp-3.2.1-0-bullhead.img

Step 12 – Once you enter the command, the phone will boot into TWRP. Now use the “Install” option.

Step 13 – Now using your volume keys, navigate to Magisk-v15.2.zip and select it using the Power button. Confirm the installation on the next screen and the installation procedure should start now.

Step 14 – After the installation completes, go to “+++++Go Back” and reboot the phone by selecting “reboot system now” from the Recovery menu. The phone will boot now and it might take about 5 minutes to boot on your first time. So, please wait.

That’s it! Your Nexus 5X is now rooted on Android 8.1 Oreo firmware on your phone! Check for the Magisk Manager app in your apps list to verify.

To make sure you have correctly installed the above root method and it’s working, verify with Root Checker as given in the link.

Have fun playing with it! If you have any issues, please fire them up in the comments below!

Leave a Reply

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