[GUIDE] Locking contacts/sms apps in memory on JB/cm10 (technical / baksmali way)

espaciosalter20

Senior Member
Jun 12, 2011
1,534
888
143
Bogotá, Colombia, Colombia
This works great.. just want to know how to add more apps in memory???
the key is checking the variables in file, you have to following the secuencial hex codes for cond variables. For example: for this thread i used two "cond" variables (cond_2b4 and cond_2bf), but using hex codes, you can add many more using the same structure proposed in OP.
 
Last edited:

adddaamo

Senior Member
Oct 1, 2010
183
63
48
I am not sure if I've done this correctly. After this modification can you kill Phone or Message app by swiping it left from Task Manager ? Because I can. And app killers still kill this apps.
 

cojocar.andrei

Senior Member
May 29, 2008
460
118
63
Hi,
I hope this thread is still alive. I want to apply this trick to a g300 ascend but for this phone which has ics the lines from ActivityManagerServices.smali are different. Can you specify which private method I should search to insert the lines in and at what functions? I want to keep contacts in memory as this phone suffers from call id lag and the trick with sys.keepinmem does not work.
Thanks and hope someone will answer...

Sent from my Desire HD using xda premium