How To Backup Android Partition Without TWRP

So you want to backup android partition such (WIFI, IMEI, etc) but you dont have custom recovery (TWRP). You can backup the partition directly using command line shell on powershell or termux in android with root access. You can use this tutorial on any android phone. tested on Realme C17 Snapdragon

Table of Contents


  • Use at your own risk! I am not responsible for your actions
  • Need root access
  • Put the backup in safe place such as SDcard/ PC
  • You can list the partition by run this command : #ls /dev/block/by-name/

Video Tutorial

File Needed

  • CMD/Powershell in Windows or shell in Linux/Mac
  • Termux in Android

Instruction To backup Android Partition

Backup fsg Partition

dd if=/dev/block/by-name/fsg of=/storage/emulated/0/fsg.img

Backup wifi Partition

dd if=/dev/block/by-name/modem of=/storage/emulated/0/modem.img

Backup imei 1 Partition

dd if=/dev/block/by-name/modemst1 of=/storage/emulated/0/modemst1.img

Backup imei 2 Partition

dd if=/dev/block/by-name/modemst2 of=/storage/emulated/0/modemst2.img

Backup sensor Partition

dd if=/dev/block/by-name/persist of=/storage/emulated/0/persist.img

Backup super Partition

dd if=/dev/block/by-name/super of=/storage/emulated/0/super.img

Instruction To Restore Android Partition

Open CMD in windows or termux in android. type su and hit enter

Restore fsg Partition

dd if=/storage/emulated/0/fsg.img of=/dev/block/by-name/fsg

Restore wifi Partition

dd if=/storage/emulated/0/modem.img of=/dev/block/by-name/modem

Restore imei 1 Partition

dd if=/storage/emulated/0/modemst1.img of=/dev/block/by-name/modemst1

Restore imei 2 Partition

dd if=/storage/emulated/0/modemst2.img of=/dev/block/by-name/modemst2

Restore sensor Partition

dd if=/storage/emulated/0/persist.img of=/dev/block/by-name/persist

Restore super Partition

dd if=/storage/emulated/0/super.img of=/dev/block/by-name/super

Backup Mediatek Partition

  • dd if=/dev/block/by-name/nvram of=/storage/emulated/0/nvram.img
  • dd if=/dev/block/by-name/nvdata of=/storage/emulated/0/nvdata.img
  • dd if=/dev/block/by-name/nvcfg of=/storage/emulated/0/nvcfg.img
  • dd if=/dev/block/by-name/persistent of=/storage/emulated/0/persistent.img
  • dd if=/dev/block/by-name/protect1 of=/storage/emulated/0/protect1.img
  • dd if=/dev/block/by-name/protect2 of=/storage/emulated/0/protect2.img

Leave a Comment

Your email address will not be published. Required fields are marked *