• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Installing, Updating, Backup and Restore Guide for OP8 Pro

Search This thread

Extreme_Ninja2099

Senior Member
Jan 1, 2017
374
162
This is a bit late but why not. THIS IS A COMPILATION OF ALL THE OS METHODS YOU NEED FOR THE OP8 Pro.
ENJOY my guide :)

DISCLAIMER:

*I am not responsible for bricked devices, damage to your device*
Sorry for a long list of methods, some work for others and some don't. But I recommend to pick a method and stick to it. Maybe read the part at the top as some have notes about mine or someone else's experience/recommendation. Don't skip steps and follow each step.
If stuck, just ask and I or anyone else will try and help 🤗

I am here to post methods for anyone who is interested/need help. I have tested these myself and helped others who may be struggling :)

Download
The guide has loads of files/ zips/ tools to use/flash/install. But no worries as everything can be downloaded and there are links AT THE BOTTOM OF THIS THREAD (NOT COMMENTS) to where to download:
  • SDK Platform Tools (Fastboot tools) from Developer Android
  • TWRP from infected_
  • Magisk from topjohnwu
  • Gapps (Google Apps) from NikGapps. I recommend omni for ROMs that don't include Gapps.
  • Fastboot ROM for OP8Pro from mauronofrio
  • MSMDownload tools for OP*Pro from Some_Random_Username

IMPORTANT NOTES!
  • YOU REQUIRE Platform Tools (Fastboot Tools) IN ORDER TO USE THE METHODS IN THIS GUIDE AS TWRP NEEDS TO BE INSTALLED!
  • YOU NEED TO HAVE A UNLOCKED BOOTLOADER AS WELL!
  • For GAPPS, u can use the same or a updated version of the package. But has to be the same type u used to install it like (stock, full, Omni, basic, etc). ONLY FLASH/INSTALL IF the RESTORE SCRIPT DIDN'T SHOW UP during a DIRTY FLASH/UPDATE AND ONLY FLASH AFTER REBOOTING TO RECOVERY AFTER FLASHING/INSTALLING A OS/BUILD ZIP FILE!
How to get Platform Tools
These tools are used to install TWRP, to unlock the bootloader of your device and is needed to use the METHODS in this guide.
  1. Download the platform tools.zip of your software platform (Mac, Windows, Linux)
  2. Extract the platform-tools.zip
  3. To use it go into your platform-tools folder
  4. Press shift + right-click and choose command prompt or PowerShell
  5. Connect your device when it's in fastboot mode and done

How to install TWRP
Sadly this Guide is for Windows, but other platforms like Mac or Linux can be found online.
YOU CAN USE THIS METHOD TO INSTALL A NEWER VERSION OF TWRP or ANY RECOVERY TOO

  1. You need to have downloaded Platform Tools which the link is attached below.
  2. Transfer the TWRP.img file into the platform-tools folder
  3. If you want root download and transfer magisk.apk and the link is supplied below. Also, RENAME from .apk to .zip
  4. Now we must boot into fastboot mode. (Either do it with the advanced reboot in developer options or power off device -> boot recovery Power + Vol + -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
  5. Now connect your device to a Windows device
  6. Press shift + right-click. Choose command prompt or PowerShell
  7. Enter "fastboot devices" and your device should be displayed if it's connected
  8. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  9. Then press enter and type this: fastboot flash recovery_b twrpname.img
  10. Now choose to boot to recovery using the volume buttons
  11. Enter the password and swipe to allow modifications
  12. You have now installed TWRP and we've now checked that it has been successfully installed!
If you want root do this
  1. Press the back arrow and find your magisk.zip
  2. Swipe to confirm Flash
  3. Reboot to the system and done
Otherwise, just reboot to system. Up to u

How to boot into EDL mode
This will have more than one method to boot into EDL mode.
Method 1
This is the basic method to boot into EDL mode
  1. Turn off device
  2. HOLD BOTH volume buttons
  3. PLUG IN your device
  4. Press the POWER button and CARRY ON HOLDING the volume buttons
  5. You should be in EDL mode now
If your device still isn't in EDL mode try this
  1. Open device manager in windows
  2. Try the steps again
  3. If not then try method 2
Otherwise, well done you have booted into EDL mode

Method 2
If you didn't manage to boot into EDL mode using method 1. If you can boot into system, do this method
Both methods will need you to download and install the All-in-one-tool from the download section
  1. Go into developer options
  2. Turn on USB debugging
  3. Connect your device if u haven't
  4. Press allow
  5. Open the All-in-one-tool
  6. Choose reboot EDL Mode
  7. You should be in EDL mode now
Method 3
If you cannot boot into system and have bricked your device, try this method
Both methods will need you to download and install the All-in-one-tool from the download section
  1. IF U STILL CANNOT BOOT INTO EDL MODE and have bricked your device...
  2. Install TWRP in the "How to install TWRP" section
  3. Once you're in the home screen, press reboot and choose the other slot (If ur current slot is Slot A then choose slot B and vice versa)
  4. Reboot to system
  5. If you're able to boot to the system
  6. Skip the setup screen
  7. Go into developer options
  8. Turn on USB debugging
  9. Connect your device if u haven't
  10. Press allow
  11. Open the All-in-one-tool
  12. Choose reboot EDL Mode
  13. You should be in EDL mode now

Installing a Custom ROM
Follow the method suggested in the XDA thread
. Stick to each method and follow the process!

If you want root and TWRP do this

  1. Reboot to bootloader
  2. Type: fastboot flash recovery_a twrpname.img
  3. Then press enter and type this: fastboot flash recovery_b twrpname.img
  4. Now boot to recovery
  5. Find the magisk.zip file
  6. Flash Magisk
  7. Reboot to system and done
Otherwise, just reboot to system. Up to u


Backing Up OOS and Custom ROM
Make sure u have installed the latest TWRP version from mauronofrio

  • You should use TitaniumBackup or Migrate to back up your apps and contacts.
  • Also, have a copy of your Internal Storage folders if u have important files.
  • TWRP Backup backs up your OS like Apps, settings and set up, but not internal storage.
  • NEVER BACKUP SYSTEM AND VENDOR! ONLY SYSTEM.IMG or VENDOR.IMG IF YOU HAVE TO!
Restoring it makes going back way easier like you have never left :)
Or you can go manually and try and restore everything, but why do that when you got TWRP?
I do both ways of backing up

Backing up OOS
  1. Boot TWRP recovery
  2. Choose Backup
  3. Choose boot, data. YOU DO NOT NEED TO BACKUP System.img and Vendor.img!
  4. Swipe to backup
  5. Once done, either boot to system or mount
  6. Transfer the whole TWRP folder onto a storage device
  7. Done

Backing up a Custom ROM
  1. Boot TWRP recovery
  2. Choose Backup
  3. Choose boot, data, system.img, vendor.img
  4. Swipe to backup
  5. Once done, either boot to system or mount
  6. Transfer the whole TWRP folder onto a storage device
  7. Done


Restoring OOS and Custom ROM

Restoring OOS TWRP Backup
To restore OOS use either fastboot ROM or MSM. Fastboot is the fastest and easiest way if u have a TWRP backup which there's a method to how to make one in this guide. BUT if you are restoring to go back to stock OOS then use MSM

Update: Fastboot ROM currently don't work under my testing. MSM is still the best way to restore to OOS and TWRP backups don't currently work. I don't recommend trying to use the fastboot ROM installer for OOS as you would have file transfer issues...
As of now, use MSM and just transfer what you have backed up. It's sad that TWRP backups don't work, u can try and post how it went. But for now, I don't RECOMMEND RESTORING OR USING TWRP BACKUPS!

  • I use Fastboot ROM restore for that too as we are restoring our data anyways and also for switching/installing a custom ROM. Much easier in my experience.
  • DOWNLOAD FULL ZIP OF OOS version of your TWRP backup otherwise you could risk doing the whole restore method again OR setup from SCRATCH! IF you aren't restoring a TWRP backup, I recommend either TRANSFER or DOWNLOAD via WiFi or oxygen updater, a UPDATED version of OOS AFTER doing either fastboot ROM or MSM restore methods. As they restore a old version of OOS!
Restoring using Fastboot ROM
  1. Download fastboot ROM
  2. Extract/ un-zip
  3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
  4. Click flash-all.bat
Restoring using MSM Download Tool
  1. Download latest MSM version
  2. Extract/ un-zip
  3. Click on MSM tool .exe file
  4. Now we need to boot your device into EDL mode
  5. Turn off device
  6. HOLD BOTH volume buttons
  7. PLUG IN your device
  8. Press the POWER button and CARRY ON HOLDING the volume buttons
If you cannot boot into EDL mode
  1. Try the methods to boot into EDL mode in the "How to boot into EDL mode" section
Otherwise, carry on the method
  • Connect your phone
  • Wait for your device to be connected and it should show as green
  • Click verify to check and press start
  • Wait till phone reboots
  • The setup device and u can carrying on restoring your device if u don't want a unlock bootloader or return to what your device was like before.
  • Go into developer options
  • Allow OEM unlocking
  • Reboot to bootloader
  • Enter "fastboot devices" to check your device is connected
  • Enter "fastboot oem unlock"
  • Swipe for yes
  • Then it will reboot again
  • continue to the next method
For both fastboot and MSM
  1. Once booted into system, set it up and update to OOS version of your TWRP backup.
  2. Download the full zip using the link in the Download Link section.
  3. Transfer the OOS .zip to internal storage.
  4. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
  5. Do this twice to make sure you have installed that version of OOS in both slots
  6. Boot to bootloader
  7. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  8. Then press enter and type this: fastboot flash recovery_b twrpname.img
  9. Reboot to recovery
  10. Transfer whole TWRP Folder into internal storage
  11. Restore only boot and data
  12. Swipe to restore
  13. Go to the next part to transfer your internal storage files + folders
If you have backed up your internal storage folders do this
  1. Reboot to recovery
  2. Transfer all your internal storage folders
  3. Reboot to system and done
Otherwise, just reboot to system. U can update OOS as well if it's outdated. The method is below to update OOS with ROOT. Up to u

RESTORING TWRP BACKUP HAS ISSUES

  • Method 2 works (install Gapps if the ROM doesn't have it!)
Update: These methods were from my previous compilation guide for the Op6/6T. But as of now, TWRP backups aren't recommended and I haven't tested these methods myself nor know someone who has tested/recommends them. I DON'T RECOMMEND THESE METHODS RIGHT NOW.
If u want to switch ROMs or unbrick your device I recommend using the MSM method in restoring with MSM section.


Restoring a Custom ROM TWRP backup 1
Restore fresh like you're going back to OOS.
Choose one method. Fastboot or MSM method.

I prefer the fastboot method.

  1. Download fastboot ROM
  2. Extract/ un-zip
  3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
  4. Click flash-all.bat
  5. Once booted into system, set it up briefly and DO NOT RESTORE ANYTHING.
  6. Boot to bootloader
  7. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  8. Then press enter and type this: fastboot flash recovery_b twrpname.img
  9. Reboot to recovery
  10. Transfer whole TWRP Folder into internal storage
  11. Restore everything (System.img, vendor.img, boot.img and data)
  12. Swipe to restore. If data couldn't restore then boot system, setup system, boot TWRP and restore data.
  13. Reboot to system. The first reboot might go dodgy and it did for me.
  14. Reboot to system and transfer all your internal storage stuff
  15. done
If this did not work still. Then do the next method...

Restoring a Custom ROM TWRP backup 2
If the previous method has failed for you. Then try this.
Restore fresh like you're going back to OOS.
Choose one method. Fastboot or MSM method.

I prefer the fastboot method.

  1. Download fastboot ROM
  2. Extract/ un-zip
  3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
  4. Click flash-all.bat
  5. Once booted into system, set it up and update to OOS version of your TWRP backup.
  6. Download the full zip using the link in the Download Link section.
  7. Transfer the OOS .zip to internal storage.
  8. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
  9. Do this twice to make sure you have installed that version of OOS in both slots
  10. Boot to bootloader
  11. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  12. Then press enter and type this: fastboot flash recovery_b twrpname.img
  13. Follow the installation method suggested in the XDA thread for your ROM
  14. Once it has been installed
  15. Reboot to Recovery
  16. Transfer twrp backup
  17. Restore data
  18. Reboot system. Done
If it still fails, repeat steps 1 to 18. But restore everything and you should be back on your custom ROM like you never left.

Updating OOS and Custom ROM

Update OOS with Root (Magisk)

Always do a TWRP backup before updating your OS in case
Update: As of now TWRP backups aren't recommended and haven't been tested, But this method works for updating OOS

  1. Download the full zip file of the latest OOS, transfer the zip file to internal storage NOT IN ANY FOLDER
  2. Go into settings, system update, update via local upgrade and choose the file
  3. Wait till the installation has finished. If failed TRY AGAIN!
  4. DO NOT REBOOT!
  5. Go into Magisk Home
  6. Press install
  7. Press install via inactive slot
  8. Reboot system and done
  9. You will reboot into the next slot
If you want TWRP do this
  1. Reboot to bootloader
  2. Type: fastboot flash recovery_a twrpname.img
  3. Then press enter and type this: fastboot flash recovery_b twrpname.img
  4. Now boot to recovery
  5. Enter the password and swipe to allow modifications
  6. You have now installed TWRP and we've now checked that it has been successfully installed!
  7. Reboot to system and done
Otherwise, just reboot to system. Up to u

You don’t have to repeat the installation to install the latest OOS in the other slot. But you should and I use this method many times and has never let me down.

Updating OOS without root
Go to System Update -> find the update install and reboot.
Or download the zip -> transfer to internal storage -> update via local upgrade -> reboot and done

Update a Custom ROM
Follow the method suggested in the XDA thread. Stick to each method and follow the process!
Method 1
This method is for Custom ROMs that allows OTA updates
Certain custom ROMs have this feature. Right now: Evo X

  1. Download the full zip file of the latest OOS, transfer the zip file to internal storage NOT IN ANY FOLDER
  2. Go into settings, system update, update via local upgrade and choose the file
  3. Wait till the installation has finished. If failed TRY AGAIN!
  4. DO NOT REBOOT!
  5. Go into Magisk Home
  6. Press install
  7. Press install via inactive slot
  8. Reboot system and done
  9. You will reboot into the next slot
If you want TWRP do this
  1. Reboot to bootloader
  2. Type: fastboot flash recovery_a twrpname.img
  3. Then press enter and type this: fastboot flash recovery_b twrpname.img
  4. Now boot to recovery
  5. Enter the password and swipe to allow modifications
  6. You have now installed TWRP and we've now checked that it has been successfully installed!
  7. Reboot to system and done
Otherwise, just reboot to system. Up to u

Method 2
For Custom ROMs that don't have OTA updates.
Follow the method suggested in the XDA thread. Stick to each method and follow the process!
Before the last step which is to reboot to system...

If you want root and TWRP do this

  1. Reboot to bootloader
  2. Type: fastboot flash recovery_a twrpname.img
  3. Then press enter and type this: fastboot flash recovery_b twrpname.img
  4. Now boot to recovery
  5. Enter the password and swipe to allow modifications
  6. You have now installed TWRP and we've now checked that it has been successfully installed!
  7. Reboot to system and done
Otherwise, just reboot to system. Up to u

Download Links:

All in one tool Here
SDK Platform Tools (Fastboot Tools) Here
OOS versions for OP8Pro (under Signed Flashable zips) Here
TWRP for OP8Pro Here
Magisk Here
NikGapps Here
Stock Fastboot ROM for OP8Pro Here
MSMDownloadTool for OP8Pro Here
TitanumBackup App Here
Migrate App Here

Credits:
@infected_ For your amazing work on the TWRP recovery and method to install TWRP
@mauronofrio Stock Fastboot ROMs for OP8Pro and All in one tool
@topjohnwu For his work on Magisk
@Nikgapps For their work on creating Gapps
@Some_Random_Username For his Collection of MSMDownloadTool for OP6/6T
@OPTeam For the collection of OOS zips for OP8Pro
 
Last edited:

Extreme_Ninja2099

Senior Member
Jan 1, 2017
374
162
Updates
  • 21/10/21 - Released the XDA thread that is a compilation of all methods you need for the OP8 Pro
    • Not sure about the OP8 sadly as I don't own one and this is a very early version of the XDA thread...
    • I currently don't have my OP8 Pro yet, but I'll be getting it tomorrow and this guide will definitely help me and many people
  • 24/10/21- Updated the XDA thread as some methods won't work and haven't been specifically tested for the OP8 Pro
    • I would require testing, but can't risk my device...
    • Fastboot ROM by Mauronofrio don't work and only recommended way is using MSM
    • Added how to boot into EDL mode methods
    • Crossed out methods that aren't recommended and need testing
 
Last edited:
  • Like
Reactions: ps000000

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    This is a bit late but why not. THIS IS A COMPILATION OF ALL THE OS METHODS YOU NEED FOR THE OP8 Pro.
    ENJOY my guide :)

    DISCLAIMER:

    *I am not responsible for bricked devices, damage to your device*
    Sorry for a long list of methods, some work for others and some don't. But I recommend to pick a method and stick to it. Maybe read the part at the top as some have notes about mine or someone else's experience/recommendation. Don't skip steps and follow each step.
    If stuck, just ask and I or anyone else will try and help 🤗

    I am here to post methods for anyone who is interested/need help. I have tested these myself and helped others who may be struggling :)

    Download
    The guide has loads of files/ zips/ tools to use/flash/install. But no worries as everything can be downloaded and there are links AT THE BOTTOM OF THIS THREAD (NOT COMMENTS) to where to download:
    • SDK Platform Tools (Fastboot tools) from Developer Android
    • TWRP from infected_
    • Magisk from topjohnwu
    • Gapps (Google Apps) from NikGapps. I recommend omni for ROMs that don't include Gapps.
    • Fastboot ROM for OP8Pro from mauronofrio
    • MSMDownload tools for OP*Pro from Some_Random_Username

    IMPORTANT NOTES!
    • YOU REQUIRE Platform Tools (Fastboot Tools) IN ORDER TO USE THE METHODS IN THIS GUIDE AS TWRP NEEDS TO BE INSTALLED!
    • YOU NEED TO HAVE A UNLOCKED BOOTLOADER AS WELL!
    • For GAPPS, u can use the same or a updated version of the package. But has to be the same type u used to install it like (stock, full, Omni, basic, etc). ONLY FLASH/INSTALL IF the RESTORE SCRIPT DIDN'T SHOW UP during a DIRTY FLASH/UPDATE AND ONLY FLASH AFTER REBOOTING TO RECOVERY AFTER FLASHING/INSTALLING A OS/BUILD ZIP FILE!
    How to get Platform Tools
    These tools are used to install TWRP, to unlock the bootloader of your device and is needed to use the METHODS in this guide.
    1. Download the platform tools.zip of your software platform (Mac, Windows, Linux)
    2. Extract the platform-tools.zip
    3. To use it go into your platform-tools folder
    4. Press shift + right-click and choose command prompt or PowerShell
    5. Connect your device when it's in fastboot mode and done

    How to install TWRP
    Sadly this Guide is for Windows, but other platforms like Mac or Linux can be found online.
    YOU CAN USE THIS METHOD TO INSTALL A NEWER VERSION OF TWRP or ANY RECOVERY TOO

    1. You need to have downloaded Platform Tools which the link is attached below.
    2. Transfer the TWRP.img file into the platform-tools folder
    3. If you want root download and transfer magisk.apk and the link is supplied below. Also, RENAME from .apk to .zip
    4. Now we must boot into fastboot mode. (Either do it with the advanced reboot in developer options or power off device -> boot recovery Power + Vol + -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
    5. Now connect your device to a Windows device
    6. Press shift + right-click. Choose command prompt or PowerShell
    7. Enter "fastboot devices" and your device should be displayed if it's connected
    8. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    9. Then press enter and type this: fastboot flash recovery_b twrpname.img
    10. Now choose to boot to recovery using the volume buttons
    11. Enter the password and swipe to allow modifications
    12. You have now installed TWRP and we've now checked that it has been successfully installed!
    If you want root do this
    1. Press the back arrow and find your magisk.zip
    2. Swipe to confirm Flash
    3. Reboot to the system and done
    Otherwise, just reboot to system. Up to u

    How to boot into EDL mode
    This will have more than one method to boot into EDL mode.
    Method 1
    This is the basic method to boot into EDL mode
    1. Turn off device
    2. HOLD BOTH volume buttons
    3. PLUG IN your device
    4. Press the POWER button and CARRY ON HOLDING the volume buttons
    5. You should be in EDL mode now
    If your device still isn't in EDL mode try this
    1. Open device manager in windows
    2. Try the steps again
    3. If not then try method 2
    Otherwise, well done you have booted into EDL mode

    Method 2
    If you didn't manage to boot into EDL mode using method 1. If you can boot into system, do this method
    Both methods will need you to download and install the All-in-one-tool from the download section
    1. Go into developer options
    2. Turn on USB debugging
    3. Connect your device if u haven't
    4. Press allow
    5. Open the All-in-one-tool
    6. Choose reboot EDL Mode
    7. You should be in EDL mode now
    Method 3
    If you cannot boot into system and have bricked your device, try this method
    Both methods will need you to download and install the All-in-one-tool from the download section
    1. IF U STILL CANNOT BOOT INTO EDL MODE and have bricked your device...
    2. Install TWRP in the "How to install TWRP" section
    3. Once you're in the home screen, press reboot and choose the other slot (If ur current slot is Slot A then choose slot B and vice versa)
    4. Reboot to system
    5. If you're able to boot to the system
    6. Skip the setup screen
    7. Go into developer options
    8. Turn on USB debugging
    9. Connect your device if u haven't
    10. Press allow
    11. Open the All-in-one-tool
    12. Choose reboot EDL Mode
    13. You should be in EDL mode now

    Installing a Custom ROM
    Follow the method suggested in the XDA thread
    . Stick to each method and follow the process!

    If you want root and TWRP do this

    1. Reboot to bootloader
    2. Type: fastboot flash recovery_a twrpname.img
    3. Then press enter and type this: fastboot flash recovery_b twrpname.img
    4. Now boot to recovery
    5. Find the magisk.zip file
    6. Flash Magisk
    7. Reboot to system and done
    Otherwise, just reboot to system. Up to u


    Backing Up OOS and Custom ROM
    Make sure u have installed the latest TWRP version from mauronofrio

    • You should use TitaniumBackup or Migrate to back up your apps and contacts.
    • Also, have a copy of your Internal Storage folders if u have important files.
    • TWRP Backup backs up your OS like Apps, settings and set up, but not internal storage.
    • NEVER BACKUP SYSTEM AND VENDOR! ONLY SYSTEM.IMG or VENDOR.IMG IF YOU HAVE TO!
    Restoring it makes going back way easier like you have never left :)
    Or you can go manually and try and restore everything, but why do that when you got TWRP?
    I do both ways of backing up

    Backing up OOS
    1. Boot TWRP recovery
    2. Choose Backup
    3. Choose boot, data. YOU DO NOT NEED TO BACKUP System.img and Vendor.img!
    4. Swipe to backup
    5. Once done, either boot to system or mount
    6. Transfer the whole TWRP folder onto a storage device
    7. Done

    Backing up a Custom ROM
    1. Boot TWRP recovery
    2. Choose Backup
    3. Choose boot, data, system.img, vendor.img
    4. Swipe to backup
    5. Once done, either boot to system or mount
    6. Transfer the whole TWRP folder onto a storage device
    7. Done


    Restoring OOS and Custom ROM

    Restoring OOS TWRP Backup
    To restore OOS use either fastboot ROM or MSM. Fastboot is the fastest and easiest way if u have a TWRP backup which there's a method to how to make one in this guide. BUT if you are restoring to go back to stock OOS then use MSM

    Update: Fastboot ROM currently don't work under my testing. MSM is still the best way to restore to OOS and TWRP backups don't currently work. I don't recommend trying to use the fastboot ROM installer for OOS as you would have file transfer issues...
    As of now, use MSM and just transfer what you have backed up. It's sad that TWRP backups don't work, u can try and post how it went. But for now, I don't RECOMMEND RESTORING OR USING TWRP BACKUPS!

    • I use Fastboot ROM restore for that too as we are restoring our data anyways and also for switching/installing a custom ROM. Much easier in my experience.
    • DOWNLOAD FULL ZIP OF OOS version of your TWRP backup otherwise you could risk doing the whole restore method again OR setup from SCRATCH! IF you aren't restoring a TWRP backup, I recommend either TRANSFER or DOWNLOAD via WiFi or oxygen updater, a UPDATED version of OOS AFTER doing either fastboot ROM or MSM restore methods. As they restore a old version of OOS!
    Restoring using Fastboot ROM
    1. Download fastboot ROM
    2. Extract/ un-zip
    3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
    4. Click flash-all.bat
    Restoring using MSM Download Tool
    1. Download latest MSM version
    2. Extract/ un-zip
    3. Click on MSM tool .exe file
    4. Now we need to boot your device into EDL mode
    5. Turn off device
    6. HOLD BOTH volume buttons
    7. PLUG IN your device
    8. Press the POWER button and CARRY ON HOLDING the volume buttons
    If you cannot boot into EDL mode
    1. Try the methods to boot into EDL mode in the "How to boot into EDL mode" section
    Otherwise, carry on the method
    • Connect your phone
    • Wait for your device to be connected and it should show as green
    • Click verify to check and press start
    • Wait till phone reboots
    • The setup device and u can carrying on restoring your device if u don't want a unlock bootloader or return to what your device was like before.
    • Go into developer options
    • Allow OEM unlocking
    • Reboot to bootloader
    • Enter "fastboot devices" to check your device is connected
    • Enter "fastboot oem unlock"
    • Swipe for yes
    • Then it will reboot again
    • continue to the next method
    For both fastboot and MSM
    1. Once booted into system, set it up and update to OOS version of your TWRP backup.
    2. Download the full zip using the link in the Download Link section.
    3. Transfer the OOS .zip to internal storage.
    4. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
    5. Do this twice to make sure you have installed that version of OOS in both slots
    6. Boot to bootloader
    7. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    8. Then press enter and type this: fastboot flash recovery_b twrpname.img
    9. Reboot to recovery
    10. Transfer whole TWRP Folder into internal storage
    11. Restore only boot and data
    12. Swipe to restore
    13. Go to the next part to transfer your internal storage files + folders
    If you have backed up your internal storage folders do this
    1. Reboot to recovery
    2. Transfer all your internal storage folders
    3. Reboot to system and done
    Otherwise, just reboot to system. U can update OOS as well if it's outdated. The method is below to update OOS with ROOT. Up to u

    RESTORING TWRP BACKUP HAS ISSUES

    • Method 2 works (install Gapps if the ROM doesn't have it!)
    Update: These methods were from my previous compilation guide for the Op6/6T. But as of now, TWRP backups aren't recommended and I haven't tested these methods myself nor know someone who has tested/recommends them. I DON'T RECOMMEND THESE METHODS RIGHT NOW.
    If u want to switch ROMs or unbrick your device I recommend using the MSM method in restoring with MSM section.


    Restoring a Custom ROM TWRP backup 1
    Restore fresh like you're going back to OOS.
    Choose one method. Fastboot or MSM method.

    I prefer the fastboot method.

    1. Download fastboot ROM
    2. Extract/ un-zip
    3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
    4. Click flash-all.bat
    5. Once booted into system, set it up briefly and DO NOT RESTORE ANYTHING.
    6. Boot to bootloader
    7. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    8. Then press enter and type this: fastboot flash recovery_b twrpname.img
    9. Reboot to recovery
    10. Transfer whole TWRP Folder into internal storage
    11. Restore everything (System.img, vendor.img, boot.img and data)
    12. Swipe to restore. If data couldn't restore then boot system, setup system, boot TWRP and restore data.
    13. Reboot to system. The first reboot might go dodgy and it did for me.
    14. Reboot to system and transfer all your internal storage stuff
    15. done
    If this did not work still. Then do the next method...

    Restoring a Custom ROM TWRP backup 2
    If the previous method has failed for you. Then try this.
    Restore fresh like you're going back to OOS.
    Choose one method. Fastboot or MSM method.

    I prefer the fastboot method.

    1. Download fastboot ROM
    2. Extract/ un-zip
    3. Boot your device into fastboot mode (Either do it with the advanced reboot in developer options or power off device -> boot recovery Vol - + power -> boot to bootloader or power off device -> press Vol Up + Vol down + power)
    4. Click flash-all.bat
    5. Once booted into system, set it up and update to OOS version of your TWRP backup.
    6. Download the full zip using the link in the Download Link section.
    7. Transfer the OOS .zip to internal storage.
    8. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
    9. Do this twice to make sure you have installed that version of OOS in both slots
    10. Boot to bootloader
    11. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    12. Then press enter and type this: fastboot flash recovery_b twrpname.img
    13. Follow the installation method suggested in the XDA thread for your ROM
    14. Once it has been installed
    15. Reboot to Recovery
    16. Transfer twrp backup
    17. Restore data
    18. Reboot system. Done
    If it still fails, repeat steps 1 to 18. But restore everything and you should be back on your custom ROM like you never left.

    Updating OOS and Custom ROM

    Update OOS with Root (Magisk)

    Always do a TWRP backup before updating your OS in case
    Update: As of now TWRP backups aren't recommended and haven't been tested, But this method works for updating OOS

    1. Download the full zip file of the latest OOS, transfer the zip file to internal storage NOT IN ANY FOLDER
    2. Go into settings, system update, update via local upgrade and choose the file
    3. Wait till the installation has finished. If failed TRY AGAIN!
    4. DO NOT REBOOT!
    5. Go into Magisk Home
    6. Press install
    7. Press install via inactive slot
    8. Reboot system and done
    9. You will reboot into the next slot
    If you want TWRP do this
    1. Reboot to bootloader
    2. Type: fastboot flash recovery_a twrpname.img
    3. Then press enter and type this: fastboot flash recovery_b twrpname.img
    4. Now boot to recovery
    5. Enter the password and swipe to allow modifications
    6. You have now installed TWRP and we've now checked that it has been successfully installed!
    7. Reboot to system and done
    Otherwise, just reboot to system. Up to u

    You don’t have to repeat the installation to install the latest OOS in the other slot. But you should and I use this method many times and has never let me down.

    Updating OOS without root
    Go to System Update -> find the update install and reboot.
    Or download the zip -> transfer to internal storage -> update via local upgrade -> reboot and done

    Update a Custom ROM
    Follow the method suggested in the XDA thread. Stick to each method and follow the process!
    Method 1
    This method is for Custom ROMs that allows OTA updates
    Certain custom ROMs have this feature. Right now: Evo X

    1. Download the full zip file of the latest OOS, transfer the zip file to internal storage NOT IN ANY FOLDER
    2. Go into settings, system update, update via local upgrade and choose the file
    3. Wait till the installation has finished. If failed TRY AGAIN!
    4. DO NOT REBOOT!
    5. Go into Magisk Home
    6. Press install
    7. Press install via inactive slot
    8. Reboot system and done
    9. You will reboot into the next slot
    If you want TWRP do this
    1. Reboot to bootloader
    2. Type: fastboot flash recovery_a twrpname.img
    3. Then press enter and type this: fastboot flash recovery_b twrpname.img
    4. Now boot to recovery
    5. Enter the password and swipe to allow modifications
    6. You have now installed TWRP and we've now checked that it has been successfully installed!
    7. Reboot to system and done
    Otherwise, just reboot to system. Up to u

    Method 2
    For Custom ROMs that don't have OTA updates.
    Follow the method suggested in the XDA thread. Stick to each method and follow the process!
    Before the last step which is to reboot to system...

    If you want root and TWRP do this

    1. Reboot to bootloader
    2. Type: fastboot flash recovery_a twrpname.img
    3. Then press enter and type this: fastboot flash recovery_b twrpname.img
    4. Now boot to recovery
    5. Enter the password and swipe to allow modifications
    6. You have now installed TWRP and we've now checked that it has been successfully installed!
    7. Reboot to system and done
    Otherwise, just reboot to system. Up to u

    Download Links:

    All in one tool Here
    SDK Platform Tools (Fastboot Tools) Here
    OOS versions for OP8Pro (under Signed Flashable zips) Here
    TWRP for OP8Pro Here
    Magisk Here
    NikGapps Here
    Stock Fastboot ROM for OP8Pro Here
    MSMDownloadTool for OP8Pro Here
    TitanumBackup App Here
    Migrate App Here

    Credits:
    @infected_ For your amazing work on the TWRP recovery and method to install TWRP
    @mauronofrio Stock Fastboot ROMs for OP8Pro and All in one tool
    @topjohnwu For his work on Magisk
    @Nikgapps For their work on creating Gapps
    @Some_Random_Username For his Collection of MSMDownloadTool for OP6/6T
    @OPTeam For the collection of OOS zips for OP8Pro
    1
    Updates
    • 21/10/21 - Released the XDA thread that is a compilation of all methods you need for the OP8 Pro
      • Not sure about the OP8 sadly as I don't own one and this is a very early version of the XDA thread...
      • I currently don't have my OP8 Pro yet, but I'll be getting it tomorrow and this guide will definitely help me and many people
    • 24/10/21- Updated the XDA thread as some methods won't work and haven't been specifically tested for the OP8 Pro
      • I would require testing, but can't risk my device...
      • Fastboot ROM by Mauronofrio don't work and only recommended way is using MSM
      • Added how to boot into EDL mode methods
      • Crossed out methods that aren't recommended and need testing
    1
    This could help some people. Thank you.
    It can be quite annoying trying to find methods for different things in terms of installing updating and looking at different websites. Why not just compile them in one XDA thread