[LG Optimus 2x] lubosmj:
All of us know what is the worst thing in our phone. It is a low capacity of RAM. And of course, there is no RAM expander app which can enlarge your RAM from 512MB to 2GB. :rolleyes:

Now I am going to show you how to free your RAM with no bad impact on your system stability.

All Users:

In Google Play Store there is an app which allows you to disable various services of system or third-party apps. Its name is

My Android Tools.

Developed by WangQi. In this app you can disable services which are running in the background and are occupying your RAM and even more.

Also I found out that this app may cause BOOTLOOPs and the only way to get rid of BOOTLOOPs is factory reset. But if you are an enthusiast of this app, you can try disabling all of the Google Play Services. :cyclops: You shall see. :cyclops:

Which services have I disabled?

[I]Note: Services marked as " *xyz* " are safe to disable. [/I]

com.android.smspush:
-*WapPushManager*

Google Play Services:
-*AdRequestBrokerService*
-*AdvertisingIdService*
-*AnalyticsService*
-*DeviceConnectionServiceProvider*
-*DispatchingService*
-FusedLocationService
-FusedProviderService
-*GcmService*
-*GeocodeService*
-GeofenceProviderService
-*GoogleHttpService*
-*GoogleLocationManagerService*
-*GoogleLocationService*
-*LocationWearableListenerService*
-NetworkLocationService
-*NlpLocationReceiverService*
-*ProxyGTalkService*
-*SyncService*
-*SystemUpdateService*
-*WearableService*

Google Play Store:
-*ContentSyncService*
-*DailyHygiene*
-*InAppBillingService*
-*MarkedBillingService*

Google Services Framework:
-*EventLogService*
-*CheckinService*
-SystemUpdateService

Messaging:
-*TransactionService*

-Network Location:
-*NetworkLocationService*

SIM Tool Kit:
-*StkAppService*

All of the *Voice+* services.

Which receivers have I disabled?

Google Play Services:
-AccountsChangedReceiver
-CheckinService$ActiveReceiver
-ConnectivityReceiver
-GServicesChangedReceiver
-PowerConnectedReceiver
-SystemUpdateService$ActiveReceiver
-SystemUpdateService$Receiver

Disabling the Google Play services may cause huge battery draining. Be careful with it. I am not responsible for any potential damage to your device.

Anyway, there is always an option to enable services which were already disabled. I have not written all of the services which can be disabled! With this app I have freed almost 35MB of RAM.

And if you want to know which services or processes are persistently causing wakelocks, the best app I have found is Wakelock Detector-Save Battery. It is developed by UzumApps and you can Download it from the Google Play Store. With this app you can see particular name of service which is consistently waking your device and preventing it from deep sleep. And if you know the name of that nasty service you can disable it by My Android Tools app. Isn´t that simple?

Conclusion

There is no need for RAMHack versions of kernel because you will have enough free RAM to switch between two or three running apps. As a daily-driver I can see big imrovements in Graphic. Because that 32MB of RAM did not come from heaven. You can record 720p videos or play "heavy" games without any annoying lags. That is my point of view.

If you have any questions, do not hesitate to ask me!

Learn more:

http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/

http://www.xda-developers.com/defend-your-battery-with-wakelock-detector/

http://xdaforums.com/showthread.php?t=2179651

http://xdaforums.com/nexus-6/general/disabling-google-play-services-guide-t2999821

http://xdaforums.com/xperia-u/issues/app-disable-service-t2455525

http://xdaforums.com/galaxy-s-advance/themes-apps/share-myandroidtools-guide-to-disable-t2869119

Personal recommendations

I have been testing custom ROMs for a quite long time. In my opinion, the best stable and reliable custom ROM for our old device is CM10 Look Ma! No Hands! by pengus77. I know that it is old JellyBean Android 4.1 but we have to admit that our device was not made for Android 4.4 Kitkat. When I came to this ROM I was pretty shocked of its amazing performance and fluency. I have not seen any bugs or huge lags like in the latest CM11 ROMS yet. I understood why they call pengus77 master. ;) So I would recommend you this ROM.

You can download this ROM from this post - http://xdaforums.com/showpost.php?p=49850599&postcount=3775

Also see this post which is really helpful - http://xdaforums.com/showpost.php?p=54626701&postcount=3790

Do not install heavy apps such as Facebook or Google Chrome. They are not developed primarily to our device since 2013. Disable or unninstall all system apps which are useless. For example default Email, Google Search, Google TTS, Pico TTS, Sound Recorder, Talk/Hangouts, TalkBack, Voice dialler, default launchers and many many more. Instead of default launcher use Nova launcher. Minimize number of widgets on your desktop because they have got running services in the background.

Small advice :

Do not use taskers or "Clean Masters"! Android’s operating system has its own native handler for assigning RAM to apps and making sure that all of it is being used in the most optimal way. In fact, Android purposely tries to keep apps loaded into RAM for better performance.

+CM11 and SlimKat users:

Did you know that in CM11 and latest SlimKat 9.0 there is a feature called

Privacy Guard

?

With this feature you can simply and easily take control of your apps. You can decide which permissions have to be denied for individual apps.

Go to > Settings > Privacy > Privacy Guard – you will see your apps listed – tap the shield to enable/disable an app* (In SlimKat ROM, Go to > Settings > Security > Privacy Guard)

Check the > Settings menu for the option to reveal native apps

Usage stats – long press an app > options page will show detailed breakdown of each apps permissions. You can control these individually. More important for me is the app option that allows you to see the last time that permission was requested

Most if not all apps permissions will automatically be set to “Allowed”. You can control for example whether an app has access to your location data – if so you can set to “Denied”. For example, in Google Play Services I have denied Location,Wake up and Keep awake.

Once you’ve done the above, you can go back to the main list of apps and tap > Advanced button in > Settings. You will now see a category view which is useful to look through groups of apps with similar problems

Be aware of Auto-Start permission requests in “Bootup”. These are apps that will use your battery and monitor Wake up – useful to keep an eye on!

We should acknowledge that our device is too old and it has got no future. But when God will send to us stable Kitkat ROM and Kernel it will be amazing. :angel:

Changelog

May 1
- Added hyperlinks
- Deleted typos
- No more updates anymore
March 4
- Added new ScreenShots
- Added more services which can be disabled.
- Deleted unnecessary services.
- Better overview.
March 3
- Services marked as " *xyz* " are safe to disable.
- Added more services which can be disabled.
March 2
- Added more services which can be disabled.
- Deleted typos.

See attachment. CM11 by tonyp norh and CM10 by pengus77 norh.