|
|
LinkBack | Thread Tools | Display Modes |
|
||||
Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
Customizing Rom Sounds - Sound Themes Tutorial
About this tutorial: -=-=-=- -=-=-=- -=-=-=- =-=-=- -=-=-=- This tutorial will show you how to customize the Sound Theme for your rom. Whether you want a SouthPark, StarWars, Diamond theme, this is for you. This will work for PPCKitchen.org's Kitchen, DogGuys Kitchen, DCD's Kitchen and most others. This tutorial is for Windows Mobile 6.xx. This will let you set all the sounds in your rom that are available in Start Menu -> Settings -> Sounds and Notifications tab. I want to do my part to help both current chefs and new and upcoming chefs develop their talents, and their custom roms! Additional Notes: - A copy of this file is attached inside zzz_My_Sounds_OEM. - In post #4 I have included additional information that may be helpfull immediately following this tutorial. This tutorial ASSUMES you have working knowledge of cooking your own rom, and general Windows knowledge. I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOU OR YOUR DEVICE by reading this tutorial! This tutorial should work with most windows-mobile based kitchens, Apache, Titan, Vogue and others. Feel free to post your questions/comments. Credits: -=-=-=- -=-=-=- -=-=-=- =-=-=- -=-=-=- 1. I would like to thank PPCGeeks.com and all the members. 2. All those that have contributed to developing and making all the kitchens possible! You all know who they (you) are! 3. Weedahoe, I borrowed his scripting information from his "The most COMPLETE compilation of hacks and teaks" thread. Terminology used in this tutorial: -=-=-=- -=-=-=- -=-=-=- =-=-=- -=-=-=- OEM - Similar to a .CAB file, this is the method used to add files/programs to a cooked Rom. This is copied to USER_OEM if using the ppckitchen, or into your OEM folder if you are using another kitchen. INITFLASHFILES.TXT - This is the text file you will edit to copy your files on your device from \windows to \whereever. GUID - GUID (or UUID) is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources. Scripts - Combination of commands WM6.x uses to determine how to handle select system sounds/alerts. The Tools/Files you will need: -=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=- - PPCKitchen.org BuildOS.msi fully installed and ready to go... - ...or...Your favorite Kitchen. - Notepad.exe (Text editor that comes with windows, or any other text editor) - Old fashioned pen and paper or printer. The steps involved: -=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=- This tutorial will allow you to customize the sounds on your device via your choice of rom kitchen. I will show you how to add files to the attached zzz_My_Sounds_OEM, edit the initflashfiles.txt file that will copy your files to where you want 'em, and then edit the registry settings in the *.rgu file to make them 'stick'. 1. Install the necessary files. 2. Plan your Sound Scheme. 3. Locate and Rename target sound files. 4. Edit your initfiles.txt from zzz_My_Sounds_OEM 5. Edit the *.rgu from zzz_My_Sounds_OEM 6. Build & Flash! 7. Test your sound placement, repeat if necessary! And here is the zzz_My_Sounds_OEM that you will need... Edit: Shortly after posting, I changed some values in the rgu file. @ to Default and forgot the quotes. Here is an updated OEM. 6/11 5:00pm... Edit: zzz_My_Sounds_OEM2.zip is updated as of 7/7/08.... .
__________________
If this post was helpfull, let me know by clicking Thanks!
Last edited by rstoyguy; 07-07-2008 at 08:27 AM. |
This post has been thanked 6 times. |
This post has been thanked 4 times. |
|
||||
Re: Customing Sound Themes for Rom Chefs - Tutorial
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:
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. Last edited by rstoyguy; 06-23-2008 at 09:07 PM. |
This post has been thanked 2 times. |
|
||||
Re: Customing Sound Themes for Rom Chefs - Tutorial
Additional support items for this tutorial:
Find your RingTones in this thread: http://forum.ppcgeeks.com/forumdisplay.php?f=19 ================================================== === Possible Hex values for Options: Decimal : Hex Conversion 0 : 00 1 : 01 2 : 02 3 : 03 4 : 04 5 : 05 6 : 06 7 : 07 8 : 08 10 : 0A 11 : 0B 12 : 0C 13 : 0D 14 : 0E 15 : 0F ================================================== === Here is the scoop on Scripts thanks to weedahoe! Thanks! Quote:
sound locations / and supported types Coming soon... Last edited by rstoyguy; 06-11-2008 at 02:06 AM. |
This post has been thanked 3 times. |
|
||||
Re: Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
Quote:
|
|
||||
Re: Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
These are only for the sounds while you are in a call. While changing the volume up/down with your slider..
And you want to use HKEY_CURRENT_USER not HKCU. |
|
||||
Re: Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
Quote:
Quote:
|
|
||||
Re: Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
Quote:
The difference between HKEY_CURRENT_USER and HKCU??? While they both point to the same place... HKEY_CURRENT_USER: Is how it will appear on your device in most registry editors. This is also the name that you want to use when cabbing registry edits or when doing registry edits in a ROM as in inside the RGU file. HKCU: This is often how it is typed to save time in the forums, and I believe this is the name you want to use when applying registry edits with XML like with UserCustomization or in provisioning files such as mxip files which is basically XML as well. |
|
||||
Re: Customizing Rom Sounds - Sound Themes Tutorial - PPCKitchen Friendly
that would be great. I also can't stand that dial tone.
I like my phone silent...except that tone when the other party has hung up is pretty useful, so that you don't keep talking for an hour if the person on the other end has hung up long time ago Thank You |
|
|
|