[Galaxy Note 3 Neo General] m80dv:
I found this trick in S6 forums. Thanks to [MENTION=2918779]mikeyinid[/MENTION]

Paste:

Explanation: (From [MENTION=2918779]mikeyinid[/MENTION] )

Here is a quick rundown on how this came about, and what we actually know.

Since I purchased the S6 on release day, I've been messing with certain things, as you can see from the ROM I posted, Looper(shameless plug). Debloating Samsung apps really helped with battery life and I was pretty happy with the results. But like so many other people, I didn't understand why my S6 killed apps so aggressively. Initially I thought it might be the memory leak we all know so much about in 5.0. So, I did a little research and found the patch for that. While it did help keep the device stable over time, apps were still being killed with no prejudice. All this time I noticed really useless services running in the background, often stuff I'd never even opened. I studied LMK and started messing with those settings. After a month of trying everything I could find documented, I was ready to give up. Yesterday I was looking through the services.jar smali for the 37,875th time and realized the DHA referenced in there has to have something to do with memory management. I kept overlooking it because I hadn't seen mention of it anywhere else. I am no smali guru, as some of you know. But it was pretty obvious DHA was influencing memory management to some extent. Samsung, although leaving us in the dark on this, was kind enough to give us props to set the values for DHA. I pulled a few that seemed relevant, added them to my build.prop, and what do you know. For the first time in almost two months of tinkering, I saw an improvement in the way my device was managing memory.

The thing everyone needs to understand; I have no clue what DHA is. It overrides every aspect of Googles LMK and seems to do so in a way that makes more sense. I'm sure someone with more knowledge than myself will be able to tune this to the point the S6 will be the multi-tasking champ. There are several other props in the smali that are probably useful. I will try to get them all with their default values posted today. This has been pretty exciting for me, I spent way to much time trying to figure out the issue to not make some sort of progress. I hope you guys enjoy the tweaks, and I hope it helps sway those of you on the fence about keeping this device to stay. It's only gonna get better

Instructions:

First find your build.prop. This is located in /system. to get to /system you need to go to the root directory using a file explorer and then go to the system folder. The build.prop will be in there. You can also use and app such as build.prop tweaker but its a bit harder (imo)

In your build.prop scroll to the very bottom and paste this in:

(values in my build.prop Note 3 Neo, may be others values work better but for me are awesome)

ro.config.dha_cached_max=30

ro.config.dha_cached_min=14

ro.config.dha_empty_init=36

ro.config.dha_empty_max=12

ro.config.dha_empty_min=8

ro.config.dha_th_rate=1.0

ro.config.dha_lmk_scale=0.878

Delete duplicate lines if you find.

Other thing. With Kernel Adiutor in LMK section select "very agressive" and apply on reboot.

Finally reboot your device.

Enviado desde mi SM-N7505 usando Tapatalk 2