[Guide]Locking Apps In Memory

Search This thread

kanpurite

Senior Member
Nov 24, 2011
265
278
kanpur
Create a file local.prop in /data

Open it with text editor and add the following line :

For phone :-

Code:
sys.keep_app_1=com.android.contacts


for any other app

Code:
sys.keep_app_1=com.example.app








Step by Step Guide (Thank vaibhav) :

http://forum.xda-developers.com/showpost.php?p=31628598&postcount=24

Other methods if this does not work :

1 ) http://forum.xda-developers.com/showthread.php?t=1890495(by espaciosalter20)

2 ) http://forum.xda-developers.com/showthread.php?t=1012330(by zeppelinrox)
 
Last edited:

vaibhav palande

Senior Member
Jan 27, 2012
281
109
Pune
What about this??? kanpurite?

Do i have to set specific permissions to the file?

What about this kanpurite? If we need to set specific permissions which i haven't done, i am living with a placebo effect here. :silly::p But seriously now i kept my cell on standby for about an hour, and then tried opening phone, contacts and messaging apps.. BAM.... They open within a split second..
 

kanpurite

Senior Member
Nov 24, 2011
265
278
kanpur
What about this kanpurite? If we need to set specific permissions which i haven't done, i am living with a placebo effect here. :silly::p But seriously now i kept my cell on standby for about an hour, and then tried opening phone, contacts and messaging apps.. BAM.... They open within a split second..

EDIT::)

when you create local.prop it already has the minimum permissions set (666).
so i don't think there is need to set any permissions.
 
Last edited:

oxristsis

Senior Member
Oct 5, 2011
75
3
Hey, thanks for the tips but i am noob so i want to ask, does this help to open the apps faster than before?

and if i want to put there the messeging app and the dialer what name i must write?

thank u in advance
 

kanpurite

Senior Member
Nov 24, 2011
265
278
kanpur
Hey, thanks for the tips but i am noob so i want to ask, does this help to open the apps faster than before?

and if i want to put there the messeging app and the dialer what name i must write?

thank u in advance

It keeps your app's in memory all the time.
you can try it if your app's load slowly.

go to /data folder using any file explorer.
create a new file named 'local.prop'.

open it with text editor and add these lines :

sys.keep_app_1=com.android.contacts

sys.keep_app_2=com.android.mms




now save and reboot.
 

Oeps

Senior Member
Sep 2, 2012
56
16
Amsterdam
Thanks a lot!
Hope discussion in the main thread wil be over now.
I was in the ' camp' a phone is (still) a phone primarily (for me at least)....
 

vap_66

Senior Member
Jun 12, 2011
805
510
Guys, the path is in the phone's memory. The / sign means the root of that file system.
To make it clear: if you put that file on the SD card the phone will EXPLODE :D.

Trimis de pe Motorola Defy
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 56
    Create a file local.prop in /data

    Open it with text editor and add the following line :

    For phone :-

    Code:
    sys.keep_app_1=com.android.contacts


    for any other app

    Code:
    sys.keep_app_1=com.example.app








    Step by Step Guide (Thank vaibhav) :

    http://forum.xda-developers.com/showpost.php?p=31628598&postcount=24

    Other methods if this does not work :

    1 ) http://forum.xda-developers.com/showthread.php?t=1890495(by espaciosalter20)

    2 ) http://forum.xda-developers.com/showthread.php?t=1012330(by zeppelinrox)
    31
    Here is complete guide:

    Do the step by step procedure:

    1. Download root explorer application: Root Explorer (File Manager)

    2.Open it and allow superuser permissions.

    3. Open, /data

    acr4cS4H.png


    4.When in the /data folder press menu key and select New File:

    acflyh83.png


    5. Enter the name of the file as local.prop

    adrEV96R.png


    6. Now touch and hold on local.prop file until a dialogue opens and in the dialogue box select Open With:

    adoAwuWM.png


    7. Now select Text editor:

    adjRBvbX.png


    8. Now enter the names of the apps in the file:

    ade41HDa.png


    9. Now press menu key and select Save and exit:

    adhzkDE9.png


    Now system will show a message saying 'Old local.prop backed up as local.prop.bak'. And you are done.. Reboot and enjoy.

    Hope i helped.
    5
    Found one thing about editing local.prop

    Found one thing:

    After entering the app name in local.prop file leave one line blank at the bottom otherwise even if u save it, phone says no changes made... and apps u added in local.prop file won't be locked in memory.. Hope i helped.. :good::)
    4
    Hey, thanks for the tips but i am noob so i want to ask, does this help to open the apps faster than before?

    and if i want to put there the messeging app and the dialer what name i must write?

    thank u in advance

    It keeps your app's in memory all the time.
    you can try it if your app's load slowly.

    go to /data folder using any file explorer.
    create a new file named 'local.prop'.

    open it with text editor and add these lines :

    sys.keep_app_1=com.android.contacts

    sys.keep_app_2=com.android.mms




    now save and reboot.
    4
    What about this kanpurite? If we need to set specific permissions which i haven't done, i am living with a placebo effect here. :silly::p But seriously now i kept my cell on standby for about an hour, and then tried opening phone, contacts and messaging apps.. BAM.... They open within a split second..

    EDIT::)

    when you create local.prop it already has the minimum permissions set (666).
    so i don't think there is need to set any permissions.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone