• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[EASIEST WAY ROM DUMP] ROM dumping method for any phone.

Search This thread

shahabazas

Senior Member
Jun 5, 2012
370
113
Pune
Need ROOT access

I tried these all to dump my phones ROM

http://bm-smartphone-reviews.blogspot.pt/2012/03/increasing-g11i-pro-and-hd7-internal.html

http://www.addictivetips.com/mobile/how-to-backup-your-android-phones-boot-recovery-and-system-partition-images/

And many others also where i can find the ways to dump ROM but no success then i can across this site

http://android.podtwo.com/romdump/

but still dint got success then thaught to just do some changes in the steps and then had done those

1. I downloaded the romdump_v82b.zip from http://android.podtwo.com/romdump/
2. Copy and paste the romdump file to /data/local/(open root browers /root access file manager and then go to data folder and then open local folder and paste the file romdump)
3. Long press romdump file and select permission and check all boxes.
4. Created a folder name romdump in sd card and
5. Open Terminal Emulator in phone and followed the steps below mentioned and got the ROM dumped in my sd card

$ export PATH=/data/local/bin:$PATH
$ su
# chmod 04755 /data/local/romdump
# /data/local/romdump

You will see all the things whats going on below if you see this then you will get the ROM dumped if not then follow the steps once again

Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : ALPS.GB.FDD2.MP.V3.9

Creating required files... done.
Opening mtd table... done.
Dumping kernel config... /proc/config.gz: No such file or directory
done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.

#
 
Last edited:

mengagumkan

Member
Jul 21, 2012
7
10
Perth
This works but is it valid or useful?

Hi everybody.
I tested this method on tablet M005 dual SIM from Chinabuye (unknown manufacturer) and I confirm that it works. Reading the shahabazas post I was not sure if the file 'romdump' is to be copied to computer /data/local/ folder or the same folder on the tablet so if anybody would have the same doubts I clarify that it is the folder on the tablet/phone.

I have serious doubts however. Everywhere I searched on backup/restore of the stock ROM I was reading that to take the copy of the stock ROM the system must be not running. That's how the CM Recovery works. In the romdump method however the system is running while taking the copy of ROM. So I have 2 questions:

1. Is the copy of ROM taken this way valid/accurate?

2. How to use the romdump files to flash the ROM back in the case that something goes wrong later on and flashing it back will become necessary?

Here is the list of the files you get after running romdump:

config.gz
system.info.gz
boot.img
recovery.img
system.tar
checksum.md5

I would appreciate if someone could answer those questions or point me to corresponding info as I want to over/under clock my tablet and that involves flushing custom kernel. This model of tablet is not popular and does not have custom kernel or ROMs available for download and I will have to cook it myself in which case it is very likely that I will brick it.:laugh:
Cheers
 
Last edited:
  • Like
Reactions: AkshayPL

ruscan.calin

Senior Member
Nov 29, 2010
622
288
1. Is the copy of ROM taken this way valid/accurate?

2. How to use the romdump files to flash the ROM back in the case that something goes wrong later on and flashing it back will become necessary?
well, romdump is very useful to create a custom rom how to do that is another/long question you can't confirm will work for all phones if you don't have sources of that application also if this is good/accurate well just restore boot/system/recovery partition on your phone and now you are sure about that (yes backup before!)
to restore use fastboot utility i.e. let's say you have a problem entering recovery mode then
Code:
fastboot flash recovery recovery.img
to overclock your tablet you need to edit files in kernel so you need kernel sources if you don't have that forget about that
do nothing if not sure about because I have some doubts about these Chinese tablets -how to restore to stock rom ? - just in case !
 

mengagumkan

Member
Jul 21, 2012
7
10
Perth
Series of "silly" questions

First of all thank you ruscan.callin for your response.
I am quite familiar with Linux and I use Ubuntu every day so knowing, that linux is open source and modifiable in many ways, I thought that it would be possible to extract kernel from tablet, from there extract all files or modules (I am not yet very familiar with kernel structure) and then modify files, scripts, etc. to suit and pack it back to img format and flash to tablet. After all, Android is a Linux, right? Maybe my way of thinking is wrong?
I imagined that all those wonderful people from CM that do so many ROMs and modified kernels for popular phones and tablets work this way, that is, they don't have access to manufacturer's source codes? Or do they have access to different source codes for every specific model they work on (in case they are all different)?
Maybe it is possible to work from Android kernel source code publicised by Google and change there frequency and voltage values then compile a kernel back and flush it? Will then all buttons and TV, radio, sensors and other hardware work as they should?
My tablet has Android 2.3.6 and kernel 2.6.35.7, does it mean that the source code for it is open and available for download or is it modified in some way by the manufacturer (I mean the kernel, not the apps)? I would think that if this was modified it should have some different name like 2.3.6-M005 and 2.6.35.7-M005 (in this case M005 is a model number) or something like that?
I already managed to root this tablet and all works but it is slow with some aps like GPS, Maps and Navigation, and has low capacity battery, about 1800 mAh, so I thought that over/underclocking would help to speed it up on demand and save battery when speed is not needed.
Apart from that I have problem with romdump files because a romdump gives (amongst others) boot.img and system.tar and the latter is a tar archive of system folder and not the tar archive of system.img file so the Android Kitchen does not accept it as a ROM. Therefore the problem is how to make romdump files to be acceptable by the Kitchen?
I would appreciate any responses, thanks.
 
Last edited:

mengagumkan

Member
Jul 21, 2012
7
10
Perth
Some questions answered

Well, nobody bothered to answer my questions so I try to answer them myself just in case that other noobs like me would read it.

Yes, it is safe to say that every device model has different ROM and kernel.

Android and kernel publicized by Google as a source code work as is only for devices sold by Google. Other models by various manufactures have all different kernels, recovery or engineering modes and ROMs. Often manufacturers do not publicize source code so it is difficult to modify kernels, albeit possible. It is in fact done by pulling the kernel and/or ROM out, modify it and put it back with better features.

Most tutorials do not work for most people starit "from the box" and require some changes because all user's computers are different, so people who are serious about android mods have to find their own ways that work for them taking tutorials as a guide only.

In my case I found that the CPU MT6573 in my tablet model M005 works well even at 998 MHz and there is MTK CPU Control app on Google Play that can increase the cpu speed to 806 MHz so there is no need for me to trod into murky ways of kernel modyfications for now. I installed the app and my tablet runs at 806 MHz no problems. Now I need to find a way to improve the battery life.
 

schlex2010

Senior Member
Nov 12, 2010
358
79
Try to use romdump on my Acer Iconia A210 Tablet:

Code:
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : Acer_AV043_A210_1.034.00_EMEA_DE

Creating required files... cat: can't open '/proc/mtd': No such file or directory
gzip: can't open '/sdcard/romdump//system.info.gz': File exists
done.
Opening mtd table... Segmentation fault

Tool don't work for me on my iconia a210 but I tried to use dd. That works :)
 
Last edited:

stimpy84

New member
Aug 8, 2011
4
2
Utrecht
pixplicity.com
Try to use romdump on my Acer Iconia A210 Tablet:

Code:
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : Acer_AV043_A210_1.034.00_EMEA_DE

Creating required files... cat: can't open '/proc/mtd': No such file or directory
gzip: can't open '/sdcard/romdump//system.info.gz': File exists
done.
Opening mtd table... Segmentation fault

Tool don't work for me on my iconia a210 but I tried to use dd. That works :)

I, too, tried getting this to work on an Iconia tablet, but ran into the same issue. Beware that
Code:
dd
doesn't actually work and will create a corrupt image. I had read a insightful post into why this was, but (of course) had no luck finding it back.

Instead, I modified romdump to look in a temporary path following this answer on Stack Overflow:
unix.stackexchange.com/a/56939/26151

My steps were:
  1. Download romdump
  2. Edit it under linux using
    Code:
    sed s-/proc/mtd-/tmp/mntx- < romdump > romdump.new
  3. Push
    Code:
    romdump.new
    to the device
  4. Code:
    adb shell
    to the device and execute:
    Code:
    mkdir /tmp
    ln -s /proc/mounts /tmp/mntx
    chmod 04755 /data/local/romdump.new
    /data/local/romdump.new
  5. Locate the backup at
    Code:
    /mnt/sdcard/romdump
 
Last edited:

stimpy84

New member
Aug 8, 2011
4
2
Utrecht
pixplicity.com
I, too, tried getting this to work on an Iconia tablet, but ran into the same issue. Beware that
Code:
dd
doesn't actually work and will create a corrupt image. I had read a insightful post into why this was, but (of course) had no luck finding it back.
I found the source of that statement:
modaco.com /topic/327661-how-to-backup-the-systemimg-bootimg-and-recoveryimg/#entry1534321

(Sorry for the broken URLs, but the forum won't allow me to post any.)
 

Laurentius26

Inactive Recognized Developer
Nov 22, 2005
7,972
1,151
Dear Op, thank you for the dump method.
I'm trying to dump the rom of my rooted HTC One X but I get the following error.

Any idea what I'm doing wrong?

20121207103550.png
 

loociddreemr

Member
Jul 10, 2010
18
2
I need help dumping the system of a UG007. It has a Rockchip RK3066. I am using romdump. I am able to sucessfully complete the dump, but I cannot locate the dumped files. Any suggestions?

heres my CMD screen for the first pass

Code:
adb push romdump /data/local/
3076 KB/s (1149900 bytes in 0.365s)

adb shell
[email protected]:/ # chmod 755 /data/local/romdump
chmod 755 /data/local/romdump
[email protected]:/ # /data/local/romdump
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : rk30sdk-eng 4.1.1 JRO03H eng.ant.20121108.175527 test-keys

Creating required files... done.
Opening mtd table... done.
Dumping kernel config... sh: cat: /proc/config.gz: No such file or directory
done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.

I couldn't find the dumped files so I tried again, but it says that the files already exist.

Code:
adb shell
[email protected]:/ # /data/local/romdump
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : rk30sdk-eng 4.1.1 JRO03H eng.ant.20121108.175527 test-keys

Creating required files... gzip: can't open '/sdcard/romdump//system.info.gz': F
ile exists
done.
Opening mtd table... done.
Dumping kernel config... sh: cat: /proc/config.gz: No such file or directory
done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.
 

khankll

Senior Member
Dec 17, 2010
269
44
the script runs like the op has shown ..
but it produces the following files only
config.gz
system.info.gz
system.tar
checksum.md5

the following two are missing
boot.img
recovery.img

however the prompt is showing that done ok... but they are not there.. only the other 4 files..

any help ?
 

dj.rachit

Member
Oct 6, 2008
26
3
North York
Need ROOT access

I tried these all to dump my phones ROM

http://bm-smartphone-reviews.blogspot.pt/2012/03/increasing-g11i-pro-and-hd7-internal.html

http://www.addictivetips.com/mobile/how-to-backup-your-android-phones-boot-recovery-and-system-partition-images/

And many others also where i can find the ways to dump ROM but no success then i can across this site

http://android.podtwo.com/romdump/

but still dint got success then thaught to just do some changes in the steps and then had done those

1. I downloaded the romdump_v82b.zip from http://android.podtwo.com/romdump/
2. Copy and paste the romdump file to /data/local/(open root browers /root access file manager and then go to data folder and then open local folder and paste the file romdump)
3. Long press romdump file and select permission and check all boxes.
4. Created a folder name romdump in sd card and
5. Open Terminal Emulator in phone and followed the steps below mentioned and got the ROM dumped in my sd card

$ export PATH=/data/local/bin:$PATH
$ su
# chmod 04755 /data/local/romdump
# /data/local/romdump

You will see all the things whats going on below if you see this then you will get the ROM dumped if not then follow the steps once again

Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : ALPS.GB.FDD2.MP.V3.9

Creating required files... done.
Opening mtd table... done.
Dumping kernel config... /proc/config.gz: No such file or directory
done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.

#
Just a stupid question. How do you reverse "$ export PATH=/data/local/bin:$PATH" Every time I open terminal, it shows me export PATH=/data/local/bin:$PATH which is kinda annoying.
 

vulcanize

Senior Member
Sep 5, 2012
101
13
Thank you. Worked perfectly for me after struggling to get the recovery images from the generic Proscan PLT7035B using other techniques
Cheers.:good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    Need ROOT access

    I tried these all to dump my phones ROM

    http://bm-smartphone-reviews.blogspot.pt/2012/03/increasing-g11i-pro-and-hd7-internal.html

    http://www.addictivetips.com/mobile/how-to-backup-your-android-phones-boot-recovery-and-system-partition-images/

    And many others also where i can find the ways to dump ROM but no success then i can across this site

    http://android.podtwo.com/romdump/

    but still dint got success then thaught to just do some changes in the steps and then had done those

    1. I downloaded the romdump_v82b.zip from http://android.podtwo.com/romdump/
    2. Copy and paste the romdump file to /data/local/(open root browers /root access file manager and then go to data folder and then open local folder and paste the file romdump)
    3. Long press romdump file and select permission and check all boxes.
    4. Created a folder name romdump in sd card and
    5. Open Terminal Emulator in phone and followed the steps below mentioned and got the ROM dumped in my sd card

    $ export PATH=/data/local/bin:$PATH
    $ su
    # chmod 04755 /data/local/romdump
    # /data/local/romdump

    You will see all the things whats going on below if you see this then you will get the ROM dumped if not then follow the steps once again

    Android ROM dumper v0.82b
    (c)2011 Sebastian404
    Device : ALPS.GB.FDD2.MP.V3.9

    Creating required files... done.
    Opening mtd table... done.
    Dumping kernel config... /proc/config.gz: No such file or directory
    done.
    Dumping boot partition... done.
    Dumping recovery partition... done.
    Dumping system partition... done.
    Creating Checksums... done.
    Cleaning up... done.
    All done.

    #
    4
    Some questions answered

    Well, nobody bothered to answer my questions so I try to answer them myself just in case that other noobs like me would read it.

    Yes, it is safe to say that every device model has different ROM and kernel.

    Android and kernel publicized by Google as a source code work as is only for devices sold by Google. Other models by various manufactures have all different kernels, recovery or engineering modes and ROMs. Often manufacturers do not publicize source code so it is difficult to modify kernels, albeit possible. It is in fact done by pulling the kernel and/or ROM out, modify it and put it back with better features.

    Most tutorials do not work for most people starit "from the box" and require some changes because all user's computers are different, so people who are serious about android mods have to find their own ways that work for them taking tutorials as a guide only.

    In my case I found that the CPU MT6573 in my tablet model M005 works well even at 998 MHz and there is MTK CPU Control app on Google Play that can increase the cpu speed to 806 MHz so there is no need for me to trod into murky ways of kernel modyfications for now. I installed the app and my tablet runs at 806 MHz no problems. Now I need to find a way to improve the battery life.
    2
    1. Is the copy of ROM taken this way valid/accurate?

    2. How to use the romdump files to flash the ROM back in the case that something goes wrong later on and flashing it back will become necessary?
    well, romdump is very useful to create a custom rom how to do that is another/long question you can't confirm will work for all phones if you don't have sources of that application also if this is good/accurate well just restore boot/system/recovery partition on your phone and now you are sure about that (yes backup before!)
    to restore use fastboot utility i.e. let's say you have a problem entering recovery mode then
    Code:
    fastboot flash recovery recovery.img
    to overclock your tablet you need to edit files in kernel so you need kernel sources if you don't have that forget about that
    do nothing if not sure about because I have some doubts about these Chinese tablets -how to restore to stock rom ? - just in case !
    2
    Series of "silly" questions

    First of all thank you ruscan.callin for your response.
    I am quite familiar with Linux and I use Ubuntu every day so knowing, that linux is open source and modifiable in many ways, I thought that it would be possible to extract kernel from tablet, from there extract all files or modules (I am not yet very familiar with kernel structure) and then modify files, scripts, etc. to suit and pack it back to img format and flash to tablet. After all, Android is a Linux, right? Maybe my way of thinking is wrong?
    I imagined that all those wonderful people from CM that do so many ROMs and modified kernels for popular phones and tablets work this way, that is, they don't have access to manufacturer's source codes? Or do they have access to different source codes for every specific model they work on (in case they are all different)?
    Maybe it is possible to work from Android kernel source code publicised by Google and change there frequency and voltage values then compile a kernel back and flush it? Will then all buttons and TV, radio, sensors and other hardware work as they should?
    My tablet has Android 2.3.6 and kernel 2.6.35.7, does it mean that the source code for it is open and available for download or is it modified in some way by the manufacturer (I mean the kernel, not the apps)? I would think that if this was modified it should have some different name like 2.3.6-M005 and 2.6.35.7-M005 (in this case M005 is a model number) or something like that?
    I already managed to root this tablet and all works but it is slow with some aps like GPS, Maps and Navigation, and has low capacity battery, about 1800 mAh, so I thought that over/underclocking would help to speed it up on demand and save battery when speed is not needed.
    Apart from that I have problem with romdump files because a romdump gives (amongst others) boot.img and system.tar and the latter is a tar archive of system folder and not the tar archive of system.img file so the Android Kitchen does not accept it as a ROM. Therefore the problem is how to make romdump files to be acceptable by the Kitchen?
    I would appreciate any responses, thanks.
    2
    Try to use romdump on my Acer Iconia A210 Tablet:

    Code:
    /data/local/romdump
    Android ROM dumper v0.82b
    (c)2011 Sebastian404
    Device : Acer_AV043_A210_1.034.00_EMEA_DE
    
    Creating required files... cat: can't open '/proc/mtd': No such file or directory
    gzip: can't open '/sdcard/romdump//system.info.gz': File exists
    done.
    Opening mtd table... Segmentation fault

    Tool don't work for me on my iconia a210 but I tried to use dd. That works :)

    I, too, tried getting this to work on an Iconia tablet, but ran into the same issue. Beware that
    Code:
    dd
    doesn't actually work and will create a corrupt image. I had read a insightful post into why this was, but (of course) had no luck finding it back.

    Instead, I modified romdump to look in a temporary path following this answer on Stack Overflow:
    unix.stackexchange.com/a/56939/26151

    My steps were:
    1. Download romdump
    2. Edit it under linux using
      Code:
      sed s-/proc/mtd-/tmp/mntx- < romdump > romdump.new
    3. Push
      Code:
      romdump.new
      to the device
    4. Code:
      adb shell
      to the device and execute:
      Code:
      mkdir /tmp
      ln -s /proc/mounts /tmp/mntx
      chmod 04755 /data/local/romdump.new
      /data/local/romdump.new
    5. Locate the backup at
      Code:
      /mnt/sdcard/romdump