5. Edit the *.rgu from zzz_My_Sounds_OEM
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
This file contains the registry settings that will apply your sound settings. Let's take a look inside the *.rgu file.
Quote:
REGEDIT4
;<<<<<----- Ringer ----->>>>>
;================================================= ============
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Sound"="\\My Documents\\bennyhill.mp3"
"Script"="apw3r"
;<<<<<----- Notifications ----->>>>>
;================================================= ============
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D658-239C-47a7-9304-0D347F580408}]
"Default"="ActiveSync: Begin sync"
"Wave"="\\Windows\\ASConnect.mp3"
"Options"=dword:00000001
"Duration"=dword:00000000
"AvailableOptions"=dword:00000003
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D659-239C-47a7-9304-0D347F580408}]
"Default"="ActiveSync: End sync"
"Wave"="\\Windows\\ASDisconnect.mp3"
"Options"=dword:00000001
"Duration"=dword:00000000
"AvailableOptions"=dword:00000003
[HKEY_CURRENT_USER\ControlPanel\Notifications\{F556 15D6-D29E-4db8-8C75-98125D1A7253}]
"Default"="Beam: Autoreceive"
"Wave"="\\Windows\\Loudest.wav"
"Options"=dword:00000001
"Duration"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\{8ddf 46e8-56ed-4750-9e58-afc6ce486d03}]
"Default"="Connection disconnected"
"Wave"="Alarm1.wma"
"Duration"=dword:00000000
"AvailableOptions"=dword:00000003
"Options"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\{8ddf 46e7-56ed-4750-9e58-afc6ce486d03}]
"Default"="Connection established"
"Wave"="Alarm1.wma"
"Duration"=dword:00000000
"AvailableOptions"=dword:0000000B
"Options"=dword:00000008
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D660-239C-47a7-9304-0D347F580408}]
"Default"="Phone: Missed call"
"Wave"="\\Windows\\Alarm1.wma"
"Options"=dword:00000001
"Duration"=dword:0000000F
[HKEY_CURRENT_USER\ControlPanel\Notifications\{15F1 1F90-8A5F-454c-89FC-BA9B7AAB0CAD}]
"Default"="Reminders"
"Wave"="\\Windows\\Alarm1.wma"
"Options"=dword:00000001
"Duration"=dword:0000000A
[HKEY_CURRENT_USER\ControlPanel\Notifications\{DDBD 3B44-80B0-4b24-9DC4-839FEA6E559E}]
"Default"="Wireless network detected"
"Wave"="\\Windows\\Default.wav"
"Options"=dword:00000001
"Duration"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D661-239C-47a7-9304-0D347F580408}]
"Default"="Phone: Voice mail"
"Wave"="\\Windows\\Alarm1.wma"
"Options"=dword:00000001
"Duration"=dword:0000000F
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D65A-239C-47a7-9304-0D347F580408}]
"Default"="Messaging: New e-mail message"
"Wave"="\\Windows\\newemail.mp3"
"Options"=dword:00000001
"Duration"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D65B-239C-47a7-9304-0D347F580408}]
"Default"="Messaging: New text message"
"Wave"="\\My Documents\\txtmsgbos.mp3"
"Options"=dword:00000001
"Duration"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D663-239C-47a7-9304-0D347F580408}]
"Default"="Low Battery 10%"
"Wave"="\\windows\\lowbattery.mp3"
"Duration"=dword:00000000
"Options"=dword:00000009
; Unknown sounds placed at end
;================================================= ==================================
; Unknown Sound
[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877 D65D-239C-47a7-9304-0D347F580408}]
"Wave"="online.wma"
"Duration"=dword:00000003
"Options"=dword:0000000D
; Unknown Sound
[HKEY_CURRENT_USER\ControlPanel\Notifications\{B67B 425B-365E-42c0-95F7-B75503D775B8}]
"Duration"=dword:00000000
"Options"=dword:00000008
; Unknown Sound
[HKEY_CURRENT_USER\ControlPanel\Notifications\{0D31 32C4-1298-469c-B2B8-F28CE2D649D0}]
"Wave"="Alarm1.wma"
"Duration"=dword:00000000
"Options"=dword:00000009
; Unknown Sound
[HKEY_CURRENT_USER\ControlPanel\Notifications\{C346 5585-39EF-4c9b-B2A3-5558BF27BFB0}]
"Options"=dword:00000001
; Unknown Sound
[HKEY_CURRENT_USER\ControlPanel\Notifications\{E0F2 B9DD-EDC6-45d4-B440-2C5B5A04A3E3}]
"Options"=dword:00000008
;Misc Sounds Controlled by "Scripts"
;================================================= ================
;disable sounds when initiating & ending a call
;add a "p" to re-enable
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Script"=""
[HKEY_CURRENT_USER\ControlPanel\Sounds\Ending]
"Script"=""
;disable vol up & down beeps during call
[HKEY_CURRENT_USER\ControlPanel\Sounds\LoudestInCal lVolume]
"Script"=""
[HKEY_CURRENT_USER\ControlPanel\Sounds\QuietestInCa llVolume]
"Script"=""
[HKEY_CURRENT_USER\ControlPanel\Sounds\StandardInCa llVolume]
"Script"=""
;Volume
;================================================= ================
[HKEY_CURRENT_USER\ControlPanel\Notifications\Shell Overrides]
"SavedVolume"=dword:FFFFFFFF
"SavedRingerVolume"=dword:FFFFFFFF
"Mode"=dword:00000000
[HKEY_CURRENT_USER\ControlPanel\Notifications\Defau lt]
"Options"=dword:00000009
"LedRefCount"=dword:00000000
"Wave"="\\Windows\\Alarm2.wav"
"Duration"=dword:00000005
|
My Notes on Notifications:
There are 3 main values in each of the notifications:
Default = the name of your sound as it appears in System -> Personal -> Sounds.
Wave = Then path and name of the sound. (notice double slashes!)
Options = Options for your sounds. They include Ring, Vibrate, Flash LED, and Display Message.
Here are the usual settings for "Options":
Options are set by toggling bits within the dword value;
0001 = ring...................1 decimal
0010 = vibrate................2 decimal
0100 = flash led..............4 decimal
1000 = display message........8 decimal
So in binary 0000-1111 would have your phone ring, vibrate, flash the led, and display a message. I have also included the decimal values as well for those not familiar with binary.
**NOTE: The registry settings in the rgu file are in HEXADECIMAL! Check Post #4 for possible combinations if you don't have a converter!
My Notes on Ringers:
There are two main values here:
Sound = Path and name of ringer
Script = How to handle the ringer. Default is "apw3r" which does the following three actions:
a = activate device
p = play ringtone
w3 = wait 3 seconds
r = repeat (See more about scripts in post #4)
My Notes on Misc Sounds:
These are sounds that are hard to find. These are controlled by scripts in windows. These only have one key that we are interested in:
Script = How to handle this sound. Usually set to ONLY "P".
These misc sounds include the following:
When you change the sound up or down while on a call;
HKCU\ControlPanel\Sounds\LoudestInCallVolume
Script="P"
HKCU\ControlPanel\Sounds\QuietestInCallVolume
Script="P"
HKCU\ControlPanel\Sounds\StandardInCallVolume
Script="P"
HKCU\ControlPanel\Sounds\CallWaiting
Script="pw3p"
When you press the <Send> button to start a call;
HKCU\ControlPanel\Sounds\Dialing
Script="P"
When you press the <End> button to end a call;
HKCU\ControlPanel\Sounds\Ending
Script="P"
6. Build & Flash!
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
Once you have everything in place, build your rom and flash it.
7. Test your sound placement, repeat if necessary!
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
Verify your sound settings. If you missed one, now is the time to fix it.