Enabling root permissions on an Android device can give access to an infinite number of useful operations, but it can often also seem to be a fairly complex practice. There are various tools for obtaining permits root on Android without a PC, as framaroot, kingroot and still others, but these exploit one leak present in the old Android versions and, therefore, are not applicable to all devices, especially new ones.
To get the root permissions on OnePlus X, therefore, it is not enough to install one of the many apps available, but you have to rely on a PC and follow various operations, such as unlocking the bootloader and flash of a custom recovery. Then you will be able to get root permissions.
Note: Enable root permissions on OnePlus X does not invalidate the guarantee, but the use made of it (overclocking for example) could damage the hardware.
Everything is in the prudence adopted by the user. InTheBit assumes no responsibility.
Root OnePlus X: necessary files
In addition to common sense and about half an hour of free time, it is necessary to download the drivers for the OnePlus X, ADB, TWRP recovery and SuperSU. Download all the files you find below, so we can start with the actual guide. 😉
Also you need to have: original OnePlus X cable, charged battery and a backup, since the procedure will delete all the data.
Root OnePlus X: prepare your PC and smartphone
First you need to install the OnePlus X drivers so that it can establish a connection with your computer. I recommend to use Windows 7, even if the higher versions could be fine. At the end of the installation, connect your OnePlus X to your computer and verify that it recognizes it correctly.
Now we can install ADB, which will allow us to dictate commands via shell from your computer to OnePlus X, directly via USB cable. Launch the downloaded file, then type Y - followed by Submit - to answer any question.
Now that your computer is ready, take your OnePlus X and move to the Settings, then scroll to the end and open Info on the phone. Here you have to look for the item Build number, then "plug" repeatedly until the message comes out: "You are now a developer". Going back, in the Settings, just above you will notice the new menu Developer options: enter and enable the entries Debug USB e Unlocking OEM; enter the unlock code if required, then press again Ok to accept the notice.
Now you need to connect OnePlus X to your PC, a little later you will notice a message on your phone asking you if you always allow access from the computer you are using. Select Ok.
Perfect, everything ready! You can disconnect the phone from the PC.
Root OnePlus X: unlock bootloader
Now we can move on to the first real step: unlocking the bootloader. This is the procedure that will erase all data, so remember to make a backup. 😉
- Turn the phone off
- Turn it on fastboot mode; to turn on OnePlus X in fastboot mode just press and hold the Volume up button + the power button
- From the PC, open computer, move to the Windows partition (usually "C:") and open the folder adb
- In the adb folder keep the button pressed Shift and click in an empty part of the folder with the right button, then select Open command window here
- The. Will open Windows command prompt (Cmd)
- Connect the phone and wait for Windows to install the drivers
- At the end, from cmd give the command
- If the drivers have been installed correctly, you will see something like the following image, otherwise the driver installation was not successful and needs to be repeated. Precisely below List of devices attached nothing will appear
- If below List of devices attached the device is shown, then we can move on to the next command, the decisive one for unlocking
fastboot oem unlock
- Done! The OPX bootloader will be unlocked, the data deleted and at the end it will restart.
Note: If it doesn't reboot, the bootloader is probably already unlocked. In this case the data will not be deleted and a long press of the power button is enough to turn off.
Root OnePlus X: TWRP flash recovery
As soon as OnePlus X turns on, you will need to reactivate the Developer options and Debug USB, as explained above. Now you can also copy SuperSu to a folder on your phone, because you will need it later, after flashing the recovery.
- Rename the recovery from twrp-2.xxx ****. img in recovery.img just to simplify the command
- Copy it to the adb folder
- Turn off the phone, turn it on in fastboot mode and connect it to the PC
- Check if the phone has been recognized with
- If it has been recognized, flash recovery with the following command
fastboot flash recovery recovery.img
- Then start the recovery with this last command
fastboot boot recovery.img
- Don't restart the phone!
Root OnePlus X: Nandroid Backup
The phone will restart in the TWRP recovery, where you can finally flash the root, but it is recommended to first run a Nandroid Backup, or a complete backup of system, boot and data, so as to find it again if something goes wrong. To do this, simply press Backup, select system, data and boot and swipe to start. Do not restart.
Root OnePlus X: SuperSU flash
Now that you have your system safe, you can finally flash the file needed to activate root permissions on OnePlus X! Back in recovery, press install, then select the SuperSU file previously copied to the phone and confirm with a swipe to the right. After a few seconds the installation will finish, then you can restart your phone. Your OnePlus X will have root permissions upon startup! 😉
Flash ROM on OnePlus X (step not needed)
I tried the OnePlus and I must say that it is a really great terminal, but OxygenOS is a ROM that I just can't digest for the few customizations it offers. If you think like me and want to install a new ROM, here's what you need to do:
- Download the ROM you prefer and the GApps based on the Android version on which the ROM is based
- Copy the new ROM and GApps to your phone
- Restart in recovery (volume down key + power key)
- Perform a wipe data/factory reset
- Select Install, then choose the ROM. Select the item to add another file, then add the GApps.
- Make the swipe to confirm
- Restart and wait a few minutes until power on 😉
Note: The phone will not be damaged if you follow the guide carefully. If something is not clear, I recommend asking for help before starting.