lg expo forum
Find Your Forum
  
Welcome, Guest. Please login or register.

News: Do you like LG eXpo?
Advanced search
Get invisibleSHIELD for LG eXpo      Scratch Protector for LG eXpo      Hottest Ringtones for LG eXpo Awesome Price on AT&T phones
Pages: [1] 2 3
Print
Topic: Tips and tricks for building the perfect rom  (Read 4185 times)
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« on: May 10, 2010, 05:42:33 PM »

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!!!
Logged
equivocation
Newbie
*

Cookies: 0
Offline Offline

Posts: 43


View Profile
« Reply #1 on: May 11, 2010, 11:47:37 AM »

Nice! Smiley

can you upload your OEMMISC when finished gutting it?

Here is a NETCF folder out of 6.5.5 (.NET 3.5) should work.  
I managed to Port 6.5.5  Smiley
http://rapidshare.com/files/386140695/NetCF.rar.html
« Last Edit: May 11, 2010, 02:56:48 PM by equivocation » Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #2 on: May 11, 2010, 04:58:05 PM »

Im  uploading my OEMMISC folder now its about 75 megs i compressed it using winrar i could have excluded the top 3 biggest files but ill leave it intact
Now i gutted what i could safely as possible haha i did leave the startupanimation and sound and deleted the shutdown animation. Still trying to figure out how to make it work properly the last time i did it my pictures went 1/4 of the screen ill figure it out somehow. Also i changed the shellres.192.dll it has a changed start menu icon as well as some others. not all of the modifications went through so im curious as to why but they dont look bad at all
battery level goes from red to green wifi icon and notification icons changed thats all that went through the signal icon did NOT go through Sad i was hoping to get that working but i noticed i changed the right area but still no go. now another note since this has been gutted make sure you change the initflashfiles.dat as it will create your icons in the start menu that DONT EXIST like the demo games and demo programs. This is so fun and frustrating.
As soon as the file finishes uploading i will modify this post with it. its only 20 percent done as of 3pm
Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #3 on: May 11, 2010, 05:22:09 PM »

http://hotfile.com/dl/42429961/aa4d3e2/OEMMISC.rar.html
i have the oemmisc file compressed here. Delete the startup animation if u want to save some space if you want.
Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #4 on: May 11, 2010, 08:24:52 PM »

Just added packages to the rom and it worked flawlessly

http://wiki.xda-developers.com/index.php?pagename=OEM+Package+Tutorial

that is the place for all the info you need talk about jackpot!
 what can you do?
how about make your start menu with 4 menu items per row instead of 3
i got the cab from xda too sorry i dont know where it is from but i had it somewhere on my HD.
Anyway so much more to do add anything else you think is important
mp3trimmer.cab maybe???
Logged
equivocation
Newbie
*

Cookies: 0
Offline Offline

Posts: 43


View Profile
« Reply #5 on: May 11, 2010, 09:55:51 PM »

great find "http://wiki.xda-developers.com/index.php?pagename=OEM+Package+Tutorial"

Definitely need to keep Remote Desktop in any build.
I took the Startup and Shutdown Ani out of the IQ OEMMISC
And I made my own welcome head though it doesn't replace the Windows Default one even though I overwrote it in the SYS/.... directory


Have you grabbed the 6.5.5 OS over at XDA? if you do don't forget to take the Beta watermark out.

I need to find a way to remove the Default AT&T contacts and add my own.

Did you manage to integrate the tweaker or it's cabs?


I still had the No SVN folders error at the end of my build but as long as i did f,g,h before closing the auto flash program that pops up all my builds work perfectly.
I'm on my 9th ROM build of the Day every one successful- It's great when you actually know what you're doing.


what was with the cardboard robot pics/ the shower one was 1mb such a waste of space.

« Last Edit: May 11, 2010, 10:34:12 PM by equivocation » Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #6 on: May 11, 2010, 11:43:17 PM »

The thing LG did was standardize their roms for different phones im sure this rom was used on all sorts of phones sprint verizon canada the world all the extra files we dont see from your user experience is from that part of the phone.

the welcomehead192.png file will replace only the very first time you set up the phone
the orange one is hidden somewhere as for the white screen and ATT thats part of the startup i know they are hidden there still looking for it.

As for the tweaker the iq/expo tweaker i made a package out of it and added it to the rom it installs fine.

As for the 6.5.5 i didnt bother with it still has bugs for our expo beyond my scope of knowledge subtle things that dont work right like keyboard integration for LG was meant for 6.5 with start menu at the top so the phone has to be recatered to 6.5.5 but eventually ill go there
the default ATT contacts hmm good point where the hell are those things
Still hunting for tweaks Sense 2.5 just shattered my Windows mobile and hijacked my settings page and to top it off it cant even be removed through normal methods DOH!

Logged
ghostface
Jr. Member
**

Cookies: 0
Offline Offline

Posts: 87



View Profile
« Reply #7 on: May 12, 2010, 07:45:55 AM »

zalooa follow these instructions exactly and if you want your settings menu accessable in the start menu follow step 9.  (could have done step 9 without hard resetting and had your settings menu)
Logged
equivocation
Newbie
*

Cookies: 0
Offline Offline

Posts: 43


View Profile
« Reply #8 on: May 12, 2010, 11:49:25 AM »

[quote
the welcomehead192.png file will replace only the very first time you set up the phone
the orange one is hidden somewhere as for the white screen and ATT thats part of the startup i know they are hidden there still looking for it.
[/quote]

The ATT screen is "StartUpImg_DMDO_000.bmp" in the OEMMISC folder

I might try just replacing the images in the "StartUpAni_DMDO_000.dll" with one of my own creation.

How did Dark manage to get the welcomehead192.png to appear every boot?
Logged
Dark
Administrator
Hero Member
*****

Cookies: 41
Offline Offline

Posts: 885


Do you see my memories?


View Profile
« Reply #9 on: May 12, 2010, 10:25:18 PM »

The ATT screen is "StartUpImg_DMDO_000.bmp" in the OEMMISC folder

I might try just replacing the images in the "StartUpAni_DMDO_000.dll" with one of my own creation.

How did Dark manage to get the welcomehead192.png to appear every boot?

After you load the visual kitchen and set it for your device. Click the show editor button. Double click:
OEM\GW820\COMMON\OEMMISC\9c40548a-d7aa-4183-8284-cebaed1d693b.rgu

Now search for and delete the following entries:

[HKEY_LOCAL_MACHINE\System\Startup\1]
"Dll"="StartUpAni.dll"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Splash Screen]
"MSBitmap"="\\Windows\\StartUpImg_DMDO_000.bmp"

[HKEY_LOCAL_MACHINE\Init]
"Launch49"="StartUpAni_Delay.exe"
"Depend50"=hex:14,00,1e,00,31,00

After that place the image you want in
EXT\GW820\COMMON\Tweaks\Overrides\files
and it will override the original one during the cooking process.


@zalooa
You mentioned using SD_Autorun. This is good for installing the stuff you mentioned, but keep in mind that if you are using Garmin and it is located on your storage card it will ask you if you want to load garmin on startup every time. I'm not sure what other programs it may try this with, but because I use garmin and I know others do too I exclude this from my roms. Also you asked about .Net 3.5. I attached two folders that you can place in your SYS\YourBuild#\SHARED\COMMON folder. One is for .Net 3.5 and the other is for .Net 3.7. Simply choose which one you want and make sure it is set to true in the visual kitchen. Also make sure you either delete the NetCF or set it to false in the visual kitchen.
« Last Edit: May 12, 2010, 11:16:00 PM by Dark » Logged

My LG eXpo:
Purchased: 12/17/09
InvisibleShield
Black Leather carrying case
GPS: Garmin XT
BlueAnt T1 bluetooth headset
Pico Projector

ROM: Dragonstorm 23139 for the eXpo

Woodhole's eXpo/IQ Tweaker
equivocation
Newbie
*

Cookies: 0
Offline Offline

Posts: 43


View Profile
« Reply #10 on: May 12, 2010, 10:50:42 PM »

thanks
Logged
Dark
Administrator
Hero Member
*****

Cookies: 41
Offline Offline

Posts: 885


Do you see my memories?


View Profile
« Reply #11 on: May 12, 2010, 11:16:29 PM »

thanks

No problem. Glad to help.
Logged

My LG eXpo:
Purchased: 12/17/09
InvisibleShield
Black Leather carrying case
GPS: Garmin XT
BlueAnt T1 bluetooth headset
Pico Projector

ROM: Dragonstorm 23139 for the eXpo

Woodhole's eXpo/IQ Tweaker
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #12 on: May 13, 2010, 12:35:27 AM »

Sweet Dark nice to know about sdrun i use google maps Sad i know im lame but it does what i need and just introduced navigation turn by turn i believe plus speech to locate feature is sweet. Ill look at the garmin see if its awesomeness like you say
also i found a version of 3.5 over at xda and the expo tweakers works but SMS at Hand doesnt it says its needs netcf2.0 but netcf3.5 includes netcf2.0 i guess its a bug in their software just making sure i did it right thanks again

@ghostface
Oh no the settings menu shows up fine for me everytime only when i installed sense 2.5 it hijacked the settings tab in the start menu because sense 2.5 uses its own "settings" page sorry for the confustion i have the rom setup in  a rar file if i simply unrar it and cook it into my rom its the default stock rom exactly how it is this way i can modifications on the go knowing it will work everytime

Some other cool tips i found
that package feature is a little iffy but works great to put some programs in the rom.EITtweaker works great in package form using that other link i posted. great stuff
ill figure out how to make it work better because i can get programs to install but the shortcuts are missing in the start menu im sure they are minor settings im missing but still its useful.

Roms\SYS\21749\DPI_192\COMMON\Base_DPI_192
this link has all of our icons in the start menu add here delete here modify here for awesome start menu icons

I still havent figure out the shellres.192.dll i got the start menu icon changed from the white windows logo to my own and about half the icons are nice and working but the signal icons are an epic fail i just changed the colors with icofx just to test out and no dice so if anyone knows anything about where the signal icons are greatlyappreciated.

This stuff is fun too bad we cant create a sandbox to test rom and see if it went how we want instead we gotta cook it burn it and see our mistakes wa wa wa

Attached is the start menu grid with 4 icons in the row i think its boss add it to the following folder
Roms\SYS\YourBUILDNUMBER\SHARED\COMMON

i didnt make this. i just packaged it up hats off to XDA peeps again but just trying to spread some wisdom files and ya da ya da


« Last Edit: May 13, 2010, 05:25:44 PM by zalooa » Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #13 on: May 14, 2010, 02:22:29 AM »

JACKPOT! DING DING DING!

so i was browsing around all those files we dumped from the rom and i finally found where the fingerprint lock screen files are its in this folder
Roms\OEM\GW820\COMMON\OEMDriversHigh\ts_lap.dll
if you open it up with something like resource tuner you will see the pictures we get when the screen is fingerprint locked as well as the keys there
now mind you this is a package already so extracting it can be a little tricky what i did for the shellres.192.dll files that modify system status icons was delete the folder
shellres.192.dll and place the shellres.192.dll file directly into OEMMISC
so if anyone is up for changing the fingerprint lock BMPS this is the place to do it i will try it out and see if it works.
Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #14 on: May 14, 2010, 06:48:48 AM »

I tried changing a picture in the ts_lap.dll and it didnt work at first it is overwritten during the cooking process. but if u delete the ts_lap.dll folderand just put the ts_lap.dll file in the oemmisc folder modify it as you see fit and thats all you need.
Logged
Pages: [1] 2 3
Print

Jump to:  

Got a new phone? Find the forum here


Related Topics
Subject Started by Replies Views Last post
Any non-obvious tips?
LG eXpo Tips & Tricks
davi23 2 925 Last post February 11, 2010, 03:41:49 PM
by Dark
SPB Mobile Shell 3.5 Tips.. « 1 2 ... 9 10 »
Third Party LG eXpo Applications
WarRaven 141 12827 Last post June 18, 2010, 05:24:23 PM
by RogueCheddar
Tips us news
Announcements
LG eXpo 0 456 Last post June 12, 2010, 02:12:24 PM
by LG eXpo




Thanks for visiting LG Expo Forum Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Sitemap

Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip