Included In MCR and derivatives from Fr15 onward - No need to patch! 
Introduction
Details
Compatibility
Included In MCR and derivatives from Fr15 onward - No need to patch!
Download
Closer to stock Android one step at a time...
Enjoy!
Introduction
Removing the LG 'Software Update' function from your phone will give you back 20MB or more of RAM. This app runs all the time and restarts if it's killed. The thing is, if you're running a custom ROM this function will do little for you. It may notify you of an update but no updates will install over the top of your custom rom. And you get all your update notifications from here right? 
However, simply removing the application package (OmaDmclient.apk) causes a problem with Settings. If the client app is removed the Settings | About Phone menu force closes. You save the 20MB RAM but you have an annoying consequence.
Removing this function provides a ~6% memory boost, a slight reduction in data use and an unquantifiable saving of CPU cycles.
However, simply removing the application package (OmaDmclient.apk) causes a problem with Settings. If the client app is removed the Settings | About Phone menu force closes. You save the 20MB RAM but you have an annoying consequence.
Removing this function provides a ~6% memory boost, a slight reduction in data use and an unquantifiable saving of CPU cycles.
Details
The relevant code is in Settings.apk, in factory ROM V10a (only some variants?) the OTA code is not active but simply taking the entire Settings.apk from V10a does not work on V10b/c. So what I did to address this:
And this allows the OTA client app to be removed without any negative consequences.
- Reverse engineered Settings.apk from V10a and V10b/c
- Extracted code from V10a (java/com/android/settings/DeviceInfoSettings)
- Inserted said code into V10b/c, replacing OTA code
- Recompiled Settings.apk minus OTA code
- Only LG code is included, none of mine, I've just ported it from one version to the next
Compatibility
- This is compatible with the LG Optimus 2x only, it will probably break something on the G2x variant.
- This mod is not compatible with CyanogenMod for the Optimus 2x (it is unnecessary)
Included In MCR and derivatives from Fr15 onward - No need to patch!
Download
For Users - ClockworkMod Recovery Update Zip
- Compatible with all ROM's based on MCR (MoDoCo) Fr4 and above (this is most at the moment)
- Check with your ROM chef and make a backup if you're not sure
- Download: LG-P990-OTA-Client-Eater-update.zip
- Install from SD card in Recovery (installs new Settings and removes LG OTA client)
- Hit Thanks below
For Chefs - To include in ROM's
- Remove OmaDmclient.apk from /system/app/
- Download: Settings-No-OTA-Client.apk
- Rename and replace Settings.apk in /system/app/
- Test by ensuring Settings | About Phone does not FC
- Provide credit
Closer to stock Android one step at a time...
Enjoy!
Last edited: