Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP tids2k

16th July 2010, 02:28 AM   |  #1  
tids2k's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 633
 
2,270 posts
Join Date:Joined: Apr 2009
More
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: http://developer.android.com/sdk/index.html

Why Android SDK ? Because: it has the android debug shell 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 by tids2k; 16th July 2010 at 10:41 AM.
16th July 2010, 02:36 AM   |  #2  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,580
 
11,521 posts
Join Date:Joined: May 2008
Donate to Me
More
this is perfect, as i want to create a dump of my original ROM
16th July 2010, 02:39 AM   |  #3  
Member
Thanks Meter: 3
 
46 posts
Join Date:Joined: Jul 2010
More
A dump is simply a backup of your original ROM right?
16th July 2010, 07:01 AM   |  #4  
Senior Member
Thanks Meter: 1
 
173 posts
Join Date:Joined: Jun 2010
thats good news if it is indeed a a backup of the stock firmware.

i want to back up my warranty firmware!
16th July 2010, 09:44 AM   |  #5  
tids2k's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 633
 
2,270 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by OrionTC

thats good news if it is indeed a a backup of the stock firmware.

i want to back up my warranty firmware!

it is only a backup of your stock apps and driver if so however it doesnt convert the files into a flashable rom version.
Last edited by tids2k; 16th July 2010 at 10:40 AM.
16th July 2010, 10:27 AM   |  #6  
Senior Member
Thanks Meter: 46
 
481 posts
Join Date:Joined: May 2009
is there a way for us to backup the firmware?? (not just stock apps)
16th July 2010, 10:39 PM   |  #7  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by tids2k

it is only a backup of your stock apps and driver if so however it doesnt convert the files into a flashable rom version.

So this is not a tutorial of how you back up your stock rom but how you back up your stock apps and stock drivers?
17th July 2010, 12:54 AM   |  #8  
Unimaginative's Avatar
Senior Member
Flag Sydney
Thanks Meter: 2
 
131 posts
Join Date:Joined: Jul 2008
More
Quote:
Originally Posted by droidwi

So this is not a tutorial of how you back up your stock rom but how you back up your stock apps and stock drivers?

Correct. We most likely won't be able to actually perform a complete backup until Nandroid works on the handset.
17th July 2010, 01:22 AM   |  #9  
supercurio's Avatar
Senior Recognized Developer
Flag Chambéry
Thanks Meter: 5,072
 
3,529 posts
Join Date:Joined: May 2010
Donate to Me
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.
17th July 2010, 04:57 AM   |  #10  
tids2k's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 633
 
2,270 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by supercurio

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 !

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes