• 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
440
176
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
Method 1
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

Method 2
This method uses TWRP and isn't suggested in XDA thread of ROMs. I have tested this method with CrDroid and it works. BUT you will need a usb c OTG device (a device that can connect to ur phone via USB C) as this method will wipe ur internal storage
  1. Transfer TWRP.zip, Build.zip (Custom ROM zip file) into internal storage.
  2. Boot to Bootloader
  3. Type: fastboot flash recovery_a twrpname.img
  4. Then press enter and type this: fastboot flash recovery_b twrpname.img
  5. Now boot to recovery
  6. Flash Build.zip (Custom ROM zip file)
  7. Flash TWRP
  8. Reboot to recovery
  9. Flash Build.zip (Custom ROM zip file)
  10. Flash TWRP
If the ROM doesn't have GApps included do this
  1. Reboot to recovery
  2. Flash Gapps if not included
  3. Format data
  4. Reboot to system
Otherwise, just format data -> reboot to system. Up to u

If you want root do this

  1. Reboot to recovery
  2. Flash Magisk
  3. 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

To restore OOS use MSM. Fastboot was the fastest and easiest way if u have a TWRP backup. BUT it doesn't work from my testing and only MSM successfully works.

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 MSM Download Tool restore for that. It will reset everything and will lock the bootloader. So, it makes for switching/installing a custom ROM a bit annoying.
  • 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 the MSM restore method. As they restore an old or different version of OOS!
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 IMMEDIATELY
  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
  1. Connect your phone
  2. Wait for your device to be connected and it should show as green
  3. Click verify to check and press start
  4. Wait till phone reboots
  5. 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. Or u don't have a TWRP backup
Restoring OOS TWRP Backup
If you have a TWRP backup of OOS, follow this method to restore your system data.
  1. Go into developer options
  2. Allow OEM unlocking
  3. Reboot to bootloader
  4. Enter "fastboot devices" to check your device is connected
  5. Enter "fastboot oem unlock"
  6. Swipe for yes
  7. Then it will reboot again
  8. continue to the next method
  9. Once booted into system, set it up and update to OOS version of your TWRP backup.
  10. Download the full zip using the link in the Download Link section.
  11. Transfer the OOS .zip to internal storage.
  12. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
  13. Do this twice to make sure you have installed that version of OOS in both slots
  14. Boot to bootloader
  15. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  16. Then press enter and type this: fastboot flash recovery_b twrpname.img
  17. Reboot to recovery
  18. Transfer whole TWRP Folder into internal storage
  19. It is suggested to remove the SIM tray before you restore the TWRP backup and it can cause issues
  20. Restore only boot and data
  21. Swipe to restore
  22. 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

  • You must remove your SIM tray before restoring the TWRP backup
Update: These methods were from my previous compilation guide for the Op6/6T. But as of now, TWRP backups aren't recommended for custom ROMs and I have only tested restoring TWRP backup for OOS. I haven't tested these methods myself nor know someone who has tested/recommends them for custom ROMs.
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. Restore the device using MSM
  2. Once booted into system, set it up briefly and DO NOT RESTORE ANYTHING.
  3. Boot to bootloader
  4. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
  5. Then press enter and type this: fastboot flash recovery_b twrpname.img
  6. Reboot to recovery
  7. Transfer whole TWRP Folder into internal storage
  8. Restore everything (System.img, vendor.img, boot.img and data)
  9. Swipe to restore. If data couldn't restore then boot system, setup system, boot TWRP and restore data.
  10. Reboot to system. The first reboot might go dodgy and it did for me.
  11. Reboot to system and transfer all your internal storage stuff
  12. 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. Restore the device using MSM
  2. Once booted into system, set it up and update to OOS version of your TWRP backup.
  3. Download the full zip using the link in the Download Link section.
  4. Transfer the OOS .zip to internal storage.
  5. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
  6. Do this twice to make sure you have installed that version of OOS in both slots
  7. Boot to bootloader
  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. Follow the installation method suggested in the XDA thread for your ROM
  11. Once it has been installed
  12. Reboot to Recovery
  13. Transfer twrp backup
  14. Restore data
  15. 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
TWRP for OP8Pro that allows flashing: .img file Here
TWRP for OP8Pro that allows flashing: .zip file 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
@osm0sis For your amazing work on developing a version of TWRP that allows flashing
@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
440
176
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
  • 23/12/21- Added method 2 for installing a custom ROM using twrp
    • Added a link to download the .img and .zip files
  • 13/1/22 - Updated section for Restoring OOS TWRP Backup in Restoring OOS and Custom ROM section
    • I have tested and successfully restored my boot and data on OOS
 
Last edited:
  • Like
Reactions: ps000000

nadnan

Member
Feb 20, 2018
18
1
OnePlus 8 Pro 256GB RAM Device
OS: OxigenOS 11.0.10.10IN11BA
Rooted device with Magisk 23.0 installed

Good evening
I would like to know if I can install TWRP on my device without losing any data (apps, data, etc.) because my device is in "BOOTLOADER" mode open all the time?
I spotted the version of TWRP for OxygenOS 11 which is: "twrp-op8-3.6.0_11-infected-b5.img" with the following XDA link:
On the other hand, this method of installing TWRP removes the Magisk app and the root of the device if I understood correctly and you have to install Magisk again with TWRP and the file “Magisk-v23.0.apk renamed to “Magisk-v23.0.zip”
Finally, is it possible to perform full "Nandroid Backup" backups and restore these backups, as can be done with a Samsung S7 device for example?
I send you all my congratulations on all your work and all your explanations.
Thanks in advance for your advice on installing TWRP!!
Good evening, best regards,

Jean-Noel
 

Extreme_Ninja2099

Senior Member
Jan 1, 2017
440
176
OnePlus 8 Pro 256GB RAM Device
OS: OxigenOS 11.0.10.10IN11BA
Rooted device with Magisk 23.0 installed

Good evening
I would like to know if I can install TWRP on my device without losing any data (apps, data, etc.) because my device is in "BOOTLOADER" mode open all the time?
I spotted the version of TWRP for OxygenOS 11 which is: "twrp-op8-3.6.0_11-infected-b5.img" with the following XDA link:
On the other hand, this method of installing TWRP removes the Magisk app and the root of the device if I understood correctly and you have to install Magisk again with TWRP and the file “Magisk-v23.0.apk renamed to “Magisk-v23.0.zip”
Finally, is it possible to perform full "Nandroid Backup" backups and restore these backups, as can be done with a Samsung S7 device for example?
I send you all my congratulations on all your work and all your explanations.
Thanks in advance for your advice on installing TWRP!!
Good evening, best regards,

Jean-Noel
That version of twrp is fine and no, installing twrp doesn't remove magisk so u don't have to reinstall it.... There is a method on how to install TWRP as well. For TWRP backups, it's suggested to remove the SIM tray before restoring the backup. I have updated the guide as I have successfully managed to restore a TWRP backup of OOS. So, I have added a method on how to do that.
Only restore boot and data. U can restore DTBO and EFS too, but I honestly can't tell the difference before and after restoring these partitions. U cannot restore Persist as it is a critical partition in the system. From my testing, DO NOT RESTORE SUPER (SYSTEM.IMG, VENDOR.img, ETC)! as this will BRICK YOUR DEVICE! I have tried this from my testing and it doesn't work! But only restoring the other partitions except for persist works fine
 

nadnan

Member
Feb 20, 2018
18
1
Thank you very much for your quick feedback.

My "rooted" Oneplus 8 allows me to use the "Swift Backup" application which makes a complete backup of applications (;apk), data, but also all system settings.

I only used the restore of apps with their data and cfelma works very well.

The TWRP function only serves, for me, to perform a "nandroid backup" image. Is it useful to set up TWRP in this sole objectiof?

The manipulations to perform backups and then, possibly, restores, seem much more complicated to me than my operations carried out years earlier with two Samsung S7 or S7 Edge devices!!
Best regards

Jean-Noel
 

Extreme_Ninja2099

Senior Member
Jan 1, 2017
440
176
TWRP can also flash/install magisk to grant root as well. U should still have a nandroid backup like swift may be able to restore app and settings once set up ur device like new again then u have to restore everything manually. With a nandroid backup u restore the boot and data that isn't in the internal storage. After restoring it, boot to system and there'll be nothing else to restore other than ur internal storage files and the system, settings, apps, wifi and security will be there like u never left (password will be removed, but u just need to add a new one and fingerprints + face unlock will be restored). Swift backup can't do that, just keep hold of ur boot, dtbo, efs, persist and data partitions of the TWRP backup and have a copy of it in a storage device in case
 

nadnan

Member
Feb 20, 2018
18
1
TWRP peut également flasher/installer magisk pour accorder également root. Vous devriez toujours avoir une sauvegarde nandroid comme Swift peut être en mesure de restaurer l'application et les paramètres une fois que vous avez configuré votre appareil comme neuf, puis vous devez tout restaurer manuellement. Avec une sauvegarde nandroid, vous restaurez le démarrage et les données qui ne se trouvent pas dans le stockage interne. Après l'avoir restauré, démarrez sur le système et il n'y aura rien d'autre à restaurer que vos fichiers de stockage internes et le système, les paramètres, les applications, le wifi et la sécurité seront là comme si vous ne l'aviez jamais quitté (le mot de passe sera supprimé, mais vous avez juste besoin pour en ajouter une nouvelle et les empreintes digitales + reconnaissance faciale seront restaurées). La sauvegarde rapide ne peut pas faire cela, gardez simplement vos partitions de démarrage, dtbo, efs, persist et données de la sauvegarde TWRP et ayez-en une copie dans un périphérique de stockage au cas où

TWRP can also flash/install magisk to grant root as well. U should still have a nandroid backup like swift may be able to restore app and settings once set up ur device like new again then u have to restore everything manually. With a nandroid backup u restore the boot and data that isn't in the internal storage. After restoring it, boot to system and there'll be nothing else to restore other than ur internal storage files and the system, settings, apps, wifi and security will be there like u never left (password will be removed, but u just need to add a new one and fingerprints + face unlock will be restored). Swift backup can't do that, just keep hold of ur boot, dtbo, efs, persist and data partitions of the TWRP backup and have a copy of it in a storage device in case
Thank you very much for your information.
I use the Google translator to translate your information into French but I do not fully understand the translation of your message:
- The installation of TWRP does not delete any data from my device and I will not need to redo all the settings already installed: Wifi connection with the Box, applications with data, Nova app settings for example, the phone call log, SMS-MMS, WhatsApp, etc. will not be deleted: is that right?
- Installing TWRP does not remove the root of the device with Magisk in place: is that right?
- Are there particular parameters to indicate to perform 1 “Nandroid Backup” with TWRP?
- Are these the same parameters to be saved as in the attached image made with a Samsung S7 Edge device?
- Does 1 "Nandroid Backup" made with TWRP restore the entire backup, such as an image of a partition made with Acronis True Image on Windows, for example?
- If this is not the case, what should be given as parameters?
- If I understand correctly, if the device is password protected, this password is removed by restoring "Nandroid Backup"?
- All applications, data, messaging settings, Wifi connection with Box, call log, SMS-MMS, WatsApp and others are restored with the "Nandroid Backup)?
- Can “OTA” updates be installed as I can each time an update is notified to me with the “Oxygen Updater” app?
I'm sorry for all these questions but I would like to take advantage of your experience without risking damaging my device which has been working perfectly since it was purchased in October 2020 and which is just rooted, starting with a full version of OxygenOS 10, then OxygenOS 11 and finally all the OTA updates offered by OnePlus.
Again, thank you very much for your help and advice...
Best regards,

Jean-Noel
 

Attachments

  • IMG_20220115_020719.jpg
    IMG_20220115_020719.jpg
    2 MB · Views: 17

Extreme_Ninja2099

Senior Member
Jan 1, 2017
440
176
Thank you very much for your information.
I use the Google translator to translate your information into French but I do not fully understand the translation of your message:
- The installation of TWRP does not delete any data from my device and I will not need to redo all the settings already installed: Wifi connection with the Box, applications with data, Nova app settings for example, the phone call log, SMS-MMS, WhatsApp, etc. will not be deleted: is that right?
- Installing TWRP does not remove the root of the device with Magisk in place: is that right?
- Are there particular parameters to indicate to perform 1 “Nandroid Backup” with TWRP?
- Are these the same parameters to be saved as in the attached image made with a Samsung S7 Edge device?
- Does 1 "Nandroid Backup" made with TWRP restore the entire backup, such as an image of a partition made with Acronis True Image on Windows, for example?
- If this is not the case, what should be given as parameters?
- If I understand correctly, if the device is password protected, this password is removed by restoring "Nandroid Backup"?
- All applications, data, messaging settings, Wifi connection with Box, call log, SMS-MMS, WatsApp and others are restored with the "Nandroid Backup)?
- Can “OTA” updates be installed as I can each time an update is notified to me with the “Oxygen Updater” app?
I'm sorry for all these questions but I would like to take advantage of your experience without risking damaging my device which has been working perfectly since it was purchased in October 2020 and which is just rooted, starting with a full version of OxygenOS 10, then OxygenOS 11 and finally all the OTA updates offered by OnePlus.
Again, thank you very much for your help and advice...
Best regards,

Jean-Noel
Uh idk what u are going on about now... Like this specifically for the OnePlus 8 Pro not S7 Edge... Best to ask in the XDA forum for the S7 Edge. I'm pretty sure I've answered all your questions by now and everything you need to know is in the guide or in my replies
 

nadnan

Member
Feb 20, 2018
18
1
I was just doing a comparison to see if a "Nandroid Bacqup" of a One Plus 8 Pro device with TWRP is the same as the backup made by TWRP for a Sansung S7 Edge device.

I also wanted to know if the restoration was identical between the two devices already mentioned with TWRP.

I'm well advised to go to a forum attributed to the S7 Edge if I need to, but it's not!!
 

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
    Method 1
    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

    Method 2
    This method uses TWRP and isn't suggested in XDA thread of ROMs. I have tested this method with CrDroid and it works. BUT you will need a usb c OTG device (a device that can connect to ur phone via USB C) as this method will wipe ur internal storage
    1. Transfer TWRP.zip, Build.zip (Custom ROM zip file) into internal storage.
    2. Boot to Bootloader
    3. Type: fastboot flash recovery_a twrpname.img
    4. Then press enter and type this: fastboot flash recovery_b twrpname.img
    5. Now boot to recovery
    6. Flash Build.zip (Custom ROM zip file)
    7. Flash TWRP
    8. Reboot to recovery
    9. Flash Build.zip (Custom ROM zip file)
    10. Flash TWRP
    If the ROM doesn't have GApps included do this
    1. Reboot to recovery
    2. Flash Gapps if not included
    3. Format data
    4. Reboot to system
    Otherwise, just format data -> reboot to system. Up to u

    If you want root do this

    1. Reboot to recovery
    2. Flash Magisk
    3. 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

    To restore OOS use MSM. Fastboot was the fastest and easiest way if u have a TWRP backup. BUT it doesn't work from my testing and only MSM successfully works.

    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 MSM Download Tool restore for that. It will reset everything and will lock the bootloader. So, it makes for switching/installing a custom ROM a bit annoying.
    • 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 the MSM restore method. As they restore an old or different version of OOS!
    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 IMMEDIATELY
    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
    1. Connect your phone
    2. Wait for your device to be connected and it should show as green
    3. Click verify to check and press start
    4. Wait till phone reboots
    5. 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. Or u don't have a TWRP backup
    Restoring OOS TWRP Backup
    If you have a TWRP backup of OOS, follow this method to restore your system data.
    1. Go into developer options
    2. Allow OEM unlocking
    3. Reboot to bootloader
    4. Enter "fastboot devices" to check your device is connected
    5. Enter "fastboot oem unlock"
    6. Swipe for yes
    7. Then it will reboot again
    8. continue to the next method
    9. Once booted into system, set it up and update to OOS version of your TWRP backup.
    10. Download the full zip using the link in the Download Link section.
    11. Transfer the OOS .zip to internal storage.
    12. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
    13. Do this twice to make sure you have installed that version of OOS in both slots
    14. Boot to bootloader
    15. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    16. Then press enter and type this: fastboot flash recovery_b twrpname.img
    17. Reboot to recovery
    18. Transfer whole TWRP Folder into internal storage
    19. It is suggested to remove the SIM tray before you restore the TWRP backup and it can cause issues
    20. Restore only boot and data
    21. Swipe to restore
    22. 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

    • You must remove your SIM tray before restoring the TWRP backup
    Update: These methods were from my previous compilation guide for the Op6/6T. But as of now, TWRP backups aren't recommended for custom ROMs and I have only tested restoring TWRP backup for OOS. I haven't tested these methods myself nor know someone who has tested/recommends them for custom ROMs.
    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. Restore the device using MSM
    2. Once booted into system, set it up briefly and DO NOT RESTORE ANYTHING.
    3. Boot to bootloader
    4. Type "fastboot flash recovery_a twrpname.img " file name (do twrp + press tab) and press enter
    5. Then press enter and type this: fastboot flash recovery_b twrpname.img
    6. Reboot to recovery
    7. Transfer whole TWRP Folder into internal storage
    8. Restore everything (System.img, vendor.img, boot.img and data)
    9. Swipe to restore. If data couldn't restore then boot system, setup system, boot TWRP and restore data.
    10. Reboot to system. The first reboot might go dodgy and it did for me.
    11. Reboot to system and transfer all your internal storage stuff
    12. 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. Restore the device using MSM
    2. Once booted into system, set it up and update to OOS version of your TWRP backup.
    3. Download the full zip using the link in the Download Link section.
    4. Transfer the OOS .zip to internal storage.
    5. Go into settings -> system update -> Update via local upgrade -> find zip file and press install
    6. Do this twice to make sure you have installed that version of OOS in both slots
    7. Boot to bootloader
    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. Follow the installation method suggested in the XDA thread for your ROM
    11. Once it has been installed
    12. Reboot to Recovery
    13. Transfer twrp backup
    14. Restore data
    15. 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
    TWRP for OP8Pro that allows flashing: .img file Here
    TWRP for OP8Pro that allows flashing: .zip file 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
    @osm0sis For your amazing work on developing a version of TWRP that allows flashing
    @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
    • 23/12/21- Added method 2 for installing a custom ROM using twrp
      • Added a link to download the .img and .zip files
    • 13/1/22 - Updated section for Restoring OOS TWRP Backup in Restoring OOS and Custom ROM section
      • I have tested and successfully restored my boot and data on OOS
    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