Multitasking is an important part of the Android OS. Android OS helps in better multitasking by keeping some apps running in background. When the number of background apps increases, some apps are killed by the OS. When this happens, some apps which the user wants to run in the background might get killed.

There is a way out of this. The Android user can lock the apps in the memory to prevent it from being killed by the OS. This involves creating a new local.prop file in the /data directory and then just entering a few lines to edit this file.

Follow the instructions given below to lock the app in memory.

Requirements :

  • Android device must be rooted
  • File manager installed on the Android (for e.g Root Explorer)

Steps :

  1. Download the Root Explorer apk file from the link and install it on the device.
  2. Open Root Explorer and provide the root permissions.
  3. Now tap on “Mount R/W” which can be seen on top of the screen.
  4. Scroll down and open the “data” directory.
  5. Once in the /data directory, press menu key and select “New File”.
  6. Enter the name of the file as local.prop.
  7. Now long press on local.prop and select the “Open With” option.
  8. Now select text editor.
  9. The app’s process name should be known to the user. For e.g. if the user wants to lock the Contacts app in memory, type “”. “” is the process of the Contacts app.
  10. Similarly other apps can be locked in the memory in the following manner.
    lock app
  11. Now press menu key and select Save and exit.
  12. Now system will show a message saying ‘Old local.prop backed up as local.prop.bak’. And you are done.. Reboot and enjoy.

Note : This method will not work on all ROMs. However, it is risk free. So the user can give it a try.

You might also like these post :

About Lazy Smurf

I am a tech geek. I keep myself updated with all the recent happenings in the smartphone world. | Add my circles on Google+ :

One Comment

  1. Billis Oobe Iliog
    Posted August 3, 2014 at 4:29 pm | Permalink

    Hello. Im owning a Samsung Galaxy S3 with android 4.3 and i confirm that this doesnt work. But i ve seen very possitive comments at a paid app called Memory Locker. It does the thing that we say here. Im going to buy that tomorrow and check it. Thank you although for your kind efforts of share your idea very much.

Leave a Reply

Your email address will not be published. Required fields are marked *