There is nothing much to actually explain because all the Camera Settings or Preferences are saved in Hex Strings such as you can see below. Do note that these are Specific to HTC Camera Application ONLY.

The basic method to set your desired settings as default for your Rom is:
1. Just open the Camera Application and enter all the desired settings.
2. Then run CeRegEditor on your PC and connect your Device to PC via Active Sync.
3. Copy the below Registry Value which will have your custom Hex Strings containing your Camera Settings. Then cook this to your Rom and enjoy:)
[HKEY_CURRENT_USER\Software\HTC\Camera\6.15\Preferences]
“Values”=hex:\
0F,00,00,00,05,00,00,00,05,00,00,00,05,00,00,00,03,00,00,00,03,00,00,00,\
03,00,00,00,01,00,00,00,03,00,00,00,05,00,00,00,03,00,00,00,03,00,00,00,\
03,00,00,00,01,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,90,01,00,00,40,1F,00,00,\
01,10,00,5A,4B,01,02,01,01,00,00,00,01,00,00,00,01,00,00,00,02,00,00,00,\
01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,08,00,08,\
89,11,20,00,45,46,00,00,28,00,00,00,07,00,00,00,01,00,00,00,00,00,00,00,\
C0,27,09,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,\
3A,10,00,00,3A,10,00,00,2A,00,00,00,3A,00,00,00,3A,00,00,00,3A,00,00,00,\
2A,00,00,00,3A,00,00,00
In order to set a Default location to where your clicked Pictures or Videos are Saved just refer to the below Registry entry.
[HKEY_LOCAL_MACHINE\System\Pictures\Camera\OEM\PictureLocation]
“External”=”\\DCIM\\” ;To save to Phone Memory, replace External with Internal and mention the Path
Adding 4 Different Camera Modes to enjoy the Experience of Clicking, just add the below Registry entries.
[HKEY_LOCAL_MACHINE\Software\HTC\Camera\P10]
“Enable”=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\Camera\P6]
“Enable”=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\Camera\P8]
“Enable”=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\Camera\P9]
“Enable”=dword:00000001


