yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S6] digitalchaos1980:
Hey bud I'm all for stability and if v12 is working fine, as it is on my device, then I'm happy! I can wait for v13. It's amazing sometimes the big changes that can occur with a version change of anything and I know the hassle of keeping up with it can be exhausting, so do what you have to do, stability is key, and it is appreciated! :)

You're good, no worries :)

Chuck
[Sprint Samsung Galaxy S6] tdhite:
Update for N builds . . . 06-03-2017

As the post title states, the kernel is updated. This update fixes SecureStorage issues (bluetooth now works, WiFi passwords persist, and much more). This particular update took a great deal of work, so it is left as a 'beta' for now. As folks report good results it will get upgraded to v5.00 as a non-beta release. I do use this as my daily driver and am very pleased with it, just for the record.

The kernel continues to stay with v12.0 of Magisk. The pre-releases (very alpha, not realistically beta) of v13 are not yet capable of supporting the needs of the skyhigh module included for this kernel. The v13 release will be fantastic, but it needs much more work and this kernel is about stability, which v12.0 provides.

You can download the latest beta N kernel from the OP. Please take care to read the comments on the kernel. If you ask a question that is answered in those bullets, you will very likely not get a response.

Please let me know how it goes. As always: READ THE DISCLAIMER!

:cool:
[Sprint Samsung Galaxy S6] digitalchaos1980:
Well let me be one to remind you once again that you are awesome man! Flashed the kernel and it works beautifully! On first boot my bluetooth was on and I knew that was a great sign. I'm setting my Synapse settings back up then will reboot to make sure Wifi passwords stay. I have no doubt they will. Thank you yet again, and a HUGE thanks as well to [MENTION=4587002]Noxxxious[/MENTION] for the help!

Chuck

EDIT: By the way, wifi password saved on reboot :)
[Sprint Samsung Galaxy S6] tdhite:
Update: Released for N builds -- 06-04-2017

As the post title states, the kernel is released as v5.00 for N ROMs. A number of additional optimizations were added on top of 4.99b that speed up Android Binders, many core scheduler operations and encryption computations. No problems arose with 4.99b so v5.00 is marked a release. Have fun!

You can download the latest N kernel from the OP. Please take care to read the comments on the kernel. If you ask a question that is answered in those bullets, you will very likely not get a response.

As always: READ THE DISCLAIMER!

:cool:
[Sprint Samsung Galaxy S6] Trippyy Doee:
Bluetooth is not working for me

EDIT: Reflashing fixed the problem. Thanks for the great work !!
[Sprint Samsung Galaxy S6] Nye-uhls:
Thanks [MENTION=4988866]tdhite[/MENTION] donation coming your way soon!

WiFi passwords were weird immediately after flashing, at first my passwords weren't there but they came back after a few minutes (i was prompted by captive portal login by my home WiFi which was weird)

Only issue I'm having is i fail safety net. What do you suggest i do about that? Reflash? Manually check to make sure the magisk uninstaller removed all aspects of magisk v13?

Update: no combination of flashing, uninstalling, and reflashing worked... However flashing magisk v.12 by itself worked
[Sprint Samsung Galaxy S6] tdhite:
All donations appreciated for sure!

Mysteries and Magisk go together, seemingly at times. I think it has to do with a particular optimization commit (ridiculous, but true). Let me work on it, might take a solid day. I need to, effectively, unwind each optimization commit between v4.99b and v5.00. v4.99b appears to pass.

Not quite sure the issue there -- I reflash over Magisk constantly for tests. If you ever want to be clean, in recovery do this after you "adb shell" in:

mount /system
rm -rf /system/app/*Magisk*
umount /system
rm -rf /data/magisk*
find /data -name \*topjohn\* -exec rm -rf {} \;
rm /data/property/*magisk*

Then flash away. Beware, mess up one command above and you might have to restore a nandroid backup (assuming you have one).
[Sprint Samsung Galaxy S6] Noxxxious:
If you dont get safetynet fixed you can contact me again lol
[Sprint Samsung Galaxy S6] tdhite:
No worries [MENTION=4587002]Noxxxious[/MENTION] -- turns out a simple busybox incompatibility issue. Magisk is becoming famous for that (thus the complete removal of that in v13). I just fixed up the skyhigh module to work with Magisk's busybox if it exists, otherwise install a valid one.

Folks, give me an evening to test it all out, I'll upload a new release just a little later. All the latest kernel code passes SafetyNet checks now; just want to make sure all the things the post-fs-data.sh (module bootstrap) script is doing all that it needs with the Magisk embedded buxybox.
[Sprint Samsung Galaxy S6] tdhite:
Update: v5.01 for N builds -- 06-05-2017

As the post title states, the kernel is updated and released as v5.01 for N ROMs. This release corrects SafetyNet checks so now passes (of course, assuming your ROM would otherwise pass).

You can download the latest N kernel from the OP.

As always: READ THE DISCLAIMER!

Apologies to all for missing the tests against SafetyNet on the last release -- it's part of the build/test pipeline now so shouldn't slip through again.

:cool:
[Sprint Samsung Galaxy S6] mahdi72:
hi,tnx for your awsome kernel, why secure folder not work? when you can fix this?
[Sprint Samsung Galaxy S6] digitalchaos1980:
I have a quick question for anyone who's used this kernel in Marshmallow and Nougat as well. Has anyone noticed system RAM usage slowly creep up from normal to 2GB and it start closing out user apps? I have been plagued with it since Marshmallow. It only affects system usage not user apps. I have tried so many different things and read so many posts on sites and couldn't find any help. Finally installed SystemPanel2 last night and I happened to notice uksm process staying busy, like I would assume it should. On a hunch I opened Synapse and disabled KSM and this last reboot my ram usage seems to be staying down. Not sure if anyone else has had the same issue but if you have, please try disabling Kernel Samepage Merging and watch your ram usage. Please let me know how it goes for you. And yes I know unused ram is wasted, but this was getting so bad that I was rebooting two, three times a day up until this morning, because system ram use would get so high that all my user apps were closing and the phone would lag like crazy.

With that said, this is still a wicked kernel and I am not giving up on it, especially now that SecureStorage is fixed lol. Good day :)

Chuck
[Sprint Samsung Galaxy S6] Poebat:
So here's what I mean by the settings in synapse are not sticking (sorry for the background noises) [youtube]0U8xHZigArg[/youtube] anyone else get this?

---------- Post added at 09:15 PM ---------- Previous post was at 08:15 PM ----------
[Sprint Samsung Galaxy S6] digitalchaos1980:
I was hoping I wasn't the only one, so I know now I'm not going crazy. It's been hard to diagnose the problem being that I have about 200 user apps installed. Anyways try turning off your KSM under Memory tab in Synapse, if you have it turned on. So far now I haven't had to reboot since first thing this morning and my ram usage for the system alone hasn't gone above 1gb. With the mods I've done to the system, it usually runs about 500 to 800mb when it's running right, and that's good for Touchwiz lol. Anyhow, if that works for ya please let me know. I'm hoping this was the issue and solution.

Chuck
[Sprint Samsung Galaxy S6] Jimmy1life:
Hey Chuck idid have apps close with greenify and amplify but Ive found after a day or two without rebooting it seems to be more snappy. Simple way i always set synapse up Ktoonz give her big cores max 2100 min 600 and small cores max 1600 and low 400. Once I picked this setup all my rebooting has halted and petty decent battery. Recently I uninstalled google updates then re installed everything bingo been rocking ever since all day 1 charge.
[Sprint Samsung Galaxy S6] digitalchaos1980:
Cool thanks for the advice. Luckily I haven't had any involuntary reboots really at all, was only rebooting because my system RAM usage was slowly creeping sky high (no pun intended lol) until it would force my user apps to start closing. But since I've disabled UKSM it seems to be under control. I'm still trying to get used to seeing Touchwiz use so little RAM but that's because I spent so much time removing (carefully) unwanted and unneeded system apps and their respective odex files and such. Anyhow thanks again :)

Chuck
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT][MM | N] [SM-G920P] [05-June-2017] SkyHigh Kernel (Port) [v5.01]

That is just not enough info to go on to help. Logs might help. But in any event, please switch to ktoonservative governor and see if it continues. Interactive is making changes to the clock min/max, I may have to change that as it is ridiculous for a governor to override user selectable settings.

UKSM is off ny default, so most won't use it. Frankly, I stopped as it is a battery drain and saved me all of about 20 Meg after 10 full scans. I turn it down to 'quiet' and 1% CPU MAX with 1 second between wake ups if I turn it on at all, but that is rare. I turned it on for the day to test for you, memory is quite stable for me after many hours.

UKSM can allocate memory if it needs for page tracking, but it is not much at all. I think we had this conversation before, but just remember the kernel generally allocates on request of apps (system included for buffers and whatnot).

Possibly Play services are potentially at play here? Try enabling the periodic kill of that in the CORTEX page.

Anyway, send logs if you want me to analyze your issues.
[Sprint Samsung Galaxy S6] Poebat:
Alright, I will try. I have been using the ktoonservative governor for the past couple months and it never resolved the issue.
[Sprint Samsung Galaxy S6] digitalchaos1980:
Hey now that I think about it I believe we did talk about that a good while back. I must have forgot. Anyways no need to analyze at the moment, I believe it's under control now. I had been having the ram issues just about every day for the past few months but after turning the KSM off it seems fine. Wonder if I just have a weird model that reacts badly to it being on, cuz I have always used it when I can, even with previous devices. But having 3GB RAM I guess there's no real reason to have it on anyways. As for the Play Services fix, it's always on already, I usually set it on upon first setup. Along with all the system apps I have removed I have also disabled a load of Play Service background processes, such as ones for Wearables and Ad stuff. Nothing real important like location stuff and whatnot. I have yet to have any negative consequences from it (knock on wood.) And checking RAM use again for the system, I am about 740mb used. I'm happy now, hopefully it will stay like this upon next reboot, whenever that will be :)

Oh, and I am still running the 4.99b kernel for now. I usually like to stay up to date but this one works great for now!

Chuck
[Sprint Samsung Galaxy S6] Nye-uhls:
That did the trick! Thanks!!

Sometimes I have to switch magisk hide off and back on after a reboot, but that's fairly standard. Thanks [MENTION=4988866]tdhite[/MENTION] !!!
[Sprint Samsung Galaxy S6] Noxxxious:
Freqs changing is DVFS related and arter97 fixed this a long time ago.

https://github.com/UpInTheAir/Exynos-7420-MM/commit/ecface010741052ec1912dfe8ec74652f1b7c087

https://github.com/UpInTheAir/Exynos-7420-MM/commit/137138639349da36a98eab2cc79dabb4c5202ba5

Sorry for bothering you so much with your project. Normally I wouldnt interfere with others, but currently I cant do anything on my own so trying to help around.
[Sprint Samsung Galaxy S6] tdhite:
No worries at all, dude. Takes all kinds to make up this world and there are a H of a lot of commits to watch. Going 100 MPH we are gonna miss a few stop signs.

I will look at picking those, they appear conflict with some of the ktoonservative commits, but they are surely resolvable.

AOD also on my mind so have been looking around myself.
[Sprint Samsung Galaxy S6] Poebat:
I have KSM off (its off by default). My phone generally crashes within 3-4 days without a reboot due to the RAM being consumed. I'll have to look into it some more. I'm not sure why updating the kernel temporarily got rid of the issue but it slowly came back...
[Sprint Samsung Galaxy S6] tdhite:
You need to look at your apps, imho, one or more is leaking it seems.

I never reboot except to test new code. Ater nearly two days, ram identically stable. See images attached. I am also quite 'picky' on apps for just this reason
[Sprint Samsung Galaxy S6] Poebat:
I didn't have this issue using NOVAKernel (although novakernel had its own issues).. How can I check what apps are using RAM?
[Sprint Samsung Galaxy S6] tdhite:
Raising another kernel in a completely different context (e.g., MM/SuperSU versus N/Magisk) is not particularly useful -- by the same token for this kernel, see https://xdaforums.com/showpost.php?p=70371974&postcount=261 -- it is incredibly stable.

With that said, app resource / memory consumption can be tracked with some tools in busybox. I'm making a Magisk module over the next couple days that will help folks use those tools. With that said, just beware I'm not all that sure I want to turn this thread into a general 'I am having problems' support. It is a new OS (N), though, so some monitoring might be good for folks and a module you can install/uninstall will probably help me over time, so works.

Hang in . . . takes a bit of testing the module to be sure it's stable.
[Sprint Samsung Galaxy S6] Poebat:
I'm running MM. And I know what your saying. Sorry about all the nit picking. This kernel makes my phone run much faster than it could on stock and with synapse support there is so much to play with to make performance even faster. Thanks for working on this kernel. ?
[Sprint Samsung Galaxy S6] tdhite:
No worries -- raise issues; I just need in-context info to go on to help.

With that said, my Magisk module won't help. I'll make an init.d script setup for MM users that will help with RAM monitoring on apps. Can't hurt, that's for sure.
[Sprint Samsung Galaxy S6] digitalchaos1980:
Hey, if you do go forth with that Magisk module, I would definitely want to try it out. My RAM usage in the system still creeps up every now and then, but when it does it takes a good while ever since I shut off UKSM. I'm not sure if there's still a process somewhere possibly getting triggered and running wild but I wouldn't mind trying to find it. If I had the choice of going back to stock and having my RAM completely under control as opposed to using this kernel, I would have to stick with your kernel still. It's near perfection in my opinion, no other comes close. I know I have said it many times but your work on this thing is totally appreciated. With that said, I am still on 4.99b and it's been quite a few days since 5.01 was released and I haven't seen any complaints about SecureStorage or anything else not working so I'll be flashing the newest tonight or possibly tomorrow. :)

Chuck
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT][MM | N] [SM-G920P] [05-June-2017] SkyHigh Kernel (Port) [v5.01]

Hang in, brother D. Just have to get smemcap to be friendly enough for most mortals. :)
[Sprint Samsung Galaxy S6] Nye-uhls:
So i just noticed something. I don't need help troubleshooting or anything, just wanna report my findings:

Running barebones setup with bigdaddy rom, latest skyhigh, lots of frozen system apps (with rom toolbox), and very few user apps (zero social media, pretty much just light games and gapps) Everything was flashed totally clean a few days ago.

Problem: I randomly lost root after a few days, normal occurrence with magisk... That coincided with a huge ram leak (unable to find it... Like 800mb was totally unaccounted for)

Solution: booted into twrp, reflashed latest skyhigh. After flash i hit wipe cache/davlik... Phone booted up, root returned, waiting to see if ram leak comes back... But the odd part is that something in that process freed up .8gb of device storage...

So yea, I don't really have any clue what that could mean... Just passing the info along.
[Sprint Samsung Galaxy S6] Poebat:
You wiped the cache and it gave you back storage. I also find that clearing /cache/ temporarily fixes the RAM leak.
[Sprint Samsung Galaxy S6] Nye-uhls:
+800mb seems like WAY too much to be in /cache after only a few days with this set up (I flashed this rom and kernel totally clean 3 days ago)

Also, i wasn't totally clear, the 800mb drop in available storage happened over the course of >12 hours, somewhere around the time i lost root.
[Sprint Samsung Galaxy S6] Poebat:
Well in 12 hours yeah... For me it builds up over time. 800mb isn't unheard of then.

---------- Post added at 01:25 AM ---------- Previous post was at 01:23 AM ----------

Hey, I am not sure if this is possible, but since my charging port fried I am using wireless charging. On the s7 there is "Fast Wireless Charging" on the s6 this isn't available. Is there a way to speed up wireless charging speeds? Can I tweak this in synapse?
[Sprint Samsung Galaxy S6] tdhite:
I honestly can't make sense of the discussion. /cache is not RAM, it is disk only. Magisk uses it and logs to it, thus it fills up. It should roll logs so as not to totally fill the partition, but Magisk is what it is. I am not seeing it fill, though, so send me a "ls -l /cache" output if you want me to explain what it shows.

So long story short, that /cache is filling is not a RAM leak.

As for the Linux kernel cache, in the event you are referring to that, it can easily be many hundreds of megabytes arguably should over time. It manages itself but if you want to clear it now and then, let me know and I will add some Synapse options to so.

Check Wireless Power in the Synapse Battery tab. Be careful, though, that is messing with current allowed.
[Sprint Samsung Galaxy S6] digitalchaos1980:
Don't know how I missed this but thanks! Will be looking forward to it :)

Chuck
[Sprint Samsung Galaxy S6] Nye-uhls:
My bad, i explained this super poorly. The ram leak, available disk space, and root functionality were all separate things, i was merely suggesting there *could* be a connection, but lack the understanding to actually make a connection.Sorry about that. But its all good now, easily fixed.

Quick overview:

Start of day- open phone 1.2gb available RAM. 8.6gb storage. Root working.

Later in day: 300mb ram, 7.8gb available storage. No root.

Solution to all: flash SH 5.01. wipe cache/davlik partitions. Clear synapse data.

So yea, just a friendly sharing of my experience in case there is a connection that relates to some conflicts between the kernel and magisk or something like that. Sorry if it came across as critical or complainy.
[Sprint Samsung Galaxy S6] tdhite:
Not worried about critical at all. Info is good.

Those numbers look fine, so a little confused.

The kernel will take all it can for cache and buffering. Can you get ne actual 'free' output?
[Sprint Samsung Galaxy S6] nilc23:
I have bluetooth issues. not work.
[Sprint Samsung Galaxy S6] Poebat:
I have no issues with Bluetooth using this kernel. Can you be more specific?
[Sprint Samsung Galaxy S6] nilc23:
Wont turn on.
[Sprint Samsung Galaxy S6] Poebat:
First thing I would do is try clearing /cache and reflash the kernel
[Sprint Samsung Galaxy S6] osirus1977:
I just observed when flashing this rom, it took almost an hour for the installer to create image and now its on creating paths. I was kinda worried that something was wrong. I am no rush, if it takes 3 hours, 18 hours or 2 days just as long as your rom gets properly installed on my phone. Thanks so much
[Sprint Samsung Galaxy S6] Poebat:
This is a kernel.
[Sprint Samsung Galaxy S6] osirus1977:
I am sorry I was so hyped and excited!

I am so sorry and feel like an idiot now. I was just so excited and hyped about a developer like you who takes the time to bring updates here. I really appreciate this. I don't know why I read the title wrong. IIndeed I now see the word kernel. The kernel is now removing old files and placing files. I have stock nougat rom on phone. So just let the kernel do its thing no matter how long it takes. Do I have to worry about anything? :D
[Sprint Samsung Galaxy S6] Poebat:
How long has it taken? Make sure you flashed the 7.0 version of the kernel and that you flashed the full version and not the update version.
[Sprint Samsung Galaxy S6] osirus1977:
Oh no

Oh no I downloaded skyhigh version 4.10 full version. I feel stupid now. Now it is fully installed and my phone is at the Samsung Galaxy S6 Black screen. I guess i need to find 7.0 version of skyhigh kernel not 5.01
[Sprint Samsung Galaxy S6] Poebat:
It should be in the first post.
[Sprint Samsung Galaxy S6] osirus1977:
ok i will goto the first post on this to look again. Just waiting to see if my phone boots so I can paste and copy the correct kernel from my computer to my Samsung phone. ok all i see on the first post is this

Version Information

Status: Stable

Current Stable Version: 5.01

Stable Release Date: 2017-06-05
[Sprint Samsung Galaxy S6] koop1955:
SafetyNet Errors - Dev Is Fixing

If anyone is seeing "SafetyNet Failed" with Magisk, it is due to a recent Google update. Topjohnwu (dev for Magisk) is on the case.

See https://www.xda-developers.com/magisk-developer-assures-next-magisk-beta-will-pass-safetynet-again/
[Sprint Samsung Galaxy S6] tdhite:
ROM??
[Sprint Samsung Galaxy S6] osirus1977:
I am so sorry and feel like an idiot now. I was just so excited and hyped about a developer like you who takes the time to bring updates here. I really appreciate this. I don't know why I read the title wrong. IIndeed I now see the word kernel. I also feel like a dumb dumb for flashing Version 4.10 full version instead of Version 5.01 due to the fact I am on stock nougat rom. My phone is stuck on the boot screen. I probably have to unbrick by dowloading from sammobile and getting the official firmwire from there and using ODIN 3. I am sorry. I hope i can fix my phone
[Sprint Samsung Galaxy S6] koop1955:
Faster than SAMMOBILE: https://xdaforums.com/sprint-galaxy-s6/general/guide-links-files-update-root-restore-t3366862
[Sprint Samsung Galaxy S6] osirus1977:
Finally Fixed

Thank you! I now have the right SkyHigh Kernel on my phone, found on the forums how to find my MSL code to help in unlocking the phone. :)
[Sprint Samsung Galaxy S6] Poebat:
YW :)
[Sprint Samsung Galaxy S6] makysssdroid:
Whats is the best setup in synapse for battery and stability ??? Greats kernel
[Sprint Samsung Galaxy S6] lamnguyen93:
Help! My phone now cannot enter deep sleep :(. NOT AT ALL! This 155100000 keeps occuring, even after I reinstalled the kernel. Guys plz helpppp

I'm on Biggdaddy Nougat with the kernel :(
[Sprint Samsung Galaxy S6] Poebat:
Use the ktoonservative governor.
[Sprint Samsung Galaxy S6] makysssdroid:
I haved problem whit ram leak..... 300 mb only in the final day
[Sprint Samsung Galaxy S6] _Epic:
What app is everyone using to control this kernel?
[Sprint Samsung Galaxy S6] makysssdroid:
Now im use synapse
[Sprint Samsung Galaxy S6] Jbonn765:
So ive never had any problems with BigDaddy or SkyHigh Kernel. But ever since the new kernel update no matter what I do either my bluetooth or my hotspot wont work. Ive tried everything i can think of. Ive odined backbto stock. flashed BigDaddy then flashed kernel. Then I have to remove magisk and use supersu so the hotspot fix will work. But everytime either i get bluetooth working and hotspot gets the subscriber error or bluetooth wont turn on and the hotspot fix works. The only real fix ive found is to just not use the SkyHigh kernel which sucks. If I just flash BigDaddy and still remove magisk then i can get both to work. Need some help. Thank you.