How to backup CID Partition on Motorola devices

On Motorola devices, the CID partition is a part of the device’s internal storage that stores information about the carrier or network operator. This data includes carrier-specific settings and bootloader unlock features, which allows the device to function effectively on that network.

If your device supports unlocking bootloader, please backup this original CID partition at the first time after unlocking your device. this will help you to restore your device.

How to Backup CID Partition:

  • Use Magisk to patch boot.img with your current device version number, then flash it (or use google for device specific root guide!).
  • Enable USB debugging.
  • Use the following adb command to back up the cid partition.
adb shell
su
dd if=/dev/block/bootdevice/by-name/cid of=/sdcard/cid.img
  • Backup the cid partition image to the folder where adb is located on your computer.
adb pull /sdcard/cid.img

I would also recommend that you also back up the persist partition, which holds a lot of the plant’s initial configuration, calibration data, and IMEI.

Use the following adb command to back up:

adb shell
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
adb pull /sdcard/persist.img

keep your partition backups in a safe place and don’t lose them!