yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S6] tdhite:
If you are on 3.50 (e.g. are running BiggDaddy ROM), there is no need to upgrade at all. The only diff between 3.50 and 3.60 are boot image issues, nothing about the kernel itself was changed other than a version bump.
[Sprint Samsung Galaxy S6] JoeFCaputo113:
The last post in there is from October though haha.
[Sprint Samsung Galaxy S6] tdhite:
With (admittedly what I strive for) an impressively stable kernel, why would you think things would change absent an announcement?

Seriously -- this kernel is about flash, setup as you want and totally forget!

:confused:

ps: The coming "TDH-JE" ROM (which means 'Just Enough" stock debloated/deodexed ROM) that includes this kernel and hotspot fixes is coming within days. It will *always* be up to date with the latest Sprint/Samsung firmware releases. One thing to fix (wifi permissions) and it's a go. Hang in folks . . .
[Sprint Samsung Galaxy S6] JoeFCaputo113:
Oct is 3 months ago man. Lots of things change in 3 months, how can you say that lolol cmon mannn. :rolleyes:
[Sprint Samsung Galaxy S6] tdhite:
Well, I can say such seemingly crazy things because I maintain this kernel. :)

And in fact nothing changes on the (Synapse) setup, which is the key point, except in very rare circumstances. So basically, nothing relevant to the settings for battery have changed, even since October. What is changed is better use of those settings (in the code) for better battery, but just not the settings.

No fear -- use the settings over, and over, and over, and over with each release. :cowboy:
[Sprint Samsung Galaxy S6] JoeFCaputo113:
Touche!! :good:
[Sprint Samsung Galaxy S6] tdhite:
Base ROM now works Odexed (testing deodexed today) -- here's the gist

Extremely debloated (seriously!)

@tdhite Skyhigh kernel

SuperSU (rooted)

Netflix encryption fix

Hotspot fix

Busybox

If deodexed version runs clean, I'll post. If not, it's up to the group if you want the odexed version for now (it is running very well).

---------- Update ----------

Deodexed is up and running. I'll test a while and post up for testers. After that, I'll open a new thread so we don't hijack this kernel dev thread as if a ROM dev thread (my own cheat for now, so is what it is -- kernel seems to have nothing but what we want around here right now).
[Sprint Samsung Galaxy S6] tdhite:
TDH-JR ROM Testers . . .

Ok, boys and girls, here you go for testers that are willing to help me make sure a new deodexed, debloated stock ROM works (does for me).

Here is the gist:

The ROM is TDH-JR (which just means I 'cooked' it and it is 'Just Enough' 'ROM' to get you going. Add your own apps, there's very little left from the bloated mess that the manufacturer left in.

The basics of the ROM are:

Extremely debloated (seriously!)

deodexed

@tdhite Skyhigh kernel

SuperSU (rooted)

Netflix encryption fix

Hotspot fix

Busybox

Anything you do is subject to the DISCLAIMER in this thread. Read it!

The download link is here for the build that *should* go as a first release if testing goes well for all.

On the first boot (after any flash of the ROM), it will take a good long time to come all the way up and will reboot at least once during the initial boot sequences. Give it time.

Install it with TWRP after wiping data, system and caches. If you don't know what that means, don't test. It is possible it would support dirty flashing over pure stock CPL3 'data' (so you could try 'not' wiping that), but you *must* wipe dalvik in that case. I'm not supporting dirty flash issues, if you dirty flash, wipe clean before posting a problem. It will always support dirty flashing *after* installing this ROM cleanly (I'll make sure of that, or otherwise make sure you know).

I'll hijack this thread for a very brief time to get the ROM clean, but very soon we will stick to kernel dev issues only and I'll create a ROM thread for the new ROM.

:cowboy:
[Sprint Samsung Galaxy S6] nostrings:
Anyone else getting

"OOPS!

no mirrors found."

from AFH?
[Sprint Samsung Galaxy S6] tdhite:
Hmmm. I don't, but i also have direct access. If it's not available soon I will make another upload elsewhere.

------- Update ------

I get five mirrors (Germany(1), Quebec(2), Texas(2)). It's spread out now, so you should get a mirror.
[Sprint Samsung Galaxy S6] koop1955:
The AFH server error has been fixed, download working fine.

This showed on AFH: "We apologize for the issue with no mirrors found & the web uploader option disappearing. The issue has been fixed & the site is back normal."

Working fine now and thanks.
[Sprint Samsung Galaxy S6] amieldl143:
Love to this this out bro.

---------- Post added at 12:59 PM ---------- Previous post was at 12:57 PM ----------

I'm actually excited. I've not downloaded a rom for a long time.lol. It's not the same when you developed your own and flash your own. Miss the hype of downloading different roms. Thanks brother.
[Sprint Samsung Galaxy S6] tdhite:
Well, this is a stripped down base. When I open the thread, there will be very clear comments to folks that if they want features, go get BiggDaddy. No plans to add mods at all, just the bare minimum to run with a decent kernel and a few fixes. Keep the BiggDaddy up!

:good:
[Sprint Samsung Galaxy S6] gargleblarg:
I almost forgot about xposed until you mentioned this, I just installed it on this ROM and it's running great. A module called xtouchwiz will give the power menu the restart to recovery option.
[Sprint Samsung Galaxy S6] H0wdy:
Ok, there is no Q&A thread for skyhigh. I searched.

I am on CPL3 and have TWRP. Can you please tell me where I can discuss what to download and what needs to be done to use skyhigh?
[Sprint Samsung Galaxy S6] H0wdy:
The one without posts since October :/

I'm just looking to ask questions about installing it, etc.
[Sprint Samsung Galaxy S6] H0wdy:
Ok.

Hi, I am on CPL. I have TWRP and rooted. How do I just install the kernel only, can I just flash a single zip through TWRP? I'm having poor battery life.

Will that affect my zip file I flashed for xposed support and tethering?
[Sprint Samsung Galaxy S6] nostrings:
[MENTION=4988866]tdhite[/MENTION],

Do you know anything about EAS (Energy Aware Scheduler) governor? I saw the story in the front-page (redirects to this thread; https://xdaforums.com/htc-10/development/kernel-nebula-energy-aware-scheduling-t3551516), but there is not a lot of code as far as its implementation. I wonder how much of a difference this would make for our devices, if any, and/or how it would compare to ktoonservative governor.
[Sprint Samsung Galaxy S6] tdhite:
Hmm, not familiar yet. I'll take a look and if commit-able to this kernel, we'll "git 'er done."

:cowboy:
[Sprint Samsung Galaxy S6] nilc23:
My primary game is Mortal kombat x. Only works well without lag in interactive. If I try to use userspace, ondemand, conservative or ktoonservative always lag fractions of seconds and continue normal for about 10 seconds, continuously.
[Sprint Samsung Galaxy S6] tdhite:
Got it -- and especially thanks for the comparisons to other governors. Key is hotplug and freq switch timing. I'll have a look at that. Tweaking will take awhile, but if you want to play, you would want to alter the following:

block_cycles_online_screen_on:

Tells the kernel how many cycles (where a cycle is one full sampling_rate in time) to wait before allowing a CPU to turn on.

block_cycles_raise_screen_on:

Tells the kernel how many cycles (where a cycle is one full sampling_rate in time) to wait before raising the CPU frequency.

block_cycles_offline_screen_on:

Tells the kernel how many cycles (where a cycle is one full sampling_rate in time) to wait before allowing a CPU to turn off.

If you lower (make smaller) the first two, and increase the third, the governor will become 'more responsive' and 'sticky' to load changes, but at the same time CPUs will get hotter, so be careful (especially if overclocking)!
[Sprint Samsung Galaxy S6] nilc23:
I tryed several combinations with the isntructions you gave me but still laggin with i play mkx. Still play well in interactive.
[Sprint Samsung Galaxy S6] H0wdy:
Hello,

I'm using skyhigh and was using ktoonservative, but it was slow. I switched to ondemand with synapse, but now I get occasional reboots?
[Sprint Samsung Galaxy S6] nilc23:
I tryed overclocking gpu and cpu but always same laggin problem. Only way to work is with interactive
[Sprint Samsung Galaxy S6] JoeFCaputo113:
While using Synapse app, how do I reset everything back to default? My phone is running like crap after messing with a few things lol.
[Sprint Samsung Galaxy S6] monroe0328:
Deleted... nothing gold last forever. Im moving on with my life!!

*flashing new rom*

Looking forward to this kernel too woot woot
[Sprint Samsung Galaxy S6] H0wdy:
I have installed this kernel but if I use either ondemand or conservative, with synapse, I get occasional reboots?
[Sprint Samsung Galaxy S6] monroe0328:
Ok i need an opinion here. Not saying its the kernel but ever since ive installed this kernel these crazy kernel wakelocks have been driving me crazy.

All following a clean install of big daddy.

Its weird because the same wakelocks plagued me on renegade after installation of this kernel. BUT, also after i reinstalled my original kernel after i noticed the issue.

Please take a look. Its prolly a crappy img but ya please tell me this ISNT normal. (Ive tried adjusting the DTIM interval for some improvement in synapse)

Its like all radios are going haywire, is it possibly app generated traffic? Even bluetooth is in the mix and that stays off. Google play services seem to be involved and ive amplified/greenified everything i could poossibly think of but it feels like im chasing my tail.

http://www.photosnack.com/MonroeThompson/kernelwakelocks.html

Also... everytime i reboot i lose deepsleep.

To fix i have to reinstall full kernel and set gov to ktoonservative... weird

Kmsg/dmesg

https://drive.google.com/file/d/0B_BqyDtA1zYYLXRvbHMwMnZjRVU/view?usp=drivesdk

https://drive.google.com/file/d/0B_BqyDtA1zYYLXRvbHMwMnZjRVU/view?usp=drivesdk
[Sprint Samsung Galaxy S6] monroe0328:
Same issue here. Find out anything?
[Sprint Samsung Galaxy S6] koop1955:
If you do a Google search on "15510000.mdmpm_pdata" and Wakelocks, you will find it discussed over on the T-mobile Galaxy S6 section here: https://xdaforums.com/tmobile-galaxy-s6-edge/help/rooting-deep-sleep-t3079385/page9

The issue with this being associated with Wakelocks across this device on multiple carriers offers some interesting insights. Start with the comment by our own esteemed member Chainfire who says: "that doesn't mean that every firmware is shipping with the same kernel (in fact we know this is not the case)"

Read the whole discussion, but the significant takeaway for me is that it isn't anything specific to this kernel or even to the Sprint device.

As for the solution to improve battery life, look to your apps. Get rid of what you don't need.
[Sprint Samsung Galaxy S6] tdhite:
15510000.mdmpm_pdata is at issue, but also -- also note that if you turn on Google voice activation 'in any app' it will slaughter your microphone and end up sucking down plenty of juice. As [MENTION=3816775]koop1955[/MENTION] notes, it's not the kernel -- the kernel just does what is asked of it. Google Services are killers in wake locks as well.

With that said -- you can turn off some wakelocks that are expensive in the kernel. Go to the bottom of the 'Advanced' tab in Synapse. Those are generally useless wakelocks (imho). I could not care less about the Samsung SHealth or similar apps. Anyway -- ymmv, but your choice.

With that said -- update is at hand for the latest firmware. I'll also update TDH-JR stock debloated ROM. Should be tomorrow or so.
[Sprint Samsung Galaxy S6] nostrings:
Unfortunately, I haven't found anything specific.

After a few ROM changes, and less installed apps, and getting rid of Xposed, I don't seem to have this problem anymore. As I said, not specific to any of those ...

YMMV.
[Sprint Samsung Galaxy S6] monroe0328:
Great! Thanks for the info guys.
[Sprint Samsung Galaxy S6] monroe0328:
Ya its def the 15510000 thing keeping my device awake. Im sure ill find a workaround eventually or hopefully a solution. I will never quit! Just sucks everrytime i fix deepsleep i lose it on reboot. So frustrating.
[Sprint Samsung Galaxy S6] monroe0328:
Well you guys were totally right. The kernel only does what its told. In this case its told by google play services to use the 15510000 modem thing while the screen is off. I froze it in TIBU, reboot and bam deepsleep. Its gotta be an app abusing google play services.

Im hot on the trail.
[Sprint Samsung Galaxy S6] yaibakt:
Which app/service did you freeze by tibu?

Thank you.
[Sprint Samsung Galaxy S6] tdhite:
QA2 ROM Fine with v3.60

For those wondering, you can use the current released kernel with QA2 firmware. The only relevant changes were in the default.properties, and in that just build date and release info -- nothing useful.

I will be updating to v3.70 soon, it has new toys. First a few days of testing.

:cowboy:
[Sprint Samsung Galaxy S6] yaibakt:
cant wait :good:
[Sprint Samsung Galaxy S6] monroe0328:
Well i froze Google play services, deep sleep returned although not the solution im looking for.

I was able to get deep sleep back by killing the heartbeat alarm service in google play services... but gps went haywire and actually caused xposed installer to crash permanently, repeated force close messages.

So im killing the mechanism thru which the culprit uses to keep my device awake... its gotta be a app i restored from TiBu

Gps = google play services

Edit: problem solved by uninstalling apps i thought could abuse google play services. Ive even reinstalled 90 percent of them and deep sleep is good and 15510000 wakelock is minimal.
[Sprint Samsung Galaxy S6] lamnguyen93:
How to flash QA2 kernel?
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Feb. 20, 2017

Updated to v3.70. OP is updated to point at the new release. There are quite a few optimizations and kernel features added, not that you'll see them, they are quite 'inside' the kernel itself.

As always: READ THE DISCLAIMER.

This release drops modules in favor of building in ExFAT and NTFS. If folks want the additional modules in place, let me know, otherwise I'll likely leave them out. I will bring back CDROM file systems as well soon so as to support (Possibly) DriveDriod.

:cowboy:
[Sprint Samsung Galaxy S6] bowhunt2005:
Just wondering if i flash twrp with odin and then your twrp flashable zip, will that root the phone or do i need to be rooted b4 flashing your kernel file?
[Sprint Samsung Galaxy S6] tdhite:
The kernel flash roots. Generally stated: odin stock upgrade (and let it fully upgrade); odin TWRP; flash this kernel. You'll be rooted.

With that said -- honestly, load up my TDH-JR or BiggDaddy for a much better experience than pure stock with a good kernel. Just my take.
[Sprint Samsung Galaxy S6] bowhunt2005:
Thanks for the info and recomendations. So a totally clean stock flash with odin is required? Can i twrp backup, flash the kernel and then restore? Or will it mess it up?
[Sprint Samsung Galaxy S6] tdhite:
Linux 3.10.105 upgrade coming soon. Nearly 700 additions/fixes/optimizations.

For those wishing to test, let me know. I run the new version as daily driver now, but with such a large update I welcome any other willing folks
[Sprint Samsung Galaxy S6] nilc23:
i want to try your test if is possible
[Sprint Samsung Galaxy S6] nostrings:
Sure thing, I'd love to test it out. ?
[Sprint Samsung Galaxy S6] tdhite:
Change CPU governors. This kernel has many options, the stock runs battery hard in favor of (nearly imperceivable) user experience.

Also, benchmarks are often tweaked to assume specific setups. Make sure you match it across the board.
[Sprint Samsung Galaxy S6] tdhite:
Posting new kernel for test in a day or so. Hang in. Working on getting a specific USB gadget working (which Samsung does (seemingly) everything in their power to preclude).
[Sprint Samsung Galaxy S6] calikushed:
So if i flash the full version on a stock but rooted rom it will make changes automatically? as in it has custom preset default settings to the kernal? or do i need to make changes from an app to see a difference from my stock kernal? Mainly im looking for better battery life. I installed the kernal auditor app but not sure what to change or to what levels to see improved battery life. Thanks in advance and for the hard work on this project.
[Sprint Samsung Galaxy S6] nostrings:
You need "Synapse" to change kernel settings.

Set the Governor to konservative.

Underclock both clusters, as well as the GPU.

And that about covers it.
[Sprint Samsung Galaxy S6] tdhite:
Updated -- Mar. 12, 2017

Updated to v4.02. OP is updated to point at the new release. There are nearly 700 commits that make up this new release, which also brings the kernel up to 3.10.105 consistent with the upstream stable kernel from the main site (kernel.org and its mirrors). All prior optimizations and kernel features added for this kernel remain fully intact. As well, I removed the TIMA requirements on modules, so modules are now back in the kernel (as is the Synapse module page to enable them).

As always: READ THE DISCLAIMER.

This kernel does not yet support DriveDriod. The base Samsung sources preclude (at the moment) the use of other storage gadgets. I won't promise fixes, but I continue to look at workarounds. The sources do build and succeed at building the gadget modules, alas the gadget mass storage driver fails to load (understandably given Samsung's releases). Therefore, for now, it is not included quite yet.

As well, this is the last kernel release (hopefully) that bases root on SuperSU. In the future, I intend to root ROMs with Magisk.

As for those volunteering to test, I thank you so much. Turns out the kernel, even with the very large number of commits, is impressively stable and strong.

Let me know if anyone has problems.

:cowboy:
[Sprint Samsung Galaxy S6] koop1955:
W00T!!!!
[Sprint Samsung Galaxy S6] Nye-uhls:
Take me. Take me now tdhite.

Expect a donation from me on that day. And possibly a bouquet of flowers.
[Sprint Samsung Galaxy S6] nostrings:
Awesome news! Hopefully by that time, some kinks are ironed out that allows some apps to work with MagiskSU ... in my case, Tasker (specifically, executing actions with root checked). :)

Thanks for another awesome release ... my phone is purring with this, like with previous releases. Awesome work, sir!

EDIT: Hah - look at that; https://www.xda-developers.com/next...pport-for-magisk-root-app-shortcuts-and-more/
[Sprint Samsung Galaxy S6] yaibakt:
Qb1 tar file was out, will we have the newer kernel soon?

Thanks.
[Sprint Samsung Galaxy S6] tdhite:
No need for update. The latest kernel is good for PL3 through QB1.

I also updated my debloated/deodexed stock ROM: TDH-JR ROM for QB1. Use that if you want a more palatable (imho) stock experience, it includes the latest kernel on flash so makes life easy.

If you flash the kernel over your existing ROM, you can just use the full version, and then I suggest also flashing my hotspot fix. Use the smaller flash from that thread (the one that states it is for ROMs already having init.d support, which this kernel provides). That will fix hotspot and also place a quick settings tile for easy access.

Enjoy! :cowboy:
[Sprint Samsung Galaxy S6] Poebat:
When I use this kernel my S6 sits at the bootloader screen for ~2mins before loading the OS. I didn't have this issue with the Nova Kernel. Any ideas as to why this is happening?
[Sprint Samsung Galaxy S6] digitalchaos1980:
[MENTION=7212083]Poebat[/MENTION] mine does the same thing, but I'm not sure why. Has anyone had any issues with RAM running out until the phone starts to become unresponsive?? I am constantly monitoring my RAM usage and it's not my apps, it's the Android OS itself. After a fresh boot it will be using roughly 1.3Gb and over a days use will work itself up to 1.9 to 2.1 and it gets unbearable until I am forced to reboot. I've tried tracking down the process(es) responsible with no luck. I've tried various RAM tweaks in build.prop with a little relief but the underlying problem remains. Other than that it's a great kernel and I still won't try another one! :)

Chuck
[Sprint Samsung Galaxy S6] Poebat:
I have ram issues here too. Did you have these on stock?
[Sprint Samsung Galaxy S6] digitalchaos1980:
Honestly I didn't have it long enough in a stock setup to know. I had it rooted and modded with this kernel within a couple hours of having the phone. I thought about flashing a stock kernel back to see if it improves.

Chuck
[Sprint Samsung Galaxy S6] Poebat:
I think I had similar issues with NOVA KERNEL. Only reason I switched to this is because the developer seemed to have given up on it and for some reason I couldn't get my clock speed above 1.3ghz with it. Was great for battery life though :) I don't remember these issues on LP. Too bad I can't go back.

Also, doesn't this kernel include root? Will root be lost by flashing the stock kernel?
[Sprint Samsung Galaxy S6] nostrings:
This has already been answered - it sets up security contexts, cron jobs, etc. It's expected.

---------- Post added at 04:32 AM ---------- Previous post was at 04:29 AM ----------

I too have this issue. But as you pointed out, it's the Android OS that's the culprit, not the kernel.
[Sprint Samsung Galaxy S6] Poebat:
With this kernel my phone crashes after a day. I can't even turn on the screen without a 10 second delay I didn't have this issue before flashing the kernel. Great kernel otherwise... Unfortunately this kernel makes the phone unusable at times. I think I'll set up my phone to reboot automatically sometime early in the morning.
[Sprint Samsung Galaxy S6] nostrings:
I don't have that problem.

Give us some more info if you want help; did you change any settings?
[Sprint Samsung Galaxy S6] Poebat:
Not in synapse

---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------

"This has already been answered - it sets up security contexts, cron jobs, etc. It's expected."

Is there a way to disable this?
[Sprint Samsung Galaxy S6] digitalchaos1980:
To me this kernel is virtually perfect! I just need to figure out how to track what actual processes are using RAM so maybe I can get a handle on it. I did try a couple other kernels just for elimination but I couldn't stand to use them long because there was no Synapse support in them. I tried to try some other kernels for other variants but for some reason the touch becomes unresponsive on boot, and I find that odd cuz with my Note 4 I was able to flash kernels from other variants and they work. Anyways....
[Sprint Samsung Galaxy S6] Poebat:
Same exact thing here. Now that I think of it, I didn't have this issue until I flashed this kernel. This started happening about a week with other kernels.
[Sprint Samsung Galaxy S6] nostrings:
Are you using Xposed? If so, what modules?

You really wouldn't want to. But I would defer to [MENTION=4988866]tdhite[/MENTION] if he wants to give us an option without all those goodies
[Sprint Samsung Galaxy S6] Poebat:
I am using xposed. I don't think that this is causing this issue as I had no RAM issues with Nova Kernel. I am currently using Gravity Box MM, All My..., Materialize Xposed Installer, Xposed Torch, XPrivacy, YouTube AdAway, and YouTube Background Playback.
[Sprint Samsung Galaxy S6] tdhite:
[KERNEL] [ROOT] [SM-G920P] [12-Mar-2017] SkyHigh Kernel (Port) [v4.02]

No way to disable. I will look at running setup in the background to speed up boots.

Update: already shaved a minute off boot time. Now effectively identical to stock. Looking at a few more boot time games.
[Sprint Samsung Galaxy S6] Poebat:
Awesome!
[Sprint Samsung Galaxy S6] nostrings:
Nice! Setting the cortex and cron goodies up after bootup?
[Sprint Samsung Galaxy S6] tdhite:
Boots are now smoking fast. Going up for release this weekend.
[Sprint Samsung Galaxy S6] Poebat:
Awesome! Can't wait to flash! Also, have you looked into the RAM issue?