[OnePlus X General] omkolte17:
Index
1. Set Up Fastboot & ADB
2. Unlock OPX Bootloader
3. Enable USB Debugging & Activate OEM Unlock
4. How to backup EFS & Other Partitions

Lets get started

1. Set Up Fastboot & ADB Drivers:

What’s ADB?

ADB stands for Android Debug Bridge. It works when the device is powered on and booted into OS or Recovery. The tool helps in sending basic linux commands, and a variety Android specific commands from PC to connected Android devices.

What’s Fastboot?

Fastboot works only in bootloader/fastboot mode. It allows you to re-flash system partitions on your Android device and requires a device with an unlocked bootloader. It’s particularly useful when you want to update your device manually or in a rare situation when you accidentally soft-brick your device and need to install a clean stock system image.

Download and run adb-setup-1.3.exe

2. Unlock OPX Bootloader:

Backup important files stored on your OnePlus X before proceeding with the steps below, as unlocking the OnePlus X Bootloader will completely wipe/delete all files on the device.

After the installation of drivers (OnePlus X, Fastboot & ADB drivers) follow the below to proceed with Unlocking the Bootloader of your Oneplus X

3. Enable USB Debugging & Activate OEM Unlock:

* Go to Settings > About phone, and then tap ‘Build number’ 7 times or until you get the message ‘You’re now a developer!’.

* Go back to Settings, choose ‘Developer options’. Find the ‘USB debugging’ option and use this toggle button to enable it. Accept warning by tapping on OK button.

Also in the ‘Developer options’. Find the ‘OEM Unlocking’ option and use its toggle button to enable it. It asks for your PIN/Screen unlock code, type it. Then accept the warning by tapping on OK button.

Connect your OnePlus X to windows now. You will get a pop-up on your phone when you connect for the first time after enabling USB debugging. Select ‘Always allow from this computer’ checkbox and then tap on OK button. (You may or may not get this prompt so don’t bother if you dont)

Boot your OnePlus X into Bootloader/Fastboot mode. (Make sure you have backed up all important data as you’ll lose everything on phone in the steps below.)

Connect your OnePlus X — in Bootloader mode — to PC. Let the driver install.

Open a command window on your PC.

For this:

>>Open the adb folder on your PC.

>>Hold shift key, right click on empty white space.

>>Choose Open command window here option from that.

Power off your phone then boot into fastboot mode (power + volume up).

Connect your phone to your windows via usb cable.

Confirm whether fastboot is working. With OnePlus X connected to PC, run the following command in command window.

fastboot devices

It should return your device serial number, if not you need to make sure your drivers are installed correctly.

Once you've confirmed your fastboot connection to unlock the bootloader use

fastboot oem unlock

The device will now go through the automated unlocking process, just let it do its thing and it'll boot up into Android.

You’ll see a new screen on your device. Choose Yes and confirm it.

That’s it. The device will reboot automatically.

To confirm unlock status, reboot into bootloader and type the following command:

fastboot oem device-info

Device unlocked: true
Other lines are not that important

4. How to Backup EFS & Other Partitions (Root Needed)

* Download Partitions Backup And Restore App from Here

* Open the app and grant it root access.

* Click on the Settings icon above and select preference to .img

* Select the partitions marked in yellow and backup them by clicking on the download like button at the bottom right.

* Go to the storage and search for the Partitions Backup folder there you will three .img files (modem,modemst1,modemst2) . Save them to your cloud and as many places as you want as they are very important files.

This way you can back up all other partitions too. (I would recommend backing up all those that are not found in a factory image.)