Skip to content

Instantly share code, notes, and snippets.

@SynysterZV
Created August 14, 2021 08:30
Show Gist options
  • Save SynysterZV/98d9feb4004b78afe108b6f1d77defb6 to your computer and use it in GitHub Desktop.
Save SynysterZV/98d9feb4004b78afe108b6f1d77defb6 to your computer and use it in GitHub Desktop.
Unbricking OnePlus 6T

Steps:

  • Flash OxygenOS v9.0.11 using MsmDownloadTool V4.0_factory_patched.exe
  • After device is back to the home screen, move OnePlus6TOxygen_34_OTA_024_all_1909112343_9fd6e0057b8747dc.zip to Internal Storage
  • Goto System > System Updates > Gear Icon(top right) > Local Upgrade, and install the OTA you just moved to Internal Storage
  • After devices is updated and rebooted, go back to System Updates and there will be an update to OOSv10^, install it
  • After that is installed, goto About Phone and tap Build Number until it gives you developer mode.
  • Goto System > Developer options , and enable OEM Unlocking, Advanced Reboot, and USB Debuging
  • Use adb/adb.exe to boot the phone into fastboot, using ./adb.exe reboot bootloader (It will start the daemon and then fail, the phone will ask you if you trust the computer, tap yes and rerun the command)
  • When in fastboot, open Device Manager (Win+X, click Device Manager), and go to Other Devices, if the phone is called Android and has a little triangle symbol, its missing drivers. Right click and press Update Driver, press "Browse my computer for drivers", press "Let me pick from a list of available drivers on my computer", press "Have Disk...", click "Browse..." and navigate to usb_driver in this folder, then you will press "USB Bootloader Interface", once it is installed you can move onto the next step
  • Run ./fastboot.exe oem unlock, and follow the directions on your phone screen. (WARNING: This WILL wipe your device again)
  • At this point, you should enable File transfer over the USB connection to you PC, and move both twrp-3.5.2_9-0-fajita.img and Magisk-v23.0.zip to your Internal Storage
  • Boot back into fastboot (bootloader), either using ADB or by using the Advanced Reboot menu (Hold power button for a second)
  • Once you are back in fastboot, boot into TWRP using .\fastboot.exe boot ..\twrp-3.5.2_9-0-fajita.img
  • Once you are in TWRP, goto Advanced > Install Recovery Ramdisk, and if all of the files look like gibberish , you need to go back and tap "Decrypt Users", and enter your password to your phone. Then you can go back to Install Recovery Ramdisk and tap on twrp-3.5.2_9-0-fajita.img, it will begin to flash TWRP as your custom recovery. After TWRP is installed i recommend rebooting into your recovery.
  • Once you are back into TWRP, you should hit "Install" and tap Magisk-v23.0.zip, it will begin to install Magisk as your root method. After thats done, press Reboot and then System. Once the phone is booted back up, tap on the newly installed Magisk app, and it will install fully (It may ask you to enable installing from unknown sources, do that)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment