yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy Note 4 Android Development] ryanbg:
It might say r4, even though it's actually r6 if that's what you're wondering. I forgot to update local build version, so as long as you flashed the right zip, you're running the latest.
[Verizon Galaxy Note 4 Android Development] weaverinva:
No worries. It was my bad. I had flashed the PF3 firmware and over wrote your kernel. Reflashed and I am good.

Thank you to both for your responses.
[Verizon Galaxy Note 4 Android Development] beepFTW:
Hey ryanbg. Just wanted to let you know that I flashed r8 on my N910T (OvrDriVE MM V.5) for no reason. I accept full responsibility for what I did. That aside I can tell that I have not encountered any problems. As far as I can tell, everything works great! So long as you set securestorage to false.

Thanks for such a great kernel! :good:
[Verizon Galaxy Note 4 Android Development] pjrmax403:
How do you set Secure Storage to false?
[Verizon Galaxy Note 4 Android Development] douger1957:
Like this?

---------- Post added at 10:53 AM ---------- Previous post was at 10:52 AM ----------

http://xdaforums.com/showpost.php?p=67560571&postcount=55
[Verizon Galaxy Note 4 Android Development] douger1957:
No biggie, but my notification LED isn't working. Jasmine 6.0
[Verizon Galaxy Note 4 Android Development] heckfm:
Mine seems to be working fine. I'm on PaulPizz Rom.
[Verizon Galaxy Note 4 Android Development] douger1957:
I got it. Something must have clicked a setting off.
[Verizon Galaxy Note 4 Android Development] airmaxx23:
This is working very nicely on Jasmine 7.0, thank you for posting it.
[Verizon Galaxy Note 4 Android Development] XeoNoX:
anyway you can point me in the direction of how u implemented "usb fast charge" into the kernel. i cant find the code source/documentation for implementing it.
[Verizon Galaxy Note 4 Android Development] ryanbg:
https://github.com/oscardagrach/n91...mmit/5111bee1a7b7e776bc6f3fdafa3ba7f9949fb1d3
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Is there a version of this working for 5.1.1?
[Verizon Galaxy Note 4 Android Development] XeoNoX:
thanks ryanbg
[Verizon Galaxy Note 4 Android Development] NeoandGeo:
Regarding the USB Fast Charging, I noticed in Kernel Adiutor that it is turned off, but it is turned on in the OS settings menu. Do they reference two different things and is it OK to have it off in KA and on in the settings? Using Jasmine 7.0 for reference.

Thanks
[Verizon Galaxy Note 4 Android Development] mexigga:
Anyone using the latest release with a ZeroLemon battery? If so, how's the performance?
[Verizon Galaxy Note 4 Android Development] ryanbg:
New beta build in OP, added elementalX governor and some cpufreq driver changes. Also modified an init script, read the OP for more information. As this is a beta, it could be unstable, but it should work just fine. Appreciate any feedback from the beta.
[Verizon Galaxy Note 4 Android Development] ssb13:
Doh. I just flashed 8 and am getting a security warning.
[Verizon Galaxy Note 4 Android Development] joemill:
Flashed the new r9 beta build. The voLTE and cloud looking icons showed up in the status bar (this happens when you flash a custom kernel I believe, but did not happen with r8) I flashed the third zip In this post:

http://xdaforums.com/tmobile-galaxy...-remove-rcs-service-volte-icon-t3362336/page1

But now there is a blank space in the icons where the VoLTE icon was.

I also notice that mpdecision is still enabled in kernelauditor(maybe I need to wipe Data on that app)

And the ioscheduler is set to bfq instead of cfq from r8. Is bfq better?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
Bfq is much better than the cfq. Sioplus is nice as well. What rom are you on?
[Verizon Galaxy Note 4 Android Development] ryanbg:
I noticed the icons appear too, but I have no idea why that happened. I'm still working on the mpdecision stuff right now, lot of stuff to go through. I'm investigating the icons right now too. I prefer BFQ to CFQ, but it's personal preference. I'll keep you posted on any developments.

UPDATE: I'm scrapping all the changes, too much conflict. Flash this to get back on r8 and remove any changes. This will fix the icons.
[Verizon Galaxy Note 4 Android Development] ryanbg:
New update to r9 guys. This one is probably my favorite build so far. I started fresh from r8 and removed all the stuff I was testing in r9 beta. This build updates the thermal driver and yankactive to make it a little more responsive and fluid. Download in OP, enjoy! As always, feedback is appreciated.
[Verizon Galaxy Note 4 Android Development] joemill:
Thank you for the input!!

I'm running jasmine rom 7.0

---------- Post added at 11:06 PM ---------- Previous post was at 11:06 PM ----------

Sweet deal thank you ryan!!!
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
So far the new build is good. I'm on paulpizz and it's working very well for me.
[Verizon Galaxy Note 4 Android Development] EdrickMG:
Awesome performance on beta 9 with Paupizz rom.... Never been this fast and smooth
[Verizon Galaxy Note 4 Android Development] gcounts:
Thanks for the update....v9 running on Noble 3.0 S7 port.
[Verizon Galaxy Note 4 Android Development] av00va:
What do I have to do to get this to work with CM 13? My phone is running the updated kernel/bl/modem from Jasmine 7.0. I tried to install this kernel overtop and it hangs at bootup. Suggestions?
[Verizon Galaxy Note 4 Android Development] EdrickMG:
Sorry for the question but how does it perform with noble rom I have read aoscreen is working.... Is the touch Id working also [MENTION=1915913]gcounts[/MENTION]
[Verizon Galaxy Note 4 Android Development] gcounts:
Haha...sorry I'm on Kodiak Note7 port now....but I was running Noble rom with Oscar kernel and it ran great. I can't vouch for aoscreen working beacause I had it turned off. And I don't know what touch Id is? Sorry.
[Verizon Galaxy Note 4 Android Development] EdrickMG:
My bad finger scanner touch id
[Verizon Galaxy Note 4 Android Development] av00va:
Is there any child application which controls throttling of the CPU clock and/or verification of overclock?
[Verizon Galaxy Note 4 Android Development] ryanbg:
Throttling can be done in a couple places. Most likely, the thermal driver is doing so. You can disable this using Kernel Auditor, but I'd recommend leaving it enabled. The 805 can get a little toasty when pushed.
[Verizon Galaxy Note 4 Android Development] NeoandGeo:
I find if I try to do anything intensive while rapid charging, outdoors or even indoors when the ambient temp gets above 75f the phone can show some pretty noticeable lagging What is the default throttle temp for the SOC, and can it safely be raised any higher using Kernel Adiutor? I don't mind the phone being warm, but it feels like the throttle kicks in before the phone gets noticeably warm.
[Verizon Galaxy Note 4 Android Development] av00va:
I'm having trouble getting Oscar v9 to work. I have succesfully got it to work with Grace7, but no other ROM. I installed Jasmine v7, which booted fine. I installed Oscar v9 over top of it, and it hangs at boot. CM 13 will flip out and the boot animation will pulsate like a strobe light. PP just sits at the initial boot up screen. What is the exact process for applying this kernel? What am I doing wrong?

Update: PP booted with Oscar v9, but I prefer Jasmine to PP. Are they compatable?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
It is a stock rom kernel. Not AOSP. You need an AOSP specific kernel to flash with CM13. This will not work.
[Verizon Galaxy Note 4 Android Development] ryanbg:
Sloth is correct. This kernel only supports TouchWiz/Stock. Jasmine is highly modified by hsbadr and customized for his kernel, so it's hit or miss with Jasmine. PaulPizz should be 100% compatible.

Unrelated side-note: I've updated OP with v1.0. This build brings FULL support for F2FS in kernel and ramdisk properly patched. F2FS should actually work now with Note 4, I haven't really seen any other developers fix this issue yet, but tested and running f2fs on /data and /cache on my device.
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Difference between .9 and 1.0?
[Verizon Galaxy Note 4 Android Development] sulpher:
https://github.com/oscardagrach/n910v_mm_oscar_kernel/commits/master
[Verizon Galaxy Note 4 Android Development] joemill:
So far everything is running great with r10!! The standby drain is soo much better! Very happy thank you sir!

Anyone have suggestions to squeeze anymore out of this kernel?

I undervolted the CPU 10mv, set the io schedulers to bfq and read ahead to 1024 on both, and raised the temperate throttle up 5°c and everything seems good.
[Verizon Galaxy Note 4 Android Development] av00va:
What's the benefit of undervolting an OC CPU? How do I make these modifications myself?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
To be honest undervolting can hurt more than help. These phones are made to run efficiently and with the required voltage. Undervolting can be an issue but to make these changes you need an app like kernel auditor. Then you can look through the kernel and see what your phone is running at. Under CPU you can choose how you want your voltage and control your kernel. If you are new to this I recommend only playing with these settings after being way more familiar or knowing you could cause more issues for yourself. It is fun though.
[Verizon Galaxy Note 4 Android Development] GRock84:
Hey [MENTION=766721]ryanbg[/MENTION],

First off, excellent kernel by the way, thanks. I was just curious how this kernel effects the power saving mode(s) or vice versa, if at all? Any notable benefits or should we expect about the same results?
[Verizon Galaxy Note 4 Android Development] av00va:
I don't see any noticeable difference on PP's ROM. I am, however, comparing it to the stock ROM which by default ran more programs. On the Grace7 ROM it eats my battery quicker than I can charge it. That ROM leaks though..
[Verizon Galaxy Note 4 Android Development] ryanbg:
Thanks, appreciate the feedback. I'm not quite sure exactly what you're asking, can you clarify a bit? The advantages over the stock kernel are significant in my opinion. I disable mpdecision (stock hotplug/Qualcomm) and use MSM hotplug with the yankactive governor. The governor hi_speed_freq is set to 1958 MHz, so it ramps up a little higher than normal to complete tasks when not exceptionally busy. MSM Hotplug will online all cores if load is over 99%. Sometimes clocking a little higher to complete a task faster is better than having a lower clock doing a task for a longer amount of time. I feel it is a good combination for power efficiency. If there's something specific your looking for, feel free to ask!
[Verizon Galaxy Note 4 Android Development] ryanbg:
This is a good read for you guys. [MENTION=4684315]flar2[/MENTION] hits the nail on the head. This is why I like yankactive and keeping the freq at about 1958 MHz. The default 1728 MHz can sometimes suffer a little lag and I wanted to find the sweet spot. The points he makes with undervolting are spot on. These devices have very fine control over voltage and are good at governing themselves. From what I've seen, the bin on this CPU (APQ8084/SD805) are all pretty darn close too.

TL;DR Undervolting isn't necessary and benefits are negligible, but I exposed the option in case someone wanted to use it.
[Verizon Galaxy Note 4 Android Development] pattonsj:
One question [MENTION=766721]ryanbg[/MENTION]. Any plans for some wake controls in the future? I'm getting great performance from this kernel. Thanks.
[Verizon Galaxy Note 4 Android Development] Matthenson20:
This kernal has been nothing but fantastic, thanks for the hard work!
[Verizon Galaxy Note 4 Android Development] GRock84:
My bad for the lack of context. Sometimes I assume people can read my mind so I don't fill in the blanks lol But anyways, I'm on Jasmine Rom and being a TW rom it has the Power Saving and Ultra Power Saving modes. I was just curious if or how those two modes would benefit from your kernel vs the stock kernel, if at all? I haven't looked into the actual function of those modes to determine if it's all application based or if the kernel has much to do with it. I intend to do my own homework on the matter, I just figured I'd pick your brain while I was thinking about it. I'm very interested in developing my own kernel and the power saving features will be a large part of that. Thanks for the link and the info!
[Verizon Galaxy Note 4 Android Development] joemill:
How did you go about disabling mpdecision? When I disable mpdecision and enable msm hotplug and set that on boot they both become enabled?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
Kernel auditor is a great app and I always use but I also have faux clock and it picks up where kernel auditor doesn't. For instance. I will go through and setup a lot of my kernel through kernel auditor but when it comes to a few things like toggling mpdecision and my i/o setup I use faux clock
[Verizon Galaxy Note 4 Android Development] joemill:
After I installed faux123 kernel enhancements and opened the app, the phone became extremely slow and unresponsive. I needed to uninstall and reboot to fix. Tired this twice without changing any settings in faux just to verify it was from the faux123 kernel enhancements
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
Haha I should have mentioned. For some reason faux clock sets the min cpu to max and max to min. It slows way down. You have to change it in faux clock. Then it will be fine [MENTION=3002995]joemill[/MENTION]
[Verizon Galaxy Note 4 Android Development] joemill:
Okay thank you I'll give it a shot in the morning when my eyes are open lol. I didn't see the option for msm hotplug either though
[Verizon Galaxy Note 4 Android Development] EdrickMG:
Yes wakeup option could be a killer
[Verizon Galaxy Note 4 Android Development] hmltnjrmy7:
Seems to drain battery
[Verizon Galaxy Note 4 Android Development] pattonsj:
I like dt2w myself.
[Verizon Galaxy Note 4 Android Development] SimpyD:
Wish this kernal worked for me on Dr.keaton M5 rom.. No wifi after installing. everything else works fine..
[Verizon Galaxy Note 4 Android Development] glen5678:
Mine drained battery quickly and WiFi settings wouldn't save, but still worked...

(Note4UXedge_V9 ROM)
[Verizon Galaxy Note 4 Android Development] SimpyD:
Mine are greyed out and wont turn on.. Oh well back to stock kernel with m5.
[Verizon Galaxy Note 4 Android Development] av00va:
Is there any way to get this kernel patched for the zerolemon battery?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
Pretty sure Dr Ketan rom is 5.1 but this newest version of kernel is 6.0. An older version would work for ya but this won't.
[Verizon Galaxy Note 4 Android Development] mexigga:
+1
[Verizon Galaxy Note 4 Android Development] lev777:
Getting much better battery on Jasmine with this kernel compared to the one included. Thanks very much for sharing your work.
[Verizon Galaxy Note 4 Android Development] ryanbg:
Will look into this, kind of a pain to do it in a unified manner.
[Verizon Galaxy Note 4 Android Development] dhplap:
Hello ryanbg. Was hoping you could tell me which version has the yankactive and msm hotplug settings. I flashed the 1.0 version but it still says interactive. Thanks. Oh, I also wiped dalvich after flash.
[Verizon Galaxy Note 4 Android Development] ryanbg:
You can use a program like Kernel Auditor to set yankactive and msm hotplug settings. I released a new update today with nightmare and zzmoove also. I've been pretty partial to nightmare as of late.
[Verizon Galaxy Note 4 Android Development] dhplap:
Oh, OK. Thank you for your time. I'll do that until your new release. Just trying to get the best battery life. I don't do any gaming or anything. Thanks again.
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Can't get minimum value to stick in Kernel auditor
[Verizon Galaxy Note 4 Android Development] ryanbg:
What are your CPU/hotplug settings? Your min frequency is sticking, what you're seeing is the touch/input boost. Notice how if you don't touch the screen, the min freq will drop back to your setting? There's lots of scattered information about this, but I'm trying to compile it all and see if I can disable it since I find it to be annoying. The culprit (in part) is usually mpdecision or msm_hotplug. This shouldn't affect battery or user experience.
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Ah, makes sense, I had heard rumors about Fauxclock helping, but I know running two apps like that is a bad idea, in case anyone else is doing it lol
[Verizon Galaxy Note 4 Android Development] ryanbg:
The culprit was Samsung's input_booster driver. I compiled a beta/test build without it, I'll post it here if anyone else wants to try. Download

Just for the record, there's no difference between r11 and r12 besides the input_boost driver, so I won't update OP with it as an official release until I get a little feedback. Some people/developers like it, others don't.
[Verizon Galaxy Note 4 Android Development] leifyguy:
Any chance you could add this info to the OP? I seem to see it come up in other threads enough that I think it would be helpful...
[Verizon Galaxy Note 4 Android Development] ssb13:
i am getting "Security Notice...Unauthorized Actions have been detected". It offers a reboot option, which just send me back to Receovery.

On PaulPizzr-1, CPD1 firmware. r11.
[Verizon Galaxy Note 4 Android Development] ryanbg:
That has to do with your ROM/root and not the kernel. You can fix this issue by disabling/freezing the system app SecurityLogAgent.
[Verizon Galaxy Note 4 Android Development] ryanbg:
Sure, no problem

[Multi quote fail]
[Verizon Galaxy Note 4 Android Development] ssb13:
Thank you. I apologize if this came across as indicating a problem with the kernel. I just knew I would get the answer faster here.

Thank you for your kernel!!!
[Verizon Galaxy Note 4 Android Development] HORIZONx720:
I use unicon to add an icon pack to my phone and with this kernel it doesn't work. Can you look into it?
[Verizon Galaxy Note 4 Android Development] dhplap:
So for best battery life would you recommend nightmare gov with msm hotplug? I also have the fiops i/o scheduler. Thanks in advance.
[Verizon Galaxy Note 4 Android Development] sulpher:
Wow zzmove is pretty cool! Never used a governor with built in profiles before... I'm so behind the times. Thanks for the update! :D
[Verizon Galaxy Note 4 Android Development] ryanbg:
Personally I am testing out Nightmare and I use MSM Hotplug with BFQ IO scheduler. Yankactive is pretty good with battery, but Nightmare gives a little more fluidity which I like. FIOPS is a good IO scheduler too. Play around and see what works best for you.
[Verizon Galaxy Note 4 Android Development] EdrickMG:
I was really sad when I unlock bootloader because lack of roms but using customs kernels with your work is awesome... Keep good work in using nightmare how is zmove
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Testing r12 now, will report tomorrow after a 24hr run
[Verizon Galaxy Note 4 Android Development] Matthenson20:
Hey [MENTION=766721]ryanbg[/MENTION] what settings are you using on Nightmare? You geared more towards battery life or speed? I want to save battery without all the lag, but these tunable are new to me

Taking suggestions from anyone actually
[Verizon Galaxy Note 4 Android Development] Android.Ninja:
[MENTION=4450560]Matthenson20[/MENTION],

ryanbg mentioned earlier what he was testing / using in this post:

http://xdaforums.com/showthread.php?p=68359723

Developers don't need no stinkin' signature! If I've been able to help you, please hit the "Thanks" button. ;)
[Verizon Galaxy Note 4 Android Development] Matthenson20:
I mean his governor tunables like freq_for_responsiveness and things like that
[Verizon Galaxy Note 4 Android Development] ryanbg:
Everything default for nightmare. I hard-coded some of my desired values into there. Should be ready to rock as is. I got 5hr of SoT yesterday.
[Verizon Galaxy Note 4 Android Development] mlcampbe:
Does this kernel work if installed on top of JasmineRom v7.0 on a verizon note 4? Seems that some people say it bootloops and some say it works. Any current info about it?
[Verizon Galaxy Note 4 Android Development] ryanbg:
I'm about to upload r13 which *should* fix JasmineRom issues, thanks to some help from [MENTION=5868929]hsbadr[/MENTION], let me know how it works.
[Verizon Galaxy Note 4 Android Development] mlcampbe:
The reason I am considering this kernel is the one that comes with jasminerom seems to produce a lot of msm_hsic_host kernel wakelocks preventing deep sleep on my phone. Any idea of oscarkernel will change that behavior before I install it?
[Verizon Galaxy Note 4 Android Development] Bicknasty:
Honestly I'd just back up your current kernel in TWRP and then try Oscar.
[Verizon Galaxy Note 4 Android Development] joemill:
I've been running jasminerom 7.0 and have had the high % of msm_hsic_host wakelocks too.

Otherwise the kernel has been great. Keep up the awesome work Ryan!!
[Verizon Galaxy Note 4 Android Development] ssb13:
Silly question, do you all set your changes to Apply On Boot?
[Verizon Galaxy Note 4 Android Development] EdrickMG:
Which do you think is more battery friendly zzmoove or yankactive?? Thanks
[Verizon Galaxy Note 4 Android Development] mwebb34:
Can I change from enforcing to permissive? And if I can how would I go about doing that

---------- Post added at 02:41 PM ---------- Previous post was at 02:36 PM ----------

Nevermind I got it

---------- Post added at 02:51 PM ---------- Previous post was at 02:41 PM ----------

After I changed the ode to permissive I keep getting these pop ups says Unauthorized changes have been made and to reboot to cancel any unauthorized changes.

---------- Post added at 02:51 PM ---------- Previous post was at 02:51 PM ----------

It's a Security Notice

---------- Post added at 02:52 PM ---------- Previous post was at 02:51 PM ----------

Can I freeze that or uninstall that? If I can anybody know we're it's at in titanium backup?
[Verizon Galaxy Note 4 Android Development] Bicknasty:
It's SecurityLogAgent. You would be able to learn that yourself with a long press on the notification.
[Verizon Galaxy Note 4 Android Development] mwebb34:
Can I freeze it in ti?

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

Nevermind I froze it
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
I haven't tried zzmove yet but I like nightmare more than yankactive. Snappy but battery conserving. I need to try zzmove next.

---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------

Always.
[Verizon Galaxy Note 4 Android Development] EdrickMG:
Yankactive is a beast preserving battery haven't played games to demand something exhausting, I use nightmare when I have full battery and want to use several apps without slow motion want to recap several opinions to try several options thanks!!
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
I will try zzmove this week. I have moderate use for work during the week. Nightmare worked better for me. I will see how this week goes.

---------- Post added at 06:05 PM ---------- Previous post was at 05:06 PM ----------

Tried zzmove and cold point be on it a few minutes. Everything slowed to a crawl. Very weird.
[Verizon Galaxy Note 4 Android Development] ryanbg:
I'm debating removing zzmoove, I'm not so sure it's optimized for this platform. Do you guys have any requests for proven/stable governors?
[Verizon Galaxy Note 4 Android Development] SlothlyDX:
I remember back in the s3 days, smartmax was amazing. Not sure how it would be on here. Intelliactive was another good one. I'd be willing to test those!
[Verizon Galaxy Note 4 Android Development] sulpher:
The zzbat profile (4) seems to be working fine for me.. havent noticed anything odd yet.
[Verizon Galaxy Note 4 Android Development] ssb13:
I forget which phone I ran them on, but I used to use Wheatley a lot...I seem to remember it having a nice balance. I also remember liking SmartAss.

Intelliactive was another nice balance of battery and performance.