Back up your data - driedpampas/realme-8-megaguide GitHub Wiki

This method makes a firmware backup in case there is a need for restore or the system is bricked.

[!WARNING]

❗ PERSONAL DATA IS NOT BACKED UP USING THIS METHOD.

Use GDrive, another cloud service, or transfer your personal data to a physical media, wherever you feel it is safe.

[!IMPORTANT]

If you have installed OrangeFox recovery already you may follow Method 2


[!TIP]

Method 1

Prerequisites


  • Install python, USB2SER (find the cdc-acm.inf file, right click and press Install) and USBdk

  • Run pip3 install -r requirements.txt in a cmd in `MTK Client's folder to install all required dependencies.

  1. Prepare a folder in which to store backed up partitions. For this example we'll use firmware-backup.

  2. Turn your phone off, hold volume buttons, run this command python mtk rl --skip userdata "firmware-backup" and connect your phone to your computer.

  • If you want to back up specific partitions, use this command python mtk r partition-name partition-name.img (for example, for boot it would be python mtk r boot boot.img)

This is what will show while the backup is running:

  1. After the command finishes, check the folder to make sure the backup was made to the correct location and that there are 51 files

To flash the entire backup back to your device use python mtk wl (folder name) in a command prompt. To only flash some files use python mtk w (partition) (file name).

[!CAUTION]

❗ A preloader file will be backed up inside mtk client folder. Keep that file as safe as possible, as it's crucial to restoring the firmware.

❗ ONLY FLASH YOUR OWN FIRMWARE OR THE FIRMWARE PROVIDED IN THE GUIDE (exclude cdt_engineering AND opporeserve2 for those)

[!TIP]

Method 2 (OFOX ONLY)

Prereq

  1. Download the zip file to your phone
  2. Reboot to recovery with adb reboot recovery
  3. Search for the zip and start flashing. It will back important partitions to a partition-backup.zip file in your Internal Storage (and SDCard if you have one inserted).
  4. If you do not have an SDCard installed, you may connect your phone to your computer and download the partition-backup.zip file to your computer as well.

To restore this backup, flash the partition-backup.zip file to your phone.