[Galaxy Note 3 Android Development] 6h0st:
Mod edit: thread closed due to missing kernel sources.

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)

Mod edit: links removed

XDA:DevDB Information

Phantom Kernel, Kernel for the Samsung Galaxy Note 3

Contributors

6h0st

Source Code: Mod edit: links removed

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: