[KERNEL][3.0.101+][for Android 4.4.4] & [ROM][4.4.4] A2N Kernel & CM11 for Galaxy Ace 2 [R95] - Galaxy Ace II Android Development

Revive your Samsung Galaxy Ace 2 phone in 2023!
Fastest custom kernel world-wide with lots of innovative features!
Supports all Ace 2 Variants Running Android 4.4.4
GT-I8160
GT-I8160P
GT-I8160L
This Kernel and ROM Aims are to
reduce the power consumption
improve the performance
make it more smooth
reduce RAM usage
improve RAM management
extend device features
and many more ....
A2N Kernel Special Features
SafetyNet: OK
Google Play: device is certified
Charger control for faster charging
Battery care
Stable CPU OC up to 2 x 1,3 GHz
Stable GPU OC up to 1 x 750 MHz
Adjustable Battery Max Temp
CPU / GPU / RAM OC / UC / OV / UV
Audio Gain
Ability to set different CPU Freq while screen ON/OFF
Kernel modules for CIFS and NFS
Enabled zRam (RAM compression) - with fast LZ4 compressor
SELinux in permissive mode
Flashlight tuning (torch)
A2N Kernel Control - App Features
Best way to tune this kernel to your needs
Note: 3-party kernel manager apps do not work with this kernel.
-- Charger control
-- Battery care
-- Battery thermal control
-- Audio Low-level gain control
-- Sweep2Wake
-- CPU/GPU OC control with voltage control
-- Limit CPU max_freq on suspend
-- CPU/GPU governor tuning incl. input-booster
-- Performance profiles
-- SWAP/zRam
-- Backend Network stuff like NFS, CIFS etc..
-- Torch brightness control
-- Notification LED through the soft-touch-keys - adjust blink_on, blink_off delay
-- Accelerometer calibration
-- Advanced Power Menu - ability to reboot to recovery / download-mode
-- And many more!
Installation​
Step 0
This step is only needed if your Android version is lower than 4.
If you have already Android 4.1.2 or even 4.4.x installed, then go to step 1.
Update to the latest Samsung stock ROM 4.1.2 with ODIN.
Make sure your battery level is at least 70 % before you proceed.
I'm a noob, please show me more details:
Download needed files for Windows (for other OS, please search the web):
Samsung USB Driver for Mobile Phones
odin3_v3.07.zip offline flasher
Stock ROM
For the GT-I8160 you need:
I8160XXMB4.zip (3-parted)
and
ONE-I8160XXNF2-20140930142454.zip (Latest stock ROM)
For the GT-I8160P you need:
CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XLK2_4G.zip ( first 3-parted)
and
CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship.zip (second 3-parted)
and
DBT-I8160PXXMG2-20130820164646.zip (Latest stock ROM)
For the GT-I8160L you need:
GT-I8160L-3parted.zip (3-parted)
and
PGU-I8160LUBMK2-20140603151522.zip (Latest stock ROM)
After you've downloaded the needed files and you've unpacked and installed the Samsung USB Driver, you can proceed wit the upgrade.
Note: All your data will be deleted, so it's recommended to backup some important files to your computer, including the content of your sdcard.
First of all, export all your contacts to your ext-sdcard. Later you will need this file in order to import your contacts into the new ROM because the new ROM CM11 has a small issue that it can't read SIM contacts.
Now copy the exported contacts to your PC and then format the sdcard as FAT32 if you can, if you don't know how to do that, it's also (for now) enough to simply delete all files and folders from the sdcard.
Unpack Odin3_v3.07.zip and open the program inside, it's: Odin3 v3.07.exe
Unpack the ROM, for example we unpack the ROM: I8160XXMB4.zip for the GT-I8160 which is a 3-parted stock ROM.
Well, now power off the phone and remove the sdcard.
Press and hold at the same time: volume down + home + power button.
The phone will boot directly to "Download Mode", now press "Volume +" to enter "Download Mode".
Connect the phone with your PC with the USB cable (important: during flashing don't turn off your pc or phone, also don't touch the phone or the USB cable)
Your phone should be recognized by ODIN .. you can see this in "ID:COM"
if not, then the USB drivers for Samsung mobiles are not properly installed !
Don't change the check boxes !!!
Now load the *.tar.md5 files as follows into ODIN:
PDA = HOME OR CODE (*.tar.md5)
Wait until the MD5 check is done and proceed by adding the next package in ODIN.
CSC = CSC (*.tar.md5)
PIT = *.pit File (the checkbox Re-Partition is now checked )
Before you press "Start", make sure everything looks like this:
For 3-parted stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin_3parted.png
For latest Stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin.png
Finally press "Start", be patient ... this takes around 7 minutes.
The phone will reboot several times. When you see the pad for entering the SIM PIN ... then the (3-parted) ROM was flashed successfully and you can now remove the USB cable and reset ODIN and you should flash the next ROM with ODIN which is:
ONE-I8160XXNF2-20140930142454.zip (Latest Stock ROM)
flash it exactly like the 3-parted one, with the difference that it's only one file to add in ODIN .... see the screenshot "For latest stock ROM" which is odin.png.
Step 1
Download required files and copy them to your micro sdcard without to unpack them:
Temp_CWM_6.0.2.8.zip to your sd-card, do not unpack it.
CM11
A2N Kernel (choose normal version, or if you want to increase the space for apps, then choose "sdcard_only", but you need micro-sd-card and you should perform re-partition - very easy - step-by-step)
Optional re-partition:
cwm_cm11_partitions_layout_sdcard_only.zip (for sdcard_only version) OR
cwm_cm11_partitions_layout.zip (for normal kernel version):
gapps (required for Google Play)
Choose ARM - 4.4 - pico
OR
if it's no longer available, then use this version from FTP-Server
Swype_fix.zip
Explicit for GT-I8160P, download GT-I8160P_Support_Vx.x.zip
Explicit for GT-I8160L, download GT-I8160L_Support.zip
Step 2 (only required if your device has no cwm recovery)
Flash a2n_kernel_gt-i8160_ODIN.tar with ODIN in order to have CWM recovery or boot to stock recovery in order to flash temp_cwm.
Step 3 (optional)
Increase the available space for apps from 1,2 GB, up to 3 GB !
More Informations about the repartition: Post #3
This step is optional, so if you don't plan to install a lot of apps you can skip this and go to step 4.
flash cwm_cm11_partitions_layout.zip
OR
cwm_cm11_partitions_layout_sdcard_only.zip
press several times the soft back-key, then tap
"advanced"
"power off"
boot again to recovery
mounts and storage
format /system
format /storage/sdcard0 as "vfat" [it's like FAT 32]
Go back and "wipe data/factory reset"
"advanced"
"power off"
Boot to cwm
Go to step 5
Step 4
"mounts and storage"
"format /system"
format /storage/sdcard0 as "vfat" [it's like FAT 32]
Go back and "wipe data/factory reset"
"advanced"
"power off"
boot to recovery
Step 5
flash CM11 (GT-I8160_Support.zip already included)
in addition for GT-I8160P (for the NFC model):
flash GT-I8160P_Support_Vx.x.zip
in addition for GT-I8160L (for the latin version):
flash GT-I8160L_Support.zip
Flash latest kernel:
a2n_kernel_gt-i8160_4.4.4_sdcard_only.zip
OR
a2n_kernel_gt-i8160_4.4.4.zip
Flash open-gapps
Finally flash Swype_fix.zip
Reboot system now
Be patient, it takes around 5 minutes for the first boot.
DONE !
Current Bugs and Changelog
FAQ
Disclaimer​
I am not responsible for anything that happens after flashing the work provided here.
Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work, otherwise i'll report you and your thread will be removed.
Credits​
@dh.harald and @hafidzduddin for contribution on codina sources
@ Team Canjica for a base for this perfect kernel
@ All users whose have tested this kernel and direct the development along the right path
CyanogenMod Team for CM11 & CWM Recovery
SAMSUNG for opening kernel source
ST-Ericsson for codina patches
Google for android kernel patches
Linus Torvalds for Linux Kernel
@S.AMU for FTP-Server
Contributors
ace2nutzer, cocafe, zwliew, mkaluza, Rox, Meticulus, ChronoMonochrome, TeamCanjica
Source Code: Samsung_codina_Kernel/tree/4.4.4_cm11

Buglist - R95
None
Buglist - CM11 ROM 2022.03.05
Reading SIM contacts - but you can import contacts from sdcard
Stock browser is outdated - please use Chrome browser
Changelog
A2N Kernel R95
GPU: removed buggy gaming-mode
CPU/GPU: updated ondemand gov
CPU: added input-booster
RAM: optimized memory management
A2N Kernel Control V95
GPU: replaced "Gaming Mode" with "Boost"
CPU: added input-booster into "Boost"
Older Changelogs
A2N Kernel R94
RAM: Fixed regression from R93 in memory management
RAM: improved multitasking
A2N Kernel Control V94
RAM: optimized zRam routine
Updated strings (help text)
A2N Kernel R93
LMK: updated driver for better memory management - by me
LMK: updated minfree values to work more efficient with updated LMK driver
Init: removed init.d.a2n - instead we use now default init.d folder
A2N Kernel Control V93
GPU: improved "Gaming Mode"
RAM: simplified swap control
Updated defaults & fixed bugs
A2N Kernel R91
Source update - Linux 3.0.31 -> 3.0.101
CPU/GPU: disabled boost by default
GPU: added gaming mode
PLLDRR: set Freq from 1,1 GHz @ 1,0 GHz (1,1 GHz was not stable)
A2N Kernel Control V92
Fixed bugs
A2N Kernel Control V91
GPU: added gaming mode
CPU/GPU: Boost disabled by default
Kernel R90
GPU: reverted block_size to 256KB (stock)
zRam: updated driver
PLLDDR_OC: improved stability
Reduced lags and crashes
Overall improvements (battery life, performance and memory management)
A2N Kernel Control V89
Fixed bugs
Improved app performance
A2N Kernel Control V88
Fixed bugs
Improved app performance
Kernel R89
Updated LCD driver
Defconfig: disabled PCRYPT
Kernel R88
Improved RAM OC
Kernel 2022.10.14
Updated kernel config
CPU/GPU: updated governor, removed useless freq steps
Improved OC stability
Updated LCD driver - stability fix
Recalibrated LCD driver to fix out-of-sync related lags
RAM OC by default 800 MHz @ 1100 MHz for better I/O throughput
A2N Kernel Control V8.7
Updated all performance profiles
Updated defaults
Fixed bugs
Improved app performance
Kernel 2022.05.13
Enabled CONFIG_NAMESPACES support
Improved stability
A2N Kernel Control V8.6
Debug: added "fix permissions" (useful if you use this app with other kernel manager apps)
Improved stability
Fixed bugs
A2N Kernel Control V. 8.5
Improved stability
Fixed bugs
Kernel 2022.04.20
Switched to HZ_500
Improved stability
Improved memory management
Improved multitasking
CPU/GPU: gov update
enabled namespaces
enable zRam 100 % by default
A2N Kernel Control V. 8.4
Source update
Reduced startup time
Improved stability
Fixed bugs
Note: latest A2N kernel version required.
Kernel 2022.04.06
Compiled with -O3 - for higher speed
Optimized memory management
Improved multitasking
Enabled CONFIG_SYSVIPC - required for some emulator apps
A2N Kernel Control V. 8.3
Stability fix
Improved startup time
Updated defaults
Kernel 2022.03.12
Fixed lags and freezes
CPU/GPU: updated ondemand gov
CPU/GPU: reduced Freq switching delay from 40 to 20 ms
RAM: optimzed memory management (multitasking)
LCD: updated Freq for S6D27A1 model
I/O: increased throughput - read_ahead_kb 32 @ 128 KB
zRam: updated script
A2N Kernel Control V. 8.2
RAM: added page-cluster tunable
RAM: I/O: added read_ahead_kb tunable
Updated defaults
Kernel 2022.03.05
Improved stability - needs some testing now
Fixed apps force close (at least on kernel side)
Improved memory management
Improved deep sleep
CPU/GPU: updated boost logic - uses now only min/max freq to reduce freq switching related lags ! (if enabled in the A2N app)
Charger control: update
LCD: updated driver
SWAP: zRam: sync with AK 3.10.106
Lib: sync LZ4, LZO & ZLIB with LK 5.16.2
Binder, lmk & ashmem: sync with AK 3.4
GPU: optimized memory allocation
A2N Kernel Control V. 8.1
Network: added L2TP support
Re-added autostart
Updated defaults
Bug fixes
Improved stability
Kernel 2021.10.29
Improved stability
Fixed apps force close (at least on kernel side)
Improved memory management - especially multitasking
CPU/GPU: optimized ondemand governors
Updated zRam driver
Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks
Supports now NFS V.4.1
CIFS: updated driver
SELinux: optimized "fake enforce" hack
Updated kernel config
A2N Kernel Control V. 8.0
RAM: LMK: added 16 MB choice,
added "Swappiness" tunable
Slightly theme changes
Bug fixes
Improved stability
Reduced mobile data usage
Updated defaults
Kernel 2021.05.22:
zRam: set to 50 % size by default
improved driver
Memory Management: optimized low-memory-killer to have min 48 MB free RAM
for quick response even if RAM is in high pressure state
SELinux: added ability to fake enforce status (experimental - in demo app)
CPU: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default
CPU: up_threshold=95 and disabled boost always fixed on suspend for more power saving
CPU: increased min_freq to 400 MHz, but on suspend it'll use 200 MHz for power saving
GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled
GPU: driver update for better memory allocations
A2N Kernel Control V. 7.9
New: check for new A2N Kernel release on app launch
Updated defaults
Bug fixes
Removed redundant buttons
Reduced network traffic and debugging
Fixed wrong displayed "Kernel Outdated" popup
Kernel 2021.03.24:
CPU: use 200 MHz step only with screen OFF
Set swappiness to 150
Some souce code update to android kernel 3.0.72
zRam, zsmalloc and lz4: update from LK 3.10.103 to 3.18.140
RAM: removed KSM support
Added more TCP congestion algorithm
defconfig: allow CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to be enabled
lib/lz4: update to LK 4.11.12 (for zRam)
zRam: decreased overhead and memory usage
Added support for kernel mode NEON
Added support for WQ_POWER_EFFICIENT
Added support for ARM/NEON optimizations for crypto in SHA/AES modes
A2N Kernel Control V. 7.8
Profiles: Performance Plus: allow custom Freqs
Network: added more TCP congestion algorithm
Advanced Power Menu: update
Updated defaults
Kernel 2021.02.06:
Swap: added more optimizations for zRam - easily 10x faster than before !
A2N Kernel Control V. 7.7
Power: added "Maximum Charging Temperature"
CPU: added "Suspend Max Freq"
CPU/GPU: added more governor tunables
RAM: added "Low Memory Killer" (for min free RAM) & "Drop Caches & Buffers"
Power: added "Battery Temperature / Voltage Check"
Added a quick 4-way reboot menu
Stability fix
Updated defaults
Fixed grammar
Cleanup
Kernel 2021.01.20:
GPU/GPU: updated ondemand governor
Source update
RAM: 631 MB @ 632 MB
CPU: switched to ondemand governor
Timer: HZ=300 @ HZ=250
Charger Control: added "Max Charging Temperature" default: 40 °C - range: 35 - 45 °C
and set ac_curr_max=800 @ 1000 mA - range: 100 - 1500 mA
also added better support for 3rd-party batteries with 3.7 V (auto detection)
LCD: driver update for stability and smoothness
Wi-Fi: added better support for 80211n
Full support for IPsec
A2N Kernel Control V. 7.6
Source update
CM11 ROM 2021.01.20:
Optimized build.prop
incl. A2N Kernel 2020.01.20 - normal version
CM11 ROM 20200823:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20200823 - normal version
Kernel 20200823:
RAM: optimized memory management
Extended Support for Mouse, Keyboard and Joysticks
A2N Kernel Control V7.5
Source update
Kernel 20200513:
RAM: optimized memory management
zRam: improved stability
init.d Fix
Updated Demo App installation
A2N Kernel Control V7.4
init.d Fix
CM11 ROM 20200328:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20200403 - normal version
Kernel 20200509:
RAM: optimzed memory management
Enabled CRYPTO_SHA256 && CRYPTO_SHA512
init.d Fix
Kernel 20200427:
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
Binary Code Optimizations
A2N Kernel Control V7.3
CPU/GPU: increased max up_threshold 99 -> 100 %
Updated defaults
Bug Fix
A2N Kernel Control V7.2
Requests root permission on App startup
Kernel 20200403:
Updated Kernel Config
PLLDDR OC: driver update
LCD: driver update
NET: enabled congestion protocols: cubic, new reno, bic, westwood+
SWAP: optimized zRam
BOOT: improved boottime - boots with 1 GHz
GPU: added a real dynamic governor for more powersavings
CPU: conservative gov update
CPU/GPU: added a "boost" tunable in order to switch from min to max freq immediately
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
A2N Kernel Control V7.1
GPU: allows to UV all steps
Profiles: added Performance Plus Profile
Network: added TCP Congestion Control
CPU/GPU: added Boost Control - in order to switch from min to max freq immediately
Updated defaults
Fixed back-arrow
Bug fixes
License Check: added Retry Button
Kernel 20191114:
Optimized memory management
CPU/GPU/SXA: optimized Governors
Set vm_swappiness to 200 (patched)
Updated kernel config
FSB/DDR_OC: updated for lower power consumption and stability
Charger: Set AC Current to 800 mA by default
MCDE: LCDs: updated for quick wakeup + stability
Improved performance, responsiveness, and battery life
More smoothly
A2N Kernel Control V7.0
Updated defaults and strings
Minor Fixes
CM11 ROM 20190918:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20190918 - normal version
Kernel 20191017:
VM: patched swappiness to be tuned up to 200 - (kernel default)
USB OTG Power: allowed output power 300 @ 500 mA
LCD's: increased stability against potential black-screen issues
LCD's: decreased wakeup latency from suspend
CPUFREQ: updated logic - auto set lower cpu_min_freq for suspend
updated ramdisk
A2N Kernel Control V6.9
Misc: removed swappiness control (it's set @ 200 by default)
USB OTG Power: allowed output power 300 @ 500 mA
Minor Fixes
Kernel 20190918:
CPU/GPU: updated governors
Charger: tiny update
Sweep2Wake: Fixed Touchscreen not waking up on incoming notification or call (if Sweep2Wake was enabled)
Mali-GPU-400: Fixed memory allocation failures - alloc_order 6 --> 0 / block_size 256 KB --> 4 KB
Re-added zRam Support with fast LZ4 Compressor
Set GPU/SXA governor up_threshold to 95 % for better powersavings
CPU: added a better control for managing CPU suspend_freqs - (for more info check the kernel release notes in the thread)
Bug Fixes
Source cleanup
A2N Kernel Control V6.8
Misc: added zRam switch and
swappiness control
Full overhaul and
Bug Fixes
Kernel 20190817:
Reverted back overclocked wifi module from 100 to 50 MHz - Caused system to freeze
CPU/GPU/SXA: updated governors to be more clean and smooth
Sweep2Wake: updated driver, added the ability to use it now even without extra wakelock
CPU: re-added the ability to set min_freq for screen ON regardless the used min_freq for Suspend (which is by default 200 MHz)
MCDE: added LCD workaround tunable to workaround wakeup issue on some broken LCD's. (it's useful if u've to press power button 3 times to wakeup the phone from suspend or deep sleep)
Source code cleanup - Fixed all leftover compiler warnings
A2N Kernel Control V6.7
Power --> Charger Control AC/USB: allowed up to 1500 mA input Current
Screen --> Added ability to use Sweep2Wake even without extra wakelock
CPU: added ability to set min_freq up to 200 MHz for Screen ON
CPU/GPU: added ability to tune the governor for more performance or more powersaving (very easy to use)
CM11 ROM 20190202 RELOADED:
Updated build.prop
incl. A2N Kernel 20190718 - normal version
AUTO wipe dalvik-cache
Kernel 20190718:
CPU/GPU/SXA: updated all 3 Governors - should improve performance and smooth scrolling
KSM: reduced pages_to_scan for the first 2 scans - reduces some overhead on boot
A2N Kernel Control V6.6
Power: fixed restoring of charging current on boot
Kernel 20190619:
GPU: fixed a bug in dynamic_down_threshold logic
MCDE --> LCD's: updated drivers, improved stability especially for S6D Model (should fix the blurred screen issue)
fixed lags caused by MCDE/LCD
CPU --> conservative_gov: updated up and down thresholds to reduce lags caused by the governor itself
Installer: fixed issues with /ramdisk partition that caused Offline-charging (LPM) and FSB/DDR (PLLDDR) OC not to work properly
Reduced feedback latency
More smooth
A2N Kernel Control V6.5
Audio --> Headphones: added digital gain control
Screen: removed LCD Freq Control (redundant)
CPU: removed suspend_max_freq limit (redundant)
Kernel 20190521:
I/O: switched to CFQ Scheduler
cpufreq_conservative: updated to fix some micro laggs
PLLDDR_OC: fixed audio issues - re-added recal. of SXA Clocks
Kernel 20190503:
MCDE: LCD's: improved stability
LCD S6D27A1: fixed Offline-charging Battery animation
Kernel 20190427:
LCD WS2401: fixed wakeup issue when using PLLDDR OC
PLLDDR OC Module: update
CPU: conservative gov - update
A2N Kernel Control V6.4
Screen: fixed restoring of ape opp 100 on boot
Screen: LCD WS2401: use 50 MHz by default
Kernel 20190418:
GPU: Driver update - added dynamic_down_threshold for better power efficiency
CPU: gov conservative: added dynamic_down_threshold for better power efficiency
LCD WS2401: updated screen on/off delays - fix for LPM
LCD: fix user LCD Freq on late_resume
LCD: Driver update - improved stability, more smooth
LCD: added flicker-free support - by using highest LCD Freq + APE 100 requirement (to work stable)
FSB/DDR: updated Driver to work fine with 250/1000 MHz
I/O: Removed swap && zRam support - now we use KSM instead
BLN: Bug fix
Charger: changing charger current is now (again) possible "on-the-fly" (without to unplug the cable)
Rear Flash LED: updated Torch Brightness Control
A2N Kernel Control V6.3
Power: updated Charger Control
Screen: updated LCD Freq Control
Misc: removed zRam (now we use KSM instead)
Misc: KSM: added "pages to scan" choice
Msc: updated FSB/DDR OC Control
Misc: updated Torch Brightness Control
Minor bug fixes and improvements
Kernel 20190324:
MCDE: WS2401 Updated Delays - Fix for LPM
Kernel Config: tiny update
Updated Ramdisk and user Ramdisk
Moved LPM charger binary & /res/images/charger to user /ramdisk - allows to use custom charger binary and/or custom /res/images/charger
Kernel 20190319:
Fixed "move apps to sdcard"
Enabled KSM Support - optimized for Android
Enabled UHID Support
Switched to Conservative cpu governor - higher powersaving
Updated Mali GPU Driver
Mali: updated gpu freq table for higher efficiency - removed too low steps
CPU: use 200 MHz Step only on Suspend
LCD: Reworked lcd type detection and split interface for each of lcd type
LCD: Recalibrated video.modes and LCD Freq - more smooth
LCD: fixed custom_lcdclk interface
Use: OPP 25% only on suspend
CPU: Conservative gov fine tuning
Optimized binary code optimizations - -O2 globally
Updated PLLDDR OC Module - improved stability
Reworked the whole VAPESEL2 & LPA(low-power-audio) Voltage Logic
Updated suspend_max_freq interface
Use the full Freq of 100 MHz instead the Half of 50 MHz for sdi1 as well - WLAN
BT: fixed file transfer issue
Disabled CRYP Engine - caused shutdown issue
Fixed Virtual memory layout
Disabled APEAT & APETRACE Clocks for Lauterbach Debugging - For powersaving
MCDE: re-enabled MCDE_DPI_UDERFLOW Patch
Updated Ramdisk and scripts
A2N Kernel Control V6.1
Screen: Fixed LCD detection
A2N Kernel Control V6.0
Misc: added KSM Control
CPU/GPU: updated Freq's according to the latest A2N Kernel
Audio: added LPA Undervolting - Low-Power-Audio on Suspend
Debug: removed LCD Type Detection - moved to "Screen"
Screen: added LCD Freq Control
Power: added 90% Charge - stop and hold charging at 90%
CPU: Suspend_max_freq: removed 200 MHz Choice - 200 MHz is the default min_freq on suspend
Kernel 20190206:
Reverted "MCDE: WS2401: stock delays" - caused LPM issue
Charger: reduced time for 99% -> 100%
Updated ramdisk - use kernel default min_free_kbytes
Kernel 20190202:
Reworked the whole kernel config
removed kmsg spam raw_soc from abb_fg
Android Kernel 3.0.31 -> 3.0.72
Improved Security
Minor bug fixes
Kernel Sched: enabled HRTICK
Mali 400 GPU: optimized driver
MCDE: WS2401: stock delays
Improved Memory management - Multitasking
Fixed memory allocation failures
Higher efficiency - Battery, Performance
Improved stability - No FC, no reboots
and some more tiny kernel optimizations
A2N Kernel Control [GT-I8160] V5.9
Moved "storage" and "debugging" to the demo version
Kernel 20181218:
FS: Revert to stock iocharset
Disabled Memory Resource Controller
Multitasking is now much better
Added Assistive Light Control for the LED Torch - Full Range from 1 - 16 !
A2N Kernel Control [GT-I8160] V5.7
Misc: moved "advanced root" to the demo version
Updated App permissions
Misc: Added Assistive Light Control - Torch LED power Control
CM11 ROM 20181023:
Optimized Dalvik heaps
incl. A2N Kernel 20181023 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20181202:
Charger: tiny fixes, reduced lowbat_wake_lock time
A2N Kernel Control [GT-I8160] V5.4
Power: updated Charger Control, reduced max charge Current to 1 A.
Kernel 20181117:
Charger: updated charger logic - set ac current max @ 700 mA by default,
- improved security aka SIOP, - driver cleanup
A2N Kernel Control [GT-I8160] V5.3
Power: updated Charger Control
Kernel 20181105:
Charger: updated the whole Driver. - Relaxed a lot of limits to be able to charge up to 1500 mA Current for any Chargers AC/USB. - Added better support for 3.7 V (optimized for 1700 mA) 3rd-party batteries. - Better Support for very old Batteries from 2012 - 2013. - Refresh and recover some lost Battery power and update the Battery Gauge to Stock. - Driver Clean up .. removed useless sysfs interfaces and added new interface for checking actual real current drawn from the power source.
- fixed also occasionally wakelock issues after unplugging charger cable (battery drain fix).
USB Gadgets power: set in kernel proper max drawn current to 300 mA
Charger: enable BLN on eoc_real instead of eoc_first if suspended (if enabled in the App or over init.d script)
MCDE / LCD: tiny stability fix for s6d27a1
A2N Kernel Control [GT-I8160] V5.2
Power: Added Check (real) input Current Button
Layout update
Kernel 20181023:
Charger: set ac_chg_current to stock
A2N Kernel Control [GT-I8160] V5.1
Power: Adjusted AC Current to Stock
Layout update
Kernel 20181012:
LiveOPP: 400Mhz Step: ape/ddr 25% @ 50% - this is
useful for "Suspend Max Freq"
RAM: optimized memory management
Higher Performance, Better Battery lifetime and more smooth
A2N Kernel Control [GT-I8160] V5.0
Audio: added Volume Control
Screen: added go to suspend button
Layout update
Fixed some minor bugs
CM11 ROM 20180901:
Optimized Dalvik
build.prop tweaks
Fast boot
added ART Flags*
incl. A2N Kernel 20180901 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20181006:
MCDE: both LCD Drivers set in fail-safe mode for now - chuck norris mode
NET: xt_qtaguid updated to 3.0.72
Updated kernel config to 3.10 (specific for Android 4.4.4)
defconfig: enabled memory resource controller - saves up to 30MB/app
MALI: updated memory management - use 4kb block size
LIB: updated LZ4 Compressor Module to 4.4
BOOT: switched from LZO to LZ4 for faster booting (re-implemented)
RAM: updated memory management
Overall improvements - performance, battery and stability!
A2N Kernel Control [GT-I8160] V4.9
misc: added swappiness control
misc/zram: removed reboot workaround for Android 4.1.2 - fixed in kernel
Kernel 20180922:
Updated the following kernel drivers to 3.0.72:
drivers/gpu/ion
mm (basic memory management)
arch/arm/vfp (vector floating point and processor instructions)
drivers/hid/uhid
fs/fat
fs/ext4
block
drivers/block
drivers/staging/android: lowmemorykiller & binder
-
Added the following new drivers as needed by Android:
SYNC (Hardware mode)
SW_SYNC (actually disabled, because we're testing hardware-sync instead software-sync)
DMA_SHARED_BUFFER
-
Optimized memory management
Updated adj & minfree values
Set Swappiness=0 by default
Mali: optimized memory management
Removed some obsoleted drivers
Source cleanup
Kernel 20180901:
Fixed Apps crash
MCDE: WS2401: improved stability
cpufreq: updated suspend_max_freq interface
Mali: driver update & fixed memory allocation failures
Tiny Kernel update & tweaks
A2N Kernel Control [GT-I8160] V4.8
reduced overhead on boot
A2N Kernel Control [GT-I8160] V4.7
GPU: removed mali_pre_allocated_mem_size_max - it's now 32MB by default
Screen: removed "Tuned Freq" & "Chuck Norris mode" - rebasing driver ....
Misc: added "Advanced Root" for CM11
Tiny Bug fixes
CM11 ROM 20180809:
Fixed SafetyNet - Passed
SafetyNet will PASS even with root enabled like it's done on "Magisk"
Reworked the whole SuperUser implementation
Play Store: Phone is now "Certified"
incl. A2N Kernel 20180809 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20180809:
block/deadline-iosched: reset to AK3.0.72 and patched
Reworked all APE/DDR OPP requirements
PLLDDR OC Module: tiny updates - should fix boot animation failures when using it
Mali 400 GPU: reduced Voltages
Reduced also Voltage for LowPowerAudio
Cleaned Source
Updated EOC BLN
Updated BLN
Removed "sva" kernel wakelock - battery drain fix on suspend!
cpufreq: added suspend_max_freq interface
Use APE/DDR 25% OPP even for screen ON on idle
Reduced LCD Freq*
Fixed most of the compiler warnings for cleaner code
Updated Ramdisk in order to hide su binary - SafetyNet Fix
* = "Tuned Freq" disabled means stock lcd freq and will work stable,
but with enabled "Tuned Freq" it can cause some screen glitches caused by 25% OPP,
on the other hand, lower lcd freq and lower OPP states will save a lot of battery power.
A2N Kernel Control [GT-I8160] V4.6
misc: fix zram on 4.1.2 stock
A2N Kernel Control [GT-I8160] V4.5
CPU: add suspend_max_freq control
A2N Kernel Control [GT-I8160] V4.4
Fixed Support for GT-I8160L
Storage: Fixed compatibility
Misc/PLLDDR OC: fix restore on boot
source update
A2N Kernel Control [GT-I8160] V4.3
Updated API to 28
Kernel 20180711:
swap: improved zram
cpu: interactive governor sync to AK 3.4.67
i/o: deadline scheduler sync to AK 3.4.67
Fixed Kernel Headers
binder, lmk: sync to AK 3.4.67
mcde: updated lcd driver
disabled some tracing
updated ramdisk
A2N Kernel Control [GT-I8160] V4.2
Screen: updated lcd freq stuff
use it ONLY with latest A2N Kernel
A2N Kernel Control [GT-I8160] V4.1
Misc: added reboot dialog for pllddr oc
use it ONLY with latest A2N Kernel
CM11 ROM 20180601:
Updated Dalvik Heaps
disabled "persist.sys.dalvik.multithread" - due of some race condition
incl. A2N Kernel 20180601 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20180615:
Updated "interactive" cpu governor
Mali-400 GPU: set down_threshold to 20%
CPU: set cpufreq_opp_delay to "0"
Higher efficiency
A2N Kernel Control [GT-I8160] V4.0
CPU: added 400Mhz Step
use it ONLY with latest A2N Kernel
Kernel 20180612:
Updated interactive gov
Higher efficiency
Real-Time Kernel
CPU: added 400Mhz step
updated /perf.profiles.rc
Updated ramdisk
Kernel 20180601:
updated CPU/GPU Driver
cpu: added 600Mhz step
removed old workaround for powersave profile with 500Mhz
gpu: removed 250Mhz Step
updated interactive gov
updated /perf.profiles.rc
less battery draining - because of decreased cpu voltages and 600Mhz step
higher efficiency
Updated ramdisk
A2N Kernel Control [GT-I8160] V3.8
Updated CPU/GPU/Profile stuff according to the latest A2N Kernel
Both CPU/GPU Undervolting control are allowed up to -200mV
swap/zram: use 1/2 of available RAM
use it ONLY with latest A2N Kernel
A2N Kernel Control [GT-I8160] V3.7
removed SELinux control - since google don't want this
Kernel 20180525:
updated android kernel config up to AK 3.10 - for the needed kitkat specific kernel options
full ipv4 / ipv6 support
enabled SELinux support in permissive mode
BLN: adjusted delays
switched to interactive gov
interactive gov: sync to Android kernel 3.0.72
interactive gov: disabled tracing
interactive gov: adjusted tunables for max performance and battery duty :good:
mali: pre_allocated_ram set by 16MB by default
RAM: re-added extra_free_kbytes tunable - improves real-time workloads
more smooth and responsive
Updated ramdisk
CM11 ROM 20180524:
Enabled SELinux
Updated Dalvik Config (heaps) - once again
Lesser ram usage, more smooth and more stable
Fixed ramdom Apps FC by 99.99%
Updated NovaLauncher and BetterBatteryStats to the latest Version
removed OG-YouTube App - R.I.P.
incl. A2N Kernel 20180525 - normal version
AUTO wipe cache and dalvik-cache
A2N Kernel Control [GT-I8160] V3.6
removed mobile data comp (enabled by default in kernel now)
re-added SELinux control
storage: add swap storages switch (available for normal kernel version)
adjusted some defaults
Kernel 20180511:
RAM Management: Reverted Minfree Values to CM11 default
Final #3
CM11 ROM 20180324 reloaded:
Updated Dalvik Config (heaps)
Lesser ram usage
incl. A2N Kernel 20180328 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.5
AUTO wipes, except wipe data and format /system
A2N Kernel Control [GT-I8160] V3.5
CPU: increased UV from -100mV to -150mV
Bug Fix
Kernel 20180508:
Some Kernel tweaks - updated rcu config
RAM Management: Merged Minfree Values from S. G. S8 Oreo Kernel
Increased Stability
Higher Performance
Better Battery Lifetime
Final #2
Kernel 20180405:
Sweep2Wake: fixed on LPM
Updated /ramdisk
Some Kernel tweaks
Final build
Kernel 20180328:
Sweep2Wake: removed auto-enable if charger is present - was unstable
Fixed permissions on /ramdisk
A2N Kernel Control [GT-I8160] V3.4
Re-added USB Power - ability to connected some gadgets to your phone (no otg)
Kernel 20180324:
Fixed USB Driver
Updated kernel config
Kernel 20180307:
Wifi: [re-added] reduced wakelock time of RX packet by half - thanks @ zwliew
Revert: "disable sia & sva wakelock" - caused reboot
[re-added] Fix "Dirty Cow" vulnerability - thanks @ Linus
CM11 ROM 20180128:
Fixed PC USB Connection on a clean installation
Updated Dalvik Config (heaps)
Lesser ram usage
incl. A2N Kernel 20180128 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.2
AUTO wipes, except wipe data and format /system
Kernel 20180303:
Re-added USB Power Interface (output voltage to the usb port)
Reduced kernel size a bit
Disabled all the usb host & otg stuff (lack of proper driver)
Disabled tv-out feature (not supported)
Changed and updated Native Language Support to European Languages inlc. € (it's for properly showing file names)
Increased/Updated lpa/vape2 voltage - should fix wake up issues and improve Sound Quality (louder + cleaner)
Removed tunable "extra_free_kbytes" once again - it doesn't make things better
Re-enabled compaction-retry - forced compaction on high memory pressure to avoid oom
Updated ramdisk
Kernel 20180222:
Abb-charger: tiny update
MCDE: Reverted previous update
Swap: re-added "backport zram code from LK 3.10.103" (zsmalloc - lz4)
Memory Management: re-added extra_free_kbytes tunable for more free RAM
HID: re-added UHID Support from LK 3.4.67
Disabled SIA & SVA Wakelock - Battery drain Fix!
Small Kernel updates and stability fixes
A2N Kernel Control [GT-I8160] V3.3
Updated zRam Info Text - LZO @ LZ4
A2N Kernel Control [GT-I8160] V3.2
Added new Button "Mobile Data Compression"
Adjusted CPU/GPU Voltages for higher Stability + better undervolting
Removed "usb-vbus power" Button
Bug Fixes
Stability Fix
Kernel 20180128:
Source Code clean up - some left overs
Adjusted CPU Voltage show
GPU OC Stability Fix
Removed USB-Vbus power - driver clean up for OTG Support
Updated Touch Driver - stability fix
Reworked the full kernel config from scratch
Reduced Code Size
Optimized zRam
Enabled missing VPN - "TUN" Module (built-in)
Cpuidle driver - reverted some changes
Updated Memory Management
Updated Charger and Battery Driver
MCDE: Updated Delays for S6D27A1 - faster
Reduced black screens for S6D... on cwm + LPM
Added ability to change the LPM Battery animation (/ramdisk/charger/*)
Enabled TV-OUT Support - untested!
Updated ramdisk and various scripts
And many more tweaks
Inkl. A2N Kernel Control [GT-I8160] Demo V3.2
Kernel 20171230:
Fixed Wifi Tether
Optimized Wifi Driver / disabled debugging
Compiled VPN L2TP Support Built-in
Reverted the high level memory management to stock CM11
Switched to deadline I/O Scheduler
Updated Kernel Config
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
A2N Kernel Control [GT-I8160] V3.1
GPU: added ability to adjust mali-pre-allocated-memory-size
CM11 ROM 20171230:
Removed "soft reboot" - (breaks wifi)
Removed some more debugging - (-DDEBUG)
Re-added OGYouTube6.apk
incl. A2N Kernel 20171230 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
AUTO wipes, except factory reset
CM11 ROM 20171213:
Re-added "Soft Reboot"
Disabled SELinux
Re-compiled with higher optimizations level
Higher Performance
incl. A2N Kernel 20171216 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
AUTO wipes, except factory reset
Cut ... It doesn't fit here ... too long ...

Useful Tips / FAQ
Activate Developer Options
Go to Settings ---> "about phone" and tap several times to "build number".
3-Way Reboot Menu
Go to settings ----> developer options and enable: "advanced reboot menu".
Faster Animations
in developer options set all 3 animator times from 1.0x to 0.5x.
How to Setup SpiritFMFree
Open SpiritFMFree app, go to setting ----> audio ----> method ----> "Galaxy S3/Note/S2_ICS"
Changes After the Repartition
cwm_cm11_partition_layout_sdcard_only.zip
The total space from sdcard0 will moved to /data - so that's why a real sdcard is mandatory here.
/data is 3 GB for apps - max. possible!
No problems with apps installations
No wasted space !
cwm_cm11_partition_layout.zip
sdcard0 will be added with 1 GB size... and you're able to use also micro-sdcard (sdcard1)
/data is 2 GB for apps.
No wasted space !
For reference purposes, the original partition layout has following setup:
sdcard0 is 1,1 GB
/data is 1,2 GB for apps
Some wasted space and too low free space for installing apps.
How to Disable EOC(end-of-charge) BLN(backlight notification) for LPM(offline-charging) + Recovery
Open "FileManager" ---> Settings ---> "General settings" ---> access mode --> "root access mode"
go back and navigate to the root "/" open the file "user_lpm.rc" and check the content.
The same procedure is for "user_recovery.rc" if want to disable it as well in recovery mode.
Also there you can do other things like enable/disable sweep2wake or change the lcd brightness for LPM or recovery.
FAQ
Q: Is this Kernel 100 % Safe ?
A: Yes.
Q: Will this Kernel Overheat the Phone if I use Highest Settings ?
A: No, you can't do anything wrong. Your phone has hard- and software overheat protection.
Q: How to Revert all Changes Made by this Kernel ?
A: Flash latest 3-parted stock ROM with ODIN.
Q: How i can Tune this Kernel ??
A: Everytime you install or update this kernel you will face an red (demo) app "A2N Kernel Control..." open this app, and it'll redirect you to Google Play to get the full version (blue app).
Q: Can i use and Tune your Kernel with other Kernel Manager Apps ?
A: Yes, but you need first to unlock kernel with the A2N app full version.
Q: I've Installed the Full Version of the App, Will it Change any Kernel Settings by Default if i do not Change them ?
A: No, default app settings = default kernel settings.
Q: I've the Full Version of the A2N Kernel Control App, Do i still need the Demo Version of the App ?
A: Yes, there are some special features in-app-menu like "Fake Enforce" and debugging features for easy bug reports.
Q: How to Charge from 10 % to 100 % In just 1 h ?
A: E.g. set "AC Current Max" and "Maximum Charging Temperature" to the Max.
Q: Can i use your Kernel Control App with other Custom Kernels ?
A: No, it's not universal kernel manager app.
Q: My A2N App shows: "Please check your internet connection" - But i've good internet connection. - How to fix it ?
A: Settings --> network settings --> use private DNS server like "dns.adguard.com" - confirmed to work by user @Arnz09 - see his post here.
Q: My A2N App is Crashing after an Update, how to fix it ?
A: Re-install it. If it doesn't help, wipe dalvik-cache in recovery.
Q: How to Report Bugs ?
- Please DO NOT report bugs if you are:
--- using "unsafe" Freqs
--- not using the latest release !
--- not using Samsung stock ROM (based stock ROMs are custom ROMs !)
A: Open the red A2N Kernel Control demo app and check in-app-menu (3 dots) then "Debug" and then on "logcat and dmesg" if you faced an app crash or if some features didn't work.
If the phone rebooted randomly, then tap on "last_kmsg". You will find the logs in your internal storage. After that you can attach them here in your bug report, by clicking "Attach files".
ROM:
Kernel version:
A2N app version:
BUG:
How to reproduce:
BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!

Any download links for kernel?

Nice to have another kernel. Is it really stable yet?

where is build 27.10? I cant find it, only build p1 for now.

I'm actually writing in the Thread.. sorry..... Downoad link added.
20141028 Version, shall be the first very stable Kernel Version.. because of CPU / GPU Stock Voltages and freq.
10/27 never exists.. and 10/28 I'll upload it in 1 Hour....
Please be patient.. let me finish writing the Changelog..

Hi @ace2nutzer!
First of all, thank you very much for your work!!
Can you explain how to install kernel and ROM?? (i've never flashed a kernel... i have no idea...)

The Procedure is the same like Rox's CM11 ... just download the right Kernel / Build / ROM.. and copy this in your sdcard1 ... do not unpack it.. as .zip is fine. Then turn your Phone Off... And press together till it will vibrate: Volume up + Home + Power.
Chose now:
Wipe Cache
Go advanced
wipe dalvik cache
go back
install zip from sdcard
install zip from sdcard1
choose the Kernel and flash it..
go back and reboot system..
That's it !
If u like clean install, then choose wipe data instead of wipe cache ! But all your apps and settings are gone.
If u are running CM 11 .. then wipe data is not needed... even if u like to flash my ROM Builds... wipe cache and wipe dalvik is enough... but if u have 10.1 or 10.2 .. u need to wipe data first !
PS: Kernel for codina and codinap 20141028 online !!!!!!!!!!!

Another Great Kernel for Ace 2. NUFF SAID!
Keep it up ace2nutzer. Good job.

@ace2nutzer I cant falsh new build, because I cant go to cwm, I use p1 kernel from you and cant go to cwm, always blackscreen.

did u stuck at samsung boot logo ??

ace2nutzer said:
did u stuck at samsung boot logo ??
Click to expand...
Click to collapse
No, just cant go to cwm, I get blackscreen. My device boot normally.

diference ?
what is the main diference between 3.2 and 3.0 that you make ?
how distinguish these two kernels ?
BTW we evolve so no need to make kernel for 4.3.x because all apps are optimizing for 4.4.x OS slowly so more need is to work on kernels I appreciate that ...
Will there be ART support in kernel ? so we can later adapt L 5.0 ?

Could you also include OndemandPlus governor? Its best on Galaxy Nexus devices. May be here as well.
Github link

exodius48 said:
No, just cant go to cwm, I get blackscreen. My device boot normally.
Click to expand...
Click to collapse
Ok.. I' don't have this Problem... perhaps it is related to the famous s6d Driver
I've builded a odin Version for u.. it is the same kernel ----> 10/28 .. flash this with odin.. and tell me if u can enter in CWM...
I've uploaded it for u.. : codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar - 10.99 MB
If not, i can do nothing.. but don't worry.. i can always do separate Odin Kernels.. then u can flash at this way my kernel updates.
An another way is over ADB... just check also if u have access with ADB.... just boot into CWM.. and even with black screen.. connect the Phone and start ADB.. try if u have access... u can do all the things with ADB.. that's all the same.. and u can even wipe cache and dalvik cache with FileManager.. all no problem

Good job @ace2nutzer
Gonna try it as soon as the f2fs support is ready

Is your ROM compatible with f2fs???
Sent from my GT-I8160 using XDA Free mobile app

ace2nutzer said:
Ok.. I' don't have this Problem... perhaps it is related to the famous s6d Driver
I've builded a odin Version for u.. it is the same kernel ----> 10/28 .. flash this with odin.. and tell me if u can enter in CWM...
I've uploaded it for u.. : codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar - 10.99 MB
If not, i can do nothing.. but don't worry.. i can always do separate Odin Kernels.. then u can flash at this way my kernel updates.
An another way is over ADB... just check also if u have access with ADB.... just boot into CWM.. and even with black screen.. connect the Phone and start ADB.. try if u have access... u can do all the things with ADB.. that's all the same.. and u can even wipe cache and dalvik cache with FileManager.. all no problem
Click to expand...
Click to collapse
may be
btw, if i flash this codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar via odin will this kernel increase counter bin?

I can't enter CWM too. I wrote lots of post about that and no one really care about it.
I'll tell you what happened:
I bought my Ace II, stock recovery works great. I've installed temporary CWM and everything was ok. I've installed old CM11 TC and Nova versions and everything was ok.
When Chrono made his first kernel version with a CWM built in, i had the first black screen issue. Since there, i cannot enter any recovery (CM11 cwm, chrono cwm, stock cwm). Only TWRP works good but it can't mount external SD and i don't feel comfortable with it. I never had screen issue, never had a problem since now.
Solution: it randomly let me enter on recovery, but it's a pain in the ***.
I've tried to format everything, i also installed GB stock with stock repartition, nothing to do.
With this version i've tried lots of time but still cannot enter. Can you try changing CWM version? Maybe a older one, or just a different one. I can test it if you need help.
Actual situation: i've installed this kernel with your CM11, i had some bugs that i can fix formatting some partition, nothing bad. But i can't enter on recovery, so i have to flash stock version with odin -.- I suggest to make a stable version and then focus on those issues, i bet other users have them.
I've tried to flash kernel via Odin... Failed, dunno why

Related

[KERNEL][NEO/NEOV] LuPuSv8 [STOCK-ICS][LINARO 4.7.3][UPDATED 19-06-13]

LuPuS Kernel Stock
{
"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"
}
LuPuS-JB-Kenel here
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in kernel
[/LIST]
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more
- O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.
LuPuS Menu
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)
- Enable
- Disable
9/ Vendor Options
- Fix for Anzu and Hallon Vendor problem
- Mount
- Unmount
- Backup
- Restore
Credits
Gu5t3r
DooMLoRD
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
Downloads in post 2
Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
uChangelog:
Code:
[B]Previous Releases[/B]
[hide]
[B][U]Initial Release[/U][/B]
[list] -built with linaro
- Linaro Optimizations
- Improved Battery Life alot :)
- Thumbee support
- All governors from OP
- All Io-Schedulers from OP
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Tiny RCU
- Upddatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Cleancache
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- USB OTG
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
[B][U]v2[/U][/B]
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- cgroup scheduling
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
*** Probably missing a few here ***
[B]-v3[/B]
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Complete clean up and new improved LuPuS Menu
- Free's more RAM 360mb RAM in total now
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Thanks at gu5t3r and [NUT][/URL]
[B]v4[/B]
- Fixed HDMI
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Free RAM = 355mb and is stable
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
- Reduced size of kernel
- CWM fixed
[B]v5[/B]
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks [user=4665716]@gu5t3r[/user]
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed..
[B]v6[/B]
- Fixed Camera Key
- Kernel works on CM9
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
---- Complete Ramdisk Clean up & Improvment
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Force booting -After 2 Vibrations Hold Home for ICS
-Hold Home and press VolDown for CM9
-Hold Home and press VolUp for GB
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
- Improved init.d
- lupus menu clean up
- Added Vendor fix from Hallon & Anzu
- option to mount / unmount
- Backup / Restore /system/vendor
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
[B]
v7[/B]
- Added Ultra-KSM
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Removed GB & CM9 support
- Fixed up ramdisk now supports boot.d and wifi loading fixed
- Updated TWRP - Mounting Mass Storage should be fixed
- Updated LuPuS CWM to latest Official CWM changes
* Fixed advanced restore
* Removed Reboot Options
* Brough Reboot System Now back to Main Menu
* Brought Power Off back to Main Menu
* After install of zip dont return to main menu
* Minor UI changes
- Fixed Mounting Vendor (please test can be set via lupus menu)
- patch can also be forced at boot by
hold home + hold voldown = force ics + vendor patch
hold home + tap vol down = force ics
key -- Thanks [user=4665716]@gu5t3r[/user][/hide]
[B]v8[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu
[/list]
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
===================== L U P U S - S T O C K - D O W N L O A D S ===================
CWM = VOLUME DOWN
TWRP = VOLUME UP
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
LuPuS_haida_Stock-iCsv8-full.img
md5 = 5c3e95790469e5d64e6b3760ac561c23
Check your MD5 match the above if not re-download
Wifi modules are built in
Mirrors - and all other releases
http://www.goo.im/devs/wedgess
===========================================================================
Nice, thanks and keep the good work
you have a thanks button and don't know what to do wit it...?
just press.it!
I saw from github sources that this kernel is for 4.1.B.0.587 ICS. This is stated nowhere.
Please update OP to avoid confusion.
leajian said:
I saw from github sources that this kernel is for 4.1.B.0.587 ICS. This is stated nowhere.
Please update OP to avoid confusion.
Click to expand...
Click to collapse
It does say "stock"
But i guess, adding that to OP will infact help noobs
Thanks for the good work!
I was just looking for a kernel with snappy zram!
Hello wedgess
I have got question- can you make LuPuS Kernel for Neo/V but for stock Android 2.3.4? Lot of people use it but for gingerberad we have not got new, good kernel with new features
Hello!
Only haida? Order compatible hallon!?
daved14 said:
Hello!
Only haida? Order compatible hallon!?
Click to expand...
Click to collapse
This works for Neo and V both!
Sent from my MT11i using xda premium
Lupus kernel for ICS ?
sound amazing !!
i'm using ext4 partition for my link2sd.
the OP said it support ext2 and ext3. . how about ext 4 ?
kuzenka said:
Lupus kernel for ICS ?
sound amazing !!
i'm using ext4 partition for my link2sd.
the OP said it support ext2 and ext3. . how about ext 4 ?
Click to expand...
Click to collapse
Yep ext4 aswell. Ill have a cm9 kernel later for NEO & V if anyone wants to test.
Sent from my GT-I9300 On Official JB
great kernel for my neo !
This is only for CyanogenMOD? or I can use it with the Ultimate HD rom? what are the differences between this kernel and suave and night elf.. I am really new on this stuff... I just unlock bootloader using Test Point... :/
iShadows said:
This is only for CyanogenMOD? or I can use it with the Ultimate HD rom? what are the differences between this kernel and suave and night elf.. I am really new on this stuff... I just unlock bootloader using Test Point... :/
Click to expand...
Click to collapse
this kernel is build for ics mate !
u can use it on xperia ultimate hd rom !
iShadows said:
This is only for CyanogenMOD? or I can use it with the Ultimate HD rom? what are the differences between this kernel and suave and night elf.. I am really new on this stuff... I just unlock bootloader using Test Point... :/
Click to expand...
Click to collapse
You can use it on any stock based ICS Rom!
Just remember to use ICS kernels with ICS Roms
Sent from my MT11i using xda premium
I try the kernel and WiFi don't work, but this is my fault. I don't have free space (36,8 kbyte) in system partition. So I reinstall my ROM and try again.
Bozek said:
I try the kernel and WiFi don't work, but this is my fault. I don't have free space (36,8 kbyte) in system partition. So I reinstall my ROM and try again.
Click to expand...
Click to collapse
U only need to delete the modules using a root explorer from /system/lib modules.And then flash the zip or else just copy tge modules from the zip into the /system/lib/modules folder, this only hapoens on some ROMS
Sent from my GT-I9300 On Official JB
wedgess said:
Yep ext4 aswell. Ill have a cm9 kernel later for NEO & V if anyone wants to test.
Sent from my GT-I9300 On Official JB
Click to expand...
Click to collapse
Wow, a famous Iyokan kernel now goes to Neo/V. Love it to hear that. Is better if you have cm10 kernel too. Thanks for a great kernel. :good:
thunder888 said:
Wow, a famous Iyokan kernel now goes to Neo/V. Love it to hear that. Is better if you have cm10 kernel too. Thanks for a great kernel. :good:
Click to expand...
Click to collapse
I have a cm10 kernel already released foe NEO/V its in NEO-V Development thread, and no problem. So any testers for cm9 ??
wedgess said:
U only need to delete the modules using a root explorer from /system/lib modules.And then flash the zip or else just copy tge modules from the zip into the /system/lib/modules folder, this only hapoens on some ROMS
Sent from my GT-I9300 On Official JB
Click to expand...
Click to collapse
I need a reflash, because I try too many modifications in current ROM.
Now, wifi is works. Thank you for this awesome kernel!

[NEO-L][KERNEL] LuPuS v2 [STOCK ICS/GB][LINARO 4.7.3][14-06-13]

LuPuS STOCK GB/ICS​
{
"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"
}
Based off SONY ICS latest sources 4.1.B.0.587 / 4.1.B.1.13​
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in kernel
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more see changelog in post #2
LuPuS MENU
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ Clean and Remove tweaks
Remove init.d's
5/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
6/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
A big thanks to -
gu5t3r
CosmicDan
DooMLoRD
FXP
CJ360
Nickholtus
SONY
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
Phil3759
Anyone missing please PM me
Downloads in post 2
Kernel source --- -b master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog:
Code:
[B]
Previous Releases From Xperia PLAY[/B]
[hide]
[B][U]Initial Release[/U][/B] PLAY
[list] -built with linaro
- ext 2/3/4
- Tweaks to wifi
- Init.d tweaks
- Linaro Optimizations
- Improved Battery Life alot :)
- Thumbee support
- All governors from OP
- All Io-Schedulers from OP
- ARM7 optimizations
- cgroup scheduling
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Tiny RCU
- Upddatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Cleancache
- Compaction added
- KSM
- CIFS (improved support)
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Custom partitions - Thanks @ CosmicDan
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
*** Probably missing a few here ***
[B]-v2[/B] PLAY
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Fixed Problem with PLAY store
- Added fool-proof to ramdisk,( if android version is unsupported device will boot CWM)
- Gave 30MB more space to system to avoid certain ROMs not booting
- Complete clean up and new improved LuPuS Menu
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked performance governor
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- Minor update to touchpads
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Thanks at gu5t3r and [NUT][/URL]
[B]v3[/B] PLAY
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
- Reduced size of kernel
- CWM fixed
[/list]
[B]v4[/B] PLAY
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks [user=4665716]@gu5t3r[/user]
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed..
[B]v1[/B]
- Fixed Camera Key
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
---- Complete Ramdisk Clean up & Improvment
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Force booting -After 2 Vibrations Hold Home for ICS
-Hold Home and press VolDown for CM9
-Hold Home and press VolUp for GB
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
- Improved init.d
- lupus menu clean up
- Added Vendor fix from Hallon & Anzu
- option to mount / unmount
- Backup / Restore /system/vendor
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
[B]v2[/B]
- Fixed device being stuck in Landscape
- Added Ultra-KSM
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Added support for CM9
- Other various ramdisk improvments
- Updated TWRP
* Mounting Mass Storage in recovery fixed
- Updated LuPuS CWM to latest Official CWM changes
* Fixed advanced restore
* Removed Reboot Options
* Brough Reboot System Now back to Main Menu
* Brought Power Off back to Main Menu
* After install of zip dont return to main menu
* Minor UI changes[/hide]
[B]v3[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
===================== L U P U S - S T O C K - D O W N L O A D S ===================
CWM = VOLUME DOWN
TWRP = VOLUME UP
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
480p
LuPuS_phoenix_Stock-gB+iCsv3-ram.img
md5 = 9caa6dd4f29785b90aa4d4923eabcf5f
720p
LuPuS_phoenix_Stock-gB+iCsv3-full.img
md5 = df50d9280ecc650bfa808039aac57030
Check your MD5 match the above if not re-download
===========================================================================
Tested! Play GB Rom booting fine, but it stuck on landscape
GSM Working, Wifi working fine! Camera working (720p working)
Sound is fine
So. everything is perfect, just now it is fixed to landscape mode
@wedgess
May u put this code in defconfig to fix landscape and display problem
Below codes taken from CosmicDan , He succeed in this way too ,
Hurrah , wait for next build
Code:
# CosmicDan - kernel console display
#CONFIG_CMDLINE="console=tty0,115200 fbcon=rotate:1 fbcon=font:VGA8x16 androidboot.hardware=semc mtdparts=msm_nand:[email protected](system),[email protected](userdata),[email protected](cache),[email protected](boot)"
#CONFIG_CMDLINE_FORCE=y
#CONFIG_VT=y
#CONFIG_DUMMY_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
#CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
#CONFIG_FONTS=y
#CONFIG_LOGO=n
#CONFIG_VGA_CONSOLE=n
#CONFIG_FONT_8x16=y
#CONFIG_LOGO=y
#CONFIG_LOGO_LINUX_MONO=y
#CONFIG_LOGO_LINUX_VGA16=n
#CONFIG_LOGO_LINUX_CLUT224=n
#CONFIG_FONT_MINI_4x6=y
#CONFIG_FONT_8x8=y
* The CMDLine partition is not ok , you must make your own size ,
Thank , Hope you make it
Atlast got gb kernel for Neo L...philip i guess nw your work is half done ...thanx to wedgess
Sent from my MT25i using xda premium
This is new
What GB rom of play can i use this kernel? If someone tested it on any gb rom and worked great, tell me :good:
joshua10796 said:
This is new
What GB rom of play can i use this kernel? If someone tested it on any gb rom and worked great, tell me :good:
Click to expand...
Click to collapse
Tested nearly all play gb Rom. All,working perfectly, just its fixed to landscape
Sent from my MT25i using xda app-developers app
TakuyaZ said:
Tested nearly all play gb Rom. All,working perfectly, just its fixed to landscape
Sent from my MT25i using xda app-developers app
Click to expand...
Click to collapse
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
pranav_cool said:
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
Click to expand...
Click to collapse
The above codes you see is use to build kernel not for build.prop
Wait for next version ,
pranav_cool said:
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
Click to expand...
Click to collapse
In kernel level
You can use a app to force it to portrait tho
Sent from my MT25i using xda app-developers app
Phillip Wu said:
The above codes you see is use to build kernel not for build.prop
Wait for next version ,
Click to expand...
Click to collapse
Ok thanx very much...
and waiting....
Dear Dev @wedges Thank you so much, It's a good news for us (Neo L Users), I hope Landscape problem will fix soon.
Great Job Dev.
Best Regards for our brother @Phillip Wu and @TakuyaZ.
Phillip Wu said:
@wedgess
May u put this code in defconfig to fix landscape and display problem
Below codes taken from CosmicDan , He succeed in this way too ,
Hurrah , wait for next build
Code:
# CosmicDan - kernel console display
#CONFIG_CMDLINE="console=tty0,115200 fbcon=rotate:1 fbcon=font:VGA8x16 androidboot.hardware=semc mtdparts=msm_nand:[email protected](system),[email protected](userdata),[email protected](cache),[email protected](boot)"
#CONFIG_CMDLINE_FORCE=y
#CONFIG_VT=y
#CONFIG_DUMMY_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
#CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
#CONFIG_FONTS=y
#CONFIG_LOGO=n
#CONFIG_VGA_CONSOLE=n
#CONFIG_FONT_8x16=y
#CONFIG_LOGO=y
#CONFIG_LOGO_LINUX_MONO=y
#CONFIG_LOGO_LINUX_VGA16=n
#CONFIG_LOGO_LINUX_CLUT224=n
#CONFIG_FONT_MINI_4x6=y
#CONFIG_FONT_8x8=y
* The CMDLine partition is not ok , you must make your own size ,
Thank , Hope you make it
Click to expand...
Click to collapse
Thanks but unfortunately the above is no use as it display kernel console message. Only needed for testing before boot. Think I may have fixed it. Will post a test under this post when ready.
If it works I'll fix up 480p version and few other changes. Then add to OP so quicker the better for you guys
Edit -
LuPuS- Test-Phoenix.img
md5 = 20daf4621e839415b27b5ddb3edbec2a
wedgess said:
Thanks but unfortunately the above is no use as it display kernel console message. Only needed for testing before boot. Think I may have fixed it. Will post a test under this post when ready.
If it works I'll fix up 480p version and few other changes. Then add to OP so quicker the better for you guys
Edit -
LuPuS- Test-Phoenix.img
md5 = 20daf4621e839415b27b5ddb3edbec2a
Click to expand...
Click to collapse
How about ghosts key tag ?
Ok I'll test
Sent from Sony Xperia™ neo L
Tested, Still its stuck in landscape mode
TakuyaZ said:
Tested, Still its stuck in landscape mode
Click to expand...
Click to collapse
Maybe one of you could add me on gtalk / Skype to fix it (send me pm). Better then posting versions with the same problem here
Can Neo users use this kernel for GB couse other version for Neo/V have no working wifi(for GB)
sorry for my bad English!
To the above question NO.
Test 2
http://www.mediafire.com/?qzo26f2yzseo4j6
md5 = a90dc808b5e2aed0d236851eb402b6c2
wedgess said:
To the above question NO.
Test 2
http://www.mediafire.com/?qzo26f2yzseo4j6
md5 = a90dc808b5e2aed0d236851eb402b6c2
Click to expand...
Click to collapse
Downloading Test 2 now!!
Will try it after the download!!
''EDIT!!''
Roms I tried:
Gin2Jellybean(Still in landscape mode)
Auroraplay(Still in landscape mode)
Now trying Stock XPlay rom(Still no luck :| )
Test 2 still in Landscape mode...
Wedgess , you might remove joystick stuffs and enable ghostskey
Sent from Sony Xperia™ neo L

[KERNEL] [SM-N9005 HLTE] [03 July] SkyHigh TW Kernel [v3.3]

[KERNEL] [SM-N9005 HLTE] [03 July] SkyHigh TW Kernel [v3.3]
THIS PROJECT IS NOW ABANDONED DUE TO MY OTHER COMMITMENTS FOR FAMILY, WORK & OTHER DEVICES IN XDA. THERE IS JUST NOT ENOUGH TIME IN THE DAY. SEE YOU ALL AROUND XDA & HAPPY MODDING !!
N9005 HLTE TW supported only. (No S5 ROM port. Newer ROMs based on NFx firmware may not be compatible )
I don't have time to build and debug for other variant devices I can't test or a ROM I don't use - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of SGT 7.7 JB & ICS Kernels. I now share with you my first SELinux TW N9005 LTE Kernel compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << v2.8 (21-June) ONLY A GUIDE - MAY NOT BE ALWAYS UP-TO-DATE
FEATURES
✔ Based on official Samsung source: SM-N9005 KK Opensource Update7
✔ ramdisk source: N9005XXUEND3
✔ Built with Stock ARM Toolchain 4.7
✔ KNOX WARRANTY VOID: 0X1
✔ SELinux PERMISSIVE
✔ adb insecure
✔ init.d script support
✔ busybox v1.22.0-Dream-IRC installed to /sbin
✔ Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU HARD LIMIT v2.0a
OC to 2880 MHz
Max screen on/off CPU frequency
Min screen on/off CPU frequency
Wake up settings
wake up kick frequency
wake up delay​
Touch boost frequency settings high/low
Userspace DVFS lock
VOLT
Global CPU voltage control (0 > -30 mV)
CPU frequency voltage (adjust individual voltage steps)
GOV
CPU governor
interactive (default)
intelliactive
intellidemand
on-demand
powersave
userspace
conservative
performance​
CPU governor tunables
DRIVERS
Intelli-Hotplug
Profiles: Balanced Performance Conservative Eco-Performance Eco-Conservative
Hysteresis
Screen OFF Max Frequency
Touch boost active​
Dynamic FSYNC
Powersuspend
Hybrid_hook (default)
Userspace_trigger
Autosleep_hook​
CPU_Boost
GPU
GPU governor
msm-adreno-tz (default)
simple_ondemand
performance
Simple GPU Algorithm
Laziness
Ramp up threshold​
GPU max OC freq 587 MHz
Default 462.4 MHz (stock = 450 MHz)
GPU min-initial freq (Default 200 MHz)
GPU idle freq 27 MHz
MEMORY
I/O Schedulers
BFQ v7r4 (default)
CFQ
NOOP
ROW
DEADLINE
FIOPS​
Int & ext storage scheduler
Int & ext storage read-ahead
General I/O
I/O scheduler
Kernel SamePage Merging (KSM)
Pages to Scan
Scan Delay Interval
Deferred Timer​
Dynamic Dirty Page Writeback
Dirty Writeback Active
Dirty Writeback Suspend​
Virtual memory
Adaptive VFS Cache Pressure
BATTERY
Fast Charge v1.2
AC
USB
Wireless (maybe not working?)​
Fuel gauge reset
battery stats
SOUND
Faux Sound v3.2
LED
LED eXtended ConTRoLs v1.2
SCREEN
MDNIe lite control v1.3
TOUCH WAKE
Touch Wake v1.4b (S-PEN working only)
ADVANCED
Low Memory Killer (LMK)
LMK Whitelist
Do-Not-Kill System Processes List
Do-Not-Kill User Processes List​
entropy
sched_mc_power_savings control
performance = 0 (default)
balanced = 1
battery = 2​
Gentle Fair Sleepers
peformance = disabled (default)
battery = enabled​
NETWORK
TCP congestion algorithm
Cubic (default)
Reno
Bic
HTCP
Westwood plus​
TCP security
TCP/IP speed tweak
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper​
GPS Region
Default, Asia, Europe, Oceania, North America, South America, Africa​
SYSCTL
proc.sys.fs
proc.sys.kernel
proc.sys.net
proc.sys.vm
USB
Default
MTP > Media Transfer Protocol
UMS > USB Mass Storage
PTP > Camera
USB Keyboard / Mouse (with USB Keyboard app)
BACKUP & RESTORE
Restore - Delete - Backup
kernel
profile​
REBOOT
Reboot device
Reboot to Recovery
Reboot to Download Mode
LOGS
Android logger_mode toggle (default: off)
logcat
dmesg
last_kmsg
✔ OC BUS (931 > 1000 MHz @ CPU 2.88 GHz)
✔ XZ kernel compression - reduce size during initial builds
✔ Asynchronous Fsync from HTC
✔ Frandom (in-built)
✔ ram console enabled
✔ Reduced logging
✔ Disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
✔ Mount partitions NOATIME and NODIRATIME by default
✔ exFAT v1.2.8 FS R/W support
✔ F2FS support
✔ NTFS R/W support with app
✔ CIFS support
✔ Slimbus OC mkII (better sound)
✔ 2-way stereo call recording (not tested)
✔ /proc/.config.gz support
✔ glibc memcopy
CREDITS
* My family !!
* civato - many commits and intitial port of synapse config
* Wootever -
* Faux123 - loads
* Yank555.lu - heaps
* myfluxi -
* imoseyon -
* angelom -
* CM -
* AndreiLux - synapse
* apbaxel -
* zeppelinrox - TCP/IP network security & speed values
* dorimanx & pelya - USB keyboard / mouse
* XDA
* Samsung OSRC
* and many others!
* check github source credits
* IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Note 3 Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
UpInTheAir
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: v3.3
Stable Release Date: 2014-07-03
Created 2014-05-20
Last Updated 2014-08-16
Requirements - installation - download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
N9005 HLTE device
TW Kit Kat 4.4.2
Rooted
Custom recovery installed
CHANGE-LOG
v3.3 [03-July-2014]
ramdisk :
synapse - remove sweep2sleep control
ramdisk: init.rc: ensure post boot defaults are set
kernel :
config: disable sweep2sleep. Causing slow bootup
v3.1 [27-June-2014]
ramdisk :
synapse - KSM Deferred Timer
synapse - CPU OC max 2880 MHz
kernel :
OC bus to 1000 MHz
OC CPU 2.88 GHz step @ 1000 MHz bus
hard limit max freq now 2.88 GHz
ksm: Provide support to use deferred timers for scanner thread
drivers: slimbus: slimbus enhancements mkII (better sound)
v3.0 [25-June-2014]
ramdisk :
sbin: busybox v1.22.0-Dream-IRC (for fix titanium app freeze issue)
synapse - Sweep2Sleep control only (Sweep2Wake not working)
synapse - add stats & clean up
ramdisk: init.rc: stop noop scheduler being set as default scheduler
kernel :
Sweep2Wake: v1.5 & support for powersuspend
v2.9 [24-June-2014]
ramdisk :
sbin: busybox v1.22.1-Stericson + applets
file_contexts: add busybox to file_contexts to allow via SELinux
synapse - USB keyboard control
synapse - tidy up storage
kernel :
various intelli-thermal commits (not yet compiled with kernel as unable to get freq temp control working as it should))
various msm-thermal commits - freq control not actually working, so not implemented synapse control
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: Added on/off trigger to driver.
USB KEYBOARD/MOUSE: fix compile error
config: disable FSFS stat
Allow WIFI Driver to use PowerSuspend code, and remove debug
WIFI: much better solution for POWERSUSPEND
cpufreq: ondemand: fix a bug that when a user selected a max frequency
v2.8 [21-June-2014]
ramdisk :
synapse - backup & restore kernel / profiles
synapse - adaptive vfs_cache_pressure
synapse - dynamic dirty page writeback control
synapse - UKSM > KSM. UKSM causing long boot time (+10 sec)
synapse - apply/discard bug. remove another dynamic variable
kernel :
mm: Dynamic management of dirty page writebacks
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
config: UKSM > KSM. UKSM causing long boot time (+10 sec)
v2.7 [20-June-2014]
ramdisk :
synapse - LMK do not kill processes control
init.rc/synapse - gentle fair sleepers control & default disabled for performance
kernel :
Revert "kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
sched: add sysfs interface for GENTLE_FAIR_SLEEPERS
lowmemorykiller: make default lowmemorykiller debug message useful
staging: android: lowmemorykiller: Management of not killable processes
v2.6 [16-June-2014]
Payload :
Synapse v0.36 > v0.37 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
init.rd / synapse - KSM > UKSM control & default off
synapse - GPS Time Zone for faster GPS lock
synapse - fuel gauge reset (unsure if actually works)
kernel :
Ultra Kernel Samepage Merging (UKSM) v0.1.2.2
v2.5 [17-June-2014]
ramdisk :
synapse - storage mode control > Default, MTP, UMS (USB Mass Storage) & PTP (camera) modes
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
v2.4 [16-June-2014]
Payload :
Synapse v0.35 > v0.36 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
synapse - TCP security options now just one switch!.
TCP/IP speed & 3G DNS tweaks
synapse - add Simple GPU alorithm laziness tunable
synapse - clean up layout (much neater) and add more descriptions etc
kernel :
Asynchronous Fsync: initial extraction of Async Fsync from HTC
2-way stereo call recording patch for msm8974 (not tested on my stock ROM)
v2.3 [14-June-2014]
ramdisk :
synapse - sched_mc_power_savings control (advanced tab) & cleanup
synapse - remove thermal control
kernel :
Revert "MSM thermal sysfs interface (Post #218)
slimbus: initial overclocking of slimbus (better sound)
v2.2 [11-June-2014]
ramdisk :
synapse - touchwake control
synapse - fix apply/discard bug. remove some tunables for now
kernel :
block: deadline: Optimize for non-rotational
AIO: Don't plug the I/O queue in do_io_submit()
add FIOPS I/O scheduler
TouchWake implementation v1.4b (S-PEN working only) [Yank555.lu]
intellidemand governor v5.0 [faux123]
v2.1 [09-June-2014]
kernel :
cpufreq: CPU max. hardlimit v2.0a (wake-up kick freq fixed)
v2.0 [09-June-2014]
ramdisk :
synapse - fast charge wireless control
init.rc/synapse - set some more boot defaults
userspace_dvfs_lock = 1
randomize_va_space = 0​
kernel :
Forced Fast Charge for Samsung Note 3 v1.2 (wireless fast charge).
v1.9 [09-June-2014]
ramdisk :
synapse - CPU max. hardlimit v2.0 control (removed previous controls)
synapse - intelli_plug controls v2.2 > v2.6
synapse - cleanup
kernel :
cpufreq: CPU max. hardlimit v2.0 [Yank555.lu]
intelli_plug: v2.2 > v2.6
fs: mount partitions NOATIME and NODIRATIME by default (may break some apps)
mdnie lite control: small cleanup
v1.8 [06-June-2014]
ramdisk :
synapse - LED eXtended ConTRoLs v1.1 > v1.2
synapse - Simple GPU algorithm driver control
kernel :
LED eXtended ConTRoLs v1.2
v1.7 [05-June-2014]
ramdisk :
init.rc: set some boot defaults
kernel :
FS: import F2FS
f2fs: data: AIO optimization compatibility fixup
config: disable more debugging
fs: exfat: Update to v1.2.8
exfat: AIO Optimization compatibility fixup
config: set interactive CPU governor back as default
add & enable BFQ scheduler v7r4
config: enable BFQ IO scheduler & set as default
GPU: snapdragon 801 values (Max freq 600 >587 MHz - Default: 450 > 462.4 MHz)
Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
v1.6 [03-June-2014]
ramdisk :
synapse - remove sysctrl vm.drop_caches for now. Does not reset
kernel :
deadline: Allow 0ms deadline latency, increase the read speed
msm: Fix high load average from uninterruptible waits
cpufreq: ondemand: Set MIN_LATENCY_MULTIPLIER to 20
Clean up compiler warnings in DT
lib/memcopy: use glibc version
lib/string: use glibc version
cpufreq: intelliactive: initial coding and introduction! - patched to latest [faux123]
config: set intelliactive CPU governor as default
v1.5 [01-June-2014]
ramdisk :
synapse - add powersupend options
synapse - lower refresh rate for live values
synapse - add logger_mode toggle
init.rd: logger default OFF
kernel :
kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
logger: modify for synapse app compatibility (0 - 1)
GPU: increase Max frequency OC 550 > 600 MHz (default: 450 MHz)
v1.4 [30-May-2014]
ramdisk :
synapse - add descriptions, clean up & corrections etc
synapse - add TCP security
synapse - add sysctl FS tunables
synapse - add sysctl kernel tunables
synapse - add sysctl net tunables
synapse - add sysctl VM tunables
synapse - add I/O tunables [apbaxel]
synapse - add further CPU governor tunables
v1.3 [26-May-2014]
ramdisk :
synapse - add advanced tab: tuneable low memory killer (LMK), entropy & tweaks etc
synapse - moved battery info to fast charge
synapse - reboot options: reboot, recovery, download mode
synapse - logs: logcat, dmesg, last_kmsg
kernel :
add frandom [Eli Billauer]
v1.2 [25-May-2014]
ramdisk :
add KSM tuning variables to synapse
remove max limit on boot, now set in config
kernel :
enable kernel level CPU throttling
reduce logspam [imoseyon]
PowerSuspend driver v1.2 > v1.5
deadline scheduler tweak
calculate load based on current freq limit
make scheduler aware of cpu frequency state
do not detect faults when GPU core is idle
v1.1 [22-May-2014]
ramdisk :
voltage control for individual CPU frequencies in synapse
VFS_cache_pressure control in synapse
CPU governor tuning in synapse
remove custom governor tweak values for now - possibly causing some synapse instabilty on boot
move synapse CPU governor from CPU > CPU GOV tab
v1.0 Initial release
INSTALLATION
Uninstall any CPU control apps, tweaks and scripts etc.
- synapse app will be installed on flash and other apps may conflict !
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Flash .zip package in custom recovery
Re-boot
Any issues, please check Post #3 and search the thread BEFORE posting
DOWNLOAD
Mod Edit: Links Removed
SOURCE
>> github <<
.
HELP & FAQ
HELP & FAQ
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply ✔
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
Uninstall any CPU control apps, tweaks and scripts etc.
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Reboot recovery
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply" ✔
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
S5 ROM PORT / NFx BASED ROMs
Not supported
I will only build using the latest official N9005 HLTE (international) source fully compatible with firmware I'm currently using on my own device
"WHAT ARE THE BEST SETTINGS FOR BATTERY LIFE"
There are no best settings. User "habit" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Some extra tips to increase battery life without UV:
Synapse:
- Max screen OFF scaling freqency = 652 MHz
- Touch boost high freq = 1574 MHz
- Touch boost low freq = 960 MHz
- Intelli-Hotplug = enable
- Intelli-Hotplug Profile = Eco-Conservative > Eco-Performance > Conservative > Balanced > Performance
- Intelli-Hotplug Touch Boost = Disabled (may cause slight lag if disabled)
- sched_mc_power_savings = 2:Aggressive
- Gentle fair sleepers = enabled
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
INTELLI_PLUG PROFILES
Max cores in use:
Eco-Conservative = 2
Eco-Performance = 2
Conservative = 4
Balanced = 4
Performance = 4​
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available.
This is due to the implementation of the CPU HARD LIMIT Userspace DVFS lock.
Synapse is the recommended and has everything you need
WHAT IS THE USERSPACE DVFS LOCK
If set to 1 or 2, userspace_dvfs_lock will prevent userspace (ROM as well as any APP, including CPU controlling apps) to change CPU min/max, that is normal and intended !.
* 0 = allow changes to scaling min/max.
* 1 = ignore (don't apply, but don't return an error).
* 2 = refuse (don't apply, return EINVAL).
Post # 192
RANDOM REBOOT
Don't UV
If using custom CPU governor > set Userspace DVFS lock to 0
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
TCP/IP NETWORK SECURITY
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
AnTuTu CRASHES WITH CPU OC
If OC CPU > set Userspace DVFS lock to 0
Don't OC too much
Don't UV
Try increase voltage to higher frequencies
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxda.pre.activity
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
..
Great. Another kernel is coming to note 3
Good! I attended the link of download!
Thanks so much! !
Inviato dal mio SM-N9005 utilizzando Tapatalk
Great
Sent from my SM-G900T using XDA Premium 4 mobile app
v1.0 is released. Please read Posts #1-3 before flashing.
I'll post initial changelog somewhere in due course, but time to get working on v1.1
Reminds me, I'll post a disclaimer...........
Edit: I'll upload a flashable stock boot.img
finally after your awesome kernel back then in 7.7...congrat and tq for this kernel
arinsms said:
finally after your awesome kernel back then in 7.7...congrat and tq for this kernel
Click to expand...
Click to collapse
Your welcome. :good:
Big thanks to the real devs here and hard-working forum members that also contribute to the various features and commits etc !
More to come of this simple kernel yet But don't expect it to be full works. I can only do my best with my limited knowledge and the time I can afford. I just see it as a challenge and share accordingly. Also big thanks to @civato with many of his initial commits and base synapse config.
Cheers,
UITA
Screenshots
Added some screenshots :good:
Doesn't cover all options, but users should get the idea
Next release, user will be able to set CPU voltage for individual frequency (as in screenshot). I've kept the Global CPU voltage control in case user prefer that.
Baby steps...........
GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app
alexander1995 said:
GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you're going to post in development section with a percieved "bug", please in future give full details allowing to replicate.
Reflashed v1.0 & tested with Antutu GPU test. GPU OC - works fine. It scales to 550 MHz if load requires. If you want to lock the frequency, set the min to the same as max.
Edit: I use cool tool app to observe "live" frequencies during testing etc
Edit 2: I believe (could be wrong. Need time to study code) that the GPU may have thermal limiting, reducing frequency under high temp, just like the CPU. This would also be normal.
Sent from my SM-N9005 using XDA Premium 4 mobile app
v1.1 released
v1.1 is now released
Change-log in Post #2.
Seems to be a lot more stable for synapse boot (under SkyHigh default conditions).
Enjoy :good:
Cheers,
UITA
Update to v1.2 sometime today or tonight. I'm really busy, so no time for release. .....
Sent from my SM-N9005 using XDA Premium 4 mobile app
v1.2 released
v1.2 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
edit: just updated the download link for anyone who might have DL v1.1 instead ........
.
u have another mirror ??
currently its not working
503 Service Temporarily Unavailable
xinfinityoO said:
u have another mirror ??
currently its not working
503 Service Temporarily Unavailable
Click to expand...
Click to collapse
I just checked and all is good.
I like to keep this project in one place. Great idea by XDA.
Please try again, sometimes the XDA is a little "finicky" to UL, so maybe same for DL too. Refresh your page and try again :good:
I have to go away for a few days, I have plenty of ideas and additions for next release. Until return......
Cheers,
UITA
v1.3 released
v1.3 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
.
Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:
msa_6292 said:
Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:
Click to expand...
Click to collapse
Thanks. The kernel is still a "work in progress", and trying to keep it stable but with a number of mods and exposed configurable options.
I'm still not sure if I'll add any custom governors or schedulers, easy to do but the stability of stock is great. Maybe intellidemand though?
I'm away for a few days, so I will try and add some info into post 3 and synapse as I progress with further builds when I return home.
Wifi - use cubic or Westwood plus. Edit: Maybe I'll look at adding option to use Google dns server, tcp speed tweaks etc from V6SuperCharger.
Personally, I haven't yet had to tweak the LMK minfree values on Note 3 (unlike my Galaxy Tab 7.7 with 1GB RAM and multi-window mod). It's just got so much RAM and great multi-tasker. I haven't got around to playing with entropy values either. A lot of tunable values are just exposed so if user "wants" or "needs" to tweak, it's there anyway.
There is a lot of info on the Internet that can explain things better than I ever will or pretend to understand. In that case 99/100 times I leave the values at stock.
My personal value for randomize VA space =0. Supposedly helps with GUI smoothness. ..... Somethings are hard to tell or placebo.
I've got lots of things on the "to do list", Enjoy v1.3 and beyond
Sent from my SM-N9005 using XDA Premium 4 mobile app

[KERNEL][3.0.101+][for Android 4.1.2] A2N Kernel for Galaxy Ace 2 [R95]

Revive your Samsung Galaxy Ace 2 phone in 2023!
Fastest custom kernel world-wide with lots of innovative features!
Supports all Ace 2 Variants Running Android 4.1.2
GT-I8160
GT-I8160P
GT-I8160L
This Kernel Aims are to
reduce the power consumption
improve the performance
make it more smooth
reduce RAM usage
improve RAM management
extend device features
and many more ....
A2N Kernel Special Features
SafetyNet: OK
Google Play: device is certified
Charger control for faster charging
Battery care
Stable CPU OC up to 2 x 1,3 GHz
Stable GPU OC up to 1 x 750 MHz
Adjustable Battery Max Temp
CPU / GPU / RAM OC / UC / OV / UV
Audio Gain
Ability to set different CPU Freq while screen ON/OFF
Kernel modules for CIFS and NFS
Enabled zRam (RAM compression) - with fast LZ4 compressor
Flashlight tuning (torch)
A2N Kernel Control - App Features
Best way to tune this kernel to your needs
Note: 3-party kernel manager apps do not work with this kernel.
-- Charger control
-- Battery care
-- Battery thermal control
-- Audio Low-level gain control
-- Sweep2Wake
-- CPU/GPU OC control with voltage control
-- Limit CPU max_freq on suspend
-- CPU/GPU governor tuning incl. input-booster
-- Performance profiles
-- SWAP/zRam
-- Backend Network stuff like NFS, CIFS etc..
-- Torch brightness control
-- Notification LED through the soft-touch-keys - adjust blink_on, blink_off delay
-- Accelerometer calibration
-- Advanced Power Menu - ability to reboot to recovery / download-mode
-- And many more!
Installation​
Step 0
This step is only needed if your Android version is lower than 4.
If you have already Android 4.1.2, then go to step 1.
Update to the latest Samsung stock ROM 4.1.2 with ODIN.
Make sure your battery level is at least 70 % before you proceed.
I'm a noob, please show me more details:
Download needed files for Windows (for other OS, please search the web):
Samsung USB Driver for Mobile Phones
odin3_v3.07.zip offline flasher
Stock ROM
For the GT-I8160 you need:
I8160XXMB4.zip (3-parted)
and
ONE-I8160XXNF2-20140930142454.zip (Latest stock ROM)
For the GT-I8160P you need:
CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XLK2_4G.zip ( first 3-parted)
and
CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship.zip (second 3-parted)
and
DBT-I8160PXXMG2-20130820164646.zip (Latest stock ROM)
For the GT-I8160L you need:
GT-I8160L-3parted.zip (3-parted)
and
PGU-I8160LUBMK2-20140603151522.zip (Latest stock ROM)
After you've downloaded the needed files and you've unpacked and installed the Samsung USB Driver, you can proceed wit the upgrade.
Note: All your data will be deleted, so it's recommended to backup some important files to your computer, including the content of your sdcard.
Format the sdcard as FAT32 if you can, if you don't know how to do that, it's also (for now) enough to simply delete all files and folders from the sdcard.
Unpack Odin3_v3.07.zip and open the program inside, it's: Odin3 v3.07.exe
Unpack the ROM, for example we unpack the ROM: I8160XXMB4.zip for the GT-I8160 which is a 3-parted stock ROM.
Well, now power off the phone and remove the sdcard.
Press and hold at the same time: volume down + home + power button.
The phone will boot directly to "Download Mode", now press "Volume +" to enter "Download Mode".
Connect the phone with your PC with the USB cable (important: during flashing don't turn off your pc or phone, also don't touch the phone or the USB cable)
Your phone should be recognized by ODIN .. you can see this in "ID:COM"
if not, then the USB drivers for Samsung mobiles are not properly installed !
Don't change the check boxes !!!
Now load the *.tar.md5 files as follows into ODIN:
PDA = HOME OR CODE (*.tar.md5)
Wait until the MD5 check is done and proceed by adding the next package in ODIN.
CSC = CSC (*.tar.md5)
PIT = *.pit File (the checkbox Re-Partition is now checked )
Before you press "Start", make sure everything looks like this:
For 3-parted stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin_3parted.png
For latest Stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin.png
Finally press "Start", be patient ... this takes around 7 minutes.
The phone will reboot several times. When you see the pad for entering the SIM PIN ... then the (3-parted) ROM was flashed successfully and you can now remove the USB cable and reset ODIN and you should flash the next ROM with ODIN which is:
ONE-I8160XXNF2-20140930142454.zip (Latest Stock ROM)
flash it exactly like the 3-parted one, with the difference that it's only one file to add in ODIN .... see the screenshot "For latest stock ROM" which is odin.png.
Step 1
Download required files and copy them to your micro sdcard without to unpack them:
Temp_CWM_6.0.2.8.zip to your sd-card, do not unpack it.
A2N Kernel (choose latest rooted)
Step 2
boot to stock recovery ...
Navigate with volume keys to "apply update from external storage" and confirm always with "Power-Key"
Choose "Temp_CWM_6.0.2.8.zip" and confirm.
"install zip from sdcard" and confirm.
"choose zip from sdcard" and confirm.
Choose "a2n_kernel_gt-i8160_4.1.2_rooted.zip" and confirm
Tap "back key" few times and select "reboot system now"
When the screen is black immediately boot directly to recovery again.
Now the cwm version should be 6.0.5.0.
Step 3
Flash (again) latest kernel:
a2n_kernel_gt-i8160_4.1.2_rooted.zip
Reboot system now
DONE !
Current Bugs and Changelog
Disclaimer​
I am not responsible for anything that happens after flashing the work provided here.
Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work, otherwise i'll report you and your thread will be removed.
Credits​
@dh.harald and @hafidzduddin for contribution on codina sources
@ Team Canjica for a base for this perfect kernel
@ All users whose have tested this kernel and direct the development along the right path
CyanogenMod Team for CWM Recovery
SAMSUNG for opening kernel source
ST-Ericsson for codina patches
Google for android kernel patches
Linus Torvalds for Linux Kernel
@S.AMU for FTP-Server
Contributors
ace2nutzer, cocafe, zwliew, mkaluza, Rox, Meticulus, ChronoMonochrome, TeamCanjica
Source Code: Samsung_codina_Kernel/tree/4.1.2_stock
Buglist - R95
None
Changelog
A2N Kernel R95
GPU: removed buggy gaming-mode
CPU/GPU: updated ondemand gov
CPU: added input-booster
RAM: optimized memory management
A2N Kernel Control V95
GPU: replaced "Gaming Mode" with "Boost"
CPU: added input-booster into "Boost"
Older Changelogs
A2N Kernel R94
RAM: Fixed regression from R93 in memory management
RAM: improved multitasking
A2N Kernel Control V94
RAM: optimized zRam routine
Updated strings (help text)
A2N Kernel R93
LMK: updated driver for better memory management - by me
LMK: updated minfree values to work more efficient with updated LMK driver
Init: removed init.d.a2n - instead we use now default init.d folder
A2N Kernel Control V93
GPU: improved "Gaming Mode"
RAM: simplified swap control
Updated defaults & fixed bugs
A2N Kernel R91
Source update - Linux 3.0.31 -> 3.0.101
CPU/GPU: disabled boost by default
GPU: added gaming mode
PLLDRR: set Freq from 1,1 GHz @ 1,0 GHz (1,1 GHz was not stable)
A2N Kernel Control V92
Fixed bugs
A2N Kernel Control V91
GPU: added gaming mode
CPU/GPU: Boost disabled by default
Kernel R90
GPU: reverted block_size to 256KB (stock)
zRam: updated driver
PLLDDR_OC: improved stability
Reduced lags and crashes
Overall improvements (battery life, performance and memory management)
A2N Kernel Control V89
Fixed bugs
Improved app performance
A2N Kernel Control V88
Fixed "reboot to recovery" etc
Fixed bugs
Improved app performance
Kernel R89
Updated LCD driver
Defconfig: disabled PCRYPT
Kernel R88
Improved RAM OC
Kernel 2022.10.14
Updated kernel config
CPU/GPU: updated governor, removed useless freq steps
Improved OC stability
Updated LCD driver - stability fix
Recalibrated LCD driver to fix out-of-sync related lags
RAM OC by default 800 MHz @ 1100 MHz for better I/O throughput
A2N Kernel Control V8.7
Updated all performance profiles
Updated defaults
Fixed bugs
Improved app performance
Kernel 2022.05.13
Enabled CONFIG_NAMESPACES support
Disabled CONFIG_SYSVIPC - security fix
Improved stability
A2N Kernel Control V. 8.6
Debug: added "fix permissions" (useful if you use this app with other kernel manager apps)
Improved stability
Fixed bugs
A2N Kernel Control V. 8.5
Improved stability
Fixed bugs
Kernel 2022.04.20
Switched to HZ_500
Improved stability
Improved memory management
Improved multitasking
CPU/GPU: gov update
enabled namespaces
enable zRam 100 % by default
A2N Kernel Control V. 8.4
Source update
Reduced startup time
Improved stability
Fixed bugs
Note: latest A2N kernel version required.
Kernel 2022.04.06
Compiled with -O3 - for higher speed
Optimized memory management
Improved multitasking
Enabled CONFIG_SYSVIPC - required for some emulator apps
A2N Kernel Control V. 8.3
Stability fix
Improved startup time
Updated defaults
Kernel 2022.03.12
Fixed lags and freezes
CPU/GPU: updated ondemand gov
CPU/GPU: reduced Freq switching delay from 40 to 20 ms
RAM: optimzed memory management (multitasking)
LCD: updated Freq for S6D27A1 model
I/O: increased throughput - read_ahead_kb 32 @ 128 KB
zRam: updated script
A2N Kernel Control V. 8.2
RAM: added page-cluster tunable
RAM: I/O: added read_ahead_kb tunable
Updated defaults
Kernel 2022.03.05
Improved stability - needs some testing now
Fixed apps force close (at least on kernel side)
Improved memory management
Improved deep sleep
CPU/GPU: updated boost logic - uses now only min/max freq to reduce freq switching related lags ! (if enabled in the A2N app)
Charger control: update
LCD: updated driver
SWAP: zRam: sync with AK 3.10.106
Lib: sync LZ4, LZO & ZLIB with LK 5.16.2
Binder, lmk & ashmem: sync with AK 3.4
GPU: optimized memory allocation
A2N Kernel Control V. 8.1
Network: added L2TP support
Re-added autostart
Updated defaults
Bug fixes
Improved stability
Kernel 2021.10.29
Improved stability
Fixed apps force close (at least on kernel side)
Improved memory management - especially multitasking
CPU/GPU: optimized ondemand governors
Updated zRam driver
Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks
Supports now NFS V.4.1
CIFS: updated driver
Updated kernel config
A2N Kernel Control V. 8.0
RAM: LMK: added 16 MB choice,
added "Swappiness" tunable
Theme: switched to Holo - Dark-Mode
Bug fixes
Improved stability
Reduced mobile data usage
Updated defaults
Kernel 2021.05.22
zRam: set to 50 % size by default
improved driver
Memory Management: optimized low-memory-killer to have min 48 MB free RAM
for quick response even if RAM is in high pressure state
CPU: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default
CPU: up_threshold=95 and disabled boost always fixed on suspend for more power saving
CPU: increased min_freq to 400 MHz, but on suspend it'll use 200 MHz for power saving
GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled
GPU: driver update for better memory allocations
A2N Kernel Control V. 7.9
New: check for new A2N Kernel release on app launch
Updated defaults
Bug fixes
Removed redundant buttons
Reduced network traffic and debugging
Kernel 2021.03.24:
CPU: use 200 MHz step only with screen OFF
Set swappiness to 150
Some souce code update to android kernel 3.0.72
zRam, zsmalloc and lz4: update from LK 3.10.103 to 3.18.140
RAM: removed KSM support
Added more TCP congestion algorithm
defconfig: allow CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to be enabled
lib/lz4: update to LK 4.11.12 (for zRam)
zRam: decreased overhead and memory usage
Added support for kernel mode NEON
Added support for WQ_POWER_EFFICIENT
Added support for ARM/NEON optimizations for crypto in SHA/AES modes
A2N Kernel Control V. 7.8
Profiles: Performance Plus: allow custom Freqs
Network: added more TCP congestion algorithm
Advanced Power Menu: update
Updated defaults
Kernel 2021.02.06:
Swap: added more optimizations for zRam - easily 10x faster than before !
A2N Kernel Control V. 7.7
Power: added "Maximum Charging Temperature"
CPU: added "Suspend Max Freq"
CPU/GPU: added more governor tunables
RAM: added "Low Memory Killer" (for min free RAM) & "Drop Caches & Buffers"
Power: added "Battery Temperature / Voltage Check"
Added a quick 4-way reboot menu
Stability fix
Updated defaults
Fixed grammar
Cleanup
Kernel 2021.01.20:
GPU/GPU: updated ondemand governor
Source update
RAM: 631 MB @ 632 MB
CPU: switched to ondemand governor
Timer: HZ=300 @ HZ=250
Charger Control: added "Max Charging Temperature" default: 40 °C - range: 35 - 45 °C
and set ac_curr_max=800 @ 1000 mA - range: 100 - 1500 mA
also added better support for 3rd-party batteries with 3.7 V (auto detection)
LCD: driver update for stability and smoothness
Wi-Fi: added better support for 80211n
Full support for IPsec
A2N Kernel Control V. 7.6
Source update
Kernel 20200823:
RAM: optimized memory management
Extended Support for Mouse, Keyboard and Joysticks
A2N Kernel Control V7.5
Source update
Kernel 20200513:
RAM: optimized memory management
zRam: improved stability
init.d Fix
Updated Demo App installation
A2N Kernel Control V7.4
init.d Fix
Kernel 20200509:
RAM: optimzed memory management
Enabled CRYPTO_SHA256 && CRYPTO_SHA512
init.d Fix
Kernel 20200427:
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
Binary Code Optimizations
A2N Kernel Control V7.3
CPU/GPU: increased max up_threshold 99 -> 100 %
Updated defaults
Bug Fix
A2N Kernel Control V7.2
Requests root permission on App startup
Kernel 20200403:
Updated Kernel Config
PLLDDR OC: driver update
LCD: driver update
NET: enabled congestion protocols: cubic, new reno, bic, westwood+
SWAP: optimized zRam
BOOT: improved boottime - boots with 1 GHz
GPU: added a real dynamic governor for more powersavings
CPU: conservative gov update
CPU/GPU: added a "boost" tunable in order to switch from min to max freq immediately
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
A2N Kernel Control V7.1
GPU: allows to UV all steps
Profiles: added Performance Plus Profile
Network: added TCP Congestion Control
CPU/GPU: added Boost Control - in order to switch from min to max freq immediately
Updated defaults
Fixed back-arrow
Bug fixes
License Check: added Retry Button
Kernel 20191114:
Optimized memory management
CPU/GPU/SXA: optimized Governors
Set vm_swappiness to 200 (patched)
Updated kernel config
FSB/DDR_OC: updated for lower power consumption and stability
Charger: Set AC Current to 800 mA by default
MCDE: LCDs: updated for quick wakeup + stability
Improved performance, responsiveness, and battery life
More smoothly
A2N Kernel Control V7.0
Updated defaults and strings
Minor Fixes
Kernel 20191017:
VM: patched swappiness to be tuned up to 200 - (kernel default)
USB OTG Power: allowed output power 300 @ 500 mA
LCD's: increased stability against potential black-screen issues
LCD's: decreased wakeup latency from suspend
CPUFREQ: updated logic - auto set lower cpu_min_freq for suspend
updated ramdisk
A2N Kernel Control V6.9
Misc: removed swappiness control (it's set @ 200 by default)
USB OTG Power: allowed output power 300 @ 500 mA
Minor Fixes
Kernel 20190918:
CPU/GPU: updated governors
Charger: tiny update
Sweep2Wake: Fixed Touchscreen not waking up on incoming notification or call (if Sweep2Wake was enabled)
Mali-GPU-400: Fixed memory allocation failures - alloc_order 6 --> 0 / block_size 256 KB --> 4 KB
Re-added zRam Support with fast LZ4 Compressor
Set GPU/SXA governor up_threshold to 95 % for better powersavings
CPU: added a better control for managing CPU suspend_freqs - (for more info check the kernel release notes in the thread)
Bug Fixes
Source cleanup
A2N Kernel Control V6.8
Misc: added zRam switch and
swappiness control
Full overhaul and
Bug Fixes
Kernel 20190817:
Reverted back overclocked wifi module from 100 to 50 MHz - Caused system to freeze
CPU/GPU/SXA: updated governors to be more clean and smooth
Sweep2Wake: updated driver, added the ability to use it now even without extra wakelock
CPU: re-added the ability to set min_freq for screen ON regardless the used min_freq for Suspend (which is by default 200 MHz)
MCDE: added LCD workaround tunable to workaround wakeup issue on some broken LCD's. (it's useful if u've to press power button 3 times to wakeup the phone from suspend or deep sleep)
Source code cleanup - Fixed all leftover compiler warnings
A2N Kernel Control V6.7
Power --> Charger Control AC/USB: allowed up to 1500 mA input Current
Screen --> Added ability to use Sweep2Wake even without extra wakelock
CPU: added ability to set min_freq up to 200 MHz for Screen ON
CPU/GPU: added ability to tune the governor for more performance or more powersaving (very easy to use)
Kernel 20190718:
CPU/GPU/SXA: updated all 3 Governors - should improve performance and smooth scrolling
KSM: reduced pages_to_scan for the first 2 scans - reduces some overhead on boot
A2N Kernel Control V6.6
Power: fixed restoring of charging current on boot
Kernel 20190619:
GPU: fixed a bug in dynamic_down_threshold logic
MCDE --> LCD's: updated drivers, improved stability especially for S6D Model (should fix the blurred screen issue)
fixed lags caused by MCDE/LCD
CPU --> conservative_gov: updated up and down thresholds to reduce lags caused by the governor itself
Installer: fixed issues with /ramdisk partition that caused Offline-charging (LPM) and FSB/DDR (PLLDDR) OC not to work properly
Reduced feedback latency
More smooth
A2N Kernel Control V6.5
Audio --> Headphones: added digital gain control
Screen: removed LCD Freq Control (redundant)
CPU: removed suspend_max_freq limit (redundant)
Kernel 20190521:
I/O: switched to CFQ Scheduler
cpufreq_conservative: updated to fix some micro laggs
PLLDDR_OC: fixed audio issues - re-added recal. of SXA Clocks
PLLDDR_OC: fixed permission for A2N Kernel Control
Kernel 20190503:
MCDE: LCD's: improved stability
LCD S6D27A1: fixed Offline-charging Battery animation
Kernel 20190427:
LCD WS2401: fixed wakeup issue when using PLLDDR OC
PLLDDR OC Module: update
CPU: conservative gov - update
A2N Kernel Control V6.4
Screen: fixed restoring of ape opp 100 on boot
Screen: LCD WS2401: use 50 MHz by default
Kernel 20190418:
GPU: Driver update - added dynamic_down_threshold for better power efficiency
CPU: gov conservative: added dynamic_down_threshold for better power efficiency
LCD WS2401: updated screen on/off delays - fix for LPM
LCD: fix user LCD Freq on late_resume
LCD: Driver update - improved stability, more smooth
LCD: added flicker-free support - by using highest LCD Freq + APE 100 requirement (to work stable)
FSB/DDR: updated Driver to work fine with 250/1000 MHz
I/O: Removed swap && zRam support - now we use KSM instead
BLN: Bug fix
Charger: changing charger current is now (again) possible "on-the-fly" (without to unplug the cable)
Rear Flash LED: updated Torch Brightness Control
A2N Kernel Control V6.3
Power: updated Charger Control
Screen: updated LCD Freq Control
Misc: removed zRam (now we use KSM instead)
Misc: KSM: added "pages to scan" choice
Msc: updated FSB/DDR OC Control
Misc: updated Torch Brightness Control
Minor bug fixes and improvements
Kernel 20190324:
Replaced Stock LPM with CM LPM - shows Battery Level in %
Kernel Config: tiny update
Updated Ramdisk and user Ramdisk
Moved LPM charger binary & /res/images/charger to user /ramdisk - allows to use custom charger binary and/or custom /res/images/charger
Kernel 20190319:
Fixed "move apps to sdcard"
Enabled KSM Support - optimized for Android
Enabled UHID Support
Switched to Conservative cpu governor - higher powersaving
Updated Mali GPU Driver
Mali: updated gpu freq table for higher efficiency - removed too low steps
CPU: use 200 MHz Step only on Suspend
LCD: Reworked lcd type detection and split interface for each of lcd type
LCD: Recalibrated video.modes and LCD Freq - more smooth
LCD: fixed custom_lcdclk interface
Use: OPP 25% only on suspend
CPU: Conservative gov fine tuning
Optimized binary code optimizations - -O2 globally
Updated PLLDDR OC Module - improved stability
Reworked the whole VAPESEL2 & LPA(low-power-audio) Voltage Logic
Updated suspend_max_freq interface
Use the full Freq of 100 MHz instead the Half of 50 MHz for sdi1 as well - WLAN
BT: fixed file transfer issue
Disabled CRYP Engine - caused shutdown issue
Fixed Virtual memory layout
Disabled APEAT & APETRACE Clocks for Lauterbach Debugging - For powersaving
MCDE: re-enabled MCDE_DPI_UDERFLOW Patch
Updated Ramdisk and scripts
A2N Kernel Control V6.1
Screen: Fixed LCD detection
A2N Kernel Control V6.0
Misc: added KSM Control
CPU/GPU: updated Freq's according to the latest A2N Kernel
Audio: added LPA Undervolting - Low-Power-Audio on Suspend
Debug: removed LCD Type Detection - moved to "Screen"
Screen: added LCD Freq Control
Misc: removed BLN - not supported on Stock 4.1.2
Power: added 90% Charge - stop and hold charging at 90%
CPU: Suspend_max_freq: removed 200 MHz Choice - 200 MHz is the default min_freq on suspend
Kernel 20190206:
Reverted "MCDE: WS2401: stock delays" - caused LPM issue
Charger: reduced time for 99% -> 100%
Updated ramdisk - use kernel default min_free_kbytes
Kernel 20190202:
Reworked the whole kernel config
removed kmsg spam raw_soc from abb_fg
Android Kernel 3.0.31 -> 3.0.72
Improved Security
Minor bug fixes
Kernel Sched: enabled HRTICK
Mali 400 GPU: optimized driver
MCDE: WS2401: stock delays
Improved Memory management - Multitasking
Fixed memory allocation failures
Higher efficiency - Battery, Performance
Improved stability - No FC, no reboots
and some more tiny kernel optimizations
A2N Kernel Control [GT-I8160] V5.9
Moved "storage" and "debugging" to the demo version
Kernel 20181218:
FS: Revert to stock iocharset
Disabled Memory Resource Controller
Multitasking is now much better
Added Assistive Light Control for the LED Torch - Full Range from 1 - 16 !
A2N Kernel Control [GT-I8160] V5.7
Misc: moved "advanced root" to the demo version
Updated App permissions
Misc: Added Assistive Light Control - Torch LED power Control
Kernel 20181202:
Charger: tiny fixes, reduced lowbat_wake_lock time
A2N Kernel Control [GT-I8160] V5.4
Power: updated Charger Control, reduced max charge Current to 1 A.
Kernel 20181117:
Charger: updated charger logic - set ac current max @ 700 mA by default,
- improved security aka SIOP, - driver cleanup
A2N Kernel Control [GT-I8160] V5.3
Power: updated Charger Control
Kernel 20181105:
Charger: updated the whole Driver. - Relaxed a lot of limits to be able to charge up to 1500 mA Current for any Chargers AC/USB. - Added better support for 3.7 V (optimized for 1700 mA) 3rd-party batteries. - Better Support for very old Batteries from 2012 - 2013. - Refresh and recover some lost Battery power and update the Battery Gauge to Stock. - Driver Clean up .. removed useless sysfs interfaces and added new interface for checking actual real current drawn from the power source.
- fixed also occasionally wakelock issues after unplugging charger cable (battery drain fix).
USB Gadgets power: set in kernel proper max drawn current to 300 mA
Charger: enable BLN on eoc_real instead of eoc_first if suspended (if enabled in the App or over init.d script)
MCDE / LCD: tiny stability fix for s6d27a1
A2N Kernel Control [GT-I8160] V5.2
Power: Added Check (real) input Current Button
Layout update
Kernel 20181023:
Charger: set ac_chg_current to stock
Optimized Dalvik heaps
A2N Kernel Control [GT-I8160] V5.1
Power: Adjusted AC Current to Stock
Layout update
Kernel 20181012:
LiveOPP: 400Mhz Step: ape/ddr 25% @ 50% - this is
useful for "Suspend Max Freq"
RAM: optimized memory management
Higher Performance, Better Battery lifetime and more smooth
A2N Kernel Control [GT-I8160] V5.0
Audio: added Volume Control
Screen: added go to suspend button
Layout update
Fixed some minor bugs
Kernel 20181006:
MCDE: both LCD Drivers set in fail-safe mode for now - chuck norris mode
NET: xt_qtaguid updated to 3.0.72
Updated kernel config to 3.4 (specific for Android 4.1.2)
defconfig: enabled memory resource controller - saves up to 30MB/app
MALI: updated memory management - use 4kb block size
LIB: updated LZ4 Compressor Module to 4.4
BOOT: switched from LZO to LZ4 for faster booting (re-implemented)
RAM: updated memory management
Overall improvements - performance, battery and stability!
A2N Kernel Control [GT-I8160] V4.9
misc: added swappiness control
misc/zram: removed reboot workaround for Android 4.1.2 - fixed in kernel
Kernel 20180922:
Updated the following kernel drivers to 3.0.72:
drivers/gpu/ion
mm (basic memory management)
arch/arm/vfp (vector floating point and processor instructions)
drivers/hid/uhid
fs/fat
fs/ext4
block
drivers/block
drivers/staging/android: lowmemorykiller & binder
-
Added the following new drivers as needed by Android:
SYNC (Hardware mode)
SW_SYNC (actually disabled, because we're testing hardware-sync instead software-sync)
DMA_SHARED_BUFFER
-
Optimized memory management
Updated adj & minfree values
Set Swappiness=0 by default
Mali: optimized memory management
Removed some obsoleted drivers
Source cleanup
Kernel 20180901:
Fixed Apps crash
MCDE: WS2401: improved stability
cpufreq: updated suspend_max_freq interface
Mali: driver update & fixed memory allocation failures
Tiny Kernel update & tweaks
Optimized Dalvik
Fast boot
Added cwm recovery
A2N Kernel Control [GT-I8160] V4.8
reduced overhead on boot
A2N Kernel Control [GT-I8160] V4.7
GPU: removed mali_pre_allocated_mem_size_max - it's now 32MB by default
Screen: removed "Tuned Freq" & "Chuck Norris mode" - rebasing driver ....
Misc: added "Advanced Root" for CM11
Tiny Bug fixes
Kernel 20180809:
Fixed SafetyNet - Passed
Safety will PASS even with root enabled like it's done on "Magisk"
Reworked the whole SuperUser implementation
Play Store: Phone is now "Certified"
block/deadline-iosched: reset to AK3.0.72 and patched
Reworked all APE/DDR OPP requirements
PLLDDR OC Module: tiny updates - should fix boot animation failures when using it
Mali 400 GPU: reduced Voltages
Reduced also Voltage for LowPowerAudio
Cleaned Source
Updated EOC BLN
Updated BLN
Removed "sva" kernel wakelock - battery drain fix on suspend!
cpufreq: added suspend_max_freq interface
Use APE/DDR 50% OPP for screen ON on idle instead previously APE 100% OPP
Reduced LCD Freq*
Fixed most of the compiler warnings for cleaner code
Updated Ramdisk in order to hide su binary - SafetyNet Fix
* = "Tuned Freq" disabled, means stock lcd freq and will work stable,
but with enabled "Tuned Freq" it can cause some screen glitches caused by APE 50% OPP,
on the other hand, lower lcd freq and lower OPP states will save a lot of battery power.
A2N Kernel Control [GT-I8160] V4.6
misc: fix zram on 4.1.2 stock
A2N Kernel Control [GT-I8160] V4.5
CPU: add suspend_max_freq control
A2N Kernel Control [GT-I8160] V4.4
Fixed Support for GT-I8160L
Storage: Fixed compatibility
Misc/PLLDDR OC: fix restore on boot
source update
A2N Kernel Control [GT-I8160] V4.3
Updated API to 28
(if u miss some changelogs here, then check the CM11 Thread, since it's the same kernel)
Kernel 20170819:
Compiled with latest GCC Linaro 7.1.1
Higher machine code optimizations
Fully reworked kernel config
Some Clean ups
Disabled some debugging
Reduced kernel size
Fixed a few kmsg errors
Optimized memory management
Reverted hwmem size to stock
630mb ram for user apps
Improved Security
Removed SELinux implementation
increased log buffer
Better I/O Speed
Updated Network Config
Updated Sound Config and many more
Fixed "data usage and limits"
Full Hardware Acceleration for Crypto
VPN: added L2TP Support
Fixed poor 2D/3D Performance
Optimized VFP
Removed old and buggy fsync control
BLN: Enabled wakelock & blink by default
Enabled Sim hot swap detection support
Updated cpu-idle driver
Fixed deep sleep issue - Better Battery LifeTime with Screen OFF
More responsive and overall higher performance
And many more optimizations
Inkl. latest A2N Kernel Control [GT-I8160] V2.6
A2N Kernel Control [GT-I8160] V2.6
Simplified BLN Config (removed wakelock & blink control)
A2N Kernel Control [GT-I8160] V2.5
Renamed back "free options" to "settings"
Removed SELinux Control
Fixed "Refresh Battery Stats" (Battery Level Calibration)
Fixed "Accelerometer Calibration"
Kernel 20170701:
Updated zRam script - multicore optimization
Better Memory Management - more smooth, responsive and faster
Fixed BLN Driver
Replaced sioplus scheduler with CFQ - for best multitasking performance
Updated kernel defconfig
Enabled support for XBox Gamepad
Optimized for Real-Time Workloads
Wifi: disabled pm_fast by default - saves battery
Reverted an very old commit that caused Apps to FC and maybe even File System errors
More efficient zRam Driver - Maximum power - Lowest power consumption
Removed obsolete CONFIG_ZRAM_FOR_ANDROID patch - Recent zRam Backport from Android Kernel 3.10 doesn't need it
Updated Binder and LMK Driver (and some other Source for memory management) - just a sync with original Google Source Code
Fixed occasionally Apps FC - I hope so - So far after 2 Days of testing = Zero App FC !
Better Performance and Battery Lifetime
Cleaned Source Code
Inkl. latest A2N Kernel Control [GT-I8160] V2.4
A2N Kernel Control [GT-I8160] V2.4
Renamed menu entry "Settings" to "Free Options"
Moved "LCD Type", "Logcat" and "SELinux" switches to "Free Options"
Added ability to export debugging Logs to sdcard0 with a single Tap - logcat, dmesg and last_kmsg - available in "Free Options"
Kernel 20170618:
Added more build.prop tweaks
Compiled bthid.ko & exfat.ko & lz4_(de)compressor built-in
Updated defconfig
Enabled all supported Cryptographic API's
Mali GPU Optimizations
OS RAM Optimization
Increased Torch Lux - max. fail-safe
Cleaned Source code a bit
Inkl. latest A2N Kernel Control [GT-I8160] V2.3
A2N Kernel Control [GT-I8160] V2.3
Advanced: added ability to enable/disable Androids logger (logcat)
Removed high performance profile and torch modes
20170606:
Updated updater-script for build.prop tweaks (dalvik config)
Reverted unstable zRam & zsmalloc backport from 3.5 Branch
zRam zsmalloc lz4 driver: backport from stable 3.10 Branch
Moved zRam script from init.d to the A2N App
zRam, zsmalloc, lz4_compress and lz4_decompress moved to modules
zRam: disabled by default
Compiled with latest GCC-Linaro-6.3.1
Inkl. latest A2N Kernel Control [GT-I8160] V2.2
A2N Kernel Control [GT-I8160] V2.2
Advanced: replaced "Swap aggressive" Switch with "Use zRam"
For properly enabling and disabling zRam
20170522:
Higher binary code optimization
Re-enabled zRam by default - but only low usage - swappiness=50
LCD: [WS2401] stock delays - should fix wakeup issues
Memory allocator: back to SLUB
Ramdisk: optimized scripts, ram management and clean up
Faster I/O Speed
Inkl. latest A2N Kernel Control [GT-I8160] V2.1
A2N Kernel Control [GT-I8160] V2.1
LCD: Chuck Norris mode: fixed description
A2N Kernel Control [GT-I8160] V2.0
Swappiness=50 by default
LCD: [WS2401] added Chuck Norris support - also for powersaving
A2N Kernel Control [GT-I8160] V1.9
Updated swap config
Fixed performance profile
Added "high performance" profile
20170426:
Set back swappiness to Zero for default (no zRam)
Fixed "sva" deep sleep issue
Set dalvik.vm.heapsize=512m
Better Battery Lifetime
Overall improvements
Inkl. latest A2N Kernel Control [GT-I8160] V1.8
A2N Kernel Control [GT-I8160] V1.8
Renamed to "A2N Kernel Control [GT-I8160]"
Updated all Dialog texts for the better understanding
Added Switch "Use zRam" (sets swappiness from 0 to 100)
20170415:
Memory Management: Fixed some left over issues
Minfree: use ROM defaults
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
A2N Kernel Control Ace 2 V1.6
Minor Bug Fixes
Renamed to "A2N Kernel Control Ace 2"
20170414:
More Memory Management improvements
SLAB allocator: switched from SLUB to SLAB
Some Kernel Tweaks
Updated the whole VM Setup
Optimized swap/zRam behavior - the system will swap only if there is no other way
Updated Minfree Values for maximum multitasking - uses the whole RAM except the last 1 MB, needed for a stable system
Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER - Fixes bad performance from previous Version
Decreased zRam size to 1/4 of RAM - only used to avoid an OOM :good:
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
20170411:
Renamed to "A2N"
Updated Network config
Some Kernel Tweaks
Improved Binary Code Optimizations
Minor Kernel Config update
Big Memory Management improvements
Disabled CONFIG_ANDROID_LOW_MEMORY_KILLER
Increased zRam size to 1/2 of RAM - but only used to avoid an OOM
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
20170323:
Reduced zRam Size from 1/3 to 1/4 of Total RAM
Updated /ramdisk/perf.profiles.rc.(bak)
Better Stability - normalized CPU Voltages
Slightly Reduced Kernel Size
Small binary code optimization
Re-introduced page-cluster logic, but reduced for small RAM devices
Revert swappiness to the Linux default of "60"
Removed some useless ARM/APE/DDR requirements
Optimized Battery Charger
Updated Minfree Values
Better Performance & Battery Lifetime
Compiled with latest Linaro GCC 6.3.1
Inkl. latest A2N Kernel Control APK V1.5
Ace2Nutzer Kernel Control V1.5
Updated CPU Voltages accordingly to the Kernel
Better System Stability
20170207:
Changed SELinux checkreqprot default value to "0" - App to Kernel
Updated RAM Management (Minfree Values)
Updated Dalvik Config
Reduced RAM usage
Better Performance
Inkl. latest A2N Kernel Control APK V1.4
Ace2Nutzer Kernel Control V1.4
Updated App Icon
20170118:
LCD: S6D27A1: Fixed issues for Recovery + LPM and use stock LCD Freq.
Charger: stop charging @ 100% and recharge @ 95% - Better for the Battery Care
MCDE: don't use DDR_OPP 25% for Screen ON - Caused black screen when using WhatzApp Camera
Inkl. latest A2N Kernel Control APK V1.3
Ace2Nutzer Kernel Control V1.3
LCD: added "Chuck Norris mode" for S6D27A1 - For Fixing hard LCD issues
Bug Fixes
I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?
galac44 said:
I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?
Click to expand...
Click to collapse
Yes it's possible.
Have u any Problems with this custom Kernel ?
I have no specific problem with this kernel. I wanted to do some test and see about battery life. I installed it and it works fine. Responsiveness is better than original kernel.
But maybe I will switch to CM11.
Bug
It works very well:good::good:. I think this is the fastest-ROM. But there is a little problem when I use Facebook latest version. "system_server" is working and make phone restarts.
.
Sorry I'm not good at English.
Hmm strange .... it's not the fastest ROM ... but i think u mean it's the fastest kernel instead
As for the Bug: without any logs it's impossible to say what's the problem ....
LG L9 II with stock 4.1.2 runs quite good, but it happens the same many times (1 of 4 times) when using or just opening Facebook.
I tried lots of things to solve the problem, including reflashing stock JB, but nothing helped. So finally I upgraded to slow 4.4.4 LG stock and Facebook now runs properly.
Maybe it has somethig to do with Android 4.1.2 and latest updates of Facebook.
Yeah ... probably it's not compatible ... anyway the facebook app is really buggy ... many times the CPU Freq stuck at max. freq because of facebook update .. before and after the update process ... i just facing this over terminal emulator by typing "top" ... really annoying app!
New Version is Up !!
Changelog:
20170207:
Changed SELinux checkreqprot default value to "0" - App to Kernel
Updated RAM Management (Minfree Values)
Updated Dalvik Config
Reduced RAM usage
Better Performance
Inkl. latest A2N Kernel Control APK V1.4
Ace2Nutzer Kernel Control V1.4
Updated App Icon
Enjoy !
cm11 for ace 2 :good:
with kernel app
is this app work with other galaxy devices with cm roms
rony raj said:
cm11 for ace 2 :good:
with kernel app
is this app work with other galaxy devices with cm roms
Click to expand...
Click to collapse
Nope ... only for Ace 2 ... it's just very Kernel + Hardware specific
New Build is Up !!
Changelog:
20170323:
Reduced zRam Size from 1/3 to 1/4 of Total RAM
Updated /ramdisk/perf.profiles.rc.(bak)
Better Stability - normalized CPU Voltages
Slightly Reduced Kernel Size
Small binary code optimization
Re-introduced page-cluster logic, but reduced for small RAM devices
Revert swappiness to the Linux default of "60"
Removed some useless ARM/APE/DDR requirements
Optimized Battery Charger
Updated Minfree Values
Better Performance & Battery Lifetime
Compiled with latest Linaro GCC 6.3.1
Inkl. latest A2N Kernel Control APK V1.5
Ace2Nutzer Kernel Control V1.5
Updated CPU Voltages accordingly to the Kernel
Better System Stability
Enjoy !!
New Kernel is Up !!
20170411:
Renamed to "A2N"
Updated Network config
Some Kernel Tweaks
Improved Binary Code Optimizations
Minor Kernel Config update
Big Memory Management improvements
Disabled CONFIG_ANDROID_LOW_MEMORY_KILLER*
Increased zRam size to 1/2 of RAM - but only used to avoid an OOM
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
* Probably the first Android Kernel world-wide that is powered without the Android LMK Driver.
Works now with a typical very simple Linux Memory Management.
Benefits: No wasted RAM, more efficient, more responsive, more stable (reduced the impact of Kernel Oops and NULL Pointer Bugs.)
A2N Kernel Control Ace 2 V1.6
Minor Bug Fixes
Renamed to "A2N Kernel Control Ace 2"
Install and Enjoy !
A2N Kernel Control Ace 2 V1.6 - app freeze problem
Hi, i have GT-I8160 with stock android 4.1.2
What i did:
- downloaded and installed lastest firmware for my country from sammobile - 2014-04-03 Poland 4.1.2 I8160XXNB1 I8160OXXNB4
- cleared cashe and factory reset
- i made everything like in Your instructions "HOW TO INSTALL KERNEL ON STOCK ROM 4.1.2" - downloaded CWM_6.0.2.8.zip & a2n.kernel.4.1.2_20170411_codina_PRE_ROOTED and so on...
And i have problem with your aplication - A2N Kernel Control Ace 2 V1.6
When i click on scrout application is opening, i see menus like "Power", "Audio" etc... but when i click on any menu aplication freeze and i cant do anything, i need to remove battery and power phone again. Im also wondering why aplication dont ask about supersu privilages
When I set option in supersu - "trust system user" and again trying to click on sth in this application after few seconds im getting error - unfortunately A2N Kernel Control Ace 2 has stopped working
Will everything working well without that application ? Im only dont have access to advanced options right ?
Slawas87 said:
Hi, i have GT-I8160 with stock android 4.1.2
What i did:
- downloaded and installed lastest firmware for my country from sammobile - 2014-04-03 Poland 4.1.2 I8160XXNB1 I8160OXXNB4
- cleared cashe and factory reset
- i made everything like in Your instructions "HOW TO INSTALL KERNEL ON STOCK ROM 4.1.2" - downloaded CWM_6.0.2.8.zip & a2n.kernel.4.1.2_20170411_codina_PRE_ROOTED and so on...
And i have problem with your aplication - A2N Kernel Control Ace 2 V1.6
When i click on scrout application is opening, i see menus like "Power", "Audio" etc... but when i click on any menu aplication freeze and i cant do anything, i need to remove battery and power phone again.
Click to expand...
Click to collapse
Sorry for inconvenience ....
Fix: uninstall the A2N Kernel Control app and download it from Play Store.
Im also wondering why aplication dont ask about supersu privilages
Click to expand...
Click to collapse
This App don't need root access.
When I set option in supersu - "trust system user" and again trying to click on sth in this application after few seconds im getting error - unfortunately A2N Kernel Control Ace 2 has stopped working
Click to expand...
Click to collapse
This happens because of missing license, this App isn't for free.
Will everything working well without that application ?
Click to expand...
Click to collapse
Yes.
Im only dont have access to advanced options right ?
Click to expand...
Click to collapse
Yeah
Tip: revert to the previous Kernel for now, because the latest one has buggy memory management.
Actually i'm Fixing it.
New Kernel 20170414 is Up !!
Changelog:
20170414:
More Memory Management improvements
SLAB allocator: switched from SLUB to SLAB
Some Kernel Tweaks
Updated the whole VM Setup
Optimized swap/zRam behavior - the system will swap only if there is no other way
Updated Minfree Values for maximum multitasking - uses the whole RAM except the last 1 MB, needed for a stable system
Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER - Fixes bad performance from previous Version
Decreased zRam size to 1/4 of RAM - only used to avoid an OOM :good:
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
Version information:
Please test this Build and report here how it goes compared to the Version of 23.03.2017.
New Kernel 20170415 is Up !!
Changelog:
20170415:
Memory Management: Fixed some left over issues
Minfree: use ROM defaults
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
Version Information:
Please Immediately update to this Version because previous Version is buggy and lead to Filesystem Errors !!
Sorry for the inconvenience Guys !!
Well, now it should work very well.
Pls test how it goes now.
New Build is Up !!
Changelog:
20170426:
Set back swappiness to Zero for default (no zRam)
Fixed "sva" deep sleep issue
Set dalvik.vm.heapsize=512m
Better Battery Lifetime
Overall improvements
Inkl. latest A2N Kernel Control [GT-I8160] V1.8
A2N Kernel Control [GT-I8160] V1.8
Renamed to "A2N Kernel Control [GT-I8160]"
Updated all Dialog texts for the better understanding
Added Switch "Use zRam" (sets swappiness from 0 to 100)
Hi,
to start wanted to thank you fo the nice rom. Works much better then the stock one.
I have only one concern - after the installation the GSM only network mode is missing. (had i t before)
There are only 2 now avalible:
* GSM/WCDMA (Auto mode)
* WCDMA only
To preserve battery life i've always switched to 2g only when i knew i won't be using.
Would you be so kind and perhaps reconsider adding it to the future releases ? or is is just missing in my phone?
or is there an relativly easy way to access it ? (tried *#*#4636#*#* - but ain't doing nothing)
thx

[KERNEL] Phantom Kernel for N950 - F/FD/N (for Samsung PIE and OREO ROMs)

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 the features included in this kernel.
PHANTOM KERNEL​by 6h0st ​
​
Special thanks to:
(Product evaluation, support & donors)
@ANDROIDXFOREVER
@ammisr
@Logel
@Sean_FD2R
@corsicanu
@Voytec83
@Bud Horn
@blinkt88
@rico13
@NoXXX
@Kiid
... and to all other developers for their indirect contribution (ideas, commits, public open source code, etc).
* 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 Synapse 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 update, 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.
* * * Version 2.11.6 PIE official * * *
- SAMSUNG Open Source for PIE kernel (N950FXXUDDTH1);
- ramdisk updated to N950FXXSBDTED;
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations;
- updated to Linux 4.4.201 - (only available for version 2.10.1);
- ramdisk updated to N950FXXS7DSI3 - (available only in version 2.10.1);
- Cortex and Exynos compiler optimizations;
- performance and battery life adjustments to BUS/GPU/CPU;
- Available CPU governors: cultivation, blu_active, impulse, interactive, conservative, ondemand, performance, powersave, darkness, schedutil, bioshock, blu_schedutil, helix_schedutil, darkutil, electroutil and pwrutilx - (some are available only in version 2.10.1);
- Available I/O Schedulers: anxiety, 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 - disabled (to get root 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 root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- Memory Management and utilities optimizations;
- added switch to enable/disable of FSync or use Dynamic FSync;
- Morosound mod for Madera/CS47L92;
- 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 UKSM 0.1.2.6 - (available only in version 2.10.1);
- VM, I/O sceduler and ZRAM tweaks - (available only in version 2.10.1);
- Entropy optimizations - (available only in version 2.10.1);
- added SysFS control for logging;
- disabled unnecesary logging, debugging and tracing;
- added automount FS Manager 4 support;
- added NTFS/ISO9660/UDF FS Support ;
- added ZRAM support - (available only in version 2.10.1);
- updated LZ4 kernel modules - (available only in version 2.10.1);
- 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 (for SSD kernel version only!);
- added CPU boost;
- added devfreq boost;
- added Kernel support for MISC binaries - (available only in version 2.10.1);
- added support for DriveDroid app;
- ramdisk optimizations and patched SEpolicy;
- disabled some unneeded tracing, logging and debugging;
- init.d optimization scripts, available in /=Phantom Scripts= folder, if you want to use them:
* 90agressive_doze: enable agressive doze script;
* 98sqlie: optimize DB;
* 98zipalign: zipalign apks;
* 99maid: a cleaning temporary files script;
* 99killer: battery saver by killing a couple draining services.
* * * Version 1.9.3 Oreo official * * *
- 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 fade/blink 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 Battery life 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 versions! AND don't blame me if you burn something.)
Mod edit: links removed
XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
6h0st
Kernel Special Features: STABLE | FAST | SOLID-BATTERY-LIFE
Versions Information:
Status: Stable P
Current Stable Version: 2.11.6
Last Updated 2020-12-21
Unstable Version: 2.10.1
Last Updated 2020-05-03
Status: Stable O
Current Stable Version: 1.9.3 (EOL)
Created 2018-08-05
Last Updated 2019-01-01
FAQ:
Q: How to flash kernel?
A: Download (download link in first post) and flash the zip file from TWRP Recovery. Wiping dalvik cache and cache when coming from other kernels is highly recommended.
Q: Phone is stuck with a black screen after I wiped dalvik cache and/or cache. After I waited a while it just rebooted. Is that a bug?
A: This is not a bug it's actually a feature. This is normal because the kernel startup script checks the dalvik cache to be created correctly. If it wasn't created correctly it checks again after 1 min, just to be sure, this is why you have a black screen. Don't force reboot, just wait! If Dalvik cache isn't still created correctly after 1 min, it will reboot and create Dalvik again, it will keep doing this until everything is ok. This can happen even 3 times upon boot. If more than 3 reboots happen then you have a ROM issue.
Q: How to configure the Kernel?
A: Easy way is with Spectrum app from Google Play Store. Synapse for more advanced users. Init.d scripts or Terminal/SManager or similar apps, for experts.
Q: I have issues with notifications, slow notifications while screen is off?
A: Disable battery app optimization for Google Play Services.
Q: YouTube videos are not playing, why? / Why am I getting random reboots (if using 99killer script)?
A: Remove the /system/etc/init.d/99killer script and reboot.
Q: Why not start with version 1.0 ?!
A: Because versions 1.0-1.3 were not released to the public and were tested in private by a group of dedicated people.
Q: What is NFS version?
A: Need for Speed version of the Phantom Kernel - higher and unsafe OC of CPU & GPU possibility. Only for Oreo versions.
Q:What is Smart Screen Dimming - SSD version?
A:It's a slightly modified version of this:
https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739
Q: I had a freeze/random reboot after I changed settings in Synapse, what can be the cause?
A: It can be a lot of things, but mostly an incompatibility in your chosen settings, if it's kernel related at all. The most known common things that are the cause of this can be Exynos-CPU-hotpluger (disable it), LMK parameters for Oreo version only (reset to defaults) or Doze settings (use stock). If any of these doesn't get rid of the reboots try resetting Synapse and wipe cache and dalvik cache. You can always post logs or details of your issue, to get help.
Q: After each boot i get my screen locked after a brief moment of using my phone and my phone vibrates 3 times, is this a bug?
A: This isn't a bug. The locking of the screen it's a workaround i added, to eliminate a bug where GPU utilization get's stuck. This will remain until i find a better way to solve this. There 3 vibrations is from the PK boot script telling you it has finished execution.
Q: Bixbi button remapper isn't working with Bixby button, how can I fix it?
A: Install Synapse and enable Android logging. (Thanks to @AiRMaX-360 for finding this fix).
Q: What is KernelSU - superuser module and how to get root access without Magisk?
A: Here you can find KernelSU project. This module can be used if root access is needed without Magisk. To get root 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 root access.
PS:
* NOT all apps will work with it.
** This also has no app that control access so don't leave it always enabled!
*** If Magisk or other su is found, then that root access method will be used.
Ver. 2.11.6 Changelog:
- optimizations for better battery life;
- bug fixes;
- added throttling frequency limit for mali driver;
- updated the frequency limits while screen-off module;
- switched back ext4 encryption (EXPERIMENTAL);
- updated 00modules script;
* Special HID drivers available as kernel modules only if needed (copy 00modules to init.d folder to enable modules);
* Joystick XPAD available as module only if needed (copy 00modules to init.d folder to enable module);
- added 99pkhosts script - adblocker script with update on boot (copy script to init.d folder to enable).
Ver. 2.11.5 Changelog:
- updated to Samsung Open Source N950FXXUDDTH1;
- added support for more Input Device Drivers, Special HID drivers, IEEE 1394 (FireWire) and VR;
- disabled some unneeded debugging;
- removed some deprecated code;
- performance optimizations and bug fixes.
Ver. 2.11.4 Changelog:
- merged Samsung open source N950FXXSDDTG5;
- ramdisk updated to N950FXXSBDTED;
- other bug fixes and optimizations.
Ver. 2.11.3 Changelog:
- SELinux permissive/enforcing depending on Magisk;
- changes for some ROMs (e.g. DeluxeROM) that need SELinux permissive at boot (Magisk is detected by some banking apps so a complete uninstall is needed for these apps to work);
- enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk - disabled (to get root 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 root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- CPU optimizations and bug fixes;
- added maximum overclock CPU frequency of CPU little cluster 1898 Mhz (generates lots of heat if OC-ed);
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos (may cause reboots, or even burn your phone, if enabled and is set to high);
- added frequency limits while screen-off and set 455-1248 | 741-1469 mhz as default;
- HMP optimizations;
- adjusted thermal limits a bit;
- android binder optimizations;
- Synapse update;
- minor PK boot script changes;
- other bug fixes in CPU, BT, abox and more...
Ver. 2.11.2 Changelog:
- bug fixes;
- moved PK dalvik protection and made it as an optional script found in =Phantom Scripts= folder for a better compatibility;
- disabled some more unneeded logging.
Ver. 2.11.1 Changelog:
- added enable/disable control of DVFS in sysfs for Exynos;
- updated Synapse (advanced tab);
- other bug fixes in CPU.
Ver. 2.11 Changelog:
- Samsung Open Source base N950FXXS8DSL3 (started from scratch) ;
- ramdisk updated to N950FXXSADTC4 and optimized;
- Linux version 2.2.111 (No more Linux updates);
- disabled unnecessary logging, tracing and debugging;
- added back goodies from 2.10.1, minus:
* STUNE and Stune Boost;
* Linux streams updates;
* UKMS and ZRAM;
* schedutil based govs: helix-util, blu-util, dark-util, pwxutil, electric-util;
- overall optimizations and tweaks;
- Synapse bug fixes;
- Spectrum profile bug fixes;
... and some other things (to many to add here).
Ver. 2.10.1 Changelog:
- bug fixes for GPU to avoid ramdom freezes;
[last update]
Ver. 2.10 Changelog:
- updated to Linux 4.4.201;
- set bic as default TCP congestion alogarithm;
- set cfq as defualt internal SD I/O scheduler.
- fixed GPU utilization stuck at 80% bug after first boot (screen won't turn off anymore upon the 3 vrations);
- fstab changes with noatime;
- Synapse update and bug fixes;
- Spectrum profiles update (cpuset optimization; Balanced profile: CPU.Big cores set at 2314000 mhz - stock freq)
- default CPU.Big core cluster set to 2314000 mhz;
- updated Simple LMK;
- switched to Simple LMK from Android LMK;
- zram misc fixes;
- memory compactation and page allocation optimization;
- PK boost script optimization (takes longer to finish, but uses less CPU and reduces boot lag);
- android binder optimizations;
- touchscreen optimizations;
- updated GMS patch script;
- removed /etc/sysconfig/google.xml overwrite upon flashing kernel (restore and use original ROM file to fix slow notifications);
... other bug fixes and improvements.
Ver. 2.9 Changelog:
- source updated to N950FXXU7DSJ1;
- ramdisk updated to N950FXXS7DSI3;
- updated to Linux 4.4.198;
- better compiler optimizations;
- security improvements;
- devfreq optimizations and possible some random issues fixed;
- binder optimizations;
- debugfs: Always compile core debugfs driver for Android kernels;
- Android sync performance improvement;
- FS: Reverted to original mbcache from mbcache2;
- FS: ext4 optimizations;
- Spectrum profiles update;
...some other bug fixes.
Ver. 2.8.2 Changelog:
- binder reverted to N950FXXS7DSH1;
- disabled debugging of binder and made some minor stability changes;
- Spectrum battery profile update.
Ver. 2.8.1 Changelog:
- updated to Linux 4.4.196;
- Mass Storage USB Composite fixes;
- DriveDroid support fixes.
Ver. 2.8 Changelog:
- updated to Linux 4.4.194
- interactive; schedutil, blu_schedutil, darkutil, helix_schedutil, electroutil and pwrutilx CPU governors changes;
- device tree changes - more battery friendly on low usage;
- anxiety I/O scheduler tunnig;
- I/O tuning;
- set deadline as default scheduler for external sdcard;
- removed Boeffla Wakelock Blocker;
- devfreq wake boost interval added in sysfs and in Synapse;
- kernel preemption optimization;
- Spectrum profiles updates and bug fixes;
- Synapse updates and bug fixes;
- added back exynos hot-plug sysfs on/off control (Mtweaks only);
- Synapse updates and bug fixes;
- disabled Simple LMK and enabled Android LMK;
- enabled Samsung's SPCM service;
- ramdisk changes;
- disabled Android logger after boot;
... other bug fixes (LightROM stuck on reboot/shutdown fix included).
Ver. 2.7.2 Changelog:
- removed GPU excessive debug messages;
- more HID bug fixes;
Ver. 2.7.1 Changelog:
- DS4 HID controllers bug fix;
Ver. 2.7 Changelog:
- updated to Linux 4.4.191;
- ramdisk update to N950FXXS7DSH1;
- merged N950FXXU6DSF6 source;
- SAMSUNG EXYNOS8895 SoC device tree changes;
- applied latest RT-186 patch;
- PK boost script update;
- CPU frequency scaling possible bug fix and a few optimizations;
- added back helix_schedutil, darkutil;
- bug fixes, optimizations and tunning for the following CPU governors: interactive, conservative, darkness, helix_schedutil, darkutil (updated), electroutil;
- CFS stune bug fixes;
- State Notifier driver implementation bug fixes.
- changed CPU input boost and devfreq boost drivers to work only with State Notifier;
- synced Panel/Dual Penel with DPU and State notifier;
- added CGROUP_SCHEDTUNE support;
- ramdisk changes to work with CGROUP_SCHEDTUNE;
- merged DYNAMIC STUNE BOOST with CPU INPUT BOOST and removed double driver;
- added memory compaction to all zones when suspended - disabled by default;
- devfreq boost driver fixes;
- CFS tasks boosting and CFS tasks boosting group subsystem fixes and tuning;
- CPU scheduler tuning (for more balance);
- tuned CPU and devfreq boosts;
- CPU and devfreq boosts uses GPU utilization to select between med and max step;
- GPU optimized for always on when screen is on and off while screen suspended;
- GPU control optimization - less debugging;
- Optimized Integer SQRT. for up to 3x faster operation;
- Disabled VNSwap / ZSwap;
- added ZRam tweaks and made some changes for better performance;
- ramdisk update for Simple LMK changes and better/faster ZRAM creation on boot.
- added a workaround to prevent race of lmkd and Simple LMK;
- Android binder driver optimizations;
- updated Synapse and Spectrum profiles;
- added GMS Doze patch and Cleaning scripts to Synapse;
- CPU input and devfreq boosts disabled as default;
- HMP boost fix for input events;
- Android ION driver optimizations - removed debugging and tracing;
- introduced anxiety I/O scheduler, improves reads over writes - default;
- reimplement mbcache and speed up cache entry creation;
- added back disable FSync;
- FS Sync optimizations;
- updated Boeffla WL driver and wakelocks list;
- Dynamic sync updated to v.2.0 (thx andip71);
- removed some more unneeded tracing and debugging;
- removed Debug FS and applied fixes because of it in various drivers;
- added timekeeping: keep suspend time logging when debugfs is disabled;
- moved /d/wakeup_sources to /proc/wakelocks if debugfs is disabled;
- reverted old DEX patch;
- used the stock config for /proc/config.gz;
... some other bug fixes and optimizations.
Ver. 2.6.1 Changelog:
- bug fixes:
* voLTE and voWifi not working on some devices;
* OEM unlock show correct status;
* SELinux show correct status;
* prevent CPU from entering deep sleep while handling touch interrupts;
* eliminated Android errors on missing parameters of Simple Android LMK;
* eliminated Android errors on missing input_boost files;
* ... and a few other bugs in FS, Crypto and Net;
- added ZRAM support;
- added zstd compression algorithm support (for ZRAM);
- Synapse update for ZRAM control;
- compiler and ION optimizations.
Ver. 2.6 Changelog:
- updated to Linux 4.4.182;
- added RMM State Remover for Samsung Devices
(Original idea by @BlackMesa123, updated by @_alexndr to add support modern Samsung devices with separate /vendor partition. Furtherly updated and adapted by @corsicanu for Pie support and new RMM(KG));
- Removed Boeffla Wakelock blocker;
- updated CPU boost driver and devfreq boost driver to be controlled from sysfs;
- stop cpuidle from beeing disabled when entering suspend;
- CPU boost and devfreq boost driver set to disabled on boot;
- added dynamic stune boost;
- ajusted CPU input boost for dynamic stune boost - frequency can't be controlled from sysfs.
- updated CPU boost driver:
* added new medium boost step;
* uses state_notifier to double check screen state and make sure no boosting is done when screen is off;
* checks if input frequency is disabled (0) before boosting and not execute boost of 0 mhz;
- re-done GPU boost with medium boost instead of maximum;
- updated devfreq boost driver to use state_notifier to double check screen state and make sure no boosting is done when screen is off;
- more battery optimizations Bluetooth and WiFi driver;
- interactive set as default CPU governor for balanced profile;
- blu_active CPU governor update;
- Spectrum profiles updated;
- Synapse updated with new options.
Ver. 2.5 Changelog:
- updated source to N950FXXU6DSD5;
- updated ramdisk to N950FXXU6DSD5;
- ramdisk changes - Deluxe ROM compatibility;
- updated to Linux 4.4.180 and made specific PK fixes;
- new compiler optimizations;
- morosound mod update (working with speaker and headpiece) and fixes;
- added back schedutil CPU governor and updated it;
- added new governors based on schedutil: blu_schedutil, helix_schedutil, darkutil, electroutil, pwrutilx governors;
- added energy cost bindings for Energy Aware Scheduling in Device Tree and Fair Schedule energy params for schedutil based governors possible usage;
- set blu_active/blu_schedutil governor as default;
- maple i/o scheduler optimizations;
- Spectrum profiles update;
- Synapse update and bug fixes;
- Phantom Kernel boot script updates and optimizations in execution after boot to eliminate lag;
- changed some PK tweaks for better stability;
- reduced max_pool_size of zswap from 50 to 20;
- updated CPU and BUS boost drivers;
- replaced Android Low Memory Killer with Simple Android Low Memory Killer;
- disabled core control and removed sysfs of CPU hotplugger;
- updated LZ4 compressor/decompressor modules;
- optimizations CPU, GPU, BUS, I/O, HMP, thermal and many more;
- bug fixes;
- removed unneeded logging, tracking and debugging for better battery savings;
- tuned CPU and BUS boost duration for better smoothness;
- some other adjustments to eliminate lag.
Ver. 2.4 Changelog:
- merged NFS version into regular version;
- CPU OC possibility of 2808 Mhz;
- updated to Linux 4.4.179;
- CPU, HMP, GPU, BUS and memory manager optimizations;
- ISP, CPU, GPU thermal ajustments;
- blu_active governor adjustments;
- enabled swap back (zswap,vnswap);
- ramdisk bug fixes;
- Phantom Kernel boot script update;
- PK boot script vibrates three times on complete;
- Synapse updates and bug fixes;
- Spectrum profiles updated and vibrate once on apply;
- Gaming Spectrum profile is safely OC-ed now, CPU at 2496 Mhz and GPU at 572 Mhz;
- disabled Dynamic FSync on boot - can be enabled after if needed for extra performance;
- Enabled software CRCs on the data blocks can be up to a significant 30% performance cost, but can be disabled for extra performance;
- enabled nmi_watchdog - can be enabled after if needed for extra performance;
- Entropy adjustments and optimization;
- Boeffla Wakelock blocker's wakelock list updated;
- LMK tweak removed - stock values used;
- enabled back Samsung SPCM service;
- Synapse updated for LMK - Custom profile has the removed LMK tweak values in case you need it;
- compiler performance optimizations and warnings fixes;
- added support for DriveDroid app;
- added CIFS support;
- set tweaked maple as default I/O scheduler;
- UKSM disabled on boot;
... and other bug fixes and optimizations.
Ver. 2.3 and NFS Changelog:
- updated installer script and added clean of BusyBox from ZIP installer script;
- Phantom Kernel's boot script update: tweaks and fixes;
- added devfreq boost and event-based CPU boosting drivers (by Sultan Alsawaf );
- added CPU boost on some events (credits to: @remilia15):
* Boost CPU for app launches and app transitions;
* Boost CPU to the max for 50 ms when userspace launches an app;
* Boost when memory pressure becomes high;
- set minimum GPU frequency to 260 Mhz on boot;
- some parameters of SAMSUNG EXYNOS8895 SoC device tree reverted to stock to eliminate lag;
- Synapase fixes;
- Spectrum profiles updated;
- ... and some other adjustments, fixes and tweaks for a better balanced experience.
Ver. 2.2 and NFS Changelog:
- updated to Linux 4.4.178;
- ramdisk updated to N950FXXS5DSC5l;
- enabled CPU Core control;
- performance and battery life adjustments to BUS/GPU/CPU;
- optimized CPU, GPU and thermal;
- CPU DVFS disabled on boot;
- minor CPU blu_active governor tweaks;
- GPU OC possibility to 572 mhz.
- set 338 Mhz as default minimum GPU frequency;
- other GPU/CPU optimizations;
- added Dynamic FSync;
- optimized the ext4 fsync;
- VM tweaks for better smoothness;
- disabled some more unneeded tracing, logging and debugging;
- disabled swap (zswap,vnswap);
- enabled UKSM as default;
- Memory Management and utilities optimizations;
- PK boot script adjustments;
- added CPU Input Boost on touch events;
(This will make min CPU frequeuncy jump in Synapse. Set it to Disable if it's annoying you, or tune it for more performance/battery. I recommend to leave it like this for now.)
- removed zzmoove governor (causes random reboots);
- added Morosound mod for Madera/CS47L92;
- int. and ext. I/O schedulers set to tweaked deadline;
- enable optimized cryptographic algorithms;
- Magisk 19 compatibility fixes and optimizations;
- Boeffla wakelock blocker wakelocks list updated;
- updated Synapse and Spectrum profiles;
- Synapse fixes (clear Synapse data after flashing kernel).
Ver. 2.1 and NFS Changelog:
- removed SEC_SELINUX_PORTING_COMMON;
- added override RGB in sysfs;
- disabled some unneaded loging, tracing and debugging;
- deadline set as default I/O scheduler for internal and external storage
- TWRP zip installer updated:
* added safety feature to flash on N950 device only;
* small fixes when patching ROM files;
* faster script execution;
* double compressed ZIP/TAR.xz combo for boot.img and patched libs (overall smaller size for better distibution);
* Script face-lift.
- disabled SELinux forced enforcing and some security patches;
- disabled schedutil governor and FREQVAR_SCHEDTUNE until;
- Spectrum battery profile corrected;
- ramdisk cleanup;
- ramdisk fixes for Magisk 18.2 compatibillity;
- ramdisk tweaks and other minor adjustments;
- added UFS/NTFS/ISO9660/JOLIET/ZISO/UDF/UDF_NLS;
- disabled CONFIG_LOD_SEC (Linux on dex security);
- Boeffla Wakelock blocker wakelock list updated;
- fixed BOEFFLA_WL_BLOCKER blocking "OK Google!" on some devices;
- and a few other minor adjustments...
Ver. 2.0 and NFS Changelog:
- initial upload. Enjoy!
Ver. 1.9.3 and NFS Changelog:
- Removed all LED tweaks except fade control (because of compatibility issues)
- Spectrum battery profile correction
- Synapse LED options and HMP profiles updated.
* There is a Smart Screen Dimming and a non-Smart Screen Dimming version of the kernel available for download.
Ver. 1.9.2 and NFS Changelog:
- ramdisk optimizations
- updated net drivers (Wifi + Bluetooth)
- added binfmt_misc support
- Phantom scripts update
- DraStic fixed (and probably dome other apps)
- other bug fixes...
Ver. 1.9.1 and NFS Changelog:
- bug fixes (LED, UFS)
- Phantom Kernel boot scripts update
- re-enabled some of the disabled logging for Magisk compatibility
- disabled /data temp files cleaning and fstrim when charging starts
- added 99maid.sh to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
Ver. 1.9 and NFS Changelog:
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations
- Updated to Samsung Open Source N950FXXU5CRK2
- Updated to Linux 4.4.169
- used net (Wifi + Bluetooth) from stock N950FXXU5CRK2 (better stability overall)
- added Synapse support (with a lot of optinons, a lot)
- added Spectrum profiles to Synapse
- clean-up some Synapse action scripts
- added clean Synapse data from kernel .zip on flash
- zip flashing script fixes
- added /data temp files cleaning and fstrim when charging starts
- added patches and fixes for compatibility with Synapse to various drivers (hotpluger, logger, s.o)
- added ROW and FIFO I/O Schedulers
- various ramdisk fixes
- Phantom ramdisk scripts updated
- ramdisk changes, added some more tweaks and optimizations
- reverted some old VM tweaks for better battrey life
- set voLTE enabled props from ramdisk (just in case...)
- Spectrum profiles updated and bugs fixes
- made Spectrum profile to reset on boot for Synapse compatibility
- added zipalign and sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
- CPU Samsungplug optimizations and CPU core control
- Spectrum profiles updated (added core control)
- enabled schedule workqueues on awake CPUs as default
- Boeffla wakelock blocker wakelocks tunning
- GPU.mali tuning
- LED voltage ajustments and intensity control updated/fixed (use this with Synapse for better compatibility)
- Smart Screen Dimming optimizations (when brightness hits 0 gamma starts increasing)
- added multipath TCP
- multipath TCP added to Synapse
- added back TCP congestion: lia, olia, wvegas, balia (MPTCP linked)
- disabled Kernel logging on boot as default
- 100% compatibility with Spectrum and Synapse, with Mtweaks not so much.
Ver 1.8.1 and 1.8.1 NFS Changelog:
- merged/used ELS source tree updated to Linux 4.4.163
- SELinux quick fix for deodexed ROMs
- added ramdisk patch for SELinux to always permissive.
Ver 1.8 and 1.8 NFS Changelog:
- compiled with UBERTC 5.4.1 + GRAPHITE optimizations
- merged/used ELS source three updated to Linux 4.4.162
- added Smart Screen Dimming
- panel optimizations and mdnie override RGB posibility
- added mega SeLinux patch (thanks to @corsicanu)
- boot SeLinux FLAGS set to always permissive and fake enforced
- Spectrum profiles updated
- wifi drivers updated from N950FXXU5CRHA (blobs removed)
- battery_v2 drivers update (N950FXXU5CRHA)
- other updates from N950FXXU5CRHA
- removed TCP congestion algorithms: LIA, OLIA,WVEGAS,BALIA
- removed MPTCP (old Samsung driver - compatibility issue)
- added ODM workaround to ramdisk
- GPU and CPU performance optimizations
- HMP improvements
- updated GMS Doze .xml
- default TCP congestion algorithm is westwood
- ...other small bug fixes and tweaks
Ver 1.8 NFS Changelog:
* all of ver.1.8 changes and:
- increased Voltage for 683 mhz step by 50 (max possible to be safe)
- Spectrum profiles updated to get more performance compared to ver. 1.8
Ver 1.7 and 1.7-NFS Changelog:
- update to Linux 4.4.161
- merged/used ELS Project source tree updated to Linux 4.4.160
- schedutil governor fix (reverted to old code because new code caused random reboots)
- optimized interactive governor set as default on boot and for balanced profile
- All Spectrum profiles updated with optimizations, some changes and fixes.
- WireGuard updated to latest
- added CPU Touch boost extended with scheduler tune based on top apps (disabled as default).
- security patch fix for SELinux always to permissive mode (to fix FCs of LockScreen/Settings on Deluxe ROM and other)
- led (fade) control update. Now it's more than fade.
- RGB Leds brighness/timing tweaks.
- ramdisk fixes
- added swap support back
- disabled UKMS to run on boot
Ver 1.6 Changelog:
- Updated to Samsung Open Source N950FXXU5CRHA
- Updated ramdisk to N950FXXU5CRHA
- updated to Linux 4.4.159
- introduce Exynos dtbtool to the Linux build system (Credits & Thanks: @farovitus & @corsicanu)
- build from dts rev7 (Credits & Thanks: @farovitus & @corsicanu)
- 99killer script update
- phantom ramdisk scripts update
- added 4 more boeffla wakeloks to block
- Phantom customizations fixes
- Spectrum battery, balanced profiles changes to use schedutil governor
- minor CPU scaling method update
- CPU.little default governor set to schedutil
- schedutil governor updated and tweaked for better performance and battery life
- schedutil governor changes to use different rate limit when in suspend/active
Ver 1.6 NFS Changelog (EXPERIMENTAL):
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
- Same changes as ver. 1.6
- 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.)
Ver 1.5 Changelog
- updated to Linux 4.4.153
- CRGA ramdisk update
- added UKSM 0.1.2.6
- Possible max CPU OC frequency set to 2704 Mhz
- added darkness and bioshock governors
- 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
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia)
- moved 99killer script to /.phantom folder (in case you need it)
- fixed Spectrum and Mtweaks incompatibility when using both apps
- added SysFS control for printk logger
- updated LZ4 kernel module to LZ4 v1.7.3
- a lot of ramdisk fixes and optimizations
- removed SEC_SELINUX
- added a more efficient RMM lock patch
- added fake FLAGS to help Magisk
- update the installer script from kernel .zip file
... and some other stuff that i don't recall.
seems nice, gonna try after i find a new rom
Did you took it off. It says file not found
Phantom Kernel v.1.4 is up and available for download.
Enjoy!
works pretty well with magisk 16.7
Thx so much for the kernel work
what aout gpu oc?
Motawa88 said:
what aout gpu oc?
Click to expand...
Click to collapse
Maybe, in the next update. If it's stable in testing. No promises.
Sent from my SM-N950F using Tapatalk
very great kernel bro as in the time of note 3
Wifi ist Not working
Benny100 said:
Wifi ist Not working
Click to expand...
Click to collapse
try this e report thanks
ammisr said:
what does it do?
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
Flash
Wifi fix is working Big THX!
Benny100 said:
Wifi fix is working Big THX!
Click to expand...
Click to collapse
[emoji6][emoji106] WELCOME
Inviato dal mio SM-N950F utilizzando Tapatalk
6h0st kernel for N8. Nice! Used your Know N3 kernel.
TurricanM3 said:
6h0st kernel for N8. Nice! Used your Know N3 kernel.
Click to expand...
Click to collapse
welcome :good:
ammisr said:
This was taken when using v1.4, best SOT i have ever had. almost 7 hours
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
how long SOT
nevermind didnt see the edit
Battery life test graph:
{
"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-N950F using Tapatalk

Categories

Resources