yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] boype:
So I have implemented zcache, the stuff faux123 recently implemented and got very positive feedback about. However, I am not convinced, because I certainly feel the compression / decompression slows down the system a little and is not quite as smooth. Now the question is: Release r34 with zcache (which you cannot switch off) or put up another test version?
[Samsung Galaxy Nexus] shawnaye:
doesn't really make a difference calling it a test version or r34.

we'd flash it anyway. HAHA!
[Samsung Galaxy Nexus] pcphobic:
[MENTION=4615478]boype[/MENTION] make it a test release first. Then we can test it for u and give our feedback
[Samsung Galaxy Nexus] RevengeFNF:
If we cannot turn it off, i think it should not be the default for r34. Anf if you notice the system is not quite smooth, better to walk away from that.
[Samsung Galaxy Nexus] im the doctor:
what if you put up a zcache and a zcache-less version, so we can teste and report

a lot of tester are better than only one :D
[Samsung Galaxy Nexus] mangusZen:
+1

sent from Vega gnex
[Samsung Galaxy Nexus] thomstrack:
If there is no option to turn off, I think it would be better not to include in this version (r34). Because, in this way would have more time for testing and who hedge enter the next version.

The Fancy kernel the most smooth, fast and battery friendly kernel.

Thanks for awesome work! :laugh:
[Samsung Galaxy Nexus] boonz19:
I believe we all trust your sense of what is better for the kernel. :D
[Samsung Galaxy Nexus] zoomy942:
Agreed. Like you said before boype, new things arent always good.
[Samsung Galaxy Nexus] im the doctor:
but without a test we cant be sure :S
[Samsung Galaxy Nexus] angourakis:
faux123 said it would improve with time and usage. Maybe with a couple of days? I vote for a test version with zcache enabled!
[Samsung Galaxy Nexus] n2rjt:
My suggestion:

R34 without the experimental feature.

R35.test1 with the feature.

I personally am pessimistic. I think the benefits will be offset by the lag caused by compression. But testing will be the proof.
[Samsung Galaxy Nexus] abhishek93:
I m really very sleepy but i am waiting for r34 to come :P [MENTION=4615478]boype[/MENTION] come out with r34 can't wait anymore :D
[Samsung Galaxy Nexus] sajty:
In few hours,i am leaving my country and will not have access to internet for few days.So i am very impatient too :D.
[Samsung Galaxy Nexus] ReMuSeR:
I vone for test versionsto be continued
[Samsung Galaxy Nexus] abhishek93:
R34 is out :P refresh button just got raped :P
[Samsung Galaxy Nexus] boype:
r34 up; pre35-01 also up

Hi,

r34 is up. Change log:

updated to Linux 3.0.85

cgroup/timer_slack: fix cgroup permission errors (no more logcat spam)

reverted backported 3.4 android staging driver to original 3.0 one (includes lowmemorykiller; seems snappier than the ported 3.4 driver)

lowmemorykiller: do asynchronous memory compaction on killing processes (kind of an automatic RAM-defragmentation; might help with maintaining good performance over long up times)

disabled zram functionality

ondemandplus governor: two improvements from new interactive patches

small cgroup tweaks (cf. git)

small block tweaks (cf. git)

added 360 Launcher to whitelist (com.qihoo360.launcher)

enable 1.5 GHz CPU overclock only for extended version (since it is not necessarily stable)

few small bugfixes

Also, pre35-01 is up. It's exactly like r34, but it has zcache enabled. Please test if zcache is any good.

Best regards
[Samsung Galaxy Nexus] zoomy942:
I don't use trickster or anything so on r35 1 zcache is already enabled?
[Samsung Galaxy Nexus] boype:
Yes
[Samsung Galaxy Nexus] Rufufu:
Thanks Boype !!

What is the reason for disabling zram?
[Samsung Galaxy Nexus] Blackcrx:
Is test 4 and r34 the same? Should I bother with r34 or just go straight to test 1? Haha
[Samsung Galaxy Nexus] sajty:
No,its not.They have different size,so cannot be the same.
[Samsung Galaxy Nexus] chikimonke:
I think I like zcache so far, haven't noticed any lag yet. Is it not able to be enable/disabled at all, like is there something we can put into terminal emulator to turn it on and off? Or is it just hardcoded on? I believe faux updated his tweaking app when he released this feature too. Is it a matter of trying out his latest app or getting the Trickster guys to add in the interface? Don't want to disable right now, as it seems initially to be good, but just throwing out general knowledge type questions. Thanks
[Samsung Galaxy Nexus] im the doctor:
ok, that is an idiot question but..

zcache does for the cache the same thing that zram does for ram, isn't it ?
[Samsung Galaxy Nexus] zoomy942:
So what advantage is zcache supposed to give us?
[Samsung Galaxy Nexus] Sik-1:
Bcuz of zcache :D:thumbup:
[Samsung Galaxy Nexus] mpokwsths:
[MENTION=4615478]boype[/MENTION]

ZCache in faux's kernel is definitely working nicely. When the device's RAM is exhausted and many apps are open, just before the lowmemory killer starts killing, the cached (and compressed) data of the background apps is retrieved much quicker. This is my experience with Zcache.

BUT ... faux has also tweaked some tunables related to ZCache: http://xdaforums.com/showthread.php?t=1414850&page=101&p=43358736
[Samsung Galaxy Nexus] boype:
Thanks man, I'll check it out.
[Samsung Galaxy Nexus] mpokwsths:
Great!

The ZCache is working great!

Actually better than Faux's. I recon this happened because of the more advanced other features of this kernel (modern interactive, ram timings, etc).

It feels like a device with a little bit more ram and also much more responsive under heavy multitasking. Only drawback is some hickups here and there because of the real-time compression (a bit of OC would help here).

Made a little script to activate most of the Faux's proposed settings if anyone wants it.

Great job boype!
[Samsung Galaxy Nexus] jesssiii:
Flash each time with kernel or every reboot (reboot erases it?)

GNex Toro
[Samsung Galaxy Nexus] thomstrack:
First impression on r34

- more fast and smooth than r33

- better RAM management

- battery drain on screen Off seems a slightly larger.​

Obs: I come to r33 and i did a clean flash (wipe cache/dalvik).

About the battery, anyone confirm this? Maybe flash again?

Anyway, thanks for awesome new version! :)
[Samsung Galaxy Nexus] mpokwsths:
Yes. Until boype includes it in the ramdisk it must be executed after every reboot. Executed from within android, not flashed from recovery.
[Samsung Galaxy Nexus] Bl4ck3urn:
I have red there was a PowerAMP issue with playback stuttering. Got this problem with r33. Especially when I move the notification bar up and down.

But now r34 completely fix this :)

Big thanks out for your hard work Boype!
[Samsung Galaxy Nexus] jesssiii:
So can't extract from your zip, rename to 90Zcache, then add to initd and change the permissions? That's what I did. I'd like to avoid another app in order to execute a script.

GNex Toro
[Samsung Galaxy Nexus] mpokwsths:
I guess that could work. I haven't tested it though.
[Samsung Galaxy Nexus] raikkoni27:
r34 reminds me of nissan skyline. hope it's snappy as that. gonna try it now!! :fingers-crossed:
[Samsung Galaxy Nexus] mpokwsths:
[MENTION=4615478]boype[/MENTION]

Noticed that the intermediate freqs (1344, 1420) are used when overclocked to 1536. In the previous versions they were not used. Any reason for that?
[Samsung Galaxy Nexus] boype:
std or ext version?
[Samsung Galaxy Nexus] cmoG530:
Take it easy man and have fun. :)

Tapatalk 4 + UX ROM + Fancy Kernel = Awesomeness
[Samsung Galaxy Nexus] TheMan0790:
Woah...not sure I'm comfortable flashing a kernel that has an STD...;)
[Samsung Galaxy Nexus] mpokwsths:
r35pre (ext)

Edit: False alarm. Did a reset to CPU spy and now it seems that they are not used...
[Samsung Galaxy Nexus] openlatedotorg:
Had my first ever SOD on r34.

OC to 1.3
[Samsung Galaxy Nexus] jesssiii:
Pre-35 is sure snappy! I set initd files for z-cache and fstrim, and underclocked 192/1036 with 192 min screen on.

GNex Toro
[Samsung Galaxy Nexus] TheMan0790:
So far, r35 pre test 1 is awesome.
[Samsung Galaxy Nexus] mew1838:
Sod too on r34 ext with no oc. Pairing this with purity 5.7.
[Samsung Galaxy Nexus] cmoG530:
+1 Loving it so far.

Tapatalk 4 + UX ROM + Fancy Kernel = Awesomeness
[Samsung Galaxy Nexus] dizzy1k:
from 33 to 34 should any wipe?!:confused:
[Samsung Galaxy Nexus] infectedorganism:
Cache and Dalvik cache
[Samsung Galaxy Nexus] jjhrrsn:
No its not needed
[Samsung Galaxy Nexus] flybass:
SOD on pre35 01. Long term fancy kernel user on paranoid android.
[Samsung Galaxy Nexus] nitsua98:
No sods on r34
[Samsung Galaxy Nexus] zoomy942:
So far no SOD on any build. Latest cm nightly.

Using 35 1 right now.
[Samsung Galaxy Nexus] BOY_:
Pre35-1 running sooo smooth for me. I did put the script posted above in init.d and so far so good.
[Samsung Galaxy Nexus] flybass:
34 so far seems smoother for me than pre35. Still waiting to see if I get a sod on pre34 as well.
[Samsung Galaxy Nexus] chikimonke:
Another option, if you own Faux's kernel tweaking app you can set just the z-control stuff to set on boot. I currently have it installed along side Trickster to tweak everything to my liking.
[Samsung Galaxy Nexus] zoomy942:
Agreed on both
[Samsung Galaxy Nexus] quickstang:
Same here. On 7/5 AOKP apop.

Only settings changed were min to 384 & rab to 512. Nothing else.

What was I doing at the time it happened... Nothing. Phone was sitting on the counter. Grabbed it, went to turn it on & nothing. Tried a few more times & nothing. Had to battery pull.

Only had it running 35 01 for about 3hrs.

So a no go for me. Had to flash something else.

Sent from my iphone killing Galaxy Nexus running fancy kernel & apophis9283 AOKP ROM. For the love of everyone on forums READ BEFORE YOU POST.
[Samsung Galaxy Nexus] clnzx2:
Pre 35 working perfect for me so far. First day of battery was great too
[Samsung Galaxy Nexus] zoomy942:
Is there any ROM trend to the SOD symptoms?

I have cm nightly and haven't had trouble yet
[Samsung Galaxy Nexus] klobkelosh:
Also running cm nightly, no SOD on pre35-1, but had SOD on pre34-2 and 3.
[Samsung Galaxy Nexus] motorazrv3:
From my feelings pre 35 01 is the fastest and smoothest fancy I ever had on my phone.

No sod or something else. Changed rab to 512, max screen off to 384 and min screen on to 192. Phone running and reacting fast.

Gesendet von meinem Galaxy Nexus mit Tapatalk 4 Beta
[Samsung Galaxy Nexus] zoomy942:
I can't decide between r34 and 35 1. Both are blazing

---------- Post added at 05:00 AM ---------- Previous post was at 04:58 AM ----------

I don't run out of ram often so not sure I see the zcache benefit
[Samsung Galaxy Nexus] jsage:
SOD on r34 after about 30 minutes of sleep. I've had SODs on pre34-1, -2 & -3 and now r34. Running CM10.1 nightlies, no overclocking, no Trickster Mod tweaks.

I'll go back to r33 for now, which is less smooth than r34 and eats more battery. But no SODs ;)
[Samsung Galaxy Nexus] zoomy942:
Edit
[Samsung Galaxy Nexus] boype:
I'm trying to make sense of the sods reported here. Which governor are you using?
[Samsung Galaxy Nexus] openlatedotorg:
Was on r34, slim build 7.

OC to 1.3, ondemand plus, sioplus
[Samsung Galaxy Nexus] logi43:
Pre-35-test1 z-control, this kernel is very fast and smooth I'll definitely try to check thoroughly the virtues of z-Control

Ondemandplus/sioplus

Using Tapatalk 4 Beta
[Samsung Galaxy Nexus] boype:
pre35-02 up

Hi again,

I stated earlier that I was not convinced about the whole zcache thing. This has changed a 'little' now, since I have made two changes to get it running considerably better:

1) I have increased the vfs_cache_pressure (to 120). Higher values will make more use of zcache. Thanks to mpokwsths for mentioning the adjusted settings by faux123.

Note that the only setting affecting zcache on fancy kernel is vfs_cache_pressure. All of the other variables you can change in faux123's control app are non-effective here.

2) I have updated the LZO compression library to the latest version. As zcache uses the LZO algorithm to compress and decompress, this will speed things up tremendously. In short, compression is approximately 1.75 times faster, decompression is more than 3.5 times faster.

Check out these benchmarks.

Link to the pre-release: http://boypetersen.de/fancykernel/tst/fancy_kernel-tuna-4.2-pre35-02-ext.zip

Best regards
[Samsung Galaxy Nexus] mpokwsths:
To test the benefits of ZCache do the following test.

Mark how fast is your phone when opening the phone dialer, the mms and the settings apps.

Then open 3 or 4 large (with many photos, etc) webpages in the browser (webkit) in separate tabs.

Pinch zoom in them etc.

After that try to open the aforementioned apps (phone, mms, settings). In my experience with kernels without zcache, they are either killed and redrawed or they take noticeably longer to come to foreground.

This is not the case with ZCache enabled kernels. The cached apps open almost instantly opened and they are also harder to kill.

Pre35-01 is by far the best kernel I have ever used on the GNex. It makes it feel like a brand new phone! And I'm not of the kind of people that say that everyday.

[MENTION=4615478]boype[/MENTION]: Are the faux's settings included in your kernel now?
[Samsung Galaxy Nexus] Rufufu:
I totally agree with your observations and conclusions!
[Samsung Galaxy Nexus] mangusZen:
R34 is insanely fast here on slim7..no sod, never had one with fancy, stock settings :) I ve never seen a keyboard so responsive btw

sent from Vega gnex
[Samsung Galaxy Nexus] boype:
pre35-02 will make you even happier then ;)

The settings kind of are included now. I mentioned above that only vfs_cache_pressure will have an effect on fancy kernel. This is because I only set up cleancache to work together with zcache, while faux123 additionally has frontswap enabled. Frontswap will have little effect with fancy kernel, because I already set up a rather huge memory area for dirty pages. More than that: When you change the dirty_ratio /dirty_background_ratio settings with an app as faux's control app, the battery life will be worse. So I recommend you should not change those values.
[Samsung Galaxy Nexus] abhishek93:
Sod on r34..

Undervolted mpu voltage by 100 nd underlocked to 1ghz..

Srry for a nob question, but does bcz of my undervolting and underlocking i have faced SoD??
[Samsung Galaxy Nexus] im the doctor:
yes seems that heavy uc can cause SoD

btw new r34 seems ok, good battery drain in idle and responsive
[Samsung Galaxy Nexus] mangusZen:
To people having sod's: just reflesh the kernel and leave stock settings for a couple of days..they work very well.

Messing with settings will only make your phone unstable for a little to nothing gain in term of battery.

Just my 2 cents...

sent from Vega gnex
[Samsung Galaxy Nexus] irizwan:
It seems that your phone doesn't like being undervolted just a little advice bro don't just undervolt by 100 or 50 theres a whole process of undervolting which suits your device .. i recommend you go to the stock frequencies and try incremental -5 or -10 undervolts to find your sweet spot :P personally my device can handle a little undervolt but if i go -50 across the board it shuts off on me :P so you need to find your sweet spot =]
[Samsung Galaxy Nexus] styr:
This applies to both wake and suspended, or the suspend value still gets down to 10?
[Samsung Galaxy Nexus] mpokwsths:
Indeed. Now you virtually can't tell if there is compression going on at all. I'm happy, and when I'm happy I drink beer :) .

Go grab a beer also: 4RB99553CY948145T
[Samsung Galaxy Nexus] boype:
Suspended still goes down to 10

Thanks man, I can use every $ / € for my wedding :)
[Samsung Galaxy Nexus] abhishek93:
on r33 i undervolted my device by -100 it worked well. with an awesome OST 4hrs something..for now ill be on r35p re 02...

sorry for asking one more question but can underlocking cause SOD?
[Samsung Galaxy Nexus] n0ve:
Are you leaving SR on as well or UV/uc sR off
[Samsung Galaxy Nexus] pcphobic:
I am on pre35-01

No noticeable lag at all.
[Samsung Galaxy Nexus] mpokwsths:
Flash pre35-02. It's even better when multitasking...
[Samsung Galaxy Nexus] irizwan:
Wow those are impressive results, if it worked before with no problem it should work on this. It is possible for underclocking to cause weird freezes and SoDs and all sort of weird things :P again i personally lock onto a certain freq. for ex. i'm underclocking the 729 slot i select both the highest and minimum to 729 then underclock and use the phone for about 10-15 mins ... it'll take a little time to get the formula right but it's more satisfying for me :P :D
[Samsung Galaxy Nexus] Charmacas:
boype you should try to get logs from the users mentioning any SODs. This thread explodes and many new users are joining this kernel community. So human failures are increasing. Without a log it is never been proven that the failure comes from Fancy kernel!

I had only SODs which I was able to reproduce with one of the pre34 versions. Any other were running well!

I am now in Portugal for two weeks and can't test so much but I am going to test pre35-02 soon. :)

Greets from Portugal here and rock on boype! ;)
[Samsung Galaxy Nexus] moneybag:
Hi,

I'm using Fancy Kernel r33 with CM 10.1 and TWRP. Whats the fastest and safiest way to update the kernel to r34 w/o losing any data or settings on my GN?
[Samsung Galaxy Nexus] pcphobic:
Thanks I will try it out too.
[Samsung Galaxy Nexus] Hexo07:
R34 first Freez after 20 hours Standby. R33 my phones runs over 200 hours without any issues.

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Samsung Galaxy Nexus] boype:
Governor used?
[Samsung Galaxy Nexus] BOY_:
Boype, my phone sod'ed overnight while charging. Pre35-1 ondemandplus governor uv 75 mv.

Flashing pre2, will leave voltages alone.
[Samsung Galaxy Nexus] bunnahabhain:
Hey boype, glad u found the one :D

Any words on how experimental this zcache thing is? Some of us need our phones at work to coordinate things. It is frightening enough to be rooted and running custom ROMs :D

You could mark the standard version as stable and try out things in extended version, that way everybody can chose their own. I am on r34 std now and it is flying. I leave almost everything stock and there are no SODs whatsoever. I just go for 512 mHz GPU.

cheers
[Samsung Galaxy Nexus] motorazrv3:
True words. I can't believe that all sods are kernel related. I believe also that some sods and problems people get are ROM or app related.

I am using purity ROM in combination with fancy kernel for a long time and I haven't had one sod so far.

Gesendet von meinem Galaxy Nexus mit Tapatalk 4 Beta
[Samsung Galaxy Nexus] Hexo07:
I use the Kernel as it comes (everythink default).

I changed nothing.
[Samsung Galaxy Nexus] pcphobic:
You should try pre35-01 or pre35-02.

So far stable for me...no lag. Perhaps the Zcache thing is a good thing.
[Samsung Galaxy Nexus] abhishek93:
Faced 3 sod.. 1st one was on r34 now remaining 2 are on r35 pre02...
[Samsung Galaxy Nexus] pcphobic:
What about pre35-01?

And what ROM are u on at the moment?
[Samsung Galaxy Nexus] abhishek93:
haven't tried pre35-01...

i am on purity v5.7... :(
[Samsung Galaxy Nexus] phishn:
It's probably worth mentioning what phone model you have, what rom you are running, and what you tweaked to help Boype figure out sod issues.

No sod issues on atom 422 Toro for many versions. Tweaks setting min to 192, turning wifi high performance and content adaptive brightness on, settings color profile.
[Samsung Galaxy Nexus] shawnaye:
Just flashed the latest test version, somehow i feel the magic already.

My WhatsApp is just tremendously snappy now, never in my 2 years with this phone has it been this snappy.
[Samsung Galaxy Nexus] mixtapes08:
How about posting last_kmsg for those people suffering from sod. It's pretty simple to do and could help the dev solve issues.. Here's how.

Type this in terminal emulator or adb shell.

su

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Grab you last kmsg on your sdcard partition and upload it here.

Note: do this after an sod occurs when your phone boots up..

-3StarsAndaSun
[Samsung Galaxy Nexus] mpokwsths:
For the SODs:

As I understand all of you used the OndemandPlus governor?

If so it is probably the latest patches that boype included.

Switch to Interactive and all will be fine.
[Samsung Galaxy Nexus] BOY_:
This definitely makes sense. I'll see how pre02 does and switch governors if I get an sod.
[Samsung Galaxy Nexus] gwindlord:
He-he, much more, man, I'm doing all the checks and MD5 as well :) Thank you for reminding to clear cache and dalvik.
[Samsung Galaxy Nexus] lost_:
Nice. I'm curious, how did those connectivity gaps in the mobile connection occur?

FWIW, I did a bogus test of fancy r6 on a spare maguro with no SIM card and wifi mode only, and got 8 days 13h with 45m screen time. Not a real life test, but still a good result.
[Samsung Galaxy Nexus] boype:
That's 3 nights of sleep and one gap for a 5 hours visit in a spa place...
[Samsung Galaxy Nexus] bolanrox:
Reading all of this, one day I hope I will actually have the time to learn how to code. Its been 10+ years since i was even in a Unix shell, even then it was the basics. Oh well, picking up new stuff every day anyways
[Samsung Galaxy Nexus] agritux:
i am asking this only for learning.

this script will want root permissions i think.

for running this script with a gui based program or stg else

how will you get it?

i am asking when you click update kernel, which command will it will give to system

and i want to ask, is it nesesery to set perm for boot img? -r-r-rw etc?
[Samsung Galaxy Nexus] bolanrox:
I believe it will work (if it is the similar to Lean's) you would

Open the terminal Emulator

Enter su (to get root rights)

enter the script name - which will prompt you to pick which version you want (standard or expanded)

do it's stuff in the background

prompt you to reboot or reboot for you
[Samsung Galaxy Nexus] boype:
I got a chance to look at the script gwindlord is writing, and I can tell you this much: The only thing you have to do is go into terminal emulator, enter 'su' and something like 'updatekernel' and everything will be taken care of automatically. The phone will restart itself - boom, new kernel. No need to set permissions or anything. There will be no GUI, just the command line.
[Samsung Galaxy Nexus] agritux:
Maybe you can add a section to settings/about phone :)

press to update kernel, and it works :)
[Samsung Galaxy Nexus] bolanrox:
I am a fan of the auto reboot :) maybe call the script fflash?

---------- Post added at 11:23 AM ---------- Previous post was at 11:20 AM ----------

Goo was talking about maybe getting an OTA kernel updater in the App at some point in the future. That would be the closest thing if it comes to pass.
[Samsung Galaxy Nexus] gwindlord:
Guys, yeah, actually it's going to be a script, running from terminal after su and requiring busybox (usually pre-installed on custom ROMs). There will be a couple of confirmations (standard/extended version, donwload and install, reboot now), the rest will be done automatically. I've already tested it on PC Linux, going to test on the phone today, but not sure if it will be available today or tomorrow.
[Samsung Galaxy Nexus] doomed151:
Also instead of

rm -r -f

You can just use

rm -rf
[Samsung Galaxy Nexus] bolanrox:
No rush my friend, than you for writing it!
[Samsung Galaxy Nexus] gwindlord:
Updater script is almost ready, just need some testing. Let's say I was able to update std version of kernel at least once ;)
[Samsung Galaxy Nexus] renaud:
Re: [KERNEL][4.2.1][4.2.2] Fancy Kernel (r6) (FEB-13-2013)

You should check if boot.img is actually a real image, better done with a md5/sha verification. If download is corrupted or give you the HTML code for an error, your phone will just not reboot
[Samsung Galaxy Nexus] bolanrox:
lol that's a start :)
[Samsung Galaxy Nexus] gwindlord:
Yeah, there is MD5 verification. And I've updated only once just because I've started it only once :) I mean it works, now need boype's check and approval.
[Samsung Galaxy Nexus] bolanrox:
not to mention the most important thing - release 7 :)