Jump to content

How to /dump/ the ROM image ?


Guest Minishlink

Recommended Posts

Guest sipos

I'm slightly confused. This post by Paul (about rooting the HTC Desire) says that "This process will wipe your device and there is currently no option to backup your device ROM before you start". Is there some caveat that I am missing or, can we use the method described here to backup the original ROM?

Link to comment
Share on other sites

Guest moodi
so u tested this method to flash back your original desire rom without any problems?

btw, u having 0.75 or 0.80 hboot?

No HBOOT modification.

@hkfriends

Can you re-up your file on another server please?

Link to comment
Share on other sites

Guest taz5176
No HBOOT modification.

@hkfriends

Can you re-up your file on another server please?

i read the unrooting thread, seems there's some problems on desire with hboot 0.80, im still very blur

actually i wanna backup my stock rom in case anything happen, i can revert back & send for svc.

btw, im using 1.19.707.7, the only asia stock rom ruu i found close enough is 1.19.707.6, kinda different.

believe the slight ver difference could be due to my mobile provider

Link to comment
Share on other sites

Guest moodi

Good News

everything is working as well right now.

i'll try to upload the zip tomorow.

post-56688-1275089232_thumb.png

@taz5176

Can you upload your backup?

Link to comment
Share on other sites

Guest Ragga95
Good News

everything is working as well right now.

i'll try to upload the zip tomorow.

post-56688-1275089232_thumb.png

@taz5176

Can you upload your backup?

Oh yes , very good :(

Edited by Ragga95
Link to comment
Share on other sites

Guest traspler

So I just dumped my /system folder as explained above, untared it and made a META-INF folder and used this update-script: http://android.modaco.com/index.php?s=&amp...t&p=1280676 and finally I signed it by following the mentioned guide.

Is this really everything needed to get my phone back to stock if I flashed a custom ROM before? No boot.img? No need to dump /data ?

Link to comment
Share on other sites

Guest moodi

show_progress 0.1 0


format SYSTEM:

copy_dir PACKAGE:system SYSTEM:

symlink dumpstate SYSTEM:bin/dumpcrash

symlink toolbox SYSTEM:bin/cat

symlink toolbox SYSTEM:bin/chmod

symlink toolbox SYSTEM:bin/chown

symlink toolbox SYSTEM:bin/cmp

symlink toolbox SYSTEM:bin/date

symlink toolbox SYSTEM:bin/dd

symlink toolbox SYSTEM:bin/df

symlink toolbox SYSTEM:bin/dmesg

symlink toolbox SYSTEM:bin/getevent

symlink toolbox SYSTEM:bin/getprop

symlink toolbox SYSTEM:bin/hd

symlink toolbox SYSTEM:bin/id

symlink toolbox SYSTEM:bin/ifconfig

symlink toolbox SYSTEM:bin/iftop

symlink toolbox SYSTEM:bin/insmod

symlink toolbox SYSTEM:bin/ioctl

symlink toolbox SYSTEM:bin/kill

symlink toolbox SYSTEM:bin/ln

symlink toolbox SYSTEM:bin/log

symlink toolbox SYSTEM:bin/ls

symlink toolbox SYSTEM:bin/lsmod

symlink toolbox SYSTEM:bin/mkdir

symlink toolbox SYSTEM:bin/mount

symlink toolbox SYSTEM:bin/mv

symlink toolbox SYSTEM:bin/netstat

symlink toolbox SYSTEM:bin/newfs_msdos

symlink toolbox SYSTEM:bin/notify

symlink toolbox SYSTEM:bin/printenv

symlink toolbox SYSTEM:bin/ps

symlink toolbox SYSTEM:bin/renice

symlink toolbox SYSTEM:bin/rm

symlink toolbox SYSTEM:bin/rmdir

symlink toolbox SYSTEM:bin/rmmod

symlink toolbox SYSTEM:bin/route

symlink toolbox SYSTEM:bin/schedtop

symlink toolbox SYSTEM:bin/sendevent

symlink toolbox SYSTEM:bin/setconsole

symlink toolbox SYSTEM:bin/setprop

symlink toolbox SYSTEM:bin/sleep

symlink toolbox SYSTEM:bin/smd

symlink toolbox SYSTEM:bin/start

symlink toolbox SYSTEM:bin/stop

symlink toolbox SYSTEM:bin/sync

symlink toolbox SYSTEM:bin/top

symlink toolbox SYSTEM:bin/umount

symlink toolbox SYSTEM:bin/vmstat

symlink toolbox SYSTEM:bin/watchprops

symlink toolbox SYSTEM:bin/wipe

set_perm_recursive 0 0 0755 0644 SYSTEM:

set_perm_recursive 0 2000 0755 0755 SYSTEM:bin

set_perm 0 3003 02755 SYSTEM:bin/netcfg

set_perm 0 3004 02755 SYSTEM:bin/ping

set_perm 0 2000 06755 SYSTEM:bin/reboot

set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez

set_perm 0 0 0755 SYSTEM:etc/bluez

set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf

set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks

set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh

show_progress 0.1 10


show_progress 0.2 0

format BOOT:

write_raw_image PACKAGE:boot.img BOOT:

show_progress 0.2 10

can you up your tar?

Because you need to remove or replace some files...

Edited by moodi
Link to comment
Share on other sites

Guest SonicArt77

Hey I have a dump from my 1.20 Taiwan ROM (CHT). Can you help me with it? Thanks.

here's the link:

http://www.mediafire.com/?sharekey=7fbbcf2...3d3b27b45453728

By the way, I've noticed that the HTC_CIME inside actually works WITH multitouch. However, when I extract it out and install it by itself , it won't show up as an input device...

Edited by SonicArt77
Link to comment
Share on other sites

Guest ksc91u
Hey I have a dump from my 1.20 Taiwan ROM (CHT). Can you help me with it? Thanks.

here's the link:

http://www.mediafire.com/?sharekey=7fbbcf2...3d3b27b45453728

By the way, I've noticed that the HTC_CIME inside actually works WITH multitouch. However, when I extract it out and install it by itself , it won't show up as an input device...

The part1 you upload is incomplete?

Link to comment
Share on other sites

Guest toellby

Has anyone a working Dump of German T-Mobile ROM?

In the german Android-Forum there is a zip, but it won't work:

http://www.android-hilfe.de/root-hacking-m...html#post336372

I tried, but it does not work:

Did a complete Wipe and tried to Flash using Zip from SD:

E: Can't chown/mod /system/etc/bluez

(No such file or directory)

E: Failure at line 9:

set_perm_ recursive 1002 1002 0755 0440 SYSTEM:etc/blue

Link to comment
Share on other sites

Guest moodi

T-Mobile GERMAN Stock System

WARNING! You do this at your own risk. I hold NO responsibility for anything that goes wrong.

HERE

Soft N° 1.15.110.11

post-56688-1275479070_thumb.png post-56688-1275479075_thumb.png

post-56688-1275479083_thumb.png post-56688-1275479088_thumb.png

Edited by moodi
Link to comment
Share on other sites

Guest dweebuk

I don't suppose anyone has the official vodafone uk rom? Or knows where I can download from?

When FroYo is released for the Desire, will Vodafone release a new rom? I am getting a bit nervy that I am not going to be able to put it on my phone because its rooted and flashed with the HTC generic rom.

The nerves have set in because I can't do the recent update. It keeps failing with a red ?. I tried a couple of times, the second time my phone kept rebooting at the HTC screen. It rebooted about 20 times before it booted properly.

Any advice please?

Thanks

Daz

Link to comment
Share on other sites

  • 4 weeks later...
Guest 1001101

Is dumping the /system folder really enough to backup before rooting/flashing/generic'ing? I am new to this but it just doesn't seem right that only the system folder would be needed.

Edit: I am dumping the T-Mobile Czech Republic ROM which, I presume, nobody here has (or is it the same one as T-Mobile UK?).

Edited by 1001101
Link to comment
Share on other sites

Guest FelixofMars

Dumping the Orange UK ROM doesn't look too difficult, though digitally signing it looks like a bind. Is anyone else trying to dump it? I might have a go but I feel overwhelmed still. :lol:

Link to comment
Share on other sites

Guest saitrix
Dumping the Orange UK ROM doesn't look too difficult, though digitally signing it looks like a bind. Is anyone else trying to dump it? I might have a go but I feel overwhelmed still. :lol:

Yeah I am trying to do it. I have made a dump of the system and found out some info on the boot.img. Look at this thread for the info I got. As you can expect I am now stuck as I could put it together but I have no guarentee it will work. So if you have any help/input then we might be able to get this sorted! I have pulled the config.gz from my phone, now I just need to try and find out whether the OrangeFR uses the same kernel as the UK. If I am honest I'd be suprised if the french version didn't use the same. Then I was just going to use the Meta-inf from the French rom as I have had a look and it seems like it uses pretty much identical pieces of software.

http://android.modaco.com/content/htc-desi...a-usable-state/

Link to comment
Share on other sites

  • 4 weeks later...
Guest ArtyW

Tried & failed Orange UK ROM Dump

I thought I would give this a try and see if it worked, my fiancee has the same HTC Desire as I do with the same Orange software, so I thought I would give it a go, but it didnt work!

The following is what I did & the guides I followed (many thanks to the people listed for their guides!!)

Followed Minishlink's guide as below:

1) Install Android SDK or simply adb

2) Download busybox for Android

3) Launch Windows console (cmd) and go to the directory where busybox is with the "cd path/to/the/file" command.

4) "adb devices" <- Is your device detected ? If not, install HTC Sync // Of course, before you have to plug your device in... (Sync mode I guess)

5) "adb push busybox /data/local/busybox

6) "adb shell"

7) "cd /sdcard/"

8) "chmod 755 /data/local/busybox" (something like that)

9) "/data/local/busybox tar cvf dump.tar /system"

10) When it's finished, you will have a normal error like 'tar: error exit delayed from previous errors'.

Then I followed moodi's guide below:

You will need:

1. Linux OS (I used Cygwin's Linux for Windows package instead of a Linux OS for this)

2. Yaffs2 tool

3. your System folder (or if you dont have this, extract the dump.tar file, for this I placed this into Cygwin's folder, directory tree: 'C:\cygwin\home\my-user-name/dump')

CODE

cd /where/your/dumped/system/folder/is

./mkfs.yaffs2 system /system.img

exit

My Own Steps:

1) Take the Boot.img from the latest RRU (extracted the testrru.exe file and boot.img is in the '\testrru\rom' directory.

2) Take both the Boot,.img & system.img and dropped them into my Cygwin kitchen, run Cygwin and then run ./menu

3) Choose option 1 (Set up working folder from ROM)

4) Then Option 3 (boot.img & system.img (e.g. from a shipped ROM or Nandroid backup)

5) Then I just used option 99 (Build ROM from working folder

6) Once completed, copied the produced ZIP file to memory card & flashed through recovery

After Formatting SYSTEM then copying files I got errors:

E: Can't symlink /system/bin/dumpcrash

E: Failure at line 5:

symlink dumpstate SYSTEM:bin/dumpcrash

Installation Aborted.

I even tried to replace the system.img into the '\testrru\rom' directory and run ARUWizard.exe but this didnt work either!

As I said before, a big thanks to the guys (and gals?) that made the above guides, if anybody knows what went wrong, please share!!

Arty.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.