Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Guide]Locking Apps In Memory

OP kanpurite

16th September 2012, 07:32 AM   |  #1  
kanpurite's Avatar
OP Senior Member
Flag kanpur
Thanks Meter: 277
 
265 posts
Join Date:Joined: Nov 2011
More
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/show...8&postcount=24

Other methods if this does not work :

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

2 ) http://forum.xda-developers.com/show....php?t=1012330(by zeppelinrox)
Last edited by kanpurite; 17th September 2012 at 03:05 AM.
The Following 55 Users Say Thank You to kanpurite For This Useful Post: [ View ]
16th September 2012, 08:08 AM   |  #2  
aribis's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 84
 
235 posts
Join Date:Joined: Jul 2010
More
That's more of a help than asking people to stop raising flags...thanks buddy!

Ari@JellyGreenDefy
The Following User Says Thank You to aribis For This Useful Post: [ View ]
16th September 2012, 10:26 AM   |  #3  
vaibhav palande's Avatar
Senior Member
Flag Pune
Thanks Meter: 109
 
281 posts
Join Date:Joined: Jan 2012
More
Arrow
Has any1 tried this already??? does this work?
The Following User Says Thank You to vaibhav palande For This Useful Post: [ View ]
16th September 2012, 10:34 AM   |  #4  
kanpurite's Avatar
OP Senior Member
Flag kanpur
Thanks Meter: 277
 
265 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by vaibhav palande

Has any1 tried this already??? does this work?

It's working for me.
actually i did'nt even have any delay opening the dialer earlier.
maybe someone who had this problem can try and report.

at least there is no boot loop or 'stuck at m logo' problem ,so no harm in trying.
The Following 2 Users Say Thank You to kanpurite For This Useful Post: [ View ]
16th September 2012, 10:37 AM   |  #5  
vaibhav palande's Avatar
Senior Member
Flag Pune
Thanks Meter: 109
 
281 posts
Join Date:Joined: Jan 2012
More
i want to add gosms in memory... the app name is com.jb.gosms..
what line should i add??

sys.keep_app_1=com.jb.gosms OR something else???
16th September 2012, 10:44 AM   |  #6  
kanpurite's Avatar
OP Senior Member
Flag kanpur
Thanks Meter: 277
 
265 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by vaibhav palande

i want to add gosms in memory... the app name is com.jb.gosms..
what line should i add??

sys.keep_app_1=com.jb.gosms OR something else???

if you already have contacts in memory then ,
sys.keep_app_2=com.jb.gosms

also you can check app name from package browser located in setting>developer option>launch tools
The Following 2 Users Say Thank You to kanpurite For This Useful Post: [ View ]
16th September 2012, 10:50 AM   |  #7  
vaibhav palande's Avatar
Senior Member
Flag Pune
Thanks Meter: 109
 
281 posts
Join Date:Joined: Jan 2012
More
Thumbs up
This works great. Tried it.. all the apps added to local prop take no time to open... thanx a lot...
The Following User Says Thank You to vaibhav palande For This Useful Post: [ View ]
16th September 2012, 11:39 AM   |  #8  
Member
Thanks Meter: 12
 
49 posts
Join Date:Joined: Apr 2011
Do i have to set specific permissions to the file?
16th September 2012, 11:48 AM   |  #9  
vaibhav palande's Avatar
Senior Member
Flag Pune
Thanks Meter: 109
 
281 posts
Join Date:Joined: Jan 2012
More
Cool 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..
The Following 5 Users Say Thank You to vaibhav palande For This Useful Post: [ View ]
16th September 2012, 11:59 AM   |  #10  
vap_66's Avatar
Senior Member
Thanks Meter: 511
 
805 posts
Join Date:Joined: Jun 2011
Great tip, thanks . Locked phone in memory, no more delays now.

Trimis de pe Motorola Defy

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes