yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] apophis9283:
[MENTION=3533430]Unreal_Shogo[/MENTION]

I ended up changing the value for cache pressure. Different LMK values and I turned off adaptive LMK by default. Hopefully that will fix your issue. Everything else is pretty much inline with other kernels.

N-TEST = https://drive.google.com/file/d/0Byl7OrnLCz6JM1lUenktUWlDelk/view?usp=sharing

Wipe KA-MOD and wipe caches. I threw everything I had at this. Hoping and praying this works
[Nexus 6 Android Development] apophis9283:
[MENTION=3533430]Unreal_Shogo[/MENTION]

Sorry it took so long to get that build up. Its in the post above this

Im out for a bit. I have enough to push a 3.6 build, I am just going to hold off and Ill get back to it later.
[Nexus 6 Android Development] apophis9283:
So with all that being solved. OP has been updated to V-4.0.

I did tweak LMK values. Brought back Z-RAM for those who want it.Plus some other performance commits.

Time for me to take a break! Enjoy!

Edit: I would wipe KA-MOD data. Thats just me
[Nexus 6 Android Development] str8str:
By George I think he's got it. This thing flies now and memory stays higher. Good job brother
[Nexus 6 Android Development] apophis9283:
I'm hoping so. Going forth stability not features have to come first. Although I have a ton of features so clueless to what I would even add
[Nexus 6 Android Development] christianpeso:
Did the LMK issue ever affect the MM builds or was it just the N builds?
[Nexus 6 Android Development] apophis9283:
Wasn't a kernel issue
[Nexus 6 Android Development] apophis9283:
I know I have Interactive as default governor, but I'm having stellar success with Darkness
[Nexus 6 Android Development] str8str:
Kernel is sleeping like a baby over 9hrs and only used 6per battery. Wakes rite up no lag it freezing. Using darkness governor. Best it's ever ran IMO. Great work brother
[Nexus 6 Android Development] ph0tiC:
Apophis, glad to see you are still around! You were one of the main reasons I stayed with Blisspop so long! Using pure Nexus now but about to try your kernel just because of your name. Thanks for keeping up with things!!
[Nexus 6 Android Development] apophis9283:
Nice to see you here. :)

Feel free to ask if you need anything or have questions.
[Nexus 6 Android Development] apophis9283:
I will be merging android-msm-shamu-3.10-nougat-mr1.2 into my N kernel and hopefully release tomorrow

Edit: It's merged
[Nexus 6 Android Development] apophis9283:
Any group of N users possibly want to test this for me tomorrow?
[Nexus 6 Android Development] apophis9283:
Sound borked on test build. Will fix tomorrow
[Nexus 6 Android Development] apophis9283:
Another "N" test build with android-msm-shamu-3.10-nougat-mr1.2 merged in.

Make sure to have a backup kernel available/

N-TEST = https://drive.google.com/file/d/0Byl7OrnLCz6JY1BKRUE5UlQzbzQ/view?usp=sharing

If you can get back to me as soon as possible
[Nexus 6 Android Development] Mega Montana:
You have a preference for testing on AOSP or new stock OTA or doesn't matter?
[Nexus 6 Android Development] apophis9283:
Doesn't matter

Does it boot?

Sound work?

I doubt there will be any reboots
[Nexus 6 Android Development] chillwill11:
Boots...Runs fine. But no sound latest neo fresh/dirty
[Nexus 6 Android Development] apophis9283:
My best bet then would be that it needs a ROM thats merged 7.1.1. So for now, I am going to revert merging mr-1.2 until ROM catch up.

I will have a minor build up later, I am now using Darkness as default governor and I have made some really nice changes to Maple I/O scheduler.

I will leave the kernel be until ROMs are updated.
[Nexus 6 Android Development] apophis9283:
V-4.1 is up in the OP. Changed default governor to Darkness (Which I am really enjoying). I also changed the tuneables for Maple I/O scheduler which also seems to be working out well. Wipe KA-MOD app data, flash and enjoy.

This will be the way both builds will be until ROMs start moving on to 7.1.1
[Nexus 6 Android Development] apophis9283:
Edit: Seems the audio thing may be my fault. Ill just need a tester to test til I nail it.
[Nexus 6 Android Development] DreamFX:
https://xdaforums.com/showpost.php?p=70416048&postcount=7403

It's rom side. Not your fault.
[Nexus 6 Android Development] apophis9283:
Then Ill go ahead and get MR-1.2 merged and give it a few days, for ROM makers to fix it.

Edit: Ive pushed the update to gitlab. I have also informed NEO of the fix
[Nexus 6 Android Development] Unreal_Shogo:
So, the latest 4.1 got sound broken? I'm waking up and seeing this ?
[Nexus 6 Android Development] apophis9283:
No, when kernel devs merged MR-1.2 from google. It broke sound. But not the kernels fault, there is a commit in ROMs that needs to be reverted. Neo has pulled in but dont think hes built with it. When ROMs start to revert that commit, I will release my "N" build where I pulled in MR-1.2
[Nexus 6 Android Development] dark2099:
So I'm running 7.1.1 stock rooted, your test that you put up this morning (?) is running fine, should I stick to that or will 4.1 work?
[Nexus 6 Android Development] apophis9283:
The 4.1 I have in the OP does not have MR-1.2. It seems its backward compatible but If you try and run a kernel running MR-1.2 without the proper ROM you will have NO sound. The test builds did have MR-1.2. What I have in the OP DOES NOT. I will give it a day or 2 for ROM makers to get that sorted out
[Nexus 6 Android Development] apophis9283:
This build if for "N"

It had MR-1.2 built in. Meaning if you flash this on a ROM that doesnt have the fix, YOU WILL HAVE NO SOUND!!!!

N-MR-1.2 = https://drive.google.com/file/d/0Byl7OrnLCz6JRGs1MHJ1LUpiaUU/view?usp=sharing

Please DO NOT flash if you are not running a ROM with the FIX!!!

I think AOSP ROMs should be fine
[Nexus 6 Android Development] TheGeekyNimrod:
I can confirm this working on the latest 1/6 build of Pure Nexus just in case anyone was curious. [MENTION=4392154]apophis9283[/MENTION], these latest builds, IMO, have been the best yet. Thank you so much for the work you put into this.
[Nexus 6 Android Development] apophis9283:
Not a problem :)

I'm pretty happy with what I have with the kernel. I hope everyone is enjoying it.
[Nexus 6 Android Development] dark2099:
Test build built on the 7.1.1 source works fantastic on stock rooted.
[Nexus 6 Android Development] apophis9283:
Awesome. I really do appreciate feedback. Especially when it's across different ROMs.
[Nexus 6 Android Development] apophis9283:
Tomorrow I will be releasing V-4.2. So whats different?

Not a whole lot. I seem to be on a winning path and dont want to try and shove a square peg into a round hole. So I am going to break it down now so everyone knows what to expect.

The biggest thing is for "N". Which will have MR-1.2 into.

Then I in both builds I added some entropy commits and turned on entropy and rotational storage. Thats it. Nothing more, nothing less.

"So Apophis, why not release it today?" Answer is simple. I made up my mind to wait 2 days for ROMs to catch up so no one get the sound issues.
[Nexus 6 Android Development] apophis9283:
I'm debating on whether I want to make the leap to N. I have RR and DU source on my PC all I need to do is compile. Has anyone tried both? Differences? Similarities? What's available feature wise?
[Nexus 6 Android Development] Unreal_Shogo:
The differences that I can see is that RR have transparency/blur in notification panel and round customizations, cLock weather on lock screen, weather on status bar on RR and recents customizations are customizabler
[Nexus 6 Android Development] coremania:
Great work, perfect on commotio rom, no sound issues :good:
[Nexus 6 Android Development] apophis9283:
I have it all set up to compile V-4.2. Hopefully within the hour I will have updated the OP
[Nexus 6 Android Development] apophis9283:
OP has been updated to V-4.2.

I would wipe KA-MOD data and wipe caches. Especially if you're on "N".

Enjoy.
[Nexus 6 Android Development] coremania:
Any fixes or differences from MR 1.2 to 4.2?
[Nexus 6 Android Development] apophis9283:
Yes, I added a commit for entropy and enabled it and rotational storage by default.
[Nexus 6 Android Development] gothy.gothy:
Just wondering if it's working without sound issues on Nitrogen OS....
[Nexus 6 Android Development] apophis9283:
I dont know. I dont know where the ROM is at. 4.2 has MR-1.2 merged in it. I dont think you should have any issues if its based off AOSP.
[Nexus 6 Android Development] bigmarv31:
Dude you are a beast I see you constantly updating your kernel and helping people with their issues and wanted to let you know that you are the man we appreciate you brother and I have been running your kernel for from MM to N and love it the work you have put into it and the improvements you have made is amazing keep up the good work Thanks !
[Nexus 6 Android Development] apophis9283:
Trying to help NEO get RR up and running and I promised someone I would look into Visual Voicemail on RR as well. Since my kernel seems to be doing really well at the moment, I can finally start looking into these other things
[Nexus 6 Android Development] AykForever:
i'ld like to ask a question, if i flash latest kernel and have sound problems, it is reversible by flashing a previous kernel isn't it
[Nexus 6 Android Development] garywojdan81:
Or just dirty flash your rom
[Nexus 6 Android Development] apophis9283:
I left 4.1 on android file host just in case
[Nexus 6 Android Development] CyberpodS2:
I have run RR, Nitrogen and now running Pure Nexus 7.1.1 and would not have a single issue with using any of them as a daily driver. I personally seem to always return to PN. Sorry I can't really tell you why so prolly just a familiarity thing. I'm pretty sure you'll be happy with any of them. Have not tried DU on nougat. If you're doing a flash day, give PN Quick install if for no other reason than to put it away without a doubt of your choice. :) Dynamic gapps and super su have been my routine lately also for what it's worth.
[Nexus 6 Android Development] Thunderbolt69:
I'm just curious how rotational storage would be beneficial on a device that doesn't have rotational storage?
[Nexus 6 Android Development] christianpeso:
Whats the thought process behind enabling rotational storage?
[Nexus 6 Android Development] apophis9283:
I read this when I was making the decision. What better way to test and try to figure stuff out than test. I figured if there were any issues like "slow downs" or anything of the sort someone would definitely notice and say something.

https://wiki.samat.org/SSD

I am also making a last MM RR build for myself, with a Verizon VM fix.
[Nexus 6 Android Development] CyberpodS2:
Sweet.
[Nexus 6 Android Development] apophis9283:
I know Ive been doing this kernel for quite some time, but it is my first kernel. Before this I had been doing ROMs and they couldnt be any more different. Im still in the process of figuring stuff out. Testing for myself what works and what doesnt. I have learned a TON over the time Ive been doing this kernel but there is still a few things here and there I want to see for myself.
[Nexus 6 Android Development] apophis9283:
Here is a link to my last MM RR build. It hopefully has the Verizon Voicemail fix. As well as the no throttling below 40%. Any changes that RR MAY have made.

RR-MM-BUILD = https://www.androidfilehost.com/?fid=529152257862694023

IF YOU DO NOT FLASH A KERNEL WHICH DOES NOT ENFORCE ENCRYPTION, THIS WILL ENCRYPT YOUR DEVICE. IF YOU USE MY KERNEL SIMPLY FLASH ROM, GAPPS, MY KERNEL AND THEN WHATEVER ELSE YOU MAY NEED TO FLASH
[Nexus 6 Android Development] jcrompton:
Is this based on Neos build or plain RR?

Forced encryption?
[Nexus 6 Android Development] str8str:
It treats it as rotational storage. Just read up on it
[Nexus 6 Android Development] apophis9283:
Plain RR with a few things I added, like the no throttling below 40% and hopefully the Verizon Visual Voicemail fix.

AND YES!! It will encrypt your device, if you DO NOT flash a kernel like mine after you flash ROM and Gapps.
[Nexus 6 Android Development] Thunderbolt69:
Have read up on it, really no benefit plus can make the device slower. Can't treat something as rotational when it's not. Something like this would benefit hard drives.
[Nexus 6 Android Development] apophis9283:
You're welcome to disable it. Until I decide one way or the other its enabled. I never said it was going to stay. I just haven't noticed a difference one way or the other. Deciding it slows the device down based on something read is not how I work. I've been running it for 2 days and I haven't seen anything being slown down. On the other hand I don't see it speeding anything up. So I guess you could say I'm indifferent
[Nexus 6 Android Development] rignfool:
You should notice a difference in cold start times for apps that use random...

If your entropy is depleted... You'll wind up with 'blocking' until your device can create enough random numbers to satisfy the app...
[Nexus 6 Android Development] Dopamin3:
I can confirm Verizon Visual Voicemail has been fixed in this build :)
[Nexus 6 Android Development] apophis9283:
Good.

Hope everyone is enjoying everything. Gonna kick back and relax for a bit. :)

Thanks to everyone for hanging in there with me.
[Nexus 6 Android Development] apophis9283:
Made some changes to the OP. Tried to clean it up a bit. I even moved the Singularity boot logo zip stuff to post 2
[Nexus 6 Android Development] Kiristiba:
Hmm, isn't it a security issue too, if you draw the random number entropy from a source that isn't truly random?
[Nexus 6 Android Development] TheGeekyNimrod:
Is anyone else seeing one of there CPU cores stuck on the max frequency? I just noticed this morning that my first core is staying maxed out on the max at all times. Hard to see because of the theme makes the circle showing CPU usage almost impossible to see, but it's staying around 50%+ at all times.

If I grab a log, what should I be looking for to figure out what the issue is? It's the latest 4.2 using the default settings. Darkness governor, BluPlug hotplug, etc.

Edit: I did wipe KA-Mod data before and after flashing the kernel, and wiped the typical caches after the flash. Running this on the latest PureNexus release.
[Nexus 6 Android Development] picky2004:
help please

I am on Nitrogen OS

I flush the kernel for nougat 4.2 and now i don t have any sound from speakers or headset

only from headphones or Bluetooth

what can i do

I re flush the kernel no change

also flush different kernel no change

what are my options

thank you
[Nexus 6 Android Development] MrSplaat:
First of all, that has been discussed earlier in this thread. Search is a nice feature ;)

Second, dirty flash the ROM and stick to stock kernel, or flash 4.1. The issue with no sound exist because of a commit in Nitrogen and the merging of MR 1.2 into the kernel.

As a side note: Never EVER flash a custom kernel on top of another custom kernel. Always dirty flash rom before flashing new kernel.
[Nexus 6 Android Development] Unreal_Shogo:
I see it too. I change to Smartmax, the frequencies are low, but the CPU is 100% of "work"
[Nexus 6 Android Development] MrSplaat:
I used a few hours today fixing the one core staying at max, but in my case that happened on whatever kernel I checked. It disappeared after I'd done a restore of a backup I did when the issue occurred, meaning that the backup should've contained the error as well, which it didn't. I think it started after I installed 4 apps hours before, one of the being an app freezer. So either the rom is borked up, or the app was the culprit. At least it works completely fine.
[Nexus 6 Android Development] jolinnard:
Replace /system/etc/mixer_paths.xml for this and should be fine.
[Nexus 6 Android Development] apophis9283:
You know, I am amazed at everyones idea of security. I mean, just being rooted is a security risk. Yes, it could have security "issues". But lets really think about what we do to our phones. The security issues this would pose I would imagine being tantamount or less than being rooted.
[Nexus 6 Android Development] apophis9283:
If its staying at that high of a percentage. Something eating up your cpu. An app, or something gone hay wire in the ROM
[Nexus 6 Android Development] apophis9283:
Yeah, if the ROM and Kernel arent on the same page. Then the no sound issue will e present. BUT! I did keep version 4.1 of my kernel on android file host. If you have no sound on your ROM, go there and get V-4.1 for M or N.
[Nexus 6 Android Development] apophis9283:
And finally. Really appreciate you all coming together to help each other out. Thats awesome. I really do appreciate it.
[Nexus 6 Android Development] TheGeekyNimrod:
I'm gonna go through in a bit and do a complete wipe of the phone and a brand new install of everything. And will add apps one at a time to see what's up with it all.
[Nexus 6 Android Development] apophis9283:
check your over all stats. Like time in frequencies. See if its showing that its staying at a higher frequency for extended periods of time.
[Nexus 6 Android Development] apophis9283:
Here is core 0 and core 1 stats for me

Its doing what it should be doing.

In case anyone sees this and is wondering why the deep sleep isnt better. Its because I listen to Pandora all night. So that keeps the phone awake.
[Nexus 6 Android Development] TheGeekyNimrod:
As you can see in mine, my Core0 is not sleeping like it should. I have a suspicion on what it could be, but I'm gonna do the freshest of fresh installs and slowly add things back. I don't see this issue very often. I just happened to notice that last night and this morning my SOT was definitely not what it has been. I'll see how it goes after reflashing everything.
[Nexus 6 Android Development] picky2004:
Thank you Fixed it
[Nexus 6 Android Development] apophis9283:
Something is keeping the phone awake. You can use an app or try and peek in settings/battery
[Nexus 6 Android Development] jcrompton:
[MENTION=4392154]apophis9283[/MENTION]

Did you ever decide about a particular N ROM to try?
[Nexus 6 Android Development] apophis9283:
No. Given that "N" is still under construction and the fall of CM to the rise of L-OS I figured it would be better to wait til it all gets sorted out.
[Nexus 6 Android Development] apophis9283:
[MENTION=5201751]str8str[/MENTION] who is one of my testers got with me at yesterday on Hangouts and said he was at around 6.

I dont know if he completely uses my defaults or any other mods he may use, but maybe he could chime in.
[Nexus 6 Android Development] apophis9283:
Not a problem. I still want people to chat. Report if something is missing or not working properly. Just instead of fixing it that day, I can promise it'll be done within a week.
[Nexus 6 Android Development] CyberpodS2:
I know you dig RR, but just for your consideration when you're ready... I have found both Pure Nexus 7.0 and Nitrogen 7.1.1 to be absolutely rock solid products. Will be trying your kernel on the 7.1.1 in a few days once I get home.
[Nexus 6 Android Development] apophis9283:
Yeah, I'm holding out for more options and CMTE
[Nexus 6 Android Development] kamilmirza:
glad to have you back [MENTION=4392154]apophis9283[/MENTION] :)

as always thank you for your contribution to this community :good:

nice to some new settings especially in Thermal settings

i see you removed Auto High Brightness Mode, can we see it in the next release?
[Nexus 6 Android Development] apophis9283:
Auto HBM is still in KA-MOD. Under screen.
[Nexus 6 Android Development] apophis9283:
Heres a screenshot
[Nexus 6 Android Development] Dopamin3:
What's your navbar theme if you don't mind me asking?
[Nexus 6 Android Development] apophis9283:
https://play.google.com/store/apps/details?id=com.rc.navigatearcus&hl=en

Use arcus with it

Thats for CMTE. He has versions for other theme mods
[Nexus 6 Android Development] Dopamin3:
Thanks. I hope CMTE comes out for N soon, and xposed framework would be nice too. Until then it's Dirty Unicorns 10.6 + Singularity 2.7 (and any new versions :)) I would use RR but on both the official builds and Neo builds Verizon Visual Voicemail doesn't work.
[Nexus 6 Android Development] apophis9283:
They may have something missing. I have RR N source. I was able to add Gello browser through a work around for NEO. Maybe I could figure out the Visual Voicemail issue.
[Nexus 6 Android Development] apophis9283:
So for those of you have tried 2.7, what's your thoughts? M and N versions
[Nexus 6 Android Development] nodnarb91:
Running on N and it's going very well. Using everything stock except the chill governor, when listening to music it freeze songs sometimes, tried increasing suspend max freq but it still happened. Went with darkness/nightmare and it works very well with intelliplug hotplug. Thanks man.
[Nexus 6 Android Development] apophis9283:
I have had really good luck with Darkness in the past. I may make it the new default.
[Nexus 6 Android Development] justen7723:
Only issue I have is that on 7.1.1 ROMs hotspot is broken.
[Nexus 6 Android Development] apophis9283:
I will look into this. I dont run 7.X.X ROMs but I promised if I made a 7.X.X kernel build I would support it.
[Nexus 6 Android Development] apophis9283:
Can anyone else verify (among other ROMs) that wifi hotspot is broken? It will help narrow down where to look if its broken across 7.0 ROMs or just a few. I would greatly appreciate it.
[Nexus 6 Android Development] kamilmirza:
i'm on Nitrogen OS 7.1.1 with 2.7 N and WiFi Hotspot is NOT broken

everything is superb!
[Nexus 6 Android Development] justen7723:
Aosip and RR both had this issue. Not just with your kernel but others as well (blackbird, despair, and flash all were the same) flash kernel just updated with it fixed of that helps.
[Nexus 6 Android Development] Dopamin3:
Thanks, I sent you a PM so I don't clutter up your awesome kernel thread.

I'm not 100% sure, but I think it has to do with this commit in the ROM. Not your kernels fault.
[Nexus 6 Android Development] apophis9283:
Yeah, Ill peek at Flash's kernel source and see what's up that helps.
[Nexus 6 Android Development] apophis9283:
I went ahead and reverted. All the add random (entropy) stuff. Cleaned up how I set Maple I/O defaults and added back Mythx_Plug governor.
[Nexus 6 Android Development] AykForever:
Is it possible to have a 4.2 version of this kernel without the fixes for sound. i'm using 4.1 currently and the rom i'm using won't be updated soon. Or 4.1 and 4.2 doesn't differ too much on performance?
[Nexus 6 Android Development] apophis9283:
4.2 doesn't REALLY differ. As time goes on though, they will start to differ and trying to not keep MR-1.2 is just too much.
[Nexus 6 Android Development] TheGeekyNimrod:
[MENTION=4392154]apophis9283[/MENTION] It seems that my complete wipe and clean install of everything has solved the CPU issue I was having earlier. No longer using 50+ anymore and sleeping lik e a baby. Only thing I did different was not apply a theme through Substratum. Not sure if that really was the issue but all is good from here now using most of your defaults.
[Nexus 6 Android Development] apophis9283:
Good to hear. Let me know if you need anything
[Nexus 6 Android Development] str8str:
Hey there I use basically all your defaults now that we're worked on em. Using darkness to. ?

---------- Post added at 02:49 AM ---------- Previous post was at 02:44 AM ----------

Fresh start this morn and I'm at three with 48per left so 6hrs sot has been pretty consistent
[Nexus 6 Android Development] MrSplaat:
Latest PN with Singularity v4.2 is really flying. Speeeeed :laugh:
[Nexus 6 Android Development] jcrompton:
Just out of curiosity ... Do you have the kernel default settings? For me the default settings on N Roms is more geared toward battery than speed

Any thoughts?
[Nexus 6 Android Development] MrSplaat:
Atm I use default settings, but I guess I will tweak the settings soon.

The snappiness, stability and general performance are amazing imo. No lag, micro stutter or stuff like that.
[Nexus 6 Android Development] apophis9283:
The default settings for M and N are the same
[Nexus 6 Android Development] jcrompton:
I understand for sure ... but I think how those settings run on M vs N is for some reason a bit different (granted the only M ROMs I use are CM based, while I have used AOSP on N)