So since we figured out how to cook our roms properly on our expos i figure I make a post with a good set of tips and tricks from my endeavors and hopefully you can post your tips as well so we can get this community pumping. I even read somewhere we are on XDA well thats just sweet. No doubt cuz of Dark's RAW Awesomeness in cooking our expo
So some basic tips to get started info that i found throughout the lands of the internet
First if you followed Dark's great tutorial you will notice that by step 8 or 9 all your folders are in place and ready to go its now time to go through them and figure out what they meant so
First browse to the OEM/GW820/COMMON/OEMMISC
this folder has almost everything in the WINDOWS folder on our phones. What does this mean that if you delete a crucial file your screwed hahah
but on the off chance that you want to get rid of unwanted junk in this folder and add more files this is the first place to start.
Couple of notes when your deleting something make sure its not gonna ruin your unit
for example sort things by size. If you do youll see a bunch of files that are HUGE like cal.pak and contacts.pak most of the pal files i did not touch just dont know if it will affect my device but some of them are obvious like monopoly.exe thats a huge file and since it is a DEMO GUT IT!!! you can safely delete the files which is quite good on space
monaco.wmv
mymusic.pak
ferrari.exe
attnav.exe unless you paid for it
tetris.exe
musicid2.exe
Mobi4Biz_resource.bin
all the photoframe_0#.bmp
bb2.exe
tetris.rlb
mediamall.exe
mymultimedia.exe
mymusic.exe
those mp3 ringtones we cant stand
So what if you want to add your own ringtones not that simple you can place your ringtones in this folder but they will not show up unless you edit the registry! WAIT A SECOND WHAT REGISTRY you ask
thats simple any file with the extension RGU is the registry file for our device. But lets say you want to add files specifically to the ringtone folder that is a little different
there is one file that holds the KEY locations to your files
this file can be located here
OEM/GW820/0409/OEM_Lang_0409
the file name is initflashfiles.dat
this file has all the locations of the default start menu icons and where files go there is a way to add ringtones to the rings folder through here
The reason you want HAVE to modify this for any sort of rom cooking is that it has a lot of references to creating icons and templates for our device for instance
Directory("\Windows\StartUp"):-File("poutlook.lnk","\Windows\poutlook.lnk")
this can be found in the initflashfiles.dat file
this will place the file poutlook.lnk in the startup folder. but if you think about it poutlook.lnk file is located in the
Roms/SYS/YOURBUILDNUMBER/SHARED/COMMON/BaseApps
so using this logic
place a ringtone file in this BASEAPPS folder and add this line to the initflashfiles.dat
Directory("\Windows\Rings"):-File("yourringtone.mp3","\Windows\rings\yourringtone.mp3")
pretty neat i think so using this logic you can add any file folder link shortcut program from this dat file alone.
One note by default the ringtone size is limited to 300Kb for efficiency reasons a 10mb ringtone file seems like it would lag but this has to be changed it can be done using the rgu files this is my next set of tips you can use Dark's cab for notifications and install it after you cook your rom but that means every time you format your device you will lose all those settings so lets hunt those rgu files right now.
One place to look is in the ERVIUSKITCHEN.exe this kitchen is cool on the left hand side you can have the program located all the RGU files dat files xml everything and edit it there
this file
9c40548a-d7aa-4183-8284-cebaed1d693b.rgu
has the majority of registry entries browse through it just for kicks most of it wont be that tweakable but you can find gems like
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Windows Media.lnk]
"Rank"=dword:35a4e63a
this for example shows where the windows media.lnk file is
important if your eager to get your start menu perfect out of the box
1f1aca24-d942-464a-9281-10567741499c.rgu
this file has all the notifications or at least most of them if you see Dark's file it modified the following lines
[HKEY_CURRENT_USER\ControlPanel\Notifications\{E0F2B9DD-EDC6-45d4-B440-2C5B5A04A3E3}] if you find this line the lines under it contain things like new mms but they are in wierd code so use dark's notifications cab and extract the xml file with the code to replace these notifications so you can customize them
his setup.xml has all these locations this one for instance
HKCU\ControlPanel\Notifications\{7959EDFA-4D0F-41b3-9E8F-13714BED6CE0}
this is the notification for Downloading MMS
Changing startup sounds and animation can be found with another great tutorial with Dark it works but its a lot simpler if you have access to the startup animation files because you DO NOT NEED TO SIGN OR UNSIGN or anything here is the link for his tutorial
http://www.lg-expo.com/lg-expo-how-to/how-to-make-your-own-startupshutdown-animations/for instance the startupani.dll only containts the sound if you open up the DLL with resource tuner it will have the wav file replace it and save it the same name and your done it doesnt need the rest of the process because the security settings have not been added yet cuz were COOKING! WOOT WOOT!
attached is my file for the startupani.dll its just an alarm that worked really well with one of my past HTC phones
just place it in the OEMMISC
this is some of the tips i came up with what do you guys got?
Things im trying to do still
change netcf 2.0 to 3.5 remove 2.0 to save space and put netcf 3.5 as the default i know dark nailed it so its easily doable with some sweat and research
im sure we can gut many things from different places
other useful locations
Roms\SYS\21749\dpi_192_resh_480_resv_800\COMMON\Redist_dpi_192_resh_480_resv_800
it has the welcomehead.192.png this is the file after the startup animation change it and you have a better picture
Roms\SYS\21749\dpi_192_resh_480_resv_800\0409\Base_Lang_0409_DPI_192_RESH_480_RESV_800
has the CPR files for the start menu there is a way to get 4 icons or 5 icons by modifying these files but still it can have wierd results if you just change the number of icons it doesnt resize them so do some research and choose how many icons in the start menu
Roms\SYS\21749\SHARED\COMMON\NetCF
has the netcf but not sure yet how to change it to 3.5 little research and im sure it can be done fast!
Roms\SYS\21749\SHARED\COMMON\Shell
has more files in the windows directory and fonts
has the notification symbols on the top of our screen for signal quality missed calls voicemails the little tiny symbols
WM6-5_StartMenu_Start_Icon01_OnDevice.bmp is our start menu icon WORTHLESS haha lets make it a cool orb if we can unless black and white is our only choise will experiment.
Something else to add
in the packages list in the erviuskitchen
make sure to add SD_Autorun
this will allow you to use User Customization i looked at it long time ago at XDA's website and man this thing is AWESOME
it allows you to have your CAB files installed automatically after you format your device it even allows you to add email accounts so you dont have to add them yourself anymore look it up its great! Im sure there is stuff missing that i could add but i have to go for now ask me if there is something that didnt make sense im sure it can be confusing the first time around but this is great stuff
Iphone doesnt have S$%^ on US!!!