Skip to content

Instantly share code, notes, and snippets.

@negset

negset/commands.txt Secret

Created Dec 6, 2019
Embed
What would you like to do?
Mi A3 Partition Backup Commands
su
dd if=/dev/block/sdd1 of=/sdcard/partitions/ALIGN_TO_128K_1.img
dd if=/dev/block/sdf1 of=/sdcard/partitions/ALIGN_TO_128K_2.img
dd if=/dev/block/sde8 of=/sdcard/partitions/abl_a.img
dd if=/dev/block/sde29 of=/sdcard/partitions/abl_b.img
dd if=/dev/block/sde45 of=/sdcard/partitions/apdp.img
dd if=/dev/block/sde54 of=/sdcard/partitions/bk03.img
dd if=/dev/block/sde5 of=/sdcard/partitions/bluetooth_a.img
dd if=/dev/block/sde26 of=/sdcard/partitions/bluetooth_b.img
dd if=/dev/block/sde11 of=/sdcard/partitions/boot_a.img
dd if=/dev/block/sde32 of=/sdcard/partitions/boot_b.img
dd if=/dev/block/sde61 of=/sdcard/partitions/catecontentfv.img
dd if=/dev/block/sde60 of=/sdcard/partitions/catefv.img
dd if=/dev/block/sde51 of=/sdcard/partitions/cateloader.img
dd if=/dev/block/sdd2 of=/sdcard/partitions/cdt.img
dd if=/dev/block/sde13 of=/sdcard/partitions/cmnlib64_a.img
dd if=/dev/block/sde34 of=/sdcard/partitions/cmnlib64_b.img
dd if=/dev/block/sde12 of=/sdcard/partitions/cmnlib_a.img
dd if=/dev/block/sde33 of=/sdcard/partitions/cmnlib_b.img
dd if=/dev/block/sdd3 of=/sdcard/partitions/ddr.img
dd if=/dev/block/sde14 of=/sdcard/partitions/devcfg_a.img
dd if=/dev/block/sde35 of=/sdcard/partitions/devcfg_b.img
dd if=/dev/block/sde43 of=/sdcard/partitions/devinfo.img
dd if=/dev/block/sde44 of=/sdcard/partitions/dip.img
dd if=/dev/block/sde9 of=/sdcard/partitions/dsp_a.img
dd if=/dev/block/sde30 of=/sdcard/partitions/dsp_b.img
dd if=/dev/block/sde18 of=/sdcard/partitions/dtbo_a.img
dd if=/dev/block/sde39 of=/sdcard/partitions/dtbo_b.img
dd if=/dev/block/sda5 of=/sdcard/partitions/frp.img
dd if=/dev/block/sdf5 of=/sdcard/partitions/fsc.img
dd if=/dev/block/sdf4 of=/sdcard/partitions/fsg.img
dd if=/dev/block/sde62 of=/sdcard/partitions/gsort.img
dd if=/dev/block/sde3 of=/sdcard/partitions/hyp_a.img
dd if=/dev/block/sde24 of=/sdcard/partitions/hyp_b.img
dd if=/dev/block/sde19 of=/sdcard/partitions/imagefv_a.img
dd if=/dev/block/sde40 of=/sdcard/partitions/imagefv_b.img
dd if=/dev/block/sde10 of=/sdcard/partitions/keymaster_a.img
dd if=/dev/block/sde31 of=/sdcard/partitions/keymaster_b.img
dd if=/dev/block/sda4 of=/sdcard/partitions/keystore.img
dd if=/dev/block/sde48 of=/sdcard/partitions/limits.img
dd if=/dev/block/sde53 of=/sdcard/partitions/logdump.img
dd if=/dev/block/sde50 of=/sdcard/partitions/logfs.img
dd if=/dev/block/sde7 of=/sdcard/partitions/mdtp_a.img
dd if=/dev/block/sde28 of=/sdcard/partitions/mdtp_b.img
dd if=/dev/block/sde6 of=/sdcard/partitions/mdtpsecapp_a.img
dd if=/dev/block/sde27 of=/sdcard/partitions/mdtpsecapp_b.img
dd if=/dev/block/sda14 of=/sdcard/partitions/metadata.img
dd if=/dev/block/sda11 of=/sdcard/partitions/minidump.img
dd if=/dev/block/sda3 of=/sdcard/partitions/misc.img
dd if=/dev/block/sde4 of=/sdcard/partitions/modem_a.img
dd if=/dev/block/sde25 of=/sdcard/partitions/modem_b.img
dd if=/dev/block/sdf2 of=/sdcard/partitions/modemst1.img
dd if=/dev/block/sdf3 of=/sdcard/partitions/modemst2.img
dd if=/dev/block/sde56 of=/sdcard/partitions/multiimgoem.img
dd if=/dev/block/sde57 of=/sdcard/partitions/multiimgqti.img
dd if=/dev/block/sda8 of=/sdcard/partitions/odm_a.img
dd if=/dev/block/sda9 of=/sdcard/partitions/odm_b.img
dd if=/dev/block/sda10 of=/sdcard/partitions/oem.img
dd if=/dev/block/sda2 of=/sdcard/partitions/persist.img
dd if=/dev/block/sda6 of=/sdcard/partitions/product_a.img
dd if=/dev/block/sda7 of=/sdcard/partitions/product_b.img
dd if=/dev/block/sde15 of=/sdcard/partitions/qupfw_a.img
dd if=/dev/block/sde36 of=/sdcard/partitions/qupfw_b.img
dd if=/dev/block/sde52 of=/sdcard/partitions/rawdump.img
dd if=/dev/block/sde1 of=/sdcard/partitions/rpm_a.img
dd if=/dev/block/sde22 of=/sdcard/partitions/rpm_b.img
dd if=/dev/block/sde59 of=/sdcard/partitions/secdata.img
dd if=/dev/block/sde47 of=/sdcard/partitions/splash.img
dd if=/dev/block/sde46 of=/sdcard/partitions/spunvm.img
dd if=/dev/block/sda1 of=/sdcard/partitions/ssd.img
dd if=/dev/block/sde55 of=/sdcard/partitions/storsec.img
dd if=/dev/block/sde21 of=/sdcard/partitions/storsec_a.img
dd if=/dev/block/sde42 of=/sdcard/partitions/storsec_b.img
dd if=/dev/block/sda12 of=/sdcard/partitions/system_a.img
dd if=/dev/block/sda13 of=/sdcard/partitions/system_b.img
dd if=/dev/block/sde49 of=/sdcard/partitions/toolsfv.img
dd if=/dev/block/sde2 of=/sdcard/partitions/tz_a.img
dd if=/dev/block/sde23 of=/sdcard/partitions/tz_b.img
dd if=/dev/block/sde20 of=/sdcard/partitions/uefisecapp_a.img
dd if=/dev/block/sde41 of=/sdcard/partitions/uefisecapp_b.img
dd if=/dev/block/sde58 of=/sdcard/partitions/uefivarstore.img
dd if=/dev/block/sde17 of=/sdcard/partitions/vbmeta_a.img
dd if=/dev/block/sde38 of=/sdcard/partitions/vbmeta_b.img
dd if=/dev/block/sde16 of=/sdcard/partitions/vendor_a.img
dd if=/dev/block/sde37 of=/sdcard/partitions/vendor_b.img
dd if=/dev/block/sdb1 of=/sdcard/partitions/xbl_a.img
dd if=/dev/block/sdc1 of=/sdcard/partitions/xbl_b.img
dd if=/dev/block/sdb2 of=/sdcard/partitions/xbl_config_a.img
dd if=/dev/block/sdc2 of=/sdcard/partitions/xbl_config_b.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment