No fancy stuff for now, this guide will be to the point.
We are going to use TWRP that mounts only data and cache and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrpimgmount installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
3. run following commands one at a time (wait till it back ups)
Code:
adb shell
dd if=/dev/block/mmcblk0p28 of=/external_sd/boot.img
dd if=/dev/block/mmcblk0p41 of=/external_sd/bootfail_info
dd if=/dev/block/mmcblk0p36 of=/external_sd/cache.img
dd if=/dev/block/mmcblk0p45 of=/external_sd/cust.img
dd if=/dev/block/mmcblk0p34 of=/external_sd/dfx
dd if=/dev/block/mmcblk0p30 of=/external_sd/dts
dd if=/dev/block/mmcblk0p5 of=/external_sd/fastboot
dd if=/dev/block/mmcblk0p4 of=/external_sd/frp
dd if=/dev/block/mmcblk0p27 of=/external_sd/fw_hifi
dd if=/dev/block/mmcblk0p3 of=/external_sd/fw_lpm3
dd if=/dev/block/mmcblk0p37 of=/external_sd/hisitest0
dd if=/dev/block/mmcblk0p38 of=/external_sd/hisitest1
dd if=/dev/block/mmcblk0p39 of=/external_sd/hisitest2
dd if=/dev/block/mmcblk0p20 of=/external_sd/misc
dd if=/dev/block/mmcblk0p31 of=/external_sd/modem_fw
dd if=/dev/block/mmcblk0p18 of=/external_sd/modem_om
dd if=/dev/block/mmcblk0p17 of=/external_sd/modem_secure
dd if=/dev/block/mmcblk0p10 of=/external_sd/modemnvm_backup
dd if=/dev/block/mmcblk0p6 of=/external_sd/modemnvm_factory
dd if=/dev/block/mmcblk0p11 of=/external_sd/modemnvm_img
dd if=/dev/block/mmcblk0p12 of=/external_sd/modemnvm_system
dd if=/dev/block/mmcblk0p21 of=/external_sd/modemnvm_update
dd if=/dev/block/mmcblk0p7 of=/external_sd/nvme
dd if=/dev/block/mmcblk0p8 of=/external_sd/oeminfo
dd if=/dev/block/mmcblk0p40 of=/external_sd/patch
dd if=/dev/block/mmcblk0p16 of=/external_sd/persist
dd if=/dev/block/mmcblk0p48 of=/external_sd/product
dd if=/dev/block/mmcblk0p29 of=/external_sd/recovery.img
dd if=/dev/block/mmcblk0p22 of=/external_sd/recovery2.img
dd if=/dev/block/mmcblk0p23 of=/external_sd/reserved2
dd if=/dev/block/mmcblk0p9 of=/external_sd/reserved3
dd if=/dev/block/mmcblk0p14 of=/external_sd/reserved4
dd if=/dev/block/mmcblk0p15 of=/external_sd/reserved5
dd if=/dev/block/mmcblk0p32 of=/external_sd/reserved7
dd if=/dev/block/mmcblk0p33 of=/external_sd/reserved8
dd if=/dev/block/mmcblk0p43 of=/external_sd/reserved9
dd if=/dev/block/mmcblk0p42 of=/external_sd/rrecord
dd if=/dev/block/mmcblk0p13 of=/external_sd/secure_storage
dd if=/dev/block/mmcblk0p26 of=/external_sd/sensorhub
dd if=/dev/block/mmcblk0p19 of=/external_sd/splash2.img
dd if=/dev/block/mmcblk0p44 of=/external_sd/system.img
dd if=/dev/block/mmcblk0p24 of=/external_sd/teeos
dd if=/dev/block/mmcblk0p25 of=/external_sd/trustfirmware
dd if=/dev/block/mmcblk0p49 of=/external_sd/userdata.img
dd if=/dev/block/mmcblk0p35 of=/external_sd/vbmeta
dd if=/dev/block/mmcblk0p47 of=/external_sd/vendor.img
dd if=/dev/block/mmcblk0p46 of=/external_sd/version
dd if=/dev/block/mmcblk0p1 of=/external_sd/vrl
dd if=/dev/block/mmcblk0p2 of=/external_sd/vrl_backup
How to restore? (consider we have to restore system)
1. Reboot to twprimgmount
2. Copy your backed up image to external_sd
3. Run following command
Code:
adb shell
dd if=/external_sd/system.img of=/dev/block/mmcblk0p44
Join Telegram group if you are willing to test latest stuff.
Note: You can also use the TWRP backup function to get a stock backup. Restore it using twrp to get back to stock
DO NOT UNNECESSARILY RESTORE ALL PARTITIONS, IT MAY BRICK YOUR 7X.
A script @skippotter to make all this easy (not tested by me)
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Use different region firmware without rebranding
Sudeep Duhoon said:
No fancy stuff for now, this guide will be to the point.
We are going to use TWRP and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrp installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Mount system read only when twrp asks you
3. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
4. run following commands one at a time (wait till it back ups)
How to restore? (consider we have to restore system)
1. Reboot to twrp
2. Copy your backed up image to external_sd
3. Run following command
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Manually Update Your 7x (coming soon)
Click to expand...
Click to collapse
Thank u soo much
reserved, just in case (yeah i got late, still)
Sudeep Duhoon said:
reserved, just in case (yeah i got late, still)
Click to expand...
Click to collapse
I have a question because I think I may be missing something. I understand this is a complete backup to PC. But, if I have flashed twrp to recovery and recovery2, will this method still backup those original .imgs?
Milly7 said:
I have a question because I think I may be missing something. I understand this is a complete backup to PC. But, if I have flashed twrp to recovery and recovery2, will this method still backup those original .imgs?
Click to expand...
Click to collapse
No it won't, it'll backup twrp recovery instead
But you can get stock recoveries from here
https://forum.xda-developers.com/devdb/project/?id=23956#downloads
Just a note for anyone trying this, make sure your external_sd is formatted exFAT not FAT32 or any file over 4gb, (system.img and userdata.img for me) will fail.
Here is a batch file that will work on windows to run all the commands sequentially
Can anyone Backup Vendor,Version,Product and Cust.img for L21C432 and upload please?
Or have anyone a Full Stock Twrp Backup for L21C432?
@Sudeep Duhoon What's the total expected size of userdata.img while backing up?? I'm using a 16gb sd card and it's showing I/O error at first line but copying around 9gb successfully.
is unlocking bootloader necessary for this? can't we just boot twrp by "fastboot boot twrp.img" and make backup with cmd?
Mohan0004 said:
is unlocking bootloader necessary for this? can't we just boot twrp by "fastboot boot twrp.img" and make backup with cmd?
Click to expand...
Click to collapse
anyone? please
Sudeep Duhoon said:
No fancy stuff for now, this guide will be to the point.
We are going to use TWRP and dd command to backup all partitions to external_sd
Things needed:
Unlocked honor 7x with twrp installed : Go here
A 16gb memory card
Instructions:
1. Reboot your phone to recovery and connect it to PC
2. Mount system read only when twrp asks you
3. Open cmd in pc and navigate to adb and fastboot dir (you did this when you flashed twrp using fastboot)
4. run following commands one at a time (wait till it back ups)
Code:
adb shell
dd if=/dev/block/mmcblk0p28 of=/external_sd/boot.img
dd if=/dev/block/mmcblk0p41 of=/external_sd/bootfail_info
dd if=/dev/block/mmcblk0p36 of=/external_sd/cache.img
dd if=/dev/block/mmcblk0p45 of=/external_sd/cust.img
dd if=/dev/block/mmcblk0p34 of=/external_sd/dfx
dd if=/dev/block/mmcblk0p30 of=/external_sd/dts
dd if=/dev/block/mmcblk0p5 of=/external_sd/fastboot
dd if=/dev/block/mmcblk0p4 of=/external_sd/frp
dd if=/dev/block/mmcblk0p27 of=/external_sd/fw_hifi
dd if=/dev/block/mmcblk0p3 of=/external_sd/fw_lpm3
dd if=/dev/block/mmcblk0p37 of=/external_sd/hisitest0
dd if=/dev/block/mmcblk0p38 of=/external_sd/hisitest1
dd if=/dev/block/mmcblk0p39 of=/external_sd/hisitest2
dd if=/dev/block/mmcblk0p20 of=/external_sd/misc
dd if=/dev/block/mmcblk0p31 of=/external_sd/modem_fw
dd if=/dev/block/mmcblk0p18 of=/external_sd/modem_om
dd if=/dev/block/mmcblk0p17 of=/external_sd/modem_secure
dd if=/dev/block/mmcblk0p10 of=/external_sd/modemnvm_backup
dd if=/dev/block/mmcblk0p6 of=/external_sd/modemnvm_factory
dd if=/dev/block/mmcblk0p11 of=/external_sd/modemnvm_img
dd if=/dev/block/mmcblk0p12 of=/external_sd/modemnvm_system
dd if=/dev/block/mmcblk0p21 of=/external_sd/modemnvm_update
dd if=/dev/block/mmcblk0p7 of=/external_sd/nvme
dd if=/dev/block/mmcblk0p8 of=/external_sd/oeminfo
dd if=/dev/block/mmcblk0p40 of=/external_sd/patch
dd if=/dev/block/mmcblk0p16 of=/external_sd/persist
dd if=/dev/block/mmcblk0p48 of=/external_sd/product
dd if=/dev/block/mmcblk0p29 of=/external_sd/recovery.img
dd if=/dev/block/mmcblk0p22 of=/external_sd/recovery2.img
dd if=/dev/block/mmcblk0p23 of=/external_sd/reserved2
dd if=/dev/block/mmcblk0p9 of=/external_sd/reserved3
dd if=/dev/block/mmcblk0p14 of=/external_sd/reserved4
dd if=/dev/block/mmcblk0p15 of=/external_sd/reserved5
dd if=/dev/block/mmcblk0p32 of=/external_sd/reserved7
dd if=/dev/block/mmcblk0p33 of=/external_sd/reserved8
dd if=/dev/block/mmcblk0p43 of=/external_sd/reserved9
dd if=/dev/block/mmcblk0p42 of=/external_sd/rrecord
dd if=/dev/block/mmcblk0p13 of=/external_sd/secure_storage
dd if=/dev/block/mmcblk0p26 of=/external_sd/sensorhub
dd if=/dev/block/mmcblk0p19 of=/external_sd/splash2.img
dd if=/dev/block/mmcblk0p44 of=/external_sd/system.img
dd if=/dev/block/mmcblk0p24 of=/external_sd/teeos
dd if=/dev/block/mmcblk0p25 of=/external_sd/trustfirmware
dd if=/dev/block/mmcblk0p49 of=/external_sd/userdata.img
dd if=/dev/block/mmcblk0p35 of=/external_sd/vbmeta
dd if=/dev/block/mmcblk0p47 of=/external_sd/vendor.img
dd if=/dev/block/mmcblk0p46 of=/external_sd/version
dd if=/dev/block/mmcblk0p1 of=/external_sd/vrl
dd if=/dev/block/mmcblk0p2 of=/external_sd/vrl_backup
How to restore? (consider we have to restore system)
1. Reboot to twrp
2. Copy your backed up image to external_sd
3. Run following command
Code:
adb shell
dd if=/external_sd/system.img of=/dev/block/mmcblk0p44
Join Telegram group if you are willing to test latest stuff.
Follow next:
1. Flash magisk 14.0 (I use this) or Super su
2. Manually Update Your 7x
Click to expand...
Click to collapse
Hello
Is some one can send me only boot.img of honor 7x please?
My phone can't boot after some tests. I do all backups found here before root, and do some tests and now it is not booting. It freez at unlock bootloader screen (black with orange texts)
when i restore my backed boot.img to /dev/block/mmcblk0p28, it is not working too
twrp is working
thanks
Mohan0004 said:
anyone? please
Click to expand...
Click to collapse
yes it will work if you can boot TWRP
But this would still require an unlocked bootloader
someone in another huawei forum have said that booting TWRP was not working (maybe disabled in fastboot)
instead of sdcard can we make backup directly to pc (in adb folder), what will be command for those?
Someone have backup for L24 they can upload?
skippotter said:
Here is a batch file that will work on windows to run all the commands sequentially
Click to expand...
Click to collapse
I did it a bit smaller and more generic in case Huawei is going to add another 200 partitions ... but in general it is your approach.
#!/bin/sh
srcdir=/dev/block/platform/hi_mci.0/by-name
if [ $# -eq 0 ]; then
tgtdir=/wherever/you/want/to/storeelse
tgtdir="$1"fi
echo ${tgtdir}
ls -l ${srcdir} > "${tgtdir}/partitions.list"
if [ $? -ne 0 ]; then
echo "unable to read /dev folder ... probably you are not root?"
exit 1fi
for a in `ls ${srcdir} | grep -v userdata`; do
b=`ls -l ${srcdir}/${a} | cut -f 2 -d '>' | cut -f 2 -d ' '`
echo $a points to $b
if [ "$(ls ${b} | wc -l)" == "1" ]; then
dd if="$b" of="${tgtdir}/${a}" bs=2048 else
echo "$b for $a not found!" fidone
tar -cvf ${tgtdir}/userdata.tar /data
ls ${tgtdir}
tlxxxsracer said:
Someone have backup for L24 they can upload?
Click to expand...
Click to collapse
I would like to know the same thing. I did the backup, but it turns out my system and usersata were 0 bytes. Could really use a L24 backup of those partitions if someone has it available please.
kindly help me please
Can someone post the link to complete backup of the phone , my phone is dead
I need the original system partition so that I can restore the original recovery and update for volte.
Thanks!
If I wish export storage to pendrive with OGT adapter, not need abd shell?
Can you help me about commands 'd use? 'll be possible from terminal emulator with root?
Thanks before!!!!
Related
Hello.
I have several troubles with my phone (adb not working, phone don't remeber usb connection mode after reboot, etc). And I cannot fix them with simple flashing. I want to try to fix them by writing data from fully working phone.
For this I need all partitions from I9001 except /system, /data, /boot, /recovery, /cache., /sdcard
Does anyone can share /dev/block/mmcblk0p1 - /dev/block/mmcblk0p27 except mmcblk0p8, mmcblk0p13, mmcblk0p15, mmcblk0p16, mmcblk0p17?
You could make parition images with
Code:
dd if=/dev/block/mmcblk0p1 of=/sdcard/1
dd if=/dev/block/mmcblk0p2 of=/sdcard/2
...
dd if=/dev/block/mmcblk0p27 of=/sdcard/27
I know it risky but I really need it.
this should do the tick
Code:
adb shell
su
mount -o remount rw /system
dd if=/dev/block/mmcblk0p12 of=/sdcard/persist.img bs=4096
dd if=/dev/block/mmcblk0p13 of=/sdcard/recovery.img bs=4096
dd if=/dev/block/mmcblk0p18 of=/sdcard/preload.img.ext4 bs=4096
dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.img.ext4 bs=4096
o btw now I see that you need the working files, you could extract them from the odin one package and push em directly to your phone
broodplank1337 said:
o btw now I see that you need the working files, you could extract them from the odin one package and push em directly to your phone
Click to expand...
Click to collapse
But there is only
Code:
adsp.mbn
amss.mbn
boot.img
cache.img.ext4
recovery.img
system.img.ext4
I tried to flash other versions and this don't help.
Shtsh said:
But there is only
Code:
adsp.mbn
amss.mbn
boot.img
cache.img.ext4
recovery.img
system.img.ext4
I tried to flash other versions and this don't help.
Click to expand...
Click to collapse
Then i recommend you to boot in recovery (CWM) and format all partitions, then put phone in download mode and flash xxkps/xxkpu
broodplank1337 said:
Then i recommend you to boot in recovery (CWM) and format all partitions, then put phone in download mode and flash xxkps/xxkpu
Click to expand...
Click to collapse
I'm tried this Didn't help.
Those ODIN stock roms usually have modem binaries. I don't know if it is a good idea to dd different boot loaders to your phone. I would not do it in any case. Your phone is not that old. Reflash stock and claim warranty if it behaves badly.
I would really appreciate if someone with 16G Nexus 4 can make a primary partition table dump.
It is only 17KB in size and has no personal information and is same on all 16G devices.
Device has to be rooted and root for adb should be enabled in dev options or it can be booted into cwm
Code:
adb shell
su (skip this test if booted into cwm)
dd if=/dev/block/mmcblk0 of=/sdcard/pgpt.img bs=512 count=34
exit
exit (skip this step if booted into cwm)
adb pull /sdcard/pgpt.img
Please post pgpt.img or send a PM to me.
Thanks!
http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium
android88 said:
http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks! Yep, you nailed it, I'm converted (my phone, to be precise)
Can I ask another favor to make a dump of more partitions? I want to make sure they do not differ from 8G version.
Code:
...
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl1 of=/sdcard/sbl1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl2 of=/sdcard/sbl2.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl3 of=/sdcard/sbl3.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/tz of=/sdcard/tz.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/rpm of=/sdcard/rpm.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/misc of=/sdcard/misc.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/persist of=/sdcard/persist.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/DDR of=/sdcard/DDR.img
...
adb pull /sdcard/sbl1.img
adb pull /sdcard/sbl2.img
adb pull /sdcard/sbl3.img
adb pull /sdcard/tz.img
adb pull /sdcard/rpm.img
adb pull /sdcard/aboot.img
adb pull /sdcard/misc.img
adb pull /sdcard/persist.img
adb pull /sdcard/DDR.img
Hey guys, today I'm going to tell you how to backup & restore few things of your phone without using a pc. So let's get started without wasting any time...
Things you gonna need:
1) Busybox installed (Stericson is recommended)
3) A SD-Card inserted to your phone with some free space to backup things
2) Any terminal emulator
3) Patience & some common sense.
First I'll say you how to backup things & later I'll say how to restore them...
How To Backup:
Code:
•Boot.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p7 of=/sdcard/backups/boot.img
• Logo.bin :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p11 of=/sdcard/backups/logo.bin
• Nvram.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p2 of=/sdcard/backups/nvram.img
• Recovery.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p8 of=/sdcard/backups/recovery.img
• System.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p14 of=/sdcard/backups/system.img
• Userdata.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p16 of=/sdcard/backups/userdata.img
(Proceed with caution...)
How To Restore:
Code:
•Boot.img :
In terminal emulator type the following:
dd if=/sdcard/backups/boot.img of=/dev/block/mmcblk0p7
• Logo.bin :
In terminal emulator type the following:
dd if=/sdcard/backups/logo.bin of=/dev/block/mmcblk0p11
• Nvram.img :
In terminal emulator type the following:
dd if=/sdcard/backups/nvram.img of=/dev/block/mmcblk0p2
• Recovery.img :
In terminal emulator type the following:
dd if=/sdcard/backups/recovery.img of=/dev/block/mmcblk0p8
• System.img :
In terminal emulator type the following:
dd if=/sdcard/backups/system.img of=/dev/block/mmcblk0p14
• Userdata.img :
In terminal emulator type the following:
dd if=/sdcard/backups/userdata.img of=/dev/block/mmcblk0p16
If this post helped you then please hit thanks, & feel free to ask any doubts or questions...
Reserved!!
Reserved to blame you if this goes wrong!!!
It goes without saying that dd'ing a .img to a wrong partition number (.../mmcblk0pxx) will probably brick your device, if it's some critical partition that just got overwritten with something else.
Don't mess with dd unless you must. dd doesn't ask for confirmation. Triple check the command before pressing enter when restoring, or you'll regret it.
juanchotazo99 said:
It goes without saying that dd'ing a .img to a wrong partition number (.../mmcblk0pxx) will probably brick your device, if it's some critical partition that just got overwritten with something else.
Don't mess with dd unless you must. dd doesn't ask for confirmation. Triple check the command before pressing enter when restoring, or you'll regret it.
Click to expand...
Click to collapse
I agree. You really should put some kind of warning because with dd, well...here be dragons..
I need a dump of an misc partition, had LineageOS installed and clicked on update ( worst decision ever hah), so I tryed to boot to bootloader and enter fastboot continue but it did nothing, so I kept searching and found that i had to put:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
but found out that there is no msm_*** on this phone so did some ls until found this one:
Code:
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/fota
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc
so misc got broken.
If you are willing to help you can do:
Code:
dd if=/dev/block/platform/soc/624000.ufshc/by-name/misc of=/sdcard/misc.img
So after that you can post that img here
After a little investigation I found out that there is the IMEI stored so if you guys want to lend me your's change that info with an hex editor.
Let's say fill imei with 1111111111111111, BT Addr with 22:22:22:22:22:22 and Wifi with 33:33:33:33:33:33 (so it can be found easily)
Also if it can be from Yoigo Spain it would be perfect
Thank you for your time
recommend to backup partitions before flashing any OTA or roms
# unlock bootloader
# flash custom recovery orange fox
# partition backup app by wanam, most useful, especially 100mb block, backup both formats .img .gz
# partition backup by adb (can be restored via fastboot mode)
# qcn backup using androidbrick guide
https://www.androidbrick.com/ultima...agon-xiaomi-mi5-imei-and-baseband-repair-fix/
https://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/
here is my script to backup partition by adb using linux
Code:
# original rom from shop FAKE/BUGGY global 10.3.2.0
# to list all partitions
# adb shell
# su
# ls -al /dev/block/bootdevice/by-name
# script to backup mi max 3 all partitions as .img, able to restore from fastboot mode
# some partitions such as system, userdata is excluded (commented)
# example to restore, at fastboot mode
# fastboot flash modem_b modem.img
dd if=/dev/block/mmcblk0p41 of=/sdcard/Download/mmcblk0p41_ImageFv.img ;
dd if=/dev/block/mmcblk0p37 of=/sdcard/Download/mmcblk0p37_abl.img ;
dd if=/dev/block/mmcblk0p38 of=/sdcard/Download/mmcblk0p38_ablbak.img ;
dd if=/dev/block/mmcblk0p16 of=/sdcard/Download/mmcblk0p16_aop.img ;
dd if=/dev/block/mmcblk0p12 of=/sdcard/Download/mmcblk0p12_apdp.img ;
dd if=/dev/block/mmcblk0p70 of=/sdcard/Download/mmcblk0p70_backos.img ;
dd if=/dev/block/mmcblk0p4 of=/sdcard/Download/mmcblk0p4_bk1.img ;
dd if=/dev/block/mmcblk0p8 of=/sdcard/Download/mmcblk0p8_bk2.img ;
dd if=/dev/block/mmcblk0p9 of=/sdcard/Download/mmcblk0p9_bk3.img ;
dd if=/dev/block/mmcblk0p17 of=/sdcard/Download/mmcblk0p17_bk4.img ;
dd if=/dev/block/mmcblk0p42 of=/sdcard/Download/mmcblk0p42_bk5.img ;
dd if=/dev/block/mmcblk0p47 of=/sdcard/Download/mmcblk0p47_bk6.img ;
dd if=/dev/block/mmcblk0p54 of=/sdcard/Download/mmcblk0p54_bk7.img ;
dd if=/dev/block/mmcblk0p56 of=/sdcard/Download/mmcblk0p56_bk8.img ;
dd if=/dev/block/mmcblk0p59 of=/sdcard/Download/mmcblk0p59_bk9.img ;
dd if=/dev/block/mmcblk0p34 of=/sdcard/Download/mmcblk0p34_bluetooth.img ;
# dd if=/dev/block/mmcblk0p68 of=/sdcard/Download/mmcblk0p68_boot.img ;
# dd if=/dev/block/mmcblk0p75 of=/sdcard/Download/mmcblk0p75_cache.img ;
dd if=/dev/block/mmcblk0p25 of=/sdcard/Download/mmcblk0p25_cmnlib.img ;
dd if=/dev/block/mmcblk0p27 of=/sdcard/Download/mmcblk0p27_cmnlib64.img ;
dd if=/dev/block/mmcblk0p28 of=/sdcard/Download/mmcblk0p28_cmnlib64bak.img ;
dd if=/dev/block/mmcblk0p26 of=/sdcard/Download/mmcblk0p26_cmnlibbak.img ;
dd if=/dev/block/mmcblk0p76 of=/sdcard/Download/mmcblk0p76_cust.img ;
dd if=/dev/block/mmcblk0p18 of=/sdcard/Download/mmcblk0p18_ddr.img ;
dd if=/dev/block/mmcblk0p35 of=/sdcard/Download/mmcblk0p35_devcfg.img ;
dd if=/dev/block/mmcblk0p36 of=/sdcard/Download/mmcblk0p36_devcfgbak.img ;
dd if=/dev/block/mmcblk0p60 of=/sdcard/Download/mmcblk0p60_devinfo.img ;
dd if=/dev/block/mmcblk0p33 of=/sdcard/Download/mmcblk0p33_dip.img ;
dd if=/dev/block/mmcblk0p3 of=/sdcard/Download/mmcblk0p3_dpo.img ;
dd if=/dev/block/mmcblk0p63 of=/sdcard/Download/mmcblk0p63_dsp.img ;
dd if=/dev/block/mmcblk0p46 of=/sdcard/Download/mmcblk0p46_dtbo.img ;
dd if=/dev/block/mmcblk0p20 of=/sdcard/Download/mmcblk0p20_frp.img ;
dd if=/dev/block/mmcblk0p2 of=/sdcard/Download/mmcblk0p2_fsc.img ;
dd if=/dev/block/mmcblk0p55 of=/sdcard/Download/mmcblk0p55_fsg.img ;
dd if=/dev/block/mmcblk0p23 of=/sdcard/Download/mmcblk0p23_hyp.img ;
dd if=/dev/block/mmcblk0p24 of=/sdcard/Download/mmcblk0p24_hypbak.img ;
dd if=/dev/block/mmcblk0p29 of=/sdcard/Download/mmcblk0p29_keymaster.img ;
dd if=/dev/block/mmcblk0p30 of=/sdcard/Download/mmcblk0p30_keymasterbak.img ;
dd if=/dev/block/mmcblk0p19 of=/sdcard/Download/mmcblk0p19_keystore.img ;
dd if=/dev/block/mmcblk0p7 of=/sdcard/Download/mmcblk0p7_limits.img ;
dd if=/dev/block/mmcblk0p72 of=/sdcard/Download/mmcblk0p72_logdump.img ;
dd if=/dev/block/mmcblk0p52 of=/sdcard/Download/mmcblk0p52_logfs.img ;
dd if=/dev/block/mmcblk0p64 of=/sdcard/Download/mmcblk0p64_logo.img ;
dd if=/dev/block/mmcblk0p62 of=/sdcard/Download/mmcblk0p62_mdtp.img ;
dd if=/dev/block/mmcblk0p44 of=/sdcard/Download/mmcblk0p44_mdtpsecapp.img ;
dd if=/dev/block/mmcblk0p45 of=/sdcard/Download/mmcblk0p45_mdtpsecappbak.img ;
dd if=/dev/block/mmcblk0p71 of=/sdcard/Download/mmcblk0p71_minidump.img ;
dd if=/dev/block/mmcblk0p43 of=/sdcard/Download/mmcblk0p43_misc.img ;
dd if=/dev/block/mmcblk0p74 of=/sdcard/Download/mmcblk0p74_modem.img ;
dd if=/dev/block/mmcblk0p57 of=/sdcard/Download/mmcblk0p57_modemst1.img ;
dd if=/dev/block/mmcblk0p58 of=/sdcard/Download/mmcblk0p58_modemst2.img ;
dd if=/dev/block/mmcblk0p13 of=/sdcard/Download/mmcblk0p13_msadp.img ;
dd if=/dev/block/mmcblk0p61 of=/sdcard/Download/mmcblk0p61_oops.img ;
dd if=/dev/block/mmcblk0p66 of=/sdcard/Download/mmcblk0p66_persist.img ;
dd if=/dev/block/mmcblk0p67 of=/sdcard/Download/mmcblk0p67_persistbak.img ;
dd if=/dev/block/mmcblk0p31 of=/sdcard/Download/mmcblk0p31_pmic.img ;
dd if=/dev/block/mmcblk0p32 of=/sdcard/Download/mmcblk0p32_pmicbak.img ;
dd if=/dev/block/mmcblk0p11 of=/sdcard/Download/mmcblk0p11_qupfw.img ;
dd if=/dev/block/mmcblk0p73 of=/sdcard/Download/mmcblk0p73_rawdump.img ;
# dd if=/dev/block/mmcblk0p69 of=/sdcard/Download/mmcblk0p69_recovery.img ;
dd if=/dev/block/mmcblk0p21 of=/sdcard/Download/mmcblk0p21_rpm.img ;
dd if=/dev/block/mmcblk0p22 of=/sdcard/Download/mmcblk0p22_rpmbak.img ;
dd if=/dev/block/mmcblk0p5 of=/sdcard/Download/mmcblk0p5_sec.img ;
dd if=/dev/block/mmcblk0p65 of=/sdcard/Download/mmcblk0p65_splash.img ;
dd if=/dev/block/mmcblk0p53 of=/sdcard/Download/mmcblk0p53_spunvm.img ;
dd if=/dev/block/mmcblk0p6 of=/sdcard/Download/mmcblk0p6_ssd.img ;
dd if=/dev/block/mmcblk0p40 of=/sdcard/Download/mmcblk0p40_sti.img ;
dd if=/dev/block/mmcblk0p14 of=/sdcard/Download/mmcblk0p14_storsec.img ;
dd if=/dev/block/mmcblk0p15 of=/sdcard/Download/mmcblk0p15_storsecbak.img ;
dd if=/dev/block/mmcblk0p1 of=/sdcard/Download/mmcblk0p1_switch.img ;
# dd if=/dev/block/mmcblk0p77 of=/sdcard/Download/mmcblk0p77_system.img ;
dd if=/dev/block/mmcblk0p39 of=/sdcard/Download/mmcblk0p39_toolsfv.img ;
dd if=/dev/block/mmcblk0p50 of=/sdcard/Download/mmcblk0p50_tz.img ;
dd if=/dev/block/mmcblk0p51 of=/sdcard/Download/mmcblk0p51_tzbak.img ;
# dd if=/dev/block/mmcblk0p79 of=/sdcard/Download/mmcblk0p79_userdata.img ;
dd if=/dev/block/mmcblk0p10 of=/sdcard/Download/mmcblk0p10_vbmeta.img ;
dd if=/dev/block/mmcblk0p78 of=/sdcard/Download/mmcblk0p78_vendor.img ;
dd if=/dev/block/mmcblk0p48 of=/sdcard/Download/mmcblk0p48_xbl.img ;
dd if=/dev/block/mmcblk0p49 of=/sdcard/Download/mmcblk0p49_xblbak.img ;