How to restore a ROM file? - Windows Mobile Development and Hacking General

I'm able to overwrite or "delete" any ROM file that is visible in the \Windows folder. But how can I restore the original ROM file back without a hard reset?

What do you mean "delete"?
When you copy over a ROM file what actually happens is you file is placed in flash and 'covers' the original file.
If you delete you copy the original file will be back tough you will probably need a soft reset before you can see / use it.
The ROM file it self can not be deleted from windows as it is the representation of actual ROM and not a flash copy.

Probably I did something wrong, but when I wanted to use blue (original, in ROM) CommManager.exe, I had to copy it to the flash card after a hard reset, but before the Extended ROM setup, then copy it back to \Windows. It had "ROM" attribute set. When I tried to delete the green version (copied over from Extended ROM), I ended up with no such a file at all... That's a kind of "delete".
Same I have read in the forum: to save this blue file, then to copy it back.
I want to play with content of extended ROMs available, whcih have newer versions of some system files, and want to be able to restore all things back after tries.
OK, just tried tio delete the green CommManager.exe, and - voila!- the blue one with ROM attribute appeared immediatelly! So, it was really a misunderstanding... still curious why the blue one was even uploaded there for downloading...

Related

Is there a way to override a rom file?

Is there a way to override a rom file?
I found welcomehead.192.png the windows boot screen, not the initial imate one, the blue windows one, ive edited the png, but cant replace the file as it is in rom, any suggestions as how to do this? or is it wait until someone works out how to open the nbf file and then change that way?
Theres nothing in the registry that i can find that points to this file
anyone?
just overwrite the file with the same name. ignore errors
1. As sama says, just use a proper file explorer (Resco/Total) to overwrite the ROM file. If you delete the new file the old one will still be there in ROM.
2. The ROMs can be decoded, you can change the ROM then flash it. This is not a safe thing to do, and is complicated. However, this is a total waste of time (hours) for a 100KB image file unless you really can't afford 100KB in your Programs Memory.
3. If you want, you can also change the "initial imate one" too. Buzz has the tools and instructions on his site (http://buzzdev.net). This will be a flash job, but takes up no space and a hard reset won't wipe it.
Hope this helps.

How to repalce tapres.dll?

I dumped tapres.dll to my PC, modified some of the phone dialogues using Resource Builder 2, now how do I replace tapres.dll on my HTC Apache?
I can't copy it into the PPC's windows directory where the original is, because the original is locked.
Any help with this?
Try total commander. It worked for me in a similar situation.
Can i ask you what you have changed?
Copy the file to the windows directory using total commander, it will overwrite. It still doesnt seam to let you delete the "system" file, but you can overwrite (at least it worked for me)
Later; Lew
Hey Lew,
TC seemed to do it for me first time, wrote over the system file. Decided I needed more work on my edited version, did so...second time around, it wouldn't overwrite my updated tapres.dll on the device.
So, decided to restore the original backed up copy. It let me rename my updated version which DID work, though visually unappealing (Ugly). Copied the original over, reset, no phone. Ugh.
Renamed the ugly version back, and was able to overwrite it with the original backed up tapres.dll. Reset..and again no phone. I have a nice PDA now, without the use of the phone. Grrrr.
Brick anyone?

How to change boot (splash) image?

Any ideas how to change the boot image on the prophet?
changing boot image
Got this info from PPCSG - so all credit goes to them (especially farbird). This changes the 2nd splash screen (the one with the windows logo on the blue background). The HTC/Dopod splash screen which appears after every reset is still there.
1) copy the welcome96.png file to your desktop from ppc. edit it... do not change the dimensions.
2) save that edited file as 'welcomehead.961.png' and copy it into your ppc /windows folder.
3) open total commander in ppc. go to windows folder, tap on hold on the original welcomehead.96.png, click properties, uncheck all the boxes under attributes. select ok.
4) total commander will refresh the directory, rename it now to 'welcomehead.962.png'. After that look for your edited file copied from the pc ie welcomehead.961.png.. rename it to welcomehead.96.png. after that, tap and hold and click on properties. check the box that says " read only, hidden, system "
once that is done, do a soft reboot. u should be able to see your new bootup screen after the rom version is up.
There is another way using activesync, but it didn't work for me as it gives me a write-protect error.
Do a search here @ xda-dev, u shld get the same info...
Hi,
this does not work on GER Vodafone ROM 2.15.3.26 cause welcome.96.png is in the rom part and not deletable.
funnysurf said:
Hi,
this does not work on GER Vodafone ROM 2.15.3.26 cause welcome.96.png is in the rom part and not deletable.
Click to expand...
Click to collapse
Yes, that file is a ROM file and cannot be deleted. BUT if you use TotalCommander, you can rename that file to something else, rename your new splash image file to welcome.96.png, copy it to your windows folder and set its attributes to read only, system, & hidden. AND the changes will be permanent. Try it.
The reason it being a ROM file is why I was unable to copy & paste using the activesync method. But the way I did it works. Make sure you use Total Commander & not resco explorer or the built-in file explorer
krale said:
Any ideas how to change the boot image on the prophet?
Click to expand...
Click to collapse
this feature will also add soon in JAFWM, i think is a very usefull option.
Putra said:
funnysurf said:
Hi,
this does not work on GER Vodafone ROM 2.15.3.26 cause welcome.96.png is in the rom part and not deletable.
Click to expand...
Click to collapse
Yes, that file is a ROM file and cannot be deleted. BUT if you use TotalCommander, you can rename that file to something else, rename your new splash image file to welcome.96.png, copy it to your windows folder and set its attributes to read only, system, & hidden. AND the changes will be permanent. Try it.
The reason it being a ROM file is why I was unable to copy & paste using the activesync method. But the way I did it works. Make sure you use Total Commander & not resco explorer or the built-in file explorer
Click to expand...
Click to collapse
Hi Pruta,
O.K., now I was able to rename welcome.96.png and replaced it with my PNG.
Softreset... Sh*t, the 'old' welcome.96.png was shown. O.K., my device wants war...it gets war .
I was able to DELETE the old (original) welcome.96.png.
Softreset... Aaaaahhhhh nothing changed!
O.K. continued search. I found a file named welcomehead.96.png, that is the same image than the original welcome.96.png.
The only prob is, I'm NOT able to rename or delete/replace it.
Are there anybody that also use the Vodafone rom and can test to change the boot image???
Attached file is welcomehead.96.png
If you can change the attributes to exclude System, and Read-Only, it should be able to change/remove it.
Hi krale,
nope. It's not possible to change the attributes. See attached MPG.
I was able to do it with total commander...
here is the link
http://www.ppcsg.com/index.php?showtopic=71471&st=40#
thanks for the credit, Putra.
Appreciated.
Do not delete, but overwrite
@farbird: Sure, bro - after all it was your post @ PPCSG that helped me change the splash screen.
Important: do no delete the welcomehead file as it is ROM file, and it will automatically be created again. The trick is to overwrite the file with another file but with EXACTLY the same name and attributes (except ROM). So Windows will not try to create the file again.
After you change the attributes of the original welcomehead file, NO NEED to check if it has changed - Total Commander will show it as NOT changed (meaning all the check marks are still present).
Just go ahead and rename that file, then rename your splash image file to welcomehead.96.png, and set the attributes, and it should work.
I used this trick to "delete" a useless movie file: 1-nature_15fps.mp4 (274K, I think). I created an empty txt file called 1-nature_15fps.txt (0B), copied into the windows folder, performed the trick, and now I have a 1-nature_15fps.mp4 file which is 0 bytes! Just a little experiment, which may come in handy if you really need the space.
Hope the above explains things a little.
HELP!! How to change 1st Splash and HTC splash
Hi EveryBody
i've Imate JamIN
batterystatus overclocked to 286MHz
Rom: PDAVIET 4.0.0.4 (totally stable)
i know how to change the 2nd Splash (concerned of Windows)
but i dont know how to change the 1st Splash (that of Imate or Qtek) OR the Splash concerned of white backgrounded HTC Innovation...
Can anybody help me in full details, step by step and straight commands
NB. I still dont know what is CID, IPL , SPL... (please let me understand these terms)
Welcome ksadek
read the xda wiki to find out what CID IPL and SPL are

A (maybe) usefull idea

I used the testwm5.exe to extract the mui files, so to be able to change the mui language to greek. I have an hp ipaq hx2490b and I cannot etract the imgfs files(the program says dont found) from the nba file. So thing that its maybe we can put the mui files( and other files) in rom without to flash via the full backup file from spb backup or pther backup program. I havent eperiance or so much knowledge about these things, so I ask if it is possible to happens somthing like this. To extract some how the files of the backup file and replace the files that we want, and after compress it again.
Just thnk about it.
Thanks!
testwm5.exe doesn't create pure copies of the original files. Compare them in a hex editor and PE analyser. However, they generally work.
spb and similar apps don't create backups of the rom files - they don't need to because they are in rom. However, this means that these backups cannot restore a rom, just user generated files.
V
You can't put the file into the ROM without flashing. Backup software do not touch the ROM, it just replaces the files. If you already have the mui files in your phone, you can do a backup. and the next time you perform a hardreset, you will just need to restore from this backup file.
Ok. Thanks for the quick replay!
So any way to change the mui on this device. So far I didnt find something usefull, but maybe I miss something. Anyone that did it with hx2490b?
Just copy the MUI to windows, set the MUI key in registry to the correct LCID and reset.
Note that system MUIs like shellres.dll.0xxx.mui must be signed to load.

Jade Phone Dial Pad

I find that the original phone dial pad is rather dull, so I modified it (see attached) and would like to share with other users. If you like the new dial pad do the followings for installation.
How to install?
A) Find the 5 files below in \windows directory and copy to a another directory (just in case) using Total Commander (or others)
a) Assets_Dialer_Normal.bmp
b) Assets_Dialer_pressed.bmp
c) Dialer_Bkgnd_Port.bmp
d) Dialer_back_key_press.bmp
e) Dialer_back_key_normal.bmp
1) Unzip the attached file -> gives you 5 files as above
2) Ensure that the 5 files is a system file (attributes system - checked)
3) Copy the 5 files above into your \windows directory
4) Soft rest
*** In case it does not work in your set (very unlikely), just copy the original files in step A) above to \windows directory.
this is a great mod - but, the bmp files are set in rom according to the file properties when viewed in total comander. So i cant rename or delete them nor can i overwrite them with your new files. I have jade 110 with hard spl rom flashed with HTC oem rom.
any ideas how to overcome this or am i doing something wrong
TIA
ukmapleleaf said:
this is a great mod - but, the bmp files are set in rom according to the file properties when viewed in total comander. So i cant rename or delete them nor can i overwrite them with your new files. I have jade 110 with hard spl rom flashed with HTC oem rom.
any idea how to overcome this or am i doing something wrong
TIA
Click to expand...
Click to collapse
I am not sure why. I've copied the files to a few different sets (stock rom, though) and they work fine. The files are not in rom. It could be due to your rom.
however, if want to change back to the original keypad how ah?
xtremez said:
however, if want to change back to the original keypad how ah?
Click to expand...
Click to collapse
As far as I understand it you have to copy back your saved original files.
By the way: I can not find these files on my Jade (with TotalCommander).
Owh..ic ic...thanks for clearing that up. Does anyone has those files? Just wanna keep incase.
I changed to a new skin, and the original one kinda looks better with the skin. But i think i accidentally replaced them. Can someone assist me please?
xtremez said:
I changed to a new skin, and the original one kinda looks better with the skin. But i think i accidentally replaced them. Can someone assist me please?
Click to expand...
Click to collapse
I'll post the original files later.. on the move right now. the files are in my notebook at home.
Thanks dude ...PM when u do so then..
Just alittle note about the condition in my Touch3G, i tried installing a various Iphone dialpads...and the software can't be removed even though i deleted it in the registry, plus when i don't use the default windows dialpad..all i get is a white screen with blank [email protected]@ (freaking me out)

Categories

Resources