This script is specifically designed for Marble to back up all partitions except for the cust and super partitions.
- A Windows 10 or later computer
- A stable Type-C data cable capable of data transfer
- A Marble device with USB debugging enabled, rooted, and granted shell root permissions
- Connect the Marble device to the computer using a Type-C data cable.
- Ensure USB debugging and root permissions are properly set up.
- Double-click extract_images.bat to begin extracting partitions to
/sdcard/deviceImages
on the device andC:\deviceImages
on the computer.
- Copy flash_images.bat and the platform-tools folder to
C:\deviceImages
or the modified storage location. - Run flash_images.bat.
- Considering the size and time required for backup, the script does not extract the super and cust partitions, so re-flashing the official firmware package may be necessary if required.
- Connect to the device needing adaptation via
adb shell
. - Obtain
su
(superuser) permissions. - Run
ls /dev/block/bootdevice/by-name/
. - Modify the partitions in extract_images.bat based on the output.