PHANTOM KERNEL
for Samsung Galaxy Note 8 - N950-F/FD/N (Samsung Android 8.0.0 and 9.0.0 ROMs)

 

 

Phantom Kernel Download Page

 

 

Phantom Kernel project on XDA Developers

 

 

( This is a custom kernel that will trip Knox 0x1 flag and probably void your warranty. I am not responsible for bricked devices, any damage done to your phone or you getting fired because the alarm app failed. If you agree to this, you can continue. )

* Brief ideology of this kernel *

This kernel, if you plan on using it out-of-the-box it is battery life oriented, but also with a few tweaks to be fast and stable, just to give best daily usage results. The best part of it is that you can tweak it how you please depending on how far you want to go. You can choose over clocking CPU or/and GPU to get really good benchmark results, apply tweaks to get the best battery life/performance with low-end and high-end gaming or just to save even more battery, your choice. All this by using simple applications like Spectrum, a bit more complex ones, like Kernel Adiutor, MTweaks or choose an even more advance way with shell scripts / terminal.
As the project evolves more features will be added, even as requests if properly motivated.
Before releasing an updated , i'll make sure that it's properly tested so that you wont get bricked devices. This usually takes a lot of time, so please be patient. If some features are considered unstable they will be marked as experimental.

* Phantom Kernel Features for Samsung Android 9.0 ROMs *

- version 2.11.5 or later:
- SAMSUNG Open Source for PIE kernel (N950FXXUDDTH1);
- ramdisk version N950FXXSBDTED;
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations + compile warning fixes;
- Cortex and Exynos compiler optimizations;
- Available CPU governors: cultivation, blu_active , impulse, interactive, conservative, ondemand, performance, powersave, darkness, bioshock, schedutil;
- Available I/O Schedulers: noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, fiops and fifo;
- added Synapse support (with more optinons then MTweaks / if you use spectrum profiles some sections will be disabled for compatibility issues);
- Spectrum Support with 4 profiles (disabled on boot);
- MTweaks compatible but with missing features, use Synapse for better compatibility;
- maximum overclock CPU frequency of CPU little cluster 1898 Mhz;
- maximum overclock CPU frequency of CPU Big cluster 2704 Mhz;
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos;
- maximum overclock GPU frequency of 572 Mhz;
- SELinux permissive/enforcing depending on Magisk;
- Enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk (to get su access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke su access. This has no app that control access so don't leave it always enabled!);
- init.d support;
- all Samsung security related configs disabled (as KNOX, TIMA, Rooting restriction, etc.);
- Disabled Secure Storage. You'll need to refresh (remove/forget and connect/store connection again) Wifi/Bluetooth connections if you have conection issues!);
- dm-verifiy and forced encryption disabled;
- LED blink/fade control (fade enabled by default);
- changed LED to red/blue fading when booting;
- Wireguard support;
- CRC checks disabled on boot for better performance;
- added switch to enable/disable of FSync;
- added SysFS control for logging;
- disabled unnecesary logging, debugging and tracing;
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- support for MTCP (can be enabled from Synapse);
- added Smart Screen Dimming (flash SSD kernel version);
- added CPU Touch-Boost;
- added morosound mod;
- ramdisk optimizations and patched SEpolicy;
- init.d scripts optimization scripts, available in /=Phantom Scripts= folder, if you want to use them:
* 98sqlie: optimize DB;
* 98zipalign: zipalign apks;
* 99maid: a cleaning temporary files script;
* 99killer: battery saver by killing a couple draining services.


- version 2.10.1:
- SAMSUNG Open Source for PIE kernel (N950FXXU7DSJ1);
- Updated to Linux 4.4.201;
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations + compile warning fixes;
- Cortex and Exynos compiler optimizations;
- Available CPU governors: cultivation, blu_active , impulse, interactive, conservative, ondemand, performance, powersave, darkness, bioshock, schedutil, blu_schedutil, helix_schedutil, darkutil, electroutil and pwrutilx;
- Available I/O Schedulers: noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, fiops and fifo;
- added Synapse support (with more optinons then MTweaks / if you use spectrum profiles some sections will be disabled for compatibility issues);
- Spectrum Support with 4 profiles (disabled on boot);
- MTweaks compatible;
- maximum overclock CPU frequency of 2704 Mhz;
- maximum overclock GPU frequency of 572 Mhz;
- SELinux permissive;
- init.d support;
- all Samsung security related configs disabled (as KNOX, TIMA, Rooting restriction, etc.);
- Disabled Secure Storage. You'll need to refresh (remove/forget and connect/store connection again) Wifi/Bluetooth connections if you have conection issues!);
- dm-verifiy and forced encryption disabled;
- LED blink/fade control (fade enabled by default);
- changed LED to red/blue fading when booting;
- Wireguard support;
- CRC checks disabled on boot for better performance;
- added switch to enable/disable of FSync;
- added UKSM 0.1.2.6;
- LMK, VM, I/O sceduler and ZSWAP (swap) tweaks;
- Entropy optimizations;
- added SysFS control for kernel logger (disabled by default);
- disabled unnecesary logging, debugging and tracing;
- added automount FS Manager 4 support;
- added NTFS/ISO9660/UDF FS Support;
- added ZRAM support;
- updated LZ4 kernel modules;
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added Smart Screen Dimming (flash SSD kernel version);
- added CPU Touch-Boost;
- added morosound mod;
- added CIFS support;
- added support for DriveDroid;
- added Kernel support for MISC binaries;
- ramdisk optimizations and patched SEpolicy;
- init.d scripts optimization scripts, available in /=Phantom Scripts= folder, if you want to use them:
* 98sqlie: optimize DB;
* 98zipalign: zipalign apks;
* 99maid: a cleaning temporary files script;
* 99killer: battery saver by killing a couple draining services.

* Phantom Kernel Features for Samsung Android 8.0.0 ROMs (EOL) *

- Compiled with UBERTC 6.4.1 + GRAPHITE optimizations;
- Updated to Samsung Open Source N950FXXU5CRK2;
- Updated to Linux 4.4.169;
- added Synapse support (with a lot of optinons, a lot);
- Spectrum Support with 4 Profiles;
- SElinux permissive;
- Support for Private Mode;
- Init.d support;
- All Samsung security related configs disabled (as knox, tima, restrict rooting);
- Added Boeffla wakelock Blocker;
- Led blink/fade and intensity control;
- Wireguard support;
- Available CPU governors: cultivation, blu_active, zzmoove, impulse, interactive, schedutil, conservative, ondemand, userspace, performance, powersave, darkness and bioshock;
- Available I/O Schedulers: noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, row and fifo;
- Performance and Batterylife tweaks;
- N950FXXU5CRK2 ramdisk update;
- added UKSM 0.1.2.6;
- Possible max CPU OC frequency set to 2704 Mhz;
- added max GPU frequency of 572 mhz;
- Some GPU optimizations (slightly a bit more battery life and more performance);
- Set Spectrum balance profile max GPU speed of 455 mhz on boot (better battery life);
- disabled some logging, debugging and tracing;
- added NTFS/ISO9660/UDF FS Support;
- added Automount FS Manager 4 support;
- multipath TCP support;
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added 99killer, 98zipalign and 98sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d);
- fixed Spectrum and Mtweaks incompatibility when using both apps;
- added SysFS control for kernel logger;
- updated LZ4 kernel module to LZ4 v1.7.3;
- a lot of ramdisk fixes and optimizations;
- set voLTE enabled props from ramdisk (just in case...);
- removed SEC_SELINUX;
- added a more efficient RMM lock patch;
- added fake FLAGS to help Magisk;
- added Smart Screen Dimming;
- CPU Samsungplug optimizations and CPU core control;
- enabled schedule workqueues on awake CPUs as default;
- 100% compatibility with Spectrum and Synapse, with MTweaks not so much.
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
Differences between the NFS version and the regular version (Experimental):
- CPU OC possibility to 2.8 Ghz (2808000 mhz);
- GPU OC possibility to 683 mhz;
- GPU OC without CPU frequency restrictions;
- Spectrum profile "Gaming" OC-ed at 2.7Ghz / 572 mhz.
(No support will be given if something goes wrong while using the NFS version! AND don't blame me if you burn something.)
How to flash kernel:

Download (from the link above) and flash the zip file from TWRP recovery.
How to configure the Kernel

Easy way is with Spectrum, Synapse or MTweaks. You can also use scripts executed from Terminal, SManager or similar apps or from init.d.



If you enjoy my work, and you consider supporting my project, donations are always welcomed. You can find my donation Paypal acount on the download page too.

Click here to make a donation