yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] str8str:
I still would like to have the option to over clock to 700. I run 800 all the time with no issues. I understand the need for stability first. But after all this is a (custom) kernel and those who use should be aware of the difference and apply caution appropriately. ?

The Root Of Discovery. XDA
[Nexus 6 Android Development] str8str:
Got these from two reboots

https://www.dropbox.com/s/2j750rn49rr4lnt/pmsg-ramoops-0?dl=0

https://www.dropbox.com/s/amhknmzkkdnsabq/console-ramoops?dl=0

The Root Of Discovery. XDA

---------- Post added at 10:34 ---------- Previous post was at 10:33 ----------

Ones to do with power Hal boost touch the other not sure

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
As of right now I cant. Once I figure out how to boot gpu with stock frequencies, sure ill go up to 800MHz
[Nexus 6 Android Development] apophis9283:
Also i will check your logs when im back in front of my pc
[Nexus 6 Android Development] apophis9283:
[MENTION=5201751]str8str[/MENTION]

All I really saw was it kept trying to start thermal-engine over and over and over... Well you get the idea. No idea why it couldnt start it.
[Nexus 6 Android Development] str8str:
So nothing in the other one then? That's some funny ****

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
I havent looked at the other one to be truthful. Just got home. Trying to get my boy in bed. School starts soon for him
[Nexus 6 Android Development] str8str:
OK whenever you can

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
Looked at the other one. Not a kernel issue as far as I know. PowerHAL is ROM side.
[Nexus 6 Android Development] str8str:
Wonder if neo would take a look. I want to make sure the new GPU dev edition driver's aren't causing y any issues

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
Neo is a great guy. As long as he has time he will. Ill let him know there might be an issue tomorrow. He doesnt android when hes home with his family
[Nexus 6 Android Development] harpin14789:
Is it normal for my phone to heat up when using YouTube app and the phone really lags in Snapchat (big stutters).
[Nexus 6 Android Development] johnb380:
Ya I had to go to another kernel because of video streaming doing the same thing and it would shut down the screen and stay black and reboot sometimes. I only had issues playing videos. Its like something with GPU maybe. I was running at 2.4ghz max and 223mhz min and GPU at 600 so no OC or UV for CPU or GPU. I didn't get logs because I just need my phone to work and I know a kernel that does. Just thought I'd let you know.

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
List your settings in KA-mod. Also what ROM
[Nexus 6 Android Development] harpin14789:
RR neo. Interactive, all boosts off, max freq 2649, suspend min is 98, suspend max is 960. CFG policy set to power saving, schedule workspaces enabled. GPU at stock default settings but raised threshold to 35. CFG scheduler with 2048kb read ahead.

Do you want to know my specific governor settings?
[Nexus 6 Android Development] MINTED7:
Reboot seems to have fixed it
[Nexus 6 Android Development] apophis9283:
Ok from what i understand from flar2, if i update to july security patch you wouldnt be able to use it without the rom your using updates to the july security patch. I still have to find the patch but merging it shouldnt be an issue. I dont want to merge this if its going to break a bunch of stuff. Hopefully rom builders will be implementing it soon
[Nexus 6 Android Development] rokurobanne:
seems promising for me :svetius: i need a guidance to max performance for this kernel. i dont care about battery drain. because other kernels are lag for me. im playing game mc5 and that is need more performance for smooth moving online shooter with high graphics. and for this N6 is lag. i try diffrent rom or all kernel in this community. still lag. because the cpu is down to 1.4 or 1.7 and wont stable at 2.9. altough the battery was full capacity. i need your guidance to max perform the cpu and gpu. thanx
[Nexus 6 Android Development] str8str:
So far running good no issues

---------- Post added at 03:19 PM ---------- Previous post was at 03:15 PM ----------

Max for stock is 2.6 not 1.6 unless your running a exo cpu but Qualcomm versions are 2.6 and with this kernel all the way to 3033. Plenty for games
[Nexus 6 Android Development] apophis9283:
Trying to pull in security patches. The normal way I do it doesnt work
[Nexus 6 Android Development] Kris6699:
Welcome back!
[Nexus 6 Android Development] str8str:
Anyone having fc,s from apps check your gps's version. If it's above 9083 ( 430 9083) uninstall updates to roll back to 9083. Solved my issues till Google fixes with new version????
[Nexus 6 Android Development] apophis9283:
Building now with addition and hopefully updated security patch. Itll be BETA-8 if all goes well
[Nexus 6 Android Development] str8str:
Which addition would that be ? Security patch? Beta 7 still running great BTW

---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------

Would life interactive pro and conservative x brought back iydm
[Nexus 6 Android Development] apophis9283:
both those governors should be in there.

As far as june vs july security seen in about phone. Thats a ROM side thing I double checked. You want the security update, tell the ROM dev he needs to pull it in

here is what your rom dev needs to pull in

https://android.googlesource.com/platform/build/+/c1ce5fd7831d6be970e75c7082198ec3f71aa076
[Nexus 6 Android Development] apophis9283:
BETA-8 is live in OP

I will try and release every Monday unless something comes up or something needs to be fixed asap.
[Nexus 6 Android Development] apophis9283:
I just flashed a RR ROM build I did and under Security Patch Level is july 5th 2016. So next build for anyone who uses RR ROM will have the up to date security level
[Nexus 6 Android Development] Mystique:
Flashed successfully..

AOSiP 4.4 has June 1 updates..

Disabled logging and set screen colors with auditor-mod..
[Nexus 6 Android Development] apophis9283:
Hope everyone is enjoying it. Im thinking the next release will be V-1 and leave BETA
[Nexus 6 Android Development] rokurobanne:
also please aroma and first color control default like elementalx thx. i. using this kernel is the best among. fast fluid and still no issue. my game is back normal and no lag. thanx for build this:svetius::svetius::svetius::highfive:
[Nexus 6 Android Development] II_DiE_4:
Use the Kernel Adiutor-Mod by Yoinx and pick whatever color screen you want. Aroma just for color picks are dumb.
[Nexus 6 Android Development] coremania:
Fast and stable with latest krexus, thanks !
[Nexus 6 Android Development] apophis9283:
**cricket sounds**
[Nexus 6 Android Development] XxD34THxX:
Flashing with official RR build atm.

btw, love all the governor options... Trying to figure out which one is the best for the ultimate battery life atm
[Nexus 6 Android Development] apophis9283:
No offense, I am not a mind reader. If you dont at least speak up about it. I cant look into it.
[Nexus 6 Android Development] johnb380:
Yes I know but I didn't wanna be like the other guy. If something doesn't work I'll just use something that does. No worries.

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
If thats what you choose. But now I know there may be an issue Im looking into it.
[Nexus 6 Android Development] johnb380:
OK friend. At the time it happened I needed my phone to drive to a new job so I just switched kernels and all is well now. I will be back this weekend when I have more play time!

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
Ive reverted some stuff and added all new stuff. Ill try and post something late tonight or tomorrow. people can test it and tell me if its any better.

Edit: It will be tomorrow. I went and reverted every single commit I had so I could start over clean. Ill have something for you all tomorrow to test.
[Nexus 6 Android Development] johnb380:
Its fine bro. No hurry.

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
Well, I have some good news and bad news. GPU is done and I think everyone will be happy. BAD NEWS is a little harder to explain.

I want and need to revert this commit https://github.com/APOPHIS9283/Singularity/commit/e9831051f4081ae86bde947e0627aee66eb7cb9c

The problem is when I do it will hit the logo for less than half a second and continually do that. I think for me to revert that. It may require a clean flash of a ROM. I think that commit has something to do with all the turmoil in the kernel atm. I will make a build with that reverted while flashing a clean build and let you all know tomorrow.
[Nexus 6 Android Development] Neejay:
Would this be beyond re-flashing our ROM via dirty flash? Or are you saying YOU will have to flash a clean ROM to test?
[Nexus 6 Android Development] Mystique:
Minimal tweaks..

Truly thinking it's the alucard governor with lightning..

But sharing none the less..

Seems to have rebooted when it was fully charged..
[Nexus 6 Android Development] apophis9283:
Im thinking dirty flashes would be fine. As long as the rom over writes that commit and you flash a build with that reverted. Ill have more info tomorrow
[Nexus 6 Android Development] apophis9283:
I will look at it tomorrow when I experiment with that commit I think is causing issues for people. Can you explain what you mean with the alucard governor with lightning?
[Nexus 6 Android Development] bluntman420:
I just want to say I have had zero issues with 1.5. I was having occasional reboots from 0.7 to 1.3. I went to ElementalX for a couple days and didn't have a single reboot. But I think this is the best kernel there is for Nexus 6 so I had to come back. No issues on 1.5 so far. Thanks [MENTION=4392154]apophis9283[/MENTION]
[Nexus 6 Android Development] bluntman420:
I actually just had a soft reboot while watching Netflix. I Noticed the video was stuttering every once in a while also. Anything I can do to help track down the issue?
[Nexus 6 Android Development] apophis9283:
If any of you with the video issues are using the new GPU drivers, please try the kernel without them. I am still working on it on my end to make sure everything is right.
[Nexus 6 Android Development] apophis9283:
Ok nothing but good news today. I completely re-did GPU from the ground up. Started fresh. GPU looks perfect. Also I got rid of that nasty commit disabling power_aware and the extra good news is you shouldnt have to dirty or clean flash your ROM. Just flash the kernel. Im hoping this should clean up the issues some of you were having

OP has been updated to V-1.5.1

Probably want to clear data from KA-MOD app before you flash the kernel.
[Nexus 6 Android Development] AlkaliV2:
No class for the next 3 days so I can test and possibly cripple my phone for science if need be. I'm grabbing this now and I'll run stock settings for awhile to see if it is stable.

Were you able to get the GPU to boot at 600 while allowing the overclocking others requested?
[Nexus 6 Android Development] apophis9283:
Not yet, I tried a commit I found but it seemed to make no difference. For now, just drop it down to what you want. I dont think it should have an impact on boot, just when boot is complete change it to what you want.
[Nexus 6 Android Development] Mystique:
I see 1.5.1 now..

This is a 1.5 dump..

Thought it was fairly safe configuration..

Lightning, CFS power saving, 223 - 1958, gpu looks like a max of 650.. I don't remember that being the max.

Will 1.5.1 and wipe ka-mod..

Thank you for all your work..
[Nexus 6 Android Development] apophis9283:
This is 2 fold. Finally I recognize an error. BUT its a little over my head. Its not what I would consider a normal "error" if you get me. Ill keep looking.

Theres your sign.... lol [79152.290048] Kernel panic - not syncing: Fatal exception in interrupt
[Nexus 6 Android Development] AlkaliV2:
Not a problem at all. I can use an init.d script to echo the GPU speed to the system as long as I don't have KA-mod to apply GPU settings on boot, correct?
[Nexus 6 Android Development] apophis9283:
yes. I am looking right now to try and find that commit and possibly modify it.
[Nexus 6 Android Development] str8str:
I have 800 as maximum GPU and that's what it booted on. Wiped kernel auditor before flash. Is that correct?

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
It always boots the highest power level. I am looking for a way to make it boot stock frequencies.

Its gonna be me, making small changes, compile, test, then start it all over until I get it
[Nexus 6 Android Development] AlkaliV2:
Yes. He is working on the commit to get it to start at lower clock. He does advise clearing KA-Mod app data before installing the kernel.
[Nexus 6 Android Development] str8str:
I think I said that but thanks. I just wanted to m make sure it was his intention I personally like the over clock

The Root Of Discovery. XDA
[Nexus 6 Android Development] apophis9283:
I kept that in mind when deciding what I wanted to do with GPU
[Nexus 6 Android Development] apophis9283:
Looks like the best I may be able to do, is have it boot at stock frequencies after that it will go back up. Still working things out so ....

Edit: Its really easy to set the min but not the max. Not sure why

Guess I get to try my hand at writing it all up to make it easy to change default max as min
[Nexus 6 Android Development] str8str:
On neo,s build using your latest I got freeze up with maps. I wish he would take a look at them logs cause I think them drivers are unstable. On Nathan's I don't seem to get any of that
[Nexus 6 Android Development] apophis9283:
Yeah, Ive come to the conclusion if the ROM people are using has the new GPU drivers, I wont give it a thought.
[Nexus 6 Android Development] apophis9283:
I have searched high and low. I have not found a way to limit the max GPU frequency. I really thought someone would have thought of it. Best I really can do at this moment is make sure it boots stock.
[Nexus 6 Android Development] apophis9283:
I have re done GPU, no one should have issues. It boot using 600MHz. Then after boot just go into your Kernel Manager what ever that may be and set the frequencies you wish to use.. Please check if the ROM you are using is using new GPU driver. If so reboots will not addressed here. Talk to the ROM maker.

I am no longer having heat issues either. I watched youtube for 30 minutes with 0 issues.

Seems about a stable as they come. If you are having issues and you truly believe its a kernel issue then post a log. Other than 1 or 2 times it hasnt been the kernel.

It may be possible those new drivers are causing the kernel to panic. Nothing that I can do on my end about that.
[Nexus 6 Android Development] apophis9283:
You can try setting the Max frequency a bit higher. Still reading your log
[Nexus 6 Android Development] Mystique:
1958 was the last step before it went to 1000Mv.. (990Mv)
[Nexus 6 Android Development] apophis9283:
Well I did research on the kernel panic part. It could be the new GPU drivers if your ROM uses them. But last time I picked your log it was an error relating to watchdog. This time the error could also be watchdog error. Ill have to read up on watchdog some more. I know its basic functionality but it seems to just not like your phone.

Taken from a thread I found about that error

the watchdog program invokes a kernel panic and reboots.
[Nexus 6 Android Development] Mystique:
Rom is PureNexus latest build from clean flash.. Settings, Developer options, Force GPU rendering is disabled.
[Nexus 6 Android Development] apophis9283:
Ill have a build up in a minute. Some minor changes that I could think of that may help you
[Nexus 6 Android Development] Mystique:
echo 0:1958400 1:1958400 2:1958400 3:1958400 > /sys/kernel/msm_limiter/resume_max_freq

echo powersaving > /sys/devices/system/cpu/sched_balance_policy/current_sched_balance_policy

echo 0:98300 1:98300 2:98300 3:98300 > /sys/kernel/msm_limiter/suspend_min_freq

echo N > /sys/module/cpu_boost/parameters/wakeup_boost

echo simple_ondemand > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/devfreq/governor

echo 600000000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

echo 237 235 255 > /sys/devices/platform/kcal_ctrl.0/kcal

echo 275 > /sys/devices/platform/kcal_ctrl.0/kcal_sat

echo 248 > /sys/devices/platform/kcal_ctrl.0/kcal_val

echo 243 > /sys/devices/platform/kcal_ctrl.0/kcal_cont

echo 0 > /sys/devices/platform/kcal_ctrl.0/kcal_hue

echo zen > /sys/block/mmcblk0/queue/scheduler

sysctl -w net.ipv4.tcp_congestion_control=cubic

stop logd

Check that out.. Ka-mod, start up commands.. Click to copy..

:)
[Nexus 6 Android Development] apophis9283:
If youre having issues please try this

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

Ill be back later tonight. Hopefully that fixes the issues. Im running out of things that I can think of.
[Nexus 6 Android Development] apophis9283:
So I decided to test out my kernel. Bench test it. I ran screen on for 30 minutes, playing Pokemon GO, while charging. the back of the phone was pretty damn cool.
[Nexus 6 Android Development] SignalX:
sorry for off topic

guys, how we can make custom bootloader splash?
[Nexus 6 Android Development] apophis9283:
You probably need to ask in the Q&A section.
[Nexus 6 Android Development] johnb380:
See I didn't wanna be that guy but I just tried 1.5.1 and used it maybe 10 mins I barely changed any settings from stock. Tried using Snapchat and bam fc after fc then crash and reboot. Tried to wipe app data and cache a few times that changed nothing. It works fine with same ROM but different kernel. So it has to be kernel...

Anyways here's the dmesg https://www.dropbox.com/s/m5bh76pie47iq2h/dmesg.txt?dl=0

Last kmsg https://www.dropbox.com/s/olkg3j6p054k0au/last_kmsg.txt?dl=0

Logcat but its long https://www.dropbox.com/s/7geh8o6lulm7jdb/logcat.txt?dl=0

I'm now back on the other kernal and Snapchat and everything is back fine and I use all the same settings that can be the same. But I use very similar things in both I hope the logs help. Either way good luck.

Sent from my Nexus 6
[Nexus 6 Android Development] Mystique:
This is that beta kernel you made earlier.. I'll try the new one.

echo 0:98300 1:98300 2:98300 3:98300 > /sys/kernel/msm_limiter/suspend_min_freq

echo 0:1958400 1:1958400 2:1958400 3:1958400 > /sys/kernel/msm_limiter/resume_max_freq

echo N > /sys/module/cpu_boost/parameters/wakeup_boost

echo 0:lightning 1:lightning 2:lightning 3:lightning > /sys/kernel/msm_limiter/scaling_governor

sysctl -w net.ipv4.tcp_congestion_control=cubic

stop logd

echo 63 > /sys/vibrator/pwmvalue

echo zen > /sys/block/mmcblk0/queue/scheduler

echo 237 235 255 > /sys/devices/platform/kcal_ctrl.0/kcal

echo 275 > /sys/devices/platform/kcal_ctrl.0/kcal_sat

echo 248 > /sys/devices/platform/kcal_ctrl.0/kcal_val

echo 243 > /sys/devices/platform/kcal_ctrl.0/kcal_cont

echo 0 > /sys/devices/platform/kcal_ctrl.0/kcal_hue

echo 600000000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

echo msm-adreno-tz > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/devfreq/governor
[Nexus 6 Android Development] apophis9283:
May i ask what rom? I will look at the logs tomorrow as i have plenty of free time on the weekend.
[Nexus 6 Android Development] apophis9283:
Im gonna ask another dev to peak at these with me. Finally try to figure out whats wrong.

[MENTION=3556013]johnb380[/MENTION]

you have a pvs8-bin-v1 thats pretty high. The other kernel you use is probably most probably closer to stock. Thats the first thing I noted. Ill keep looking

does the other kernel have OC/UV? This might be a frequency issue for you. Because of your bin
[Nexus 6 Android Development] johnb380:
6.16.16 CandySix ROM cmte version with Blackbird kernel built into it by reventech.

Thanks for your time sorry I'm such a PITA! If you can't figure it out don't even worry about it bro.

Sent from my Nexus 6
[Nexus 6 Android Development] rrrrrrredbelly:
So i have a few questions. About 7-10 days ago i started having problems watching live games on the mlb.tv app, after about 45 seconds the video freezes but the sound keeps playing.

I've flashed almost every version of this kernel since this thread was started, almost 100 percent sure it didn't happen in the earlier versions. I haven't changed roms and settings in KA-Mod have stayed the same. I just flashed another custom kernel that I've used previously and i don't have the issue.

I'll get a log tomorrow sometime.

[MENTION=4392154]apophis9283[/MENTION], i don't need you to troubleshoot, i know you have a lot going on, but are your older versions of this kernel still on AFH? I'm curious which version this started on.

Thanks

Dan
[Nexus 6 Android Development] apophis9283:
Read my post above
[Nexus 6 Android Development] apophis9283:
What ROM.
[Nexus 6 Android Development] apophis9283:
I have bad news for you [MENTION=3556013]johnb380[/MENTION]

Its your bin. I compared his to mine. Let me look deeper
[Nexus 6 Android Development] johnb380:
PVS 8 bin speed 2 but what do the second 2 numbers in your charts mean. I know the first row is clock speed what's the second row and third row for?

Sent from my Nexus 6

---------- Post added at 12:44 AM ---------- Previous post was at 12:38 AM ----------

Yes the other kernel has OC and UV but I don't use either. I run at 2.6 GHz max and 300 min and GPU at 600 max and 166 min on both kernels. The voltages are the same on bother kernels too I don't undervolt at all. So I don't know what's up either lol.

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
I will have something for you tomorrow. Im pretty sure this should fix your issue and maybe others. I got to head to bed but i feel optimistic.

You can look in anyones source. the file you are looking for is apq8084.dtsi. All the frequencies are there for all the bins.

https://github.com/APOPHIS9283/Sing...8dfebf42b/arch/arm/boot/dts/qcom/apq8084.dtsi
[Nexus 6 Android Development] rrrrrrredbelly:
Sorry, pure nexus mod by nathanchance. Gpu is @ 600. Underclock @ 98, overclock to 2764, I've used a few different govs, on nightmare now.

Thanks
[Nexus 6 Android Development] apophis9283:
Instead of pulling frequencies and voltages from another kernel, im gonna pull it from stock and go from there
[Nexus 6 Android Development] rrrrrrredbelly:
Ok, like i said I'll get a log tom, and if it helps i can flash previous versions of this kernel if they're still up on afh to see on which version i started having this issue.

Dan
[Nexus 6 Android Development] apophis9283:
TY to Yoinx. He kept the code from when we were a team. i had a specific commit that said. FIX VOLTAGES FOR DIFFERENT PVS'
[Nexus 6 Android Development] johnb380:
Tbh I don't think its voltages. I just read a couple articles about pvs binning https://forums.oneplus.net/threads/check-your-opo-cpu-binning.33330/page-5 and http://xdaforums.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173

And I know they r for different phones but the most of them said that basically the higher the PVS bin the lower the voltage needed to boot and the cooler your device will run and the higher you can overclock. So if we believe that or even if we don't then it doesn't matter because my device runs fine and boots fine its only when I use Snapchat when I have issues with your kernel and no one else's. So that leads me to believe that its GPU or GPU driver or something related to this. Also the PVS binning articles said once booted most PVS bins can all run the same stock voltages just fine in most cases. Plus the kernels that work with Snapchat and yours both run on the same voltage table which also makes me think its something different.

I've been flashing kernels and ROMs since CM6 was pre release firmware personally and I'm usually pretty good at troubleshooting things so I think its something other than voltage I'm not sure what but maybe the logs will reveal all!

Here's to hoping for a second pair of eyes that may see what we can't!

Good night ttyt friend.

Sent from my Nexus 6