[KERNEL] [ROOT][MM | N] [SM-G920P] [19-Jan-2019] SkyHigh Kernel (Port) [v7.30]

Search This thread

tdhite

Senior Member
Dec 4, 2012
1,687
3,461
DFW
SkyHigh Kernel -- Ported to SM-G920P (Sprint Galaxy S6).

This is, unquestionably, the most up to date kernel for the S6 devices. That includes upstream kernel (vanilla) additions bringing it to the latest (3.10.108) publicly released. This project started as a port of the SkyHigh kernel, originally by @UpInTheAir, to the G920P kernel. this kernel, however, has a great deal of further enhancements and optimizations relevant to Sprint Galaxy S6 device. The boot image build is not embedded in the kernel sources, as it is in the original, rather is an automated build in a separate project.

Donations:
I do accept donations, you are by no means required to, it just invigorates me to do more stuff in the kernel ;). With that said, apparently some devices fail to show the donation link next to posts, so you can click here to donate.

DISCLAIMER
Always READ THE DISCLAIMER before engaging in modifications to your phone.


Thread Rules
This thread is for the development and furtherance of kernel features. There are a handful of rules to this development forum with which you must comply or you'll likely get ignored:

  1. This is not a general Q&A thread, it is a development thread. Please use the Q&A thread for general questions.
  2. Do not ask @UpInTheAir for support, this port is not one he maintains;
  3. Do not post anything without first searching the forums, if your issue has been discussed before, you will get no response;
  4. Do post anything relevant to the development and furtherance of the kernel. Please use the Q&A forums for questions and general discussions.

Features
  • Based on the latest available official Samsung source: Samsung OSRC
  • Base sources upgraded to Linux 3.10.108
  • A ridiculous number of optimizations and kernel bug reparations see all commits here;
  • Extensive Synapse app support for many kernel configurations;
  • ktoonservative Hotplugging CPU Governor (default, others available);
  • ktoonservative tweaks (e.g., overrides standard cpufreq screen-off handling);
  • Over/Under Clock and Voltages;
  • Wakelock control;
  • Multipath TCP Support (use Synapse to enable and select desired congestion algorithm);
  • F2FS support built in to kernel;
  • exFAT (OTG works), CIFS, NTFS, CIFS as modules (use Synapse to enable);
  • Permit FULL (auto)ROOT: ramdisk patched to support SYSTEM-LESS SuperSU or MAGISK;
  • Tether / Hotspot Fix Built In (N Kernels)
  • Auto-Install busybox & Sqlite3 to /system/xbin (on flash);
  • ramdisk base: per Sprint ROM releases;
  • KNOX WARRANTY VOID: 1;
  • SELinux PERMISSIVE (default) or ENFORCING (optional);
  • OTG support
  • DEEP SLEEP FIX;
  • init.d script support (place scripts in /system/etc/init.d & set permissions to 755 or 777 and reboot);
  • stock dt.img;
  • Mali GPU DVFS disabled for min/max frequencies;
  • Secure storage = false (prevent WIFI settings & passwords wiping on reboots);
  • Many descriptions are in the Synapse Application. If you require more info, follow the thread rules above.


Flash Descriptions:
Note that there are two downloads: an Update and Full boot image.

The Updates are for currently running ROMs. If you just want to update the kernel and related utilities (startup scripts, busybox) and have no other modifications to your boot image, download and install the Update version. The Update injects the kernel update into your existing boot image, it does not touch the remainder of the boot image. The update is also useful in cases when folks dirty flash ROMs just to change features or have older ROMs and want to try the latest kernel, therefore do not have the ROM flash install the kernel at all. The issue with that is the ROM flashes generally do not know to keep the kernel modules, so those get deleted. This updater will reinstall those as well. In brief, it is an update of the kernel and its important files only, it does not root the ROM as does the full version.

The Full boot image flash is a complete boot image, which is the normal flash. However, some ROMs install other systems (e.g., my hotspot fixes) which also modify the boot image, specifically files in the ramdisk. For initial, or clean installs of this kernel, download and install the Full flash. It will also root the ROM for you if not already rooted (SuperSU is installed). You will want to add other boot image modifying flashes after that (though there are not that many flashes that actually modify the boot image).

The general rule is this: if you are installing this kernel on a ROM and have never installed this kernel, use the full version. If you are already running tdhite SkyHigh on a ROM, download and flash the Update version of the kernel.

tdhite SkyHigh v7.30, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • MD5 Hash: a0b362bf71767cc4418d800ded163850
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.9.20180424. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.9.20180424:
  • Memory leak fixes (no known/reported leaks remain).
  • Updated embedded Magisk to v18.00 and roots the phone therewith.
  • Passes SafetyNet Checks!

Recovery Flashables for based on latest MM kernel sources and firmware (PL3 through QB1) ROMS
  • Dramatic boot up time improvements (impressively fast)..
  • Ramdisk (boot image) will work with PL3 through QB1 Firmware.
  • No need to wipe any partitions, just flash and reboot.
  • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . . subsequent boots are smoking fast.
    • Kernel Full Boot Image (installs entire boot image and utils)


Instructions
  1. Make sure you are running a MM 6.0.1 or N 7.0 (Stock is fine);
  2. Make sure you have TWRP 3.0.1-0 (or higher version) loaded as your customer recovery;
  3. Download the TWRP flashable zip for your specific version of Android and firmware, placing the flash on your phone for subsequent 'Install' in TWRP;
  4. Reboot into TWRP Recovery;
  5. The smart user will perform a backup in TWRP;
  6. Flash the zip'
  7. Reboot System;
  8. Use the Synapse App to configure the many options as you deem desirable, of course pursuant to the DISCLAIMER.
The first boot will take a while, give it some time. A couple minutes is not unlikely at all, possibly more.

Credits
  • @UpInTheAir - early, initial base Synapse support and kernel optimizations
  • @topjohnwu - root & Magisk app
  • @Chainfire - root & SuperSU app
  • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
  • @halaszk88 - patches and some Synapse code @UpInTheAir adapted to many of his kernels
  • @dorimanx - BusyBox and various ramdisk tweaks/ideas
  • @apb_axel - @UpInTheAir and @tdhite (for this port) adapted and used many of the Synapse controls
  • @arter97 - various source fixes/patches
  • @ktoonsez - ktoonservative hotplug governor
  • XDA
  • Samsung OSRC
  • and many others!
  • check gitHub source credits
  • Users that provide proper bug reports with an element of self-troubleshooting. Constructive feedback is always welcome.
  • IF ANYONE WAS FORGOTTEN, PLEASE DON'T BE SHY AND SPEAK UP, THANKS

Older Versions are in Post #3 below.

As a final note, the sources are pulled by a Google repo manifest, which is within the "teamspr" project in link listed in the 'Source Link' below. The manifest shows the various github repositories for the project. If you need help with repo, let me know and we will get you setup with the code and how to view it.

XDA:DevDB Information
SM-G920P SkyHigh Kernel Port, Kernel for the Sprint Samsung Galaxy S6

Contributors
tdhite, @UpInTheAir (for initial base)
Source Code: https://github.com/TeamSPR

Kernel Special Features: Synapse ++ | EXT4 | F2FS | exFAT | NTFS | CIFS | Linux 3.10.108 | many optimizations and bug reparations | ktoonservative hotplugging governor | Optional SElinux permissive | Deep sleep fix | init.d support | See above for more.

Version Information
Status: Stable
Current Stable Version: 7.30 (v1.8.20190119)
Stable Release Date: 2019-01-19

Created 2016-04-02
Last Updated 2019-01-21
 

tdhite

Senior Member
Dec 4, 2012
1,687
3,461
DFW
Disclaimer

*** Legal Disclaimer -- READ ALL OF THE FOLLOWING ***

If you use the software, or convey it to someone else, you and all subsequent conveyees are bound by the following:

LEGAL DISCLAIMERS AND ASSUMPTION OF THE RISK BY THE USER OF THIS PROGRAM

Assumption of the Risk of Use
YOU ASSUME, AND AGREE TO ASSUME, ALL THE RISK OF HARM BY USING THIS PROGRAM. THIS PROGRAM MAY VOID YOUR WARRANTY WITH A THIRD PARTY, IT MAY IMPROPERLY OPERATE AND DAMAGE YOUR DEVICE, IT MAY CAUSE ANY MYRIAD OF HARMFUL OUTCOMES REGARDING YOUR DEVICE OR THE USE OF THE DEVICE ON WHICH IT GETS INSTALLED. YOU ACKNOWLEDGE THAT YOU ARE AWARE OF THOSE RISKS, UNDERSTAND THOSE RISKS, AND VOLUNTARILY AND INTELLIGENTLY ELECT TO ENGAGE THOSE RISKS BY USING THE PROGRAM.

Disclaimer of Warranty
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME ALL LIABILITY AND AGREE THAT IN NO EVENT WILL YOU SEEK ANY FORM OF RECOMPENSE, WHETHER LEGAL OR EQUITABLE, INCLUDING BUT NOT LIMITED TO NECESSARY SERVICING, REPAIR, CORRECTION OR OTHERWISE.

Disclaimer of Title Warranty
THERE IS NO WARRANTY OF TITLE FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING ANY CONVEYOR OF THE PROGRAM MAKES NO WARRANTY OF ANY KIND THAT HE OR SHE HAS ANY TITLE OR THE RIGHT TO TRANSFER ANY TITLE TO THE PROGRAM TO YOU. YOU ACCEPT THAT, IN FACT, YOU RECEIVE NO TITLE TO ANY OF THE PROGRAM.

Limitation of Liability
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM, PERMITTED OR NOT, BE LIABLE TO YOU FOR LEGAL DAMAGES OR EQUITABLE RELIEF, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
Last edited:

tdhite

Senior Member
Dec 4, 2012
1,687
3,461
DFW
Reserved

Older Versions


tdhite SkyHigh v7.00, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • MD5 Hash: 71996970885feb2cddf6cfa101891793
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.9.20180424. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.9.20180424:
  • Added SmartAssV2 Governor.
  • Nexus governor should now be visible (but is very unstable, do not use this for now).
  • Updated embedded Magisk to v16.40 and roots the phone therewith.
  • Passes SafetyNet Checks!
  • Set the Magisk "Update Channel" to Beta until the official release finally arrives.

tdhite SkyHigh v7.00, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • XDA Project Mirror
    • MD5 Hash: 8d02f4698df1a7ed54673209b9aae01a
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.8.20180424. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.7.20180101:
  • Rebased all commits onto latest Samsung released kernel sources.
  • Updated embedded Magisk to v16.30 and roots the phone therewith.
  • Passes SafetyNet Checks!
  • Set the Magisk "Update Channel" to Beta until the official release finally arrives.
  • The sky-high module now supports calling a script every time the cortex tuning script executes (appx. every five seconds). Just place a valid script in "/sdcard/SkyHigh/scripts/user.sh" and that will get called by the /system/xbin/cortexbrain-tune.sh script each time it executes in the background. Be very careful, the user.sh script has full root access!


tdhite SkyHigh v6.00, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • MD5 Hash: 6126ec42eea993398a08a205d514e5e2
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.7.20180101. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.7.20180101:
  • Updated embedded Magisk to v15.10 and roots the phone therewith.
  • Passes SafetyNet Checks!
  • Set the Magisk "Update Channel" to Beta until the official release finally arrives.

tdhite SkyHigh v6.00, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • MD5 Hash: 646af6e2cbe63224d116595e1eec3597
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.6.20171210. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.6.20171210:
  • Updated to Linux v3.10.108.
  • Additional optimizations and security additions.
  • Passes SafetyNet Checks!
  • Roots the phone with Magisk v14.5(1456).
  • Set the Magisk "Update Channel" to Beta until the official release finally arrives.
  • Remember that when you try to update the MagiskManager app manually, be sure you have "Unknown Sources" checked on in Settings -> Lock Screen And Security.

tdhite SkyHigh v5.02 Nougat, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • Kernel:
    • Kernel AFH Mirror
    • MD5 Hash: 8d049afab573d9e20ab65c1c73a6af31
    • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.50.201709729. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
  • SkyHigh Magisk Module v1.5.20170929:
  • Passes SafetyNet Checks!
  • Roots the phone with Magisk v14.2 (MagiskManager will request that you update as appropriate)
  • Remember that when you try to update the MagiskManager app manually, be sure you have "Unknown Sources" checked on in Settings -> Lock Screen And Security.

Kernels for Nougat 7.0:
tdhite SkyHigh v5.01 Nougat, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • AFH Mirror
  • XDA Downloads
  • MD5 Hash: 0e3eb7b60276c4ce05049b517a23fd7c
    • Passes SafetyNet Checks!
    • Many new optimizations (even more than beta 4.99b).
    • Roots the phone with Magisk v12.0
    • Places the MagiskManager 4.3.3 in /sdcard/MagiskManager-4.3.3.apk for easy installation after flashing the kernel. Just open your file browser and click on the file, then select install.
    • If you are SuperSU or Magisk v13 rooted, you should uninstall your root manager app and unroot. The kernel flash will re-root you. If you are Magisk v12.0 rooted, no work needed, just flash the kernel and profit!
    • Both Magisk and SuperSU provide for uninstall applications. If you don't know how to do that, read the SuperSU or Magisk pages. It is not difficult -- basically for SuperSU, you need to: 1) delete the SuperSU app while in Android ROM; 2) boot into TWRP (recovery); 3) delete /data/su.img and /data/stock_boot_*.img; and finally 3) flash this kernel, but not before). For Mgisk, just use the Uninstaller module.
    • Note, you need to update the MagiskManager app after booting up. The app, as installed by the Magisk installer, will tell you to update from the App store -- your phone is rooted, you just need to update the app. The app installer (apk) is placed by this kernel flash in /sdcard/MagiskManager-4.3.3.apk for easy access (see above).
    • Remember that when you try to install the manager app, using your file manager, be sure you have "Unknown Sources" checked on in Settings -> Lock Screen And Security.
    • After you install the Magisk Manager, Synapse will obviously request root access, grant it 'forever' so it will work on boot thereafter. On first time running, Synapse might (rarely) fail and quit or complain there is no root or uci access. To fix that, just open your 'Recents' list and swipe away Synapse. Restart it and it should now have root and work properly. Setup the kernel as you like from there.
    • The kernel startup scripts are now part of a Magisk module. If you reinstall Magisk by your self, it may clobber that module. I'll post the zip for that if folks have trouble. DO NOT DELETE THE SKYHIGH MODULE in the MagiskManager app.


tdhite SkyHigh v5.00 Nougat, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
  • AFH Mirror
  • XDA Downloads
  • MD5 Hash: b28ea6ad870ba849ba442b96700348a1
    • Many new optimizations (even more than beta 4.99b).
    • Roots the phone with Magisk v12.0
    • Places the MagiskManager 4.3.3 in /sdcard/MagiskManager-4.3.3.apk for easy installation after flashing the kernel. Just open your file browser and click on the file, then select install.
    • If you are SuperSU or Magisk v13 rooted, you should uninstall your root manager app and unroot. The kernel flash will re-root you. If you are Magisk v12.0 rooted, no work needed, just flash the kernel and profit!
    • Both Magisk and SuperSU provide for uninstall applications. If you don't know how to do that, read the SuperSU or Magisk pages. It is not difficult -- basically for SuperSU, you need to: 1) delete the SuperSU app while in Android ROM; 2) boot into TWRP (recovery); 3) delete /data/su.img and /data/stock_boot_*.img; and finally 3) flash this kernel, but not before). For Mgisk, just use the Uninstaller module.
    • Note, you need to update the MagiskManager app after booting up. The app, as installed by the Magisk installer, will tell you to update from the App store -- your phone is rooted, you just need to update the app. The app installer (apk) is placed by this kernel flash in /sdcard/MagiskManager-4.3.3.apk for easy access (see above).
    • Remember that when you try to install the manager app, using your file manager, be sure you have "Unknown Sources" checked on in Settings -> Lock Screen And Security.
    • After you install the Magisk Manager, Synapse will obviously request root access, grant it 'forever' so it will work on boot thereafter. On first time running, Synapse might (rarely) fail and quit or complain there is no root access. To fix that, just open your 'Recents' list and swipe away Synapse. Restart it and it should now have root and work properly. Setup the kernel as you like from there.
    • The kernel startup scripts are now part of a Magisk module. If you reinstall Magisk by your self, it may clobber that module. I'll post the zip for that if folks have trouble. DO NOT DELETE THE SKYHIGH MODULE in the MagiskManager app.

Kernels for Marshmallow 6.0.1:
Recovery Flashables for based on latest kernel sources and firmware (CPL3 and QA2) ROMS
  • Ramdisk (boot image) updated to QA2 (though will work on CPL3 as well).
  • No need to wipe any partitions, just flash and reboot.
  • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .
    • Kernel Update (updates only the kernel in your existing boot image and utils)
    • Kernel Full Boot Image (installs entire boot image and utils)

Recovery Flashables for based on latest kernel sources and firmware (CPL3) ROMS
  • Ramdisk (boot image) updated to CPL3 (there are many security context changes)
  • No need to wipe any partitions, just flash and reboot.
  • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .
    • Kernel Update (updates only the kernel in your existing boot image and utils)
    • Kernel Full Boot Image (installs entire boot image and utils)

Recovery Flashables for based on latest kernel sources and firmware (CPJ1 and CPK1) ROMS
  • Ktoonservative governor defaults to allow additional screen-off CPUs
  • Reduced polling for cpufreq info when screen is on
  • No need to wipe any partitions, just flash and reboot.
  • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .
    • Kernel Update (updates only the kernel in your existing boot image and utils)
    • Kernel Full Boot Image (installs entire boot image and utils)

CPJ1 and CPK1 base
  • Ktoonservative governor now overrides default screen-off clock speed handling
  • Fixed shell access for crond (crontabs will now work properly)
  • No need to wipe any partitions, just flash and reboot.
  • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

CPJ1 and CPK1 base
TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.36a;
  • MD5 Hash: 6cea4a864da3991142f899525e1375d2
  • Changes:
    • Rebuilt specifically to fix the kernel modules (they were not loading in previous PJ1 builds when enabled in Synapse).
    • No need to wipe any partitions, just flash and reboot.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

Previous Downloads for Latest (PJ1) ROMS
  • PJ1 Previous Versions Download links removed due to bad module builds.
  • Ramdisk based on (PJ1) Stock ROM.
  • Cron service repairs (many).
  • ADB support fixed, now uses standard (secure) access from Stock ramdisk.
  • SuperSU: @Chainfire v2.78-SR1

Download for PI3 ROMS
TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.34;
  • MD5 Hash: 2253a78d5d5ae4413d63ebf424f3034d
  • Changes:
    • Ramdisk based on G910PVPS4CPI3 (PI3) Stock ROM.
    • SuperSU updated to: @Chainfire v2.78-SR1
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

Download for PF4 Based ROMS
TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.3;
  • MD5 Hash: 47eb72636cf66e9a6c720b8ab141027d
  • Changes:
    • Ramdisk based on PF4 Stock ROM.
    • Busybox installation reparations for Stock ROMs.
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

Download for PD3 Based ROMS
TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.22;
  • MD5 Hash: 8d6b47c2b9c73b8f23b26a893880154f
  • Note: This is likely the last update for PD3 and below ROM bases. PF4 and above will get further updates.
  • Changes:
    • Busybox installation reparations for Stock ROMs.
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

Download for PD3 and Earlier Based MM ROMS
TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.21;
  • MD5 Hash: 8c3deedc7d1acb2ee19657dc6ecff00e
  • Changes:
    • SuperSU updated to 2.76
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v3.2;
  • MD5 Hash: 1d9ac4781019de75e33ac5b86259dc4e
  • Changes:
    • F2FS Support updates and backports from upstream (kernel.org) kernel (built-in)
    • Multi-path TCP support with matching TCP congestion algos
    • Many minor optimizations and bug fixes from upstream -- see sources for further details.
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v2.84;
  • MD5 Hash: 57dc34e5b2f6142255b0e003f94290b2
  • Changes:
    • F2FS Support (built-in)
    • exFAT Support as module (use Synapse to enable); works with OTG
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v2.83;
  • MD5 Hash: 9c0cf7d66b362e7a54b6b9872a935e8b
  • Changes:
    • SuperSU 2.71 updated
    • Boot time optimizations
    • Busybox install support
    • Incorporates all prior updates as well.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . .

TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v2.82;
  • MD5 Hash: 08f14d05999aa23a75a4aace5ce1e18b
  • Changes:
    • Flash installer fixes broken ROMs (mistaken selinux contexts on telephony services);
    • Incorporates all prior updates as well.

TWRP Flashable:
  • AFH Mirror: tdhite SkyHigh v2.81;
  • MD5 Hash: 0bb4ddaed59c188b084dc498a1fb1db7
  • Changes:
    • Fixed Synapse display errors (all known);
    • Sensor wakelock support (required to fix Synapse display error)
  • NOTE: THIS IS A BETA VERSION AND SUBSEQUENT VERSIONS PRIOR TO RELEASE WILL NOT BE CHANGE LOGGED;
  • AFH Mirror: tdhite SkyHigh v2.8;
  • MD5 Hash: d93fa401ee23f3b689edaa0614cedefa
 
Last edited:

yaibakt

Senior Member
Jan 10, 2012
959
241
www.facebook.com
may i ask about the battery life of this kernel?
is there any known issue list that i should read before flashing this?

thank you very much for this first kernel for our G920P.
 

nyfl2004

Senior Member
Aug 29, 2012
1,565
2,046
Deerfield Beach, Fl
Port of the SkyHigh Kernel, originally created by @UpInTheAir, to SM-G920P (Sprint Galaxy S6).

This port is rebase of the SkyHigh kernel commits onto the G920P kernel base sources, as well as other and modifications relevant to Sprint Galaxy S6 device. The boot image build is not embedded in the kernel sources, as it is in the original, rather is an automated build in a separate project.

DISCLAIMER
Always READ THE DISCLAIMER before engaging in modifications to your phone.

NOTE: This Thread is Under Construction and will be Completed by End of Evening, 04/03/2016, not before. Please honor good 'dev thread' etiquette and do not post anything until you 1) have the kernel; 2) have installed it; and 3) have a problem or feature request related to it.

This is a healthy effort to both create the port and build the content in this thread so give fair time as we all have important life duties outside XDA. Also, this is not a general Q&A thread. That is why we have multiple forums, please use the Q&A thread for general questions. That forum will autogenerate soon enough.


Thread Rules
This thread is for the development and furtherance of kernel features. There are three rules to this development forum with you must comply:

  1. Do not ask @UpInTheAir for support, this port is not one he maintains;
  2. Do not post anything without first searching the forums, if your issue has been discussed before, you will get no response;
  3. Do post anything relevant to the development and furtherance of the kernel. Please use the Q&A forums for questions and general discussions.

Features
  • A ridiculous number of optimizations and kernel bug reparations see all commits here;
  • ktoonservative Hotplugging CPU Governor (default, others available);
  • Permit FULL ROOT: ramdisk patched to support SYSTEM-LESS SuperSU v2.70 (RC);
  • Based on official Samsung source: Samsung OSRC;
  • ramdisk base: G920PVPU3CPB6;
  • KNOX WARRANTY VOID: 1;
  • SELinux PERMISSIVE (default) or ENFORCING (optional);
  • DEEP SLEEP FIX;
  • Auto-Install busybox v1.24.1-Dorimanx & Sqlite3 to /system/xbin (on flash);
  • Linux 3.10.101;
  • init.d script support (place scripts in /system/etc/init.d & set permissions to 755 or 777 and reboot);
  • adb insecure;
  • stock dt.img;
  • Mali GPU DVFS disabled for min/max frequencies;
  • Secure storage = false (should prevent WIFI settings & passwords wiping on reboots);
  • Synapse app support for many kernel configurations;
  • Many descriptions are in the Synapse Application. If you require more info, follow the three rules above.

Synapse Feature Support
Many! -- details coming soon . . .

Download
TWRP Flashable:
  • NOTE: THIS IS A BETA VERSION AND SUBSEQUENT VERSIONS PRIOR TO RELEASE WILL NOT BE CHANGE LOGGED;
  • AFH Mirror: tdhite-G920P-SkyHigh-16-04-02.zip;
  • MD5 Hash: 3209035090a6c207596321e91882b4ca

Instructions
1) Make sure you are running a MM 6.0.1 ROM (Stock is fine);
2) Make sure you have TWRP 3.0.1-0 (or higher version) loaded as your customer recovery;
3) Download the TWRP flashable zip and place on your phone for subsequent 'Install' in TWRP;
4) Reboot into TWRP Recovery;
5) Flash the zip
6) Reboot System

The first boot will take a while, give it some time. A couple minutes is not unlikely at all, possibly more.

Credits
  • @UpInTheAir (and his family :angel:)
  • @Chainfire - root & SuperSU app
  • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
  • @halaszk88 - patches and some Synapse code @UpInTheAir adapted to many of his kernels
  • @dorimanx - BusyBox and various ramdisk tweaks/ideas
  • @apb_axel - @UpInTheAir and @tdhite (for this port) adapted and used many of the Synapse controls
  • @arter97 - various source fixes/patches
  • @ktoonsez - ktoonservative hotplug governor
  • XDA
  • Samsung OSRC
  • and many others!
  • check gitHub source credits
  • Users that provide proper bug reports with an element of self-troubleshooting. Constructive feedback is always welcome.
  • IF ANYONE WAS FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS

XDA:DevDB Information
SM-G920P SkyHigh Kernel Port, Kernel for the Sprint Samsung Galaxy S6

Contributors
tdhite, tvm2487, @UpInTheAir (for many of the commits picked into this kernel).
Source Code: https://github.com/teamspr/kernel/tree/skyhigh

Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS | Linux 3.10.101 | many optimizations and bug reparations | ktoonservative hotplugging governor | Optional SElinux permissive | Deep sleep fix | init.d support | See above for more.

Version Information
Status: Beta
Current Stable Version: v2.8
Stable Release Date: 2016-04-02
Current Beta Version: v2.8
Beta Release Date: 2016-04-02

Created 2016-04-02
Last Updated 2016-04-02
Excellent job Tom! You worked extremely hard on this and it paid off sir.

Sent from my SM-G925P using XDA-Developers mobile app
 
  • Like
Reactions: tdhite and 1619415

Bobthahog

Senior Member
I flashed this on my S6 and man I sure miss getting to use this kernel and synapse on my Sprint Note 5 but at @UpInTheAir is taking some time off till the end of April until he updates it to work on 6.0.1. I have a couple of java string errors when it comes to the wakelock controls but that might be due to the issue I'm having with the stock ROM. For some reason after I ODINed the 6.0.1 firmware on my phone won't activate and it says it is on Samsung Network but hotspot and everything else works so I wasn't going to mess with it. Great job with the kernel. I cannot wait till my note has it again.

Sent from my SM-N920P using XDA-Developers mobile app
 
  • Like
Reactions: tdhite

Bobthahog

Senior Member
Here are the screenshots of what it says. I know you probably need a logcat but I'm pretty sure I know what the problem is. 1459784193121.jpg1459784200097.jpg

Sent from my SM-G920P using XDA-Developers mobile app
 

Attachments

  • 1459784170681.jpg
    1459784170681.jpg
    104.5 KB · Views: 915

yaibakt

Senior Member
Jan 10, 2012
959
241
www.facebook.com
my S6 didnt bootup after flashing TWRP 3.0.1-0 actually :D
i had to use the old TWRP 3.0.0-1 and flashed this kernel after, and it works.
 

tdhite

Senior Member
Dec 4, 2012
1,687
3,461
DFW

Bobthahog

Senior Member
Ugh. I know the issue. Will rev a fix. Not sure how i missed that, but adding tests to cover this issue as well.

Sent from my SM-G920P using Tapatalk
Thanks man. U did a magnificent job porting this over to the S6. I just figured it was the issue I was having with phone not wanting to activate on Sprint network.

Sent from my SM-N920P using XDA-Developers mobile app
 
  • Like
Reactions: bleichtman

tdhite

Senior Member
Dec 4, 2012
1,687
3,461
DFW
I honestly don't know how to help you. I've asked for logs, rom info yet get nothing. How long did you wait for boot? OP says can take a while. You cannot send a logcat?

Seriously, I'd love to help, but it takes more info when one phone out of many, many others that work fine has an issue. There is clearly something about your rom or apps or whatever, but I have nothing to go on to help you.

Sent from my SM-G920P using Tapatalk
 
Last edited:

Bobthahog

Senior Member
I flashed the updated kernel and it's working great. No errors in synapse. Awesome job.

Sent from my SM-G920P using XDA-Developers mobile app

---------- Post added at 05:12 AM ---------- Previous post was at 05:11 AM ----------

I flashed the updated kernel and it is working great. No errors in synapse. Awesome job man.

Sent from my SM-G920P using XDA-Developers mobile app
 
  • Like
Reactions: tdhite

JoeFCaputo113

Senior Member
Feb 2, 2013
6,613
2,850
New York
I honestly don't know how to help you. I've asked for logs, rom info yet get nothing. How long did you wait for boot? OP says can take a while. You cannot send a logcat?

Seriously, I'd love to help, but it takes more info when one phone out of many, many others that work fine has an issue. There is clearly something about your rom or apps or whatever, but I have nothing to go on to help you.

Sent from my SM-G920P using Tapatalk

OK so I feel like an idiot bro... I didn't know that your kernel script wiped cache/dalvik cache lmao -__-

THAT'S why it was taking so long to boot. Sorry bro! -__- Anyways this thing is smooth as hell!
 
  • Like
Reactions: tdhite

JoeFCaputo113

Senior Member
Feb 2, 2013
6,613
2,850
New York
Nevermind... Had to uninstall this kernel. My phone kept turning off & rebooting itself. No problems what-so-ever with the stock kernel. This kernel was causing some major hiccups with my phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    SkyHigh Kernel -- Ported to SM-G920P (Sprint Galaxy S6).

    This is, unquestionably, the most up to date kernel for the S6 devices. That includes upstream kernel (vanilla) additions bringing it to the latest (3.10.108) publicly released. This project started as a port of the SkyHigh kernel, originally by @UpInTheAir, to the G920P kernel. this kernel, however, has a great deal of further enhancements and optimizations relevant to Sprint Galaxy S6 device. The boot image build is not embedded in the kernel sources, as it is in the original, rather is an automated build in a separate project.

    Donations:
    I do accept donations, you are by no means required to, it just invigorates me to do more stuff in the kernel ;). With that said, apparently some devices fail to show the donation link next to posts, so you can click here to donate.

    DISCLAIMER
    Always READ THE DISCLAIMER before engaging in modifications to your phone.


    Thread Rules
    This thread is for the development and furtherance of kernel features. There are a handful of rules to this development forum with which you must comply or you'll likely get ignored:

    1. This is not a general Q&A thread, it is a development thread. Please use the Q&A thread for general questions.
    2. Do not ask @UpInTheAir for support, this port is not one he maintains;
    3. Do not post anything without first searching the forums, if your issue has been discussed before, you will get no response;
    4. Do post anything relevant to the development and furtherance of the kernel. Please use the Q&A forums for questions and general discussions.

    Features
    • Based on the latest available official Samsung source: Samsung OSRC
    • Base sources upgraded to Linux 3.10.108
    • A ridiculous number of optimizations and kernel bug reparations see all commits here;
    • Extensive Synapse app support for many kernel configurations;
    • ktoonservative Hotplugging CPU Governor (default, others available);
    • ktoonservative tweaks (e.g., overrides standard cpufreq screen-off handling);
    • Over/Under Clock and Voltages;
    • Wakelock control;
    • Multipath TCP Support (use Synapse to enable and select desired congestion algorithm);
    • F2FS support built in to kernel;
    • exFAT (OTG works), CIFS, NTFS, CIFS as modules (use Synapse to enable);
    • Permit FULL (auto)ROOT: ramdisk patched to support SYSTEM-LESS SuperSU or MAGISK;
    • Tether / Hotspot Fix Built In (N Kernels)
    • Auto-Install busybox & Sqlite3 to /system/xbin (on flash);
    • ramdisk base: per Sprint ROM releases;
    • KNOX WARRANTY VOID: 1;
    • SELinux PERMISSIVE (default) or ENFORCING (optional);
    • OTG support
    • DEEP SLEEP FIX;
    • init.d script support (place scripts in /system/etc/init.d & set permissions to 755 or 777 and reboot);
    • stock dt.img;
    • Mali GPU DVFS disabled for min/max frequencies;
    • Secure storage = false (prevent WIFI settings & passwords wiping on reboots);
    • Many descriptions are in the Synapse Application. If you require more info, follow the thread rules above.


    Flash Descriptions:
    Note that there are two downloads: an Update and Full boot image.

    The Updates are for currently running ROMs. If you just want to update the kernel and related utilities (startup scripts, busybox) and have no other modifications to your boot image, download and install the Update version. The Update injects the kernel update into your existing boot image, it does not touch the remainder of the boot image. The update is also useful in cases when folks dirty flash ROMs just to change features or have older ROMs and want to try the latest kernel, therefore do not have the ROM flash install the kernel at all. The issue with that is the ROM flashes generally do not know to keep the kernel modules, so those get deleted. This updater will reinstall those as well. In brief, it is an update of the kernel and its important files only, it does not root the ROM as does the full version.

    The Full boot image flash is a complete boot image, which is the normal flash. However, some ROMs install other systems (e.g., my hotspot fixes) which also modify the boot image, specifically files in the ramdisk. For initial, or clean installs of this kernel, download and install the Full flash. It will also root the ROM for you if not already rooted (SuperSU is installed). You will want to add other boot image modifying flashes after that (though there are not that many flashes that actually modify the boot image).

    The general rule is this: if you are installing this kernel on a ROM and have never installed this kernel, use the full version. If you are already running tdhite SkyHigh on a ROM, download and flash the Update version of the kernel.

    tdhite SkyHigh v7.30, Magisk Rooted, Recovery Flashable for N (Nougat) ROMS
    • Kernel:
      • Kernel AFH Mirror
      • MD5 Hash: a0b362bf71767cc4418d800ded163850
      • Note: The kernel flash installs the Magisk Module: magisk-module-skyhigh-v1.9.20180424. If a later module exists below, flash that after flashing the kernel. There is no need to refresh the kernel just to update the modules.
    • SkyHigh Magisk Module v1.9.20180424:
    • Memory leak fixes (no known/reported leaks remain).
    • Updated embedded Magisk to v18.00 and roots the phone therewith.
    • Passes SafetyNet Checks!

    Recovery Flashables for based on latest MM kernel sources and firmware (PL3 through QB1) ROMS
    • Dramatic boot up time improvements (impressively fast)..
    • Ramdisk (boot image) will work with PL3 through QB1 Firmware.
    • No need to wipe any partitions, just flash and reboot.
    • NOTE: First boot after flash will take a bit and may reboot for SuperSU updating. Let it breathe . . . subsequent boots are smoking fast.
      • Kernel Full Boot Image (installs entire boot image and utils)


    Instructions
    1. Make sure you are running a MM 6.0.1 or N 7.0 (Stock is fine);
    2. Make sure you have TWRP 3.0.1-0 (or higher version) loaded as your customer recovery;
    3. Download the TWRP flashable zip for your specific version of Android and firmware, placing the flash on your phone for subsequent 'Install' in TWRP;
    4. Reboot into TWRP Recovery;
    5. The smart user will perform a backup in TWRP;
    6. Flash the zip'
    7. Reboot System;
    8. Use the Synapse App to configure the many options as you deem desirable, of course pursuant to the DISCLAIMER.
    The first boot will take a while, give it some time. A couple minutes is not unlikely at all, possibly more.

    Credits
    • @UpInTheAir - early, initial base Synapse support and kernel optimizations
    • @topjohnwu - root & Magisk app
    • @Chainfire - root & SuperSU app
    • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
    • @halaszk88 - patches and some Synapse code @UpInTheAir adapted to many of his kernels
    • @dorimanx - BusyBox and various ramdisk tweaks/ideas
    • @apb_axel - @UpInTheAir and @tdhite (for this port) adapted and used many of the Synapse controls
    • @arter97 - various source fixes/patches
    • @ktoonsez - ktoonservative hotplug governor
    • XDA
    • Samsung OSRC
    • and many others!
    • check gitHub source credits
    • Users that provide proper bug reports with an element of self-troubleshooting. Constructive feedback is always welcome.
    • IF ANYONE WAS FORGOTTEN, PLEASE DON'T BE SHY AND SPEAK UP, THANKS

    Older Versions are in Post #3 below.

    As a final note, the sources are pulled by a Google repo manifest, which is within the "teamspr" project in link listed in the 'Source Link' below. The manifest shows the various github repositories for the project. If you need help with repo, let me know and we will get you setup with the code and how to view it.

    XDA:DevDB Information
    SM-G920P SkyHigh Kernel Port, Kernel for the Sprint Samsung Galaxy S6

    Contributors
    tdhite, @UpInTheAir (for initial base)
    Source Code: https://github.com/TeamSPR

    Kernel Special Features: Synapse ++ | EXT4 | F2FS | exFAT | NTFS | CIFS | Linux 3.10.108 | many optimizations and bug reparations | ktoonservative hotplugging governor | Optional SElinux permissive | Deep sleep fix | init.d support | See above for more.

    Version Information
    Status: Stable
    Current Stable Version: 7.30 (v1.8.20190119)
    Stable Release Date: 2019-01-19

    Created 2016-04-02
    Last Updated 2019-01-21
    12
    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.


    Sent from my iPad using Tapatalk
    11
    Update for all: base build is running now. Also cleaned up the Samsung releases to produce no warnings on latest compilers.

    Soon...

    [emoji41]


    Sent from my iPad using Tapatalk
    9
    Hi all,

    S6 is not going away yet! I have an update to include Magisk 14, so hang in. I am traveling abroad for the week, but should be able to get things up around the 18th/19th or so.

    Sent from my SM-G920P using Tapatalk
    9
    I will put up a next beta tomorrow, it is all Magisl now. V12 is quite stable.

    Two bugs remain that I can see, both related to SecureStorage. Seems Samsung apps no longer honor disabling it.

    Screenshot_20170528-214356.pngScreenshot_20170528-214249.pngScreenshot_20170528-214147.png

    Sent from my SM-G920P using Tapatalk