yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S6] tdhite:
Update coming for latest Security Patch (Sprint)

All,

Had a bit of a work overload this weekend (unexpectedly). Hang with me for a day or two -- update is coming for the latest patch OTA update.

:eek:
[Sprint Samsung Galaxy S6] amieldl143:
Cant wait bro. I have new rom Aroma style coming up where people can choose stock kernel or yours. Doing some testing right now maybe ill wait to you release it. Thanks for your great kernel. I must say PI3 had bettet screen time vs stock kernel.
[Sprint Samsung Galaxy S6] crazynapkinman:
I totally agree. After losing SuperNova kernel and switching to skyhigh port, screen was/is on point.
[Sprint Samsung Galaxy S6] nostrings:
I think there is still a link on the thread. If not, I think I have a copy of the zip that I can upload somewhere.
[Sprint Samsung Galaxy S6] crazynapkinman:
No thanks. I mean lost as in the dev has seemingly given up on the project. Skyhigh still receiving support, so i switched.
[Sprint Samsung Galaxy S6] nostrings:
Ah, I see.

Last I heard is that s/he is busy with school and/or work, so it's understandable. For whatever it's worth, that kernel still works with Bigdaddy's (they really should change the name ;) ) ROM.

For me, that kernel gives me insane screen on (~4.5hrs probably; had 1h17m the other night with 81% left on the battery), as well idle time (0.2% drain per hour just last night).

SkyHigh is just an absolute beast when it comes to performance. Not to mention epic configurations! *bows to [MENTION=4988866]tdhite[/MENTION] *
[Sprint Samsung Galaxy S6] crazynapkinman:
I saw more stability with SuperNova. And yes, the dev is busy and that is perfectly fine. I just want a kernel that is staying up to date. I wish i knew what configuration was being used for best results from Skyhigh.... Even just applying ktoonz i get screen-on lag and full reboots. Idk why. Wheb i use interactive with Battery options used i dont get any reboots or lag, but the SOT is far less and the Bat drain is substantial.... ugh... Why are kernel settings so, whats the word, hidden?

No one shares their settings they use for the performance they speak of.... frustrating. If i fi d a combo that works well for battery and stability im definitely sharing them. So far, no luck though.
[Sprint Samsung Galaxy S6] nostrings:
Aside from the ramdisk, nothing else has really changed much. At this point, it's more about optimizations and such. Someone can correct me if I am wrong.

I changed the governor settings for A53(LITTLE) cluster. Check the QA section of this thread for specifics.

I really have not seen much difference between any settings I have tried aside from setting the governor to ktoonservative. I have tried it all - undervolting, underclocking, enabling HMP packing (use LITTLE more), power aware scheduling, ...nothing noticeable ever happened. I think with all of the commits to this kernel, some are bound to be the cause for this drain. :-/

FYI, the best idle drains I achieved with this kernel - 0.7%/hr, but revolve around 0.9% most of the time (this is overnight drain). SOT revolved around 2-2.5hrs, though I cannot say for sure (I try to keep my battery between 40% and 80% charge the majority of time)
[Sprint Samsung Galaxy S6] xXxSMOKExXX:
How much do you charge for a kernel of for Sprint SM-G925p?
[Sprint Samsung Galaxy S6] nostrings:
Check the OP. You can clearly see it there: "One hundred billion dollars. Cash."
[Sprint Samsung Galaxy S6] tdhite:
No worries folks -- on the way today. Yes, rather busy at work recently.
[Sprint Samsung Galaxy S6] tdhite:
Updated -- NOv. 13, 2016

Updated to provide complete and proper PJ1 (currently the absolute latest) based ROM support (including Stock ROM)!

Biggest adds are stock adb support (secure adb) and fixes to cron services.

Note, there are downloads for older ROMS (.e.g., PI3 based ROMs; PF4 based ROMs; and one for PD3 based (and earlier MM) based ROMs in the "Previous Versions" section of the OP. As with most new releases, a number of changes in the boot image (particularly SELINUX file contexts) were made. Pick the right one for your ROM and if your ROM dev can't tell you what ramdisk base was used, well, that's a problem anyway ;).

See the OP for download and flash instructions (no different instructions, they are just in their normal place).

As always: READ THE DISCLAIMER.

Also -- I want to throw a big thanks to [MENTION=3816775]koop1955[/MENTION] for keeping things up to date and making it easy on me for these updates. Go throw some thanks on him: http://xdaforums.com/showpost.php?p=66563123&postcount=1.

:cowboy:
[Sprint Samsung Galaxy S6] koop1955:
Quick Tip (A Little Trick)

First off, thanks so much to [MENTION=4988866]tdhite[/MENTION] for the new kernel and the recognition. Pleased to say that it is working perfectly, I have ADB back!

I did the usual, flashed the kernel and wiped caches before rebooting.

Then started up ADB. ADB kill-server, then ADB start-server, then ADB devices. Initially, I got the "unauthorized device" error, but it was trivial to fix. Went to Developer options on the phone, flicked USB Debugging to off, then back to on and immediately got the dialog to authorize the computer. Now working perfectly.

Thanks again!
[Sprint Samsung Galaxy S6] nostrings:
Thanks a lot you two.

[MENTION=4988866]tdhite[/MENTION] - Is the repo up to date? I haven't seen any activity since April...
[Sprint Samsung Galaxy S6] tdhite:
Nope -- I'll push commits this evening.
[Sprint Samsung Galaxy S6] nostrings:
Thank you bunches :)
[Sprint Samsung Galaxy S6] JoeFCaputo113:
Hey does anyone else here use Kernel Auditor to edit kernel settings? If so, does anyone have any good setups for good performance+battery? Thanks!
[Sprint Samsung Galaxy S6] nostrings:
Any reason why you aren't using Synapse?

At any rate, setting the CPU governor to ktoonservative is really 90% of that. You can also UC/UV, but in my case, I cannot claim I have seen any differences in longevity aside from placebo.
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Nov. 14, 2016

Updated to fix one last crond bug. Crond now works properly. If you don't know what that does, or the periodic activities (See the Synapse page for crontab), then no worries.

See the OP for download and flash instructions (no different instructions, they are just in their normal place, just flash and reboot, no wipes necessary).

As always: READ THE DISCLAIMER.

:cowboy:
[Sprint Samsung Galaxy S6] millernet:
Would love to use ktoon but every time I do, I get many random reboots like others have unfortunately mentioned as well. I've verified all CPU/Voltage settings are default, and no changes to cause instability.

In any event, thank you so much OP, your hard work is much appresh.
[Sprint Samsung Galaxy S6] nostrings:
Are you sure it's Ktoonservative governor that is doing? In my experience, if I OC A57 to 2.4Ghz, I would get random reboots. I would delete Synapse data and reboot the phone. Then change the governor to ktoonservative, and leave EVERYTHING else alone.
[Sprint Samsung Galaxy S6] crazynapkinman:
I too get many random reboots with ktoonz
[Sprint Samsung Galaxy S6] JoeFCaputo113:
What's synapse?
[Sprint Samsung Galaxy S6] nostrings:
https://play.google.com/store/apps/details?id=com.af.synapse&hl=en
[Sprint Samsung Galaxy S6] millernet:
I did some more testing and tried regular conservative--same random reboot issue as ktoonz. All settings are default. A lot of people have mentioned this on this thread, so I don't think it's just my settings.
[Sprint Samsung Galaxy S6] nostrings:
Did you try other kernels? Xposed installed? Maybe your ROM in the culprit...

I have been running this kernel on my phone for months, and aside from higher battery drain than stock or SuperNova kernels, everything has been smooth as silk.
[Sprint Samsung Galaxy S6] millernet:
running stock rom, xposed not installed. Don't think it's the rom--it's not just me having this issue with this kernel--supernova works fine.
[Sprint Samsung Galaxy S6] nostrings:
I am out of ideas, then. Sorry. :(

Do you have any logs captured by any chance? Maybe that can help us help you ...
[Sprint Samsung Galaxy S6] tdhite:
There are no issues currently known with ktoonservative that either I or others have not yet addressed, but if you get a last_kmsg up I can see where the issue is on your phone.

I run ktoonservative at all times and reboot maybe every few weeks due to forgetting to charge the battery before it drains out.
[Sprint Samsung Galaxy S6] crazynapkinman:
I get reboots on in-call screen oftwn when using ktoonz. It will ring, screen appears for answer or ignore and instantly reboots.

Or i will make a call, hang up and phone will reboot. Only when using ktoonz and happens on both this kernel and supernova.

Using the interactive gov with battery preferences i dont get any screen-on lags or reboots.

I can try to log it but it is very sporadic.
[Sprint Samsung Galaxy S6] millernet:
last_kmsg :

https://www.wetransfer.com/download...4a5cca111367b3ff724e42c220161117163600/575d6f

I really appreciate your help--i only have this "problem" due to your hard work, and it is a good "problem" to have--THANK YOU.

---------- Post added at 10:42 AM ---------- Previous post was at 10:33 AM ----------

Yup, everything fine for me as well with interactive w/ battery prefs, it's only when i change to ktoonz and conservative.
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT] [SM-G920P] [14 -Nov-2016] SkyHigh Kernel (Port) [v3.36]

If the log provided is from one of the purported kernel caused reboots, then entire issue has nothing to do with the kernel, other than when switching governors, the underlying problem on your phones is coming to life. In fact, the kernel is literally saving your file systems!!!

The log of interest is:

[10099.988497] [1: init: 1] SysRq : Emergency Remount R/O
[10100.002013] [1: kworker/1:4:14113] EXT4-fs (loop0): re-mounted. Opts: (null)
[10100.004806] [1: kworker/1:4:14113] EXT4-fs (sda20): re-mounted. Opts: (null)
[10100.006908] [1: kworker/1:4:14113] EXT4-fs (sda17): re-mounted. Opts: (null)
[10100.008783] [1: kworker/1:4:14113] EXT4-fs (sda16): re-mounted. Opts: (null)
[10100.019416] [1: kworker/1:4:14113] EXT4-fs (sda21): re-mounted. Opts: (null)
[10100.035608] [1: kworker/1:4:14113] EXT4-fs (sda19): re-mounted. Opts: (null)
[10100.038735] [1: kworker/1:4:14113] EXT4-fs (sda3): re-mounted. Opts: (null)
[10100.043669] [1: kworker/1:4:14113] EXT4-fs (sda18): re-mounted. Opts: (null)
[10100.046015] [1: kworker/1:4:14113] Emergency Remount complete
[10100.095219] [1: init: 1] exynos-snapshot: normal reboot

Again, presuming this log is representative, there are zero kernel issues (e.g., panics) throughout the entire lot, it is running perfectly. What appears to be the case is your phones are operating against the file systems in a way that is terribly unsafe, so the kernel detects that and remounts it read only for a clean reboot. This often arises when folks are using Xposed or similar dangerous facilities that skirt security.

What is likely the relationship to the governor is a reduced CPU availability, so whatever is trying to write the file system is starved more than it expects.

Anyway, if you have more logs, I can look, but so far, nothing at all is wrong other than the unexpected thought that the kernel is apparently preventing serious (potential) damage to your file systems.
[Sprint Samsung Galaxy S6] crazynapkinman:
In your opinion, should we try running without xposed?
[Sprint Samsung Galaxy S6] nostrings:
YES!

If you need Xposed, please ensure that the modules you use are not crap.
[Sprint Samsung Galaxy S6] crazynapkinman:
Im usibg amplify, greenify, yt adaway, yt bkgrd playback.
[Sprint Samsung Galaxy S6] nostrings:
Amplify made my phone crawl!!

Removed it, and my phone is usable again.
[Sprint Samsung Galaxy S6] millernet:
Thank you so much for checking--I really appreciate your time. Can you please check this log below, I found the word 'panic' several times, but I'm no expert.

https://www.wetransfer.com/download...64b46739ac57249c645af69320161119084754/dcca86

This last_msg is from right after a crash. Thank you again for all the tech support, amazing.
[Sprint Samsung Galaxy S6] crazynapkinman:
I am running bigdaddy with xposed.... sigh
[Sprint Samsung Galaxy S6] tdhite:
Well, do me one favor -- go edit that reply and remove the copied quote (takes too much screen space for no reason).

Also, just start backing out Xposed modules until you see stability. That's one way to debug.
[Sprint Samsung Galaxy S6] tdhite:
Think I got it folks -- it is up the levels a bit, but ends up causing governors to puke.

Can y'all do me one favor: Using Synapse, in both the "A57 GOV" and the "A53 GOV" pages, set the variable "no_extra_cores_screen_off" to 0 (zero). Then save and see how it goes.

I was able to get the thing to puke *without* Xposed or others by doing some nasty things, but regardless, it rules out Xposed or other things as far as I'm concerned and makes it an issue with the base Samsung OSS kernel sources. I can find that, it'll just take some time, but the above settings would help me if you folks can test.
[Sprint Samsung Galaxy S6] crazynapkinman:
Edited and testing with xposed
[Sprint Samsung Galaxy S6] millernet:
Edited and testing WITHOUT xposed.

Really got to hand it to you to go out of your way to create this, and then bend over backward to work through this for all of us. THANK YOU.
[Sprint Samsung Galaxy S6] millernet:
Not a single crash thus far for me. All day yesterday, and left on all night--that never happened before the change you recommended.

:)
[Sprint Samsung Galaxy S6] crazynapkinman:
Same
[Sprint Samsung Galaxy S6] tdhite:
Thanks guys -- just needed to verify. Makes sense -- I know the issue. It's a more fundamental issue with locking resources in the kernel and affects all kernels for this phone. This is a very easy work around. Keep it that way anyway -- background music needs some extra CPU now and then, so do other things.

I'll post a general kernel fix soon enough, but it is core enough to need serious testing which I'll do personally rather than risk other folks' phones for a bit.

:cowboy:
[Sprint Samsung Galaxy S6] nostrings:
I have been getting away with having just A53 having the extra cycles, and having A57 intact (actually, I have set the super_conservative option on for it)

FWIW
[Sprint Samsung Galaxy S6] laughs778:
Since im on PI3, is it recommended to stay with the v.3.34 or flash the updated versions??
[Sprint Samsung Galaxy S6] tdhite:
v3.34 -- I believe the OP is clear about that, but if not, let me know.
[Sprint Samsung Galaxy S6] bestgames:
Sorry, tdhite! But could you please make this kernel support ROMs (GraceUX UI)...???
[Sprint Samsung Galaxy S6] nostrings:
Umm, there is already support for them...? Since 3.34, at least!
[Sprint Samsung Galaxy S6] bestgames:
I don't know why! I tried SkyHigh with this ROM several times from v3.34 - 3.36 (https://samsungvn.com/threads/new-u...g920x-g925x-beta-8-11-2016.23916/#post-614279) ; but useless. It always stuck at Boot logo (Boot animation).
[Sprint Samsung Galaxy S6] elesbb:
Do you have a sprint Samsung galaxy s6? If not, there's nothing we can do. Plus that thread isn't even in English, so how are we supposed to read it? Any ROM you find here on XDA in this device's thread, these kernels will work for.
[Sprint Samsung Galaxy S6] bestgames:
Yes! I'm using S6 - G920P. And this is the topic on xda but it was locked.

http://xdaforums.com/sprint-galaxy-s6/development/ux-azmobile-rom-s6-g920x-g925x-beta-8-t3496275
[Sprint Samsung Galaxy S6] elesbb:
That got closed because it didn't follow XDA rules. Everything must be in English or have an English option. That whole installer is in Vietnamese. I'm not sure what tdhite nor myself would do in terms of making our kernels compatible. We cannot understand the ROM so we can't really test it ourselves.
[Sprint Samsung Galaxy S6] bestgames:
Please take a look at this clip! I was recording while flashing this Rom. Sorry for bad quality :p

https://www.youtube.com/watch?v=ggWE1xmtn5o

I found Kernel Arter97 (for Note7 GraceUI) support but there is no version for our G920P.

http://arter97.com/browse/S6/kernel/22.0/for%20Note%207%28Grace%20UI%29%20ports/
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Nov. 27, 2016

Updated to v3.36a, which fixes a build error with modules. In v3.36, modules failed to load so things like ExFAT were not usable. All now work properly. I removed previous links to PJ1 builds due to the broken modules. Most likely no one was affected (never saw a complaint), but still, having modules load correctly is clearly a thing to fix.

See the OP for download and flash instructions (no different instructions, they are just in their normal place, just flash and reboot, no wipes necessary).

As always: READ THE DISCLAIMER.

PS: I'll try also to give [MENTION=2675647]elesbb[/MENTION] a hand at fixing what caused his thread closure.

:cowboy:
[Sprint Samsung Galaxy S6] elesbb:
Lack of source code. NBD :) It will just have to wait till December. Gotta do well on my finals. I will probably be absent from XDA aside from mobile reading/posting for awhile. Life is calling..

PS: Thanks for looking out for me :)
[Sprint Samsung Galaxy S6] Supahx:
is it alright to use the PJ1 version of the kernal if I flash up to PK1 stock?
[Sprint Samsung Galaxy S6] nostrings:
It probably would work, though I personally would hold off till [MENTION=4988866]tdhite[/MENTION] has a chance to repackage the kernel with the latest ramdisk (and any file context changes.... Samsung loves these shenanigans)
[Sprint Samsung Galaxy S6] tdhite:
On it -- repackaging this weekend. Hang in folks. There are usually some issues related to SELinux with each update (security, dontcha know), so we'll see.
[Sprint Samsung Galaxy S6] nostrings:
Take your time, sir.
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Dec. 23, 2016

Updated to v3.40, which adds ktoonservative tweaks and crond (shell access) corrections. This version also introduces an 'update only' model in which case the flash updates only the kernel and leaves the remainder of the boot image untouched.

I urge you to read the Flash Descriptions section of the OP.

See the OP for download and flash instructions (no different instructions, they are just in their normal place, just flash and reboot, no wipes necessary).

As always: READ THE DISCLAIMER.

:cowboy:
[Sprint Samsung Galaxy S6] tdhite:
3.40 Is Good for PK1 and PJ1 ROMS

For those wondering, the latest kernel release is fine for both PJ1 and PK1 ROMS. Feel free to use with either basis (Stock or any custom ROM (e.g., BigDaddy)).

:cool:
[Sprint Samsung Galaxy S6] nostrings:
For me, it's still there, if I don't set the governor setting no_extra_cores_screen_off to 0 for A53 cluster.
[Sprint Samsung Galaxy S6] tdhite:
Next release will default A53 cores to allow screen-off additional CPU. Working on allowing setting how many max CPUs to allow, but setting the trigger points does just about the same, so not sure it's worth the code change yet.

I will add this in the release I'll do for the CL3 firmware release.
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT] [SM-G920P] [23-Dec-2016] SkyHigh Kernel (Port) [v3.40]

Been running 3.50 a good while now:

https://github.com/TeamSPR/kernel/blob/skyhigh/CHANGELOG.md

I'll upload later today after a bit more stress testing.

[MENTION=456385]amield143[/MENTION], suggest you put this version in your ROM in favor over 3.40. This new version also starts the injection (git cherry-pick inclusions) of relevant Arter and Vindicator kernel optimizations. Either way, the update flash will update 3.40 to this release painlessly.
[Sprint Samsung Galaxy S6] tdhite:
Looking for a few testers. The reason is busybox is upgraded in this release to the latest stable release and that causes a few changes to the installers, as well the changes to the cpufreq layer deserve a few testers than just me, but the going is good so far.

The full (completely replaces boot image, installs modules, busybox and all the rest) zip is here: tdhite-G920P-SkyHigh-v3.50-full-17-01-08.zip

The update (just replaces busybox and the kernel (modules, synapse portions, kernel itself and related modules): tdhite-G920P-SkyHigh-v3.50-update-17-01-08.zip

Please send me a PM if you are testing for the day for me -- that way I'll know who to watch for and if any issues pop up, let's handle 'em in this thread.

Finally, this is not yet CPL3 updated. If anyone wants to send me the pure boot image from the update, feel free and I'll build the kernel off it.

Thanks for any helpers.

:cool:
[Sprint Samsung Galaxy S6] amieldl143:
Got it thanks bro...

SM-G920P Biggdaddy Rom
[Sprint Samsung Galaxy S6] tdhite:
All, [MENTION=5241571]Saafir[/MENTION] got me what I needed. An update on the way so if your testing, feel free to reload your original boot image (assuming you took a TWRP backup). The next one will be releasable.
[Sprint Samsung Galaxy S6] amieldl143:
Thanks. I'll wait before I release rom.

SM-G920P Biggdaddy Rom
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Jan. 09, 2017

Updated to v3.50.

I urge you to read the Flash Descriptions section of the OP.

See the OP for download and flash instructions (no different instructions, they are just in their normal place, just flash and reboot, no wipes necessary).

As always: READ THE DISCLAIMER.

:cowboy:
[Sprint Samsung Galaxy S6] *blackzer0:
Updated to v3.50.

Updated to v3.50 but deep sleep not working kindly help me.
[Sprint Samsung Galaxy S6] tdhite:
To help, need a couple info pieces:

1) what makes you believe deep sleep is not working on your phone (no changes in that are to this kernel for a very long time) -- send whatever info you are relying on that points to the kernel please;

2) send logs (logcat and /dev/kmsg) -- I need at least something to go on other than 'something is not working on my phone.'

Most folks always point at a kernel they believe is a 'culprit' when in fact something on the phone is specifically asking for a wake (wakelock issues). Could be just about anything, so need a little help to help.

:confused:
[Sprint Samsung Galaxy S6] amieldl143:
Kernel is working fine here. People need let Rom settle with kernel. Other factors are what apps and how many are installed and if background sync is on. Kernel is not the issue.
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT] [SM-G920P] [14-Jan-2017] SkyHigh Kernel (Port) [v3.60]

Updated to v3.60.

I urge you to read the Flash Descriptions section of the OP.

See the OP for download and flash instructions (no different instructions, they are just in their normal place, just flash and reboot, no wipes necessary).

As always: READ THE DISCLAIMER.

As a final comment, I'm running my own ROM which is a debloated Stock CPL3 ROM. I don't want to jump into massive ROM dev, given [MENTION=1254481]amieldl143[/MENTION] is doing us all just fine with Biggdadday, but if folks really want I will setup a stock, deodexed, debloated ROM and upload it. I just remove the bloat software and flash that ROM. Then flash this kernel, followed by my hotspot (the one 'with init.d support already in the ROM') and all works like a serious champ. Anyway -- let me know, but beware that most folks want all the features in a ROM like Biggdaddy -- I'm offering only stock less bloat and a decent kernel with hotspot (no more, at least for now).

:cowboy:

Edit: mistaken version number. Actually updated to 3.60.
[Sprint Samsung Galaxy S6] amieldl143:
Sounds good brother. [MENTION=4988866]tdhite[/MENTION]
[Sprint Samsung Galaxy S6] gargleblarg:
[MENTION=4988866]tdhite[/MENTION], I'd like to try it out. I like running stock when sprint comes out with updates and go custom after a bit.
[Sprint Samsung Galaxy S6] nostrings:
We can't have too many options. :cool:
[Sprint Samsung Galaxy S6] koop1955:
I'd be happy to take your debloated ROM out for a spin as well. Thanks, [MENTION=4988866]tdhite[/MENTION]!
[Sprint Samsung Galaxy S6] JoeFCaputo113:
So I wanna update the kernel only obviously, I just chose the Kernel Update one and not the Kernel Full Boot Image, correct?

Also, can anyone recommend good settings for good battery+performance combo and also an app to control the kernel settings? Thanks yall :good: