yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy Note II] ffolkes:
I don't think mdm was ever supposed to be addressed by sbrissen's new wifi drivers, although I was secretly hoping it would be. :P I think it is for people who are getting hours of those 2 wlan wakelocks. Weeks ago I didn't really experience them (only a few minutes for 12 hours of standby), then one day I did, then I set my router to assign it a static DHCP address and it was fixed - then it came back. It's frustrating. For what it's worth, I haven't been around wifi enough to test the sbrissen drivers myself, so maybe it does help for people.

Thanks to all the people who have reported results. To be clear, this was just sbrissen's patch, I didn't do anything special with it, and it is correctly applied to the best of my knowledge. So if you really are seeing no reduction in the wlan wakelocks, then his patch might not be as good as we hoped. Or it could be it really does help some people because of some hardware nuance between all of our Note2's.

To me, the mdm stuff seems to be more about the number of wakes than the actual lock. If it wasn't waking up thousands of times, it wouldn't have used up so much lock time, which leads me to think it's not like anything is hanging or timing out. If we could get that solved, AOSP would have better battery life than stock.
[Sprint Samsung Galaxy Note II] :
So, when will the new kernel be released?
[Sprint Samsung Galaxy Note II] Skripka:
Okey, so it should be the wifi wakelocks be lower? The mdm_hsic lock is always top honors... Though in the back of my brain the wifi locks seem lower. See below, compare the 1st couple pics of experimental kernel to the final shot I have of the older kernels.
[Sprint Samsung Galaxy Note II] bobloiy:
Is this kernel better than the stock carbon ROM kernel?
[Sprint Samsung Galaxy Note II] Rooster85:
Only roughly 10% drop overnight. Much better than before. On test kernel.
[Sprint Samsung Galaxy Note II] bjrmd:
OK-

If enabled-nowake lock is chosen: Screen turns on with swipe(sometime, not always) but not by hitting touch keys-back/menu--usually need to hit power button---pattern lock works

If enable-wakelock is chosen: Screen will turn on with swipe OR hitting a touch key-----but pattern lock does not kick in, no led blinking associated events either

What I was also looking to do is to have a screen off condition, (with wake lock)--and turn it on/unlock with a pattern.
[Sprint Samsung Galaxy Note II] e92dream:
I can't get BackBlink to work. I've tried Auto and Manual pattern. Test works though. I'm on Carbon Rom.
[Sprint Samsung Galaxy Note II] ffolkes:
I found a lot of bugs with Touchwake and PatternUnlock, and I think all are fixed now. What ROM do you use, so I can send you a test? Are you using an L900 or t0lte?

I'll test Carbon myself, can you please point me to the latest version for the L900?
[Sprint Samsung Galaxy Note II] andygu3:
https://carbonrom.org/mirrors/?file=l900/nightly/CARBON-KK-NIGHTLY-20140801-1832-l900.zip
[Sprint Samsung Galaxy Note II] ColeTrain!:
I'm not sure which Version he is using. All of the latest are on Google. Here is the OP. Follow the link to Google and then select l900 but then again, I'm not sure what nightly he is on. The latest, i guess.

http://xdaforums.com/showthread.php?p=50629242
[Sprint Samsung Galaxy Note II] bjrmd:
I am using sprint/omni

Thanks
[Sprint Samsung Galaxy Note II] trouinky:
I'm on CM11 with the latest plasma and my screen goes to sleep and doesn't wake up. The phone is still working fine, rings when I call it, I hear notifications, etc. Any ideas?
[Sprint Samsung Galaxy Note II] t4d73:
I had this problem before too. Under the cpu tab in the cpu pm lock frequency, jack that up to your max cpu setting and see if that works.
[Sprint Samsung Galaxy Note II] doubleu:
Guys, I'm going to ask a question that I've asked in the past, but now that we're a couple versions on, and moved to Synapse, I'm curious if anyone has any new info on this. When I have Plasma and CM11 installed, listen to streaming audio (TuneIn Radio or Pandora via wifi), and play to a bluetooth audio device, as SOON as the screen goes off, the audio will start skipping to the point where it just stops with a connection error. No matter what governor I select (I've tried PegasusQ, zzmove, and performance), the second the screen goes off, audio will start skipping until it times out. Pandora will report "sorry i am unable to connect to pandora com" with a spinning circle. TuneIn radio will just report 0% buffering. I have 'Widget Screen On' installed, and when i specify to leave the screen on, the audio will never skip. This has to be some sort of wifi power management, right? Anyone have any ideas on what I can tweak in Synapse to help fix this by chance?
[Sprint Samsung Galaxy Note II] bjrmd:
Check the sampling rate(under zzmove scaling) and the rate multiple for screen off---try a rate of 50 ms and a multiple of 1 - this will make the cpu ramp up quicker. Also, I set the min cpu freq to 400000 (I use tasker ) but you can try it manually to test. Also, try the min cores with screen off to 2(not 1) and change the max freq when screen off to 1600000. I have had similar problems but have always been able to compensate this way.
[Sprint Samsung Galaxy Note II] doubleu:
After making these changes and turning the screen off while streaming, everything seems to be working now! One other option I stumbled across adjusting the stuff above, was 'minimum frequency while plugged in' and changed that to 400MHz as well (since whenever doing this activity (streaming over wifi to a bluetooth audio device), i'm plugged in charging)

Thanks bjrmd!
[Sprint Samsung Galaxy Note II] ffolkes:
One zip to rule them all... Try out the new aroma installer for all ROMs!

*** L900-only, until people have verified it works. ***

v.2.54 - (August 23rd, 2014)

- Touchkey Multitap

- Fixed several Touchwake/PatternUnlock bugs

- PatternUnlock more reliably detects taps now

- PatternUnlock input lockout now includes the S-Pen

- No more accidental finger input after unlocking

- Touchwake will not activate when most apps turn the screen off

- Touchwake will not activate when Screebl turns the screen off

- Workaround for getting stuck at OCed frequencies

- Added wireless charging current control
[Sprint Samsung Galaxy Note II] bjrmd:
Aroma install successful on omni

Pattern unlock working as long as touchwake engine off

No problem with this, keeping a wakelock so basically the same as slide to wake with a touch pattern

Thanks for the hard work

---------- Post added at 05:47 PM ---------- Previous post was at 05:36 PM ----------

BTW, I am trying to make a tasker profile to boost performance with screen off and music playing.

Is it correct to change the file below for instance?

I can also change the synapse database but that only works on boot, I need to change the setting dynamically

/sys/devices/system/cpu/cpufreq/zzmoove/freq_limit_sleep
[Sprint Samsung Galaxy Note II] jlmancuso:
Now your kicking butt!! Keep up the killer work. On a side note you said something before about a possible tw kernel. Is that still a possibility? Not asking for eta.
[Sprint Samsung Galaxy Note II] bjrmd:
Looks like pattern unlock pattern data does not survive reboot--also the pu_unlock file still shows 0--even when the pattern is put in and working before rebooting
[Sprint Samsung Galaxy Note II] t4d73:
You guys still showing 2.53 in about phone? Been confirmed on g+ with someone running carbon as well.
[Sprint Samsung Galaxy Note II] jlmancuso:
How long after setting the pattern lock do you reboot? If less than a few mins everything reverts back to default in case there was a freeze or crash/reboot. I have been using 2.53 on my aosp roms with pattern lock and no issues after reboot or restore of nand. Have not got to try 2.54 yet.
[Sprint Samsung Galaxy Note II] t4d73:
The new Aroma installer works great but still showing 2.53 in about phone and synapse as well. No new change log in synapse either. He probably just put up the wrong zip is all.
[Sprint Samsung Galaxy Note II] jlnortell:
The new installer worked great for me but I had a problem where I was unable to get WiFi to work.
[Sprint Samsung Galaxy Note II] bjrmd:
Waited half hour, no go

Thanks though
[Sprint Samsung Galaxy Note II] t4d73:
Are you showing 2.54 for a version #?
[Sprint Samsung Galaxy Note II] hondafreak513:
I can't get WiFi to work also
[Sprint Samsung Galaxy Note II] ffolkes:
That is correct. If you change it outside of Synapse, Synapse will detect it but not overwrite it. That means if Synapse opens and it's different from what it remember it as, it will display the Apply/Cancel buttons on top. I guess you could edit its sqlite database in /data/data/com.af.synapse, but I don't know how to do that offhand.

Thanks, and I don't mind ETAs anyway. :) I still hope to get a TW version out, but I haven't even got the AOSP working yet smoothly. :P

In typing troubleshooting steps, I think I figured this out just now. It seems like the virtualkey handler script that gets put in init.d was never set as executable. The L900-CM11 version did this properly, as it is what I use for all my testing. But somehow I forgot to copy that line over to all the other ROM and model variants when I built them a while ago. If this is correct, it means all the virtualkey actions haven't been working for you guys for months... Try the new version and see if that fixes your patternunlock problem.

http://www.plasmakernel.com/downloads/l900/latest/plasmakernel_v2-54a_l900_kk_aroma.zip
[Sprint Samsung Galaxy Note II] egodriver07:
Fixes the pattern unlock problem here! Survived a reboot! Yay! Thanks.
[Sprint Samsung Galaxy Note II] bjrmd:
Fixed

Pattern file now has data in it

Thanks again
[Sprint Samsung Galaxy Note II] ffolkes:
So glad to hear that's working! :good: And if that wasn't working before, that means none of this other stuff was either. So that should be working now, too.

Aroma installers should work for all variants now!

L900

t0lte

n7100
[Sprint Samsung Galaxy Note II] hondafreak513:
Is anyone else having WiFi issues. I used 2.53 and WiFi works but not on 2.54
[Sprint Samsung Galaxy Note II] Skripka:
Negative, wifi works fine.
[Sprint Samsung Galaxy Note II] hondafreak513:
OK I will try it again..

---------- Post added at 02:43 PM ---------- Previous post was at 02:33 PM ----------

It's working now..
[Sprint Samsung Galaxy Note II] jlmancuso:
Just tried 2.54 aroma on BAKED (uses cm ramdisk) and it wont update the kernel. It installs the drivers and scripts but not the kernel. Going to try on schism (another cm based rom) and see what happens there.

Edit: Installed Schism and same thing. The kernel does not flash. I saved the log and have attached it. I used both Philz 6.07.9 and 6.48.4 recoveries and same results.
[Sprint Samsung Galaxy Note II] ffolkes:
Thank you so much for this! It looks like I uploaded the old aroma ZIP for L900 (the other variants are correct though, why they don't work with TWRP I don't know). What I had up there, and what you were using, was the old L900 one. Try the new one and send me the log if it doesn't work, but it should work with Philz. It does for me... It's in the same place, just redownload it.
[Sprint Samsung Galaxy Note II] jlmancuso:
Thanks.
[Sprint Samsung Galaxy Note II] ffolkes:
Version 2.54 is being re-released, it has more features than the aroma versions posted here over the past few days. I suggest just using the old fashioned ZIPs for now.

v.2.54 - (August 25th, 2014)

Touchkey Multitap

Fixed HUGE bug that prevented VirtualKey stuff from ever working for many users. Because this was broken, the "dedicated" camera key (via the Volume Multi-Key) ddn't work either. I suggest you try it out, I use it all the time.

Fixed several Touchwake/PatternUnlock bugs

PatternUnlock more reliably detects taps now

PatternUnlock input lockout now includes the S-Pen

PatternUnlock pattern now persists through reboots

No more accidental finger input after unlocking

Touchwake will not activate when most apps turn the screen off

Touchwake will not activate when Screebl turns the screen off

Workaround for getting stuck at OCed frequencies

Synapse database permissions are checked on each boot

Aroma installer (work in progress, only works for Philz recovery)

Added wireless charging current control

Stock LED colors for system (ie. battery) notifications

ZZMoove input booster now detects S-Pen

Fixed bugs in several sliders on S-Pen tab (Synapse)
[Sprint Samsung Galaxy Note II] aleve1983:
Work on nameless rom?
[Sprint Samsung Galaxy Note II] goast:
Hi sorry if this isn't a proper way to ask but I don't own this phone I've been rooting and romming for while just curious does this work with liquid smooth?

Edit: is double tap to wake built in by default now or would I need to get the multi gesture thing in the op? Thanks again
[Sprint Samsung Galaxy Note II] japugh0578:
Website and host is down. Any links to a host for this kernel?
[Sprint Samsung Galaxy Note II] jlmancuso:
If you don't own this phone why do you even ask?
[Sprint Samsung Galaxy Note II] goast:
Really?..... Because I've been rooting and putting ROMs on my friends phone for over a year...he doesn't know how to...

Edit: I guess I should make it clearer, even tho I don't own this phone I'm still asking about it for this (and by this I mean the note 2) phone, because clearly in not that stupid
[Sprint Samsung Galaxy Note II] jlmancuso:
The add on stuff is only for the old kernel version. You need synapse from play store to setup kernel options.
[Sprint Samsung Galaxy Note II] goast:
Thank you.. I also noticed after the fact that there is no liquid kernel so I guess he's out of luck
[Sprint Samsung Galaxy Note II] jlmancuso:
One of his versions will work. I suggest going to the liquid thread and asking which version you should use.
[Sprint Samsung Galaxy Note II] andygu3:
Thanks for the update!

DU kernel running exceptionally well!
[Sprint Samsung Galaxy Note II] bjrmd:
FYI-- Android 5 version

http://www.plasmakernel.com/downloads/l900/latest/plasmakernel_v2-57_l900_lp_cm.zip
[Sprint Samsung Galaxy Note II] jlmancuso:
Note: there is only a cm build for now. Once tested and confirmed good other builds will be released.
[Sprint Samsung Galaxy Note II] t4d73:
Charging my note 2 now. I'm on the note 4 but I have to see this. I'm sure it's awesome. Us note 4 users still have no Lollipop. Of course there's tons of roms out there but nothing official and miss note 2 lol. I'll let you know if I run into any issues. Thanks ffolkes for all you do for us. :thumbup:
[Sprint Samsung Galaxy Note II] mysticjp:
tried installing this kernel on cm 12 but the note 2 screen shows after reboot then nothing =( HALP plz =)

edit : the kernel worked on liquidsmooth build 2-3

the newest build 2-27 i believe it does nothing after the note 2 splash screen
[Sprint Samsung Galaxy Note II] bjrmd:
It worked for me using a nightly from last week but would not connect to any cell tower data. Calls and wifi data ok. Weird, also tried Shift kernel but that would not boot.

Since I use the voodoo sound mods still waiting for a working kernel.

Btw, xposed alpha was working.

Back to Omni 4.4
[Sprint Samsung Galaxy Note II] jlmancuso:
It is a kernel feature that lets you know that a process has taken up all your resources.
[Sprint Samsung Galaxy Note II] thecensor:
I installed it, now how do I configure it like undervolting?
[Sprint Samsung Galaxy Note II] jlmancuso:
Bet if you read the OP you can find the answer. I know I did.
[Sprint Samsung Galaxy Note II] thecensor:
Ok. I instaled stweeks, but now I get "unexpected error"
[Sprint Samsung Galaxy Note II] jlmancuso:
Okay. What version are you using? 2.5x? If so remove stweaks and install synapse.
[Sprint Samsung Galaxy Note II] thecensor:
Did it, thanks
[Sprint Samsung Galaxy Note II] ColeTrain!:
Anyone running on CyanogenMod 12?
[Sprint Samsung Galaxy Note II] jiffy1080:
Test kernel with wifi drivers:

The test kernel seems to be doing great. Almost no drain from wifi today and have been on wifi for over 50% of the time.
[Sprint Samsung Galaxy Note II] Herk718:
Test kernel running great! Only had one issue when switching between governors the phone screen went black, and I had to pull battery to reboot. Since then I tried reproducing the problem and it never happened again.
[Sprint Samsung Galaxy Note II] harrychimp:
Rooster,

Was this using 1.43 or the test kernel?

That is phenomenal battery life for the amount of screen time and length of time the phone was using only the battery.

If that is the test kernel, I'd like to be a tester as well. Where do I sign up?

I'll be predominately using WiFI tonight through Sunday evening.
[Sprint Samsung Galaxy Note II] Rooster85:
This is the test kernel with new drivers and the gesture control, ID say I was on WiFi for about 60% of the day. The rest on 3g. I was quite surprised myself
[Sprint Samsung Galaxy Note II] ffolkes:
I'll finally be releasing 1.45 tonight. It took me a dozen of hours to find out why the gesture detection was so buggy, and with the help of Tungstwenty, we found the problem. Not to mention the entire day before that I spent being perplexed with their unreliability before I realized there even was a bug in the first place.

EDIT: Just so everyone knows, I didn't live up to my promise because I was working on something last minute (getting the touchkey drivers to trigger touchwake). I also ended up pulling a few commits, like TCP Proportional Rate Reduction, and Joe RCU. If anyone wants to test this, let me know.
[Sprint Samsung Galaxy Note II] Dogie52:
Hey is there any way you can roll back on the LED fixes/additions it causing issues with my rom.
[Sprint Samsung Galaxy Note II] jerdoggmckoy:
Thank you for your hard work. I'm a noob, and I probably know enough to do more harm than good. I am trying to learn as I go though. I bought a new bluetooth, my third in a few weeks that I have been testing and returning, trying to get one that works decent.

I started testing this new bluetooth on the Synergy TW ROM. Everything with bluetooth was working fantastic, the people I called said I sounded great and they could hear me fine, but inbound call volume was so low I couldn't use it, and media volume was acceptable, but could have been louder.

I flashed the Carbon ROM, which I love, and using the Ziggy kernel, everything seemed to work fine, accept I was told I could barely be heard this time by my callers, though I could hear them much better this time around.

A short while later I flashed this Matrix kernel, and when calling my wife I was told I sounded very quiet and muffled. Like I said, I'm a noob, but I'm starting to get the impression that the quality of Bluetooth is controlled by the kernel. Is this true, and if so, is there anything I can do to improve my bluetooth experience using a custom kernel such as this one?

Thanks in advance for any help!
[Sprint Samsung Galaxy Note II] imneveral0ne:
This kernel isn't for touchwiz ROMs, it's for aosp ROMs.
[Sprint Samsung Galaxy Note II] jerdoggmckoy:
Right, thanks. I'm currently on the Carbon ROM as mentioned. I was just walking you guys through the steps I've been taking to draw the conclusion that maybe bluetooth is controlled by the kernel.

Like I said, I don't know a whole lot about what determines what. But the fact that I was getting varying results each time a new kernel was introduced has led me to believe that this might be the right place for my question. I appreciate you taking the time to help though, for sure!
[Sprint Samsung Galaxy Note II] Rooster85:
I'm just gonna go ahead and say that battery life is just as good as stock, even if the stats don't show it. I wonder how much juice we can pull once these wake locks get sorted this was on 3g pretty much all day with crappy signal at my grandmothers. I always leave WiFi on as well so I know when there's a signal around.
[Sprint Samsung Galaxy Note II] Rooster85:
Updated before bedtime!
[Sprint Samsung Galaxy Note II] sleshepic:
Just wanted to say thanks to the OP. Kernel has been running excellently with my ROM. Smooth and great battery, haven't been missing TW at all
[Sprint Samsung Galaxy Note II] mugenga:
Has anyone else had an issue with the 1.43 Kernel where the phone randomly takes forever to wake up from a sleep or screen off state? When this happens to me, everything is unbearably slow after the screen finally wakes up. It's as if the processor is getting stuck at an extremely low frequency. My minimum frequency is currently set to stock 200Mhz. I can't remedy unless I do a battery pull.

This issues seems to happen more consistently when I play music via my bluetooth headphones for awhile then pause my music via the pause button on my headphones while the screen is off.

I'm running Carbon Nightly 05/03 and Matrix 1.43. This has been happening since Carbon 1.6 (I've only run Matrix on Carbon). I was assuming this might be more of a kernel related problem then a rom related problem as this looks more like the processor is unable to ramp itself back up after going into a lower power state.
[Sprint Samsung Galaxy Note II] sleshepic:
Actually yes I did notice this behavior, mainly when USB was plugged in I believe. I stuck with 1.4.2 for PAC of ICE and have no wake issues
[Sprint Samsung Galaxy Note II] jiffy1080:
Personally I haven't had any wake issues. I have my sampling set a little more aggressive than stock though so you may want to give that a try.
[Sprint Samsung Galaxy Note II] mugenga:
Can you be more specific about what you mean by "sampling"? Which menu and setting is this located in STweaks?
[Sprint Samsung Galaxy Note II] ffolkes:
I have never encountered this myself, on USB or otherwise (and I spend lots of time on USB). That's very weird. What governor are you using?

I will be updating the OP soon, but the latest version is finally here. v.1.50
[Sprint Samsung Galaxy Note II] Lunus:
Thank you ffolkes. Is this ^ the final version :)
[Sprint Samsung Galaxy Note II] jiffy1080:
Sorry - just made it as a quick note while on break at work. Here are a couple of screenshots with the settings:

Edit: fixed pictures

---------- Post added at 07:02 PM ---------- Previous post was at 06:59 PM ----------

Any chance you are still doing one with GPU OC?
[Sprint Samsung Galaxy Note II] mugenga:
I'm using the stock Pegasus Governor with I/O set to Row. I've moved over to v1.50 (and Carbon 1.7) though, so I'll see if the issue replicates itself.

By the way, Do you have plans to add anymore governors to Matrix (i.e. interactive, ondemand, Smart*ss. etc)?

Edit: I'm guessing the zzmoove governor is the same denoted here?

http://xdaforums.com/showpost.php?p=35616443&postcount=506
[Sprint Samsung Galaxy Note II] ffolkes:
I haven't added them because they are not multicore aware (and need a separate hotplugging driver). From what I understand, they are "outdated" in a sense. I personally like AndreiLux's version of Pegasus, and he has alluded to a rewrite in the future of some sort. zzmoove is supposed to always favor a lower frequency, and you can limit it to x amount of cores while sleeping, both of which are obviously better for battery life. You can see the former in action when you switch governors - Pegasus pretty much always idles at 400MHz (as defined in the "Frequency for Responsiveness" tunable) whereas zzmoove will kick you down to the bottom level as soon as it can, which is usually within a second or two.
[Sprint Samsung Galaxy Note II] mugenga:
Thanks alot for the response ffolkes. Your new kernel update is awesome!

Another semi-kernel related question, do you (or anyone else) see much of an improvement in overall game performance with the 733Mhz overclock outside of benchmarks?

Edit: Also, I've been reading up on different I/O schedulers; have you heard of the FiOS scheduler? I've read that it was design to optimize memory access specifically to/from flash memory.
[Sprint Samsung Galaxy Note II] Skripka:
OC makes general GUI actually butter smooth at stock clocks and even down to steep underclocks.