yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] bbedward:
Very cool ?

I worked on this on my shift today:

https://github.com/bbedward/MSMThermalControl

It isn't finished there's no UI population and nothing gets written to the file yet. But it dynamically pulls in the stuff from the thermal configuration into an array of readable objects.

I figured I'd push it to github because it could be cool to change this stuff via app. I just had a few hours to kill at work today ?

Also it can maybe be part of the long lost 3 year delayed Zen app - which will be released and open sourced when it catches up to the times.
[Nexus 6  Original Android Development] pantmunu:
Yup. That's the one.
[Nexus 6  Original Android Development] michmeister:
What kernel tweaker works with this kernel? On benzo ROM. Synapse app says no UCI support.
[Nexus 6  Original Android Development] jiv101:
All of them
[Nexus 6  Original Android Development] Circaflex:
Yup, i totally agree with you and its a shame. This was the case over in the nexus 5 threads too, even though source is provided the kernel dev used to clammer on about no unofficial kernel builds, dont use it as a base, etc etc. One of the main reasons i will never run his kernel or his friends rom, which has now left xda and is on g+.
[Nexus 6  Original Android Development] jiv101:
Could you pm me the developers that are on Google+
[Nexus 6  Original Android Development] bbedward:
Well it doesn't matter what he wants with nobody using it as a base, forking it, whatever because people are free to do that all they want legally. It's up to XDA to not close down projects like that.

The one closed down actually added new stuff, albeit for a very specific audience - and XDA still shut it down because the guy whined to them about permission. I saw credit given, new stuff added, etc. That should be good enough for XDA.

Zen is a better base anyway so his rebased kernel will be better than ever :laugh:

I don't mean to start drama and I don't think [MENTION=1481114]purian23[/MENTION] will be very happy with me :p, but what happened shouldn't have happened and I have no issue speaking out on it.
[Nexus 6  Original Android Development] michmeister:
Is this compatible with synapse app? It's not for me.
[Nexus 6  Original Android Development] bbedward:
Idk what synapse is doing :p

All of the kernel interfaces are standard and apps shouldn't have any problem communicating to them, and none of them do except for synapse apparently.

Maybe try a different one like kernel auditor (free), trickster mod (free), elementalx, franco.
[Nexus 6  Original Android Development] michmeister:
Thanks. Just wanted to make sure it wasn't just something wrong with my setup. Your kernel is great BTW. Thanks.:)
[Nexus 6  Original Android Development] papikev:
Great job guys.
[Nexus 6  Original Android Development] rebretz000:
Zen is a much better kernel. I had used other kernels before. All of them on the N6 but for me Zen has the best battery life and performance.

All this means for the Dev that had his thread closed is his kernel will now be better than before.

Sent from my Moto Nexus 6
[Nexus 6  Original Android Development] iStayHigh:
My battery stats so far on that test build,its running smoothly

Zen'd N6
[Nexus 6  Original Android Development] Simer03:
If you need a tester, I'd be willing!
[Nexus 6  Original Android Development] nflwideout86:
It says no uci support because you need to flash the ukm mod

Personally i use the elem x kernel app because it has the option to choose a specific sweep to wake direction, but before that i was using synapse and it worked fine.
[Nexus 6  Original Android Development] info[]box1:
Whoa Nellie.! What test build did I miss the memo. Test Zen12 is out...? :D
[Nexus 6  Original Android Development] iStayHigh:
No you didn't miss a memo I just stayed on zen11 test build,I've been using it since yesterday morning

Zen'd N6
[Nexus 6  Original Android Development] resynx:
Zen11 froze up on my lockscreen and rebooted on it's own.

console-ramoops - http://pastiebin.com/5525d4684c0e7

annotate-ramoops - http://pastiebin.com/5525d4aab43cd
[Nexus 6  Original Android Development] pantmunu:
Add me in. :)
[Nexus 6  Original Android Development] info[]box1:
Lol.. Oh I almost blew a fuse here.. Thought you secret Zem beta tester or something..

I ran Zen11 test a full day.
[Nexus 6  Original Android Development] bbedward:
Nothing looks wrong here in this log :crying: (no kernel oops, panic, bug)

I will look a little further.
[Nexus 6  Original Android Development] bbedward:
I don't have many more changes for zen12 :(

Everything seems to be running good, there's some newer stuff I can add for the panel though.

I already have the best zen12 name in mind though which has is a shame :crying:
[Nexus 6  Original Android Development] nflwideout86:
Would you recommend running at 3mhz oc permanently? Is anyone here running at 3.0 mhz? and what's the batt life like at that speed? Thanks
[Nexus 6  Original Android Development] bbedward:
Nah I can't recommend oc. I don't have run any if that personally, but stability can decrease and battery life will significantly decrease because the higher frequencies draw more voltage.

Results will be very device specific.
[Nexus 6  Original Android Development] yellowman82:
Where could I get that ukm mod from or the elemental x app?
[Nexus 6  Original Android Development] nflwideout86:
ukm: http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

elem x app: https://play.google.com/store/apps/details?id=flar2.elementalxkernel
[Nexus 6  Original Android Development] yellowman82:
Thank you kind sir.
[Nexus 6  Original Android Development] iStayHigh:
Zen'd N6
[Nexus 6  Original Android Development] bbedward:
You guys are crazy :p

I love seeing good results but I still can't get 5+ hr screen on :crying:

But I expect these improvements on BFS because of how it handles idle cpus and tasks. It has a higher tendency to correctly only wake the cpu that is idling with a task waking up on it, rather than boosting them all. Among other nice things.
[Nexus 6  Original Android Development] Lazy79:
when I get around 6 all the time, you really should get more than 5 hrs of screen on time.. or you are using facebook app *g btw besides greenify, franco released a similiar tool now. But I guess you already know this and I am not yet sure what´s better. ( https://play.google.com/store/apps/details?id=com.franco.servicely ) And I am in general not a huge fan of such apps running all the time in the background. I am quite a purist :/
[Nexus 6  Original Android Development] lexus91:
What ROM are you using? any tweaks on the kernel settings it self?

runinning benzo + default zen yields me:

23h 28m lifetime

33:23 phone call,

3:35:36 screen time,

13:32:19 phone radio, and

19:58:46 wifi active.

some wakelocks(?) 2:16:22 held awake.

currently left with 9% battery on battery saving mode.
[Nexus 6  Original Android Development] tundra35:
What the hell do you live in a cell tower lol :p
[Nexus 6  Original Android Development] iStayHigh:
I'm running [MENTION=426561]scrosler[/MENTION] stock rooted deodex lmy47m and I run the kernel just as it is,I don't touch anything. The only things I turn off are window animation in developer options and I don't use google now

Zen'd N6

---------- Post added at 11:37 AM ---------- Previous post was at 11:34 AM ----------

Nah I wish but at home and at work I'm always on WiFi but trust me I don't always get that many hours out the battery,some days I barely touch my phone and some days I OD on it but I still manage to get around 4-5 hrs of sot

Zen'd N6
[Nexus 6  Original Android Development] tundra35:
This kernel is nice though I've tried others and it always ends up the same way I go back to stock. But yeah where I normally work I have one bar. And at home its low signal if I'm not on WiFi and get around 4 hours.
[Nexus 6  Original Android Development] lobrau:
Had a hard reboot this morning on Zen11
[Nexus 6  Original Android Development] bbedward:
Do you use light flow or anything to control the Led?
[Nexus 6  Original Android Development] lobrau:
Nope the only thing I could think of to do with led would be fku app

I haven't changed anything do do with led in that app though so it shouldn't control anything.
[Nexus 6  Original Android Development] eggydrums:
This kernel, man... Completely off the rails.
[Nexus 6  Original Android Development] bbedward:
Looks like it may have been a part of the dreaded memory leak bug.

The kernel didn't panic or oops, but in the final minutes the lowmemorykiller was working overtime killed about 6 processes (I rarely see lowmemorykiller action on the N6 honestly) - and then some process become unresponsive didn't reset the watchdog timer, which sent a system alert (Watchdog Bark) which ultimately leads to a Watchdog "Bite" which is what causes the system to reset.
[Nexus 6  Original Android Development] lobrau:
Ahh cool glad that it wasn't likely zen kernel that caused it. Thanks for the info.
[Nexus 6  Original Android Development] VECTUS:
Just checking in to let you know Zen11 is running AWESOME on the new NexZen Rom v03! Thank you B for your hard work and sharing with the community! We appreciate it!! :D:D
[Nexus 6  Original Android Development] michmeister:
Could someone tell me if it's good idea to disable mp decision on this kernel? Using synapse.
[Nexus 6  Original Android Development] bbedward:
I would recommend keeping it. It controls some boosting and CPU hotplugging while device is idle, etc. Could increase your device heat, lower battery life, etc if you turn it off.
[Nexus 6  Original Android Development] michmeister:
I love this kernel but for some reason when I'm on the charger it won't go into deep sleep. I have no wake lock issues at all. I'm using the turbo charger that came with phone. On benzo ROM. I go into deep sleep fine with other kernels ( hydra and vindicator) while I'm charging.
[Nexus 6  Original Android Development] bbedward:
I'm pretty sure this is how the stock kernel behaves, with mpdecision. I believe that the deep sleep charging on vindicator/hydra is something you are seeing with the alternative hotplug drivers - like intelliplug or whatever.

I don't plan on implementing any of the alternative hot plugs because they ultimately don't fit the goals of Zen, but I believe vindicator is implementing BFS into his kernel now - I have given him a patch that adds support to BFS for intelli-hotplug as well.

As long as it sleeps while you are on battery power, I think everythings good :good:
[Nexus 6  Original Android Development] bbedward:
Numerous bug fix and refactorization patches related to LEDs, GPU, Panel. Almost all stability and bug fix stuff.

3.10-zen12 "On top of the World"

Changes:

BFS: Sync up some tick accounting from upstream

LEDS: Merge in 13 or so patches. Fixes bugs such as concurrency issues as well as adds some features

MDSS: Merge in over a dozen patches, refactorizations, and bug fixes

Crypto: Update NEON/AES module

3.10-zen12 Recovery Zip Download

3.10-zen12 boot.img (install via fastboot/twrp IMG) Download
[Nexus 6  Original Android Development] hellsgod:
I can't remember my devices slept while charging with any custom hotplug driver. Its definitely normal behavior for the device not to sleep while charging :)

hells
[Nexus 6  Original Android Development] rebretz000:
I was going to say the same thing. I don't ever remember any of my phones or tablets going to sleep while charging.
[Nexus 6  Original Android Development] michmeister:
On hydra my phone always deep sleep while charging.

---------- Post added at 02:41 PM ---------- Previous post was at 02:39 PM ----------

I would have 6 or 7 hours deep sleep when waking. That's why I asked because I thought something was wrong because it's zero deepb sleep and 6 hours at 300 on this kernel.
[Nexus 6  Original Android Development] bbedward:
Likely the result of disabling mp decision or thermal driver changes. Something Zen won't support.

You should only be considered with deep sleep States on battery power really.
[Nexus 6  Original Android Development] michmeister:
Ok. Thanks. I'm just learning about kernels (or trying too). I appreciate you always answering my questions. I do know that my phone is faster and smoother and responsive with your kernel. So I appreciate your work.
[Nexus 6  Original Android Development] djcsurf:
bbedward, Have you thought about preventing the 5.1 CPU/GPU drop at 40/20% which google implemented.

Imoseyon has it working well in his kernel, or do you not see it as part of the ZEN goal?
[Nexus 6  Original Android Development] purian23:
I believe at this time we've decided to leave it be as neither bbedward or I really see a hit in performance while saving on the battery a little bit. [MENTION=2632235]bbedward[/MENTION] did make a fantastic post explaining this and a way to disable it if any of our users prefer it that way. I posted it in my Faq's section on post #2 of this thread.

Having said that [MENTION=3357040]Imoseyon[/MENTION] does some fantastic work as well and those two collaborate back and forth sometimes to knock out some bugs or some other solutions to better the experience!

Purian
[Nexus 6  Original Android Development] bbedward:
You can disable this without any kernel patches.
[Nexus 6  Original Android Development] YevOmega:
Sorry if this is a stupid question, but would I get better battery life with untuned BFS or should I just stick with CFS. I read your explanation on page 5 about what makes BFS different, but that didn't quite answer my question.
[Nexus 6  Original Android Development] bbedward:
In theory I would say BFS. BFS uses sticky tasks to keep tasks from waking up idle cpus too often (sticky task means strongly bias to stay on the current cpu) , helps the governor from scaling all the cores but rather only the core with tasks on it.

Also significantly less overhead doesn't hurt. BFS requires no huge load balancer or fair calculations - which significantly reduces overhead in the overall scheduling algorithm. The overhead from balancing probably sees more benefits at 16,32,64 + CPUs

Some of the things you see that optimize cfs for power efficient load balancing or whatever other fixes are entirely irrelevant on BFS because it doesn't rely on any crazy load balancing to begin with.

In practice I don't think you will notice much difference, in theory it should be better.
[Nexus 6  Original Android Development] iStayHigh:
My network speed on zen12,I think those are some pretty good speeds. What y'all think?

Zen'd N6
[Nexus 6  Original Android Development] purian23:
Nice! Very nice!
[Nexus 6  Original Android Development] jiv101:
I didn't think kernel affected anything to do with Network
[Nexus 6  Original Android Development] iStayHigh:
I don't think it does

Zen'd N6
[Nexus 6  Original Android Development] purian23:
No it's just nice speeds is all lol. About double+ than what I see in my area.
[Nexus 6  Original Android Development] info[]box1:
"On top of the World" yass! Flashing now, wait I have to download first s***.. Thanks OP and team Zen kernel.. Rock on.!
[Nexus 6  Original Android Development] Custodian:
Hey purian, any ideal why a cm 12.1 based ROM won't boot with zen?..was working on zen 7, anything above its a no go
[Nexus 6  Original Android Development] purian23:
I'd have to do some research on the matter. I don't run CM but right off hand I think I recall hearing they changed something recently in the Sepolicy that might be the cause. However if our Ramdisk replaces it you think it would work.

I'll see if [MENTION=2632235]bbedward[/MENTION] can look into it.
[Nexus 6  Original Android Development] info[]box1:
aosp has been cracked for over a year now. I'm strictly stock based builds ROMs for a while now. Can't deal with side effects.

Edit: to each his own tho.. No disrespect to AOSP+ users.. Rock on!
[Nexus 6  Original Android Development] michmeister:
Wowser!! Now that's speed :)
[Nexus 6  Original Android Development] purian23:
Since 5.0 this has been my theory as well. I really don't need the endless extras, although nice, brings issues at times.

I'm still toying around though, I could easily build a ZenROM based on stock, well I guess I did already since I'm running it now lol. But, it seems too much like cheating by removing the bloat and calling it mine!

Now, I've also been toying with AOSP too. But I do have a limited skill set here, although if achieved I'd be happy to label it ZenROM! I've built my pure AOSP test build already, but on info boxes topic, bugs straight from source. Decisions and Rambling over :)
[Nexus 6  Original Android Development] ozg33k:
Yeah i recently switched over to stock as well.. Clean core + zen is nice, I really wish someone would at least make a dark material theme to flash over stock though...
[Nexus 6  Original Android Development] info[]box1:
Shoot me the zip in PM.. Let me taste it.. I'll let you know. The asop and stock build. Preferably the stock build. Thank you sir.

I run that all day, every day..! I'm too advanced for the BS. I know what's good and what's not. Puritan23 not pertaining you ;)
[Nexus 6  Original Android Development] info[]box1:
Speed test in the boondocks
[Nexus 6  Original Android Development] resynx:
Oh the teasing!:crying::p
[Nexus 6  Original Android Development] bbedward:
I rely on real experience results ☺

Cm12.1 made their ramdisk incompatible with stock android again so I will fix it soon.
[Nexus 6  Original Android Development] purian23:
Stock based build is system images only at this point though fastboot.

AOSP is flashible but there's no bragging rights other than my boys ZenKernel :)

Hahah sorry broseph. If I had it more worthwhile in my own mind I'd put it out. Not enough differences in my opinion say over Scott's CleanROM which is pretty good other than prebuilt Zen!

Correct! [emoji106] [emoji108] [emoji109]
[Nexus 6  Original Android Development] michmeister:
Where do you live in a cave lol. J/k
[Nexus 6  Original Android Development] bbedward:
Hey nobody has told me Zen is worse than default experience. This is how I know I'm successful :fingers-crossed:

I can smoothly scroll large Web pages at, 3 cpu scores, 1.7ghz max. Not something you will do on a stock kernel.
[Nexus 6  Original Android Development] bob2300nx:
Anyone noticed their volume buttons change the ringer volume even when the screen is off? This is using the latest zen kernel and stock rom
[Nexus 6  Original Android Development] resynx:
Doesn't happen to me on zen12 and CleanROM.
[Nexus 6  Original Android Development] nitronet:
Yes, on stock and volume does change with screen off. Not sure I like that.
[Nexus 6  Original Android Development] resynx:
I've been having instances where it'll take me pressing the power button like 6 or 7 times before my phone wakes up. I believe this started happening on zen12 for me, has anyone else experienced this? On CleanROM btw.
[Nexus 6  Original Android Development] bbedward:
This may be related to a regression [MENTION=647113]hellsgod[/MENTION] pointed out. Can't say for sure, though I haven't noticed any issues personally.
[Nexus 6  Original Android Development] iStayHigh:
Phone froze and rebooted on zen12

https://docs.google.com/file/d/0By4s0BF50I2PVzNNalZhLWZDZVE/edit?usp=docslist_api

Zen'd N6
[Nexus 6  Original Android Development] hellsgod:
I've reverted all my other sched stuff and drain is back to normal on my device. So I think it was more a conflict with other patches I had. Haven't noticed anything else, but I will let you know if I do :)

hells
[Nexus 6  Original Android Development] bbedward:
I am currently testing some very good stuff for zen13.

http://cchalpha.blogspot.com/2014/08/variable-run-queue-lockingvrql-for-bfs.html?m=1

I brought in the newest vrq stuff (not the above version of the patch), along with reworked sticky tasks among other things.

The main thing it adds is ability to lock per CPU instead of only locking the entire global queue. Which isn't alone that big, but some of the refactories it allows is quite nice. Such as contention free idle scheduling, and many other places that can now enter without a lock.

So overall it should bring better speed, better idling. There's still one bug to work out from the merge but it's just a warning I've been getting.
[Nexus 6  Original Android Development] mimsiroll:
OP is this some kind of witchery? You no magic?
[Nexus 6  Original Android Development] bbedward:
What I'm testing now should make a significant impact to idle time, as performance even more.

Even with the couple of bugs flooding the logs I've seen just over 9% faster multi threading CPU performance over stock, the type of increase you'd expect with performance governor and over clocking, but I've done neither
[Nexus 6  Original Android Development] hellsgod:
Looking forward to give this commits a go when you're done :)

hells
[Nexus 6  Original Android Development] nitronet:
Just had a big time crash and reboot on zen12. :(
[Nexus 6  Original Android Development] DutchDogg54:
Logs? Details? Anything?
[Nexus 6  Original Android Development] Mistertac:
Grab those PStore logs if you can. If you haven't rebooted since, I believe they are still there.
[Nexus 6  Original Android Development] Mauijpm:
Just had a random reboot. Here is a link to the logs https://www.dropbox.com/sh/lynytypad5cw13u/AABndNyNgpSk0rFP3Z1jRgUja?dl=0

Let me know if you need anything else. Thanks for the awesome kernel! [emoji108] [emoji106]
[Nexus 6  Original Android Development] bbedward:
It's hard to tell what caused the crash, the kernel doesn't have any explicit panic or oops but there's some interesting warnings and information about i2c timeouts that could be related before the crash.

I need the logs from /sys/fs/pstore if possible, the ones you gave are from the currently running kernel.

-----

I know the old long standing users who have had reboots have long since been running without issue, and I've had uptime of 48 hours+ with the newest builds. The 5.1 kernel does inherently suffer from some issues though, as do 5.1 ROMs with memory leaks and such.
[Nexus 6  Original Android Development] pantmunu:
Been on the latest zen 12 since the release and no reboots here. Although was having that phn not waking up issue once or twice ..other than that no problems on my side.

Anyone with issues or reboots . try clean flashing everything. I know its a pita bit sometimes it resolves a lot of issues.

In all seriousness this kernel has been the best for as I prefer stock with minimal tweaks . bfs has blown my mind and [MENTION=2632235]bbedward[/MENTION] has made it more awesome. Currently I'm testing vindicator since its based in this kernel and I can already feel the magic.

Once again, hats off to you Sir. Awesome job.
[Nexus 6  Original Android Development] bbedward:
Thanks :)

Vindicator is a good option for anybody who wants to squeeze the most with the newest, edgiest stuff. The VRQ for BFS is a bit too edgy for now, but hopefully when Alfred Chen gets around to finishing the newest round of patches we can merge it in.

But certainly the effect given by BFS is not placebo, I initially only wanted to try it as a feeler because I haven't seen anything about it on android in a few years, and ck hardly has time for upstream let alone maintaining an android version. The results have certainly impressed me - everybody else is pulling in different load balancing improvements and even entirely new power saving load balancing algorithms. All stuff we don't even have to worry about with BFS because shared run queue is balanced by design and tasks stick to CPUs as often as they can avoiding any issues with scaling multiple cores when a transition occurs to a different CPUs run queue on CFS. While BFS doesn't make any decisions based on a power aware driver, it sort of works really well with all existing cpufreq and cpuidle just by the design.

There's some things from upstream I'm still looking into though for more improvement.
[Nexus 6  Original Android Development] otisman:
Looks like a few now despair has bfs scheduler too now unreal [MENTION=2632235]bbedward[/MENTION] much alohas
[Nexus 6  Original Android Development] alobear:
is there anyway that I can turn down the vibration? seems to be really strong on my end.