FORUMS

[KERNEL] Phantom Kernel for Android 6.0.1 TouchWiz Roms

1,342 posts
Thanks Meter: 4,867
 
Post Reply Email Thread
Your warranty is now void. Knox 0x1.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this kernel.



PHANTOM KERNEL
by 6h0st

Lots of thanks to the Aspire team members:
@DaOldMan – Aspire Rom developer
@Eleo, @galili47, @Bullmans, @Logel & @Kill-Switch - Product evaluation & Support

Special thanks:
@jcadduono
@lss1977
@Yank555
@arter97
@faux123
@gj86

... other previous developers and all future testers...
... and of course big thanks to project donors.

* Kernel Features *
Based on idle kernel by jcadduono/lss1977 source code.
Linux version 3.4.113,
Arch Power, Gentle Fair Sleepers ,
F2FS support - I recomend using F2FS for /system and /cache partitions only, but supports /data partition too - EXPERIMENTAL
Added Phantom Governor as default
(based on yankactive - optimized to use CPU frequencies for reduced battery consumtion with a little loss of performance.)
Added alucard, arteractive, intelimm, intellidemand, ondemandplus, impulse, smartmax, smartmax_eps, Lionheart, biosock, nightmare and zzmoove governors beside performace and conservative.
Added Phantom, zen, tripndroid, sioplus, bfq,fiops, deadline I/O Schedulers beside row, cfq, sio, fifo and noop.
Phantom I/O Scheduler set as defualt for Internal memory and External SD Card (if phone has one)
(Phantom I/O Scheduler is based on Maple, has Zen, VR and SIO I/O schedulers code in it, uses a first come first serve style algorithm with seperated read/write handling to allow for read biases. By prioritizing reads, simple tasks should improve in performance. Phantom I/O also uses hooks for the powersuspend driver to increase expirations when power is suspended to decrease workload.)
Max CPU frequency is 2265 mhz
Min CPU frequency is 288 mhz
CPU has 28 frequency steps.
No CPU OC - Stock CPU frequency table used for better stability
Added Fast Charging by Yank555.
Added 100, 500, 533, 578 mhz GPU steps.
7 CPU hotpluging managers: MSM, Bricked, Intelli-hotplug, Zen Decision, AutoSMP, Fast Hotplug and LazyPlug
Intelli-hotplug tweaked ,modded and added a special Lazy profile for videos, phone calls and screen off (set as default)
iotop.sh script support
Added battery power consumtion (average and current) information (mAh).
Added per CPU core control (governor and frequency)
Added Adaptive LMK
Added DoubleTap2Wake (Full/Half screen modes available)
Added Phantom Log, Phantom LED and Phantom Swap features
- LKM - Loadable Kernel Modules support
- Intelli-Hotplug update (more balanced now)
- Intelli-Hotplug (4 cores only) profiles update:
0 balanced 4 cores (default)
1 performance 4 cores (more aggesive)
2 conservative 4 cores (saves battery)
3 disable

(* Any other value other then 0-3 will set it to 3.)
(** Tweak is available at this path: /sys/kernel/intelli_plug/full_mode_profile)

- added custom suspend: enable freeze timeout configuration
(*Tweak is available at this path: /sys/power/pm_freeze_timeout)
- Fixes for DoubleTap2Wake.
- FS performance gain by 10%, in benchmark test at least.
- Modem performance tweak
- Fix for LTE only as preferred mode causing FC after a reboot;
- Fixed Call Delay;

__________________________________
How to use LKM - Loadable Kernel Modules:
The kernel comes in a basic version without all the governors, schedules, hotplugers and FS supported types of partitions, only the most common used.
If you want to use other features that aren't enabled anymore, you need to edit the /system/etc/init.d/00modules file and remove the "#" from the beginning of the lines related to the module (feature) you want to use/enable and reboot. You can activate all of them if you want.
If you want to use the basic version again, you can remove the 00modules file, if any changes were made. It will reappear on reboot, but all modules will be disabled, as default. If the file is missing after a reboot you can copy it from /sbin/scripts folder to init.d.
__________________________________
1.What does Phantom LED do?
It makes the phone's LED blink upon Wifi, Internal SD, ExtSD activity.
(Disable ROM Led notifications for this feature to work properly)
__________________________________
2.What does Phantom Swap do?
It creates a swapfile on the /data partition and starts the swapping process on boot.
The size of the swapfile is 768MB.
If /data/.phantom.swap is removed it will clean the /data partition of the swapfile remains.
__________________________________
3.What does Phantom Log do?
It enables ROM's logs, that are disabled by default.
To enable ROM's logging (logs) you need to create an empty file named '.phantom.log' in /data and reboot. (The name starts with a dot and without quotes.)
After reboot you can check if everything it's working by opening /data/.phantom.log file, with a text editor, and find this text inside: 'Logs are active and available for debugging now.'.
If the text is there you have done the procedure correctly and all logs should be available.
You can't activate logging from Kernel Adiutor-mod anymore!
__________________________________
Kernel add-on scripts can be found in /=Phantom Scripts= folder, if ramdisk/boot image is not altered (e.g. Magisk is installed).
Simple way to use a script is to copy the script from /=Phantom Scripts= to /system/etc/init.d. and reboot, except iotop.sh !
Alternative method is with Kernel Adiutor-mod or SManager or similar apps.

You can edit, save and delete the scripts from /=Phantom Scripts= folder, but all changes will be gone upon reboot! (Even if you delete all/any of the scripts). Most info on how and what to edit is inside of the scripts.
__________________________________

For best compatibility and experience I recommend using [C9 Pro Port][N900X] AspireTeam C9 Pro V4.0.
(Why? ... it's because my testing was done on to this ROM)

Phantom Kernel Download link (eur and variants)

Alternative MEGA download link (in case the main download link is not working)

Donation link

XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 3

Contributors
6h0st
Source Code: http://ghost.com.ro/phantom-kernel/source.html

Kernel Special Features: Based on idle kernel by jcadduono/lss1977 source code. (...read full description above.)

Version Information
Status: Stable
Current Stable Version: One
Initial Release Date: 2017-01-08
Latest developer version: 1.2z [EOL]
Latest developer version Release Date: 30.10.2018
For latest updates read the changelog of developer version that can be found in post 3 or on Facebook: http://fb.me/Ghost.aka.6h0st
The Following 152 Users Say Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
8th January 2017, 11:47 AM |#2  
6h0st's Avatar
OP Senior Member
Thanks Meter: 4,867
 
Donate to Me
More
How to flash kernel:

Method for .IMG file:
[ Clean data of Kernel config app fist (Kernel Adiutor or similar apps) ! ]

1. From TWRP Recovery {INATLL} button > go to download folder.
2. Select {Images...} button from down-right-corner > select boot.img.
3. Select Boot > Swipe to confirm Flash.
Done!


Method for . ZIP file:
Download (download link in first post) and flash the zip file from TWRP / other recovery.

* Highly recommended on first flash of a new dev.ver. or if coming from another kernel *

[Backup your /system/etc/init.d scripts, Kernel Adiutor-mod data (or Synapse data from other kernels) BEFORE flashing!]
The Following 66 Users Say Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
8th January 2017, 11:47 AM |#3  
6h0st's Avatar
OP Senior Member
Thanks Meter: 4,867
 
Donate to Me
More
Changelog of: developer version 1.2z
- Compiled with Toolchain UBERTC 8.2.1 + GRAPHITE optimizations;
- a few bugs fixed for eur and skt variants;
- some improvements in performance and battery life.
The Following 121 Users Say Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
8th January 2017, 11:51 AM |#4  
Senior Member
Thanks Meter: 58
 
More
Ouchh! Thank you!
8th January 2017, 11:54 AM |#5  
Account currently disabled
Thanks Meter: 393
 
Donate to Me
More
also for smn900t?
8th January 2017, 11:57 AM |#6  
uzzz2004's Avatar
Senior Member
Flag Trapani
Thanks Meter: 131
 
More
New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?

Inviato dal mio SM-N920F utilizzando Tapatalk
8th January 2017, 12:05 PM |#7  
6h0st's Avatar
OP Senior Member
Thanks Meter: 4,867
 
Donate to Me
More
Quote:
Originally Posted by uzzz2004

New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?

Inviato dal mio SM-N920F utilizzando Tapatalk

No! Select boot / not recovery.
See "How to flash" section from fist post.
The Following 5 Users Say Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
8th January 2017, 12:06 PM |#8  
6h0st's Avatar
OP Senior Member
Thanks Meter: 4,867
 
Donate to Me
More
Quote:
Originally Posted by Tmobilefan906

also for smn900t?

Yes. Flash TMO variant.
The Following 6 Users Say Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
8th January 2017, 12:09 PM |#9  
Account currently disabled
Thanks Meter: 393
 
Donate to Me
More
Quote:
Originally Posted by 6h0st

Yes. Flash TMO variant.



sorry, wrong thread
8th January 2017, 12:09 PM |#10  
moonryder's Avatar
Senior Member
Flag southern
Thanks Meter: 756
 
More
only for TW ROMs?
i am on Resurrection Remix - very pity
8th January 2017, 12:15 PM |#11  
6h0st's Avatar
OP Senior Member
Thanks Meter: 4,867
 
Donate to Me
More
Quote:
Originally Posted by moonryder

only for TW ROMs?
i am on Resurrection Remix - very pity

Samy TW only. Sorry.
The Following User Says Thank You to 6h0st For This Useful Post: [ View ] Gift 6h0st Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes