Partition Backup Tool

rhythmcache

Magisk KernelSU APatch
V2
Version
37.58 KB
Size
Jul 1, 2025
Updated

Module Info

  • Contributors rhythmcache, KaluaBilla
  • Source Code View Repository
  • Tags
    #Partition Backup #Android Backup #Magisk Module #Command Line #WebUI #Root

About this module

Partition Backup is a root utility for saving selected Android block-device partitions without first entering a custom recovery. It offers both a partition command for scripted work and a module WebUI for users who prefer a graphical interface.

Selective On-Device Partition Copies

List available partitions, choose the ones you need, and direct their image files to storage with enough free space.

Partition Discovery

Use the list option to see partition names exposed on the current device before constructing a backup command.

CLI Backups

A comma-separated selection and destination directory make the tool suitable for repeatable terminal workflows.

Module WebUI

Supported managers can open the packaged WebUI to select and back up partitions without typing the CLI syntax.

Command-Line Reference

OptionPurpose
-b, --backupBack up one or more comma-separated partition names.
-d, --directoryChoose the output directory; otherwise the current directory is used.
-l, --listList partitions available to the utility.
-h, --helpDisplay built-in usage information.

For example, this requests copies of three named partitions in shared storage:

su
partition -b boot,vendor,system -d /sdcard

Backup Practice

Check free space before starting: dynamic partitions can be several gigabytes, and a partially written image is not a usable backup. Copy finished images off the phone, label them with the device model and build, and record whether the source slot was _a or _b.

A partition image is device- and build-specific. This utility creates copies; the upstream documentation does not provide a universal restore procedure. Verify the file size or checksum before relying on the result.