Lineage OS 18.1 on OnePlus X
Last updated
Last updated
First and foremost, create a complete device backup. This is because we will be wiping the data partition which will format your device.
Next up, you will need to unlock the bootloader on your device. If you haven’t done so, refer to our guide on How to Unlock the Bootloader on OnePlus X.
Once that is done, you must also have the TWRP Recovery installed.
Also, enable USB Debugging on your device so that it gets recognized by your PC in the ADB Mode. For that, head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.
Next, up, download, and install the Android SDK Platform Tool on your PC. This will provide you with the necessary binary files.
Also, download and install the OnePlus USB Drivers onto your PC.
Finally, download the Lineage OS 18.1 on OnePlus X: Download Link
If you want Google Apps as well, then download the Android 11 GApps file
That’s it. You may now proceed with the installation steps.
Transfer the downloaded ROM and the GApps file to your device’s Internal Storage.
Now connect it to the PC via USB Cable. Make sure USB Debugging is enabled.
Execute the below command in the CMD window to boot your device to TWRP Recovery
Then, select the System, Vendor, Data, and the Cache partition and perform a right swipe to format the selected partitions.
After this, go to the Install section of TWRP. Navigate to the downloaded LineageOS 18.1 ZIP file, select it and perform a right swipe to install it.
The process might take a few minutes. When the flashing is complete, go back to the Install section and this time select the GApps package. Perform a right swipe to install this file as well.
Likewise, you should also wipe the cache partition. You could either use the Wipe Cache button that would be available after flashing GApps. If not, then head over to Wipe, select the Cache partition and perform a right swipe to wipe it.
You may now reboot your device to the newly installed OS. For that, head over to Reboot and select System
Head over to the platform-tools folder on your PC, type in CMD in the address, and hit Enter. This will launch the Command Prompt window.