Help Please - nanddump goes on forever
Steven Hickel
steven.hickel at gmail.com
Fri Mar 15 02:55:30 UTC 2013
Hi, I'm new to this list and to such lists in general, so I apologize
if I break decorum in some way. I have a specific situation I'm hoping
someone can shed some light on. I'm making a nanddump of the userdata
partition on a nexus one with the below commands using two Cygwin
terminals. But, when I do this, the nanddump seems to go on forever. I
ended up stopping it at over 8 GB written. I believe the entire
internal storage is only something like 512 MB. The form of the below
commands seemed to work for creating nanddumps of the other phone
partitions. But, it's the userdata partition I'm really looking to get
so as to potentially recover some important deleted files. Also, note
that I have removed the external sd card so that there's no
possibility I'm copying from that.
Cygwin Terminal 1
---------------------------
adb forward tcp:5555 tcp:5555
adb shell
su
# nanddump [options] /dev/mtd/mtd5 | nc -l -p 5555
-------------------------------
Cygwin terminal 2
-----------------------------
nc 127.0.0.1 5555 > /nexus/mtd5_userdata.img
------------------------------
This approach is similar to this, but with nanddump instead of dd:
http://forum.xda-developers.com/showthread.php?t=1994705
In case it's of use, the proc/mtd file shows the following
mtd0: 000e0000 00020000 "misc"
mtd1: 00400000 00020000 "recovery"
mtd2: 00380000 00020000 "boot"
mtd3: 09100000 00020000 "system"
mtd4: 05f00000 00020000 "cache"
mtd5: 0c440000 00020000 "userdata"
Also, the df command in adb shell, brings up the following:
Filesystem Size Used Free Blksize
/dev 192M 32K 192M 4096
/mnt/asec 192M 0K 192M 4096
/mnt/obb 192M 0K 192M 4096
/system 145M 131M 13M 4096
/data 196M 80M 116M 4096
/cache 95M 1M 93M 4096
I hope someone can help, so I can get this image and be able to start
using the phone again. Thank you.
More information about the busybox
mailing list