yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] lobrau:
Flashed stock then flashed kernel again seemed to be fixed now. Attached my scores of encrypted. Very weird why it went so low earlier. Sorry about that keep up the great work love the kernl
[Nexus 6  Original Android Development] purian23:
No worries dude! Glad you got it fixed up. The only difference in our setups is bbedward and I are unencrypted. All is good on both ends though!

Thanks for reporting back!!

Purian
[Nexus 6  Original Android Development] flyinj54:
Just checking I take it you are encrypted?
[Nexus 6  Original Android Development] purian23:
Unencrypted :)
[Nexus 6  Original Android Development] Simer03:
The clear all button for recent apps, clears them so quickly....every other kernel it takes a while... Does anyone know what I mean? Sweet
[Nexus 6  Original Android Development] bbedward:
I plan on getting sysbench compiled for arm and giving it some runs on BFS and on stock kernel when I get around to it.

I don't think anything in the play store will tell you anything worthwhile, but with sysbench I'll be able to get some real cpu-related benchmarks in.

Aside from that, I still like the simplicity of BFS' design :cool:
[Nexus 6  Original Android Development] purian23:
I know what you mean, we have some power behind ZenKernel. It's not all about benchmarks but more noticeable differences like this we like hearing about!
[Nexus 6  Original Android Development] yellowman82:
I must say not sure what is it that you do to your kernel but so far yours seems to be the only one that scrolls really smoothly on Tapatalk but keep up the great work will be handling out a donation this weekend[emoji4]
[Nexus 6  Original Android Development] mimsiroll:
And as far as my opnion goes, this kerbnel doesnt heat my phone! Awesome kernel though at testing stage, anyway op, the new update and the aroma package wont let my phone boot at startup even though i wipe cache, it skips on the android upgrade..and bootlooped.
[Nexus 6  Original Android Development] pemell:
Freeze and selinux

Hi [MENTION=2632235]bbedward[/MENTION]

Thanks for a great kernel. My dmesg is spammed with:

<36>[ 655.464701] type=1400 audit(1427792704.917:190): avc: denied { search } for pid=6231 comm="main" name="cpuctl" dev="tmpfs" ino=1622 scontext=u:r:zygote:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0

I had a freeze when this denial happened. Only a reboot solved it.

I don't know if it's needed to add perfd.te policy? And more precisely "allow perfd cpuctl_device:file rw_file_perms;"

What do you think? I've tried to read up at https://github.com/bbedward/ZenKernel_Shamu/blob/master/Documentation/security/SELinux.txt but I don't think I'm experienced enough to start tweaking the ramdisk.

My logs in whole looks like this:

dmesg: http://pastebin.com/D97eBM9L

logcat: http://pastebin.com/WVAxPgBi (Sorry for the lightflow log spamming)

What I did to get a freeze: Launch reddit sync, from reddit launch a youtube video.

Cheers and thanks,

Per
[Nexus 6  Original Android Development] BladeRider:
Hi [MENTION=2632235]bbedward[/MENTION], I had tried this kernel and I love it, however, I notice it does not support USB OTG. It would be great if you can add in this feature. Thanks!
[Nexus 6  Original Android Development] mimsiroll:
Yeah, usb otg would be great!
[Nexus 6  Original Android Development] bbedward:
You are correct, I will build the next one with USB otg support.

Edit-maybe not, looks like it has msm_usb_otg built in. What happens with it? Can you post a dmesg when you plugin an otg cable?

Probably a simple add to the SELinux contexts. I will also check this out for the next one.

What did you set over clock to in the aroma?
[Nexus 6  Original Android Development] bbedward:
Also, does otg work on stock kernel?
[Nexus 6  Original Android Development] mimsiroll:
Max :'p 3ghz, and btw.. My phone died at 10%. Which didnt happened before..just tried depleting my phone till 10 everytime i used a new kernel to check if I'll be getting the battery level shutdown.
[Nexus 6  Original Android Development] dany20mh:
[MENTION=2632235]bbedward[/MENTION]

Thank you so far for all the hard work and bring in new version every few days :)

I have a request and wanted to know if it's possible that you can do it on this kernel or not.

Request :

I'm not sure you have seen Yank Kernel or not, the thing that kernel has is, it will setup all the setting for the kernel in the AROMA and you don't need any more app or anything else.

I saw that you tried to add 3.0 GHz setting with AROMA, so was wondering if you could make all the setting available trough that AROMA it would be awesome so.
[Nexus 6  Original Android Development] omvir:
Along with the WiFi wake lock toggles/sliders [emoji14] for those battery draining high traffic school hotspots -.-
[Nexus 6  Original Android Development] Xileforce:
I'll be adding the new stuff to ukm when I get a chance. I'll post it here when its done. It already has support for RR_interval and all the wakelocks too if u decide to add. It should also already give a toggle for zen, it just doesn't have any of the controls yet. Here it is again if ppl want it. https://docs.google.com/file/d/0B6n0VW96A9MoYTRUc0NRRjQybEU/edit?usp=docslist_api just flash in recovery and then use synapse.
[Nexus 6  Original Android Development] bbedward:
I'll have [MENTION=1481114]purian23[/MENTION] put it in post 2. The touch boost stuff has been recycled to use the values from CPU-boost though.
[Nexus 6  Original Android Development] phyba:
Kernel is the best I've tried on my nexus 6
[Nexus 6  Original Android Development] bbedward:
I think things have been tested enough to warrant a release now. Same as Pre-Release 2

3.10-zen20_rev1 "Grad Party"

Changes:

Disable MPDecision by default

ZenDecision 2 - Driver to ensure all cores are online when they are supposed to be online (tunables in /sys/kernel/zen_decision)

TouchBoost generic interface from franco, but modified for globalization

CPU-BOOST: Strip all existing input_boost functionality, use the existing parameters for the new touchboost interface

Slub: Update to newer upstream version of the mem. allocator

OC: Add 3.09GHz support (requires v2 of zen_max_freq zip)

msm_hsic wakelock slider...

f2fs: numerous upstream updates

conservative: add franco's twostep counter functionality

conservative: adjust default settings

interactive: adjust default settings

ondemand: Update frequency decision making from upstream

ondemand: Adjust defaults to be less aggressive

rev1 fixes issue setting bat_threshold_ignore in ZenDecision

rev2 fixes issues with f2fs

3.10-zen20 Recovery Zip Download

3.10-zen20 boot.img (install via fastboot/twrp IMG) Download

3.10-zen20 ZenyKernel Zip (Use on top of ROM dirty flash if issues with the above two)
[Nexus 6  Original Android Development] bbedward:
I realized changing bat_threshold_ignore in the zen_decision stuff is broken from a silly mistake. I will have a quick ammendment a little later to fix it - but if you don't care to change it than it shouldn't matter :)
[Nexus 6  Original Android Development] ahmarchi:
[MENTION=2632235]bbedward[/MENTION] something I noticed. When on battery all 4 cores are online. When u plug charger in. It turns core 2 and 3 off. Only way to turn on all 4 cores again is to disconnect from power.
[Nexus 6  Original Android Development] hellsgod:
I think its because of this in init.shamu.power.rc:

on charger
#low power governing
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative
write /sys/devices/system/cpu/cpu1/online 0
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu3/online 0

hells
[Nexus 6  Original Android Development] waqar.qu:
A bit worried to flash "Zen20 Grad Party" (but i still will) because I heard mpDecision off and stuff like hot plug or whatever enabled induce the half screen freezes. I'm going to see if the Zen decision will possibly induce it or not. I'll report back if I get the half screen freezes.

Otherwise I may have to find out how to turn on mpdecision or just stay on zen19.
[Nexus 6  Original Android Development] bbedward:
I've seen this behavior,

If you take it off the charger and give it a few seconds ZenDecision will make sure they all come online. Although they may come online even without ZD.
[Nexus 6  Original Android Development] bbedward:
It doesn't do hot plugging in the active sense like other drivers. I updated OP with some more information. All the cores stay online most of the time, just like stock.
[Nexus 6  Original Android Development] bbedward:
If you are using F2FS be careful with zen20

One person has said their data got wiped. Another has said everything is OK. I am not sure what to believe if theres a bug or not in the newest f2fs updates.

Either way if you are on f2fs let me know what happens.
[Nexus 6  Original Android Development] razor 116:
Everything got wiped for me aswell, Used the test3 image before the release version with no issues but upon flashing the release version I rebooted and had to go through the google setup again as it stated I had reset my device. Tried the release version on CM12 and Chroma and I get random reboots while installing a large amount of apps then upon reboot I get many FC's of the recently installed apps.
[Nexus 6  Original Android Development] bbedward:
Very well, looks like _rev2 is coming :p

edit:

rev2 is uploaded
[Nexus 6  Original Android Development] nitronet:
Big time crash for me on Zen 20. Phone was totally dead had to boot into recovery and restore the stock kernel.
[Nexus 6  Original Android Development] bbedward:
Not enough information. F2fs? Pstore logs? ROM? Uptime?
[Nexus 6  Original Android Development] dwang:
zen20 rev2 boot loops for me on ext4.

no issues with the previous builds

EDIT: Nevermind, re-download and its ok now.
[Nexus 6  Original Android Development] oak:
No issues on zen20 here. Nothing special about my setup though.
[Nexus 6  Original Android Development] lostrg:
rev2 on AOSIP running great, no issues!:D
[Nexus 6  Original Android Development] tatoniss:
Just tried the new 20 version and it nuked everything. I couldn't even boot into recovery, kept restarting. Just now finally got into recovery after fast boot flashing twrp twice. Looks like data is gone. I was f2fs.
[Nexus 6  Original Android Development] mflow:
i don't get wiped but a bootloop.

using latest Chroma + Zen20. Zen20_test2 didn't give me this error. reverting back to Zen19 for now.
[Nexus 6  Original Android Development] bbedward:
I pushed zen20_rev2 with the fix. Same link in OP and a couple pages back
[Nexus 6  Original Android Development] mflow:
flashed the rev2, no wipe, no bootloop! cheers!
[Nexus 6  Original Android Development] lexus91:
Same setup try the rev2 got no problem with thr rev2.
[Nexus 6  Original Android Development] bbedward:
Rocky road, but hopefully we are OK now and I can get to my real grad party :cool:
[Nexus 6  Original Android Development] nitronet:
Sorry. No f2fs stock Rom uptime less than an hour. No logs.
[Nexus 6  Original Android Development] otisman:
F2fs no issues zen 20 much alohas
[Nexus 6  Original Android Development] lexus91:
Is it just me or 20rev2 runs smoother compared to 19
[Nexus 6  Original Android Development] bbedward:
Oh I forgot to mention BFQ is the default I/O scheduler on zen20.

While I see no difference on throughput between any of the schedulers, there is some interesting tests that BFQ's handling of interactive tasks is much better than cfq, deadline, etc. So while throughput in general isn't better or worse, the way interactivity is handled at the I/o level is better.

Refer to these

http://algo.ing.unimo.it/people/paolo/disk_sched/results.php

https://youtu.be/1cjZeaCXIyM

While these don't show anything specific to android, I thought the results were interesting enough to warrant trying it as the default.
[Nexus 6  Original Android Development] bbedward:
This I hope is true, aside from the first f2fs hiccups there's some pretty significant changes in 20.
[Nexus 6  Original Android Development] gamewarden234:
This iteration is so much faster it seems. I am expecting battery to take a dump. I cant have it both ways right? Haha
[Nexus 6  Original Android Development] bbedward:
Given what's changed I see basically 0 possibility battery is anything but better. I suspect and hope you will have it both ways :)
[Nexus 6  Original Android Development] lexus91:
Should be better battery life. Getting 1h ish SOT with still 88℅ battery left. Used to spend around 20℅ish battery for 1h SOT
[Nexus 6  Original Android Development] omvir:
I use to get 40 min SOT from 100-90% on average on about every kernel. Flashed Zen 20 and I got 55 minutes SOT from 100-90%. This is the battery life I'm use to from using the Oneplus! And not I get to experience the same on my n6 :)

Good job man!
[Nexus 6  Original Android Development] linus207:
Hey. Just flashed this build you've posted on pushbullet? Is it latest?

Second thing. Max GPU freq is set to 500mhz. It is what it is or I screwed something up?
[Nexus 6  Original Android Development] bbedward:
No push bullet is not as new as _rev2. I learned of some problems and had to make some changes.

500MHz is probably due to battery throttling. Happens at <= 45% battery.
[Nexus 6  Original Android Development] linus207:
GPU battery throttle? Man. Never heard of it.

I guess I canceled synapse suggestions to apply new settings after I fully charged my device. Also wr_max_time in bfq settings was somehow different in that moment.

Thanks for support. I will flash rev2 asap
[Nexus 6  Original Android Development] bbedward:
Same deal as the 40%+20% CPU throttle, and <15% hot plugging. You can learn more in post 2 :)
[Nexus 6  Original Android Development] Custodian:
Min CPU speed is 300 and max is 1ghz by default?.still zippy
[Nexus 6  Original Android Development] linus207:
Probably throttled down, my friend.
[Nexus 6  Original Android Development] grayskul:
Links aren't working:( 505 bad gateway
[Nexus 6  Original Android Development] mflow:
okay, been with Zen20_rev2 for today. Started with around 85% of battery today because of that bootloop from rev1

but..

with 2 hours and 11 minutes of SoT. I think this is pretty good for me!

and anybody who uses Firefox, is it really normal that they use battery that much? lol.
[Nexus 6  Original Android Development] otisman:
Inks are good just took this screen shot try a different browser much alphas
[Nexus 6  Original Android Development] urrgevo:
[MENTION=4731796]mflow[/MENTION], try disabling background data and see if that makes a difference. I don't use Firefox because it's too heavy imo
[Nexus 6  Original Android Development] Custodian:
Nah, battery was 89-95% last night when I noticed it pahtna
[Nexus 6  Original Android Development] :
Check out Chrome Dev browser. Its coolbeans.

Zen20 rev2 running fine here boss. ;)
[Nexus 6  Original Android Development] bbedward:
300MHz is correct for the minimum. MPDecision raised it as a way to get input boost, but even mpdec sets it back down.

No idea about 1ghz max, something in user space must be acting on it. Ramdisk sets it to 2.6 :)
[Nexus 6  Original Android Development] lexus91:
Currently on 6:10 SOT with 9% juice left. 14.5h uptime. Zen 20 is just too damn amazing..
[Nexus 6  Original Android Development] dany20mh:
I usually get around 3-hours SOT, but now with ZEN-20, I have 58% left and more than 2-hours SOT so far.

It's really awesome :)

Thanks
[Nexus 6  Original Android Development] dawiseguy77:
I'm using show stopper and viper. Audio cuts out some times and google play restarts the song over randomly. Didn't happen on 17. Is that an issue in show stopper 19? Is this issue present in the newest version?
[Nexus 6  Original Android Development] tatoniss:
I am really liking the ondemand governor in 20. Not only is it smooth but my antutu score is past 50000. I haven't had that on a ROM since 5.1.
[Nexus 6  Original Android Development] bbedward:
Not sure, I don't use it myself but I encourage you to try the newest and let me know. I can investigate 17-19 changes if it isn't resolved.

It doesn't scale too aggressively either as I've observed. Seems pretty sane :)
[Nexus 6  Original Android Development] dawiseguy77:
OK I will try the latest. And let you know. thanks for the reply
[Nexus 6  Original Android Development] grayskul:
Yeah had to close out the browser.
[Nexus 6  Original Android Development] Tylog:
zen20 works excellent, battery looks great after first day. Very good. Thanks.
[Nexus 6  Original Android Development] mflow:
i can't disable background data, too much important chats :(

will be switching to Chrome Dev for now!

alright, will try!
[Nexus 6  Original Android Development] Xileforce:
hows chrome dev compare to chrome beta?
[Nexus 6  Original Android Development] mflow:
much smoother? *might be placebo for me*
[Nexus 6  Original Android Development] fedef12evo:
when charging one core goes off, and one core is stuck to max freq,if i pull out cable it stays like this,need a reboot to fix cores online, edit disabling zendecision and rebooting fixes the problem ;)
[Nexus 6  Original Android Development] iStayHigh:
I'm on z20r1 and this happened last night. Woke up this morning to a dead battery,other than that everything else is running fine.

Zen'd N6
[Nexus 6  Original Android Development] fedef12evo:
nice battery life on last v20 rev2 without zendecision
[Nexus 6  Original Android Development] urrgevo:
That looks like you have a bad wakelock issue. It looks as though your phone never hits deep sleep
[Nexus 6  Original Android Development] linus207:
I love hellscore and vindicator, both, with and without Zendecision. Somehow Zen Kernel works best with Zendecision. I just don't know what can possibly be better speaking of user experience. Perfect performance and more that 6h sot.
[Nexus 6  Original Android Development] wmfreak:
If I reject call or even when trying to answer my phone rebooted three times in half a day. Anyone else experincing this?
[Nexus 6  Original Android Development] bbedward:
Cyanogenmod problem. Try using the different versions. People have said the non-anykernel one fixes it
[Nexus 6  Original Android Development] lostrg:
Z20rev2...noticed that core 3 was stuck at MAX after leaving the phone charging wireless overnight. Rebooted and resolved stuck core..has anyone else seen this?
[Nexus 6  Original Android Development] iStayHigh:
Yea I guess it had a bad night lol

Zen'd N6
[Nexus 6  Original Android Development] bbedward:
This is the governor. Something set core 3 to performance gov for some reason. If you reset the governor you won't have to reboot
[Nexus 6  Original Android Development] lostrg:
thanks, I'll keep an eye on it....love the kernel!
[Nexus 6  Original Android Development] fedef12evo:
it is zen decision, i disabled it and if i plug my phone all is normal, when i activate it, core 3 stuck on max freq and need a reboot
[Nexus 6  Original Android Development] dawiseguy77:
Bedward the zen20 ver. 2 is running great no audio cutting out and so far no resetting the song from the beginning. Must have been issue in 19. Thanks for the awesome kernel.
[Nexus 6  Original Android Development] dagobertcam:
sorry for my bad Englich;)

I get an error when I press Live display.

teamasek ROM
[Nexus 6  Original Android Development] omvir:
Working here on cm12.1... Must be a ROM issue. Report this in the teamasek ROM thread.
[Nexus 6  Original Android Development] bbedward:
Cleveland Rocks [MENTION=1481114]purian23[/MENTION] !!!
[Nexus 6  Original Android Development] bradputt:
hi there, coming from lean kernel.

how to change the settings for this kernel?

or i just leave it as it is?
[Nexus 6  Original Android Development] info[]box1:
You can use trickster app and change basic settings.

If you want to over clock go to OP and dl'd & flash in recovery bbedward zip V1 or V2 to enable OC and your preferred MHz.

Edit:
[Nexus 6  Original Android Development] bradputt:
Just had a reboot after I put my phone in my pocket. I think last night I had one reboot too.

I'm on latest chroma. No kernel tweaks.

Is it recommend to flash the kernel with ramdisk? Because I flash the third file on op
[Nexus 6  Original Android Development] saugiro:
I install this kernel in latest chroma yesterday, and I don't tweak yet the kernel and run smooth and battery life is awesome.
[Nexus 6  Original Android Development] purian23:
Yeah yeah, how'd that turnout lol
[Nexus 6  Original Android Development] yellowman82:
Lol
[Nexus 6  Original Android Development] funcrusher:
Ouch lol
[Nexus 6  Original Android Development] bbedward:
I think I worked out a simple solution to the performance governor on 1 core thing. I think we can and should just disable zd on charger in the ramdisk. I will pushbullet something for that later

Either version should work with chroma, check the /sys/fs/pstore/* for files after a reboot :)
[Nexus 6  Original Android Development] bradputt:
i just had another reboot while my phone is sitting on my desk (screen off. not plugged in), i check it's exactly 12:30am here.

i tried to get last_kmsg but there's none inside.

check /sys/fs/pstore/* and there's no files inside either.

the only file i could get is dmesg file.

http://pastebin.com/5MTYWKa2

could you please take a look??? thanks a lot.

:good:
[Nexus 6  Original Android Development] bbedward:
Typically if that files empty then it wasn't a kernel problem :) you can try the non-anykernel version some have said they've had issues with it on cm-based ROMs for whatever reason. Maybe chroma pulled in the relevant cm stuff that causes issues.
[Nexus 6  Original Android Development] purian23:
Hey guys,

I just wanted to toss this out there an say i'm proud of [MENTION=2632235]bbedward[/MENTION]! Today, he Graduates from the University of Toledo with his Software Engineering Degree (Computer Science & Engineering) with a Bright Future! He already has options at Oracle and GE as soon as he steps foot back in his hometown of Cleveland!

I honestly feel like his big brother with all the BS'n we've done over the past few years. He's taught me a lot (even though the punk is younger lol) and I'm pretty sure I've given him so good life morals to go by haha. Join me in Congratulating [MENTION=2632235]bbedward[/MENTION] for not only his awesome kernels and tons of XDA Community involvement/help through the years, but for generally being a cool dude. We'll surely look forward to what he has in store next for the tech community.

Thanks dude and Congrats

Purian23
[Nexus 6  Original Android Development] bradputt:
thanks dude, will try your advice.

anyway congrats to your graduation. :highfive:
[Nexus 6  Original Android Development] resynx:
Congratulations on graduating!! Partying hard? ;)
[Nexus 6  Original Android Development] bbedward:
After I get commencement over with :p gonna be quite boring next few hours
[Nexus 6  Original Android Development] omvir:
Congratulations on graduation man! Thanks for all that you've given and will continue to give to this community!

I've still got 2 years left :'(
[Nexus 6  Original Android Development] jarjar124:
Congrats! I myself am going to college at the end of this year.
[Nexus 6  Original Android Development] pantmunu:
Congratulations my good sir.
[Nexus 6  Original Android Development] bbedward:
:angel:
[Nexus 6  Original Android Development] razrlover:
Congrats! bbedward may life reward youvwith more than u deserve.... But in a good way;)