Tomoyo Kernel for Slimkat and Dirty Unicorn - Xperia Z1 Original Android Development

Here is my Hardened Kernel for Slimkat and Dirty Unicon roms with the following features:
1. Kexec
2. File security
3. Network security
4. Tomoyo security
5. IMA
6. Crypt core: Algapi, AEAD, AEAD2, BLKCIPHER, Hash, Hash2, RNG, RNG2 PCOMP, PCOMP2 Manager, Manger2, GF128MUL, Null, PCRYPT, WorkQUEUE,
7. CCM, GCM, SEQIV
8. Block modes: CBC, CTR, CTS, ECB, XTS
9. Hash modes: HMAC, XCBC, VMAC
10. Digest: CRC32C, GHASH, MD$, MD5, Michael_Mic, RMD128, RMD160, RMD256, RMD320, SHA1, SHA256, SHA512, TRG182, WP512
11. Ciphers: AES, SNUBIS, ARC4, BLowfish, CAmellia, CAST5, CAST5, DES, FCRYPT, KHAZAD, SALSA20, Seed, Serpent, TEA TWOFISH
12. Compression: Deflate, ZLIB, LZO
13. Random Number Generation: ANSI, Hash, Skcipher, QCRYPTO, QCE
14. Selinux is out
Credits: Slimroms
Instructions:
1. Flash the zip from download section
2. Reboot
Warnings:
If your device dies, don't blame me. Get another one.
This kernel includes a corresponding wifi module, as those are specific to a particular kernel. The kernel works on Slimkat and Dirty Unicorn roms and includes TWRP recovery.
Source: https://github.com/HonamiHonami/kernel_sony_msm8974
XDA:DevDB Information
Tomoyo Kernel , Kernel for the Sony Xperia Z1
Contributors
optimumpro
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2014-11-14
Created 2014-11-14
Last Updated 2014-11-14

Upload sourcecode not only defconfig.
Why I have to tell this to you every time ?
GPL http://www.gnu.org/copyleft/gpl.html

AndrolinRoot said:
Upload sourcecode not only defconfig.
Why I have to tell this to you every time ?
GPL http://www.gnu.org/copyleft/gpl.html
Click to expand...
Click to collapse
Please abstain from posting on this thread. You are not welcome here.
Best regards
P.S. And by the way, thanks for marking this thread "1" within 5 minutes of posting. Pathetic...

optimumpro said:
Please abstain from posting on this thread. You are not welcome here.
Best regards
P.S. And by the way, thanks for marking this thread "1" within 5 minutes of posting. Pathetic...
Click to expand...
Click to collapse
Thanks for uploading source and giving finally credits to slim roms

Great Thanks man

Related

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

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:
This is not a general Q&A thread, it is a development thread. Please use the Q&A thread for general questions.
Do not ask @UpInTheAir for support, this port is not one he maintains;
Do not post anything without first searching the forums, if your issue has been discussed before, you will get no response;
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:
Magisk Module AFH Mirror
MD5: b4f841be0f5881e0fbbd97152c714e0d
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 Update (updates only the kernel in your existing boot image and utils)
XDA Downloads: tdhite SkyHigh v4.10 on XDA
AFH Mirror: tdhite SkyHigh v4.10 Update Only;
MD5 Hash: 23ebe23c2c1a326f9b9970a2c1746457
Kernel Full Boot Image (installs entire boot image and utils)
AFH Mirror: tdhite SkyHigh v4.10 Full;
MD5 Hash: 60982a190838f7cb5dedd749821bc93e
Instructions
Make sure you are running a MM 6.0.1 or N 7.0 (Stock is fine);
Make sure you have TWRP 3.0.1-0 (or higher version) loaded as your customer recovery;
Download the TWRP flashable zip for your specific version of Android and firmware, placing the flash on your phone for subsequent 'Install' in TWRP;
Reboot into TWRP Recovery;
The smart user will perform a backup in TWRP;
Flash the zip'
Reboot System;
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
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.
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:
Magisk Module AFH Mirror
MD5: b4f841be0f5881e0fbbd97152c714e0d
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:
Magisk Module AFH Mirror
MD5: e533e7b90202beba93df462bc945f9c8
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:
Magisk Module AFH Mirror
MD5: e533e7b90202beba93df462bc945f9c8
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:
Magisk Module AFH Mirror
MD5: 91a0eb89329f25bab6aab6f656b04745
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:
Magisk Module AFH Mirror
MD5 Hash:e3f90a6e80c239add1803a78911018be
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)
AFH Mirror: tdhite SkyHigh v3.70 Update Only;
MD5 Hash: c6432dbcb67a15f0663c11c5132eb0d1
Kernel Full Boot Image (installs entire boot image and utils)
AFH Mirror: tdhite SkyHigh v3.70 Full;
MD5 Hash: 0e8f7450cf9b01d4173b64cd50afc55c
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)
AFH Mirror: tdhite SkyHigh v3.60 Update Only;
MD5 Hash: 1e98841a76aea39146cd27b478c2e5bc
Kernel Full Boot Image (installs entire boot image and utils)
AFH Mirror: tdhite SkyHigh v3.60 Full;
MD5 Hash: 153506f01cb2355b54d70c467a10ebff
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)
AFH Mirror: tdhite SkyHigh v3.50 Update Only;
MD5 Hash: a4c68f1a7e03da40795d8abd56586f4e
Kernel Full Boot Image (installs entire boot image and utils)
AFH Mirror: tdhite SkyHigh v3.50 Full;
MD5 Hash: b1c590f644a4023f3bf53ff330c38c80
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 . . .
Kernel Update (updates only the kernel in your existing boot image)
AFH Mirror: tdhite SkyHigh v3.40 Update Only;
MD5 Hash: 528f0e317c93bd7d645b16b47727e56f
Kernel Full Boot Image (installs entire boot image)
AFH Mirror: tdhite SkyHigh v3.40 Update Only;
MD5 Hash: c4c811233f016ab555adf06c86739721
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
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.
tdhite said:
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:
Do not ask @UpInTheAir for support, this port is not one he maintains;
Do not post anything without first searching the forums, if your issue has been discussed before, you will get no response;
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
Click to expand...
Click to collapse
Excellent job Tom! You worked extremely hard on this and it paid off sir.
Sent from my SM-G925P using XDA-Developers mobile app
If i flash this kernel,can i have mobile hotspot menu?
mahdi72 said:
If i flash this kernel,can i have mobile hotspot menu?
Click to expand...
Click to collapse
Please use the q&a thread for questions, as stated in the OP, in the future. That said, a kernel has nothing to do with menus.
Sent from my SM-G920P using Tapatalk
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
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-G920P using XDA-Developers mobile app
Love this kernel as it doesn't give you that warning "kernel not seandroid enforcing" but I still benchmark slower than stock even with everything set to performance. I don't understand!
Any feedback would be greatly appreciated! Thank you!
Eric
For some reason my phone won't boot up with this kernel :/
my S6 didnt bootup after flashing TWRP 3.0.1-0 actually
i had to use the old TWRP 3.0.0-1 and flashed this kernel after, and it works.
Bobthahog said:
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. View attachment 3707387View attachment 3707388
Sent from my SM-G920P using XDA-Developers mobile app
Click to expand...
Click to collapse
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
tdhite said:
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
Click to expand...
Click to collapse
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
Updated -- 04/09/2016
The flash, kernel and synapse support was updated to fix reported errors.
See the OP for download and flash instructions (no different instructions, they are just in their normal place).
tdhite said:
The flash, kernel and synapse support was updated to fix reported errors.
See the OP for download and flash instructions (no different instructions, they are just in their normal place).
Click to expand...
Click to collapse
Phone still won't boot up! -__- but now it gets stuck at the "Sprint LTE Plus" splash screen (instead of the Samsung splash screen).
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
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
tdhite said:
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
Click to expand...
Click to collapse
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!
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.

[KEXEC] [ARM64] Kexec-Hardboot Patch

Note:
Kernel Developers: I would like to ask you to merge this patch to your kernels, because it is essential part of MultiROM (MR) - it allows MR to boot any kernel without changing the boot partition. I realize that it is no small request, but the patch is not big, touches relatively stable parts of kernel and should not cause any problems outside its intended function.
The Patch:
You'll need to cherry pick a total of 5 commits (if anyone feels like squashing them to help me out, feel free to link me to it).
Cherry-pick against: http://github.com/multirom-nexus6p/android_kernel_huawei_angler.git on the branch 'mm2'.
Commit hashes in order:
2641ac7979c0b4ef7d8c33bae57404fea89ca0de
ff67f9fae243fea2b513b1721c8cff4584f229ba
58154995579253a2ee864b839aa4a9271afdb1c5
fb7e7c6212f59fce48f83235a99c244e2432b1f3
1fb02d265b4170e193018d513de11f9a47e5e775
Related defconfig options, and their explanations:
Code:
CONFIG_KEXEC=y # Enables the Kexec SysCall to allow loading the new 'secondary' kernel into memory
CONFIG_KEXEC_HARDBOOT=y # Enables the HardBoot flag, which allows 'cold-booting' a new kernel
# CONFIG_ATAGS_PROC is not set # Prevents potential atags related discrepancies, this must be either removed or commented out
CONFIG_PROC_DEVICETREE=y # Allows us to read out the kernel config, and tell that the kernel has all the necessary configs enabled (read out from /proc/config.gz)
User-space Kexec binary: here (you'll need to extract the zip, and it will be in 'multirom/kexec')
A quick guide to use Kexec: here
Authors:
- This patch was made by Mike Kasick for Samsung Epic 4G.
- Tassadar built on this patch, and partially rewrote it to support the Nexus 4, 5, and 6.
- Zhuowei Zhang rewrote the patch from scratch for arm64.
- Myself for maintaining MultiROM for the 6P, and managing the patch.
XDA:DevDB Information
[KEXEC] [ARM64] Kexec-Hardboot Patch, Kernel for the Huawei Nexus 6P
Contributors
npjohnson, 500 Internal Server Error
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Version 1
Stable Release Date: 2016-06-11
Created 2016-06-12
Last Updated 2016-06-12
None of the above links working
The links of commits you have mentioned are not working.
shenoy13 said:
The links of commits you have mentioned are not working.
Click to expand...
Click to collapse
Been a long while, because the related MultiROM project is no longer maintained, but the links now work

[EOL] [OP5] [OOS/CUSTOM 8.1.0] [4.4.140] [CLANG 7.0] Flash Kernel v4.29

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
As of July 11th, 2018, this kernel has been discontinued as I have sold the device. Since I don't recommend using a kernel that is not constantly updating, I suggest looking at RenderZenith if you are on OxygenOS or Singularity if you are on a custom ROM.
Hello everyone, this is my personal kernel for the OnePlus 5. While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
Stable kernel rules work best (only add small things when possible).
Security and stability are paramount. Vulnerabilities are patched as soon as they are disclosed.
Features will be added only as needed (I have a list of things in the FAQ I will NOT add, even if requested).
Hopefully you enjoy
Important thread information!
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Keep things civil, I do NOT tolerate flaming of any kind.
OT is allowed.
Features
NOTE: This list fluctuates with versions, it will not always been 100% up to date
Here are the major features of the kernel (feel free to explore Github)
Up to date with OOS (5.1.3 and Open Beta 12)
Custom branch compatible with most 8.1.0 ROMs (see below)
Up to date with the latest stable Linux version (4.4.140)
Up to date with the latest CAF tag for Oreo (LA.UM.6.2.r1-09300-sdm660.0)
Mainline patches from Linux, focusing on bug fixes/security
Mainline CFQ scheduler improvements
Kernel hardening from CopperheadOS
Several subsystems converted to use power efficient workqueues
The following user facing features:
Accidental touch protection on hardware keys
Backlight dimmer
KCAL color control
Maple I/O scheduler
Sweep2sleep
Sound control
Wakelock control
Latest WireGuard snapshot (0.0.20180708)
Westwood as the default TCP algorithm
Built with a self compiled Clang 7.0 toolchain with a local initialization sanitizer (build script here, previously built with the latest Google Clang 6.0 toolchain here)
Hides bootloader unlock from SafetyNet (can still fail through other means)
Disables dm-verity
Does NOT modify decryption status
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads
Primary: https://github.com/nathanchance/op5/releases
NOTE: The newer builds of 3.x and 4.x are unified! The zip will dynamically detect if you are on OxygenOS or a custom ROM and flash the correct kernel image.
NOTE #2: 3.x is for OOS 5.x 8.0, 4.x is for OOS 5.x 8.1
Installation
Through TWRP:
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot. I would also recommend dirty flashing the latest OOS zip as well.
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Through Franco Kernel Manager (requires root):
Getting back to stock if necessary (only needed if coming from another kernel):
Grab the latest stock boot image from the OTA zip.
Click on "Manual flasher", select the boot image, and select "Just Flash".
Reinstall Magisk through Magisk Manager (Install -> Direct Install).
If on stock or upgrading from another Flash release:
Download the zip (and optionally, the md5) from the link above
Tap on "Manual flasher"
Navigate to Download
Tap on the zip, select Auto-flash, and choose one of the options.
Reboot and enjoy!
Changelog
Latest release post!
GitHub serves as the ultimate changelog, links are at the bottom of this post
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.
1.2 Q: What ROMs are compatible with the custom builds?
1.2 A: As of March 14th, 2018, I have confirmed the following ROMs are 100% compatible with Flash:
LineageOS
Dirty Unicorns
Codename: Phoenix
GZOSP/Validus
OmniROM
AICP
If you are using a ROM with no issues, let me know and I'll add it here! If you are having issues, following the above steps and I'll attempt to fix whatever incompatibility there is. If I can't do it without breaking LineageOS/Dirty Unicorns, you're out of luck.
1.3 Q: Can you add xyz feature?
1.3 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add the following:
Overclocking or underclocking of CPU or GPU
Undervolting
Any governors other than interactive
Any schedulers other than cfq and maple
Anything that compromises performance
1.4 Q: How do I control the kernel?
1.4 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience.
To control the user visible features of the kernel listed above, I recommend using either @franciscofranco's Kernel Manager for Franco Kernel (which has Flash Kernel support for downloading and automatically flashing the latest kernel zip along with some nice, user friendly ways for tuning the kernel) or @flar2's EX Kernel Manager.
1.5 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.5 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
1.6 Q: I am not getting notifications on OOS, what is the cause?
1.6 A: This could be for a couple of reasons. If you haven't already, disable advanced optimizations in Settings > Battery > Battery optimization > Three menu dots. Another reason may be that I ship a compiled Wi-Fi module. I do this for two reasons: I want to have the latest fixes and I enable CONFIG_MODULE_SIG, which checks the signature of a module before loading it for security reasons. This could introduce some incompatibility with OOS, which is something I have no control over.
Thanks to:
The various other developers for their patches (specifically @zx2c4 for WireGuard and @joshuous for fixing the notification delay on Wi-Fi)
@osm0sis for AnyKernel2
@franciscofranco for adding Flash Kernel support to Kernel Manager for Franco Kernel
@adinkwok for being a bro
@phantom146 for the thread banner
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.1.x (OxygenOS - 1.x): https://github.com/nathanchance/op5/commits/7.1.x-oos
7.1.x (custom ROMs - 1.x): https://github.com/nathanchance/op5/commits/7.1.x-custom
8.0.0 (OxygenOS - 2.x): https://github.com/nathanchance/op5/commits/8.0.0-oos
8.0.0 (custom ROMs - 2.x): https://github.com/nathanchance/op5/commits/8.0.0-custom
8.0.0 (OxygenOS - 3.x) and 8.1.0 (custom ROMs - 3.x): https://github.com/nathanchance/op5/commits/8.x-unified
8.1.0 (OxygenOS - 4.x) and 8.1.0 (custom ROMs - 4.x): https://github.com/nathanchance/op5/commits/8.1.0-unified
AnyKernel (7.1.x): https://github.com/nathanchance/AnyKernel2-archive/commits/op5-flash-7.1.x
AnyKernel (8.x): https://github.com/nathanchance/AnyKernel2-archive/commits/op5-flash-8.x
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
Reserved
Reserved
Some initial notes:
1. I have been working on this non-stop since I got the phone yesterday; it's been very stable as I have not made any drastic changes.
2. I have included a few normal features; I am open to additional suggestions (though please read the entire OP before doing so).
3. If you flash the custom version. please let me know if it works without issue so I can add it to the list. If it doesn't, please follow the bug reporting policy in the OP.
I have been up for almost 24 hours at this point so I hope I didn't miss anything but I plan on addressing any issues tomorrow/Sunday if any come up! I do also encourage you to participate in beta testing via Telegram, especially with all the custom ROMs.
Awesome work as usual @The Flash - Running perfectly on DU!
:highfive:
Not GCC 7? 1 star until fixed. :angery-face:
Amazing
Enviado desde mi Oneplus 5 mediante Tapatalk
Its here..Thanks @The Flash for this..Running awexxome so far on oos
Woot! Fast Flash is finally here ?
Welcome!
That too you forever to release it.
Sent from my ONEPLUS A5000 using Tapatalk
@The Flash welcome and Thanks, After enjoying your work from N6P it's our Honor to come for OP5...[emoji4]
Self compiled RR [emoji1128]
@The Flash Nice to see you here [emoji4]
Support custom rom pocket judge?
Enviado desde mi Oneplus 5 mediante Tapatalk
liver20 said:
Support custom rom pocket judge?
Enviado desde mi Oneplus 5 mediante Tapatalk
Click to expand...
Click to collapse
I can't say no for sure, but on carbon, it's not working.
stooyleown said:
I can't say no for sure, but on carbon, it's not working.
Click to expand...
Click to collapse
What's not working?
I flashed just a while back on Carbon and it seems ok.
There seems to be some issue with the alert slider and pocket mode, but otherwise seems quite smooth.
Screeny
liver20 said:
Support custom rom pocket judge?
Enviado desde mi Oneplus 5 mediante Tapatalk
Click to expand...
Click to collapse
I will need to add support for this in due time.
Thanks for all the welcomes guys
Sent from my OnePlus5 using XDA Labs
The Flash said:
Some initial notes:
1. I have been working on this non-stop since I got the phone yesterday; it's been very stable as I have not made any drastic changes.
2. I have included a few normal features; I am open to additional suggestions (though please read the entire OP before doing so).
3. If you flash the custom version. please let me know if it works without issue so I can add it to the list. If it doesn't, please follow the bug reporting policy in the OP.
I have been up for almost 24 hours at this point so I hope I didn't miss anything but I plan on addressing any issues tomorrow/Sunday if any come up! I do also encourage you to participate in beta testing via Telegram, especially with all the custom ROMs.
Click to expand...
Click to collapse
Wow, nice to see you here been a long time
Hehehe funny as always master ???
Hi ho Jarvis
@The Flash Do you think the possibility there will be interactive governor tweaks like there was for the Nexus 6P eg @phantom146 and his Glass Cannon Profile:
https://forum.xda-developers.com/showpost.php?p=71797603&postcount=4773

[NEW][Kernel] Entangled Kernel V1.0 [Alpha][X3][SscSPs]

Hey people,
I am glad to introduce my new Kernel to you guys,
Entangled Kernel​
Currently, I have not added any extra feature, except that you can use your phone as a USB keyboard and mouse on your PC,
for that you need to have an app that can work with it.(check out this Github Repo for more info: https://github.com/pelya/android-keyboard-gadget)
I have enabled F2FS on this kernel as well,
Currently, I need people to test out its battery backup and provide feedback about performance and bugs
Currently Known Bugs:
None
You tell me of you find any!
Instruction are just as usual, if you need help, head to the "Post #3" of this Thread.
Update Logs are available in "Post #2" of this Thread.
Download Links are over at Android File Host!
Feature requests are welcome, you can post your feature requests here, or head over to github and open a new issue for bug report and/or feature requests.
XDA:DevDB Information
Entangled Kernel, Kernel for the LeEco Le 1S
Contributors
sscsps
Source Code: https://github.com/Le1s/android_kernel_leeco_x3
Kernel Special Features: Fully upstreamed with Google's updates
Version Information
Status: Alpha
Created 2018-01-07
Last Updated 2018-01-07

[CLOSED]CRUEL KERNEL S10 V2.3

CRUEL KERNEL S10 V2.3
The development moved to this thread. From V3 kernel supports multiple devices.
Introduction
This kernel is based on BTA8 samsung sources. Only G973F device for now. It is possible to use it on BSKO, BSL4, BTA8 firmware. All sources are open on GitHub.
Continuous integration with GitHub Actions is set up. This means you can customize the kernel from browser and build the version suitable for you without leaving the browser (see сustomization section).
Features
Customizable build with config presets
Only part of samsung security features disabled (DEFEX, Process Authentification, root restrictions)
Switchable SELinux (by default it's locked in "always enforcing" mode in samsung sources)
Built-in in Magisk
Wireguard for VPN
CIFS for SMB
Iptables TTL and HL editing modules for bypassing tethering restrictions
Build commands (configuration presets) used for V2.3 kernel:
Code:
$ ./build mkimg name=CRUEL-V2.3-BTA8 +magisk +nohardening +wireguard +ttl +cifs
$ ./build mkimg name=CRUEL-V2.3-BTA8-CANARY +magisk+canary +nohardening +wireguard +ttl +cifs
Installation Instructions
First of all, TWRP Recovery + multidisabler should be installed in all cases. This is a preliminary step. Backup your existing kernel. You will be able to restore it in TWRP Recovery in case of any problems.
Dowload an *.img file and
With TWRP: Reboot to recovery. Install > Install Image > CruelKernel.img > BOOT.
With Heimdall: Reboot to Dowload mode.
Code:
sudo heimdall flash --BOOT CruelKernel.img
With FK Kernel Manager: Flasher > Manual Flasher.
ChangeLog
V1 is based on BSKO sources and was privately used. You can find V1 by the link.
V2 is based on BTA8 sources. nohardening, nohardening2, cifs configuration presets added.
V2.1 is for internal use only (testing release) +nohardening preset activated by default
V2.2
Canary Magisk updated to 20305 version
MALI_KUTF kernel driver removed (it's required only for kernel developers)
Pin code problem fix (thanks geiti94)
+nohardening (disable samsung protections)
V2.3
Canary Magisk updated to 20306 version
Small fixes for image format
Downloads
CruelKernel-G973F-BTA8-v2.3
CruelKernel-G973F-BTA8-v2.3-CANARY
Sources
How to customize the kernel build
It's possible to customize the kernel and build it from the browser. First of all, create and account on GitHub. Next, fork this repository. Switch to the "Actions" tab and activate GitHub Actions. At this step you've got your own copy of the sources and you can build it with GitHub Actions. You need to open github actions configuration file (.github/workflows/main.yml) and edit it from the browser. For example, to alter the kernel configuration you need to edit lines:
Code:
- name: Kernel Configure
run: |
./build config name=CRUEL-V2-BTA8
+magisk
+ttl
+wireguard
+cifs
You can change the name of the kernel by replacing name=CRUEL-V2-BTA8 with, for example, name=my_own_kernel. You can remove wireguard from the kernel if you don't need it by changing "+" to "-" or by removing the "+wireguard" line and "" on the previous line.
Available configuration presets can be found at kernel/configs folder. Only the *.conf files prefixed with "cruel" are meaningful. For example:
magisk - integrates magisk into the kernel. This allows to have root without booting from recovery. Enabled by default.
magisk+canary - integrates canary magisk into the kernel.
ttl - adds iptables filters for altering ttl values of network packets. This helps to bypass tethering blocking in mobile networks.
wireguard - adds wireguard VPN module to the kernel.
cifs - adds CIFS (SMB) support.
nohardening - removes Samsung kernel self-protection mechanisms. Potentially can increase the kernel performance. You can enable this config if you face rooting or some other kind of restrictions. Other kernels usually use settings from this config by default. It's safe to enable this config, it just makes your system less secure.
nohardening2 - removes Android kernel self-protection mechanisms. Potentially can increase the kernel performance. Don't use it if you don't know what you are doing. Almost completely disables kernel self-protection. Very insecure.
nodebug - remove debugging information from the kernel.
300hz - increases kernel clock rate from 250hz to 300hz. Potentially can decrease response time. Disabled by default, untested.
1000hz - increases kernel clock rate from 250hz to 1000hz. Potentially can decrease response time. Disabled by default, untested.
For example, you can alter default configuration to something like:
Code:
- name: Kernel Configure
run: |
./build config name=CruelCanary
+magisk+canary
+wireguard
+nohardening
After editing the configuration in the browser, save it and commit. Next, you need to switch to the "Actions" tab. At this step you will find that GitHub starts to build the kernel. You need to wait about 25-30 mins while github builds the kernel. If the build is successfully finished, you will find your boot.img in the Artifacts section. Download it, unzip and flash.
To keep your version of the sources in sync with main tree (following updates), please look at this tutorial.
Support
This thread. Feature requests accepted.
Telegram (testing and intermediate releases).
GitHub Pull Requests if you want to contribute.
Credits
Samsung for kernel sources
topjohnwu for Magisk
geiti94 for showing that it's possible to built-in Magisk into the kernel. Initially I experimented with ASIG kernel, but ASIG+Magisk on ASIG firmware just stucks on boot with an SELinux initialization problem. At that time I doubted that built-in Magisk will work.
geiti94 for his help and advices
franciscofranco for FK Kernel Manager
XDA:DevDB Information
CRUEL KERNEL S10 , Kernel for the Samsung Galaxy S10
Contributors
evdenis, evdenis
Source Code: https://github.com/CruelKernel/exynos9820-beyond1lte
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: v2.3
Stable Release Date: 2020-02-12
Created 2020-02-10
Last Updated 2020-03-16
Reserved
How to build the kernel locally on your PC
This instruction assumes that you are using Linux. Install: mkbootimg, heimdall (if you want to flash the kernel with it).
Next:
Code:
$ git clone https://github.com/CruelKernel/exynos9820-beyond1lte
$ cd exynos9820-beyond1lte
# List available branches
$ git branch -a | grep remotes | grep cruel | cut -d '/' -f 3
# Switch to the branch you need
$ git checkout samsung-g973f-bta8-cruel
# Install compilers
$ git submodule update --init --recursive
# Compile (install mkbootimg first)
$ ./build mkimg name=CustomCruel +magisk+canary +wireguard +ttl +cifs +nohardening
# You will find your kernel in boot.img file after compilation.
$ ls -lah ./boot.img
# You can automatically flash the kernel with heimdall
# if you connect your phone to the PC and execute:
$ ./build :flash
# Or in a single command (compilation with flashing).
# ./build flash name=CustomCruel +magisk+canary +wireguard +ttl +cifs +nohardening
Boots phone but after entering pin goes to black screen then right back to the pin screen.g973f
gillim74 said:
Boots phone but after entering pin goes to black screen then right back to the pin screen.g973f
Click to expand...
Click to collapse
What ROM are you using? I tested it mostly on samsung BTA8 firmware.
evdenis said:
What ROM are you using? I tested it mostly on samsung BTA8 firmware.
Click to expand...
Click to collapse
Ambassadi same firmware but i think i know what it is.i never uodated the bootloader.i will try that first
gillim74 said:
Ambassadi same firmware but i think i know what it is.i never uodated the bootloader.i will try that first
Click to expand...
Click to collapse
If your phone was able to boot to pin screen, then I doubt the problem is in bootloader. Could you try V1 kernel https://github.com/CruelKernel/exynos9820-beyond1lte/releases/tag/v1.0
If it will work, then probably V2 will also work with +nohardening option. V1 compiled with this option, V2 without it. I will rebuild V2 then.
evdenis said:
If your phone was able to boot to pin screen, then I doubt the problem is in bootloader. Could you try V1 kernel https://github.com/CruelKernel/exynos9820-beyond1lte/releases/tag/v1.0
If it will work, then probably V2 will also work with +nohardening option. V1 compiled with this option, V2 without it. I will rebuild V2 then.
Click to expand...
Click to collapse
Same thing with version 1.could it be the twrp im using?
gillim74 said:
Same thing with version 1.could it be the twrp im using?
Click to expand...
Click to collapse
No, it's definitely not related to twrp. Well, I don't know what is an exact problem here, but some guys told me they were able to flash the kernel on ambassadi with data wipe or immediately after flashing the rom itself.
It would be very nice if people will just write if the kernel works or not on their roms. This will be a huge help for me.
evdenis said:
No, it's definitely not related to twrp. Well, I don't know what is an exact problem here, but some guys told me they were able to flash the kernel on ambassadi with data wipe or immediately after flashing the rom itself.
Click to expand...
Click to collapse
Data wipe or format data
gillim74 said:
Data wipe or format data
Click to expand...
Click to collapse
Data wipe should be enough. I will test compatability with Ambassadi today-tomorrow and will provide more detailed feedback. Thanks!
hello installation successfully the nikel kernel market for now
evdenis said:
Data wipe should be enough. I will test compatability with Ambassadi today-tomorrow and will provide more detailed feedback. Thanks!
Click to expand...
Click to collapse
Worked with data wipe
evdenis said:
It would be very nice if people will just write if the kernel works or not on their roms. This will be a huge help for me.
Click to expand...
Click to collapse
write me on telegram so i can say you why all get the pin code problem so you can fix it
Does this work with BSL7? Or know of kernel that will. Need my su permission to work
Paulturn84 said:
Does this work with BSL7? Or know of kernel that will. Need my su permission to work
Click to expand...
Click to collapse
Hi, no it will not work on BSL7. This kernel is for S10 (G973F) device. This device has only BSL6 firmware. BSL7 is for other devices. Try to look at nemesis kernel.
Is it possible to build magisk rooted kernel for pie (9) roms? Or it's only for Q like LOS 17?
vomad said:
Is it possible to build magisk rooted kernel for pie (9) roms? Or it's only for Q like LOS 17?
Click to expand...
Click to collapse
Download: https://cruelkernel.org/release/special/CruelKernel-G973F-ASJG-v1.1-LOS.img
This version is based on Android 9 (ASJG) sources and should work on ASIG firmwares. I've included some patches from ivanmeler LOS tree specifically for LOS. Features: Magisk v20.3, wireguard, ttl modules and cifs. Not tested
will he s10+ every be supported with this kernel?

Categories

Resources