Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,619 Members 46,357 Now Online
XDA Developers Android and Mobile Development Forum

[Guide]Locking Apps In Memory

Tip us?
 
kanpurite
Old
(Last edited by kanpurite; 17th September 2012 at 02:05 AM.)
#1  
kanpurite's Avatar
Senior Member - OP
Thanks Meter 276
Posts: 265
Join Date: Nov 2011
Location: kanpur
Default [Guide]Locking Apps In Memory

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)
The Following 54 Users Say Thank You to kanpurite For This Useful Post: [ Click to Expand ]
 
aribis
Old
#2  
aribis's Avatar
Senior Member
Thanks Meter 84
Posts: 234
Join Date: Jul 2010
Location: Kolkata
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: [ Click to Expand ]
 
vaibhav palande
Old
#3  
vaibhav palande's Avatar
Senior Member
Thanks Meter 108
Posts: 281
Join Date: Jan 2012
Location: Pune
Has any1 tried this already??? does this work?
Using Lifeproof Motorola Defy+ (MB526) on Android 4.4.2 (KITKAT) by Quarx,
USE THANKS BUTTON IF I HELPED
The Following User Says Thank You to vaibhav palande For This Useful Post: [ Click to Expand ]
 
kanpurite
Old
#4  
kanpurite's Avatar
Senior Member - OP
Thanks Meter 276
Posts: 265
Join Date: Nov 2011
Location: kanpur
Quote:
Originally Posted by vaibhav palande View Post
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: [ Click to Expand ]
 
vaibhav palande
Old
#5  
vaibhav palande's Avatar
Senior Member
Thanks Meter 108
Posts: 281
Join Date: Jan 2012
Location: Pune
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???
Using Lifeproof Motorola Defy+ (MB526) on Android 4.4.2 (KITKAT) by Quarx,
USE THANKS BUTTON IF I HELPED
 
kanpurite
Old
#6  
kanpurite's Avatar
Senior Member - OP
Thanks Meter 276
Posts: 265
Join Date: Nov 2011
Location: kanpur
Quote:
Originally Posted by vaibhav palande View Post
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: [ Click to Expand ]
 
vaibhav palande
Old
#7  
vaibhav palande's Avatar
Senior Member
Thanks Meter 108
Posts: 281
Join Date: Jan 2012
Location: Pune
This works great. Tried it.. all the apps added to local prop take no time to open... thanx a lot...
Using Lifeproof Motorola Defy+ (MB526) on Android 4.4.2 (KITKAT) by Quarx,
USE THANKS BUTTON IF I HELPED
The Following User Says Thank You to vaibhav palande For This Useful Post: [ Click to Expand ]
 
Mikis89
Old
#8  
Member
Thanks Meter 12
Posts: 47
Join Date: Apr 2011
Do i have to set specific permissions to the file?
 
vaibhav palande
Old
#9  
vaibhav palande's Avatar
Senior Member
Thanks Meter 108
Posts: 281
Join Date: Jan 2012
Location: Pune
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..
Using Lifeproof Motorola Defy+ (MB526) on Android 4.4.2 (KITKAT) by Quarx,
USE THANKS BUTTON IF I HELPED
The Following 5 Users Say Thank You to vaibhav palande For This Useful Post: [ Click to Expand ]
 
vap_66
Old
#10  
vap_66's Avatar
Senior Member
Thanks Meter 511
Posts: 802
Join Date: Jun 2011
Great tip, thanks . Locked phone in memory, no more delays now.

Trimis de pe Motorola Defy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes