[KERNEL] [ROOT] [SM-N920* Exynos 7420] [19 Feb] SkyHigh TW 5.1.1 Kernel [v4.5]

Status
Not open for further replies.
Search This thread

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
[KERNEL] [ROOT] [SM-N920* Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]

*** DEVELOPMENT & SUPPORT CEASED FOR 5.1.1 ***

WARNING

Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://xdaforums.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD), 
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]


FEATURES

Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source:
[INDENT][COLOR="red"]N920C/CD/I/G[/COLOR] XXU2APA2
[COLOR="red"]N9200[/COLOR] ZCU2AOL2
[COLOR="red"]N9208[/COLOR] XXU2AOL1[/INDENT]
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.96
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR]  (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)


SYNAPSE FEATURES


ABOUT

  • PayPal Donation link
  • SkyHigh kernel thread link
  • Up time
    Total
    Sleep
    Awake​


A57 CPU

  • A57 big Cores Frequency Scaling
    live frequency
    MAX: 2400 MHz (stock 2100 MHz is default)
    MIN: 500 MHz (stock 800 MHz is default)​

A57 VOLT

  • HPM voltage control
  • A57 big Cores voltage control

A53 CPU

  • A53 LITTLE Cores Frequency Scaling
    live frequency
    MAX: 1600 MHz (stock 1500 MHz is default)
    MIN: 200 MHz (stock 400 MHz is default)​

A53 VOLT

  • HPM voltage control
  • A53 LITTLE Cores voltage control

CPU GOV

  • CPU governors
    interactive (default)
    on-demand
    conservative
    ktoonservative (hotplug)
    userspace
    performance​
  • Interactive governor live load at current frequency (A57+A53)
  • Interactive governor tuning (profiles)
    Default
    Battery
    Performance
    Turbo Mode​

A57 GOV

  • A57 governor tunables

A53 GOV

  • A53 CPU governor tunables

MULTICORE

  • HMP threshold tuning profiles
    Default
    Performance
    Battery​
  • HMP threshold controls for up/down migration
  • Power Aware Scheduling control
  • HMP LITTLE Packing
  • PEWQ (Power-efficient Workqueues) control
  • Exynos Core Control Interface (choose 5 > 8 cores online)

CPU STATS

  • CPU0 time in state
  • CPU4 time in state

BOOST

  • Input-Booster profiles
    key
    touchkey​

GPU

  • GPU stats
    Current clock freq
    Live Frequency Utilization (load)
    Time in state​
  • GPU power policy control
    coarse_demand (default)
    demand
    always_on​
  • GPU frequency scaling
    Max freq control to 852 MHz (700 MHz is default)
    Min freq control to 100 MHz (stock 266 MHz is default)​
  • GPU Governor
    Default
    Interactive (default)
    Static
    Booster (more graphic and benchmark performance)​
  • GPU Interactive Governor tunables
    highspeed clock
    highspeed load
    highspeed delay​

GPU VOLT

  • HPM voltage control
  • GPU voltage control

THERMAL

  • Sensor temperatures
    A57
    A53
    GPU
    ISP​
  • CPU thermal control
    normal temp
    critical temp​
  • GPU thermal control
    On/Off thermal manager
    temp levels 1 > 5
    throttling freq levels​
  • Memory thermal control
    normal temp
    critical temp​
  • ISP (Image Signal Processor) thermal control
    temp levels 1 > 5​

BUS

  • Memory Bus HPM voltage control
  • Memory Bus voltage control
  • Internal Bus voltage control
  • ISP (Image Signal Processor) voltage control

IO

  • I/O Schedulers

    BFQ (tweaked for SSD)
    DEADLINE (tweaked for SSD)
    FIOPS
    CFQ = default (tweaked for SSD)
    NOOP
    ROW (tweaked)​
  • Storage read-ahead (256 KB)
  • General IO tuneable
    Add random
    IO stats
    Rotational
    No merges
    RQ Affinity
    NR requests​
  • I/O scheduler tunables

MEMORY

  • Memory state
    Total
    Free​
  • Low Memory Killer Profiles
    Low
    Medium
    Custom (recommend)
    Default (default)
    Aggressive
    Exterminate​
  • Low Memory Killer minfree tuning (OOM LMK)
  • Adaptive Low Memory Killer
    vmpressure_file_min​
  • Samsung SPCM Service control (Enabled = default/stock)
  • Ultra Kernel SamePage Merging (UKSM)
    UKSM stats
    Scan Delay Interval
    UKSM Governor
    Max CPU consumption​
  • Dynamic FSYNC control (enabled)
  • Dynamic dirty page writeback control (enabled)
    Dirty writeback active
    Dirty writeback suspend​
  • Virtual Memory
    Virtual NAND Swap control (VNSwap)
    ZSwap memory pool
    Adaptive Dirty Background Ratio on suspend / resume
    Adaptive Dirty Ratio on suspend / resume
    Drop caches (Clear VFS cache after boot)
    Laptop Mode
    Swapiness
    Adaptive vfs_cache_pressure on suspend / resume​

ADVANCED

  • Entropy (max 4096)
  • Gentle Fair Sleepers control (disabled)
  • Arch Power control (enabled)
  • randomize_va_space control
  • pm_freeze_timeout control
  • Google Play Services Battery Drain Fix
  • Driver wakelock controls
    SensorHub
    ssp_sensorhub​
    SSP
    sig_motion_sensor
    pickup_gesture
    grip_sensor
    tilt_detector
    proximity_sensor​
    bcm4773
    bcm4773_gps​

POWER SUSPEND

  • Modes:
    Autosleep
    Userspace
    Display Panel
    Hybrid (Autosleep + Display Panel) = default​
  • PowerSuspend State (enable only with Userspace mode set)
  • Version push button

AUDIO

(Sound Control by AndreiLux)

  • Jack media volume control
    L/R channel volume
    mono mixer​
  • Speaker volume control
    Earpiece volume​
  • Main Equalizer
  • Advanced Stereo Equalizer

SCREEN

  • Live panel brightness
  • sweep2sleep control

NETWORK

  • TCP congestion control
    All available enabled.
    Default = westwood+​
  • Screen mirror/allshare cast fix control (enabled)
  • Clean WIFI Lease
  • WIFI Passwords
    Save
    Restore​
  • WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
  • RX wakelock timeout control
  • TCP/IP network security
  • 3G DNS speed & security tweak
    Google
    OpenDNS
    Comodo, Level3
    Norton_DNS
    Smart_Viper​
  • GPS time-zone
    Original
    Asia
    Europe
    Oceania
    North America
    South America
    Africa​
  • IPV6-protocol
    IPv6 Test push button
    IPv6 enable / disable
    optimistic detection​

SECURITY

  • KNOX control
    NO_ACTION (default)
    Disabled
    Enabled​
  • SELinux
    Live status​

BATTERY

  • Battery info
  • Charging controls
    HV power supplies
    A/C Mains
    A/C Mains (screen-on)
    Standard downstream port
    Dedicated charging port
    Charging downstream port
    Accessory charging adapter
    MHL power
    Wireless power​
  • Store Mode
    enable / disable (master control)
    Store Mode Maximum
    Store Mode Minimum​
  • Battery SCALING calibration (fuel gauge reset)

LED

  • LED disable control
  • LED Fade-in/out Time Period
    LED Fade control
    Fade-in
    Fade-out​
  • Test notification push button
  • Stop notification push button

FS (File System)

  • Display FS Type
  • FS Controls
    remount System r/w r/o
    remount RootFS r/w r/o​
  • Scrolling cache control
  • Optimise Databases (SQLite3)
  • FSTrim lagfix
  • Wipe options
    cache reboot
    dalvik-cache reboot
    cache & dalvik-cache reboot​
  • Clean up
    clipboard cache
    /data/tombstones
    /data/anr logs
    /data/dropbox logs
    lost+found​

CORTEXBRAIN

  • Live status
  • Cortexbrain-Background-Process (Master Switch)
  • CortexBrain Functions
    WiFi Auto
    Media Manager
    System-Tweaks
    Kernel-Tweaks
    nmi_watchdog​

CRONTAB

  • Live status
  • CronTask (Master Switch)
  • Cron Tasks
    Clean RAM cache (every hour)
    Google Service restart (every 3 hours)
    Clean app cache & junk (every day at 4:30AM UTC)
    clipboard cache
    /data/tombstones
    /data/anr logs
    /data/dropbox logs
    lost+found​
    Optimize databases (every day at 4:40AM UTC)
    File system trim (every day at 4:50AM UTC)
    Battery scaling calibration (every Sunday at 5:00AM UTC)​
  • Test Cron Task jobs

USB

  • USB status
  • USB mode selection
    MTP
    PTP
    CD_ROM (drivedroid support)
    USB_Keyboard-Mouse​

MODULES

  • CIFS
  • NTFS
  • ISO9660_FS
  • UDF
  • XPAD

BACKUP & RESTORE

  • Name - Restore - Delete - Backup
    profiles
    kernel image​

LOGS

  • Android Logger control (enabled)
    LogCat​
  • Kernel Logger control (enabled)
    dmesg
    last_kmsg​

REBOOT

  • Reboot device
  • Recovery Mode
  • Download Mode
  • Power Off
  • Clear Synapse Data & Reboot
  • Restart Synapse

INFO

  • Reduced logging
  • exFAT FS support
  • NTFS R/W support with app
  • CIFS support (not tested)
  • ISO 9660 CDROM & UDF FS support
  • Frandom
  • mount partitions NOATIME and NODIRATIME by default
  • FSTrim on boot (ensure consistent IO throughput)
  • Entropy tweaks
  • Increased boot frequency
  • Power-efficient workqueue (PEWQ) efficiency patches
  • CLEANCACHE & ZCACHE
  • Microsoft X-BOX gamepad controller module (updated)
  • LZO de/compression algorithm
  • Slub tweaked
  • Much more - check source commits & Synapse


CREDITS

  • My family !!
  • @Chainfire - root & SuperSU / @Manh_IT - auto-root method
  • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
  • @halaszk88 - patches and Synapse code I adapted to many of my kernels
  • @dorimanx - BusyBox and various ramdisk tweaks/ideas
  • @apb_axel - I adapted and used many of the Synapse controls to suit my kernels
  • @arter97 - various source fixes/patches
  • @ktoonsez - ktoonservative hotplug governor
  • @LuigiBull23 - ktoonservative profiles I've adapted
  • XDA
  • Samsung OSRC
  • and many others!
  • check github source credits
  • IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS

XDA:DevDB Information
SkyHigh Note 5 Exynos 7420 Kernel, Kernel for the Samsung Galaxy Note 5

Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920

Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS

Version Information
Status: Stable
Current Stable Version: 4.5
Stable Release Date: 2016-02-19

Created 2015-08-29
Last Updated 2016-03-04
 

Attachments

  • Synapse.png
    Synapse.png
    194.4 KB · Views: 44,986
  • Root.png
    Root.png
    247.8 KB · Views: 44,675
  • Software_info.png
    Software_info.png
    216.1 KB · Views: 44,569
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Warning - ChangeLog - Requirements - Installation - Download - Source

** DISCLAIMER : FLASH AT YOUR OWN RISK **

WARNING :


Code:
[COLOR="Red"]* 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 !![/COLOR]


CHANGE-LOG

  1. Open GitHub Change-Logs
  2. Tap/click "Full Change log" under the latest version (i.e. v4.5)
  3. Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
  4. Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit

REQUIREMENTS

  1. Variant support for:
    SM-N920C / CD / G / I
    SM-N9200
    SM-N9208_SEA (SM-N9208_TW reported to work, but no official support)​
  2. Watch >>> THIS <<<
  3. FOR BUG REPORTING: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (this means no Xposed or tweaks etc)
  4. Custom recovery i.e.. TWRP

INSTALLATION

  1. If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
    Open SuperSU app
    Select "Full unroot" option
    Reboot (or flash kernel)
    Re-install SuperSU app
  2. Uninstall any CPU control apps, tweaks and init.d scripts etc.
  3. Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
  4. Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
  5. Device Settings:
    Enable Developer Options > OEM UNLOCK
    If flashing from any custom kernel with Synapse app > Device settings > Applications > Synapse > Force Stop > clear data​
  6. If not installed > Install SuperSU from Google Play:
  7. N9200/N9208: unlock your bootloader >> Install and run CROM service unlock app from Galaxy App Store (this will probably wipe your accounts). If you have problems with CROM, try without it !
  8. Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
  9. After boot:
    a) wait at least 120 secs to stabilize
    b) Open Synapse
    c) Tap "Understood"
    d) DO this step so some defaults are set !!
    1. tap the square menu button top right hand corner
    2. tap the three dots button
    3. "select all globally"
    4. tap the back button next to it
    5. apply​



DOWNLOADS

Mod Edit: Links Removed



SOURCE

ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!

Github


.
 
Last edited by a moderator:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Help and FAQ

THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:

I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks

BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:

Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. Delete your ROM BusyBox (kernel uses it's own in /sbin)


ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:

Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.

ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!


THANK YOU :good:


NO FAST CHARGE

  • If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
  • Use a thicker / better cable, will work every time (ie. Note4 OEM cable)

CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?


I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
  • Sorry. I don't have the spare time for any more variant support.

"NO UCI SUPPORT"

It's a ROM busybox compatibility issue

Three choices:

  1. Device > settings > applications > Synapse > force close & wipe data and REBOOT

OR

  1. Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
  2. Force stop Synapse and delete app data (device settings > applications)
  3. Re-flash kernel as per Installation Instructions

OR

  1. Try install a different busybox
  2. Force stop Synapse and delete app data (device settings > applications)
  3. Re-flash kernel as per Installation Instructions

Synapse or BACKUP/RESTORE ISSUES

It's a ROM busybox or sqlite3 compatibility issue

  1. Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
  2. Device > settings > applications > Synapse > force close & wipe data
  3. Reboot or re-flash kernel as per Installation Instructions

BACKUP & RESTORE

  1. DO NOT restore profiles from different kernel version
  2. Refer to THIS post for "how-to" screen-shots
  3. Refer to THIS post for a "how-to" video (thanks @aldoblaga )

LOADABLE MODULES AREN'T WORKING

  • Check your /system/lib/modules directory. Are any ____.ko present?
  • Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
  • Re-flash the kernel will install the modules.
  • If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
  • You can check running modules in terminal with:
    Code:
    lsmod

KTOONSERVATIVE GOVERNOR

DT2W & COLOUR CONTROL

  • No, I cannot make it work properly with single source for all supported variants

CPU POWER CONSUMPTION

F2FS SUPPORT


STUCK ON SAMSUNG BOOT LOGO AFTER FLASH

  1. Ensure you flashed the correct kernel for your device model
  2. Ensure your download is not corrupted. Check MD5 hash or re-download
  3. Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.

CM SUPPORT

Read Post #12


"Unauthorized actions have been detected, reboot to undo changes"

As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX


CAN I USE OTHER KERNEL CONTROL APPS


  • No, many features and options won't be available. Remove all other control apps to avoid conflicts !
  • Synapse is the recommended and has everything you need ;)

BATTERY TIPS


  • Try some (or combination) of the CPU MULTICORE features in Synapse:
    HMP profile = Battery
    Power Aware Scheduling (slight performance cost) = Enabled
    HMP LITTLE Packing (slight performance cost) = Enabled
    PEWQ (power-efficient workqueue) (slight performance cost) = Enabled​
  • Set A57 & A53 Interactive governor profile = Battery
  • Set Input-Booster for key/touchkey profile = Battery
  • Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
  • Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
  • Set WiFi wakelock control to 2 or 3


PERFORMANCE TIPS


  • Set A57 & A53 Interactive governor profile = Performance
  • Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
  • Once in a while:
    Optimize Databases
    FSTrim​


RANDOM REBOOT

  1. Don't UV or UC CPU or GPU
  2. Use SkyHigh defaults
  3. Use a stock UNMODIFIED ROM for your device variant
  4. No tweaks, Xposed or other CPU control apps installed

ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)

This is an example from my Exynos5420 source. Similar idea for Exynos420

CAN I INCLUDE SkyHigh KERNEL IN MY ROM

  1. Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
  2. Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.

DOWNLOAD LINK NOT WORKING

  1. I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
  2. Please try again in a few minutes

POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE

  1. Disable any CPU MULTICORE options in Synapse
  2. Disable any Battery profiles in Synapse. Set to default or Performance.
  3. Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
  4. HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE

DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS

* [Christopher83]

This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.

Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)

This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947


TCP/IP NETWORK SECURITY


* Thanks to zeppelinrox & V6SuperCharger
  1. Hardening the TCP/IP stack to SYN attack
  2. Bump up tw_buckets in case we get DoS'd
  3. Ignore pings
  4. Don't cache connection metrics from previous connection
  5. Don't pass traffic between networks or act as a router
  6. Enable spoofing protection (turn on reverse packet filtering)
  7. Don't accept source routing
  8. 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


CHROMECAST - STREAMING PROBLEMS


* Thanks to @AtLmd Post
  • Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
  • Synapse > Network > DTIM (both screen ON & OFF) = 1
  • Synapse > Network > WIFI Power Mode (screen OFF) = FAST

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Does it also work on N920I?
Any download link for testing?

Currently only SM-N920C - my device

Just in the final stages of cleanup >> update Posts #2 & 3 >> release soon.

Other variants :

  1. users will require to post here the latest boot.img for their device and from which firmware build you extracted from.
  2. download from sammobile.com or samsung-updates.com (1.5+ GB)

WARNING :

  1. If your device is bootloader locked or similar restrictions, this kernel will not help and most likely end in BRICK
  2. Warranty most likely voided as KNOX 1 flag is tripped.
 

Lo Xa

Senior Member
Mar 24, 2008
109
19
Saigon
Mine device is SM-N920C (Thailand) too. I've got it rooted from the thread of Manh_IT and it's randomly reboot 3/4 times a day. Will the issue solved when flash your kernel when it's available. Thanks for your time UpinTheAir!
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Mine device is SM-N920C (Thailand) too. I've got it rooted from the thread of Manh_IT and it's randomly reboot 3/4 times a day. Will the issue solved when flash your kernel when it's available. Thanks for your time UpinTheAir!

I would not know about random reboot on your device. I would suggest to factory reset and immediately flashing stock ROM firmware to make sure your device is clean. After setup, flash SkyHigh kernel with Odin (FOLLOW INSTALLATION INSTRUCTIONS). Test first before making any modifications / tweaks and also before TWRP etc !!

I have no problems yet ;)
 
Last edited:
  • Like
Reactions: nahsen27

jpeps3

Senior Member
Apr 5, 2011
703
67
:D[KERNEL] [ROOT] [SM-N920 Exynos 7420] [29 August] SkyHigh TW 5.1.1 Kernel [v1.0] [Synapse ++]

WARNING

Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://xdaforums.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD), 
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]


FEATURES

Code:
* Based on official Samsung source: 
* ramdisk source: 
* Compiled with Google ARM Toolchain GCC 4.9
* Linux 3.10.61
* [COLOR="red"]AUTO-ROOT[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR]  (for Titanium Backup and other apps to work correctly)
* adb insecure
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on flash)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)


SYNAPSE FEATURES


ABOUT

  • PayPal Donation link
  • SkyHigh kernel thread link
  • Up time
    Total
    Sleep
    Awake​


A57 CPU

  • CPU temperature
  • A57 big Cores Frequency Scaling
    live frequency
    MAX: 2100 MHz (stock/default)
    MIN: 800 MHz (stock/default)​
  • HPM voltage control
  • A57 big Cores voltage control
  • CPU governors
    interactive (default)
    on-demand
    conservative
    userspace
    performance​
  • CPU governor tunables


A53 CPU

  • A53 LITTLE Cores Frequency Scaling
    live frequency
    MAX: 1500 MHz (stock/default)
    MIN: 400 MHz (stock/default)​
  • HPM voltage control
  • A53 LITTLE Cores voltage control
  • CPU governors
    interactive (default)
    on-demand
    conservative
    userspace
    performance​
  • CPU governor tunables


HMP

  • Up thresholds
  • Down thresholds



GPU

  • GPU stats
    Current clock freq
    Live Frequency Utilization (load)
    Time in state​
  • GPU power policy control
    coarse_demand (default)
    demand
    always_on​
  • GPU Governor
    Default
    Interactive (default)
    Static
    Booster (more graphic and benchmark performance)​
  • GPU Interactive Governor tunables
    highspeed clock
    highspeed load
    highspeed delay​
  • HPM voltage control margin
  • GPU voltage control


BUS

  • Memory Bus HPM voltage control
  • Memory Bus voltage control
  • Internal Bus voltage control
  • ISP (Image Signal Processor) voltage control

IO

  • I/O Schedulers

    DEADLINE
    CFQ
    NOOP​
  • Storage read-ahead (256 KB)
  • General IO tuneable
    Add random
    IO stats
    Rotational
    No merges
    RQ Affinity​
  • I/O scheduler tunables


MEMORY

  • Memory state
    Total
    Free​
  • Low Memory Killer Profiles
    Low
    Medium
    Custom (recommend)
    Default (default)
    Aggressive
    Exterminate​
  • Low Memory Killer minfree tuning (OOM LMK)
  • Kernel SamePage Merging (KSM)
    KSM stats
    Pages to scan
    Deferred timer​
  • Virtual Memory
    Dirty Background Ratio
    Dirty Ratio
    Drop caches (Clear VFS cache after boot)
    Laptop Mode
    Swapiness​


ADVANCED

  • Entropy (max 4096)
  • Gentle Fair Sleepers control (disabled)
  • Arch Power control (enabled)
  • randomize_va_space control


AUDIO

(Sound Control by AndreiLux)

  • Jack media volume control
    L/R channel volume
    mono mixer​
  • Speaker volume control
    Earpiece volume​
  • Main Equalizer
  • Advanced Stereo Equalizer


NETWORK

  • TCP congestion control
    All available enabled.
    Default = westwood+​
  • Screen mirror/allshare cast fix control (enabled)
  • Clean WIFI Lease
  • TCP/IP network security
  • 3G DNS speed & security tweak
    Google
    OpenDNS
    Comodo, Level3
    Norton_DNS
    Smart_Viper​


SECURITY

  • KNOX control
    NO_ACTION (default)
    Disabled
    Enabled​
  • SELinux
    Live status​


BATTERY

  • Battery info
  • Battery SCALING calibration (fuel gauge reset)


FS (File System)

  • Display FS Type
  • FS Controls
    remount System r/w r/o
    remount RootFS r/w r/o​
  • Scrolling cache control
  • Optimise Databases (SQLite3)
  • Wipe options
    cache reboot
    dalvik-cache reboot
    cache & dalvik-cache reboot​
  • Clean up
    clipboard cache
    /data/tombstones
    /data/anr logs
    /data/dropbox logs
    lost+found​


BACKUP & RESTORE

  • Name - Restore - Delete - Backup
    profiles
    kernel image​


LOGS

  • LogCat
  • dmesg
  • last_kmsg


REBOOT

  • Reboot device
  • Recovery Mode
  • Download Mode
  • Power Off
  • Clear Synapse Data & Reboot
  • Restart Synapse


INFO

  • Reduced logging
  • exFAT FS support
  • NTFS R/W support with app
  • CIFS support (not tested)
  • Frandom
  • mount partitions NOATIME and NODIRATIME by default
  • Entropy tweaks
  • CLEANCACHE & ZCACHE
  • Microsoft X-BOX gamepad controller in-built module
  • Much more - check source commits & Synapse


CREDITS

  • My family !!
  • @chainfaire - root & SuperSU / @Manh_IT - auto-root method
  • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app
  • @halaszk88 - patches I've adapted to many of my kernel
  • @dorimanx - BusyBox and various ramdisk tweaks/ideas
  • @apb_axel - I adapted and used many of the Synapse controls to suit my kernels
  • 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 5 Exynos 7420 Kernel, Kernel for the Samsung Galaxy Note 5

Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N915

Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS

Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2015-08-29

Created 2015-08-29
Last Updated 2015-08-29

https://drive.google.com/file/d/0B2YU1VP-Wj-pRE14YmJJdldSTHc/view?usp=docslist_api
N920TUVU1AOGE_N920TTMB1AOGE_TMB.
 

bill340

Senior Member
Aug 16, 2007
681
47
Ok, I flashed on my N920I for testing.
It works without any problems! No reboots during phonecalls at all! With all kernels I tried before, I had them, but not with this one!
Thanks for that great work!!!!
You can definitly use this for N920I also!
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand

Please never quote the full OP ......

Anyway, thanks for posting your boot.img. Maybe you (or someone else wishes to "test" the kernel with your T model ? Just have full firmware ready if it boot loops or lose baseband etc.

If no good, I will then look at a separate kernel (time permitting)

Ok, I flashed on my N920I for testing.
It works without any problems! No reboots during phonecalls at all! With all kernels I tried before, I had them, but not with this one!
Thanks for that great work!!!!
You can definitly use this for N920I also!

Please let me know of any kernel driver problems, WIFI, BT, 3G/4G etc (if any). Hopefully the kernel can be partly/fully universal
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Good job, I need to learn a lot from you :good:

Hey, no problem. Thanks again for the root scripts, although Andrei's method worked too, just saved a little time with Synapse UCI support.

Have still got loads more to do, but I'm running out of time before heading away for the next month ..........

I only have so much "free" time away from family and work ;)


edit: ran out of "thanks" today, 8 is the limit, how stupid !!
 
  • Like
Reactions: azz72 and Dr.helal

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Will you make this for SM-N920P please???!!!

Sent from my SM-N920P using Tapatalk

Please check to see if the SM-N920C kernel boots for you and drivers - baseband etc are working. If not, please send me your boot.img. Instructions I gave a few posts ago. Just make sure you have the full firmware package toy flash if it goes wrong.
 

schellemann

Member
Mar 20, 2011
18
13
Bali
Amazing

I tested it on my SM-N920I too. No Problems so far. No reboots during calls any more. Anything seems to work. Couldn't find any bugs yet.
Thank you so much for your perfect work.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    [KERNEL] [ROOT] [SM-N920* Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]

    *** DEVELOPMENT & SUPPORT CEASED FOR 5.1.1 ***

    WARNING

    Code:
    [COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
    [URL="http://xdaforums.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD), 
    IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
    [B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]


    FEATURES

    Code:
    * Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
    * ramdisk source:
    [INDENT][COLOR="red"]N920C/CD/I/G[/COLOR] XXU2APA2
    [COLOR="red"]N9200[/COLOR] ZCU2AOL2
    [COLOR="red"]N9208[/COLOR] XXU2AOL1[/INDENT]
    * Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
    * Linux 3.10.96
    * [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
    * [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
    * [COLOR="red"]SELinux PERMISSIVE[/COLOR]  (for Titanium Backup and other apps to work correctly)
    * adb insecure
    * stock dt.img
    * init.d script support (drop in script & set permissions to 755 or 777 and reboot)
    * [COLOR="red"]DEEP SLEEP FIX[/COLOR]
    * [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
    * Possible Screen Mirroring / AllShare Cast fix
    * Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
    * RAM management tweaks
    * GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
    * [B]Synapse app support[/B] for many kernel configurations + more !!
    * Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)


    SYNAPSE FEATURES


    ABOUT

    • PayPal Donation link
    • SkyHigh kernel thread link
    • Up time
      Total
      Sleep
      Awake​


    A57 CPU

    • A57 big Cores Frequency Scaling
      live frequency
      MAX: 2400 MHz (stock 2100 MHz is default)
      MIN: 500 MHz (stock 800 MHz is default)​

    A57 VOLT

    • HPM voltage control
    • A57 big Cores voltage control

    A53 CPU

    • A53 LITTLE Cores Frequency Scaling
      live frequency
      MAX: 1600 MHz (stock 1500 MHz is default)
      MIN: 200 MHz (stock 400 MHz is default)​

    A53 VOLT

    • HPM voltage control
    • A53 LITTLE Cores voltage control

    CPU GOV

    • CPU governors
      interactive (default)
      on-demand
      conservative
      ktoonservative (hotplug)
      userspace
      performance​
    • Interactive governor live load at current frequency (A57+A53)
    • Interactive governor tuning (profiles)
      Default
      Battery
      Performance
      Turbo Mode​

    A57 GOV

    • A57 governor tunables

    A53 GOV

    • A53 CPU governor tunables

    MULTICORE

    • HMP threshold tuning profiles
      Default
      Performance
      Battery​
    • HMP threshold controls for up/down migration
    • Power Aware Scheduling control
    • HMP LITTLE Packing
    • PEWQ (Power-efficient Workqueues) control
    • Exynos Core Control Interface (choose 5 > 8 cores online)

    CPU STATS

    • CPU0 time in state
    • CPU4 time in state

    BOOST

    • Input-Booster profiles
      key
      touchkey​

    GPU

    • GPU stats
      Current clock freq
      Live Frequency Utilization (load)
      Time in state​
    • GPU power policy control
      coarse_demand (default)
      demand
      always_on​
    • GPU frequency scaling
      Max freq control to 852 MHz (700 MHz is default)
      Min freq control to 100 MHz (stock 266 MHz is default)​
    • GPU Governor
      Default
      Interactive (default)
      Static
      Booster (more graphic and benchmark performance)​
    • GPU Interactive Governor tunables
      highspeed clock
      highspeed load
      highspeed delay​

    GPU VOLT

    • HPM voltage control
    • GPU voltage control

    THERMAL

    • Sensor temperatures
      A57
      A53
      GPU
      ISP​
    • CPU thermal control
      normal temp
      critical temp​
    • GPU thermal control
      On/Off thermal manager
      temp levels 1 > 5
      throttling freq levels​
    • Memory thermal control
      normal temp
      critical temp​
    • ISP (Image Signal Processor) thermal control
      temp levels 1 > 5​

    BUS

    • Memory Bus HPM voltage control
    • Memory Bus voltage control
    • Internal Bus voltage control
    • ISP (Image Signal Processor) voltage control

    IO

    • I/O Schedulers

      BFQ (tweaked for SSD)
      DEADLINE (tweaked for SSD)
      FIOPS
      CFQ = default (tweaked for SSD)
      NOOP
      ROW (tweaked)​
    • Storage read-ahead (256 KB)
    • General IO tuneable
      Add random
      IO stats
      Rotational
      No merges
      RQ Affinity
      NR requests​
    • I/O scheduler tunables

    MEMORY

    • Memory state
      Total
      Free​
    • Low Memory Killer Profiles
      Low
      Medium
      Custom (recommend)
      Default (default)
      Aggressive
      Exterminate​
    • Low Memory Killer minfree tuning (OOM LMK)
    • Adaptive Low Memory Killer
      vmpressure_file_min​
    • Samsung SPCM Service control (Enabled = default/stock)
    • Ultra Kernel SamePage Merging (UKSM)
      UKSM stats
      Scan Delay Interval
      UKSM Governor
      Max CPU consumption​
    • Dynamic FSYNC control (enabled)
    • Dynamic dirty page writeback control (enabled)
      Dirty writeback active
      Dirty writeback suspend​
    • Virtual Memory
      Virtual NAND Swap control (VNSwap)
      ZSwap memory pool
      Adaptive Dirty Background Ratio on suspend / resume
      Adaptive Dirty Ratio on suspend / resume
      Drop caches (Clear VFS cache after boot)
      Laptop Mode
      Swapiness
      Adaptive vfs_cache_pressure on suspend / resume​

    ADVANCED

    • Entropy (max 4096)
    • Gentle Fair Sleepers control (disabled)
    • Arch Power control (enabled)
    • randomize_va_space control
    • pm_freeze_timeout control
    • Google Play Services Battery Drain Fix
    • Driver wakelock controls
      SensorHub
      ssp_sensorhub​
      SSP
      sig_motion_sensor
      pickup_gesture
      grip_sensor
      tilt_detector
      proximity_sensor​
      bcm4773
      bcm4773_gps​

    POWER SUSPEND

    • Modes:
      Autosleep
      Userspace
      Display Panel
      Hybrid (Autosleep + Display Panel) = default​
    • PowerSuspend State (enable only with Userspace mode set)
    • Version push button

    AUDIO

    (Sound Control by AndreiLux)

    • Jack media volume control
      L/R channel volume
      mono mixer​
    • Speaker volume control
      Earpiece volume​
    • Main Equalizer
    • Advanced Stereo Equalizer

    SCREEN

    • Live panel brightness
    • sweep2sleep control

    NETWORK

    • TCP congestion control
      All available enabled.
      Default = westwood+​
    • Screen mirror/allshare cast fix control (enabled)
    • Clean WIFI Lease
    • WIFI Passwords
      Save
      Restore​
    • WiFi Power Mode While Screen-On/Off
    Force Off
    Off
    Fast (default = screen ON)
    Max (default = screen OFF)
    WiFi DTIM Interval While Screen-On/Off​
    • RX wakelock timeout control
    • TCP/IP network security
    • 3G DNS speed & security tweak
      Google
      OpenDNS
      Comodo, Level3
      Norton_DNS
      Smart_Viper​
    • GPS time-zone
      Original
      Asia
      Europe
      Oceania
      North America
      South America
      Africa​
    • IPV6-protocol
      IPv6 Test push button
      IPv6 enable / disable
      optimistic detection​

    SECURITY

    • KNOX control
      NO_ACTION (default)
      Disabled
      Enabled​
    • SELinux
      Live status​

    BATTERY

    • Battery info
    • Charging controls
      HV power supplies
      A/C Mains
      A/C Mains (screen-on)
      Standard downstream port
      Dedicated charging port
      Charging downstream port
      Accessory charging adapter
      MHL power
      Wireless power​
    • Store Mode
      enable / disable (master control)
      Store Mode Maximum
      Store Mode Minimum​
    • Battery SCALING calibration (fuel gauge reset)

    LED

    • LED disable control
    • LED Fade-in/out Time Period
      LED Fade control
      Fade-in
      Fade-out​
    • Test notification push button
    • Stop notification push button

    FS (File System)

    • Display FS Type
    • FS Controls
      remount System r/w r/o
      remount RootFS r/w r/o​
    • Scrolling cache control
    • Optimise Databases (SQLite3)
    • FSTrim lagfix
    • Wipe options
      cache reboot
      dalvik-cache reboot
      cache & dalvik-cache reboot​
    • Clean up
      clipboard cache
      /data/tombstones
      /data/anr logs
      /data/dropbox logs
      lost+found​

    CORTEXBRAIN

    • Live status
    • Cortexbrain-Background-Process (Master Switch)
    • CortexBrain Functions
      WiFi Auto
      Media Manager
      System-Tweaks
      Kernel-Tweaks
      nmi_watchdog​

    CRONTAB

    • Live status
    • CronTask (Master Switch)
    • Cron Tasks
      Clean RAM cache (every hour)
      Google Service restart (every 3 hours)
      Clean app cache & junk (every day at 4:30AM UTC)
      clipboard cache
      /data/tombstones
      /data/anr logs
      /data/dropbox logs
      lost+found​
      Optimize databases (every day at 4:40AM UTC)
      File system trim (every day at 4:50AM UTC)
      Battery scaling calibration (every Sunday at 5:00AM UTC)​
    • Test Cron Task jobs

    USB

    • USB status
    • USB mode selection
      MTP
      PTP
      CD_ROM (drivedroid support)
      USB_Keyboard-Mouse​

    MODULES

    • CIFS
    • NTFS
    • ISO9660_FS
    • UDF
    • XPAD

    BACKUP & RESTORE

    • Name - Restore - Delete - Backup
      profiles
      kernel image​

    LOGS

    • Android Logger control (enabled)
      LogCat​
    • Kernel Logger control (enabled)
      dmesg
      last_kmsg​

    REBOOT

    • Reboot device
    • Recovery Mode
    • Download Mode
    • Power Off
    • Clear Synapse Data & Reboot
    • Restart Synapse

    INFO

    • Reduced logging
    • exFAT FS support
    • NTFS R/W support with app
    • CIFS support (not tested)
    • ISO 9660 CDROM & UDF FS support
    • Frandom
    • mount partitions NOATIME and NODIRATIME by default
    • FSTrim on boot (ensure consistent IO throughput)
    • Entropy tweaks
    • Increased boot frequency
    • Power-efficient workqueue (PEWQ) efficiency patches
    • CLEANCACHE & ZCACHE
    • Microsoft X-BOX gamepad controller module (updated)
    • LZO de/compression algorithm
    • Slub tweaked
    • Much more - check source commits & Synapse


    CREDITS

    • My family !!
    • @Chainfire - root & SuperSU / @Manh_IT - auto-root method
    • @AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
    • @halaszk88 - patches and Synapse code I adapted to many of my kernels
    • @dorimanx - BusyBox and various ramdisk tweaks/ideas
    • @apb_axel - I adapted and used many of the Synapse controls to suit my kernels
    • @arter97 - various source fixes/patches
    • @ktoonsez - ktoonservative hotplug governor
    • @LuigiBull23 - ktoonservative profiles I've adapted
    • XDA
    • Samsung OSRC
    • and many others!
    • check github source credits
    • IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS

    XDA:DevDB Information
    SkyHigh Note 5 Exynos 7420 Kernel, Kernel for the Samsung Galaxy Note 5

    Contributors
    UpInTheAir
    Source Code: https://github.com/UpInTheAir/SM-N920

    Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS

    Version Information
    Status: Stable
    Current Stable Version: 4.5
    Stable Release Date: 2016-02-19

    Created 2015-08-29
    Last Updated 2016-03-04
    55
    Warning - ChangeLog - Requirements - Installation - Download - Source

    ** DISCLAIMER : FLASH AT YOUR OWN RISK **

    WARNING :


    Code:
    [COLOR="Red"]* 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 !![/COLOR]


    CHANGE-LOG

    1. Open GitHub Change-Logs
    2. Tap/click "Full Change log" under the latest version (i.e. v4.5)
    3. Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
    4. Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit

    REQUIREMENTS

    1. Variant support for:
      SM-N920C / CD / G / I
      SM-N9200
      SM-N9208_SEA (SM-N9208_TW reported to work, but no official support)​
    2. Watch >>> THIS <<<
    3. FOR BUG REPORTING: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (this means no Xposed or tweaks etc)
    4. Custom recovery i.e.. TWRP

    INSTALLATION

    1. If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
      Open SuperSU app
      Select "Full unroot" option
      Reboot (or flash kernel)
      Re-install SuperSU app
    2. Uninstall any CPU control apps, tweaks and init.d scripts etc.
    3. Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
    4. Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
    5. Device Settings:
      Enable Developer Options > OEM UNLOCK
      If flashing from any custom kernel with Synapse app > Device settings > Applications > Synapse > Force Stop > clear data​
    6. If not installed > Install SuperSU from Google Play:
    7. N9200/N9208: unlock your bootloader >> Install and run CROM service unlock app from Galaxy App Store (this will probably wipe your accounts). If you have problems with CROM, try without it !
    8. Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
    9. After boot:
      a) wait at least 120 secs to stabilize
      b) Open Synapse
      c) Tap "Understood"
      d) DO this step so some defaults are set !!
      1. tap the square menu button top right hand corner
      2. tap the three dots button
      3. "select all globally"
      4. tap the back button next to it
      5. apply​



    DOWNLOADS

    Mod Edit: Links Removed



    SOURCE

    ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!

    Github


    .
    26
    Help and FAQ

    THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:

    I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks

    BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:

    Code:
    1. DEVICE MODEL ?
    2. ROM and firmware version (build number, boot-loader etc) ?
    3. EXACT steps taken to reproduce YOUR issue
    4. Screen-shots (if applicable)
    5. Did you read Posts #1-3 completely?
    6. Did you search the thread, XDA or GOOGLE?
    7. Did you follow the install instructions EXACTLY?
    8. What was your previous kernel?
    9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
    10. Try older kernel (if available)
    11. Factory reset ?
    12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
    13. Delete your ROM BusyBox (kernel uses it's own in /sbin)


    ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:

    Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.

    ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!


    THANK YOU :good:


    NO FAST CHARGE

    • If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
    • Use a thicker / better cable, will work every time (ie. Note4 OEM cable)

    CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?


    I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
    • Sorry. I don't have the spare time for any more variant support.

    "NO UCI SUPPORT"

    It's a ROM busybox compatibility issue

    Three choices:

    1. Device > settings > applications > Synapse > force close & wipe data and REBOOT

    OR

    1. Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
    2. Force stop Synapse and delete app data (device settings > applications)
    3. Re-flash kernel as per Installation Instructions

    OR

    1. Try install a different busybox
    2. Force stop Synapse and delete app data (device settings > applications)
    3. Re-flash kernel as per Installation Instructions

    Synapse or BACKUP/RESTORE ISSUES

    It's a ROM busybox or sqlite3 compatibility issue

    1. Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
    2. Device > settings > applications > Synapse > force close & wipe data
    3. Reboot or re-flash kernel as per Installation Instructions

    BACKUP & RESTORE

    1. DO NOT restore profiles from different kernel version
    2. Refer to THIS post for "how-to" screen-shots
    3. Refer to THIS post for a "how-to" video (thanks @aldoblaga )

    LOADABLE MODULES AREN'T WORKING

    • Check your /system/lib/modules directory. Are any ____.ko present?
    • Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
    • Re-flash the kernel will install the modules.
    • If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
    • You can check running modules in terminal with:
      Code:
      lsmod

    KTOONSERVATIVE GOVERNOR

    DT2W & COLOUR CONTROL

    • No, I cannot make it work properly with single source for all supported variants

    CPU POWER CONSUMPTION

    F2FS SUPPORT


    STUCK ON SAMSUNG BOOT LOGO AFTER FLASH

    1. Ensure you flashed the correct kernel for your device model
    2. Ensure your download is not corrupted. Check MD5 hash or re-download
    3. Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.

    CM SUPPORT

    Read Post #12


    "Unauthorized actions have been detected, reboot to undo changes"

    As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
    It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
    [Q] How to disable
    [A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX


    CAN I USE OTHER KERNEL CONTROL APPS


    • No, many features and options won't be available. Remove all other control apps to avoid conflicts !
    • Synapse is the recommended and has everything you need ;)

    BATTERY TIPS


    • Try some (or combination) of the CPU MULTICORE features in Synapse:
      HMP profile = Battery
      Power Aware Scheduling (slight performance cost) = Enabled
      HMP LITTLE Packing (slight performance cost) = Enabled
      PEWQ (power-efficient workqueue) (slight performance cost) = Enabled​
    • Set A57 & A53 Interactive governor profile = Battery
    • Set Input-Booster for key/touchkey profile = Battery
    • Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
    • Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
    • Set WiFi wakelock control to 2 or 3


    PERFORMANCE TIPS


    • Set A57 & A53 Interactive governor profile = Performance
    • Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
    • Once in a while:
      Optimize Databases
      FSTrim​


    RANDOM REBOOT

    1. Don't UV or UC CPU or GPU
    2. Use SkyHigh defaults
    3. Use a stock UNMODIFIED ROM for your device variant
    4. No tweaks, Xposed or other CPU control apps installed

    ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)

    This is an example from my Exynos5420 source. Similar idea for Exynos420

    CAN I INCLUDE SkyHigh KERNEL IN MY ROM

    1. Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
    2. Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.

    DOWNLOAD LINK NOT WORKING

    1. I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
    2. Please try again in a few minutes

    POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE

    1. Disable any CPU MULTICORE options in Synapse
    2. Disable any Battery profiles in Synapse. Set to default or Performance.
    3. Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
    4. HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE

    DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS

    * [Christopher83]

    This feature allows to have two different intervals for dirty page
    writebacks and to dynamically manage them when the system has been
    resumed (it's active) or when has been suspended.

    Three new procfs parameters are exposed inside /proc/sys/vm path:
    - dynamic_dirty_writeback is the activation status of this feature,
    set 1 to enable it, set 0 to disable it and use the standard behaviour
    - dirty_writeback_active_centisecs is the interval for the dirty page
    writebacks when the system is active (screen on)
    - dirty_writeback_suspend_centisecs is the interval for the dirty page
    writebacks when the system is suspended (screen off)

    This feature is in part inspired on Francisco Franco's patch:
    https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947


    TCP/IP NETWORK SECURITY


    * Thanks to zeppelinrox & V6SuperCharger
    1. Hardening the TCP/IP stack to SYN attack
    2. Bump up tw_buckets in case we get DoS'd
    3. Ignore pings
    4. Don't cache connection metrics from previous connection
    5. Don't pass traffic between networks or act as a router
    6. Enable spoofing protection (turn on reverse packet filtering)
    7. Don't accept source routing
    8. 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


    CHROMECAST - STREAMING PROBLEMS


    * Thanks to @AtLmd Post
    • Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
    • Synapse > Network > DTIM (both screen ON & OFF) = 1
    • Synapse > Network > WIFI Power Mode (screen OFF) = FAST

    .
    21
    v3.0 released

    v3.0 update for:

    Early Christmas present for all !! :highfive:

    SM-N920-C / CD / G / I / 0 / 8 device variants

    Check out the change-log in Post #2.

    Tested by UpInTheAir :

    My device setup:
    • SM-N920C
    • 100% stock N920CXXU1AOK7 (THL) firmware
    • No modifications (apart from kernel and TWRP)
    • SkyHigh kernel defaults
    • No Xposed or other tweaks etc.
    • STABLE & RE-BOOT FREE !!


    • Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data

    • Please read the amended Installation Instructions, especially #8

    • DO NOT restore profiles from older versions or other kernels !


    Have fun :)

    Cheers

    UITA
    21
    v3.3 New Year release

    v3.3 NEW YEAR release for:

    SM-N920-C / CD / G / I / 0 / 8 device variants

    Check out the change-log in Post #2.

    Tested by UpInTheAir :

    My device setup:
    • SM-N920C
    • 100% stock N920CXXU1AOK7 (THL) firmware
    • No modifications (apart from kernel and TWRP)
    • SkyHigh kernel defaults
    • No Xposed or other tweaks etc.
    • STABLE & RE-BOOT FREE !!


    • Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data

    • DO NOT restore profiles from older versions or other kernels !



    BUGS:
    1. Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
    2. Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !

    Have fun :)

    Cheers

    UITA