yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] fedef12evo:
:good::good:

btw it is not only your kernel problem, it is problem of all kernels with overclock, using an hotplug and hotplug boost will ignore max freq and reboot device in all overclocked kernels not only yours,so it is not your fault, just put default settings to zen decision and all should be fine,then users that want to use hotplug just disable hotplug boost and use hotplug :good::good:
[Nexus 6 Android Development] apophis9283:
We need a log. So try and get one. You can also try this

https://www.androidfilehost.com/?fid=24269982086999415
[Nexus 6 Android Development] mexiken:
So....I got the new version to boot....

Unfortunately, it reboots about 10-20 seconds into being on. Doesn't stay on ?
[Nexus 6 Android Development] :
So maybe you could boot it with adb running, with the command

adb shell cat /proc/kmsg > dmesg.txt

This will take a running dmesg up until it reboots and put it in the directory that youre running adb from.
[Nexus 6 Android Development] apophis9283:
New rule. If you dont post a log. Then you dont get say anything about issues you are having. Sorry to come off like an a** this is just how it has to be
[Nexus 6 Android Development] mexiken:
I would love to but I'm working tonight and won't be able to post until 10 PM PST when I get in front of a PC.

---------- Post added at 03:06 PM ---------- Previous post was at 03:00 PM ----------

I understand. I don't have a computer that will do adb at work.

I would gladly pluck one from the terminal but I don't think it stays on long enough to get one.

Plus it would seem I'm having adb issues on my PC ?
[Nexus 6 Android Development] :
No worries. It'll make it alot easier for us to figure out with a log of what's actually going on. Otherwise, we're back to just randomly guessing again... which was fine (but difficult) for the failure to boot... but now people can get logs, so they should.

I'm good, but I'm not that good :p
[Nexus 6 Android Development] mexiken:
I'll try again just to make sure. I'll uninstall Kernel Adiutor just in case that is causing issues.

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

Well. Looks like that did it. I uninstalled KA and then flashed kernel. It booted right up. I'm typing from it now. Maybe some settings I had on there that set at boot were making the kernel throw up????

What did you guys change to make it boot for everyone????
[Nexus 6 Android Development] apophis9283:
We used McDonalds BBQ sauce
[Nexus 6 Android Development] :
Figures, it's always something.

Basically, the only people that it wasn't booting for originally were Speed 2 Bin 13 devices.

The first part of the problem was that there were some commits picked up that undervolted everything a little bit by default. This only causes issues the higher the bin level goes, as they can't get too far from stock voltages. This had fixed the issue for some people.

The next part of the issue was that we allow overclocking and underclocking. This is exposed to userspace for end-user tuning. Instead of allowing it to be a user configured parameter, it was forcing the min/max freqs to the farthest ends of the frequency table instead of using the stock values and allowing the user to tune them from userspace. Again, the higher bin devices can't handle overclocking very well... This was causing the phone to hang/reboot.

Basically, the static kernel should be back toward stock values for the freqs and voltages now and the user can tune them after boot.
[Nexus 6 Android Development] mexiken:
I prefer Sweet and Sour. No wonder my phone didn't like the kernel....?

---------- Post added at 03:50 PM ---------- Previous post was at 03:37 PM ----------

Thanks. Should I get my phone replaced???? Don't want to keep having these issues.
[Nexus 6 Android Development] apophis9283:
Ill be releasing version 2.6 at some point tonight with fixes
[Nexus 6 Android Development] apophis9283:
Version 2.6 is up in the OP. Let us know if you have any issues. Please include a log.
[Nexus 6 Android Development] mexiken:
So all seems great, I did mention that someone said settings wouldn't stick after a reboot. I've got the same issue.

After a reboot, limited to 960 MHz. I change it and it works, but when I reboot, back to 960MHz.

What kind of log would you need????

This is happening with all governors, using the mako hotplug.
[Nexus 6 Android Development] apophis9283:
This was second on our list. First we wanted to get everyone up and running. I think it may be synapse. Have to figure out why its not holding settings. Id have to talk with Yoinx first
[Nexus 6 Android Development] :
Dmesg.

Its a kernel, that's our primary log.

It Limiting to 960mhz and locking you there sounds like the thermal driver locking you in the max limit, which is set to 960mhz.
[Nexus 6 Android Development] apophis9283:
Ok everyone. I forked Synapse source and found some githubs that had improvements for Synapse. I am downloading all the tools i need to compile the app. Itll have a different key so you will have to uninstall the Synapse you have installed, then install this one. Theres no time frame atm. Playing bo3
[Nexus 6 Android Development] :
Just a bookmark post here.

When taking a kernel log. This is a command that you can copy and paste for maximum information.

su && echo 7 > /proc/sys/kernel/printk && dmesg > /sdcard/dmesg.txt

What this does is make dmesg show all printk log levels (requires a su terminal) and saves it to dmesg.txt on your sdcard. Since it's a single line, it's an easy copy and paste. This is (imo) , unequivocally, the best dmesg log you can provide.

Save this command, or bookmark this post. It will make life simple for you :)

This is with the phone terminal in mind. For adb, it will be a bit different. Basically reach commands would need adb shell, the last doesn't, but needs a relative path to your terminal. Hopefully that makes sense.
[Nexus 6 Android Development] apophis9283:
getting my a** kicked trying to compile this apk
[Nexus 6 Android Development] mexiken:
I don't think its Synapse chief, since I didn't know of its existence until about 5 seconds before I started writing this.

It probably is the thermal part thats holding me at 960 max. Minor annoyance I suppose.
[Nexus 6 Android Development] apophis9283:
Yoinx already know about that. Im trying to update synapse for other reasons, Im gonna have to get help
[Nexus 6 Android Development] apophis9283:
anyone have experience compiling an app?
[Nexus 6 Android Development] remicks:
Ah don't say that. [emoji14]

Game on.
[Nexus 6 Android Development] apophis9283:
Im still around, testing and merging stuff for bliss. Bliss will always be my first love, then my kernel
[Nexus 6 Android Development] apophis9283:
So far so good with the rebase. Just time consuming
[Nexus 6 Android Development] ztotherad:
can't wait to try it!
[Nexus 6 Android Development] buckmarble:
Look into a utility called smartgit. Depending on what you're doing, might save you some time.
[Nexus 6 Android Development] 875295391:
Can not wait to testing.LOL.！
[Nexus 6 Android Development] apophis9283:
Im working on it. Im having a really hard time
[Nexus 6 Android Development] engloa:
Thread closed at OPs request.
[Nexus 6 Android Development] Neo:
Thread reopened at OP's request.
[Nexus 6 Android Development] apophis9283:
Instead of rebasing I just fixed the kernel i was using. I will post a link, there will be no changelog until next time. Battery deal is fixed I attached a screen shot. I know it looks like bad battery but i had just flashed a rom build. Im also including an updated ukm that will show more options in synapse if you use it. I DO NOT know who the author is, but whoever it is, thank you, you rock. Sorry about the mini breakdown i had over rebasing. It got to me real bad lol

kernel zip = https://www.androidfilehost.com/?fid=24052804347814248

UKM_v3.8.1Modded2= https://www.androidfilehost.com/?fid=24052804347814247
[Nexus 6 Android Development] 875295391:
Why not be based with hellscore like benzo which is more stable？I have tested,but bad battery.
[Nexus 6 Android Development] apophis9283:
Its been running great for me. Ive fixeda few issues and Ill fix some more. Rebasing it out of the question, so Ill fix what I have

I try to make people happy but sometimes it cant happen.
[Nexus 6 Android Development] DreamFX:
You need to tweak to get good battery. This is not meant to be hells core or benzo. I personally think it's rude to compare other kernels. And like the OP said this is a work in progress so he can learn and grow from. It may not be for everyone at this point.
[Nexus 6 Android Development] apophis9283:
If youre looking for good battery, blu_active, conservativex and smart max eps (which i tuned) is the way to go. Limit your max cpu frequency to 2649600.

Also there are some other things. I do -10mv across the board and use fiops as it was well tuned.
[Nexus 6 Android Development] DreamFX:
If you're like me and like a good mix of battery and performance tweak zzmoove manually and/or use some of the profiles.
[Nexus 6 Android Development] dirtyscout:
I don't login and post much but I hope you continue to work this project as I'm definitely interested. Plz keep up your work
[Nexus 6 Android Development] apophis9283:
I will. Im going through the defconfig now. Thanks for your support
[Nexus 6 Android Development] 875295391:
It does't matter, continue this project.
[Nexus 6 Android Development] Evilmonstertruck:
Keep up the good work dude. Glad to see you here. I always like to see people from the other phones I've had. Makes me feel like I have chosen the right phone :)
[Nexus 6 Android Development] apophis9283:
Finally updated my wifes phone, first thing I did was check her bin. Shes at a bin 6, so all is well
[Nexus 6 Android Development] xenx:
I haven't had a chance to go through my settings and what not. But, it does boot for me now.
[Nexus 6 Android Development] buckmarble:
Yes what are you using to compile it?
[Nexus 6 Android Development] :
He's trying to compile synapse with gradle.

I can do it, but I'm on duty today so haven't had a chance. Gradle can be a real pain to get working initially though.
[Nexus 6 Android Development] buckmarble:
I would suggest importing into Android studio to start. Makes for a much happier with environment. And easier to compile.
[Nexus 6 Android Development] apophis9283:
Im done for the night, Ill get back at it tomorrow. Just updated the wifes phone to MM. Time for bed now
[Nexus 6 Android Development] apophis9283:
back trying to get this to build. Think I'm making progress. Learning a lot about how apps are compiled, how pissy it can be lol

wow, i think i got it

Update. They were small in size but it acted like an apk, when i installed. It just didnt do anything. So ill keep hacking away at this
[Nexus 6 Android Development] apophis9283:
I hate to admit it but I got nothing. Ive tried evrything. Gonna relax for the rest of the day
[Nexus 6 Android Development] apophis9283:
I updated OP now on V-2.7. Since we had fixed the non-boot issue, I brought back some optimization commits. I got rid of Alucard and Yankactive governors to settle down the clutter. I re-did KEXEC hardboot (let me know if you have any issues). Switched back to LZ4 compression, with some LZ4 optimization

I added some more commits. In synapse we now have tuneables for gentle fair sleepers and arch power
[Nexus 6 Android Development] MrBrady:
Figured I would give this kernel a try. Wow, there are a ton of options! Any recommendations on a setup that is a balance of battery & performance (more on the battery side, but still smooth)?
[Nexus 6 Android Development] MrBrady:
Question about installation - do I install the UKM zip and kernel or just the kernel?

Also, quite a bit of the cpu preferences do not set on boot using Kernel Auditor. Any suggestions?
[Nexus 6 Android Development] an21281:
UKM is used with Synapse only, not sire if it does anything with KA. My max cpu wouldn't stick either on 2.6 using KA, would go back to 96000 no matter what. May give 2.7 and UKM a try today.
[Nexus 6 Android Development] mexiken:
A few of us have the issue. I think they need a log to take a look.

Also fellas, any chance of "row" ioscheduler???? You guys have everything else, might as well throw that in ?
[Nexus 6 Android Development] apophis9283:
we have it. its not compiling. Ive spent the last hour and a half getting all the organized

Just flashed my test kernel. Working great, we have fiops and row back. I also changed default tcp congestion control to ILLINOIS. Thats untested, but the code looks good

So far we have arch power and gentle fair sleepers tuneables added. i/o stuff organized and got row and fiops to compile again. BFQ should be default i/o and illinois should be default TCP. A few other things as well I alphabatized i/o tcp and governors. Not done fixing small stuff and doing clean up. Im sure there will be more before we release another kernel version
[Nexus 6 Android Development] MrBrady:
Just flashed 2.7, UKM and Synapse. It seems to be able to control the cpu correctly.
[Nexus 6 Android Development] mexiken:
You're an animal, sir!!!!
[Nexus 6 Android Development] apophis9283:
I may release a build for you all tonight as long as there are no issues. Finishing up a build right now
[Nexus 6 Android Development] apophis9283:
OP updated, Version 2.8 is up. To get the new features, there is no need to grab a new UKM build. It will all work as long as you have V3 which has been out for awhile. Enjoy, let me know if you have any issues :)

Edit. We just got an updated toolchain. So next build will be built with it
[Nexus 6 Android Development] DreamFX:
Do you guys have Android coming out of your pores yet? I have never seen 2 guys putting out so many updates for a kernel in my entire life. I can't keep up with the updates but it's fun to keep up with the thread and watch the kernel evolve.
[Nexus 6 Android Development] apophis9283:
Im always after new features/fixes. Yoinx is always creating and or modifying source to make it cleaner and more intelligent. Plus its a great hobby. We want to bring you the best product we can, with the most features and it still be completely functional if you have to use your phone for work
[Nexus 6 Android Development] jolly_roger_hook:
Version 2.8 Web page won't load at all
[Nexus 6 Android Development] apophis9283:
I use AFH and everythings working here
[Nexus 6 Android Development] DreamFX:
I see you're using Tapatalk like me. The redirect from Tapatalk seems jacked up today (Tapatalks end, they track what we click). Try in web browser.
[Nexus 6 Android Development] str8str:
2.8 working great for me so far. Voinx was saying that you could ask for kernel auditors so we can get the settings in there as well and thus have a choice to use it or synapse. Would be cool he's always adding features to his app and I personally like it better. Settings stick better and its user friendly.

---------- Post added at 02:56 ---------- Previous post was at 02:16 ----------

Edit getting reboots when trying to select links in Google plus and freezes in my home app. Happens on benzo as well. Despair works great. I'm on latest cataclysm rom. I tried flashing their boot image first still same. Don't know I included log.https://www.dropbox.com/s/wmbnf6uw73bn39n/2015-11-22_01.51.zip?dl=0

https://www.dropbox.com/s/nmrtu2e5oq4xucn/last_kmsg.txt?dl=0
[Nexus 6 Android Development] apophis9283:
I found some UKM updates. We now have a gpu boost button/toggle. live frequencies in cpu tab. im also trying to get in the gpu section, unused states and live stats,

LET THIS BE KNOWN!!! (you dont have to use it,)

I brought back the one click (you set the governor there, hit the checkmark and the rst change)

It works great only it takes some time to make all the other governors the same. Best way to do it is set the one cick and set the rest of it up and it should show all of them being the governor you picked in one click
[Nexus 6 Android Development] jcrompton:
Is synapse holding the settings now..... Our are you having to redo them with every reboot?
[Nexus 6 Android Development] apophis9283:
Its a coin toss. I still use it.

On another note ive taken down the newest UKM. Under the GPU tab Current gpu frequency works, time in states is messed up I need to find the sysfys for it. Good new is the gpu gaming boost works. I just tested it
[Nexus 6 Android Development] apophis9283:
HSB-UKM-V-4 is up in the bottom of the OP. Some neat stuff in there. Like gpu gaming boost. It toggles on/off. Few other things. All you should need to do is flash the UKM.

Im probably going to upload a new v4 of ukm so just be aware
[Nexus 6 Android Development] apophis9283:
I re uploaded HSB-UKM-V-4. Its more stable. I was able to keep quite a few of the extra options
[Nexus 6 Android Development] :
So I've rewritten some of the wake_gestures driver again.

None of it will likely be very noticeable to the end-user though.

Basically, I consolidated a bunch of the sysfs (tunables) calls. Updated it to use the FB notifiers instead of it's dedicated hook in the touchscreen driver (I'm hoping this makes the dt2w a little more responsive). I also relocated the sysfs entries to the proper place per standards. It was located in /sys/android_touch (I think is the right text), this isn't proper. The way that I modified the sysfs calls places it into /sys/modules/wake_gestures... which is where it should be, since it's... ya know... a module.

Unfortunately, I don't think this is ready for prime-time yet since the sysfs path change breaks compatibility with flar2's wake gestures app. I've sent him a PM to see if he'd add the new path as an alternative in his app. If he does, It'll get merged over.

Not really anything major. But since I've been working on that the last day or two (three maybe) between work and life. Figured I'd give an update. If anyone's interested here's the commit
[Nexus 6 Android Development] Mr_S:
Good work sir
[Nexus 6 Android Development] :
So after talking to Flar2 to see if he minded me posting up a modified version of his wake gestures app, he pointed out that the /sys/android_touch path has been standard for the wake gestures drivers for years. By changing it to where I think it should go, it will break compatibility with apps and such.

So, I'm kind of at a crossroads. I want to re-write more and more of the driver in the future to try and minimize the effect of random taps which may help with erroneous wake-ups. Basically, my thought is to require 3 or more touches in a direction before registering a swipe, if there's a touch that isn't in the right direction I want to reset the gesture as it was probably erroneous. I don't believe that the driver currently does this (if I'm understanding it all correctly). This would likely result in more tunables to the end user to get this to where they like it.

Currently though, what I'm trying to do breaks compatibility, but all it really gains is condensed code. I'm not really sure it's worth the hassle for you guys. Any feedback?
[Nexus 6 Android Development] str8str:
I would vote no not worth the hassle. Could cause more issues to. Jmo

Straight Shooter
[Nexus 6 Android Development] str8str:
Did I not post my issue properly? I sent logs but with no response to my post in the days I'm wondering if I'm being ignored for not posting it rite
[Nexus 6 Android Development] :
Sorry, which issues?

I've been sidetracked on that driver rewrite.

---------- Post added at 09:44 PM ---------- Previous post was at 09:22 PM ----------

I'm kinda thinking the same thing after the points flar2 had brought up as well.

*removed not a good idea*
[Nexus 6 Android Development] str8str:
Well ultimately it's your decision but it's not that important to me

---------- Post added at 23:11 ---------- Previous post was at 23:09 ----------

I posted a couple logs couple pages back was getting reboot when pressing links in Google plus

Got the same on benzoe kernel
[Nexus 6 Android Development] :
I'll take a look at the logs tomorrow (Apophis linked them for me).

I don't have any issues opening links in Google+

Are you using any link cleaning apps, xposed modules, ad blockers?

are they the main post links or links in replies?

It *sounds* more like a rom side issue. If it's only happening with specific kernels though... thats kinda weird... does it work depending on enforcing/permissive maybe?
[Nexus 6 Android Development] str8str:
I'll dig a bit deeper. I just noticed I have no initd folder in on despairs ubermallow I find that weird his kernel is default and supports it. I added it and I'll retry hsb
[Nexus 6 Android Development] apophis9283:
FYI, Synapse isnt working because it cant open the database. I think Yoinx is gonna look into it when he gets time. As far as other things, I made changes to UKM. I updated the sqlite binary and made sure it was for our arm version. updated busybox and fixed min/max in ukm devices shamu.sh.

Heres the error for those who want to peek

11-23 21:35:29.514 5966 5966 W System : ClassLoader referenced unknown path: /data/app/com.af.synapse-1/lib/arm

11-23 21:35:29.530 5880 5880 D AndroidRuntime: Calling main entry com.android.commands.am.Am

11-23 21:35:29.532 319 319 E SELinux : avc: denied { find } for service=activity scontext=u:r:zygote:s0 tcontext=u:object_r:activity_service:s0 tclass=service_manager

11-23 21:35:29.564 5966 5966 E SQLiteLog: (14) cannot open file at line 31278 of [2ef4f3a5b1]

11-23 21:35:29.564 5966 5966 E SQLiteLog: (14) os_unix.c:31278: (2) open(/data/user/0/com.af.synapse/databases/actionValueStore) -

11-23 21:35:29.565 5966 5966 E SQLiteDatabase: Failed to open database '/data/user/0/com.af.synapse/databases/actionValueStore'.

11-23 21:35:29.565 5966 5966 E SQLiteDatabase: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

11-23 21:35:29.565 5966 5966 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)

11-23 21:35:29.565 5966 5966 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:207)

11-23 21:35:29.565 5966 5966 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
[Nexus 6 Android Development] str8str:
OK got the kernel working with no reboots or fc's. Don't know exactly what it was I enabled initd myself and flashed 2.8 version again and it's all good now. Thanks for the fixes.

---------- Post added at 01:52 ---------- Previous post was at 01:49 ----------

So is the ukm version 4 in the op the fixed one?
[Nexus 6 Android Development] apophis9283:
No, i still ne to do stuff. it should be updated tomorrow
[Nexus 6 Android Development] apophis9283:
Although i have edited ukm, its synapse app that need fixing
[Nexus 6 Android Development] Mr_S:
In regards to the driver for dt2w ect, it sounds like a pita for little gain IMO. Respect for even being able to do that but I would put my time into something else.

My 2 c°
[Nexus 6 Android Development] apophis9283:
Reverted a commit in UKM and now backups work in synapse, apparently doesnt survive a reboot
[Nexus 6 Android Development] :
Yeah l, just been trying to think of ways to streamline things. The way I was doing it deleted like 200 lines of code for tunables and would've only needed like 4 lines to add a new tunable vice the 20 or so it does now.

Ultimately though, once it's compiled, there's not any benefit. So yeah, not really worthwhile.

I'll be trying to figure out the synapse issues tonight.
[Nexus 6 Android Development] :
Also...

We're trying to track down this synapse issue.

Has anyone had it successfully open without the "Boot Settings Cancelled" message and/or the check and x choices in the top since updating to marshmallow? (not just with this kernel)
[Nexus 6 Android Development] Mr_S:
I have had all options in that regard working fine on hydra. When supposed to it comes up boot cancelled message,I click x and it goes back to the settings it crashed with. I can open it normally no probs. its feature packed kernel like yours with per core control and synapse support. Maybe give the dev a holla'?
[Nexus 6 Android Development] apophis9283:
That per core control is called MSM_LIMITER