yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] lainemac:
Anyone have any problems with sound? My message tones don't play the whole tone sometimes. Seems like start in the middle. Haven't changed any settings besides color.
[Nexus 6  Original Android Development] bbedward:
Can you try reflashing your ROM then zen? I think this may be an issue with the ROM. Something corrupt or something.
[Nexus 6  Original Android Development] lainemac:
I'm using stock rom. Could it be kernel aduitor?
[Nexus 6  Original Android Development] urrgevo:
I did run zen for a bit on the evo yes. The battery life is just me being very particular about my setup, I have play services and location on lockdown, they only are active when I need them otherwise they are off. I haven't used my phone for much, just calls, text, and some light browsing and reading. I don't really use a lot of the Google features often. A little over 2 hrs screen on, very light use.
[Nexus 6  Original Android Development] bbedward:
Not sure, is it happening when you flash a stock kernel? If it goes away and comes back with zen only maybe pull a dmesg after playing some sounds. Can see if driver is spitting any warnings.

Very nice, I may have to get on a dark theme and make some of those optimizations :)
[Nexus 6  Original Android Development] info[]box1:
How would I know if the kernel normal zip worked correctly on a CM 12.1 ROM..?

Even if it booted up fine..

Just wondering, if there's system info I could check...
[Nexus 6  Original Android Development] bbedward:
If you check system settings - about phone you should see 3.10-zen19 in kernel version.

More creatively you can check the zen info stuff, like attached image :)
[Nexus 6  Original Android Development] info[]box1:
System information page shows I am running Z19 show stopper.. Simple NP

Your screen is of terminal emulator. Correct..

What command prompt..?

Thank you /TIA
[Nexus 6  Original Android Development] info[]box1:
Got it.. ES File explorer

B.A.M
[Nexus 6  Original Android Development] bbedward:
Yes just in terminal emulator. If system information shows it then it is correct and should be good. The zen_version_code is just something zen implements (and only zen I think?) to help apps determine if the device is running a zen kernel and if so what version for ota and other purposes. It's more fool proof then using the uname string because less parsing, and less chance of detecting unofficial builds or another kernel that may be called zen.
[Nexus 6  Original Android Development] info[]box1:
Again. Thanks

Edit: Just wanted to you if the correct RAM disk/Partition was being used.. Think I worded that correctly.. xD
[Nexus 6  Original Android Development] bbedward:
https://www.dropbox.com/s/qf5xtvuw01xsxj9/20150501163656-1.mp4?dl=0

There's a bonus video of my senior design project :)

Basically smart windows. Self calibrating through stall/current sensor and a rotary encoder (to count rotations). Controlled through a web back end that runs on an rPI (which can run in a cluster with other rPIs) - via android app. Can be extended with things like rain sensors, etc. Just a video someone took of it in action :)

rPI has a "hat" with a PCB of all circuitry plugged into the 40pin gpio header.

Patent pending :D
[Nexus 6  Original Android Development] jiv101:
When can I order some, I thought I was lazy before watching that video but that would totally add to my laziness
[Nexus 6  Original Android Development] bbedward:
Home automation is mostly about being lazy anyway :p I think some of the other applications (aside from lazyness) we talked about were for elderly, commercial buildings with lots of floors+windows, higher windows like sky lights, etc. The whole thing came in about ~$125 so fairly cheap ultimately.
[Nexus 6  Original Android Development] Megaflop666:
See, we should be in business, my company sells and installs home and business automation.
[Nexus 6  Original Android Development] bbedward:
Tell them to invest ;)
[Nexus 6  Original Android Development] urnamese3:
[MENTION=2632235]bbedward[/MENTION] just flashed latest zen19 build on latest teamsek build and it's flying! Which app do you recommend to tweak the kernel? I'm using synapse but I can't edit anything regarding wakelocks..
[Nexus 6  Original Android Development] bbedward:
Synapse is OK if you like it :)

I don't have Amy wake lock toggles added/supported. Maybe in the future, but I find that they usually behave as they are supposed to and when disabled then issues arise and get reported :) The wlan_rx is reduced by default, otherwise I haven't really touched any of them
[Nexus 6  Original Android Development] Xileforce:
Lean has a patch for hsic wakelock but its a reducer slider. So you don't have to completely disable it but still can if set to 0. Its pretty nice and haven't noticed any issues
[Nexus 6  Original Android Development] Megaflop666:
Just told myself. I have to call myself back tomorrow during normal business hours to schedule a meeting.
[Nexus 6  Original Android Development] info[]box1:
Just DL'd synapse and got this..
[Nexus 6  Original Android Development] Mudvayne622:
So the any rom kernel is now called ZenyKernel?
[Nexus 6  Original Android Development] bbedward:
You need a ukm zip that goes along with it, flashed from recovery :

https://www.androidfilehost.com/?fid=95916177934536915

Was a suggestion :p . I cut out pretty much all the anykernel2 stuff and added my own methods to dynamically set init.rc settings, add f2fs support, and disable forced encryption so a name change isn't too unwarranted :p the core method that pulls apart and repacks the ramdisk is the same as the universal anykernel2 though.
[Nexus 6  Original Android Development] info[]box1:
ukm zip link is a no go.. Thank you anyway kind Sir. I'll Google

Edit: http://xdaforums.com/showthread.php?t=2736986
[Nexus 6  Original Android Development] Xileforce:
Here's a modded version I use for my kernel. https://docs.google.com/file/d/0B6n0VW96A9MoYTRUc0NRRjQybEU/edit?usp=docslist_api its also got support for more things than normal ukm such as wakelocks and Zendecision in case he ever adds them.

---------- Post added at 07:37 PM ---------- Previous post was at 07:18 PM ----------

I just pushed all my sources! If ur interested. U can check out all the cpuidle patches I merged a few days back. U prob gonna look and be like "all this stuff makes it worse" with my luck lol. Just figured id let ya know. Took forever and its pretty much up to speed with Linux 4 aside from the part where they branched stuff off to make it platform agnostic towards the end.
[Nexus 6  Original Android Development] bbedward:
All this stuff makes it worse

Nah I will look :p. I'm not sure specifically what benefits have come from the new stuff there, typically you gotta be careful with backports like that not only because sometimes they depend on other Linux core components having new APIs or whatever, you can end up chasing things around for a long time :p also msm/QC tend to mess with all the CPU stuff like that. But if you have it working fine then something must be right :p

I have some back ports of newer Linux stuff here, but nothing too crazy. I will check those out though
[Nexus 6  Original Android Development] Xileforce:
Indeed...several other things had to be back ported for it to work. I tried to get into where the split things up but that got absolutely crazy... All I seek is your paternal approval :(
[Nexus 6  Original Android Development] info[]box1:
Thanks you for Energy & Persistence [MENTION=4517211]Xileforce[/MENTION]

Would be sweet if [MENTION=2632235]bbedward[/MENTION] would add these back port to the kernel or check em out throw in the OP for *optional sake.

I have DL'd it and will use, as soon I read up on the OP of the concerning Synapse & the etc.
[Nexus 6  Original Android Development] Xileforce:
Well they very well could be bad somehow knowing me lol. So I'm sure bbedward will look thru them and see what's going on :P sadly they can't be optional because its all updates to the cpuidle driver which is what controls when and how your processor "sleeps" and by sleep I don't mean deep sleep when screen is off. The processor can actually go into one of 4 "sleep" states when the screen is on but its not processing anything. So if core 0 & 1 are on but core 1 isn't doing anything it can go into a low power mode where it can't process stuff, but saves a lot of power. Hopefully that helps.
[Nexus 6  Original Android Development] info[]box1:
I have a high respect for lower power modes in a ultra sense. Learn this respect from TP2 WinMo days. I go into a Gaming mode once in a while and need the juice at certain times. Would I need to activate UKM thru terminal emulator (Lollipop work around)..¿ :silly:
[Nexus 6  Original Android Development] Xileforce:
No to activate UKM you just flash it. If you are still having issues, the ukm thread has troubleshooting steps.
[Nexus 6  Original Android Development] dwang:
Looks like the issue was with the dt2w haptic feedback. Disabled it and haven't encountered another crash.

I just got my best SOT ever with zen19.

6:25 hours SOT with 12 hours battery.

And this is with plenty of usage, netflix, chrome, youtube, etc...
[Nexus 6  Original Android Development] info[]box1:
Thanks. I got it all said again last in the night. Flashed your modded ukm zip and bbedwards OC zip.. All is well and loving the work guys.. Thanks again.
[Nexus 6  Original Android Development] bbedward:
I will see if I can find where this bug is coming from in the wake gestures and work on a fix for flar

But then again I can't reproduce it :p I will keep trying
[Nexus 6  Original Android Development] bbedward:
BTW what exactly did you set the values to in the wake gestures app? I can't seem to reproduce with vibrate set to any value :(
[Nexus 6  Original Android Development] dwang:
Just enabled haptic feedback w the default setting.

It didn't happen all the time so u may have to try it for a while.
[Nexus 6  Original Android Development] Xileforce:
And now commences bbedward setting his phone on his desk and tapping the screen endlessly for the next hour in hopes of crashing it.
[Nexus 6  Original Android Development] bbedward:
I can't do it :p either with flar wake gestures app 1.1 (which seems to do things a little differently) or by manually setting in /sys/android_touch
[Nexus 6  Original Android Development] Xileforce:
It doesn't make sense that enabling haptic would crash it considering haptic was enabled by default from the beginning...
[Nexus 6  Original Android Development] dwang:
i wouldn't spend too much time w it. Its no big deal to just not use haptic feedback.
[Nexus 6  Original Android Development] bbedward:
I'll just keep it enabled with vibrate at 20 like it was before see if anything pops up. I'm at 2 day 12 hr uptime or so on z19 so I will notice if that changes :)
[Nexus 6  Original Android Development] resynx:
Just had a reboot. Received a phone call and I couldn't answer because the screen froze, reboot a few seconds after that.

console-ramoops-0: http://pastiebin.com/5547c5a9d7def
[Nexus 6  Original Android Development] hellsgod:
What rom are you using btw? I've heard some cm based roms have reboot issue on calls. Its a watchdog bark, so not much information what happened in the log.

hells
[Nexus 6  Original Android Development] bbedward:
Cyanogen, maker of issues for people like me :p
[Nexus 6  Original Android Development] resynx:
Using Omni. Besides this 1 reboot, everything else has been solid for me though :D
[Nexus 6  Original Android Development] urrgevo:
This smashes any previous record I've had

That's 74 hours without charging and almost 4 hours of screen on time.
[Nexus 6  Original Android Development] dwang:
has anybody noticed an issue where one of the cores stays at 2.6 ghz even if cpu usage is at 1%? All the other cores ramp down, except one of the cores and it stays stuck at 2.6 ghz.

I have mp decision enabled and haven't touched any of the cpu hot plug or frequency settings.
[Nexus 6  Original Android Development] hellsgod:
I've noticed some strange behavior in that matter since I work with shamu. I don't use mpdec, thats why I always thought it has to do with the custom hotplug solution, instead of using mpdec. Core gets plugged out, because the device hit 15% battery. If you charge it, this core's not coming back, you have to enable it again. One or two cores are locked in a boosted state (1497mhz), or one or two cores are locked at max freq.

hells
[Nexus 6  Original Android Development] dwang:
the other thing I noticed is the stats for 2.6 isn't being incremented. I have 1 core always at 2.6ghz, but the time spent at 2.6 ghz is still very low. So maybe its not really at 2.6 ghz, its jus some kind of accounting bug.
[Nexus 6  Original Android Development] hellsgod:
If you refer to cpu stats like you find in cpu spy, or other kernel apps, they only track cpu0. If cpu3 is stuck at max, you won't see that in those stats.

hells
[Nexus 6  Original Android Development] dwang:
ah ok.. yeah core 2 is the one thats always maxed at 2.6ghz.

other than a reboot, I can't get core 2 to ramp down. I turned off the core and back on but its still stuck at 2.6. I turned mp decision off and on, but its still stuck.
[Nexus 6  Original Android Development] hellsgod:
Try to switch the governor next time. That's what always fixed it for me .

hells
[Nexus 6  Original Android Development] dwang:
awesome that worked!
[Nexus 6  Original Android Development] bbedward:
https://github.com/bbedward/ZenKernel_Shamu/commit/d0248c34444eab25149c53a3564b858917dfdc50

I will leave this here.

When MPDec is disabled cores goes offline permanently and never come online, regardless of what's happening in PM driver.

Charge phone to 100%, cores are still offline forever for some unknown reason of behavior in MPDecision (possibly related to MSM Thermal)

Anyway, this solves the problem with respect to msm thermal and some other factors. There's still input boost delegation to do, but I will handle that later on the test build
[Nexus 6  Original Android Development] grayskul:
Kernel tool kit. It's a new app and it freaking rocks! Free version in the playstore[emoji3]
[Nexus 6  Original Android Development] ahmarchi:
[MENTION=2632235]bbedward[/MENTION] question, you ever thought of adding ability to control each core independently. I think hydra does it, ability to control each core speed, each core boost frequency etc.
[Nexus 6  Original Android Development] bbedward:
Each core already scales independently with respect to their current load. Controlling each min/max speed, boost frequency is largely unnecessary I think. The hardware+drivers existing aren't even designed for that, so we'd have to add a lot of overhead to allow controlling each CPU core independently like that - all that overhead would probably cancel out any benefit there is to doing something like that, and I suspect the benefit to begin with is pretty small :)
[Nexus 6  Original Android Development] Xileforce:
Overhead bad
[Nexus 6  Original Android Development] mimsiroll:
Lol
[Nexus 6  Original Android Development] Quantas:
This consistently happens to me on latest CM 12.1 (5/4) and 3.10-zen19. Reflashed ROM without zen kernel and issue went away. Please let me know if you want me to try to find some logs or something, really love the kernel otherwise, only issue is I can't receive calls :)
[Nexus 6  Original Android Development] bbedward:
Use zenykernel.

I can't say what CM changes are causing problems now (there's far too many), but using zenykernel should eliminate any possibilities that are kernel related.
[Nexus 6  Original Android Development] Quantas:
Strange, that's what I used...
[Nexus 6  Original Android Development] bbedward:
Maybe use the non-zenykernel. Hard to say what cyanogen issues are created. They seem to make more and more by the day.

Alternatively, give me the full contents of /sys/fs/pstore/ after the reboots. If a kernel issue was the culprit, the stack traces will be reported there :)
[Nexus 6  Original Android Development] omvir:
I have a solution to your problem!! I use to have the exact SAME problem. I would get a call and it would freeze. It happened about 90% of the time.

I realized it stopped when I switched to the non-anykernel version of the kernel. Also, there's no need to be using the any kernel version on cm 12.1 at this point in time because the normal version is compatible and working great!
[Nexus 6  Original Android Development] rstar2015:
Not sure if its kernel related, but I had a split screen and a reboot on Zen19.
[Nexus 6  Original Android Development] grayskul:
Time to get your device replaced:( I had the same issue and had to get it replaced. My friend has the same issue and he's not even rooted! Just plain Jane stock.
[Nexus 6  Original Android Development] bbedward:
Z20_test1 dropped to push bullet.

I will say things feel quite zippy :)
[Nexus 6  Original Android Development] omvir:
Thank you :)

You've added Franco's conservative governor changes into your kernel?
[Nexus 6  Original Android Development] bbedward:
At least partially. The touch boost listener too, except it's been quite modified to have global parameters. Like the boost frequency and duration are globally defined not per-governor defined.
[Nexus 6  Original Android Development] jiv101:
So no more wake gestures? Not sure how to run that echo you have a couple of posts
[Nexus 6  Original Android Development] purian23:
Wake gestures has not changed except that is has haptic feedback disabled by default once the gestures themselves are enabled. You can do this with mostly any kernel app out there so you don't have to run the terminal commands.
[Nexus 6  Original Android Development] casonswag:
Does this work on chroma?
[Nexus 6  Original Android Development] resynx:
Agreed. Performance is great :)
[Nexus 6  Original Android Development] Efrenjr15:
How do I get pushbullet?
[Nexus 6  Original Android Development] frost_nz:
Download the app from the play store and subscribe to the channel.
[Nexus 6  Original Android Development] ahmarchi:
Zen 20 can't turn on the 4th core. However runs smooth... Also turning on mpdecision s not stick
[Nexus 6  Original Android Development] bbedward:
Are you running at low battery ? (<=15%). MSM thermal removes cores around there.

Also idk about mpdecision, I'd guess the kernel app you are using to enable it :)
[Nexus 6  Original Android Development] resynx:
Is it just me or is zen20 test2 a pretty noticeable step up in smoothness from test1? :D
[Nexus 6  Original Android Development] ahmarchi:
No sir. 58%
[Nexus 6  Original Android Development] bbedward:
May have been removed due to thermal throttling? If ZDecision is enabled however it should pop online when you turn screen off/on
[Nexus 6  Original Android Development] dwang:
Any chance u can add those wakelock sliders into your kernel?

It helps with those chatty WiFi networks.
[Nexus 6  Original Android Development] oak:
Zen20_2 seems great to me. So did 20.
[Nexus 6  Original Android Development] lainemac:
Same thing is happening to me. 4th core never comes online.

Edit: reboot seemed to fix it.
[Nexus 6  Original Android Development] urnamese3:
I've got a ramoops from yesterday on Zen 19 Temasek 12.1 http://pastebin.com/mZEZczPJ
[Nexus 6  Original Android Development] crossen0:
I tried turning off dt2w in Franco's app but it's still turned on. Any way for me to turn it off?
[Nexus 6  Original Android Development] Chochiwpg:
What kernel control app do you guys/gals recommend for Zen kernel? Thanks
[Nexus 6  Original Android Development] niko2931:
I suggest Kernel Auditur, or synapse ;)
[Nexus 6  Original Android Development] Chochiwpg:
Awesome, thanks mate.
[Nexus 6  Original Android Development] niko2931:
You're welcome! :)
[Nexus 6  Original Android Development] resynx:
I like flar's elementalx app myself :D
[Nexus 6  Original Android Development] bbedward:
This one has no kernel stack trace/oops/panic. Did it hard reboot to google screen or just to the boot animation?

I noticed :) I will fix it
[Nexus 6  Original Android Development] urnamese3:
I was studying and saw the google logo popping up..
[Nexus 6  Original Android Development] bbedward:
That file is from /sys/fs/pstore/console-ramoops*?

It doesn't have any kernel bugs in it. Last thing is about lowmemorykiller doing pretty much normal operation. Then it suddenly stops reporting.
[Nexus 6  Original Android Development] urnamese3:
Yup.. Well it's the only time it happened so whatever.. I really like your kernel, it's super smooth and does a great job with battery!

One thing that is frustrating is the impossibility to tweak the wakelocks, you probably didn't do it for some purpose but out of 8 hours of uptime I've got 1.5 hrs of the stupid msm hsic wakelock
[Nexus 6  Original Android Development] bbedward:
The main reason I don't so it is to account for user errors :p

I imagine for the average user the wake locks don't really pose a problem, but if you give a man some fire he will play with it til he burns himself.

Maybe I will cave for the msm_hsic slider, I just don't want to see any reports of "this doesn't work" "I missed the most important phone call of my life", etc :p
[Nexus 6  Original Android Development] omvir:
Hi guys. A general question about battery life (not in regards to kernels or ROMs).

Is having a 4-5% drain overnight during 8-10hours of idle normal without any wake locks? I'm asking because my Oneplus would only drain 1-2% overnight with the same apps n settings. Also my wake locks look perfectly fine. Nothing out of the ordinary. Is this normal for the nexus 6 ?
[Nexus 6  Original Android Development] bbedward:
I think 4-5% drain in 8-10 hour idle is pretty good for the N6. I charge overnight and don't have my phone idle very long so I can't say if it should be better/worse very accurately :)

Depends on any services waking the phone up and maybe some other factors I imagine.
[Nexus 6  Original Android Development] resynx:
test3 is stuttering a bit for me compared to test2, test2 was completely smooth throughout.
[Nexus 6  Original Android Development] 530farm:
Would zen-decision show up on kernel apps? Just flashed pre-release 20 and kernal auditor shows mpdecision disabled, and thats it under hotplug settings.

THanks
[Nexus 6  Original Android Development] bbedward:
No they won't show them unless they add support for it. Ditto with the touch boost stuff.

I think XileForce will support it in his modified UKM for synapse, but for other apps they'll have to add it.

I'd like to see kernel auditor support RR_interval too :)
[Nexus 6  Original Android Development] rignfool:
Your boost driver thingy isn't listening to kernel auditor...

It reports that I turned it down to 883...

But still boosts to 1497
[Nexus 6  Original Android Development] bbedward:
It is looking to cpu-boost which I am not using. I thought about using the values in cpu-boost to support the apps but I thought that would be more hackish.

echo 883000 > /sys/kernel/touch_boost/input_boost_freq

Will turn it down

Maybe I will swap to using cpu-boost values
[Nexus 6  Original Android Development] pantmunu:
Would love that and that damned bluesheep wakelock too. ??
[Nexus 6  Original Android Development] lobrau:
Using Androbench:

I'm seeing Sequential Read speeds of around 60MB/s and Sequential Write of around 50MB/s

all other kernels are getting around SR 180MB/s and SW 65MB/s

The random read and random writes however are inline with all the other kernels and is more important anyways. I'm just curious as to why the other ones are lower.
[Nexus 6  Original Android Development] bbedward:
Seems crazy, mine is 228 and 68 for sequential read/write and I know [MENTION=1481114]purian23[/MENTION] has about identical numbers

I'm on ext4, are you on f2fs? Or maybe some apps were updating when you ran it?
[Nexus 6  Original Android Development] lobrau:
Very interesting I'll take a look for something on my end but that was all default settings. And I ran it a couple times hours apart to make sure. I'll try flashing system and then your kernel again to make sure it isn't any ramdisk issue.
[Nexus 6  Original Android Development] purian23:
Yeah man something seems off a bit. I just ran a test myself.