yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S6] Zekki:
Thank you very much for the support, it's very cool what you do for the community, doing what it would be Samsung's own obligation. I have a serious problem because my cell phone does not accept that I put a lock screen as pin or any other code, for example when I go to register the pin code for the first time the smartphone asks to enter twice the code I want, I type the first time and then the smartphone asks to confirm, I type the second time and then the application force closes, when I try again it is as if it had saved the code that I chose, but maybe because of the security policies it does not leave the user owner accesses the file where the code was written, or maybe it can not decrypt the file, the solution I found was to create a second user and in that user I can use pin or fingerprints without problems. The only rom that did not show this behavior was the renegade because the kernel was configured as permissive, so I wanted a custom kernel where possible set to permissive (or if you have any idea to fix please tell me), All this problem is related to efs that was corrupted and I had to restore it with another certificate so I guess the only way is to use the smartphone in the same permissive even with all security issues unfortunately for now, forgive me for the long explanation and congratulations for your great work, I'm sure to donate, thank you very much.

I forgot to mention that I already tried setenforce 0 through the terminal but I believe that in nougat Samsung because of the knox this is only possible with a custom kernel of the nougat, which for the g925p that does not have many active developers is very difficult to find or even impossible, so I asked if there would be a port.
[Sprint Samsung Galaxy S6] Zekki:
Off course i will donate he deserves, I already try all the methods that you described but without success because i think for this purpose a custom kernel is needed, thats the why i asked for a possible port, thanks for the tips and help and i beg your pardon for my english.
[Sprint Samsung Galaxy S6] Poebat:
Is there a way to install magisk with the latest version of the kernel on MM?
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT][MM | N] [SM-G920P] [17-July-2017] SkyHigh Kernel (Port) [v5.02]

If it helps folks, I can cut a build that does not install SuperSU. That would allow. Two step install: kernel, then Flash Magisk thereafter.
[Sprint Samsung Galaxy S6] po8pimp:
Great work

Great work on the Kernel. Was wondering if you could do a write-up on how to build and compile this specific kernel to include how to update with latest security patch, tweaks, and customizing? Also tell us a little about your computer setup as far as which version Linux, any programs you use, and average time compiling with your CPU build. I would like to help the community by building kernels and ROMs for this device. ROMs are pretty easy to do, but Kernels are a lot more complex IMO. Thanx in advance
[Sprint Samsung Galaxy S6] tdhite:
All,

A major update is coming in the next few days, assuming all testing goes well. This update adds some security and optimization fixes, also brings the kernel to the latest upstream (v3.10.108) vanilla kernel (the official release). That is about 650 or so new commits, not all come in cleanly because Samsung mucked code in their OSS release and did not properly include any sort of git history, just code dump (terrible OSS community work -- including history is the de facto standard).

The upgrade here delays for just a bit the next TDH-JR update; that will include the kernel, of course.

Hang in, lots coming.
[Sprint Samsung Galaxy S6] shrade:
Hi, excellent job with the rom and kernel. I found this posted, I was wondering if you could work with this guys to resolve the no sim card error in this rom and improve the compatibility with our model,

https://xdaforums.com/galaxy-s6/orig-development/g92xx-android-o-samsung-galaxy-s6-t3663901
[Sprint Samsung Galaxy S6] tdhite:
Updated -- 12-10.2017 -- v6.00

As the post title states, the kernel is updated and released as v6.00 for N ROMs.

You can download the latest N kernel and Magisk Module from the OP.

As always: READ THE DISCLAIMER!

Note -- the kernel core code is extensively updated, to Linux v3.10.108 and additional security and optimizations. As well, the magisk module was updated to better assure cortex tuning executes properly.

The TDHJR ROM will soon follow, as it is dependent on the release of this kernel.

Enjoy! Let me know how it goes and if there are problems.

:cool:
[Sprint Samsung Galaxy S6] Nye-uhls:
Does the skyhigh module need any changes since the magisk 14.6 update since magisk files were moved to data/adb instead of data/magisk?
[Sprint Samsung Galaxy S6] koop1955:
I'll leave that to [MENTION=4988866]tdhite[/MENTION], but Magisk is in the 15.x now.
[Sprint Samsung Galaxy S6] 1619415:
Amplify is a great tool for managing Wake locks:good::cool:
[Sprint Samsung Galaxy S6] nostrings:
Already use it. But it would help to know what the wakelock is, before messing with it. ;)
[Sprint Samsung Galaxy S6] tdhite:
That wakelock is to wake mobile data. What it says is you have a background process eating at updates and it is constantly asking the kernel to wake up and handle a data request over *not* wifi, rather the mobile data network.

The handling of that is 100% stock, no modifications at all, so if you have battery issues due to that wakelock, blame one of your apps -- you need to find it and kill it, or at least turn if it's background data when not on wifi.
[Sprint Samsung Galaxy S6] Jimmy1life:
I Love this kernel thanks. One thing long boot time is it just me but 110 seconds seems long but i dont need to reboot often. My current settings A53 and A57 set to interactive, A53 set min 500 Mhz then the A57 profile set to Battery = Seems pretty smooth so far and no reboots as of yet. Plus almost the same amount of battery life as the power saving mode. Thanks
[Sprint Samsung Galaxy S6] tdhite:
Uploading a fix for long boot. Tomorrow worst case, likely this evening DFW time.

Also, seriously, use ktoonservative governor. It is CPU hot plugging so shuts cores off for very signigicant battery gains, totally negligible performance hit.
[Sprint Samsung Galaxy S6] nostrings:
Yup, narrowed the problem to two apps (though, I am not sure if only one of them was the culprit), both of which were restored, along with their data, through TitatiumBackup. Removed them, and all is well now.

Thanks for the awesome kernel!
[Sprint Samsung Galaxy S6] tdhite:
Updated -- 04/25/2016 -- v2.83

Updated kernel. Change list and download in the OP.

Always read the DISCLAIMER before flashing.

:cowboy:
[Sprint Samsung Galaxy S6] tdhite:
Would appreciate if you would go back and edit away the gigantic quote of the OP. Thanks for the info regardless. :good:
[Sprint Samsung Galaxy S6] nostrings:
How hard would it be to add F2FS support? From looking at the code on github, it seems the code is there, just not enabled in your SkyHigh_G920P_defconfig (which is what you're probably using). Are there other considerations that need addressing before that is enabled?
[Sprint Samsung Galaxy S6] tdhite:
Easy. I'll do that next Rev. I'll add exfat too.
[Sprint Samsung Galaxy S6] nostrings:
You rock, good sir.

Now only if we got a TWRP 3.0.x working that could format partitions to f2fs for this device, we'd be in f2fs heaven.
[Sprint Samsung Galaxy S6] nostrings:
I noticed that in Synapse->Menu->BATTERY, scroll all the way down to the "Store Mode" section, setting the min and max, then selecting Enabled, and applying always returns it back to Disabled.

Is this feature not implemented? It'd be nice to set the max to 80%, min to 40%.

Just a nice to have - not a big deal otherwise.
[Sprint Samsung Galaxy S6] minato008:
This might be off topic but where can I find a stock MM rom for the S6 to use this kernel on? I'm still on 5.1.1 and can't find a stock MM rom.
[Sprint Samsung Galaxy S6] 1619415:
All files can be found HERE (Thanks [MENTION=3816775]koop1955[/MENTION])
[Sprint Samsung Galaxy S6] xXxSMOKExXX:
This kernel not work in 925p ?
[Sprint Samsung Galaxy S6] tdhite:
Not currently. I can build one if folks want.
[Sprint Samsung Galaxy S6] tdhite:
Updated -- 05/01/2016 -- v2.84

Updated kernel. Change list and download in the OP.

Always read the DISCLAIMER before flashing.

Changes are about exFAT and F2FS support. exFAT is a module (use Synapse to enable it); F2FS is built in to the kernel in the event folks want to change their partition formats. If you want to do that, this is not the thread to ask about modifying partition formats -- just ask somewhere in general questions and answers.

:cowboy:
[Sprint Samsung Galaxy S6] xXxSMOKExXX:
Yes i need a good kernel man thanx
[Sprint Samsung Galaxy S6] nostrings:
Are there any optimizations missing from the ktoonservative governor? There are many times when the phone does not come back out from sleep when pressing buttons... Or if it does, the lag is in ~5 seconds or so before the screen lights up.

I vaguely remember [MENTION=4325945]ktoonsez[/MENTION] 's kernel having a hack about this from 5.0.2 days...

This does not happen with interactive governor.
[Sprint Samsung Galaxy S6] 1619415:
Can you please link to his kernel's thread? That way we can look at his code and see what your talking about:cool:
[Sprint Samsung Galaxy S6] Nye-uhls:
I guess i worded that funny, but from 14.6 onwards all the magisk files have been moved. But the mount point for modules is still the same, so I'm not sure if any changes are necessary. But I'm guessing it'd be cleaner if the magisk internal busybox was linked to instead of the skyhigh busybox for the magisk scripts? But idk.

Also [MENTION=4988866]tdhite[/MENTION] you can remove the safetynet fix in service.sh now, its no longer needed.
[Sprint Samsung Galaxy S6] rhaspody:
Can I use this on a completely stock rom?
[Sprint Samsung Galaxy S6] nostrings:
Yes
[Sprint Samsung Galaxy S6] tdhite:
A kernel flash update is coming tomorrow for Magisk v15.10 as the required base. Of course the kernel handles flashing everything.

The debloating module headed out tomorrow is also 15.10.
[Sprint Samsung Galaxy S6] Nye-uhls:
Yes please.
[Sprint Samsung Galaxy S6] redhusker2016:
What happened to the auto rotate and portrait button from the drop down menu???
[Sprint Samsung Galaxy S6] tdhite:
Those are not related to a kernel. Possibly an accidentally placed post?
[Sprint Samsung Galaxy S6] KingKRiggz:
[MENTION=4988866]tdhite[/MENTION]

Will this kernel recognize a Galaxy S7 Edge battery? I installed Big Daddy ROM for nougat & flashed this right after, I love both my new ROM & this Kernel. What app do I use to tweak the kernel (Synapse?) & how do I make the phone recognise a different battery type and capacity? Currently have a S6E+ battery in my phone but the phone into still says stock capacity at 2,600mah (my phone thinks it's a S6 Edge because the ROM changed the model number from G920P to G925P) [MENTION=4988866]tdhite[/MENTION]

Where do I find my phones output that you wanted.
[Sprint Samsung Galaxy S6] deoptima:
How do i enable the hotspot feature on [N] I keep getting the call sprint screen and then hotspot will turn off again.
[Sprint Samsung Galaxy S6] KingKRiggz:
Hi! I have a few problems.

1: I don't understand how to use Synapse, I'm scared to modify anything and mess my phone up.

2: I flashed this with BiggDaddys ROM. It worked Great together for awhile, then I started getting a issue with Magisk saying it's not installed when it was & I would reflash it several times & Try uninstalling it with TWRP but always got an error, I reverted from the S8 Launcher to the S6 and haven't had that issue..

3: For some reason I CANNOT receive texts, No matter what I try. I tried wiping the apps data, tried reflashing, tried tweaking ROM settings during initial setup. I can send texts but I can't receive them.. if all else fails I'm going to do a 100% complete wipe of my entire phone, revert to stock & try reflashing everything all over again in hopes that will fix my SMS problem. Do you have any suggestions? [MENTION=4988866]tdhite[/MENTION]
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT][MM | N] [SM-G920P] [01-Jan-2018] SkyHigh Kernel (Port) [v6.00]

If you don’t know what you are doing, be careful, of course. If you could please search this forum, there are multiple notes that give suggestions on settings. The easy button is just switch the CPU governors to ktoonservative and then read for suggestions on further customizations. Folks mostly overclock a bit and then underclock to minimum possible values (I.e., 200 and 500).

Magisk has bugs, and you can get support on the Magisk threads. Loss of root has been an issue for some time, I suggest reading and joining the Magisk discussions. 16.3 still exhibits the issue, but much, much less often. All of what you are talking about here are Magisk issues, not the kernel, just FYI.

I never used the ROM you are trying, and can’t support it in reality. It is very old and as far as I remember had plenty of issues before it was dropped by the developer. I would hunt for alternatives. I just use my Magisk module (debloater) and never see issues at all.

Hope that all helps.
[Sprint Samsung Galaxy S6] nostrings:
Hi [MENTION=4988866]tdhite[/MENTION]

Any intention/plans on supporting RA2? Your are it for this device.... You are our only hope!
[Sprint Samsung Galaxy S6] tdhite:
Yup. On the way. Kernel is based on new source release as well.

Not leaving the device for as long as it runs.
[Sprint Samsung Galaxy S6] nostrings:
Thank you sir - much appreciated!
[Sprint Samsung Galaxy S6] nostrings:
There isn't one... This is for TouchWiz only.
[Sprint Samsung Galaxy S6] tdhite:
It's breathing, all commits rebased onto recent kennel drop from Samsung.

Also added Nexus governor, but that's gonna take some work to stabilize. I'll release with that in and stabilize next release or so.

This will be release 7.00.
[Sprint Samsung Galaxy S6] nostrings:
Great work, thank you!

Nexus governor? Never heard of it. Is it by any chance an EAS implementation?
[Sprint Samsung Galaxy S6] Wormsnake:
I was hoping you'd say that tdhite! :D Use and support it till it's dead, every year a new and better phone awaits....
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Apr. 4, 2018 -- v7.00

As the post title states, the kernel is updated and released as v7.00 for N ROMs.

You can download the latest N kernel and Magisk Module from the OP.

As always: READ THE DISCLAIMER!

Note -- the kernel core code is extensively updated with all commits completely rebased onto the latest Samsung OSRC kernel release. As well, the magisk module was updated to better assure cortex tuning executes properly and now sports a user defined script that it will execute each time the cortex tuning runs (appx. ever five seconds).

Enjoy! Let me know how it goes and if there are problems.

:cool:
[Sprint Samsung Galaxy S6] Wormsnake:
Fantastic! Thank you tdhite!! Donated :)
[Sprint Samsung Galaxy S6] nhail47:
I've reflashed the kernel several times, cleared cache for Synapse, but for some reason I am still getting No UCI Support Detected. Any way to fix this? Thanks for your hard work! This phone would be obsolete without it.
[Sprint Samsung Galaxy S6] tdhite:
Rare indeed -- please post the log from /data/local/tmp/Skyhigh.log.

Also -- Everyone, do not upgrade to Magisk 16.40 -- there are changes to the start that breaks certain parts of the Skyhigh bootstrapping scripts. I have a fix and will post a new kernel build in a day or so.

:cool:
[Sprint Samsung Galaxy S6] shawn67:
Actually, for me at least, the updated kernel and 16.4 have for the first time resulted in my SM-920P not losing after a few hours. I am quite pleased.
[Sprint Samsung Galaxy S6] nostrings:
Pretty good, thank you very much!

I don't see the "Nexus* governor, though - probably you didn't include it.
[Sprint Samsung Galaxy S6] tdhite:
Hmmm. Nexus is in the builds. See attached image. There's another coming, obviously, but nexus should show up.
[Sprint Samsung Galaxy S6] Omar86:
Help

Im also experiencing the same issue. And for some strange reason, it seems the battery drains faster with this new kernel. Should i give it some time?

---------- Post added at 04:53 AM ---------- Previous post was at 04:49 AM ----------

Will this kernel work with other custom roms?
[Sprint Samsung Galaxy S6] nostrings:
I don't see it on mine.
[Sprint Samsung Galaxy S6] t-bob:
Yes, same here.
[Sprint Samsung Galaxy S6] Nightxtripper:
Magisk keeps unrooting/saying it's not installed.

I'm on stock 7.0, any fix?
[Sprint Samsung Galaxy S6] nostrings:
Unfortunately, no. It's something that plagues all devices rooted with Magisk, though admittedly, Samsung software is by far the worst I have personally experienced. I have an S4 running LOS15.1, and it has yet to lose root.
[Sprint Samsung Galaxy S6] tdhite:
Quick status . . .

All, wanted to let you know I have a new and rock solid stable build. I did some governor work for those looking for a bit more interactive-like operations with reasonable battery. I have some adds that should cover such requests.

With that said, there are some bad bugs in Magisk 16.4 and I waver around putting it in the flash. For example, see https://xdaforums.com/showpost.php?p=76438580&postcount=5667 for some background.

If I don't see progress on Magisk, I'll just bundle with 16.3 and release everything.

:cowboy:
[Sprint Samsung Galaxy S6] nostrings:
Awesome! Thanks for your work - it is very much appreciated!
[Sprint Samsung Galaxy S6] swejo01:
I also dont see the new nexus governor, clean install and cache wipes
[Sprint Samsung Galaxy S6] nhail47:
Sorry I am replying back so late. The log said busybox wasn't installed. It was through BusyBox. I'm not sure what is going on. I am about to wipe my phone completely and install the Kernel and Bloat Module. I'll report back in a couple days.
[Sprint Samsung Galaxy S6] rick.wardenburg:
[MENTION=4988866]tdhite[/MENTION]

Just would like your permission to use your kernel before I posted anything, I've got a stock nougat rom debloated and deodexd, I do some mods on my time a couple people asked for them so here I am

I'll increase the functionality and customization overtime, I've added the edge services along with advanced reboot menu with toggles to turn on/off items with the RomControl app, the zip will be aroma so to install your kernel will strictly be by choice get back with please thanks
[Sprint Samsung Galaxy S6] tdhite:
No problem at all. Feel free to incorporate the kernel.

With that said, beware . . . the kernel flash currently installs Magisk and the SkyHigh Magisk module. That’s all a necessary set of installations.

I am about to release 7.10, which compensates for some very bad Magisk bugs installing modules. Intending a release tomorrow (Sunday, 13th) if you want to hang for that.

Finally, when you modify the file systems (e.g., /system), you run the risk of causing SafetyNet failures. You may want to distribute your ROM as an overlay scenario via Magisk module.

Anyway, rock on with things. Great to have another dev around here.
[Sprint Samsung Galaxy S6] rick.wardenburg:
Can we talk in messenger?
[Sprint Samsung Galaxy S6] tdhite:
Updated -- May 12, 2018 -- v7.10

As the post title states, the kernel is updated and released as v7.10 for N ROMs.

You can download the latest N kernel and Magisk Module from the OP.

As always: READ THE DISCLAIMER!

This release adds the SmartAssV2 governor and makes Nexus visible (but do not user the latter, very unstable at this point). As well, this release handles all sorts of errors with Magisk 16.40 installing the module during the flash. All should be good.

Enjoy! Let me know how it goes and if there are problems.

:cool:
[Sprint Samsung Galaxy S6] packydavis:
Thank you for continuing development for our device! Just installed ?
[Sprint Samsung Galaxy S6] nostrings:
First, thanks for your awesome work, definitely appreciate you holding the fort as the sole developer.

I do not see SmartAssv2 governor as an option, though Nexus is there (I have not messed with it, so cannot report anything).

One observation I have, for the longest time (maybe even going back to MM ROMS, though I am not sure now), is that after a couple of days of uptime, the device slows down considerably, as if there is a major memory leak. Kernel settings have virtually no effect - using stock or custom settings (ktoon governor and UC/UV) makes no discernible difference. I have not had the phone uptime for a full week and have it still be usable. Rebooting "fixes" this, and then the cycle begins all over again.

There are no mods, no Xposed, nothing other than the kernel and the old JR ROM based on OH1. Anyone else experience this?
[Sprint Samsung Galaxy S6] acdjkz:
Any chance there will be a SM-G928F (S6 edge+) build?

[MENTION=4988866]tdhite[/MENTION] Nice work :good:
[Sprint Samsung Galaxy S6] tdhite:
Hmmm. I’ve not really considered that, but it’s all code that should easily rebase onto the base OSS for that phone. Are there folks all that interested?
[Sprint Samsung Galaxy S6] tdhite:
OK, I should clear the Synapse config on flash. All this time, never noticed that. Do this in a terminal (or similar with an app of your choice):

su
rm /data/.SkyHigh/config.json

Then run Synapse and it will rebuild those governor lists. Sorry about that. I’ll fix that next release.

There were definitely some bad memory leaks in earlier base ROM releases from what I saw. I run this kernel on RC2 with my debloating Magisk module and rarely reboot other than those times that Magisk pulls its magic and loses root for all zygote based apps and I happen to need one. How they’ve not fixed that miserable bug to date is a mystery and I see no activity to even address it. If I ever get more free time, I’ll look into fixing that Magisk mess.
[Sprint Samsung Galaxy S6] acdjkz:
---------- Post added at 12:32 AM ---------- Previous post was at 12:29 AM ----------

[MENTION=4988866]tdhite[/MENTION] I am very interested :D

Getting terrible battery life ever since stopped using SkyHigh kernel on MM...these last updates are making what is still a great phone a piece of junk... Specially now that you can't downgrade easily I think it would be very useful. (SM-G928F/Note5)
[Sprint Samsung Galaxy S6] swejo01:
Coming along great! Id def donate a good amount if you could fix some leaks so i am not forced to reboot on a 24-48hours basis. Rebooting fixes every time. I love this phone running on your kernel but the reboots are beyond annoying!!
[Sprint Samsung Galaxy S6] nostrings:
I'll try clearing out the config.

I am glad at least that the memory leak issues are not exclusive to me. Have to find out a good time to upgrade to a newer base (I think I have DR2 zip on my machine.)

Do you have more info on the Nexus governor? Is that EAS/schedutil? Or something entirely different?

Do you know whereabout the bug with magisk is? I may have to look at it one of these days, as it gets pretty annoying losing root.

Thanks again for sharing your work!
[Sprint Samsung Galaxy S6] shawn67:
So why is the XDA/Android community so in love with something that can't keep root? I appreciate the fact that you are frustrated with this- I don't understand why the rest of the community is so tolerant!!
[Sprint Samsung Galaxy S6] swejo01:
Hey bro, do you use xposed? I uninstalled xposed 6 days ago and have not had lag or a need to reboot yet! I was rebooting every 24 to 48 hours with xposed installed..think i found the culprit!!!
[Sprint Samsung Galaxy S6] nostrings:
Nah, I gave up on Xposed a while back.
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT][MM | N] [SM-G920P] [12-may-2018] SkyHigh Kernel (Port) [v7.10]

Just FYI, I can see various kernel stacks (I.e., stacks the kernel manages for apps) growing quite large. The kernel pretty much has to give that to the processes, but if I can find various culprits, hoping some periodic app kills will help. If the process is killed, the kernel can reclaiming it all.