yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] jcrompton:
Sorry guys ... you may have misunderstood the purpose of my original post .... I wasn't really looking for a solution and for sure not complaining. I was only pointing the lack of functionality out for this kernel with HBM (the main reason is that several of the AOSP N ROMs seem to have the HBM "built in" to the native Quick Settings as a tile ... thus flashing this kernel would make that tiel become function-less on a number of current N ROMs.

For me personally the KA-mod widget would be great but the main solution for personal needs would be to find out about the tasker intents for KA-mod .... but that still wouldn't solve the loss of the native HBM tile built into the AOSP ROMs ... for those less inclines to the technical side of things.

And not to return a sharp two cents with my own two cents ... I wasn't looking for anybody's .02 ... I was just reporting something to the developer of the kernel.

[MENTION=4392154]apophis9283[/MENTION] I will be happy to help if there are more questions or specific things you want me to try. I wonder if the HBM mode functionality of KA-mod can exist side by side with the flar2 HBM ??
[Nexus 6 Android Development] apophis9283:
That I dont know. but I sure as hell plan to find out
[Nexus 6 Android Development] apophis9283:
About the governor stuff. Ive asked Yoinx and neobuddy89 they both came to the same 2 causes.

Gov freq selection logic differs from gov to gov.

So if a gov select freq based on cpu load, you need to check why load is high.

If gov select freq based on i/o sched task avg, you need to rectify sched parts.

I believe the issue lies in the sched part so thats where Ill focus my efforts
[Nexus 6 Android Development] apophis9283:
About HBM not working for your toggle, I think it may come down to this commit.

https://github.com/APOPHIS9283/Singularity/commit/3612f86ae07602fbceab8240fa8e9232918e399c

The way t is allows people to use HBM in live display.

If I revert, there may be a chance it fixes your toggle. Ill have to get you a test build. Im mainly concentrated on the governor issue.
[Nexus 6 Android Development] :
Noticed the simple GPU algorithm was removed in new build, I've never used the adreno idler...does it work better for gpu?? I've just never used it
[Nexus 6 Android Development] :
That explains why the CPU governor went rowdy. And thanks for looking into this issue, I'd appreciate your efforts.
[Nexus 6 Android Development] apophis9283:
Yeah. I didnt see a reason to keep it. Most of the optimizations you see are for adreno idler. In fact other than the intial commit for simple gpu algorithm its never been touched
[Nexus 6 Android Development] apophis9283:
Theres a huge problem ATM. I reverted my M kernel way way way back to BETA 2 where I know it worked. And guess what. Same issue.
[Nexus 6 Android Development] :
Apparently, this governor behaves just fine, no more overshooting beyond the set highest frequency (1.2 GHz in this case). I guess it will do for now. I also turned all four CPU cores back on via AutoSMP hotplug setting - no more of that funny behaviors on Kraken governor.
[Nexus 6 Android Development] apophis9283:
Heres where I am at. I have no F'N clue why 3 out of all the governors I have go bonkers. 2nd. I can make jrcomptons toggle work but it will break HBM in livedisplay. Sorry folks thats just the way it is.
[Nexus 6 Android Development] :
I see. Thanks for trying. I guess it's up to you, as it's your kernel to start with.
[Nexus 6 Android Development] apophis9283:
[MENTION=230362]jcrompton[/MENTION]

Try this.

https://drive.google.com/file/d/0Byl7OrnLCz6JdXlaSkRZTWNDOGs/view?usp=sharing
[Nexus 6 Android Development] apophis9283:
For now. I will be commenting out lightning governor until I find a solution
[Nexus 6 Android Development] kamilmirza:
its my first time using Singularity

and i'm blown away by its performance

maybe its the maple scheduler

kudos to [MENTION=4392154]apophis9283[/MENTION] :good:
[Nexus 6 Android Development] jcrompton:
Thanks

Yep

Works like a charm

Screenshot so you see the flar2 based quick time which is a native part of at least two different AOSP N ROMs.

Thank you
[Nexus 6 Android Development] :
That's interesting to me that they works make a tile that sends an intent to another app, so that the app can edit a sysfs path... Rather than just editing it directly.
[Nexus 6 Android Development] apophis9283:
Im glad. Told you I would track it down. (Honestly I pretty much knew what it was.)
[Nexus 6 Android Development] jcrompton:
Yeah I'm not sure why they did it that way

I just made my tasker tasks to have both flar2 hbm and KA-mod hbm intents, just in case

Is there a difference in the two?
[Nexus 6 Android Development] :
Not that I'm aware of. They just write a sysfs node to turn it on or off.

Ka-mod though does have a service to toggle it automatically at a configurable light level.
[Nexus 6 Android Development] apophis9283:
Who wants simple gpu algorithm back in the next build?

Need a yes or no..
[Nexus 6 Android Development] CyberpodS2:
Never used it
[Nexus 6 Android Development] :
I have always used it in all kernels I flashed, but if you feel its outdated or not as useful as idler, then by all means keep it out.
[Nexus 6 Android Development] apophis9283:
I was trying to clean up a bit of code, but the code involving that feature has a very small footprint. Most likely Ill bring it back
[Nexus 6 Android Development] johnb380:
Hey just had a random reboot I'm not sure what the problem is I wasn't doing anything but going from app to app reading stuff.

Here is everything I flashed clean

Small note as this has ran fine for 3 days alone before I flashed this kernel so I'm almost sure it's the kernel I've had 2 RRs just didn't get logs from the first one.

Here is the the 3 files from sys/fs/pstore:

https://www.dropbox.com/s/st212laytac83gm/ErrorsFromSysFsPstore.zip?dl=0

Thank you for such a great kernel I just don't know why I always get reboots with this. Also I left most settings as default except I changed the touch boost to 500ms and only use 1497 on cores 0 and 2 for touch boost and 960 for cores 1 and 3 for touch boost. The rest is default settings.
[Nexus 6 Android Development] apophis9283:
You use 1497 as max? If so try bumping that up

Also can you use KA MOD to pull logs? Ill look at them first thing in the morning
[Nexus 6 Android Development] :
I don't really use Simple GPU governor. But if you want to keep it, that would be fine.

EDITED: It makes sense. You can remove Simple GPU governor.
[Nexus 6 Android Development] johnb380:
No max is default 2.7 GHz you set touch boost max is 1497.

Here's last kmsg as I'm now on another kernel I can't give dmsg

https://www.dropbox.com/s/l23ot9ba8hf85ow/last_kmsg.txt?dl=0
[Nexus 6 Android Development] Bundizle:
Theme?
[Nexus 6 Android Development] apophis9283:
Is selinux enabled?
[Nexus 6 Android Development] str8str:
IRQ?

Sect From Me, Is That You?
[Nexus 6 Android Development] johnb380:
I have it set to Permissive with an su.d script ran at boot.

---------- Post added at 03:17 AM ---------- Previous post was at 03:08 AM ----------

Using Deity SS theme ...

Colors in the Screenshots and status bar choice

And N navbar SS theme...

Circle
[Nexus 6 Android Development] str8str:
Are your reboots going to boot animation or to google logo?

Straight Shooter
[Nexus 6 Android Development] MrSplaat:
Just had a reboot while the phone was idling, laying on my desk. Lastest build.
[Nexus 6 Android Development] johnb380:
All the way to google logo.
[Nexus 6 Android Development] apophis9283:
Whatever is causing your reboot seems to be the same as john
[Nexus 6 Android Development] MrSplaat:
If it's to any help, this didn't happen on v3.1.
[Nexus 6 Android Development] apophis9283:
Please dont go flashingthese if you arent having issues.

M KERNEL = https://drive.google.com/file/d/0Byl7OrnLCz6JTWRuX1VzRzZBZTg/view?usp=sharing

N KERNEL = https://drive.google.com/file/d/0Byl7OrnLCz6JUG1kMzhfVmVwREE/view?usp=sharing
[Nexus 6 Android Development] coremania:
All the custom nougat roms are pretty beta and most themes results in fc's here and there, so that's causing the reboots, deity for sure.
[Nexus 6 Android Development] apophis9283:
Was on the chat with ATT, trying to figure out her new smart watch which has a sim card. The lady from ATT told me the watch was attached to the watch. DAFUQ???????????
[Nexus 6 Android Development] johnb380:
Well since I ran for almost 4 whole days with the same theme and rom and the stock kernel on heavy usage without any reboots I'd say your assumption is completely wrong since I only flashed the kernel an hour before and started having reboots after. And I never had one fc ever.

That's why we post logs. You can see plain as day the problems have nothing to do with themes or the Rom. So maybe get educated before making unfounded assumptions you have no knowledge about!

Have a good day.

[MENTION=4392154]apophis9283[/MENTION]

Also I am flashing your test kernel right now! Will report back with any issues!
[Nexus 6 Android Development] apophis9283:
Everyone is just trying to help. Contribute. Thats what makes this kernel so awesome. everyone take a benzo and relax. In the end I take care of things (or try to).
[Nexus 6 Android Development] johnb380:
I understand helping but just making blanket statements especially when you really don't know only clouds the situation and makes it seem as though it can't be the kernels problem. So I just wanted to make sure I made it clear that I KNOW it isn't the theme or roms fault. Sorry if I came of a-holish as I get that a lot since I like to stay close to facts and never sugar coat things.

Just flashed the N test kernel. Set it up the closest I could to usual with the settings that are there. Will use and let you know what happens! Thanks for trying to address the issues as this IS the BEST kernel for our N6.
[Nexus 6 Android Development] apophis9283:
I don't take sides. instead of all that (which to me is XDA's biggest flaw) I just move on. In the end I do the development and I do my best to fix it. Been at this 5 years and I have seen some nasty stuff. Arguing, (DEVS) not paying attention to the users. I really hated the whole arguing because someone failed to use the search button. Me I dont care. Id rather just link them. It avoids an argument and allows me to keep the kernel on track with little garbage to have to get through. I appreciate ALL my users equally. Nothing will change that
[Nexus 6 Android Development] :
Not to mention Linux kernel is not trivial to change and coding because there are several tens thousands lines of code you may have to sift through if it behaves weirdly. And adding something to it or changing something inevitably introduces bugs.

Here's to hoping the test kernel don't behave funny as far as CPU governor is concerned.

EDITED: Looks like it's behaving. I will give it a few moment before it decide to wig out. Or not.
[Nexus 6 Android Development] apophis9283:
The issue was well before all that. Its like my white whale. I will get it. The test builds were to stop RR's

Im not ashamed to ask for help. But the other devs have lives too. I just have to be patient.

Main 2 goals at the moment. Stop RR's and figure out why certain governors tend to want to max out
[Nexus 6 Android Development] :
I agree. You do have other issues to deal with, which I understand. I am just eager to use Nougat version of your custom Linux kernel, as your Marshmallow kernel was so good I set my Nexus 6 up to last up to a week on a charge.
[Nexus 6 Android Development] apophis9283:
Both kernels are at linux kernel 3.10.103. Both N and M

Needless to say both N and M are exactly the same EXCEPT for all the N stuff N needs to work and boot.
[Nexus 6 Android Development] :
I know what you mean by boot manifests. I know they vary between operating system version - and they (Nexus) usually share the same kernel version for custom (and sometimes stock) kernel in the firmware.

---------- Post added at 01:32 PM ---------- Previous post was at 01:22 PM ----------

I guess I can wait. At least overshooting don't really occur often because I set AutoSMP to limit minimum active CPU cores down from two to one. It's manageable now at least, so I can now wait for governor fix which I know you can't promise (and I have seen the CPU driver in Linux kernel source code, it's certainly a lot of work to splice in additional governors and make sure it works, which I wouldn't blame you if it decides to wig out).
[Nexus 6 Android Development] apophis9283:
Kraken works fine, so does chill. Not all the governors are acting up
[Nexus 6 Android Development] :
It does chill, however, try loading down a bit, and the frequency governor starts to slip a bit, jumping around, occasionally hitting 2.7 GHz, do it have to do with boost governor? (Even though I disabled all boost governors so I can get better battery life, there may be some correlations.) I may have to let it run for an hour or two and then I will pull kernel log, if you want it.

EDITED: I used CPU-Z app to watch real-time CPU speed and activity.
[Nexus 6 Android Development] apophis9283:
Looks good here
[Nexus 6 Android Development] :
What app? I would like to grab it and record the CPU activity.

EDITED: Never mind, got it, it's in Kernel Adiutor Mod's Frequency table tab. It's weird. Maybe, maybe it's the particular ROM I am using that's messing with Kraken governor, despite being set to 1.2 GHz across four CPU cores.
[Nexus 6 Android Development] apophis9283:
KA-MOD. Its what I use to set my kernel settings.
[Nexus 6 Android Development] :
That's kind of what I get for not paying close attention - I found it.
[Nexus 6 Android Development] johnb380:
I've been running for 3 hrs on the test kernel and all has been well! I've done my usual usage and have found no lag or reboots yet!

Do u want me to pull dmsg?
[Nexus 6 Android Development] apophis9283:
If there hasnt been any issues then no
[Nexus 6 Android Development] johnb380:
Ok no actually it's running great! Just wondered if you wanted to check and make sure there wasn't any behind the scene things happening!

So is there a way to use this base but build back in the features you have included in the main branch of the kernels?

And can I ask what was the issue? I'm just wondering what was changed to make it not reboot anymore.

I'm gonna benchmark stress test it right now to make sure it's all good!
[Nexus 6 Android Development] apophis9283:
Without another DEVs help I can't get Jurassic Park back online....

Whoops what I meant to say is, without further insight from the help of another DEV I don't think Ill be able to track down the (certain) governor issue.
[Nexus 6 Android Development] apophis9283:
I know I said I would follow through til N. The one thing that always set this kernel apart was I wasnt afraid to add as many features as possible. With my own little tweaks. It seem with N there will probably be a lot of clones. I use that term loosely because it does not entirely describe whats going on. Any who, those kernels will get you through and I will keep this as a personal project for myself. Im sure some arent going to be happy but thats just how it is right now. Thank you for your undying support
[Nexus 6 Android Development] MrSplaat:
Are you giving up M as well? :(
[Nexus 6 Android Development] :
That's a bummer. Your kernel has some of better CPU hotplug governors like AutoSMP, while many others won't bother to include those in their Android Nougat kernels. I'd rather pick yours, honestly.
[Nexus 6 Android Development] TheGeekyNimrod:
You do what you have to do. Kernels take a lot of time and effort to maintain. I think that's one of the reasons I never decided to go down that path. Thanks for the great kernels, and hey, if you ever feel like letting a build slip, you know where we all are. :good:
[Nexus 6 Android Development] klabit87:
Will you allow your github/gitlab to be public as long as there are no public builds posted?

Things have been pretty busy for me.

Which is why I don't get to say much but I follow your work and this thread.
[Nexus 6 Android Development] atharwaqas:
So does this means we will be getting no more build of this kernel in future for N?
[Nexus 6 Android Development] Mystique:
github is 404 already..

So if there are going to be future builds.. As he said..

Private and personal..
[Nexus 6 Android Development] str8str:
Give our Dev a day or two he'll be back. That's straight from him

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Es tut mir leid.

I had a melt down and I apologize. Should have never came to that. Should have just taken my fingers off the keyboard. I already have some stuff ready for prime time. About certain governors acting funny, what I am going to do is create a list of governors that behave badly and those who work properly and compare how they take loads. As of right now I am pushing the code back to github but did it a bit dofferently as in having N and M, compared to me using apophis and N. Give me a bit to take care of this and ill have something for you all. Again I apologize for any inconvienience
[Nexus 6 Android Development] wrongway213:
Appreciate the honesty and pure humanity of this post :good:
[Nexus 6 Android Development] apophis9283:
I woke up pretty sick today. yesterday I was able to get 2 of my testers builds. Somewhere I broke Intelli Plug. Some governors are still wonky but I am on the case. Slowly tearing down certain directories where code may lie thats causing the issues.
[Nexus 6 Android Development] jcrompton:
Dude ..... We will be here when you get to feeling better

Just relax. Everyone here will be fine

Hope you feel better
[Nexus 6 Android Development] apophis9283:
Oh, it's gonna get interesting. I think my github is just FU****. The only source that isnt tainted is what Yoinx has in his github. Its Singularity but the last commit was March 8th. To get a working kernel at this point I am gonna have to fork what he has and then add stuff back slowly. its gonna take a ton of work but you guys deserve it. I have NO ETA. Im just trying to do right by you all.
[Nexus 6 Android Development] str8str:
We appreciate it as always

It's all about the journey not the destination...
[Nexus 6 Android Development] garywojdan81:
Well, sometimes it's about the destination.....????
[Nexus 6 Android Development] adio201:
Well I'm using resurrection remix rom and I did a clean install but I kept getting random reboots and bootloop at times but that was before you upload v14
[Nexus 6 Android Development] apophis9283:
I uploaded V-1.4.1. Try that out first
[Nexus 6 Android Development] peperonikiller:
what app is the best to manage the kernel? I use to use SetCPU wayyy back in the day... what's the best these days?
[Nexus 6 Android Development] apophis9283:
http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

Prepare for more options than youve ever seen.
[Nexus 6 Android Development] apophis9283:
Ok guys, Im honestly tired of looking at code..lol

Ill be around for another 30 minutes and then Im gone. So any issues you have, lets try to get them fixed fast. Hopefully 1.4.1 is working for everyone.

on a side note....

So Im sitting in my chair, playing Pokemon GO and sure as **** I walked into a wall. Should have been paying attention...... (exit sarcasm)
[Nexus 6 Android Development] apophis9283:
Ok, I am done for the day. I leave you with kernel V-1.4.2. You dont have to flash it if you dont want to.

Changes in V-1.4.2. I had a spelling error for ABYSSPLUGV2 governor, I fixed it and its an available governor. The second thing was I added Interactive back. I know someone had asked for it. That is the only 2 differences between V-1.4.1 and V-1.4.2. Enjoy

I have things going on this week. I wont be patrolling XDA. If you have an issue you would be better off sending me an email. steaven.android@gmail.com
[Nexus 6 Android Development] adio201:
http://cloud.tapatalk.com/s/578aa67702f04/Log_2016-07-16_14-25-35.txt

This log is with latest kernel version
[Nexus 6 Android Development] apophis9283:
Was it random reboot?

I see some rom stuff crashing and other than touchboost not working, all I see is xposed errors
[Nexus 6 Android Development] Mystique:
[MENTION=2192080]adio201[/MENTION]

KA-mod, settings, Debugging..

There are three or four options there..

Last Kernel Message..
[Nexus 6 Android Development] apophis9283:
Since not everyone is having random reboots. Actually out of say 100 downloads, I have had 3 report random reboots. On top of that I reverted almost everything back to V-1.1 where no one was having issues. So I really have to think that this is not kernel related. I would expect to see more people with the issue. And every build Ive made I have ran myself with stellar results.
[Nexus 6 Android Development] adio201:
Yeah I'm running xposed. Could that be the problem? Anyone else running xposed with rr rom
[Nexus 6 Android Development] harpin14789:
I am using also running RR rom (bro's build) with new systemless Xposed and haven't had any problems after flashing 1.4.x. Thanks for adding in interactive. :good:

.

If your having problems with Xposed. I recommend a clean then then backup your system, then flash Xposed and see if you have problems. If need to, you can restore to clean system without clean flashing if you are having problems.

That's how I troubleshoot Xposed problems.
[Nexus 6 Android Development] adio201:
Well I try clean install and with out xposed and same thing...maybe is the default kernel setup that my phone dose not like

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

Got a link for xposed you are running
[Nexus 6 Android Development] harpin14789:
Weird, I don't have any problems. If this kernel isn't working correctly, try deyus kernel and see if that works better, its based on singularity.

http://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268make sure you read all of the OP.
[Nexus 6 Android Development] str8str:
Are you seeing the Google splash screen when it reboots or just goes straight to boot animation?
[Nexus 6 Android Development] johnb380:
Well I just tried this kernel for the first time and I love it! Everything running great here. Im running latest weekly DU Rom, Banks gapps, Singularity Kernel Version 1.4.1 with no xposed. No reboots and my phone is running smoother and faster than brand new!

Thank you [MENTION=4392154]apophis9283[/MENTION] your work is much appreciated!
[Nexus 6 Android Development] adio201:
Only boot animation

---------- Post added at 03:40 PM ---------- Previous post was at 03:32 PM ----------

Got another reboot http://cloud.tapatalk.com/s/578ac5d572be0/Log_2016-07-16_16-39-33.txt
[Nexus 6 Android Development] apophis9283:
No problem, glad you like it
[Nexus 6 Android Development] str8str:
OK it's not kernel related it's theme related. Try a different one or get theme dev to take a look
[Nexus 6 Android Development] harpin14789:
Thanks you all your awesome work!! We will always support you. Take your time bringing the kernel back to prime time. It's going to be well worth the weight.
[Nexus 6 Android Development] CyberpodS2:
Silly question, can't decompile a recent version?
[Nexus 6 Android Development] str8str:
Not in this case. Picky picky

It's all about the journey not the destination...
[Nexus 6 Android Development] apophis9283:
I have it set up finally. Now I have to CP what I want/need from my old source into what I forked from Yoinx
[Nexus 6 Android Development] apophis9283:
So here is my game plan. I dont think this will take as long as I thought it would. Doing what I am doing I will get to leave a ton of junk commits out. The first thing i did was merge MR2 into the rebase. Now once I get done, Ill have to create an N branch and merge the latest N stuff. Now its not going to be quick, but I dont think its gonna take me nearly as long as I thought
[Nexus 6 Android Development] apophis9283:
Here is some good advice if any of you ever want to get in development.

Dont force push sh** to github. The code gets screwed and you lose commits making it that much harder to fix anything you have broken in the past.