FORUMS
Remove All Ads from XDA

[GUIDE] How to make a nandroid backup directly to your computer without using sdcard

1,759 posts
Thanks Meter: 947
 
By scandiun, XDA Ad-Free Senior Member on 6th August 2012, 05:35 PM
Post Reply Email Thread
15th November 2012, 10:01 PM |#11  
Wartickler's Avatar
Senior Member
Flag Tallahassee, FL
Thanks Meter: 355
 
More
Smile Absolutely beautiful!
Thank you for this work. I was able to recover deleted files from my Galaxy Nexus' internal memory using this technique. I made a [GUIDE] using most of what you accomplished here: http://forum.xda-developers.com/show...php?p=34185439

Thank you, thank you, thank you! It can't be said enough. I had family photos that I would not have been able to reproduce. Much love to you and yours!

 
 
16th November 2012, 09:42 AM |#12  
mai77's Avatar
Senior Member
Thanks Meter: 582
 
More
so did anyone dare to restore the drive (all of storage, everything !)? without bricking the thing ?
16th November 2012, 09:57 AM |#13  
scandiun's Avatar
OP Senior Member
Thanks Meter: 947
 
More
Quote:
Originally Posted by mai77

so did anyone dare to restore the drive? w.o bricking the thing ?

What drive? A partition?
16th November 2012, 12:03 PM |#14  
mai77's Avatar
Senior Member
Thanks Meter: 582
 
More
Quote:
Originally Posted by scandiun

If you are using Linux / OS X you have native tools, for Windows download Cygwin, and install with it netcat, pv and util-linux. Get them from Cygwin's setup.exe

netcat is obsolete (mark to even find it) install net / nc instead

---------- Post added at 01:03 PM ---------- Previous post was at 01:03 PM ----------

Quote:
Originally Posted by scandiun

What drive? A partition?

all of storage I mean. the full monty ...

----------------------

parted seems to not work fully with Samsung galaxy Y = SGY proprietary rfs filesystem

on SGY mmcblk0 gives you the sd card, not internal storage with android.

backing up my sd card was a thing I could even do before I read this (lol)
16th November 2012, 09:59 PM |#15  
scandiun's Avatar
OP Senior Member
Thanks Meter: 947
 
More
Quote:
Originally Posted by mai77

netcat is obsolete (mark to even find it) install net / nc instead

nc is an abbreviation for netcat. On Cygwin, you choose to install either, but for the original, written by the *Hobbit*, that allows direct execution of commands with -e and -t, you have to uncheck "Hide obsolete packages" on Cygwin's setup.exe.

The two of them are here:

Netcat 1.10 (netcat.traditional): http://www.netgull.com/cygwin/release-legacy/netcat/
Netcat 1.107 (netcat.openbsd): http://www.netgull.com/cygwin/release/nc/
The Following User Says Thank You to scandiun For This Useful Post: [ View ] Gift scandiun Ad-Free
16th November 2012, 10:02 PM |#16  
scandiun's Avatar
OP Senior Member
Thanks Meter: 947
 
More
Quote:
Originally Posted by mai77

parted seems to not work fully with Samsung galaxy Y = SGY proprietary rfs filesystem

on SGY mmcblk0 gives you the sd card, not internal storage with android.

backing up my sd card was a thing I could even do before I read this (lol)

Can you post where is your whole memory block then or even the PIT file for that phone? You have an example here:

[Info] List of Samsung Galaxy S2 GT-I9100 devices and partitions
The Following User Says Thank You to scandiun For This Useful Post: [ View ] Gift scandiun Ad-Free
17th November 2012, 07:16 PM |#17  
mai77's Avatar
Senior Member
Thanks Meter: 582
 
More
Quote:
Originally Posted by scandiun

Can you post where is your whole memory block then or even the PIT file for that phone? You have an example here:

[Info] List of Samsung Galaxy S2 GT-I9100 devices and partitions

I don't know where the "whole memory block" is or what it is. is it internal storage = NAND ?

here is the pit file:
Attached Files
File Type: zip totoro_0623 of SGY.zip - [Click for QR Code] (2.1 KB, 79128 views)
17th November 2012, 08:03 PM |#18  
scandiun's Avatar
OP Senior Member
Thanks Meter: 947
 
More
Quote:
Originally Posted by mai77

I don't know where the "whole memory block" is or what it is. is it internal storage = NAND ?

Yes it is the NAND. See your pit analysis here:


[INFO] Samsung Galaxy Y GT-S5360 PIT File Analysis
The Following User Says Thank You to scandiun For This Useful Post: [ View ] Gift scandiun Ad-Free
18th November 2012, 10:05 AM |#19  
mai77's Avatar
Senior Member
Thanks Meter: 582
 
More
Thumbs up OK
Quote:
Originally Posted by scandiun

Yes it is the NAND. See your pit analysis here:


[INFO] Samsung Galaxy Y GT-S5360 PIT File Analysis

very interesting tool.

but how do I backup NAND in one piece on SGY ?

mmcblk0 = sd card

???blk0 = NAND

it must be somewhere ...
18th November 2012, 10:16 AM |#20  
scandiun's Avatar
OP Senior Member
Thanks Meter: 947
 
More
Quote:
Originally Posted by mai77

but how do I backup NAND in one piece on SGY ?

mmcblk0 = sd card

???blk0 = NAND

it must be somewhere ...


Is almost sure that is under /dev/block. Please post the output of

Code:
ls -lR /dev/block
18th November 2012, 12:04 PM |#21  
mai77's Avatar
Senior Member
Thanks Meter: 582
 
More
brw------- root root 254, 15 2012-11-18 12:35 dm-15
brw-rw---- root root 7, 15 2012-11-18 12:35 loop15
brw------- root root 254, 14 2012-11-18 12:35 dm-14
brw-rw---- root root 7, 14 2012-11-18 12:35 loop14
brw------- root root 254, 13 2012-11-18 12:35 dm-13
brw-rw---- root root 7, 13 2012-11-18 12:35 loop13
brw------- root root 254, 12 2012-11-18 12:35 dm-12
brw-rw---- root root 7, 12 2012-11-18 12:35 loop12
brw------- root root 254, 11 2012-11-18 12:35 dm-11
brw-rw---- root root 7, 11 2012-11-18 12:35 loop11
brw------- root root 254, 10 2012-11-18 12:35 dm-10
brw-rw---- root root 7, 10 2012-11-18 12:35 loop10
brw------- root root 254, 9 2012-11-18 12:35 dm-9
brw-rw---- root root 7, 9 2012-11-18 12:35 loop9
brw------- root root 254, 8 2012-11-18 12:35 dm-8
brw-rw---- root root 7, 8 2012-11-18 12:35 loop8
brw------- root root 254, 7 2012-11-18 12:35 dm-7
brw------- root root 254, 5 2012-11-18 12:35 dm-5
brw------- root root 254, 4 2012-11-18 12:35 dm-4
brw------- root root 254, 3 2012-11-18 12:35 dm-3
brw------- root root 254, 2 2012-11-18 12:35 dm-2
brw------- root root 254, 1 2012-11-18 12:35 dm-1
brw------- root root 254, 0 2012-11-18 12:34 dm-0
drwxr-xr-x root root 2012-11-18 12:34 vold
brw------- root root 138, 15 2012-11-18 12:34 stl15
brw------- root root 138, 14 2012-11-18 12:34 stl14
brw------- root root 138, 13 2012-11-18 12:34 stl13
brw------- root root 138, 12 2012-11-18 12:34 stl12
brw------- root root 138, 11 2012-11-18 12:34 stl11
brw------- root root 138, 10 2012-11-18 12:34 stl10
brw------- root root 138, 9 2012-11-18 12:34 stl9
brw------- root root 138, 8 2012-11-18 12:34 stl8
brw------- root root 138, 7 2012-11-18 12:34 stl7
brw------- root root 138, 6 2012-11-18 12:34 stl6
brw------- root root 138, 5 2012-11-18 12:34 stl5
brw------- root root 138, 4 2012-11-18 12:34 stl4
brw------- root root 138, 3 2012-11-18 12:34 stl3
brw------- root root 138, 2 2012-11-18 12:34 stl2
brw------- root root 138, 1 2012-11-18 12:34 stl1
brw------- root root 137, 15 2012-11-18 12:34 bml15
brw------- root root 137, 14 2012-11-18 12:34 bml14
brw------- root root 137, 13 2012-11-18 12:34 bml13
brw------- root root 137, 12 2012-11-18 12:34 bml12
brw------- root root 137, 11 2012-11-18 12:34 bml11
brw------- root root 137, 10 2012-11-18 12:34 bml10
brw------- root root 137, 9 2012-11-18 12:34 bml9
brw------- root root 137, 8 2012-11-18 12:34 bml8
brw------- root root 137, 7 2012-11-18 12:34 bml7
brw------- root root 137, 6 2012-11-18 12:34 bml6
brw------- root root 137, 5 2012-11-18 12:34 bml5
brw------- root root 137, 4 2012-11-18 12:34 bml4
brw------- root root 137, 3 2012-11-18 12:34 bml3
brw------- root root 137, 2 2012-11-18 12:34 bml2
brw------- root root 137, 1 2012-11-18 12:34 bml1
brw------- root root 137, 0 2012-11-18 12:34 bml0!c
brw------- root root 7, 7 2012-11-18 12:34 loop7
brw------- root root 7, 6 2012-11-18 12:34 loop6
brw------- root root 7, 5 2012-11-18 12:34 loop5
brw------- root root 7, 4 2012-11-18 12:34 loop4
brw------- root root 7, 3 2012-11-18 12:34 loop3
brw------- root root 7, 2 2012-11-18 12:34 loop2
brw------- root root 7, 1 2012-11-18 12:34 loop1
brw------- root root 7, 0 2012-11-18 12:34 loop0
brw------- root root 1, 15 2012-11-18 12:34 ram15
brw------- root root 1, 14 2012-11-18 12:34 ram14
brw------- root root 1, 13 2012-11-18 12:34 ram13
brw------- root root 1, 12 2012-11-18 12:34 ram12
brw------- root root 1, 11 2012-11-18 12:34 ram11
brw------- root root 1, 10 2012-11-18 12:34 ram10
brw------- root root 1, 9 2012-11-18 12:34 ram9
brw------- root root 1, 8 2012-11-18 12:34 ram8
brw------- root root 1, 7 2012-11-18 12:34 ram7
brw------- root root 1, 6 2012-11-18 12:34 ram6
brw------- root root 1, 5 2012-11-18 12:34 ram5
brw------- root root 1, 4 2012-11-18 12:34 ram4
brw------- root root 1, 3 2012-11-18 12:34 ram3
brw------- root root 1, 2 2012-11-18 12:34 ram2
brw------- root root 1, 1 2012-11-18 12:34 ram1
brw------- root root 1, 0 2012-11-18 12:34 ram0
brw------- root root 179, 2 2012-11-18 12:34 mmcblk0p2
brw------- root root 179, 1 2012-11-18 12:34 mmcblk0p1
drwxr-xr-x root root 2012-11-18 12:34 platform
brw------- root root 179, 0 2012-11-18 12:34 mmcblk0

I have 2 partns on sdcard, p1 and p2

---------- Post added at 01:04 PM ---------- Previous post was at 12:48 PM ----------

so this shell cmds gave me a 501 MB file which is probably the NAND dump :



adb shell
su
stop
dd if=/dev/block/bml0!c of=/sdcard/bml0c.outfile

## wait 2 minutes to finish

start

## wait 30 sec


tagged SGY thread: http://forum.xda-developers.com/show...php?p=34300236

Post Reply Subscribe to Thread

Tags
cygwin, nandroid, onenand, parted

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

Advanced Search
Display Modes