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]
Method 2
If you have installed OrangeFox recovery already you may follow
[!TIP]
Method 1
Prerequisites
-
Install python, USB2SER (find the
cdc-acm.inf
file, right click and pressInstall
) and USBdk -
Run
pip3 install -r requirements.txt
in a cmd in `MTK Client's folder to install all required dependencies.
-
Prepare a folder in which to store backed up partitions. For this example we'll use
firmware-backup
. -
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, forboot
it would bepython mtk r boot boot.img
)
This is what will show while the backup is running:
- After the command finishes, check the folder to make sure the backup was made to the correct location and that there are 51 files
python mtk wl (folder name)
in a command prompt. To only flash some files use python mtk w (partition) (file name)
.
To flash the entire backup back to your device use [!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
ANDopporeserve2
for those)
[!TIP]
Method 2 (OFOX ONLY)
Prereq
- Ofox recovery
- Backup zip: Mega.nz | Google Drive
- Download the zip file to your phone
- Reboot to recovery with
adb reboot recovery
- 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). - 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.