yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Xileforce:
You just go to the sound page in synapse :) and yes as wrongway said you can also do it through sysfs though they won't stick after a reboot without init.d script. I posted the location for the nodes a few pages back if anyone needs them still.
[Nexus 6  Original Android Development] lainemac:
Feel like I was gettin my better battery with 15 vs 16. Anyone else?
[Nexus 6  Original Android Development] jiv101:
I'm not doing to bad
[Nexus 6  Original Android Development] resynx:
16 feels just as good if not better for me?
[Nexus 6  Original Android Development] michmeister:
No just the opposite for me.
[Nexus 6  Original Android Development] lainemac:
Weird. You guys change any settings?
[Nexus 6  Original Android Development] oak:
I leave the settings alone. The dev is way smarter than me :) This kernel is ridiculous.
[Nexus 6  Original Android Development] lainemac:
Can't argue with that...
[Nexus 6  Original Android Development] bbedward:
Nothing really changed that would have much impact I don't think

I leave them up to google :p all the improvements are below the settings ;)

Although I do use -ck's recommended for ondemand and conservative
[Nexus 6  Original Android Development] oak:
Care to elaborate?
[Nexus 6  Original Android Development] bbedward:
Ck lowers the up_threshold by default with bfs on those governors. Which is basically what the CPU usage needs to be before the CPU scales to a higher frequency.

potentially lower on BFS because of how CPUs are kept appropriately busy on bfs, maybe partly because the CPU load is global on bfs. I don't know the exact reason behind it but I use interactive anyway :p
[Nexus 6  Original Android Development] oak:
Thanks bbedward. I'll take your word for it :)

All I know is that this kernel is one where I know it feels different. Some kernels, I think I feel a difference, but always wonder if it is just placebo.
[Nexus 6  Original Android Development] bbedward:
No placebo in this thread :)

Earlier today I reflashed a ROM and used it a bit before flashing zen. The lag scrolling web pages in chrome is very annoying until zen cures it :)

There's enough difference to not question whether it's placebo and that's how I like it :laugh:
[Nexus 6  Original Android Development] michmeister:
You can also tell how good this kernel is when you clear recents. It zips right back to home with no stutter at all like other kernels.
[Nexus 6  Original Android Development] Psychotic Penguin:
Smooth......

Sent from my Nexus 6
[Nexus 6  Original Android Development] Circaflex:
Also a PSA the first nightly of CM 12.1 for Shamu runs well with the anykernel version
[Nexus 6  Original Android Development] miketucky350:
Im impressed. Flashed this last night & didn't touch a thing after & wow s*hit flies everywhere. The lags & quirks that these do out of the box were immediately gone. Great work.

Sent from my Nexus 6
[Nexus 6  Original Android Development] nitronet:
How is Faux Sound enabled with kernel aduitor?
[Nexus 6  Original Android Development] Xileforce:
On the sound page :P
[Nexus 6  Original Android Development] bbedward:
Someone pointed out to me their GPU frequency doesn't display lower than 240MHz on zen14+, whereas before it would show the slumber frequencies of 27MHz

This is only cosmetic and nothing to worry about. Your GPU is really slumbering even when it is showing 300MHz (as long as you aren't touching the screen for awhile)

https://github.com/bbedward/ZenKernel_Shamu/commit/d8b601a30c9f085ddd032d605566578ae56e18fa

The above fixes it but it's only cosmetic your GPU is still sleeping on zen14+ :good:
[Nexus 6  Original Android Development] Circaflex:
[MENTION=2632235]bbedward[/MENTION] is there any advantage or disadvantage to you putting out 3 versions of your kernel? Basically is there any reason for you to create the traditional zip over the anykernel zip? It seems anykernel version is the most compatible across roms because it doesnt modify the ramdisk. Is one better than the other for roms that dont use CM bases or selinux changes?
[Nexus 6  Original Android Development] bbedward:
I don't know. I like having my own ramdisk for consistency but I really don't change too much over stock. There's support for cm12 which is now worthless because everyone's on cm12.1. Support for things like viper4android and init.d, but most roms like chroma already adds support for that stuff. There's also support for f2fs and no forced encryption, but my AnyKernel zip does that anyway too.

At least for now it is good for anybody on stock ROM (or something like cleanrom) and also good for people like [MENTION=2455860]VECTUS[/MENTION] who bundle zen in their ROM (unless he uses his own ramdisk anyway, not sure)

I know an AnyKernel zip keeps the ROM guys happier because they think us custom kernel guys are the source for all their bugs. Of course, I think they are the source for all my bugs too :laugh:
[Nexus 6  Original Android Development] Circaflex:
thanks for the great explanation. If we are ever unsure, should we just use anykernel at that point?
[Nexus 6  Original Android Development] bbedward:
Of course I can't speak for all devs, but somebody like zephiK is (probably justly) skeptical of third party kernels because of sepolicy things changed. AnyKernel should make people like him happy as it takes out one more variable of bugs.

I don't know what their opinions are on custom kernels and what not overall, but they have no reason to gripe about the Zen AnyKernel breaking anything ROM related.

Of course I don't wildly care about their opinions of Zen because if I didn't think it was the best thing for this phone it wouldn't exist. ;)
[Nexus 6  Original Android Development] bbedward:
If the ROM says they change anything about selinux or has special startup scripts or whatever you are probably best using AnyKernel.

I know cm12.1 forces encryption and probably doesn't support f2fs. If you use anykernel zen you get both of those regardless
[Nexus 6  Original Android Development] nitronet:
My sound page says nothing about Faux and changing the settings on that page does absolutely nothing to the sound on my phone.
[Nexus 6  Original Android Development] Xileforce:
The sound page is entirely faux sound. It just doesn't say that. Adjusting headphone gain worked for me. Idk what the settings do cuz I don't use faux sound though. The only other thing I changed is the slider at the bottom. It said non applicable or something until I moved it
[Nexus 6  Original Android Development] yellowman82:
Adjusting speaker to 20 really made a difference in speaker.
[Nexus 6  Original Android Development] bbedward:
Zen kernel for the nexus 9 is breaking ground in a few minutes

http://xdaforums.com/nexus-9/orig-development/zen-kernel-3-10-zen0-warranty-voided-t3086635

BFS is there plus support I added for nvidia nonsense (https://github.com/bbedward/ZenKernel_Flounder/commit/a7b814c42f2aafe5851d2f867c883dd1aecb6b7b)
[Nexus 6  Original Android Development] resynx:
I don't own an N9, but my buddy does and I'm going to recommend this kernel to him right now :)
[Nexus 6  Original Android Development] oak:
I have a Nexus 7 2013. If only there was a Zen kernel for it. . . :(
[Nexus 6  Original Android Development] bbedward:
3.4 is a different beast. Hard for me to implement BFS to it without my N5 anymore
[Nexus 6  Original Android Development] Circaflex:
if you ever get the desire i have an n5 i dont use daily anymore its my backup phone but i can always test/pull logs/etc for you
[Nexus 6  Original Android Development] godsfirsthomie:
Ah Yeah

I remember zen kernel from the gnex days now it's on my N6 and all i can say is wow it's the smoothest kernel i used to date on my nexus 6:D
[Nexus 6  Original Android Development] gamewarden234:
Can anyone speak to battery life on this kernel. I notice it spends more time at the higher frequencies.
[Nexus 6  Original Android Development] BlueHarford:
Runs better than franco from my personal experience.

But it's all dependant I you. My battery drains disaster cause I'm always on it. It gets better when I turn off gps.
[Nexus 6  Original Android Development] bbedward:
If you glance through the thread you will find screen shots and many positive claims.

I don't touch the stock behavior for CPU frequency scaling. I leave that up to the user to do, in the userspace. Something like trickster mod/kernel auditor will let you tweak frequency governors and their settings, etc.

It just so happens I'm able to make a positive difference without making sacrifices to the default frequency scaling ;)
[Nexus 6  Original Android Development] michmeister:
I've tried every kernel and find this is the best for performance and also for battery. Considerably better battery then Franco.
[Nexus 6  Original Android Development] rignfool:
Have you given any thought to an mpdecision relacement for this kernel?
[Nexus 6  Original Android Development] bbedward:
Not here, I don't really have any problems with mp decision. Especially since it doesn't do any active hot plugging anymore.

If you really want the alternatives you can check out vindicator's beta, which is based on zen and has a slurry of different hot plugs. I gave a patch that added support for intelli-hotplug+BFS there at least. Not sure what other ones are in there.
[Nexus 6  Original Android Development] gamewarden234:
I don't get it. The kernel with a few small changes in regards to input boost frequency time and boost frequency without all the hoopla and special changes people rave about is snappier with better battery than the last two custom kernels I ran. Makes me think all that stuff people add do not help anything but benchmarks. Goes against everything I ever thought about kernels.
[Nexus 6  Original Android Development] bbedward:
Perhaps why they call it the Brain F*** Scheduler ;) On this MSM/3.10 implementation it's about 85% smaller (~7,600 lines of code) in its entirety than the stock scheduler in it's entirety (~19,000 lines of code)

This is the goal though :good: Do people really care about having things like multiple random number generators in the kernel? Micro-optimizing low-level memory operations (like memcpy, memmove)? I don't say these aren't good things, but who cares? The average user won't notice and shouldn't care about these changes. This is why Zen exists here ;)

Many things like kcal, wake gestures, vibration control, etc, etc. Are all beneficial things to the users implemented by some bright people (which is why they are here). But there's certainly been very much over-blowing of trivial/small patches or tweaks aimed at improving performance and/or battery. The user probably doesn't notice anything, but they are told it's better so they think they notice it :laugh:
[Nexus 6  Original Android Development] rstar2015:
Fastest kernel I've ever used, but the battery drains pretty fast :/
[Nexus 6  Original Android Development] oak:
This is contrary to my experience. I find battery to be very good on Zen.
[Nexus 6  Original Android Development] bbedward:
Try adjusting some interactive governor settings, like rasing go_hispeed_load (to something like 95-99), raising above_hispeed_delay to maybe 30-40000 (how long it will take before going above ~1.45 GHz), you could try to lower the hispeed_freq and boostpulse direction, etc.

You can also try to change the governor all together to conservative, which will scale less aggressively than interactive.
[Nexus 6  Original Android Development] rstar2015:
Thank you, I'll try that.
[Nexus 6  Original Android Development] gamewarden234:
Your right. All I care about is how the phone feels in my hand. When I touch an app does it open without lag etc and does my phone last five to six hours SOT. This checks every box. I may have looked at this thread 50 times thinking. Oh it's just like stock and that sucks because it doesn't have a lot of features. Just got a freeze on vindicator so I thought to myself. Maybe keeping it simple will work here as it does in most walks of life. Boom. This kernel is the bomb. Will be using it for the life of my Nexus six.
[Nexus 6  Original Android Development] bbedward:
His kernel is good. He has a beta where the entire thing is rebased with BFS. He may still be using the 3.18 ext4 backport, which I found causes some freeze problems.

He just pushes everything to the edge. Many frequency governors, many different hotplug options, GCC5 + all the optimizations, etc.
[Nexus 6  Original Android Development] Xileforce:
:D actually I only got 2 hotplug if u don't count mpdecision :P I'm getting better with my addiction. If it were up to me I would have 1 but people really seem split between the two so I just leave both. And yea when u did the rebase I got completely lost :( no idea what changes to make to get back in line with u ATM. I haven't had a freeze luckily but imma try and figure out how to get back on track with your ext4. And hey! I have less frequency governors than u :P I'm guilty of the rest tho lol.
[Nexus 6  Original Android Development] bbedward:
Push up your git tree and I will show you how easy it is ;)
[Nexus 6  Original Android Development] Xileforce:
Hehe I already have. Its in my vindicator rebase repo temporarily until its ready. BTW I tested a change where I converted all late initcalls into deferred init calls. And it definitely shaved several seconds off my boot time and I didn't notice any issues. Is there anything wrong with that? Here's the repo https://github.com/XileForce/Vindicator-Rebase
[Nexus 6  Original Android Development] bbedward:
No it's probably fine. As long as it gets past init there's no problems :p

I sent PM
[Nexus 6  Original Android Development] Heldwin:
I have bootloop with last temasek build
[Nexus 6  Original Android Development] pantmunu:
I should join the game . :) waiting for my PC to arrive .
[Nexus 6  Original Android Development] Xileforce:
Did u try the any kernel build?
[Nexus 6  Original Android Development] Heldwin:
I try at this moment wait reboot : )

Edit : i'm retard ^^ it's working great with any kernel, I downloaded the wrong version....
[Nexus 6  Original Android Development] ahmarchi:
[MENTION=2632235]bbedward[/MENTION] hey bro can u explain the any kernel zip? For example I know chroma has made changes to ramdisk and set policy and it states to flash the file if u install any other kernel. So does that mean installing the any kernel zip u can bypass that file from chroma or is it still needed?
[Nexus 6  Original Android Development] bbedward:
It installs the kernel with the existing ramdisk. So if you flash it over chroma you will use the same ramdisk he has out of the box, except with my kernel.

So no need to use any additional zip, just use the AnyKernel and good to go.
[Nexus 6  Original Android Development] ahmarchi:
Awesome. I been sitting here wondering if all it did was flash kernel itself and skip the set policy etc. Was about to give it a try but your so damn quick in replying and helping this community. Thank u so much brother. Guess that's 1 less file to flash with the any kernel zip ;)
[Nexus 6  Original Android Development] bbedward:
For about 10 more minutes :p I'm at work and it makes it easy to hop on when I get an email notification, etc.

But it 10 minutes I'm out of here, buying beer, and watching the cavs :angel:
[Nexus 6  Original Android Development] otisman:
Batt life is unreal back down your max to 1.7 phone still straight fly's and you should get over 5sot I do daily along with 2to3 hours voice and still have batt when it hits the charger much alohas

Its hard to flash another kernel that is not running BFS you can see and feel the difference its a placebo oh well I run it with my other placebo f2fs works for me
[Nexus 6  Original Android Development] papikev:
I keep stock settings and still get on average over 5 hours sot with pretty heavy usage. No placebo, scrolling and speed is no doubt noticeable. I don't think this kernel can be beat.
[Nexus 6  Original Android Development] ahmarchi:
My last question!!! What kernel app do you use for zen-kernel. Not sure if u have it optimized for a specific one or any will do. [MENTION=2632235]bbedward[/MENTION] and enjoy your beer and couch time. Drinking a red oak and getting ready for a fire fighting certification tomorrow here as well!
[Nexus 6  Original Android Development] bbedward:
Kernel auditor seems to be the best free one.

I have my own up my sleeve which will soon have it's source uploaded licensed under GPL for free. It uses a very nice homemade framework and makes adding additional features a breeze even without any programming knowledge.
[Nexus 6  Original Android Development] Efrenjr15:
How do we enable bfs?
[Nexus 6  Original Android Development] bbedward:
You don't. It already is and cannot be changed.
[Nexus 6  Original Android Development] branedamig:
Zen Kernel Clarification

This clarification is needed from an issue I had after flashing this kernel as well as some things I've read in this thread. A couple days ago, I flashed zen16 on Terminus LMY47I and my pone audio stopped working for both outgoing and incoming calls. After that, I couldn't get phone audio to work on a new clean flashed ROM, my restored Nandroid, or anything. The only thing that worked was reflashing the factory IMG through Wug's toolkit. I'm still unlocked and rooted but am on the stock IMG (LMY47I). That being the case, is zen16 for stock based ROMs and the factory IMG and Zen Any Kernel for AOSP based ROMs such as Terminus and Chroma? I'd love to run zen16 on stock but want to make sure I'm using the right file. Thanks!
[Nexus 6  Original Android Development] wrongway213:
Any app works OP has stated before, there is no complimentary app like for most kernels - at least not that he's released or even pushed o alpha, but that's neither here nor there. Use whichever app you prefer - as Zen doesn't offer a lot of fancy, unusual tweaks most full featured kernel tweakers are more than capable as long as they themselves are stable. I would use Synapse myself, but it's overkill - just my app of choice. FKU, Trickster, Kernel Adiutor, FauxClock - all work fine too.
[Nexus 6  Original Android Development] bbedward:
The non any kernel stuff will work with 5.1 stock ROM and 5.1 aosp ROMs.

Anything CM12.1 (like terminus) or that messes with sepolicy or other ramdisk stuff (like chroma) the AnyKernel zip should be used.

I don't think that audio stuff should have broke, probably could have just dirty flashed the ROM again over factory image.

I added a little clarification to the OP
[Nexus 6  Original Android Development] otisman:
Any chance of ripping that app from under your sleeve lmao Mich alohas
[Nexus 6  Original Android Development] Xileforce:
Patience young grasshopper... ;)
[Nexus 6  Original Android Development] branedamig:
Greatly appreciate the quick response. I'm gonna give this a try on stock. If I can get the battery life I want, I'll probably just stick with stock. Tired of flashing gapps, supersu, and having issues that don't exist on stock. Thanks for your work and GO CAVS!

EDIT: Yeah, I tried everything trying to figure out what broke it, all to no avail. I literally spent 2 days researching and trying various fixes, alternatives, etc.
[Nexus 6  Original Android Development] redskinsfan:
I flashed the regular 16 kernel (not anykernel) on top of (latest) chroma and everything works as expected. Would I gain anything if I flash the anykernel version?

Also, if I flash the AnyKernel version, can I dirty flash over the regular version that's installed now or should I start with a clean flash of chroma?
[Nexus 6  Original Android Development] otisman:
Got lots of that I always believe good things comes to those who wait! Much alohas
[Nexus 6  Original Android Development] bbedward:
Probably not. The chroma guy will just yell at you if you report any problems. Maybe he'd do that even with the AnyKernel version not sure.

Too busy for the next 4 weeks (I graduate May 9) to spend time on the app.

But I promise it's coming
[Nexus 6  Original Android Development] redskinsfan:
Thanks. The combination of chroma and zen 16 work great together. Out of curiosity, do you have a preferred/recommended rom to use with your kernel?
[Nexus 6  Original Android Development] otisman:
Family and real life first and foremost app can wait my bradah we got kernel auditor it works like a champ when [MENTION=2632235]bbedward[/MENTION] kernel app is done is when its done congrats on the degree and from all the older folks to you welcome to the real world of work lol
[Nexus 6  Original Android Development] bbedward:
Nah I think part of the glory is the rom makers do their thing and the users get as many options as possible to choose from. Everybody's going to look for different things in a ROM - all I can do is try to support them all ;)

The chroma guy is just a bit tempermental I have observed. He'd probably say if you use zen you're on your own - which is fine I guess you can bring all your problems to me I won't mind much :laugh:

I provide zen because I think it's the peak of kernel-space improvements and that's all :D You will find the other guys say the same thing though (franco thinks franco is the best, xileforce thinks vindicator is the best, imoseyon thinks leankernel is the best, etc, etc - as they all should think ;)).

---

Anyway, cavs won I'm off to drink some brews :D
[Nexus 6  Original Android Development] flyinj54:
Fellow Ohioan and cavs fan here. Great game. Doing the same
[Nexus 6  Original Android Development] wrongway213:
FWIW Terminus is AOSP , I've never heard dev recommend sticking with stock kernel on that ROM either, believe you may be thinking of something else... Temasek maybe lol
[Nexus 6  Original Android Development] bbedward:
Probably too many T's :p

Either way kernel shoudn't break audio and such.
[Nexus 6  Original Android Development] Megaflop666:
Nice kernel so far, can't wait to see how battery does on it.

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------

Cincinnati here! Well normally... in Virginia at the moment. Missed the game, glad to hear they won.

Back to our regularly scheduled programming...
[Nexus 6  Original Android Development] mimsiroll:
Deleted
[Nexus 6  Original Android Development] Megaflop666:
Overnight I was averaging approximately 2℅ better drain per hour in deep sleep which is significantly higher than some other kernels I've used on this same setup. Anyone else experiencing that high of drain?
[Nexus 6  Original Android Development] michmeister:
I charge overnight so don't know. But I've tried every kernel and this is by far the best on my battery.
[Nexus 6  Original Android Development] iStayHigh:
For all of those people asking about battery life it all comes down to the user,like myself I'm always getting around 5hrs of SOT. Here are some screen shots of my latest stats. Happy 420 ????

Zen'd N6
[Nexus 6  Original Android Development] lexus91:
Wow,, did you tweak anything?

I'm using stock Zen kernel 16. paired with clean rom 2.2. never been able to go past 5:30 SOT. usually i have adaptive brightness now set on 50% brightness.

also i read at few pages before that the i/o is set to BFQ by default? but why does in my kernel adiutor it is written that it is cfq with read-ahead va;iepf 1-24 kB?
[Nexus 6  Original Android Development] purian23:
I think you're getting mixed up a bit. The stock kernel comes with a CPU BFS scheduler in lieu of CFS. The I/O you're referring too is CFQ by default and should be good but feel free to tweak it. Then you have Governors, which on Zen is Interactive by default.

It can get pretty confusing trust me I know lol. Check out out post 1 & 2 - it should help clear up the confusion on those :)
[Nexus 6  Original Android Development] inzaghi75:
Just flashed anykernel on Temasek build but it shows cm kernel in settings.
[Nexus 6  Original Android Development] dany20mh:
I believe this mentioned before and he promised to be fixed upon next version but if you want to have a fix now, just check a few page before and you find a test build for it.