FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[GUIDE] Making Dump Files Out of Android Device Partitions

981 posts
Thanks Meter: 3,397
 
By majdinj, Senior Member on 19th September 2013, 04:18 AM
Post Reply Email Thread
4th September 2017, 01:00 AM |#291  
Junior Member
Thanks Meter: 5
 
More
no available space
I wrote "dd if=/dev/block/mmcblk0p28 of=/sdcard/userdata.img" and it starts dumping the partition, but it's the userdata partition so it's heavy and the internal memory of the phone is not enough, is there a command that can put the dump in the external sdcard ? I have 14gb available there... more than enough.

I deleted some pictures and I want to recover them in windows (I tried recovering them with an app but not a single one came out without being corrupted, so I want to try digging through windows once I have the .img file mounted)
I don't have many hopes but I need to try this...

Thanks
 
 
6th September 2017, 05:24 AM |#292  
Member
Thanks Meter: 6
 
More
Hi, thanks for guide.

if smartphone don't support external MicroSD, so not possible to do dump ROM partition?
6th September 2017, 09:24 AM |#293  
Wuby986's Avatar
Senior Member
Thanks Meter: 2,523
 
More
Quote:
Originally Posted by msuki

Hi, thanks for guide.

if smartphone don't support external MicroSD, so not possible to do dump ROM partition?

why not? just dump to internal sd ( usually /sdcard ) then copy wherever you want

Sent from my SM-G935F using Tapatalk
6th September 2017, 11:29 AM |#294  
Senior Member
Flag Praia
Thanks Meter: 377
 
More
Quote:
Originally Posted by azigta

I wrote "dd if=/dev/block/mmcblk0p28 of=/sdcard/userdata.img" and it starts dumping the partition, but it's the userdata partition so it's heavy and the internal memory of the phone is not enough, is there a command that can put the dump in the external sdcard ? I have 14gb available there... more than enough.

I deleted some pictures and I want to recover them in windows (I tried recovering them with an app but not a single one came out without being corrupted, so I want to try digging through windows once I have the .img file mounted)
I don't have many hopes but I need to try this...

Thanks

Try sdcard0 or sdcard1. Or you can direct the outputting file to your computer hard drive C:

Sent from my Nexus 7 using XDA Free mobile app
14th September 2017, 01:17 PM |#295  
desalesouche's Avatar
Senior Member
Thanks Meter: 4,166
 
Donate to Me
More
Quote:
Originally Posted by CVAngelo

Try sdcard0 or sdcard1. Or you can direct the outputting file to your computer hard drive C:

Sent from my Nexus 7 using XDA Free mobile app

hi.
how to extract to pc/desktop intead sdcard?
i have 16 GB sdcard and telling me no space left...
thank you
adb shell
su
dd if=/dev/block/mmcblk0 of=/sdcard/EMMC.img
14th September 2017, 05:49 PM |#296  
Senior Member
Flag Praia
Thanks Meter: 377
 
More
Quote:
Originally Posted by desalesouche

hi.
how to extract to pc/desktop intead sdcard?
i have 16 GB sdcard and telling me no space left...
thank you
adb shell
su
dd if=/dev/block/mmcblk0 of=/sdcard/EMMC.img

My earlier response clearly said to direct the output file to your C drive.

of=c:/directory/filename.img

Sent from my Nexus 7 using XDA Free mobile app
The Following 2 Users Say Thank You to CVAngelo For This Useful Post: [ View ] Gift CVAngelo Ad-Free
27th October 2017, 05:15 PM |#297  
Junior Member
Thanks Meter: 0
 
More
damaged img
Hi,
I followed your tutorial step by step (very nice) but every img I got results damaged.
I did it as root via adb on a Meizu 6 Pro Plus fully rooted.
What about?
Thanks a lot
Giovanni Losacco
19th November 2017, 01:09 AM |#298  
Kaiyum's Avatar
Member
Thanks Meter: 11
 
More
Is there a parted binary that supports ext4?
29th November 2017, 06:23 PM |#299  
Senior Member
Flag Lublin, Poland
Thanks Meter: 342
 
Donate to Me
More
Hi everyone,
I did backup of all needed partitions with DD.
I don't know how to do backup of partition table.
I need it for making flashable stock rom - Motorola Moto X Style, only upper version is flashable.
In downloadable roms it is:
gpt.bin
Flashing with:
fastboot flash partition gpt.bin

Can anybody help me?
9th December 2017, 07:00 AM |#300  
Member
Thanks Meter: 5
 
More
is this relevent to the problem : unable to mount /system /cache /data (fastboot remote: partition table does not exist)
i have lenovo a6000 and it is not mounting system data and cache partition
it is showing system image size as 1800 mb and system,data,cache size as 0mb (internal storage as 0 mb)
i am unable to boot it....
it has no os installed and i am unable to mount storage also... fastboot is working only
unable to flash anything...
i can only boot recovery.img
i can use adb sideload
My question is,
1. Can I revive my mobile now?
2. is there anyway to mount the partitions ?(i am able to see the partitions in dev..../by name/ folder)
3. Can I use my external sdcard as the mounting location for system ,data,cache and for all?
4. Can I delete the corrupted partition table and create new one?(similar to 1)
Or if u know any other solutions please PM me or post it here....
Sorry for bad english
thank you
14th December 2017, 11:50 AM |#301  
Junior Member
Thanks Meter: 0
 
More
error
Quote:
Originally Posted by CVAngelo

My earlier response clearly said to direct the output file to your C drive.

of=c:/directory/filename.img

Sent from my Nexus 7 using XDA Free mobile app

Hi .. i tried it but gave me this error
root@hero2lte:/ # dd if=/dev/block/sda14 of=c:/system.img
dd: c:/system.img: No such file or directory

i try the other backslash with the error

1|root@hero2lte:/ # dd if=/dev/block/sda14 of=c:\system.img
dd: c:system.img: Read-only file system

any ideas ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes