When it comes to modding Android, there's no better tool than TW Win's custom recovery from Team Win. You can use it to rooftop your phone, flash mods like Magisk or Xposed and even replace the entire operating system with a custom ROM like LineageOS – frankly, this utility can not ] TWRP will be the software replace for restocking on your OnePlus 6, but you will not miss anything. Instead of the gimped ADB-based recovery that came with your phone, you get a touch-based interface that lets you flash any image or ZIP file. There are also plenty of additional features such as selective deletion and the ability to fully restore your phone with NANDroid backups. This guide will take about 20 minutes, but when you're done, you'll definitely want to say thank you.
Before you have anything "custom" flash on your OnePlus 6, you need to unlock your bootloader. This will allow you to load unofficial software like TWRP. It's a bit of a complicated process, so if you have not taken care of this step yet, use our full guide at the following link to give us the square.
Now that your bootloader is unlocked, there are two files you need to download. One should be downloaded to your phone and the other should be stored on your computer. Take the bootable TWRP image file and save it to your computer:
Next, take the TWRP zip file to your phone:
Continue to prepare for your phone. First, make sure that either a password or a PIN is set as lock screen security.
This is because TWRP needs this PIN or password to decrypt your phone's memory partition. If your lock screen uses a pattern, it is much harder to enter that in TWRP with the keyboard providing it. To simplify this, go to Settings -> Security & Lock screen and make sure "Screen Lock" is set to either PIN or Password.
To facilitate Fastboot mode for flashing TWRP and to make TWRP booting easier in the future, we recommend activating the Advanced Reboot menu of your OnePlus 6. If you followed the instructions in step 1, this setting is already enabled. If not, go to Settings -> Developer Options and then check the box next to "Advanced Restart".
Over there on your computer you need to now a command prompt in the folder platform-tools in your Fa Open the stboot installation directory. For Windows users, this is usually found at C: Program Files (x86) Android android-sdk platform-tools . For Linux and Mac users, the location of the folder is different, so use your computer's search function to find the platform-tools folder.
Copy the location from the address bar above once you have found the Platform Tools folder of your file browser (eg Windows Explorer). Then open a command prompt or a terminal window. To do this on Windows, press the Windows key on your keyboard, then type "cmd" and press Enter. On Linux or Mac, open "Terminal" in your application folder.
Once the command window is open, you must change the directories in the platform-tools folder before you can send the fastboot command to start TWRP. Enter "cd" followed by a space and insert the full location for your platform-tools folder:
Now is the time to get down to business. To make sure everything is connected properly, type the following command at the command prompt or the terminal window, and then press Enter:
Note: Most Mac and Linux users must have a dot and a Add slash at front of all fastboot commands (eg ./fastboot devices )
If the terminal window spits out a series of letters and numbers, followed by the word "Fastboot" Get started. Otherwise, check your ADB and Fastboot installation and make sure your USB cable is not faulty.
Step 8: Temporarily Boot TWRP
You will use a temporary version of TWRP to permanently flash TWRP on your phone. It's a bit confusing, but the actual process is pretty simple.
Begin typing the following command at the command prompt. Then add a single space after the command, but do not press Enter .
Note: Do not forget the dot and slash when running on Mac or Linux
Next, locate the TWRP image file in your computer's download folder. Drag it to the command window and drop it there – this will fill the full filename and location for the TWRP image file.
Once the prompt appears something like what you can see below (complete with file name and location), press Enter on your keyboard to temporarily enter TWRP boot.
Over on your phone, you will see that TWRP has booted. At this point, you can safely unplug the USB cable, as the rest of the work is done on your phone.
First, you'll need to enter your PIN or password to decrypt your phone's memory. When you do this, you are asked if you want to allow system changes. This means that any changes you make to this temporarily booted version of TWRP can be permanent, so just swipe the slider at the bottom of the screen.
Next, tap the Install button on the TWRP Main Menu, navigate to the Download folder, and select the downloaded TWRP ZIP file. In step 2. Swipe the slider on the bottom of the screen to enable TWRP as a new permanent restore.
When the process is complete, tap the Reboot System button. You will be asked if you want to install the official TWRP app here. It's not needed, so I recommend unchecking both boxes and tapping Do Not Install.