yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] andrewjt19:
I'm not sure which one I'm using but it isn't from Captain Throwback. By chance do you have a link for those?

Nevermind I found it. Thanks for the advice.
[Nexus 6 Android Development] Stroky:
May this kernel work with the stock Rom? Sounds pretty cool!

Gesendet von meinem Xperia Z2 Tablet Wifi mit Tapatalk
[Nexus 6 Android Development] Mystique:
Using six Rom.. And magisk.

When I flash the Rom, then magisk, then the kernel.. I lose magisk, and as a result I have a no root.. Anyone else?

BB, ElementalX, etc.. In this order, does not yield this result..

Suggestions?

Just flash magisk again.. But then you don't get the stock.img stuff.. Fstab, etc..
[Nexus 6 Android Development] neobuddy89:
Flash magisk again after flashing kernel.
[Nexus 6 Android Development] rignfool:
No... Definitely wrong...

I flash my rom.. kernel... Magisk... Then edit the ramdisk using the Android Image kitchen... Reflash the new image... Then magisk... And I even keep my personal ramdisk edits...
[Nexus 6 Android Development] rignfool:
[MENTION=3795148]neobuddy89[/MENTION]

Question...

I see in KA mod you have controls for msm_thermal...

However... You have Shamu stock core control enabled and msm_thermal not enabled? (At least according to the sysfs interface)

Am I understanding this right?
[Nexus 6 Android Development] Lagarde:
[MENTION=3795148]neobuddy89[/MENTION]

Tested this out over the last few days. Some stunning work with a few quirky bugs.

Rom: Pure Nexus 7.1.2 (6/12/17)

Pros: This kernel is the first that didn't flake out when the phone drops below 40% battery. I know, I know, BCL. Tried all the disablers out there, and I'm one of the lucky ones whose phone freaks out no matter what. This kernel didn't. That alone is impressive. Beyond that, the AutoSMP hotplug did a great job of keeping the phone generally running smoothly with great battery life (something the current ROM version isn't wonderful at normally).

Cons: Massive stuttering when playing music with screen off. Thought at first this was due to the AutoSMP dropping to 1 core, and raised the minimum to 2. Still stuttered. Raised it to 4 and still stuttered. Acted like it was throttling the speed too low to play music. Only other issue I had was when bluetooth devices connected, I got Bluetooth Share has stopped working errors, though the BT device would still work fine.

All in all, really cool kernel. Not quiet ready to switch to my daily use (need my music), but keeping an eye on this one. :)
[Nexus 6 Android Development] neobuddy89:
Thanks for the detailed review with few pointers.

Is stutter with bluetooth playback?

I am on LOS-based ROM - no issues.

And next kernel update will bring in compress offload updates.

What is compress offload?

Audio processing is moved from CPU to DSP resulting in lower CPU load.

On top of that crDroid ROM will have offload enabled completely on ROM side as well:

https://github.com/neobuddy89/andro...mmit/5c32ea508f4e8d790acca7fcf7340f4001c9c580

https://github.com/neobuddy89/andro...mmit/bbd3e07042a3a25644f7b04af0a765093ff3a0ba

https://github.com/neobuddy89/andro...mmit/ab31b6eb026f78bd96de013e9a0274b003911254

Since I can't test on all ROMs, please submit kernel logs when you face issue.
[Nexus 6 Android Development] Lagarde:
Yes, stutter was with Bluetooth playback. Haven't tested on wired.
[Nexus 6 Android Development] neobuddy89:
New build sigma Kernel v7.6 is up!!

Changelog Highlights:

* Compress offload improvements. Less CPU loading for audio playback - improved DSP processing.

* July security updates from Google.

* Mainstream fixes and performance improvements for filesystem and ALSA (advanced linux sound architecture). Thanks to @The Flash for keeping eye on these ones.

* Improved gfx driver sync.

* Minor optimization for video driver from Motorola.

* Minor fixes from CAF for msm board.

* Fixed faulty load spikes in scheduler. (mainstream fix)

DL: https://www.androidfilehost.com/?fid=889764386195914352

Please read flashing steps. If you have external superuser (non-native/systemless), you will need to reflash your superuser zip after flashing kernel.

If you run into any issues, please use syslog to capture kernel log.

Cheers and happy weekend. :highfive:
[Nexus 6 Android Development] espionage724:
On a relatively stock install of LineageOS (this ROM), if I flash the latest sigma 7.6 kernel, the LineageOS SetupWizard (specifically the one included with the ROM, not the one supplied with GApps) fails at the end of the set-up. Using the stock LineageOS kernel and FrancoKernel r69 doesn't replicate this problem.

On another note, would all ROMs (aside from crDroid) flashed with this 7.6 kernel get full audio offloading support? Or would it only be some kind of partial support?
[Nexus 6 Android Development] skynet11:
It disabled Magisk for me too, and it was included in my ROM (Tesla ROM for the record). Also, root was still not working even after reinstalling Magisk 12.0, even though Magisk Manager indicated root was active.
[Nexus 6 Android Development] neobuddy89:
Hi all,

I will post test build with AnyKernel method of flashing - which should resolve issues with different ROM especially super user issues.
[Nexus 6 Android Development] neobuddy89:
sigma Kernel 7.8

New build is up!

Changelog:

* More strict BCL frequency mitigation on core 2 and core 3 to prevent unwanted shutdown.

* Improved network driver.

* Misc updates for stability and security.

* New flashing method.

Note on new flashing:

* Uses part of AnyKernel2 flashing script.

* SELinux and SELinux permissive mode will be copied from your existing ROM.

* All required tweaks in ramdisks maintained.

* Superuser should be retained. No need to re-flash. Please test.

DL: https://www.androidfilehost.com/?fid=961840155545581272

Please revert back if all ok on ROM you flash. Cheers.:good:
[Nexus 6 Android Development] cujo6801:
Okie doke I just downloaded it I'll give it a test in a second

"Sent from the Dog Pound"
[Nexus 6 Android Development] velishka:
maybe it's just me... do you have slight lag when you press power button to wake the phone up ?

when you just play on/off it is fine, it's the deep sleep I am having problem with.
[Nexus 6 Android Development] cujo6801:
No problem with root...

On latest Six ROM...

Sorry for not getting right back to you.

PS. No problem waking up from deep sleep

"Sent from the Dog Pound"
[Nexus 6 Android Development] espionage724:
Revert or report?

Edit: Flashes fine on LineageOS (my slightly modified build of it anyway)
[Nexus 6 Android Development] jon.s.nelson:
"More strict BCL frequency mitigation on core 2 and core 3 to prevent unwanted shutdown."

Are you referring to shutdown of cores, or shutdown of device? I'm asking because I was having a problem (on the previous build) with my device shutting down when the battery was in the 20-30% range. Just wondering if this was an issue for others....
[Nexus 6 Android Development] neobuddy89:
I had one instance of device shutdown. But with new mitigation control, the issue should be resolved. Please report back.
[Nexus 6 Android Development] jon.s.nelson:
Actually just had a random reboot while watching a Facebook video, battery in the 60%s.

(This is the first time I've had a random reboot on your kernel; only had the occasional device shutdowns on 30% and below battery)
[Nexus 6 Android Development] neobuddy89:
Can you share last_kmsg pls?
[Nexus 6 Android Development] jon.s.nelson:
Can you read this? (I pulled it from /sys/fs/pstore/console-ramoops )
[Nexus 6 Android Development] neobuddy89:
Yes! Thank you. This is now fixed.

Please update new build.

sigma Kernel 7.9:

* Fix OOPS instance in network driver.

DL: https://www.androidfilehost.com/?fid=817550096634785773

Cheers.
[Nexus 6 Android Development] jon.s.nelson:
Thank you! You're amazing.
[Nexus 6 Android Development] marcp39:
Since I've updated to Nougat I'm using this kernel and I'm really amazed to see how stable it is without sacrificing interesting features ! (With MM I was using Deyus kernel).

I've only one question (maybe stupid), but why does providing overclocking to users ? Is it too much source of problems ?
[Nexus 6 Android Development] neobuddy89:
It's not overclocked on purpose - reasons being.

1. Kernel reports power usage at every frequency levels. These power usage is defined by QCOM/Google engineers. If we add new frequency levels (OC/UC), we will mess up power usage stats. I am not interested adding dummy values.

2. There is actually NO need to OC. What we have currently is enough for apps and games that require too much processing. In actual, games and apps developers do test their products on Nexus devices before releasing it - so we are good.

3. We have many other performance enhancers in kernel from CAF and mainstream that makes OC redundant! Really.

4. Adding OC means that we will reach thermal threshold much earlier which will increase no. of frequency mitigations and no. of times cores going offline to cool device. Why burn out unnecessarily?

I hope this answers. I really don't intend to add OC since stability, security, performance and power are main objectives of sigma. Snake oil drivers, governors and features can stay away. :)
[Nexus 6 Android Development] Mystique:
MPDecision and State Helper are both enabled by default according to KA-Mod.. (included in SiX rom)

Disable MPDecision..

Minimum CPU defaults to 1497 for all cores..

Drop that down to 300..

Any other suggested settings?

Or is supposed to be 'flash and go'?
[Nexus 6 Android Development] neobuddy89:
Good question.

Mpdecision creates a socket path which is detected by Power HAL. If you disable mpdecision, path is deleted and Power HAL spams like anything - I really don't like that useless spam. So I kept that enabled.

Now coming to mpdecision vs state helper... I have observed for while and both of them don't clash since mpdecision no longer hotplugs continuously. I have explained state helper in one of previous posts.

Mpdecision job is to tell kernel to increase min freq --- whereas power HAL's job is to tell exactly when mpdecision should do job .... like when you touch your screen, when you do video encoding, etc. This is Project Butter.

We got CPU boost driver that gives similar boost when needed. So mpdecision is useful only when there are special events for power HAL to hint.

My suggestion keep both enabled.

If at all you still don't like mpdecision... See MSM Limiter feature in KA MOD and switch off mpd_enabled tunable - it will make kernel resistant to mpdecision without turning off it's service.
[Nexus 6 Android Development] Mystique:
So it seems after you touch it.. it then becomes a toggle..

No way to enable both after you touch one.. so I'm rebooting..

And what about the 300 min cpu freq.. otherwise it sets all cores to 1497.
[Nexus 6 Android Development] neobuddy89:
That's app issue. Clear app data and reboot.
[Nexus 6 Android Development] jon.s.nelson:
Sorry to report that I just a had a random reboot on new build. Device was asleep when it happened...log attached:
[Nexus 6 Android Development] neobuddy89:
Log says no issue.

Was it hard reboot or soft reboot?
[Nexus 6 Android Development] jon.s.nelson:
Soft...
[Nexus 6 Android Development] neobuddy89:
That seems some ROM or app issue - not kernel. :)

I hope you are not on crDroid ROM :p
[Nexus 6 Android Development] athulele:
Does anyone else's camera stop working randomly?

Either the front one or both.

Running lineageOS latest nightly + sigma 7.9

Logcat here (too big to be attached) - http://paste.ubuntu.com/25101275/

console-ramoops and dmesg attached
[Nexus 6 Android Development] espionage724:
Yep. Seen it happen on LineageOS and crDroid.
[Nexus 6 Android Development] cujo6801:
Been running 7.9 kernel with Six rom

since you posted it

Great job bro...

"Sent from the Dog Pound"
[Nexus 6 Android Development] rignfool:
This kernel is so good... I had to try CrDroid...
[Nexus 6 Android Development] jon.s.nelson:
Actually yes...I was on the dirty install anyway, so no big deal. I've started over and so far so good. (Your kernel and ROM are worth it even with an occasional hiccup on my end!)
[Nexus 6 Android Development] neobuddy89:
sigma Kernel 8.0

New build is up!

Changelog:

* Enabled power efficient workqueues. Less spurious CPUs - more efficient power consumption.

* Updated Slimbus driver from msm-3.18. Better codec support.

* Fixed potential memory leaks in video driver.

* Misc updates

DL: https://www.androidfilehost.com/?fid=961840155545582661

Cheers! :)
[Nexus 6 Android Development] cujo6801:
I'm loving the commitment here thank you bro

"Sent from the Dog Pound"
[Nexus 6 Android Development] cujo6801:
8.0 is a GO....

That took me two hours to come up with....

"Sent from the Dog Pound"
[Nexus 6 Android Development] espionage724:
Any word about this?
[Nexus 6 Android Development] heisenbergfromIN:
Does this mean that I can flash the latest build without losing the default SELinux mode on Crdroid?
[Nexus 6 Android Development] neobuddy89:
Check this post - https://xdaforums.com/nexus-6/devel...est-builds-t3626705/post72929916#post72929916

Sigma kernel supports additional compress offload formats (along with fixes from CAF)

The support is unutilized if not enabled in the ROM.

So, for other ROMs, it will support alike stock kernel.
[Nexus 6 Android Development] marcp39:
Thanks for your answer it was very interesting to know a little more about how everything works (idem for MPdecision). Btw 2 weeks ago I searched and exact definition on google and xda for MSM Limiter, but found nothing excepted settings for it. Can you explain us what are the advantages of this function please ?
[Nexus 6 Android Development] neobuddy89:
sigma Kernel 8.1

I know this is quite soon, but good to have this update.

New build sigma Kernel 8.1 is up.

Changelog:

* Improved power collapse stability in video driver.

* Misc updates from mainstream.

DL: https://www.androidfilehost.com/?fid=673368273298972694

Cheers!

I am working on improved CPU bandwidth management from CAF for next version - I am aware what should go in as am not doing first time but want to make sure it's stable as rock with power and performance it will provide. :)
[Nexus 6 Android Development] neobuddy89:
MSM Limiter is not enabled by default since it may create confusion to some users.

When enabled, it provides below features:

* Changes max-min frequency when devices resumes/suspends.

* Allows configuring different freq per-CPU.

* Allows disabling mpdecision interference with frequency. (This toggle works even when driver is disabled.)

* Allows setting different governors on different CPU.

You can check KA-Mod app to use this driver.
[Nexus 6 Android Development] cujo6801:
As always thanks bro

"Sent from the Dog Pound"
[Nexus 6 Android Development] espionage724:
Awesome work!

I don't notice any issues so far on LineageOS with 8.1.
[Nexus 6 Android Development] neobuddy89:
sigma Kernel 8.2

New build v8.2 is up!

Changelog:

* Fixes from mainstream and google.

* Minor improvements for better power efficiency.

DL: https://www.androidfilehost.com/?fid=673368273298973451

I like to deliver updates with small improvements to keep bugs off the shore :)

Anyway, the work on CPU bandwidth improvement from CAF is going strong - more tests after it can be made available.

Cheers. :good:
[Nexus 6 Android Development] animatrix999:
Keep the updates coming! =)
[Nexus 6 Android Development] duttyend:
Thank you so much, it works like a charm on LOS 14.1 !

You're really awesome :cool:
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Smooth on PN...
[Nexus 6 Android Development] enzoevo:
I tried flashing this kernel for ****s and giggles. I'm so glad I did. I no longer get random reboots with graphics intensive apps. And I'm running all the way to 5% battery again. Keep up the stellar work.
[Nexus 6 Android Development] neobuddy89:
sigma Kernel 8.3

Thanks for the feedback - that keeps this project going strong. As posted earlier, I was working on CPU bandwidth improvement for krait system and now it's completed after 2 weeks of dedication.

New build sigma Kernel 8.3 is up!

Changelog:

* Enhanced CPU bandwidth management from CAF.

* Bandwidth boost interface when device resumes.

* Tuned configuration for CPU BW on our board.

* Improved routines for memory model - auto compact nodes on device suspend.

DL: https://www.androidfilehost.com/?fid=889764386195918610

Few notes on new CPU BW:

The first stage - CAF improved CPU BW management on newer kernels like angler, bullhead, etc. The code is not straightforward to merge as there are multiple dependencies at different places that required update along with changing API in QCOM code - but we did it.

The second stage - Apart from that, msm-3.18 kernel further enhanced BW management with newer algorithm to calculate and scale BW requirement more accurately, thanks to myfluxi we could port it for our 32-bit 3.10 kernel and [MENTION=6842057]The Flash[/MENTION] for more updates to it.

The final stage required us to tune parameters that govern everything. After scrutinizing multiple msm boards, I was able to select good parameters for apq8084 board.

The results are - no performance penalty - improved CPU score due to new algorithm while slightly improved battery due to reduced guard bandwidth parameter value while configuring it for our board. Hope you like it too. Cheers!
[Nexus 6 Android Development] gothy.gothy:
Do you think would work with Neo's RR ROM? I mean it could be used without errors on other ROM than crDroid?

Thanks
[Nexus 6 Android Development] lostrg:
Installed and unable to launch camera now...running latest crdroid (which is fantastic!)

EDIT: Fixed! No Issue...Cleared Camera App Data and wiped Cache in recovery, rebooted and all is well again..thanks for the update!
[Nexus 6 Android Development] neobuddy89:
Should work.
[Nexus 6 Android Development] animatrix999:
After flashing v8.3 I can definitely notice my phone runs faster and more smooth, well done an ty for your hard work =)
[Nexus 6 Android Development] junioramboy:
I flashed this kernel for the first time. I like it very much. So.. default setting is the best right?

Shamusent
[Nexus 6 Android Development] heisenbergfromIN:
Yes!
[Nexus 6 Android Development] junioramboy:
Thanks. It's been a day of use. I really like it. I think I've found the best combo with my go to ROM. Cheers to the dev.

Shamusent
[Nexus 6 Android Development] duttyend:
Magnificent work !!!

It works like a charm on LOS 14.1 and I immediately noticed improvement in responsivness :good: :highfive:
[Nexus 6 Android Development] heisenbergfromIN:
His dedication is commendable. This guy stole me from RR with his ROM and kernel.
[Nexus 6 Android Development] cujo6801:
Hey man thanks for the info....

I already went ahead and reported Neobuddy....

We as a community cannot condone stealing of any kind...

Again I like to thank you for coming forward and being brave about your ordeal...

"Sent from the Dog Pound"
[Nexus 6 Android Development] rignfool:
I swear... Now the devs are even kanging each other's users...
[Nexus 6 Android Development] Lagarde:
[MENTION=3795148]neobuddy89[/MENTION]

A while back I did kind of a summary of my testing, which you'd mentioned was helpful. Time for another round!

I use my phone mainly for calls, Pandora, and Google Play Music, using Pure Nexus 7.1.2 ROM.

7.x kernels using MPDecision only:

- No app issues at all

- Battery life comparable to stock kernel.

- A few reboots. Unable to find a cause, as they tended to happen overnight.

7.x kernels using AutoSMP (default settings):

- Lots of stuttering in GPM.

- Occasional stuttering in Pandora

- Calls were perfect

- Battery life slightly better than stock kernel.

- A few reboots. Unable to find a cause, as they tended to happen overnight.

8.3 kernel using AutoSMP (default settings, MSM Limiter 2600/300/1700 with boost for wakeup on):

- Stutter in GPM about every 2-3 minutes (1-2 per song)

- No stuttering in Pandora or any other app

- Calls are perfect

- Battery life about 10% better than stock kernel

- One reboot. Didn't notice right away, so didn't get log.

- Lots of time with cores offline, which is probably why the battery life is so good, but also may be causing the stutter. GPM is a CPU hog, so this doesn't surprise me.

8.3 kernel using State Helper only (4 cpus screen-on/1 cpu screen off, MSM Limiter 2600/300/1700 with boost for wakeup on):

- Stutter in GPM about every 10-15 minutes. If I raise the screen-off CPUs to 2, there are NO stutters.

- No stuttering in Pandora or any other app

- Calls are perfect

- Battery life slightly worse than stock kernel

- No cores ever go offline when the screen's on. They only drop to 300mhz. This may account for the lower battery life.

- Overall phone speed greatly increased over stock.

Fantastic work! A few potential quirks, but they're easily worked around. Loving this kernel and have switched to it as my daily standard.
[Nexus 6 Android Development] Cypresshill555:
Made the screen settings. Well we did it. Nothing gets lost. The kernel works perfectly. Thank you for your work.

Here are the screenshots of my settings. The color is very natural. White is real, not yellow. There are not too saturated colors.

Pure Nexus Project 25.07.17
[Nexus 6 Android Development] gothy.gothy:
From the screenshots everything is so clear ...
[Nexus 6 Android Development] Cypresshill555:
And what is not ? Program
[Nexus 6 Android Development] gothy.gothy:
Russian settings are very clear
[Nexus 6 Android Development] heisenbergfromIN:
Nevertheless, the ordeal is welcome. :laugh:
[Nexus 6 Android Development] neobuddy89:
You get quirks because you are playing with max freq, I think. When device suspends all sibling cores shut down. Why reduce max freq? There many apps who need some speed to process. So, let one core do job without much restriction.

Hotplug driver is unnecessary. Read my post in this thread about state helper and over clock/underclock - might give some hints.

If you have random reboot, submit pstore ramoops which I can debug.

Cheers.
[Nexus 6 Android Development] Georgiafan1969:
Battery life is awesome and running smoothly thanks Neobuddy
[Nexus 6 Android Development] heisenbergfromIN:
Will our beloved Shamu get EAS?
[Nexus 6 Android Development] Mystique:
Running 8.3 and all is well.

The battery got down to 8% overnight tossed it on the charger and got it up to 50.. Things didn't feel right though. I checked and the Max cpu was 960. I couldn't get it to go any higher.

Rebooted and all is as it was.
[Nexus 6 Android Development] wavedashdoc:
Is anyone getting static sounds in their audio from the front facing speakers? I left all settings default but ultimately had to flash back to Franco to fix this.
[Nexus 6 Android Development] donkeypunch1257:
Camera FC

I love the kernel, but I'm having issues with the google camera force closing. I've tried clearing data in the app as well as cache in twrp. Other cameras are working, but I'm not able to use face unlock with the 3rd party cameras. I'm on Nitrogen 7.1.2 using open GApps stock package. I've noticed the default amount of data for google camera with this kernel is 24 kb while it's only 8 kb with other kernels. Not sure if that's relevant, but I'm trying to be as descriptive as possible. I have searched this thread and tried the suggestions. Is there something I can do, or wait for the next release and see if it's fixed.
[Nexus 6 Android Development] rignfool:
Not likely...

And not applicable...
[Nexus 6 Android Development] junioramboy:
Assuming you are rooted, delete the camera from the system folder. Install Google Camera from the Play Store or from APK Mirror. That's how I sorted out the same issue I had.

Shamusent
[Nexus 6 Android Development] def1003:
even after doing this im having constant camera issues with fc or front facing camera not working on latest crdroid with latest sigma kernel
[Nexus 6 Android Development] HaRdC0r3:
I am also having an issue with my front facing camera. Using the latest CRDroid and latest Sigma.
[Nexus 6 Android Development] head_banger:
What camera apk? Clean flash ?