FORUMS
Remove All Ads from XDA

[KERNEL] [ROOT] [SM-G920F Exynos 7420] [17 Dec] SkyHigh TW 5.1.1 Kernel [v2.9]

7,965 posts
Thanks Meter: 15,928
 
By UpInTheAir, Account currently disabled on 17th December 2015, 05:45 AM
Thread Closed Email Thread
[KERNEL] [ROOT] [SM-G920F Exynos 7420] [17 December] SkyHigh TW 5.1.1 Kernel [ v2.9 ] [Synapse ++]

WARNING

Code:
PLEASE SHOW RESPECT TO ACTUALLY READ POSTS #1-3
XDA RULE #1 "SEARCH BEFORE POSTING" (GOOGLE, XDA & THREAD), 
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
THEN DON'T BOTHER POSTING. 

FEATURES

Code:
* Based on official Samsung source: Samsung OSRC
* ramdisk source:
N920FXXU3QOLF
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu * Linux 3.10.94 * AUTO-ROOT binary v2.52 & Install busybox v1.24.1-Dorimanx * KNOX WARRANTY VOID: 1 * SELinux PERMISSIVE (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) * DEEP SLEEP FIX * IN-CALL REBOOT BUG "FIX" * Possible Screen Mirroring / AllShare Cast fix * Secure storage = false (should prevent WIFI settings & passwords wiping on reboots) * RAM management tweaks * GearVR reported working * Synapse app support for many 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


ABOUT


A57 CPU
  • CPU temperature
  • A57 big Cores Frequency Scaling
    live frequency
    MAX: 2400 MHz (stock 2100 MHz is default)
    MIN: 500 MHz (stock 800 MHz is default)
  • CPU governors
    interactive (default)
    on-demand
    conservative
    userspace
    performance
  • CPU governor tunables

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)
  • CPU governors
    interactive (default)
    on-demand
    conservative
    userspace
    performance
  • CPU governor tunables

A53 VOLT
  • HPM voltage control
  • A53 LITTLE Cores voltage control

CPU MULTICORE
  • Power Aware Scheduling control
  • HMP LITTLE Packing
  • Exynos Core Control Interface (choose 1 > 8 cores online)
  • PEWQ (Power-efficient Workqueues) control

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
  • CPU thermal control
    normal temp
    critical temp
  • GPU thermal control
    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)
  • 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
    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

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
  • sweep2sleep control

NETWORK
  • TCP congestion control
    All available enabled.
    Default = westwood+
  • Screen mirror/allshare cast fix control (enabled)
  • Clean WIFI Lease
  • 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 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
  • 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

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

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
  • Entropy tweaks
  • Increased boot frequency
  • Power-efficient workqueue (PEWQ) efficiency patches
  • CLEANCACHE & ZCACHE
  • Microsoft X-BOX gamepad controller in-built module
  • 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
  • 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 Galaxy S6 Exynos 7420 Kernel, Kernel for the Samsung Galaxy S6

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

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

Version Information
Status: Testing

Created 2015-12-17
Last Updated 2015-12-17
The Following 14 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
 
 
17th December 2015, 05:45 AM |#2  
OP Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,928
 
Donate to Me
More
Database Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **

WARNING :


Code:
* 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 !!

CHANGE-LOG

[v2.9] - 14 December 2015

variant:
  • Korean variant support discontinued unless sources become compatible with all SkyHigh variants. v2.8 is the last for now

source:
  • BUILD: fix invalid binary created for .tar.md5 archive
  • Revert " Source: merge N920SKSU2AOK5"
    Cause of boot and stability issues with T variants
  • config: remove MPTCP from reverted N920SKSU2AOK5 source

[v2.8] - 13 December 2015

ramdisk:
  • Synapse: update sweep2sleep description
    Ensure PowerSuspend State is DISABLED
  • su: update BINARY to BETA-SuperSU-v2.52 (latest stable beta)
    1. Unroot (SuperSU APP > settings > "full unroot")
    2. Reboot
    3. Install SuperSU app from Play Store
    4. NOTHING else to do !!
  • init.rc: prevent override of dirty_background_ratio
  • Synapse: change dirty ratios default description & clean up
  • Synapse: adjust for adaptive dirty_background_ratio & adaptive dirty_ratio
  • Synapse: disable drop_caches on boot
    improved UI performance as cache does not have to rebuild on every boot. optional in Synapse

source:
  • Revert duplicate code from my mistake
    Revert "cpufreq: Remember last policy min/max on cluster restart"
  • Linux 3.10.93 > 3.10.94
  • Source: merge N9200ZHU2AOKA
  • Source: merge N920SKSU2AOK5
  • ARM: 8429/1: disable GCC SRA optimization
  • Support for GCC 6.0 toolchain
  • mm: Increase Dirty Ratios (battery)
  • mm: Adaptive Dirty Background Ratio & Dirty Ratio for suspend/resume (battery) my own
    dirty_background_ratio 20-resume / 60-suspend (fixed)
    dirty_ratio 40-resume / 95-suspend (fixed)
  • config: enable ADAPTIVE_DIRTY_BACKGROUND_RATIO & ADAPTIVE_VM_DIRTY_RATIO
  • mm: Dynamic Page Writeback: fix compile if not enabled in config

[v2.7] - 09th December 2015

variant:
add SM-G9287C support with G9287CDXU2AOK1 ramdisk base
ramdisk:
  • Synapse: NETWORK: add IPV6 Optimistic Detection controls & enable
  • Synapse: NETWORK: modify layout of WiFi DTIM Interval description
  • Synapse: NETWORK: add GPS Time Zone for faster GPS lock
  • Synapse: SCREEN: fix up sweep2leep description
  • Synapse: USB: tidy up USB live status
  • Synapse: USB: add live DNS address
  • Synapse: USB: add title to live DNS address
  • Synapse: IO: add NR Requests control
  • Synapse: A57/A53: show live freq for all A57 & A53 cores
  • Synapse: A57/A53: make default CPU frequencies static so they are not overridden
  • Synapse: A57/A53: move A57, A53 & GPU voltage controls to separate tab
  • Synapse: A57/A53: use the new renamed ren_max_freq (you need to use Synapse to control CPU MAX values - and any other SkyHigh features !!)
  • Synapse: A57: correct core display for temp sensors
  • Synapse: MEMORY: Adaptive vfs_cache_pressure on Suspend / Resume
  • Synapse: MULTICORE: remove HMP threshold controls. They are dynamic
  • N9200 ramdisk: update to N9200ZHU2AOKA
  • N920K ramdisk: add SkyHigh version

source:
  • BUILD: small fixes to build scripts
  • BUILD: fix up ramdisk_fix_permissions.sh
  • BUILD: add separate SM-N920K support
  • dts: N920S/K/L update from N920SKSU2AOK5 source
  • cpufreq: rename scaling_max_freq to ren_max_freq (fix by @arter97 to prevent DVFS override set CPU MAX freq)
  • fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume (100% screen on & 20% static screen off)
  • fs: make ADAPTIVE_VFS_CACHE_PRESSURE compile optional
  • Revert various Nvidia power efficiency patches (Testing to resolve random System UI restart to lock screen)
  • config: enable ADAPTIVE_VFS_CACHE_PRESSURE
  • A53: allow max to 1600 MHz (default/stock 1500 MHz)
  • A53: increase boot frequency to 1500 MHz

[v2.6] - 05 December 2015

variant:
  • add SM-G928T/W8 variant support

ramdisk:
  • Synapse: SCREEN: add sweep2sleep control
  • Synapse: USB: add USB storage controls
    MTP
    PTP
    CD ROM iso image (drivedroid support)
    USB Keyboard / Mouse
  • Synapse: clean up

source:
  • net/neighbour: queue work on power efficient wq
  • sched/fair: Implement fast idling of CPUs when the system is partially loaded
  • arm64: Improve power efficiency through load/store exclusive usage (Nvidia power efficiency patch set)
  • thread_info: Remove usage of relaxed calls in sched header
  • hrtimer: Replace usages of hrtimer_callback_running with relaxed version
  • aio: Skip timer for io_getevents if timeout=0
  • touchscreen: add sweep2sleep
  • sweep2sleep: adjust for 1440 x 2560 display
  • usb: gadget: check for accessory device before disconnecting HIDs
  • drivers: usb: Use Android device as USB keyboard/mouse
  • usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs

[v2.5] - 03 December 2015

variant:
  • add SM-G928C/F/I/G, SM-N920P, SM-N920S/K/L & SM-N9200 variant support

ramdisk:
  • BUILD: auto build archives for each variant selection
  • ramdisk bases:
    SM-N920S/K/L N920SKSU2AOK5
    SM-N9200 N9200ZHU2AOJ9
    SM-N920P N920PVPU2AOI6
  • Synapse: fix up generate
  • Synapse: fix up fuel-gauge reset

source:
  • various power efficient workqueue patches
  • sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
  • ext4: Speedup WB_SYNC_ALL pass called from sync(2)
  • mm: pass readahead info down to the i/o scheduler
  • mm: fix aio performance regression for database caused by THP
  • fixup! mm: fix aio performance regression for database caused by THP
  • fts_ts: fix a stupid typo by Samsung
  • CHROMIUM: cpufreq: interactive: calculate load before freq change
  • block_dev: implement readpages() to optimize sequential read

[v2.4] - 30th November 2015

variant:
  • add SM-N920G variant support

ramdisk:
  • update SM-N920-I/G ramdisk N920GDDU2AOJ5
  • /sbin/SkyHigh.sh: Enable Main Equalizer by default (Fixes bug where no audio from earphones whilst in-call)
  • Synapse: MEMORY: change KSM > UKSM controls

source:
  • UKSM: 0.1.2.3-for-v3.10.ge.46
  • UKSM: fix compile errors
  • UKSM: disable by default
  • config: enable UKSM
  • toolchain: gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
  • Makefile: add optimizations
  • dts: N9200_HK update from N9200ZHU2AOJ9 source
  • cpufreq: Mod perms so they are settable in apps

[v2.3] - 29th November 2015

source:
  • Fix in-call reboot
    Revert "toolchain: change to Linaro GCC 5.2.1 20151005". (Back to Linaro 4.9.3 20141031)
    Revert "ufs: fix compilation warnings"
  • power: process: drecrease time to enter sleep
  • futexes: Increase hash table size for better performance
  • cpufreq: Optimize cpufreq_frequency_table_verify()

[v2.2] - 28th November 2015

ramdisk:
  • Update N920C/CD/8 to N920CXXU2AOK7
  • Synapse: NETWORK: add WiFi Power Mode & DTIM Interval controls for screen ON/OFF
  • Synapse: NETWORK: add Wireless wakelock timeout control
  • default.prop: re-enable Samsung SPCM Service (removed entry)
  • Synapse: MEMORY: add Samsung SPCM Service control (Enabled = default/stock)

source:
  • Source: SM-N920T_NA_LL_Opensource N920TUVU2COJ5
  • drivers/video/exynos/Makefile: Fix compile warnings for non-supported drivers
  • config: enable LCD_HMT
  • Linux 3.10.90 > 3.10.93
  • Fix compile errors with GCC 5
    crypto: pcomp - Constify (de)compression parameters
    crypto: testmgr - Wrap the LHS in expressions of the form !x == y
    ufs: fix compilation warnings
  • toolchain: change to Linaro GCC 5.2.1 20151005
  • bcmdhd4359: WIFI PM support
  • config: enable BCMDHD_WIFI_PM
  • tcp: enable sockets to use MSG_FASTOPEN by default
  • bcmdhd: reduce rx wakelock timeout via sysfs node
  • net: wireless: bcmdhd4359: reduce kernel logging
  • Drivers: sensorhub: reduce wakelock time

[v2.1] - 17th October 2015

boot.img:
  • repack with stock dt.img (flash over v2.0 if you have audio issues)

[v2.0] - 17th October 2015

ramdisk:
  • Synapse: add BACKUP RESTORE section for save/restore profiles & boot.img to /sdcard/SkyHigh folder (from my older SkyHigh kernels on other devices, modified and adapted to suit from apb_axel and neobuddy89)
  • Synapse: FS: add FSTrim push button
  • /sbin: replace fstrim with (PIE) binary (from arter97 git)

[v1.9] - add SM-N9208_SEA variant support 16th October 2015

[v1.9] - 15th October 2015

ramdisk:
  • boot.img: disable boot time security check "KERNEL IS NOT SEANDROID ENFORCING" (kernel is still permissive)
  • Synapse: disable CortexBrain as not needed for in-call reboot bug "work-around" any more. It's fixed !! Intend to add other options here in future.

source:
  • config: disable unused FS support
  • build scripts: clear ccache instead of clean
  • FIX IN-CALL REBOOT BUG: toolchain: change to gcc-linaro-4.9-2014.11-x86_64_aarch64-elf
    The recommend Google ARM Toolchain GCC aarch64-linux-android-4.9 causes general stability and in-call reboot issues

[v1.8b] - 13th October 2015

ramdisk:
  • Synapse: MEMORY: add Dynamic management of dirty page writebacks control (screen on/off)
  • Synapse: CPU MULTICORE: add Power Aware Scheduling control - enabling gives better battery (default = disabled for performance)
  • Synapse: minor adjustments to layout and descriptions.
  • default.prop: add some experimental RAM management tweaks (thanks to @mikeyinid for the suggestions)

source:
  • sched: HMP: set Power Aware Scheduling off by default (previously enabled by default in patch)
  • GPU: set max freq to 700 MHz as default (stock)
  • cpufreq: Break out early if freq equals to target_freq
  • PM / sleep: unregister wakeup source when disabling device wakeup
  • tick: don't update idle time if cpu offline
  • slub: fix kmem_cache_shrink return value
  • mm: slub: fix format mismatches in slab_err() callers
  • a bunch of SELinux patches
  • mm: Dynamic management of dirty page writebacks
  • kernel.h: fix error when compiling N9208_SEA

[v1.7b] - 12th October 2015

ramdisk:
  • Synapse: MEMORY: add Dynamic FSYNC control
  • Synapse: LOGS: add Android logger control (enabled for logcat)
  • /sbin/cortexbrain-tune.sh: some adjustments to watchdog control

source:
  • xz: tweaking kernel compression (not used)
  • AIO: Don't plug the I/O queue
  • fs/dyn_sync_cntrl: dynamic Fsync control v1.5
  • fs/dyn_sync_cntrl: on by default
  • logger: Add sys fs kernel interface to configure Android logger & modify for Synapse
  • writeback: fix race that cause writeback hung
  • timer: optimize apply_slack()
  • writeback: Fix occasional slow sync(1)
  • writeback: fix writeback cache thrashing
  • CHROMIUM: mm: Fix calculation of dirtyable memory
  • mm: Optimized SLUB memory allocator
  • arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs
  • Linux 3.10.61 > 3.10.90 (took a lot of time)
  • Revert "powersuspend: add screen on/off hooks" from hotplug
  • decon: add powersuspend hooks
  • fips: fix whitespaces
  • arm64: crypto: increase AES interleave to 4x
  • cpufreq: Remember last policy min/max on cluster restart
  • mm: vmscan: If kswapd has been running too long, allow it to sleep

[v1.6b] - 9th October 2015

boot.img:
  • re-pack with custom generated dt.img

ramdisk:
  • Synapse: HMP: rename to CPU MULTICORE
  • Synapse: CPU MULTICORE: add PEWQ (Power Efficient Work-queues) for better battery at slight cost of performance.
  • Synapse: POWER SUSPEND: add PowerSuspend controls
  • Synapse: MEMORY: add vfs_cache_pressure control
  • default.prop: insecure adb again
  • init.rc: remove more code to prevent IO scheduler override

source:
  • config: add variants and sync to v1.5b
  • Remove obsolete build script and add build script / tools to build custom dt.img
  • config: N920C dtb exynos7420-noblelte_eur_open_09
  • config: N920I dtb exynos7420-noblelte_eur_open_09
  • sched/fair: Fix small race where child->se.parent,cfs_rq might point to invalid ones
  • cpufreq: Introduce new relation for freq selection Introduce CPUFREQ_RELATION_C
  • cpufreq: interactive: use new CPUFREQ_RELATION_C
  • int_sqrt.c: Correction square root algo with naming
  • int_sqrt: Improve 3x faster integer sqrt.
  • workqueue: Fix permission for power_efficient workqueue
  • a bunch of workqueue patches
  • jiffies conversions: Use compile time constants when possible
  • sched/completion: Add lock-free checking of the blocking case
  • sched: Remove one division operation in find_busiest_queue()
  • sched/fair: Optimize find_busiest_queue()
  • kthread_work: wake up worker only when the worker is idle
  • sync: don't block the flusher thread waiting on IO
  • mm: Clear page active before releasing pages
  • makefile: Add SoC-specific compile target
  • sensorhub: fix compile warning for SM-N9208
  • workqueue: disable PEWQ by default
  • config: enable WQ_POWER_EFFICIENT_DEFAULT
  • PowerSuspend: patch powersuspend driver up to v1.7 & modify to suit
  • powersuspend: call screen on/off hooks with hotplug (panel hooks)
  • powersuspend: add power_suspended boolean for global access
  • config: enable POWERSUSPEND
  • config: enable TIMA_LKMAUTH and also missing TIMA for SM-N920S

[v1.5b] - 6th October 2015

ramdisk:
  • Synapse: CORTEX: add CortexBrain to control screen on/off functions. Enabling this FIXES in-call reboot bug (actually a solution - not a "fix"). Thanks to Dorimanx & halaszk88 for the orignial scripts which I chopped to pieces into my SM-N915S kernel .
  • /sbin: add CortexBrain script
  • /sbin/SkyHigh.sh: start CortexBrain on boot

source:
  • Block: add FIOPS I/O scheduler
  • FIOPS: forward port for use on 3.10 Linux
  • config: enable IOSCHED_FIOPS
  • block: sysfs: allow non superusers to change I/O scheduler
  • block: Reserve only one queue tag for sync IO if only 3 tags are available
  • blk-throttle: check stats_cpu before reading it from sysfs
  • cfq-iosched: fix the setting of IOPS mode on SSDs
  • Block: add BFQ-v7r8-I-O-sched-for-3.10.8+
  • config: enable IOSCHED_BFQ
  • block: bfq-iosched: tuning for SSD
  • a lot of block commits to support ROW IO scheduler
  • Block: add ROW I/O scheduler
  • block: row: add magic values
  • config: enable IOSCHED_ROW
  • sched/cputime: Do not scale when utime == 0

[v1.4b] - 5th October 2015

ramdisk:
  • Synapse: THERMAL: add CPU, GPU, MIF & ISP thermal controls
  • Synapse: BATTERY: add charge controls (adapted from AndreiLux)

source:
  • GPU: allow min freq to 100 / 160 MHz
  • GPU: allow max freq to 772 / 852 MHz
  • GPU: increase throttling levels for better performance
  • GPU: increase max allowable voltage
  • GPU-MALI-T760: Added GPU THERMAL control interface
  • ARM: Mali-T760: disabled min/max lock. TouchWiz use this, so we can use normal DVFS with this patch
  • drivers/cpufreq: fix Samsung typos
  • exynos7420_tmu: add configurable interface
  • config: increase kernel log size so it is not overwritten
  • DEBUG: capture beginning of the crash in last_kmsg
  • config: enable building of dtb

[v1.3b] - 4th October 2015

updater-script:
  • create basic flashable zip for custom recovery

ramdisk:
  • Update N920T to N920TUVU2COI5
  • Synapse: SCREEN: remove mDNIe colour controls
  • init.rc: ensure IO schedulers are not overridden

source:
  • remove video: exynos: Decon: Add mDNIe colour control (causing display colour issues. Maybe take a look another time)

[v1.2b] - 3rd October 2015

ramdisk:
  • Update N920C to N920CXXU1AOI1
  • Synapse: LED: add LED fade-in/out controls
  • Synapse: SCREEN: add mDNIe colour controls (AndreiLux)
  • Synapse: HMP: add HMP LITTLE Packing control (Power savings at a slight cost to performance)
  • Synapse: HMP: add Exynos Core Control Interface (choose 1 > 8 cores online)
  • init.rc: set randomize_va_space to 0 (disabled) for improved GUI responsiveness
  • init.rc: fix Samsung syntax error: setprop sys.sysctl.compact_memory 0
  • disable some unnecessary security stuffs (arter97)
  • default.prop: (trying to fix errors and panic)
    remove FHA for now whilst testing for reboot
    various security additions/removal testing for reboot

source:
  • Source: merge in SM-N920C_SEA_LL N920CXXU1AOI1
  • Trying to fix some some errors and panic
    sysrq: Emergency Remount R/O in reverse order
    Revert "security: SELinux: Avoid enabling enforcing by conventional flag
    Revert "security: SELinux: revert Samsung hard enforcing
    selinux: loose everything
    config: more TIMA adjustments
  • video: exynos: Decon: Add mDNIe colour control
  • video: exynos: Silence mDNIe control hook
  • cpufreq: Silence dm_hotplug debug
  • config: compile SCHED_HMP_LITTLE_PACKING
  • HMP: disable HMP LITTLE packing (default)
  • LED: add LED fade-in/out control
  • Dynamic CPU Hotplug: exynos-interface from Universal5410
  • dm_cpu_hotplug.c: fix compile error

[v1.1] - 30th August 2015

ramdisk:
  • Synapse: INFO: added asv_summary
  • Synapse: GPU: added GPU freq scaling MIN/MAX controls
  • init.rc: added some boot defaults (ensure stock CPU & GPU freqs)

source:
  • A57: allow max 2400 MHz & min 500 MHz
  • A53: allow min to 200 MHz
  • cpufreq: Add kt files and build it
  • cpufreq: Set global var screen_is_on when screen goes on and off
  • gpu: Add code to allow user to control min and max GPU Mhz - @ktoonsez

[v1.0] Initial Release - 29th August 2015
  • A lot of credit (as always) goes to @AndreiLux for various source commits, Synapse app and UCI support and more !


REQUIREMENTS

  1. Variant support for:
    SM-G920F
  2. FOR BUG REPORTING: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (this means no Xposed or tweaks etc)
  3. Custom recovery i.e.. TWRP


INSTALLATION
  1. Uninstall any CPU control apps, tweaks and init.d scripts etc.
  2. Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
  3. Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
  4. Device Settings:
    Enable Developer Options > OEM UNLOCK
    If flashing from any custom kernel with Synapse app > Device settings > Applications > Synapse > Force Stop > clear data
  5. If not installed > Install SuperSU from Google Play:
  6. Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
  7. 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


SM-G920F [ v2.9 ] READ THIS >>>>> FIRST [ v3.0 ] RELEASE IS TOMORROW

__________________________________________________ ______________________




SOURCE

ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!

Github


.
The Following 3 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
17th December 2015, 05:45 AM |#3  
OP Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,928
 
Donate to Me
More
Question 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? (remove them). This includes Xposed etc
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock UNMODIFIED 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:


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.
  • If you have any of the following, please post your LATEST stock boot.img along with the firmware version you extracted it from.
    N920R4
  • Download the full firmware package from either sammobile.com or samsung updates.com (1.5+ GB )


"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


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 enable some of the CPU MULTICORE features in Synapse (slight performance cost):
  • Power Aware Scheduling
  • HMP LITTLE Packing
  • PEWQ (power-efficient workqueue)
  • Increase the HMP Up threshold a little


PERFORMANCE TIPS


LATER


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)


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. Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
  3. HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE


BACKUP & RESTORE

  1. DO NOT restore profiles from different kernel version
  2. If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.


DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS

* [Christopher83]

Quote:

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/m...18e7f258a22947



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-k...rity-hardening
http://www.symantec.com/connect/arti...ck-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


.
The Following 4 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
17th December 2015, 02:55 PM |#4  
Razvan's Avatar
Retired Forum Moderator
Thanks Meter: 4,435
 
More
Quote:
Originally Posted by UpInTheAir

There is no link yet. You didn't bother to read the link right next to it ?

Placeholder threads aren't allowed on XDA. Please let me know when you have a link to post for download. Until then, thread closed.

Thread Closed

Razvan
Forum Moderator
The Following 4 Users Say Thank You to Razvan For This Useful Post: [ View ] Gift Razvan Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes