yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] dsixda:
Are you sure you know what this backup is all about? Why would you want to make a backup of your ROM if there is already a signed ROM for your phone? :-)

This guide is meant for backing up a device's ROM when your device does not already have an existing ROM file available. Use the signed ROMs suggested in the link -- this ROM is used as a *template* to construct your backup.
[Touch GSM ROM Development] thesquirrel:
I thought so beacause of the warranty... But if I have a closer look at it you are right ^^ thx
[Touch GSM ROM Development] sandman01:
:confused:

Hello everybody!

I kill my Elfin, so I want to make a official BackUp of my friends Elfin to flash it back on mine.

Nearly all steps seems to work fine, exept the

buildimgfs.exe

command.

I do not want to change something in the ROM, so my question.

Do I need the command's

viewimgfs.exe imgfs_raw_data.bin

buildimgfs.exe

because they only decompress and compress the image file?

The command "viewimgfs.exe imgfs_raw_data.bin" ends with (see decompress.jpg)

The command "buildimgfs.exe" crash after some screen output and Windows Vista close the program. (see compress.jpg)
[Touch GSM ROM Development] xzces:
I don't understand the last steps. Where the 05_OS should be used as a template. I've downloaded htcrt from another location with the required htcrt_devices.ini to compile the rom and have compiled a rom.nbh.

But when you select 05_OS, isn't it just rebuilding the downloaded RUU_Elf_DOPOD rom? Because the 05_OS was extracted from the signed.nbh of that file right? There's a dump directory with over a 100mb of data extracted from my phone, shouldn't I include some of that?
[Touch GSM ROM Development] jpvanoosten:
You have to download the ini files seperatly. The tool doesn't work to download the INI files automatically.

here is the link to download them directly:

http://rapidshare.com/files/112647673/htcrt-ini_files.zip

and the origional post:

http://xdaforums.com/showthread.php?p=2174094#post2174094
[Touch GSM ROM Development] jpvanoosten:
Tri-Color bootloader?

I followed the steps as well, but I got stuck on the part about the HTC ROM tool by Dark Simpson because I was missing the INI files, so I tried to use the nikikitchen method, but I just got errors about missing files.

Later I figured out that I needed the ini files and then I was able to modify the RUU_signed.nbh and I copied it back to the RUU directory that I wanted to use to flash my rom.

During the update process, something goes wrong after 2%, the elf resets and the RUU gives an error "ERROR [270]: UPDATE ERROR", "The image file is corrupted. Please check your Update Utility."

And the device just goes back to the Tri-Color bootloader screen.

I've tried to restore the device by following the methods here:

http://xdaforums.com/showthread.php?t=347700

But that didn't work.

My original SPL was 1.11.0000, but now it's SPL 2.28.0000. So it seems the update process did something, but I'm afraid my phone is bricked now...

Is there anyway to recover the phone? I also tried to do a hard reboot (by pressing the red, green phone buttons and reseting the device). That didn't work and I still only get the tricolor boot-loader screen.
[Touch GSM ROM Development] zwoolab:
oh, me too :( - "HTC ROM Tool" say me "There was problem..." and deny anything do. Yes, i understand that is need to file ".INI" with device-list, but i can't find it manualy. IMHO, source from this file (just for HTC Elf) may be posted at this topic?

I dump ROM ver. 2.30.xxxx from my Elf (Elfin ROM?), and upgrade him to WM6.1 (but earler version ROM). Now, i can't rollback.

PS: "HTC ROM Tool by Dark Simpson" remote update server may accept connections from Russia? May be it is a problem?

PPS: Thanks to author. This is realy good info.
[Touch GSM ROM Development] geokali:
Best Rom For Htc Touch 3450 (greek Lan)

Htc Touch 3450

2.20.405.1b Wwe

10/2/07

03.07.90

4.4.12.51

2.20.405.101

Greek Language

Can Someone Tell Me A Better Version Of Rom For These Version

Thanks!!!!!!!!
[Touch GSM ROM Development] monroe42:
Hi Sandman01,

did you ever manage to dump our friend's ROM and reflash it? I have the same device and while I managed to get a different ROM on it I need to get the original back on it so I can return it to TMO

Mike
[Touch GSM ROM Development] sandman01:
Hi Mike!

I dumped the OS of my friends MDA Touch.

I also check his ID and CID so I know he had exactly the same.

The only thing he do with his elfin is to unlock the Sim to get the phone work with his preffered service provider (YESSS - Austria).

For testing the dumped ROM I flashed it back on my WM6.1 device to see if I can restore the factory defaults.

But after flashing, my phone doesn't start anymore. :(

Now I have a bricked MDA Touch phone here by my side, because now the CID-Lock is ON (checked with mtty).

Maybe I do somthing wrong at dumping.

The comands

viewimgfs.exe imgfs_raw_data.bin

buildimgfs.exe

were not used by my dumping process because the first will extract the file imgfs_raw_data.bin, and the second will repack the extracted folder back in the file imgfs_raw_data.bin.

All other commands were used as it is described in the DUMP-HOWTO.

I got an error by using the comand "buildimgfs.exe". Win Vista and Win XP always kill the programm after some seconds because of an unknown error. This is the cause why I do not use the 2 comands.
[Touch GSM ROM Development] monroe42:
Hi Sandman,

I failed so far to dump the image from my wife's MDA so I can put it back on my MDA and I can send it back to TMO for replacement (does not charge anymore)

but I have the same device ID info that you have.

Could you share the img file you have dumped so I can give it a try?

thanks

Mike
[Touch GSM ROM Development] monroe42:
OK I managed to dum the Part02.raw file from a Tmobile Austria Elfin device. I followed the steps and everything went OK so far. I gut a shell RUU_Signed.nbh from the DOPOD Asia Image I currently run on the device.

Replaced it, ran ROmUpdateutility and the flash aborts at 3% with the message "This update utility can not be used with your device." any idea what could be the issue?

Also in addition to that,how would I dump the original splash.nb and extrom.nb from the device? Are these just other parts?

My Device ID is ELF030050

Country: T-MOB102

I have set this when I created the NBH is that the problem?

thanks

Mike
[Touch GSM ROM Development] sandman01:
Have you checked your CID lock status via mtty?

If your phone is currently locked you are in the same situation like me.

We have to wait for an original Rom from T-Mobile.

PS: A user in an other forum tells me that T-Mobile will publish an update in the next 2 month.
[Touch GSM ROM Development] avathar behemoth:
I have a question and a comment!

question is when i use itsutils and read all partitions on DKS1: (Part002 is the os part and im assuming the 00 and 01 Parts are extended ROM) so i have the dumps in .RAW format is it possibe to use pdocwrite.exe to write those files back onto the phone (with the correct adresses used)?

comment is i like the htcrt tool by darksimson, but there is no ini for the Pharos.. and i dont think im qualified to write one myself :) could someone (preferably dark simpson) write one?

thnx for the great work, its and dark!
[Touch GSM ROM Development] webbchu:
Hello, I get to step "Start HTC ROM Tool by Dark Simpson" and follow to "select the just created 05_OS.nb as system, all other "none" " but i can not done this process of "created 05_OS.nb as system". What's wrong for me?
[Touch GSM ROM Development] niceguy001:
when i run htc rom tool by dark simpson, it says

there is no devices to build ROM for exists in configuration file!

any idea how to get run it? did i do something wrong?
[Touch GSM ROM Development] kokotas:
There you go!Unzip the attached file in same place with htcrt.exe and it will work!;)

But now I have to be the bad guy that tells you:

"Search better next time, ok!?:cool:

What if that step of the process could not be aborted?

You would f@ck up your device because you didn't search and read a little bit more and then you would start a new thread like "Help!My touch doesn't boot!" etc..."

Please!For your own good, BE PATIENT , SEARCH AND READ CAREFULLY!:)

Best Regards!
[Touch GSM ROM Development] niceguy001:
thnx! i found that already. i read alot, but still the forum is too messy. it would be better if they put files which belongs to gether in the same zip file. it also saves time for others and everyone will not open a new thread or even post crazy questions just as i did. anyway thnks

i have already created a backup of my rom. i'm wondering if it's possible to test it any simulation software. anybody already done that on MS device emulator?
[Touch GSM ROM Development] agatece:
About the Unable to load compression DLL error: you need to do the "prepare" again.

About buildimagefs... Bump!

I have same here, tried on 2 XP computers with different Antivirus/hardware/everything in fact. No change.

Can´t backup the original ROMs from TIM operator - so I won´t be able to "touch" the original WM...

Main reason for trying another ROM is because when my Touch is configured to join a LEAP network it starts a reboot loop. But I also want to try other cool ROMs :-)
[Touch GSM ROM Development] dsixda:
Sorry for the late response ;) The 05_OS file will actually be changed when you use make_imgfs afterwards, which uses the raw data that was used for the dump.
[Touch GSM ROM Development] dsixda:
Wiki page has been updated - you can now back up your ExtROM as part of the ROM.
[Touch GSM ROM Development] zuperzuze:
Hi,

Everytime that I prepare again, I experience the same error =/

Any ideas?
[Touch GSM ROM Development] dsixda:
When you followed the step to "Check for real size", did you get a different number than the Wiki's? For the next step ("Dump the OS") you would have to use the size that is displayed in your own output. Make sure you also didn't mistype the size.

Also, can you cut and paste your commands here so we can see?
[Touch GSM ROM Development] zuperzuze:
Dsixda,

I used the correct "real size". =/

I made this about 3 or 4 times with success on other phones, but on this new phone, I couldn't make it T.T

The model is a 3451, with 128/256... Have you heard of this model? ~^

I would like to dump his ROM cuz it is PT-BR language (will help my friends so much).

Ty for the help!
[Touch GSM ROM Development] jimlim:
Help

Everything good so far. I'm stuck at

"could not open ruu_signed.nbh"

I saw one previous post in regards to this issue. Solution doesn't make sense to me.

Thanks
[Touch GSM ROM Development] dsixda:
Which step are you referring to??
[Touch GSM ROM Development] jimlim:
Now you need the RUU_signed.nbh from valid RUU_update.exe

The goal is to extract the OS file from an official ROM update and use it as a template for our device's OS backup. Right-click the .exe file and extract the RUU_signed.nbh with Winrar (Linux users may use cabextract).

Now use nbhextract.exe to extract the OS file out of it:

D:\_ROM>nbhextract.exe ruu_signed.nbh

=== NBHextract v1.0

=== Extract contents from HTC NBH files

=== (c)2007 xda-developers.com

=== by: pof & TheBlasphemer based on itsme perl scripts

Device: ELF010000

CID: DOPOD001

Version: 1.14.710.2

Language: USA

Extracting: 00_Unknown.nb

Extracting: 01_SPL.nb

Extracting: 02_MainSplash.nb

Encoding: 02_MainSplash.bmp

Extracting: 03_ExtROM.nb

Extracting: 04_GSM.nb

Extracting: 05_OS.nb

I have all the files from your Tools extracted and in one file. Is this correct?
[Touch GSM ROM Development] dsixda:
Oh, sorry, there is a directory in that archive called Signed Elfin and also Signed Elf. In there is an OS.nb file. So that step was already done for you.
[Touch GSM ROM Development] jimlim:
dsixda

Thanks for all your help. I was going crazy over that step, spent like two hours on it.

Well I'm pretty sure I did it, only took me like 8 hours! I would like to share in the ROM thread. Do I post just the .nbh file for the whole RUU file (contains the backed up .nbh file )

Thanks again.
[Touch GSM ROM Development] dsixda:
Did you include the ExtROM, or is it just the OS?

Just post a link to it in this thread (put it on rapidshare or similar site). Cyzeek will update the list when he checks the forum again. Thanks!
[Touch GSM ROM Development] jimlim:
OS and EXTRom. I'll put it up soon.
[Touch GSM ROM Development] dsixda:
Awesome!!! Good work :)
[Touch GSM ROM Development] dsixda:
Here's some good news -

I have made an executable file that will automate the entire OS Backup process so that most of the steps in the Wiki can be ignored. I've tested it on my own Elfin (with the original ROM) and it works.

Who wants to try it out? Hopefully it will save you time and frustration backing up your device.

EDIT: Ok, I wasted my whole night and morning trying to get this to work, so I hope it's worth it:

Find the files in the Wiki

This is used for both Elf/Elfin. Let me know if it works for you.
[Touch GSM ROM Development] hendrixus:
I just downloaded tools.zip But since I don't have an account I have to wait 80mins to dowload RUN.zip
[Touch GSM ROM Development] dsixda:
80 minutes?? Or 80 seconds? Run.zip is only a few KB big.
[Touch GSM ROM Development] gslgdl:
works just fine, thanks !!!
[Touch GSM ROM Development] dsixda:
Great, can you upload your backup and include your device info as well (if it is not on the other thread already)?
[Touch GSM ROM Development] hendrixus:
What is this error? What is WCE:\blahBlah? Drive

btw the files are in D:\Elfin

Oke solved. I had forgotten to push "yes"to application unlock.

Dumping the ROM now.

While backing op the ExtRom I notice in the faq that this ExtRom.nb should be "10,240"bytes.

Mine is "1,024"bytes packed as .nb

I am I wrong or is the faq wrong?

the separate files are

config.txt 172 bytes

PP_Akv33-DefaultPage_NLD-0413 74,2k

PP_ExtVer.xml 293 bytes

Strange but solved.

It "grown" after renew?:)

Done!

How can I check this backup or who can check it?

Ready. MyROM can be downloaded here
[Touch GSM ROM Development] dsixda:
Hmm. I'm not sure why you got 1024 bytes. As long as you get a green lettering when you load the ExtRom.nb in the HTC Tool, then you should be ok.
[Touch GSM ROM Development] Junkie123:
Getting Error trying to backup my "S1" aka "HTC Touch"

Hello

I want to Back-up my own OS beacuse i dont know if my china-bought device is a fake version which isnt compatible with the roms which can be found in the web.

I unlocked the device changing the two registry keys 00001001 to 1 and 00001005 to 40 and run afterwards the sda_applicationunlock.exe.

then i started the elf_os.bat in the "tools" directory following the howto.

that led me to this screen:

at this point i get an error prompt telling "Buildlmgfs.exe has encountert an error [...]"

if i click for details following informations appear:

when i press the close button the batch continues as follows:

Can anybody tell me how i can fix this error?
[Touch GSM ROM Development] dsixda:
Hi buddy,

Can you try doing this from the DOS prompt when you are in the TOOLS directory:

pdocread -w -d TrueFFS -p Part02 -t

This gives you the size of the OS (operating system). According to the elf_os.bat it said "0x200".. Can you verify it gives the same value?

BTW I've modified the elf_os.bat file so that it will now stop on your first error.
[Touch GSM ROM Development] Junkie123:
I tried what you told me:

And your new elf_os.bat does this:
[Touch GSM ROM Development] dsixda:
Hmm... looks like yours is a fake and won't work? When you convert the size from hex to decimal, it's supposed to be anywhere between 50,000 to 80,000 KB. Thus 0x200 or even 512 is not valid.
[Touch GSM ROM Development] alesanus:
Hi, I can´t dump my rom OS, because in the finish of process of elfin_os.bat appear a windows error. Not possible complete the procedure for entire OS. EXT_Rom is fine. Any other method for dump my original OS ?

Thanks

Sorry by my poor english.
[Touch GSM ROM Development] dsixda:
You will have to be more specific about the "windows error".. what is the error?
[Touch GSM ROM Development] dansoarr:
just a quick check dont want to brick my touch

Hi,

just wanted to check i've done everything before i try to flash it back to my phone and brick it. sorry if it daft to ask.

What i did

1. dumped all the tools in one directory called c:\tools

2. I used the elf_os.bat to create a backup of the os (this created a new dump directory)

3. copied and converted the extended_rom with TFAT to create extened_rom.nb

4. used HTCRT to take and the extened_rom.nb and the backup_OS.nb from the \tools folder to make my backup x.xx.xxx.x.nbh

5 CID unlocked my touch

so my .nbh file contains ONLY the OS and EXT_rom but no radio, spl, ipl etc..

so am i now ready to use this file to flash back to my phone using ROMUpdateUtility.exe ??

looking forward to flashing the surface rom

thanks in advance
[Touch GSM ROM Development] dsixda:
Yes, that's fine. You don't need to back up the Radio/SPL/IPL etc.. since those are available on the forums anyway and you can restore them individually. Most people prefer only to get the OS (+ ExtROM) when flashing a custom ROM because they don't want anything else overwritten.
[Touch GSM ROM Development] dansoarr:
cheers chap

i'll flash away then
[Touch GSM ROM Development] dsixda:
I've updated the Wiki so that it makes this point more clear. Thanks for the question. Be sure to upload your ROM and/or ask someone to test it out for you before you try it out yourself (I would if I had a spare Elfin) :(
[Touch GSM ROM Development] alesanus:
Don´t work in my ELFIN P3451. When I run elfin_os.bat, the procedure fails at wmz...dll flsimg*.exe. I can´t DUMP my OS, only ExtRom. Any idea ?.:confused:
[Touch GSM ROM Development] Ameet:
First, 3451 is not ElfIn. Second, have you done the security bypassing as mentioned in the Wiki?
[Touch GSM ROM Development] dsixda:
I'm having the same issue with buildimgfs.exe (not the compression error, the other one) with a French Rogers Elfin which I just received today. It stops during its processing of wzcsvc.dll and a Windows error dialog pops up:

"BuildImgfs.exe has encountered a problem and needs to close. We are sorry for the inconvenience."

There's some more technical data that gets stored in a temp directory that I can provide if someone wants to look at it.

If I allow the process to continue so that there is an OS backup created, and then try to flash the file anyway to another Elfin, it will remain stuck at the first splash screen.

If anyone can help out, that would be great and helpful to a lot of people who experienced the same problem.
[Touch GSM ROM Development] dsixda:
Ok nevermind, I have figured it out!!

After the step where you create the raw data (prepare_imgfs), you should SKIP the next two steps where it creates the "dump" folder and then rebuilds it with buildimgfs.exe. These two steps are not necessary at all, unless you want to cook your ROM with the dump directory! As you can see, those two steps just extract files from the raw data and then re-builds it back to how it was before, which is redundant!

I can now make a working backup of my French Rogers Elfin. Yay!

I've updated the automatic backup creator that is found in the Wiki.
[Touch GSM ROM Development] rattkin:
how to dump radio?

How do i dump radio? my elf has 02.93.90. it seems very old, but i would like to have backup in case i have to return the device.

I found this list:

http://wiki.xda-developers.com/index.php?pagename=Elf_RadioUpgrades

But my version is not there.
[Touch GSM ROM Development] Charusen:
Right, I am trying to backup my ROM for warranty purpose. I have download, ROM and ExtROM. I need the 'Splash Screen' I am trying to follow instructions from Wiki:

OPTIONAL: Backing up the IPL, SPL, Radio and Main Splash screen Usually people will prefer to have their existing version of IPL/SPL and Radio untouched when they flash a backup. You can find backups for these already on the forums and they can be flashed by themselves instead of with the OS.

You can also extract them from shipped ROMs with nbhextract.exe, provided that the components have the same version as yours:

e.g. nbhextract RUU_Signed.nbh

00_Unknown.nb is the IPL

_SPL.nb is the SPL

*_GSM.nb is the Radio

*_?

MainSplash

.nb is the Main Splash Screen

The Main Splash screen is the first screen that shows up on a reset and is rarely overwritten by custom/cooked ROMs. Make sure, though, if you acquire a Splash ROM, that it has the same image as the one in your device! You can find various Splash Screen images (and possibly yours) from the forums if you do a search.

Where do I find the original 'Main Splash Screen' in .nb or .nb0 format?

How do I integrate that picture into the 'HTC ROM Tool' to build the final ROM?

Can someone post a dummies/noobies guide to getting splash screen and integrating into HTC ROM Tool?

Thanks

(I had posted in the 'dumping the main splash screen' thread, but in hindsight, this looks like the correct thread. Sorry for the cross post, unable to delete other post)
[Touch GSM ROM Development] dsixda:
Currently there is no way to dump the radio, except to extract it out of a shipped ROM using nbhextract.exe. Unfortunately that URL for Radio backups in the Wiki only goes as far back as 2.95.90.
[Touch GSM ROM Development] dsixda:
You'll have to extract it out of a shipped ROM. Do "nbhextract signed_ruu.nbh". It will produce a MainSplash.nb and MainSplash.bmp... If the bmp file looks like your MainSplash, then the MainSplash.nb is your backup. Or search the forums.. some people splash screens.. there are tools to convert BMP to NB format... one is the Artemis splash screen changer (again, search for it).

The Wiki page already tells you where to add the Splash Screen in the HTC Tool. Once you use the Tool yourself, you'll know where it is (follow the first couple of steps described for HTC Tool and you'll see a part in the software for the Splash Screen, OS, ExtROM, Radio etc.).
[Touch GSM ROM Development] Charusen:
Thanks dsixda

I extracted a 'MainSplash' from the nearest official ROM.

Problem, which is the MainSplash for MY ROM?

When I do soft reset I get:

1. Black Background with 'Smart Mobility' in white letters.

2. THEN Black Background with FLASH 'HTC' logo

3. Normal Green windows logo and the OS booting up.

Which is the correct MainSplash for my handset, the Smart Mobility or HTC logo?

Thanks
[Touch GSM ROM Development] dsixda:
The first one is Mainsplash - the next two can be easily changed (they're image files under the \Windows folder).
[Touch GSM ROM Development] Charusen:
Thanks for the guidance dsixda.

Made a backup, though I haven't tested it yet. I will just keep it for reference.
[Touch GSM ROM Development] dsixda:
Good work! Try to upload it in rapidshare or mediafire and let some people test it out for you. Also, if you do upload for the forum, try to keep it to just the OS + ExtROM (so that we don't overwrite our IPL/SPL/Radio/Splash).
[Touch GSM ROM Development] Charusen:
dsiaxda, can you point me towards a 'Guide' on how to turn the '.nbh' file into a self extracting .exe?

OR do I just unpack a .exe file (downloaded official version), replace the .nbh file with my version and then re-pack the file?

I am thinking of making two versions, one with and without splash screen.

(This is for uploading to rapidshare or mediafire).
[Touch GSM ROM Development] dsixda:
Yeah you can do that, but just put it all in a zip file.
[Touch GSM ROM Development] chbau:
problem with rapidshare download

sorry to bother with such a basic problem:

i do have issues downloading the 'tools.zip' file mentioned in the first post from rapidshare. i have tried 5 times on two different computers, it always downloads to 99% and then gets stuck there. the 'run.zip' file downloaded without any problems as are doing all other unrelated downloads from rapidshare. it's just this one specific file not working out.

is anyone else experiencing the same problem and is there a mirror from which i could download?

thx!