Instructions for using the Tools for OnePlus 6 script
Installing TWRP, getting root rights, decrypting the data section
using an adapter
usb type-c to usb type-aand any flash drives.
For the stable operation of the device after gaining root rights, it is necessary to do the decryption of the data section.
This is necessary to avoid further problems.
Training .
Without all of the following, you can close this instruction !! Would need : - usb type-c to usb type-a work adapter
- usb flash drive - preferably 2.0 (my flash drive 3.0 is not detected in twrp)
- either microSD (up to 2 gigabytes) and card reader
We download the script itself
Tools for OnePlus 6Run the script:
1 - Install the driver.
Click in the script 1 and press Enter.
After installing the drivers, reboot the PC.
2 - Unlocking the bootloader.
Attention ! When you open the bootloader, all settings will be reset, all user data will be deleted. We make data backup before the procedure.
We connect the phone to the PC, run the script. If we don’t know the state of the bootloader, press 2 in the script and Enter to get information about the bootloader, look for the inscription (bootloader) Device unlocked: true (unlocked) - (bootloader) Device unlocked: false (locked)
If the loader is closed - in the script, select the 3 item (you can not leave the loader in the phone)
A warning window will appear on the phone, select yes with the volume keys and confirm the unlocking with the power button. After the reboot, the settings will be reset. We turn on and go through the initial settings, there is no sense in further customizing.
3 - Download all the necessary files.
Download the firmware,
from the capor through a script (10 item in the script)
Copy files permanent TWRP, Magisk, and a patch from the encryption data section in the phone's memory.
We connect the phone with debugging enabled by usb to the PC, in the script, in turn, select item 6.7.8.
We connect the adapter with the USB flash drive to the phone and copy three files from the phone to the USB flash drive. The firmware should also be on the flash drive.
4 - Install TWRP
We connect the phone to the PC and select item 5 in the script
After the successful installation of twrp, on the phone with the volume keys we find the item Recovery mode and press the power button. We are waiting for download in twrp.
5 - Installing TWRP, getting root rights, decrypting the data section
We connect the adapter with a flash drive to the phone and check whether its phone can see.
If the phone does not see the flash drive, reboot in twrp.
If all is well, go ahead.
In twrp, click Wipe - Advanced Wipe. Check off all items except USB Storage.
We spend the bottom slider. Next, in the Wipe tab, select the Format Data item. In the window that appears, write yes and click ok.
Then we put the firmware, followed by the file permanent twrp.
Reboot to twrp.
We put a patch on the encryption of the data section, then we flash magisk.
Reboot to twrp.
Reboot into the system.