yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] bbedward:
This is something you certainly don't want to disable. I'm not familiar with all the safety features of the nexus 6 (I know msm-thermal has a threshold it sets). I assume if it reaches a temperature threshold even higher than the thermal driver is setting there is probably some sort of hardware shutdown/protection - but I haven't seen anybody finding out about the hardware protection likely because the software protection has worked :laugh:

But you definitely want to be extremely careful in messing with these temperature thresholds (I say don't do it at all). There probably is some sort of hardware/bios protection but if it fails thermal runaway in a lithium-ion battery can be incredibly dangerous.

Regardless of the thermal-runaway risk you can almost guarantee extreme heat will will degrade the battery's life span and it's ability to hold a charge.
[Nexus 6  Original Android Development] Paddybecks87:
[MENTION=2632235]bbedward[/MENTION],

that is very informative, thanks again. No, I'll not mess with the safety measures concerning the charging process; I'll just let it happily fluctuate then :) Could you check my last post again? I've added something concerning a max. frequency drop when taking photos (I swear I won't bother you anymore for today).
[Nexus 6  Original Android Development] bbedward:
I don't know anything about that. I don't see such behavior, nor should you see thermal-related throttling very often (most people probably only see the battery related throttling).

Nothing in the kernel is changing this max frequency different from stock, so some of this goofy behavior may be caused by an app you have installed, or a faulty thermal config file. I can't say for sure.
[Nexus 6  Original Android Development] lainemac:
Just had a random reboot with 10. Was watching a YouTube video and it just froze and then reboot a few seconds later.
[Nexus 6  Original Android Development] bbedward:
can you dump the contents of /sys/fs/pstore/

The changes from 9 -> 10 aren't very huge.
[Nexus 6  Original Android Development] lainemac:
https://www.dropbox.com/s/x3q4scoanmumilp/dmesg-ramoops-0?dl=0

https://www.dropbox.com/s/hg5ju8cbgwi0oy1/console-ramoops-0?dl=0
[Nexus 6  Original Android Development] bbedward:
I suspect this is a racey bug also present on the stock kernel, potentially amplified by BFS.

https://git.kernel.org/cgit/linux/k...c?id=46c298cf69d0e9a27d33ff992a81bd7b441c7933

I can do a little more research, and merge the above patch to see if it squashes that.
[Nexus 6  Original Android Development] benrees21:
I've just tried Viper but it is more about tuning the EQ etc where as fauxsound makes things louder (a lot louder if you want) and considering I'm half deaf as it is, it makes such a difference for me! You could use both viper and fauxsound together and it would be awesome. I don't know if it is easy to implement though?
[Nexus 6  Original Android Development] bbedward:
https://www.dropbox.com/s/hco3vuxz2uiq9pt/zen10_test.img?dl=0

Try the above test image. It merges a relevant patchset that fixes some potential race conditions related to the mmu (related to the trace you provided).

(You can see the pachset merged here: https://github.com/bbedward/ZenKernel_Shamu/commits/misc_crap )
[Nexus 6  Original Android Development] resynx:
Wow z10 really stepped up in smoothness imo! This release feels much more fluid than the last, amazing work :)
[Nexus 6  Original Android Development] purian23:
Same feeling! Thank you for your support!
[Nexus 6  Original Android Development] VECTUS:
Ditto!!
[Nexus 6  Original Android Development] info[]box1:
bbedward should we consider the rest image the release based one the finding of lainemac ? I ready to flash and I do use YouTube allot.
[Nexus 6  Original Android Development] bbedward:
The bug isn't specifically related to YouTube (or new in zen10 for that matter) , and it comes up very rare and most people haven't even seemed to be affected.

But the patches merged seemed completely stable, and will likely be in zen11 so you should be good to flash the test build.
[Nexus 6  Original Android Development] mimsiroll:
I Just flashed zen10 and waited to boot up.. Took 30mins and still no go, flashed again and wiped cache and dalvik and still a no-go..

I Reflashed rom the rom and the kernel.img and it worked.

I hope im the only one who faced that issue booting.

But it's more fluid and fast compared to zen9 and with chroma its superb!
[Nexus 6  Original Android Development] bbedward:
Idk about that one, I've flashed dozens and dozens of these images since zen1 and haven't had any problem :laugh:
[Nexus 6  Original Android Development] mimsiroll:
Same op, though it's the first time it happened..and i don't have any layers theme that will conflict the booting process.
[Nexus 6  Original Android Development] bbedward:
zen11 test build:

https://www.dropbox.com/s/1tfup07c3nzo0po/zen11_test.img?dl=0

This one adds priodl locking from alfred chen, which may have caused race conditions previously in BFS.

It also un-comments out previously deemed safe to comment out variables in the core __schedule function. It seemed a little suspect to me that these were commented out, as they aren't upstream.

These may be significant bug fixes.
[Nexus 6  Original Android Development] mimsiroll:
Woohoo another update..it seems endless op, even though this kernel is at its best..why not make the first page a stable and not a testing stage? That would be awesome..can i request for the new quote message?
[Nexus 6  Original Android Development] bbedward:
I was up pretty much all night studying for this exam and poking through chens newest bfs - gc noticed these bugs which are potentially major. So thought I'd merge and build it up.
[Nexus 6  Original Android Development] mystifiyer:
I think I saw a mention that a tool is in development but not yet released so meanwhile, is there a recommended tool to tweak the settings beside Trickster (I have some qualms using it even though I paid for it)?

Anyone has problem using Kernel Adiutor for the time being yet?
[Nexus 6  Original Android Development] bbedward:
This is something I think everybody will give you a different answer on. It really all boils down to preference. Lots of people like kernel auditor, and it's free.
[Nexus 6  Original Android Development] mystifiyer:
Understood your point. Just that usually developers will recommend which ones are compatible with their specific setup. Like fauxclock, fkupdater, synapse etc. Anyway, no biggie. I can figure out on my own just fine for this.

Thanks for the reply.
[Nexus 6  Original Android Development] Damon13:
Any chance that you will allow for some wakelocks to be disable? I find your kernel to be smooth. Thanks in advanced.
[Nexus 6  Original Android Development] DutchDogg54:
Below is the dev's response to your question from 2 days ago. Please search before posting questions in a development thread. I, too, would love to have some wakelock killing abilities but, honestly, with how great this kernel runs, I'm MORE than willing to make that trade-off.
[Nexus 6  Original Android Development] bbedward:
I don't use any of them so I cannot adequately recommend one. All I can say is there shouldn't be any compatibility issues with Zen and any of these apps.

Whichever one you like best, send a feature request to the developer to see if they will add rr_interval tuning support (BFS specific) . I know flar2 has added this already.

Perhaps some of the other Zen users will have some recommendations.

It's fairly unobtrusive to add such a feature, the biggest concern is self inflicted false bug reporting. I don't want somebody to disable all these wake locks and say something like "my emails don't come in consistently ", "Bluetooth is broken", etc.
[Nexus 6  Original Android Development] Damon13:
Yea my mistake, I agree with you 100% this kernel is worth it.
[Nexus 6  Original Android Development] info[]box1:
Overstood...!!!

I'm running with the test Zen11 img right now. Will report back any cons. If there any ;) nothing less.

Edit : I've been running Zen10 test all day it's superb. .
[Nexus 6  Original Android Development] omvir:
Hi there! Are the default settings, the recommended settings?
[Nexus 6  Original Android Development] Circaflex:
yup
[Nexus 6  Original Android Development] purian23:
Yes, unless there's something more you would usually tweak, the default settings are pretty optimal. I don't feel the need to adjust mine at all.

If you over clock or something then maybe there might be some adjustments but I don't do that either ')
[Nexus 6  Original Android Development] Simer03:
That's funny, I'm actually watching Interstellar right now...very good movie!
[Nexus 6  Original Android Development] iStayHigh:
Flashed that test build zen 11 this morning and just got my first hiccup, I was in recent clearing out those apps when it froze and rebooted, other than that its running smoothly

Zen'd N6
[Nexus 6  Original Android Development] purian23:
LOL that's actually where the quote on this one came from. I had just watched that movie myself :P

Thank you for reporting, I haven't encountered any issues as of yet on Zen11-Test build or Zen10 post build even. I have been building my own Rom and jumping around a bit for a delayed Zen11 test phase though.

If you could post your logs from /sys/fs/pstore/ we can have [MENTION=2632235]bbedward[/MENTION] took at look!

Thank you,

Purian
[Nexus 6  Original Android Development] rebretz000:
I have not had any issues at all since build 6.

Running just stock or stock based roms.

Great battery life yesterday and today with Z10 and Z11
[Nexus 6  Original Android Development] iStayHigh:
This is what I found in that folder

Zen'd N6
[Nexus 6  Original Android Development] purian23:
Awesome, I'm glad to hear! Those two builds have definitely shined!!

Perfect! If you could pull out those 3 files, zip them up and upload or link them that would be awesome :)
[Nexus 6  Original Android Development] info[]box1:
Running Zen11 test build. No issues dusk far, all is fine here. Running Vomer's CleanCore LMY47i build. OP and support team keep up the superior work. I sold on Zen kernel will be my go to as a daily kernel driver. Rock on! Working with default settings no adjustments.
[Nexus 6  Original Android Development] oak:
Zen 11 test build is great. Thanks
[Nexus 6  Original Android Development] bbedward:
Phil is finishing up zen11 for me, it's in good hands.
[Nexus 6  Original Android Development] jiv101:
Just got done eating chipotle I see
[Nexus 6  Original Android Development] rebretz000:
Nice cat.

Here's mine. Nermal in front of his fire and Sparky on his blanket.

Sent from my Moto Nexus 6
[Nexus 6  Original Android Development] purian23:
LOL Awesome!
[Nexus 6  Original Android Development] Damon13:
After Zen 11 test, I am believer! This kernel is smooth and fast and despite some wakelocks battery life is pretty darn good.
[Nexus 6  Original Android Development] bbedward:
This is 100% identical to the zen11_test build (blame Phil I left him an hour to work on it and found the same exact thing - so it must have been good enough) . So if you are already on that - no need to update.

I just don't want to leave hanging bugs so publishing it as a release.

3.10-zen11 "Too Fast, Too Furious"

Changes:

Fix a bug in modem that I created

BFS: Add grq lock for priodl (alfred chen -gc)

BFS: Fix a potential bug but probably not in __schedule

Proc/MMU: Merged a bug fix and cleanup patchset.

3.10-zen11 Recovery Zip Download

3.10-zen11 boot.img (install via fastboot/twrp IMG) Download
[Nexus 6  Original Android Development] resynx:
If it is good enough for Phil then it is good enough for me!
[Nexus 6  Original Android Development] crisvillani:
Great kernel good sir.
[Nexus 6  Original Android Development] jiv101:
I'm waiting for this rom you mentioned!! I hope you release it for us
[Nexus 6  Original Android Development] bbedward:
LOL this is something you need to talk to [MENTION=1481114]purian23[/MENTION] about.

I'm personally incredibly busy for the next month working with my senior design project and impending graduation and suffered a tragically heart breaking weekend at the wrong time . My goal with Zen was to make real improvements to the interactivity deficiencies of the stock experience (on the N6 and I presume other devices) . And I think people have seen that where you see things like "it's impossible to clear all recent apps without a lag" or "it's impossible to not lag when swiping to Google now from GEL" or any number of interactivity problems you could mention. How do you fix these, is there magic ways to optimize aosp code or a magic compiler or dozens of miscellaneous kernel optimizations that may ultimately minimize these issues. I think Zen has proven that these things can be resolved and I think some people have taken notice and that makes me happy :)

Anyway all I am doing here is for the community and nothing more. I love to see roms and kernels adopt Zen or bfs or other improvements. I have an incredible system control app with an ingenious backend that allows for even somebody without knowledge of programming to add new things that will be open sourced and released free of charge (when it's ready). And yes I am rambling because it's national beer day :laugh:
[Nexus 6  Original Android Development] purian23:
Yeah this ZenROM project stuff is on me :) I'm doing it merely more so out of curiosity and to have it set up the way I'd like on boot. I'm pretty disappointed from AOSP at the moment since I did a pure source build from Google yesterday and it had issues upon boot up in some areas of the ROM and using certain apps. I'm not sure how Google has managed that, but it seems like it's the reason there's always something that needs fixed for AOSP Based Roms.

I'm also more convinced now that this is the reason we're seeing more Stock Based Roms, slightly modified for a solid base, which is where I might be leaning towards myself. Not to mention the lack of GApps since the PA Dev has retired, using a Stock Based ROM eliminates this issue so you can build GApps in your rom. I know there are many replacements, but the usage and results vary. In ending here, I don't use the 100's of options/features that many ROMs offer. I'm actually quite satisfied with the Stock experience, and that's where I'd have my ROM too, just a little less bloated with a few features.

Anyhow, now my rant is over :)

Okay okay, not a bad rant, I'll let it slide since you included National Beer Day lol...

Yet Another Great Release!

Purian
[Nexus 6  Original Android Development] rebretz000:
Would love to see a stock based Zen ROM.

I gave up AOSP builds and have been sticking with Stock for about 2 months.
[Nexus 6  Original Android Development] VECTUS:
Purian I didn't realize you were doing a Zen type ROM or I would have renamed NexZen to something else. Hope I didn't step on your toes because it was unintentional... If you need help btw don't hesitate to ask... :good:
[Nexus 6  Original Android Development] purian23:
No not at all dude you're 100% okay! You're ROM is very nice and in no way did that even cross mine or bbedwards mind! The more options we see the better in my opinion! You have a Great ROM and foundation there with the direction you're going and I know many users are looking forward to its progress!

I'm toying around the thought of what I want to do and multiple options. At this point it's more to make me feel all warm and fuzzy inside to have my personal ZenROM powered by ZenKernel than anything, and then maybe release it at some future date :)
[Nexus 6  Original Android Development] rebretz000:
Going to have to give Nex Zen a whirl.

Been looking at it over.

I just lost the flashing feeling........
[Nexus 6  Original Android Development] purian23:
His ROM runs very nicely! I even think the NexZen ROM name was Kick*** :)
[Nexus 6  Original Android Development] rebretz000:
Downloading now.

Sent from my Moto Nexus 6
[Nexus 6  Original Android Development] henrybravo:
Just FYI, had a crash/reboot on zen11 & latest Benzo ROM. It occurred immediately after waking the phone via dt2w. The phone was charging and I was listening to a podcast via bluetooth. I'm not implying it's the kernel's fault necessarily, just wanted to supply you some info.

console-ramoops file:

https://dl.dropboxusercontent.com/u/26737972/console-ramoops
[Nexus 6  Original Android Development] bbedward:
This is actually from TWRP, not zen itself. Potentially the reboot was related to an app?
[Nexus 6  Original Android Development] henrybravo:
Oh I see, ok then. Sorry for the false alarm. I'm not running any new apps that I haven't been using forever but I will keep that in mind. Thank you.

edit: I see a lot of various kernel, memory, CPU speed, etc. type of stuff inside the file, so I'm surprised to hear that it's a TWRP log, but I'm no expert.
[Nexus 6  Original Android Development] bbedward:
It has recently come to my attention a particular kernel thread was closed here on XDA. This kernel used another member's kernel as a base, but added some features for a particular purpose that the original did not offer. All credit was sufficiently given - and this particular kernel is being rebased on top of Zen which I, of course, have absolutely no problems with.

Anyway, for reference here is XDA Rule 12 as of 4/8/2015.

--------

While XDA could remove a thread that somebody complains about - they're a private organization. This particular kernel-derivative was violating no rules under the linux-included GPL. He made a change that the original did not have. And posted it and gave appropriate credit to the base he forked from. XDA should be ashamed they closed down such a project.

The linux kernel is 100%-GPL (A copyleft license). Anything included must be compatible with GPL. Likewise any driver that is using linux kernel headers must be compatible with GPL. This is why you see proprietary drivers (like NVIDIA on linux) use a wrapper that builds GPL components and links it to pre-built binary non-GPL components. The GPL license included with the linux kernel includes a clause that excludes userspace applications from this requirement. Likewise, things like libc are Limited-GPL (LGPL) - which means you can include the headers and such in your own code and your code does not have to be GPL or anything like that.

My argument is, XDA should not allow or condone exclusivity on a linux-kernel tree - which is 100%-GPL licensed. Which is essentially exactly what happened in this particular case I am referring to.

A good example of this is Vindicator kernel. He sync's up with leanKernel and is based on imoseyon's tree but makes other changes as he and his users prefer. He gives leanKernel credit in his thread and that's it. No issues - which is how it should be.

---

I encourage you all to speak out about such matters. XDA is wrong in this particular case and I want to fix such cases from ever happening in the future for the well-being of the community.

The XDA member who had his project thread closed down reached out to me, and I reached out to the developer who apparently openly admits he does not allow forking of any original drivers or work - which IS in direct violation of the GPL

I feel very strongly about preserving free-software and bringing more free software options to XDA. This is just something I believe in and I will happily speak out about when I see something being done wrong.
[Nexus 6  Original Android Development] bbedward:
If you look on line 4 of the file it has the kernel identifier.

Linux version 3.10.40-g62459d7 (dees_troy@XPS12-Ubuntu) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Mar 26 00:18:42 CDT 2015

This is the string of the kernel that dees_troy has built for whichever TWRP version you are using. A zen kernel line would identify as zen with something like this.

Linux version 3.10-zen11 (brandon@zen) .....
[Nexus 6  Original Android Development] henrybravo:
Thanks for the explanation. I wasn't doubting you or anything, but I'm glad you explained it.

Now go back to your kernel / XDA drama. ;)
[Nexus 6  Original Android Development] bbedward:
Don't get me wrong I can't rule out a kernel issue :p , but that particular file doesn't indicate a kernel issue (with zen at least)

But yes, this issue has not made me happy :P
[Nexus 6  Original Android Development] nflwideout86:
Hi, i was wondering what you think about adding into your kernel directional sweep to wake?

Example, with hydra i could choose to sweep up or left or right to wake.

With zen i can only choose the default right sweep to wake. I find sweeping up to wake a little easier and more convenient. Just a suggestion

Thanks for making such a butter y smooth kernel btw
[Nexus 6  Original Android Development] bbedward:
It does have support for sweep any direction wake from flar2 (sweep right/left/up/down or any combination of those 4. Maybe hydra has a different implementation than flar2?
[Nexus 6  Original Android Development] pantmunu:
If u use flar2's app u can see all direction for swipe to wake. :)
[Nexus 6  Original Android Development] nflwideout86:
ah that would explain it, i'm using synapse to manage zen. The app you mention would be this one correct?

https://play.google.com/store/apps/developer?id=flar2

Thanks!
[Nexus 6  Original Android Development] jaythenut:
Ok cool :D
[Nexus 6  Original Android Development] tatoniss:
Does this kernel lower clock speed once you hit 40% battery like stock?
[Nexus 6  Original Android Development] bbedward:
Yes
[Nexus 6  Original Android Development] pantmunu:
Benzo is actually based on aosp right now with the theme engine and some other addition from cm.
[Nexus 6  Original Android Development] Circaflex:
even though it is AOSP based, there have been changes to the ramdisk to work with theme engine, I wish I had the commits handy but I know they were linked in the lean kernel thread.

Glad to see Zen here :)
[Nexus 6  Original Android Development] bbedward:
I will find them and add them to zen2. I have some other stuff I am tracking down that I might get solved by tomorrow.
[Nexus 6  Original Android Development] Circaflex:
great news! I remember using Zen on my evo4g, man I loved that phone.
[Nexus 6  Original Android Development] bbedward:
The good old days ?

Amazing how far we've come since then. Too bad I haven't been able to keep up with the other guys but I've just been so incredibly busy. In may I will finally graduate with my computer science + computer engineering degree ?
[Nexus 6  Original Android Development] Circaflex:
Congrats man, that is awesome! Two very difficult degrees, and you graduated with both that is very impressive. Thanks again for the kernel.
[Nexus 6  Original Android Development] tatoniss:
Is there any way we can disable this? I'm not a fan of it lowering **** speed like that. Especially since there is the battery saver mode.
[Nexus 6  Original Android Development] bbedward:
I can look into it. If it is in the kernel then it will be no problem to add a switch to prevent it, if it is in the userspace the issue may be a bit more complicated though.
[Nexus 6  Original Android Development] tatoniss:
Thank you so much for giving it a look!
[Nexus 6  Original Android Development] bbedward:
3.10-zen2

"Where is the Love?"

- Synced up ramdisk stuff from imoseyon to add rom-compatibility (CM and others)

- Fixed kernel oops' caused by my compiler
[Nexus 6  Original Android Development] pantmunu:
This kernel is sexy. That's all.
[Nexus 6  Original Android Development] Doogie1:
First, I want to say thank you for this Kernel.. Very smooth. Just wanted to ask if there is a vibration control option? If not, is it something you'd be willing to incorporate? Thanks again for your work.
[Nexus 6  Original Android Development] bbedward:
Yep, looks like something I missed. You can control vibration for wake gestures just not in general. I will add it into zen3
[Nexus 6  Original Android Development] Doogie1:
Win! Thank you.
[Nexus 6  Original Android Development] tatoniss:
[MENTION=2632235]bbedward[/MENTION] Wow thank so much for the quick response. Not only did you figure out my problem but you explained it so I can understand what's going on. I really appreciate this and I am really enjoying the kernel.