[TUT] How To Create DUMP out of Stock Rom ( UP NOW )

Search This thread

tids2k

Senior Member
Apr 21, 2009
2,740
955
Sydney
Google Pixel 6 Pro
Hello .

Posting a tutorial on how to create a dump out of your stock rom, in case you delete some apps or modify some settings.


ALRIGHT LETS START:

STEP ONE:

Alright, so you want to make a backup of your phone software, but dont know what to do. Its simple, download the package the Android SDK from google and copy it to C:\ drive. Once you have download it, make sure you have Java installed in your system or else it will not work. After everything is done, open the program and install these two packages:

1. Android SDK Tools, revision 6

2. USB Driver package, revision3 ([COLOR="Red"IMP: Its important that the USB driver installed shows up as Composite Android Debug Device, else it wont work. ][/COLOR]


What Android SDK ?? Read about it here: [url]http://developer.android.com/sdk/index.html[/url]

Why Android SDK ? Because: it has the [COLOR="red"]android debug shell[/COLOR] which you require before communicating with your android phone. So download it ! From here:

STEP TWO:

Download Busybox from here : http://rapidshare.com/files/407238531/busybox What is Busybox ?? Read about it here: http://www.busybox.net/
MD5 Signature: C5B76280434EEF49310AD8F1810B10B2

STEP THREE:

One you have downloaded busybox, copy it to the C:\ drive of your computer and then follow the next step. The next step is to open the Command Prompt ( type cmd in the Run prompt ) if using Vista right click on "Run as Administrator".

Assuming you are the root of C:\

Type: C:\cd android-sdk-windows

-> then

Type: C:\android-sdk-windows\ cd tools

-> if you have android debug shell and USB drivers properly installed

Type: adb devices

Now your device will show up as a binary number .. Success ! if it doesn't show up you need to install the drivers again or something else is wrong.


STEP FOUR:

Now once your device shows up, we will need to download the busybox from the computer to the phone. Since we can write anything in the /data/local portion of the android system we will copy the busybox file to the android device.

Type: adb push busybox /data/local/busybox

Once it has been copied to your device issue this command.

Type: adb shell This coomand is issued to go to your mobile's terminal where you can issue commands internally to the phone.

--> then

Type: cd /sdcard This command is given inorder to go to the sdcard ( i.e the internal storage of your phone )

--> then

Type: chmod 755 /data/local/busybox This command is issued to set user -rwxrwxr-x permissions to the file.

--> then

Finally, issue this command.

Type: /data/local/busybox tar cvf Samsung.tar /system This command is given to copy and tar the system folder where all the stock applications and programs are and to create a dump of that system folder.

STEP FIVE:

Job Done !!

The Samsung.tar file can be copied to the computer now. Have fun.
 
Last edited:

OrionTC

Senior Member
Jun 6, 2010
179
1
thats good news if it is indeed a a backup of the stock firmware.

i want to back up my warranty firmware! :)
 

supercurio

Retired Senior Recognized Developer
May 31, 2010
3,550
5,041
Chambéry
spectrastudy.com
Too bad, the title was very promising but what you show is just an backup archive of the system.

BTW, there is no guarantee that restoring it will produce a usable phone, because kernel, datas, modem baseband etc won't be restored too !

But this can be useful to restore some file after a mistake done on /system files.
 

tids2k

Senior Member
Apr 21, 2009
2,740
955
Sydney
Google Pixel 6 Pro
Too bad, the title was very promising but what you show is just an backup archive of the system.

BTW, there is no guarantee that restoring it will produce a usable phone, because kernel, datas, modem baseband etc won't be restored too !

But this can be useful to restore some file after a mistake done on /system files.

im working on creating a stock rom ... may be some happy results and happy faces. who knows . keep sticked ! :)
 

rchawla9

Member
Jul 12, 2010
20
0
So, Can i just select this dump in Odin and it will recover to stock firmware. Quite confused here.
The file size is 275 megs , so is it only for apps? Have you flashed with this dump. Nice work so far. THanks.

Edit: Just realised the dump option in Odin is for dumping my rom , not loading one.

So stuck with this until Samsung update. Huh!
 
Last edited:

Plinn

Member
Oct 19, 2010
5
0
This won't work

No, no and no !!

This procedure will not backup your stock ROM.

A complete rom consists in:

- a primary bootloader.
- a secondary bootloader.
- an initrd image with the kernel.
- a rootfs (the /system partition).
- an efs partition.
- a binary radio firmware.

There is no known method to backup all the flash partitions and transform them into proper files that can be reflashed with Odin or Heimdall.
 

kalpik

Inactive Recognized Contributor
May 19, 2010
4,604
2,065
Amsterdam
www.kalpik.com
No, no and no !!

This procedure will not backup your stock ROM.

A complete rom consists in:

- a primary bootloader.
- a secondary bootloader.
- an initrd image with the kernel.
- a rootfs (the /system partition).
- an efs partition.
- a binary radio firmware.

There is no known method to backup all the flash partitions and transform them into proper files that can be reflashed with Odin or Heimdall.
+1.. The thread is misleading.. This doesn't accomplish anything! You really think people in the "Android Development" section don't know about tar?
 

MCOGW

Senior Member
Sep 16, 2010
281
61
Did anyone already managed to get the built-in dump function from Odin working?

With Odin v1.3 there was the possibility to decide whether to dump AP RAM or AP NAND (followed by an ID).
With Odin v1.52 you can't choose this anymore. It will only dump AP NAND.

But my first attempts were unfortunately not very promising :(