c2z. Version 2008.05.07

This program makes a patch for Symbian S60v3 phones, to be used with ROMPatcher.
The purpose of this patch is to force the phone to use files in C: before the same file in Z:
For example, if you have
c:\resource\apps\About.r01
then it will take precedence over
z:\resource\apps\About.r01
This is usefull to fake Symbian so that it takes your own file, before the original one.

As files in C: are read+write, you can modify them.

To run it:
using a hacked phone, extract
z:\sys\bin\EFSrv.dll
and copy to the a PC folder where you have c2z.exe
and run c2z.exe

It will generate 3 files:
c2z1.rmp, c2z2.rmp, c2z3.rmp

Transfer those files to your mobile e:\Patches
and start ROMPatcher

Load them, in exactly the same order.

Q & A:
Q: Why 3 files?
A: because ROMPatcher doesn't allow 1 file with 3 patches.

Q: Do I need to copy EFSrv.dll back to the mobile?
A: No

Q: how can I check it works?
A:
   1) copy z:\resource\apps\About.r01 to your PC
   1.1) if you use a non-english phone, use the correct About.r?? file
   2) using a Hexadecimal editor, change any word, for example 'Nokia' into 'FCA00'
   3) copy into your phone at c:\resource\apps\About.r01
   4) start the application tools-About
   5) you should see your modified text

Q: which files can be overriden?
A: At least *.RSC , *.MBM, *.INI, *.R??, *.TXT

Q: which files can NOT be overriden?
A: at least:
   1) those that are in ROM. Remember that Z: and ROM is not exactly the same.
   2) those that are loaded using the UID instead of the name. This includes many *.DLL and *.EXE

Q: which are the risks?
A: as for the patch, very little. Reseting the phone will unload the patch and everything goes back to normal.
   But some applications already search in C: before Z: so if you copy a wrong file into C: , that app might crash.
   This happens even without this patch. If the app is critical, reformating the phone is the only solution.

Q: After patching, I can not format my MMC card.
A: yes. The patch needs new code, so I reused the are in RFormat::Open
   If you need to format your MMC card, disable the patch. Or just reset the phone and don't enable the patch

Q: after restart, the patch doesn't work any more
A: true. You need to use ROMPatcher again and enable them.

Q: I transfered z:\System\data\Wsini.ini to C: , modified it, and my changes are not applied.
A: Some files are read and stored into memory before the GUI starts, so it's too late to patch them. No workaround yet.
   Some files are loaded in a different way, that the patch can not handle.
   Examples: z:\resource\versions\sw.txt  or  z:\system\data\swipolicy.ini

Q: is there any way to know which files are overrided?
A: not yet. If/when I make an upgrade of this patch, it would be possible.

Q: my phone is slower.
A: One reason is that phone needs to search in 2 drives. Another reason is that C: might be slower than Z:

Q: what is the benefit of this patch?
A: several:
   1) you can change icons for existing Symbian applications
   2) Same, for resources (texts and so)
   3) change sounds, for example \System\Sounds\Digital\CamMojaveCapture3.wav
   4) change INI files

Q: What if there is any problem?
A: send me your EFSrv.dll and your phone model and version.

Q: Do you take any responsability if my phone explodes?
A: Let me see ... No
