Unfortunately, I know the answer to this question.....

Discussion in 'Team D1-MIUI' started by PARick, May 13, 2011.

  1. PARick
    Offline

    PARick New Member

    Joined:
    May 18, 2010
    Messages:
    726
    Likes Received:
    0
    Trophy Points:
    0
    but, is there a way to lock an additional app into memory with this ROM. My exchange emails are still hit and miss as far as push. I'm sure I can't but thought I'd ask.:)
  2. kamisan
    Offline

    kamisan Member

    Joined:
    Jun 19, 2010
    Messages:
    330
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Texas
    lock app in memory, not really but make it harder to kill, yes!

    I think you can change the oom priority to a negative
    dialer is -12
    android system is -16
    launcher is -12
    messaging is 0
    most apps are at a 4

    -17 is the oom limit. OOM is an app killer set by android to help it automatically shut down apps..
    Auto memory manager lets you set it also.
    I found a write up on the process at xda-developers - View Single Post - How to configure Android's *internal* taskkiller

    Otherwise your looking at doing some code mod's
    services/java/com/android/server/am/ActivityManagerService.java.......

    I also saw some people using task killers with a keep alive option.

    not great ideas but something..
  3. PARick
    Offline

    PARick New Member

    Joined:
    May 18, 2010
    Messages:
    726
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the help! Now, if I only understood the write up:)
  4. kamisan
    Offline

    kamisan Member

    Joined:
    Jun 19, 2010
    Messages:
    330
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Texas
    Sorry PARick for not replying back sooner

    Yea a bit criptic I know, check out my post on the V6 supercharger script, it does it all for you. I was messing with memory settings and getting frustrated that I just didnt know eneough on this OS to play with pagefile settings and memory slots and was just begginning to see the light when I stumbled on the script on XDA forums and the light bulb went off! I figured I did not need to re invent the wheel then.
  5. PARick
    Offline

    PARick New Member

    Joined:
    May 18, 2010
    Messages:
    726
    Likes Received:
    0
    Trophy Points:
    0
    Hey, no problem. I am going to give it a try!
Search tags for this page
android oom changer
,

android oom priority

,

android sms priority setting

,
change oom priority android
,
how to change oom priority
,
how to change oom priority android
,
omm priority
,

oom priority

,
oom priority changer
,
oom settings android
,
set priority to process android xda
,

sms priority setting android