Step by Step Guide To Flash TWRP

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Step by step guide to flash TWRP & install

LineageOS (no root required) Feb 22, 2017


Some basic terminology:
~Custom ROM: Just another Operating System (OS). Eg. LineageOS,
OxygenOS...
~Custom Recovery: This is what you use to install custom ROMs. Eg.
TWRP, CWM...
~System Recovery: Pre-installed recovery software that comes with your
device.

All Android devices ship with a recovery environment preinstalled. This


recovery software can be used to restore the device to factory default settings,
update its operating system, and perform other diagnostic tasks.

You don't need to ROOT your device to install custom ROMs & custom
recovery.

In this guide I will teach you how to:


* Flash TWRP (custom recovery)
* Install LineageOS (custom ROM)
* Install GApps

MAKE SURE TO BACKUP YOUR DATA BEFORE YOU PROCEED!


YOU WILL LOOSE ALL YOUR DATA!

>>>

2. Turn OFF UPDATE RECOVERY in DEVELOPER OPTIONS.


- this step is important so that once you flash TWRP, your device doesn't replace the custom
recovery (TWRP) with the system recovery.
- to access DEVELOPER OPTIONS: go to SETTINGS>ABOUT PHONE>tap on BUILD
NUMBER 7 times to enable DEVELOPER OPTIONS.

3. Also enable ANDROID DEBUGGING.


4. Download & install any ADB driver:
https://forum.xda-developers.com/showthread.php?t=2588979

5. Download the latest TWRP for OnePlus Device:


OPO - https://dl.twrp.me/bacon/
OPX - https://dl.twrp.me/onyx/
OP2 - https://dl.twrp.me/oneplus2/
OP3 - https://dl.twrp.me/oneplus3/
OP3T - https://dl.twrp.me/oneplus3t/

6. Copy the file into the same folder as your adb and fastboot binaries. Rename the image to
'recovery'
- ADB folder is usually located in your C drive. You will know its the right folder if it has the
files named 'adb' & 'fastboot' in it.

7. Connect your device to the computer

8. In the ADB folder, hold SHIFT+RightClick and click on 'Open command window here'.
-This will open Command Prompt.

9a. Type the following line in the command prompt window:

Code:
adb reboot bootloader
-You should now be in fastboot mode.

9b. Type the following line in the command prompt window:


Code:
fastboot oem unlock
-This enables you to install the custom recovery (TWRP in this case) and also custom ROMs
(in short, unlocks bootloader)

***WARNING: You will loose all your data! MAKE SURE TO BACKUP***

9c. Type the following line in the command prompt window:

Code:
fastboot flash recovery recovery.img
-This will flash the Custom Recovery (TWRP) image to your device.

9d. Type the following line in the command prompt window:

Code:
fastboot reboot
-Your device will restart.

10. You should now have the custom recovery installed on your device. To go into custom
recovery mode (TWRP):
a. POWER OFF device
b. VOLUME DOWN+PowerButton

You should now have TWRP Recovery installed on your device.

<<<

>>>

11a. Download LineageOS:


OPO - https://download.lineageos.org/bacon
OPX - https://download.lineageos.org/onyx
OP2 - https://download.lineageos.org/oneplus2
OP3/3T - https://download.lineageos.org/oneplus3
- If you wish to use any other OS, this is where you would download your prefered OS instead.

11b. Enter recovery mode: STEP 10

11c. Click Wipe>Format Data


This step will completely format your device and turn it into a CARROT!

11d. Connect the device to your computer and copy the LineageOS ZIP file onto the device.

11e. Enter into TWRP mode again if you restarted your device (STEP 10). Click on
INSTALL folder and install the LineageOS file.

You should now have LineageOS installed on your device.

<<<

>>>

Now that you have 'clean' LineageOS installed onto your device, it doesn't come with any of
the Google apps (aka GApps) pre-installed in the OS; not even the Play Store! It ain't totally
necessary for you to Flash GApps onto your device as you can separately download the apk
files and just install them but for those of you that prefer having 'official apps', just follow the
steps:

12a. Website for GApps:


http://opengapps.org/

12b. Identify the platform you are using:


ARM: OnePlus One/OpenPlus X
ARM64: OnePlus 2/OnePlus 3/OnePlus 3T

12c. Identify the Android version you are running.

12d. Choose & Download the variant you wish to install onto your device.
-This part is completely up to you depending on users who want the absolute minimum
GApps installation available (Pico Package) to those who want to have all Google
Applications that were ever shipped on a Google device (Super Package).

12e. Move the downloaded package to your device.

12f. Enter TWRP Recovery mode (STEP 10)


12g. Click on INSTALL folder and install the GApps package.

You should now have GApps installed on your device.

You might also like