yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] JoSch68:
I'm testing R48 with new LMK Settings:

Forground App: 6

Visible App: 12

Secondary Server: 16

Hidden App: 20

Content Provider: 24

Empty App: 40

the active apps won't killing - for now...

PS: with android standard settings all apps even restarts
[Samsung Galaxy Nexus] SoftWord:
I always used nephilin values without any problem.......
[Samsung Galaxy Nexus] motorazrv3:
No probs on r48 and crDroid 10.

Phone behaves perfectly. It couldn't be better. For me the combination is perfect.

Gesendet von meinem Galaxy Nexus mit Tapatalk
[Samsung Galaxy Nexus] aliesz:
I am on slimkat stable build4.0 and with r48 kernel everything is working nice and smoothly. I restarted manually 1 time after clean flashing of kernel and first booting of system.
[Samsung Galaxy Nexus] SoftWord:
Sorry understand now. Boype has implemented new algorithm that require lower values then before.

Inviato dal mio Galaxy Nexus utilizzando Tapatalk

---------- Post added at 11:21 PM ---------- Previous post was at 11:12 PM ----------

With these values seams all ok.

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Samsung Galaxy Nexus] siealex:
These values must INCREASE monotonously from top to bottom. E.g. 6, 8, 10, 12, 16, 20.

PS. Try to load the device with one app (Chrome) until you have less than 64 M free. On ordinary kernel the phone almost completely locks up.
[Samsung Galaxy Nexus] ashclepdia:
someone else mentioned this I think,

it seemed that lmk would kill all kinds of apps and cached apps cleared when you open the main system settings app.

I hadn't noticed apps getting killed off or lag until after opening settings to go into apps and look at running.

could just be coincidence maybe since settings seems to use a nice chunk of ram.

also, I had lowered minfree MORE than what default was on r48, but I cannot remember yet exactly what I set, right now I'm using SmittyV(I'm getting a feeling that the asram kernels and such are detrimental to certain performance things but I haven't tested deeply on that yet.) which brings me to my question [MENTION=4615478]boype[/MENTION] -is there any chance you plan to or could make a version that DOESN'T take ram away from certain os things? I understand a LOT of people swear by these asram reclaimed kernels and such, and I usually do also, but I'd also like to be able to test between regular ram and asram kernels.

fully understand if you don't want to do two versions of kernels though :)

(I need to learn how to build kernel...I always wanted to hardcode in as default my usual settings too lol...I need to stop being lazy)
[Samsung Galaxy Nexus] Charmacas:
I am testing the following values:

Sent from my Galaxy Nexus with Tapatalk
[Samsung Galaxy Nexus] erghetto:
[MENTION=2288033]Charmacas[/MENTION] i'm testing your values. I'll make you know..

With default values sometimes, while i'm using phone, i see message from greenify that some apps have been greenified. So still there is something not perfect. Also nova launcher give me a message. Maybe the point is that every phone behaves in a different way. So for boype will be difficult finding a right mix xD
[Samsung Galaxy Nexus] gautam_nexus:
Synapse isnt supproted by the kernel..and i dont have the donate copy of Trickster Mod. is there any other way I can modify the Min Free settings.?

Thanks
[Samsung Galaxy Nexus] infectedorganism:
Init.d script, perhaps? Putting that into a file, placing it in /system/etc/init.d/, and setting the correct permissions may set the minfree values on boot. I'm not sure, but that may be worth looking trying.

Those are the default values for r48 which are undergoing some tweaking at the moment. They will likely be changed, but I suppose it wouldn't hurt to test to see if you can get the values to set on boot via init.d.
[Samsung Galaxy Nexus] Alkemix:
You must go by file manager into the path: /sbin/fancyinit2 ... edit the fancyinit2 file by txt mode and change this string: minfree=3072,4096,5120,6144,7168,12288 with Your custom values...
[Samsung Galaxy Nexus] infectedorganism:
Thanks for the fast reply and correction!
[Samsung Galaxy Nexus] gautam_nexus:
Thanks man...but what values corresponds to what in this file.

i cant find foreground apps, etcs
[Samsung Galaxy Nexus] Alkemix:
minfree values by script code : trickster mode representation

3072 :12 (Foreground app)

4096 :16 (Visible app)

5120 :20 (secondary server)

6144 :24 (hidden app)

7168 :28 (content provider)

12288 :48 (empty app)

You must apply the formule:

trickster mode values from script code = ((minfree value script * 4) / 1024)

Example:

((3072 * 4)/ 1024) = 12

...

...

...

... etc..

Inverse formule (from trickster mode values to minfree script code)

Script mode value = ((trickster mode value / 4) * 1024)

Example:

((12/4)*1024) = 3072

...

...

...

...etc...
[Samsung Galaxy Nexus] erghetto:
seems all ok, finally.. i don't want to talk too early, but apps in cache seem to remain there.
[Samsung Galaxy Nexus] RevengeFNF:
Using CM11, the battery of the R48 is just amazing, specially in Deep Sleep!!!
[Samsung Galaxy Nexus] Godra:
Can you please post some more details? Which battery and how old it is, how many apps you use (do you use FB and similar),do you use greenify? Im going on a trip in few days so Im looking for something that has nice battery life. Tnx in advance
[Samsung Galaxy Nexus] atiartstudio:
Just reverted back to r45. I had several reboots, as well as my apex was killed each time I intended to use drawer :)))... r49 was used without any changes. This crazy behavior happened after 1.5 day uninterrupted use ... I don't have idea what's happened with my Gnex... Really strange. Thumbs up for the continues development! Probably I will continue use it till end of next year... So this builds make me happy!
[Samsung Galaxy Nexus] RevengeFNF:
I have the 2000Mah battery.

I use a lot of apps, including Facebook, but i also greenify it ;) I use greenfy in all apps that consumes a lot of battery and i don't rely on them.

---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------

I also got a reboot yesterday. Probably there's something causing that.
[Samsung Galaxy Nexus] kostheback:
the best kernel
[Samsung Galaxy Nexus] thomstrack:
This values seems to work well in first moment. Launcher not killed everytime and the cached apps stay in cache. :D

I'll test others values when I have time.
[Samsung Galaxy Nexus] hardstyle86:
I lost all my widget configurations after a manual reboot. :(

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Samsung Galaxy Nexus] boype:
I am running these values since yesterday and they seem solid so far:

2048,3072,4608,7680,9782,14336

... which is this in trickster:

8

12

18

30

38

56

I have made the experience that lower values seem good in the beginning, but they start to get really laggy after half a day or so.
[Samsung Galaxy Nexus] morfances:
I wanted to try this morning R48 with the Beanstalk: success is everything and more!

Crash system.ui, google play ect ect ..
[Samsung Galaxy Nexus] infectedorganism:
Will test these values also and report back.

boype, whenever you release the next version, would you mind building one compatible with 4.2.2; a one-time deal, not continued support? If it's too much trouble, don't bother yourself with it.

I hate asking, but I'm asking. :o
[Samsung Galaxy Nexus] RevengeFNF:
I've tried those values and it started to reboot some apps that it should not.

I've tried the following values for 24 hours without any kind of problem or lag:

10

14

18

22

26

46
[Samsung Galaxy Nexus] Alkemix:
If Boype is in agreement I can re-pack an universal release of Fancy... a kind of dirty-Fancy Kernel
[Samsung Galaxy Nexus] motion_blur:
Can I use R48 with Android 4.3? I do not like Kitkat either...
[Samsung Galaxy Nexus] DR3W5K1:
No.
[Samsung Galaxy Nexus] tostep:
No, r48 was made for 4.4 (KitKat). The latest Fancy Kernel for 4.3 is located in boype site:

http://boypetersen.de/fancykernel43/
[Samsung Galaxy Nexus] infectedorganism:
Thanks.

My goal was to try and get the ramdisk updated as I'm using the one from r36. Sometime mentioned extracting the boot.img and fastboot flashing the zimage to update the kernel, which I have been doing, and all is running well. I was just looking to get the ramdisk updated to get the benefits of that as well.

All in all, a non-issue really as my device is running the best it ever has with the r48 kernel and r36 ramdisk.
[Samsung Galaxy Nexus] Alkemix:
Yes,,, but I don't like ramdisk (with boot.img) .. I prefer anykernel method by Koush ... I've re-packed last fancy github commits by this universal "ramdisk" with init.d scripts and I've add some cherry pick (not too much so as not to upset too fancy the original) +my custom colors ... fstrim from fancy r29 If You want flash universal kernel into 4.2.X ROMS... etc...
[Samsung Galaxy Nexus] infectedorganism:
As you said, if boype is in agreement, that would be much appreciated.

Thank you.
[Samsung Galaxy Nexus] boype:
I agree that any kernel format is preferable, but the problem with only init.d scripts is that you cannot setup everything the way a ramdisk can. That's why I stick to that method. For example, timer_slack does not work without a proper init.rc file.

Other than that, you can build a version for him. I wanted to do the same, but unfortunately did not have any time yet
[Samsung Galaxy Nexus] Droid-21:
r45 link please.
[Samsung Galaxy Nexus] mick.li:
http://boypetersen.de/fancykernel44/r45/fancy_kernel-tuna-4.4-r45-ext.zip

Mick
[Samsung Galaxy Nexus] infectedorganism:
I am in NO rush. Whenever you get around to it, if you get around to it, I will be grateful.
[Samsung Galaxy Nexus] Alkemix:
Ah ok.. then... You can use osm0sis' anykernel 2.0 ramdisk .. It is a hibryd between anykernel and real ramdisk method ...

Thanks for information about timer_slack and others : Good:... uhmmm I'll look into osm0sis method for the best solution... I'll send You a private message
[Samsung Galaxy Nexus] boype:
These values seem excellent!
[Samsung Galaxy Nexus] antonio8297:
Yes,i'm trying this from 13-14 hour,and seems very very goood.

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] stevens_kenneth:
Hi boype, can you make a r49 :) with these new perfect values?. Thanks (Sorry for my bad english)
[Samsung Galaxy Nexus] klobkelosh:
I was testing the values posted by charmacas a few pages back, and they're solid. Trying these new ones now.
[Samsung Galaxy Nexus] wasdf:
Can someone tell where can I download the previous version r45? Seem I have some problem running on r48... thanks

Edit: Found it, have to edit the URL,
[Samsung Galaxy Nexus] cujo6801:
Check a few pages back I'm sure somebody posted it

Sent from the "DOG" pound
[Samsung Galaxy Nexus] boype:
Maybe this evening

http://boypetersen.de has directory listing. Just go there and everything is available without editing URLs
[Samsung Galaxy Nexus] agritux:
Sadly i return back to r45

i have data drops but i dont know it is kernel or rom releated. Will test with r45.

But i notice that, there are more free memory in r48.
[Samsung Galaxy Nexus] lightingcloud:
My SlimKat 4.4 came to new life with r48. Thanks!
[Samsung Galaxy Nexus] erghetto:
It semmed so also for me. Then just few minutes ago i've checked cache ram and it was quite empty. Only two apps were present. I'll try again charmacas values
[Samsung Galaxy Nexus] thomstrack:
Same here. I went back to r45 with wavedashdoc minfree settings. My phone is running smooth and fast. :laugh:
[Samsung Galaxy Nexus] erghetto:
Well with charmacas's values maybe i hadn't this problem. I want to check again with them

Edit: [MENTION=4615478]boype[/MENTION] the not finding right values which disadvantages can bring? I mean.. I haven't lag, reboot freeze or else..
[Samsung Galaxy Nexus] RevengeFNF:
Thats the point. Kill cached apps to have enough free ram for the other operations.
[Samsung Galaxy Nexus] infectedorganism:
On r45, I have 14 cached processes. While I was on r48, I had a maximum of 2 which were always quickly removed from cache.
[Samsung Galaxy Nexus] RevengeFNF:
And thats the reason that when i opened Chrome in R45, my GN was lagy as hell, and with R48 Chrome is very fluid.

We don't need every apps to be in cache, unless we have a 2Gb phone. Apps in cache are simple ghosts... They are there, so the next time you open them, will be a little faster. But i prefer my phone to be more snapier.
[Samsung Galaxy Nexus] erghetto:
Yeah but i suppose that having apps in cache is less work for cpu during the day.. And maybe we can gain a bit in terms of battery.. Or not?
[Samsung Galaxy Nexus] infectedorganism:
I agree. My phone performs the best it ever has with r48. I only reverted back because no matter which minfree values I tried, apps were constantly being restarted.
[Samsung Galaxy Nexus] RevengeFNF:
Try the values i posted. They work without any restarts, at least with my GN.
[Samsung Galaxy Nexus] infectedorganism:
Your values were the last set I tried. They worked well, but I ran into the same issues; it may be something particular to my set up as its always the same processes being restarted: bip, greenify, and better wifi on/off.
[Samsung Galaxy Nexus] RevengeFNF:
Did you try lower the values until those apps do not restart?
[Samsung Galaxy Nexus] infectedorganism:
Yes, but I'm going to try again, starting with your values and lowering from there.

Thanks for the help.
[Samsung Galaxy Nexus] ashclepdia:
concerning the recent talks about the lowmemorykiller changes and different settings being tried, I started looking into the coding behind it and such.

there is something I've come across a long time ago and was confused by and it recently came back into my thoughts now due to this.

all documentation I've seen regarding the /sys/module/lowmemorykiller/parameters/adj shows the values to be set as "0,1,2,7,14,15" yet the values I've seen on the Gnex at that spot are "0,58,117,411,823,1000".

I've tried setting the values to the above to see what happens, yet it won't LET those values be entered, I CAN modify the values(right now I've set each one to about half of what is there originally, just to test out what happens), but I'm curious to see if anyone can tell me WHY it won't let me Set the "0,1,2,7,14,15" values? and maybe also WHY the defaulted values of 0,58,117,411,823,1000 seem so out-of-line with what I see mentioned in anything I can find through Google.

(I even tried multiple searches for things like "tuna adj values 0,58,117,411,823,1000" yet even Google tells me no pages match anything like that, which I find weird that I can't find any info regarding this and those values)
[Samsung Galaxy Nexus] infectedorganism:
I have just set those values in TricksterMod and they applied successfully, even surviving a reboot. Whether or not those values are the ones actually in use, I'm not sure how to test that.
[Samsung Galaxy Nexus] ashclepdia:
no I'm not referring to minfree values.

I am talking about adj values.

they are in the same parameters dir that the minfrees are but are something else,I believe it has to do with the priority levels for the lmk to decide which apps to kill when, though I'm not entirely certain on exactly what they are for, but I'm certain they are different than the minfree values.

this can't be adjusted via trickster.

I'm editing via root explorer in /sys/module/lowmemorykiller/parameters/adj
[Samsung Galaxy Nexus] ashclepdia:
Woah

Okay.... Just had random lock up and reboot while browsing around. And when it booted back up, it looks like all my paid apps are gone, but they aren't actually gone. I can see them in data with file browser. But they error on trying to install via play store since they are still on device.

Really weird.

I have a last kmsg from immediately after the reboot. As I was looking through it I see TONS of lines referring to something about hello world rpmsg or something.

(Also, this isn't a complaint or blame to kernel or anything, I'm just trying to figure out what/how this happened. Recently similar happened but only with Nova launcher and I think that was on Dirty V kernel install)

Any thoughts on what happened here?

It also apparently signed me out of everything. All gapps I had to sign in again, and all the settings for those apps have reset to default as well. And it lost all of my default apps preferences. This is crazy, I've never seen it happen to this degree before. So many of the apps just don't show anymore.. Gonna try a few things to get them back without having to full restore device.
[Samsung Galaxy Nexus] klobkelosh:
Do you disable fsync?
[Samsung Galaxy Nexus] ashclepdia:
Usually I do not...

But I might have... I cannot remember if I did.

I've had plenty of lock ups and reboots with fsync disabled in the past though(running Franco and others) where this didn't happen to me.

Usually I don't change that setting in trickster and just leave it at default though, it's possible I turned it off but I can't be sure.
[Samsung Galaxy Nexus] infectedorganism:
I know I misunderstood you and set the values 0, 1, 2, 7, 14, 15 as my minfree when in fact you were taking about the adj values, but setting those as my minfree values have, knock on wood, solved the issue I was having with any other set of values I have tested.

Apps are no longer restarting, apps "properly" remain in cache, and the performance of my phone is good. I will be keeping those values as my minfree for the time being and will continue testing them.
[Samsung Galaxy Nexus] SoftWord:
Why I can't change adj values? I'v try in shell and via ES Explorer but no way

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Samsung Galaxy Nexus] MBQ_:
trickstermod
[Samsung Galaxy Nexus] mick.li:
But only if you have a Donate Key.

Mick
[Samsung Galaxy Nexus] MBQ_:
Which I do. :)
[Samsung Galaxy Nexus] ashclepdia:
Not if referring to the adj values I was referring to.

You can set minfree values within trickster, but not adj values

---------- Post added at 02:04 AM ---------- Previous post was at 01:53 AM ----------

Those values I mentioned above (which [MENTION=4078274]infectedorganism[/MENTION] mistook for minfree values) as adj values, it will NOT accept them and will return to defaults.

If you want to set those as the minfree values like he has done, echo them to /sys/module/lowmemorykiller/parameters/minfree

The values I was referring to are within the same dir except the end of path is /adj in place of /minfree .

The only values I was able to get to stick into the adj values were along the lines of ~about half of the original ones. Though I'm not sure if it helped or hurt anything I wasn't able to test much with adj values edited.

And remember guys, I'm just EXPERIMENTING, so be careful, nandroid before messing around with things unless you know exactly what they doing or don't care about setting up again ;)

I also noticed what looked to be a 1/0 (on/off) setting in that dir for "lmk_fast_run" which got me trying to find out exactly what that would do if changed from default of 1 to 0. And blah blah blah messing with and experimenting with things you have not much knowledge on is fun! :D

---------- Post added at 02:05 AM ---------- Previous post was at 02:04 AM ----------

That would be totally sweet if a misunderstanding turns out to give the best values for minfree settings
[Samsung Galaxy Nexus] SoftWord:
There is something wrong in that revision boype..... Apps continue to reload (superuser alert me that some root apps request root access), I think mean that kernel continue to kill apps and reload continuously.

The cause can be the minfree values? I use the latest posted here

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Samsung Galaxy Nexus] andreas__:
You may want to revert to r45 or test some of the custom minfree values posted here on the last pages :)
[Samsung Galaxy Nexus] infectedorganism:
I hesitate suggesting this because of how they came about, buy try these: 0, 1, 2, 7, 14, 15.

I misinterpreted one of ashclepdia's post and ended up setting those values as my minfree. Since then, not one single restarted app and no other issues to speak of.
[Samsung Galaxy Nexus] SoftWord:
Days ago I'v tested similar values that I'v posted here. I try yours thanks :)

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Samsung Galaxy Nexus] zofox:
try Kernel Tweacker :D
[Samsung Galaxy Nexus] klobkelosh:
I've been running these values for a few days since I saw them, and they're solid.
[Samsung Galaxy Nexus] boype:
r49 coming this Sunday

Hi all,

First of all thank you for your help testing minfree values.

I think I have found a very pleasant solution for this now.

Apart from getting right what has been faulty in the last few releases, I have adapted osm0sis' anykernel2 for fancy. This is what many have been looking for, since the kernel is now really universally usable across android 4.2, 4.3, 4.4, as well as on pretty much all kinds of ROMs. I hope the transition to the new format won't be any trouble for anybody - I had quite a number of problems at first, but with a few modifications this should now work just fine.

The kernel is already built and running on my phone, all it needs is a proper change log and a release post, which I will both create this Sunday.
[Samsung Galaxy Nexus] 47th_Ronin:
Ummmm.....

HELL YEAH!

lol

Sorry couldn't help myself there...
[Samsung Galaxy Nexus] SoftWord:
Good job [MENTION=4615478]boype[/MENTION] :)
[Samsung Galaxy Nexus] namtombout:
When you get a chance can you tell us what you think about Franco's touch boost feature and metalspring's custom toolchain? We love your knowledge and insights
[Samsung Galaxy Nexus] SoftWord:
and another good feature of Franco is GPU AUTO OC......
[Samsung Galaxy Nexus] Ashtrix:
Unfortunately the 512Mhz OC of our device's GPU is an utter wastage of power, just google it and you'll know what i'm talking..;)
[Samsung Galaxy Nexus] agritux:
R49 is running amazing!

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] boype:
r49

Hi,

so here it is:

skipped a few change logs because all the last two releases did was trying to fix one issue :)

arm: Increase the DMA consistent memory zone to 4MB

omap: iommu: relax constraint value to allow CSWR (might help with more energy efficient idling)

tuna: wifi: revert startup delay to 70 msec (the random wifi mac patch somehow came along with a lower value a long time ago)

switched to [MENTION=4544860]osm0sis[/MENTION] anykernel2 format with mkbootimg / unpackbootimg binaries by xda user [MENTION=4825267]alireza7991[/MENTION]. This kernel should now work on pretty much all Android 4.2 / 4.3 / 4.4 ROMs.

change vfs_cache_pressure to 125 when screen is on

increase min_free_kbytes to 12288

new, apparently solid lowmemorykiller minfree values: 3072,4096,6144,7680,9216,14436

With the new combination of minfree and min_free_kbytes, the kernel keeps some megabytes always free for faster and more fluid memory allocation of new apps. I tested quite a bit and only apps that should get killed will actually get killed. Hope this works for all of you too :)

Please note the install procedure for anykernel2:

It is good practice to (dirty)flash the ROM first and then the kernel afterwards. This way, you ensure the RAMdisk that is modified by anykernel is clean. You should never flash an anykernel2 kernel over another custom kernel!

Also, I'm eager to see if the anykernel2 install package works for everyone without any problems.
[Samsung Galaxy Nexus] hardstyle86:
Does r49 work with TouchControl or anykernel is a problem in this way?
[Samsung Galaxy Nexus] Ashtrix:
I can flash r49 over a normal Anykernel (no ramdisk) rt w/o any dirtyflashing ??

Thanks !!
[Samsung Galaxy Nexus] Alkemix:
Not recommended because You can accumulate more init scripts that can counteract each other... Into /sbin/ You would you have other scripts as well as fancyinit1 and fancyinit2 !

Example from TWRP recovery:

1) Wipe cache

2) wipe dalvik

3) wipe system

4) Flash your custom rom

5) Flash google apps (You has wipped system !!!)

6) flash Fancy kernel Universal

7) reboot to Android
[Samsung Galaxy Nexus] Charmacas:
The kernel works great here! Thanks boype! :)

Sent from my Galaxy Nexus with Tapatalk