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
Print
Topic: OEMMisc cleanup/breakdown  (Read 2085 times)
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« on: June 03, 2010, 12:21:39 PM »

So, anyone who has attempted to cook a ROM for their GW82x's should have noticed by now that most of the OEM junk is located in OEM\OEMMisc.

Unlike HTC, who attempt to separate a lot of their software into separate folders/packages (which benefits them and us), LG dumped everything into a single folder.  

You can choose to exclude OEMMisc completely, but you will lose some functionality.

Personally, I would like to determine which files are necessary to maintain all functionality, while removing all unnecessary OEM software.  

I started this thread so that we can collaborate all of our work instead of trying to figure it all out for ourselves.  I've spent a lot of time trying different things and flashing my phone (over 100 flashes so far) and I still have a way to go.

So lets get to work!!     Cheesy  
« Last Edit: June 03, 2010, 04:59:17 PM by trueg » Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #1 on: June 03, 2010, 12:22:16 PM »

-- If you cook a ROM without OEMMisc, you may notice right away that you loose WiFi.  I found this strange since all of the necessary registry entries are in OEMDrivers\xxx.rgu.  Turns out you need just a single file from OEMMisc for WiFi to function properly. 

Include nvram.txt from OEMMisc in your ROM and WiFi will work again.
« Last Edit: June 03, 2010, 12:26:46 PM by trueg » Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #2 on: June 03, 2010, 12:56:28 PM »

Attached to this post are two documents that list the files that are unique to the GW820 and to the GW825...

I find the GW825 OEMMisc to be a much cleaner base to work with as Telus added a lot less crap that AT&T.

For the most part you can delete the files that are exclusive to whichever OEMMisc you are using.  These files were added by either Telus or AT&T and not needed (unless you want it I suppose).

Exceptions:
- If you are using the GW825 as your base, you will notice a lot of the unique files are language related.  Telus added French support to the GW825 (IQ), so assuming you don't need French support a lot of that can be removed.  This also means that some of the exclusive files to the GW825 are actually needed, but are listed only because they are language specific.  If a file is listed as exclusive to the GW825, but has 0409 as part of the filename, you will want to compare that to the GW820 list to see if you actually need it.

I used WinDiff to do the comparison (great program) and the same comparison can be made to the registry file (xxx.rgu) to see the differences.  Knowing the differences allows you to determine which sections can be removed or changed.
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #3 on: June 03, 2010, 01:12:55 PM »

This one is not so much OEMMisc specific, but if you have replaced or modified initflashfiles.dat (OEM\OEM_Lang_0409) and no longer have Bluetooth listed in your Wireless Manager after a soft reset (assuming you still have OEM\OEMBT included in your ROM), it may be that you removed/no longer have the code that copies BTTrayCE.lnk to Startup.

;Enable Bluetooth
Directory("\Windows\StartUp"):-File("BTTrayCE.lnk","\Windows\BTTrayCE.lnk")

This file needs to be in startup for Bluetooth to be recognized by the system after a soft reset.  Bluetooth will still work without it, but you will have to start it manually from the Bluetooth control panel applet.
Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #4 on: June 03, 2010, 04:43:17 PM »

I was taking a look at your list it is pretty comprehensive you took out a LOT of stuff including start menu icons it seems gutting it was your objective and kind sir you have gutted it mighty well.

some more to add though
LG_Green.jpg
sheep.png
Lg_brown.jpg
(1mb so far saved and wasted i havent used those files at all)
if you want superior space saving
StartUpAni_DMDO_000.dll(20mb) although i was finally able to modify it and make it my own so i keep it
ShutDownAni_DMDO_000.dll(14mb)
dont need it imo because it takes our expo longer to shutdown
total so far extra =35mb
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #5 on: June 03, 2010, 04:48:43 PM »

Indeed, the lists I posted were simply the differences between the two, which should indicate what was added by AT&T and by Telus.  In my own ROM, I have taken out much more than that.   Grin


A big issue I have had so far is with screen rotation on keyboard slide-in/out.  If you omit OEMMisc, the screen no longer rotates when you open the keyboard.  If you use the Screen control panel to rotate the screen, that works fine.  It seems the keyboard in/out sensor needs to be enabled.  It is not related to a just file in OEMMisc, it is either a registry entry alone or a registry entry in combination with one of the files.  None of the entries seem related to this, so I have been unable to figure this one out.
« Last Edit: June 03, 2010, 04:56:25 PM by trueg » Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #6 on: June 03, 2010, 11:29:59 PM »

The screen rotation issue has to do with what i think is the rotatemanager.dll located in the oemmisc folder i could have sworn it controls the accelerometer in our phone.
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #7 on: June 03, 2010, 11:45:01 PM »

Yeah, I thought that might have been it as well, but I tried it with rotatemanager.dll as well as all of the registry entries that mention it, but that did do it.
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #8 on: June 05, 2010, 12:49:06 AM »

Shutdown:
- This one was tricky, but seems so obvious after the fact.

If you hold the power button down for several seconds, the phone launches Shutdown.exe (I'm sure everyone has already noticed this).  Shutdown.exe is located in OEMMisc and will obviously be missing if you don't include this folder.  If you want to add it back in you need 3 files.

ShutDown.exe
ShutDownAni_DMDO_000.dll
LGString.dll (LGString.dll + LGString.dll.0409.mui if you are using an IQ base)
*LGString.dll is used by several LG apps including many of the System Control Panel Apps (Clear Storage & Wireless LAN for example)

If you just include ShutDown.exe and not ShutDownAni_DMDO_000.dll, the phone radio will turn off and the touch screen will be disabled, but your phone will not turn off.  Without LGString.dll you will be missing the dialog text.

You could also launch any problem you like by calling it ShutDown.exe and placing it in \Windows.

It may also be worth changing the resources inside ShutDownAni_DMDO_000.dll (perhaps a still image) so that it doesn't take up 16MB.

*Note: Startup animation (StartUpAni.dll) is not required.  ShutDown.exe controls the shutdown animation.
Logged
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #9 on: June 06, 2010, 02:26:49 AM »

good news on the ShutDownAni_DMDO_000.dll you can delete it i deleted it before i cooked and it shuts down fine so no need for it woot woot!
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #10 on: June 06, 2010, 03:49:52 AM »

zalooa, if you are still using WM 6.5, that may be the difference. 

I just built a 6.5.3 ROM without ShutDownAni_DMDO_000.dll.  Once it was up and running I tried to execute ShutDown.exe.  The warning came up and I hit OK.  The phone radio turns off and the screen no longer responds to touch, but it doesn't shut down.  The keyboard still worked, so I used it to open the start menu and reboot the phone.

Once it was back up I copied ShutDownAni_DMDO_000.dll to \Windows and tried it again.  This time it worked. 

If it works for you, then I guess we can assume it is not needed for WM 6.5, but is needed for 6.5.3 and most likely 6.5.5.
Logged
WarRaven
Hero Member
*****

Cookies: 10
Offline Offline

Posts: 1487


Caution-Flammable!


View Profile
« Reply #11 on: June 06, 2010, 07:11:42 AM »

Hey guys, have you come across the power key short press suspend app/link yet?

If so, whats it named etc?

I used to PHM to suspend my IQ, but found it screwed with the ALC dimming an timing options.

WR
Logged

Welcome to the Expo/IQ Forums Cheesy Make yourself at home.
zalooa
Jr. Member
**

Cookies: 1
Offline Offline

Posts: 92


View Profile
« Reply #12 on: June 07, 2010, 04:23:47 AM »

wawa that sucks 6.5.3 or 6.5.5 needs the shutdown dll what a waste of space and time for it to shutdown i am sure there is a way to remove it in registry because i found the entries there so it wont be a requirement 16mb is big cheese on our tiny device. of course i stay at 6.5 for now till the other 2 or more get a little more stable they are hella nice lookin though. and finger friendlier than 6.5's TINY OK button located under my HUGE thumb SHEESH ms really!

Warraven i am taking a look into that link for the power
it would seem it is either attached to the keyboard.dll file like all the rest of the keys or it is a registry key like the camera button multitask voice command. Very interesting if we find something for it in the oemmisc folder.
Logged
trueg
Full Member
***

Cookies: 3
Offline Offline

Posts: 122


View Profile WWW
« Reply #13 on: June 07, 2010, 01:48:58 PM »

Rotate on keyboard open/close:

In order to get the screen to rotate on keyboard open/close, you need two files and 1 registry entry.

Files needed:
RegisterTaskbar.exe
RotateManager.dll

Registry entry:
[HKEY_LOCAL_MACHINE\init]
"Launch91"="RegisterTaskbar.exe"

The same executable rotates the screen based on the accelerometer.

So, if you were to omit OEMMisc in your ROM, but include the above files and registry entry, you will have screen rotation on keyboard open/close as well as accelerometer rotation. 

You may want to also include the LGE\RotateManager\Exclusive entries from the OEMMisc RGU so that the screen does not rotate with incompatible programs.
Logged
equivocation
Newbie
*

Cookies: 0
Offline Offline

Posts: 43


View Profile
« Reply #14 on: June 07, 2010, 02:16:17 PM »

Organize the OEMMISC

I started to separate the files based on dependencies or associated files ie. DLL or  base files closer to/ or at the root (OEMMISC) with packages grouped on their respective branches..

eg. Java dir would contain All files Java needs to execute (Unless another program also requires that file in which case the file in question would be moved closer to the root). Java/iskoot  contains files only iskoot needs and branch ends.

      -text file attached-

if any one wants to continue it- I left any files I was unsure of in the root.
feel free to move and reorganize if I screwed up  Wink and queries are welcome.
*** Don't delete any files***

Once it is complete I'll upload the folder.



« Last Edit: June 08, 2010, 01:40:52 AM by equivocation » Logged
Pages: [1] 2
Print

Jump to:  

Got a new phone? Find the forum here





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