[KERNEL] [SM-T800 WIFI & T805 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3] [Synapse ++] - Galaxy Tab S Original Android Development

[KERNEL] [SM-T800 WIFI & T805 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3 FINAL] [Synapse ++]
I DO NOT SUPPORT THIS KERNEL OR THREAD ANY LONGER, SO PLEASE FLASH AT YOUR OWN RISK AND DO NOT PM FOR HELP or Q&A. ANY USER or DEV KANG THIS KERNEL WITHOUT PERMISSION WILL BE REPORTED
Click to expand...
Click to collapse
10.5" SM-T800 WIFI & T805 LTE TW 4.4.2 Exynos 5420 supported in thread only !!
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO ABIDE BY THE FOLLOWING
DEVICE MODEL
ROM and firmware version etc
EXACT steps taken to reproduce YOUR isssue
Screenshots (if applicable)
Did you read Posts #1-3 completely?
Did you search the thread, XDA or GOOGLE?
Did you follow the install instructions EXACTLY?
What was your previous kernel?
Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
Try older kernel (don't not flash anything older than v0.9 )
Try lastest stock firmware (without custom ROM - if you have installed)
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:
I don't have time to build for any more devices I can't personally test & debug - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, part time kernel “hack” of SM-T700/705, SM-N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 TW SM-T800 WIFI & SM-T805 LTE kernels compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << from T705 v0.5 : might not be always up-to-date !
FEATURES
* Based on official Samsung source: T705WVLU1ANJ5
* ramdisk source: T800XXU1ANJ6 & T805XXU1AOA1
* Built with Stock ARM Toolchain 4.7 (proven stabilty + efficiency + performance)
* Compiled with KERNEL_MODE_NEON & -mfpu=neon-vfpv4 + optimizations
* ARM: UNALIGNED_ACCESS
* KNOX WARRANTY VOID: 1
* SELinux PERMISSIVE or Enforcing
* adb insecure
* ROM Knox disable/freeze via Synapse control
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.22.0-Dream-IRC installed to /sbin
* Will NOT delete your WIFI settings & passwords
* Possible Screen Mirroring / AllShare Cast fix
* Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU FREQ
CPU max frequency A15 cores = 2100 MHz (stock/default = 1900 MHz)
CPU min frequency A7 cores = 200 MHz (stock/default = 500 MHz)
A15 big & A7 LITTLE Cores time in state
CPU MULTICORE
Mult-core Hotplug Management
Screen OFF mode (fixed default)​Exynos Dynamic CPU Hotplug Freq (A7 cores)
Hotplug CPU UP load
Hotplug CPU UP boost
Hotplug CPU DOWN hysteresis​
Multi-core power saving control (sched_mc_power_savings)
Power-efficient Workqueues control
CPU VOLT
Voltage control for:
big cores
LITTLE cores​
CPU GOV
CPU governor
interactive (default)
on-demand (tweaked to use power efficient workqueues)
conservative​
CPU governor tunables
DEVFREQ
CPU internal frequency voltage control (Stock 133-600 MHz)
83-133 - 222 - 333 - 400 - 440 - 460 - 480 - 500 - 600​
Memory frequency voltage control (stock 160-733 MHz)
133-160 - 200 - 266 - 400 - 533 - 667 - 733 (1.9 GHz) - 800 (2.0 GHz) - 933 (2.1 GHz)​
GPU
Midgard GPU power policy control
coarse_demand (default)
demand (stock)
always_on​
Midgard GPU power policy threshold control (profiles)
Battery (default)
On-demand
Peformance​
GPU max frequency = 667 MHz (stock/default = 480 MHz)
GPU min frequency = 100 MHz (stock/default = 177 MHz)
GPU voltage control
GPU freq time in state
GPU QoS
MScaling settings for:
MIF
INT
CPU​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
CFQ
NOOP
FIOPS
SIO
ZEN​
Int storage scheduler
Int storage read-ahead (512 KB for 16 GB partition)
General IO tuneables
I/O scheduler tunables
MEMORY
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan delay interval
UKSM CPU governor (profiles)
Max CPU consumption (use with FULL governor)​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writebacks
Active
Suspend​
Virtual Memory
VNSWAP control
ZSwap memory pool control
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​
POWER SUSPEND
PowerSuspend
Autosleep_hook
Userspace_trigger
DisplayPanel_hook
Hybrid_hook (default)​
PowerSuspend State (only with Userspace_trigger)
ADVANCED
Low Menory Killer Profiles
Low
Medium
Default
Agressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Management of not killable processes whitelist
system apps
user apps​
Entropy
Gentle Fair Sleepers control
Arch Power control (enabled)
randomize_va_space control
Dynamic management of minimal timer slack value (active & suspend)
Generic and core apps/processes
Apps/processes in foreground
Apps/processes in background and non interactive​
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
AUDIO
* WolfsonMicro Sound Control by AndreiLux
* parametric equalizer presets & tuning by heyjoe66
Mono mixer
Speaker amplification
Left channel volume
Right channel volume
Earpiece volume
Privacy mode​
SP equalizer control
HP equalizer control
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (default = 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
tcp_default_init_rwnd
TCP/IP network security
TCP/IP network speed (default = enabled)
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper​
GPS region TEMPORARY REMOVED IN v2.0.0
Default, Asia, Europe, Oceania, North America, South America, Africa​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB TEMPORARY REMOVED IN v2.0.0
UMS (USB Mass Storage) mode
MTP mode
USB Keyboard / Mouse (with USB Keyboard app)
SECURITY
KNOX control (default "NO_ACTION")
SELinux status control
Permissive (default)
Enforcing​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Optimise Databases (SQLite3)
File System Trim
Wipe Options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot
clipboard cache
tombstones​
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data
Restart Synapse
LOGS
Android logger control (disabled)
logcat
Kernel logger printk control (dmesg)
dmesg
last_kmsg
INFO
* xz kernel compression
* Reduced logging
* enable ARCH_POWER
* use WQ_POWER_EFFICIENT
* optimized SLUB memory allocator
* Frandom
* mount partitions NOATIME and NODIRATIME by default
* FIDTRIM
* F2FS support in source and ramdisk (not tested)
* exFAT FS support
* NTFS R/W support with app
* CIFS support
* Asynchronous Fsync
* WIFI: filter multicast packages while suspended
* /proc/.config.gz support
* CRYPTO_SHA1_ARM_NEON, CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
* NVIDIA power efficiency patches
* Low Memory Killer tweaks
* Microsoft X-BOX gamepad controller in-built module
* And lots lots more ...................
CREDITS
* My family !!
* BeansTown106 & Chainfaire for bringing root
* halaszk88 - initial sysnapse layout & many source commits
* AndreiLux - many many contributions to Exynos kernel development & Synapse app
* apbaxel - various synapse controls I've adapted
* Christopher83 - all things dynamic !
* faux123 - various patches
* Yank555 - various patches
* heyjoe66 - Wolfson parametric equalizer presets & tuning. Also Dynamic Hotplug implementation
* 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
SM-T800 WIFI & T805 LTE TW Kernel, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Galaxy-Tab-S-Kernel/commits/SkyHigh
Kernel Special Features: Synapse ++ Read OP
Version Information
Status: Abandoned
Current Stable Version: v3.3 FINAL
Stable Release Date: 2015-03-12
Created 2014-08-22
Last Updated 2015-04-14

Requirements - installation & download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
Watch >> THIS <<
SM-T800 WIFI or T805 LTE Exynos device
TW Kit Kat 4.4.2
Rooted
TWRP Recovery
CHANGE-LOG
v3.3 [12-March-2015]
kernel :
Revert "net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.2 [12-March-2015]
ramdisk :
Synapse: FS: remove "Wipe Cache" and "Wipe Dalvik-Cache" options (may cause user app issue who forget to reboot)
Synapse: FS: add "Wipe Cache & Dalvik-Cache Reboot" option
kernel :
Revert "ipv4: try to cache dst_entries which would cause a redirect" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.1 [11-March-2015]
ramdisk :
init.rc: remove some boot defaults (set in source)
Synapse: GPU QoS: FIX GPU CPU QoS display correct CPU (A7) freq, ie CPU freq 250 is now displayed as 500 MHz for GPU 177 MHz, and so on
Synapse: FS: add Wipe tombstones option
Synapse: MEMORY: change dirty_ratio & dirty_background_ratio to Adaptive and update descriptions.
kernel :
mm/page-writeback.c: enabled Dynamic Dirty Writeback by default
mm: Implement Adaptive Dirty Background Ratio & Dirty Ratio for suspend/resume [by UpInTheAir]
config: enable ADAPTIVE_DIRTY_BACKGROUND_RATIO & ADAPTIVE_VM_DIRTY_RATIO
mm: adjust dirty_background ratio to mirror ramdisk init.rc value
mm: adjust swappiness value to mirror ramdisk
fs: make ADAPTIVE_VFS_CACHE_PRESSURE compile optional [by UpInTheAir]
config: enable ADAPTIVE_VFS_CACHE_PRESSURE
v3.0 [09-March-2015]
ramdisk :
Synapse: FS: add FSTrim push button
Synapse: FS: add Wipe Options - Wipe Cache, Wipe Cache Reboot, Wipe Dalvik-Cache, Wipe Dalvik-Cache Reboot, Wipe Clipboard Cache
Synapse: BACKUP RESTORE: FIX backups not being restored
Synapse: BACKUP RESTORE: rework and now able to add names to Profile and Kernel Backups !!
kernel :
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 0 (better UI performance with all cores on like stock. Battery nuts can set to 30%)
timer: optimize apply_slack()
kernel/timer.c: Optimize apply_slack() for size and speed
block: recursive merge requests
ipv4: try to cache dst_entries which would cause a redirect
net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend
v2.9 [05-March-2015]
ramdisk :
sbin: SkyHigh.sh: Do not kill system and user app processes enabled by default
sbin: SkyHigh.sh: added some default processes
init.rc: set SELinux Permissive by default on boot
init.rc: add support for timer slack values and defaults
Synapse: CPU MULTICORE: remove Hotplug mode control (Hotplug screen on & off mode is default permanent). Screen off mode is just too buggy, there is a work-around which I'll add to Post #3 PERFORMANCE section
Synapse: CPU GOV: FIX seekbar (replace it) not setting sampling rate when changing to conservative gov
Synapse: ADVANCED: add Dynamic timer slack controls & default values for battery savings ( thanks to Christopher83 )
Synapse: SECURITY: add SELinux Status control (toggle between Enforcing & Permissive)
Synapse: FS: add SPI CRC Settings control (already disabled by default in source)
Synapse: LOGS: add printk (kernel dmesg) control
Synapse: tidy up & a few other minor things
kernel :
Revert "SELinux: set permissive in source instead of ramdisk
SELinux: permit Enforcing > Permissive changes in ROM
drivers/mmc: spi CRC configurable
cpufreq: interactive: don't schedule timer on offline cpu
cpufreq: interactive: delete timers for GOV_START
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
mm: remove compressed copy from zram in-memory
Samsung DYNAMIC Hotplug control: sync with oloendithas
Makefile: fix DYNAMIC Hotplug control compile warnings
tick: Upstream fixes
kthread_work: wake up worker only when the worker is idle
config: enable DEBUG_HOTPLUG
cgroups: Introduce timer slack controller
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
config: enable CGROUP_TIMER_SLACK
kernel: cgroup_timer_slack: Dynamic management of timer slack
kernel: cgroup_timer_slack: Dynamic management of timer slack - adapt for PowerSuspend driver
config: CGROUP_DYNAMIC_TIMER_SLACK
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
Makefile: Turn off -Wmaybe-uninitialized when building with -Os
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
printk: Add sys kernel interface to configure linux printk logging
printk: make sysfs kernel interface compatible with Synapse app
scripts: gcc-wrapper: Use wrapper to check compiler warnings
Makefile: implement CCACHE properly
Makefile: Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
Makefile: optimize flags
Samsung DYNAMIC Hotplug control: screen on & off mode set default
WLAN subsystem: Sysctl support for key TCP/IP parameters
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 30
v2.8 [28-February-2015]
ramdisk :
init.rc: set Wolfson speaker equalizer switch off by default
synapse: add CPU MULTICORE tab: add Holtplug controls for screen off & on/off modes
synapse: CPU FREQ: move CPU multi-core power saving & Power Efficient WQ controls to CPU MULTICORE
synapse: MEMORY: remove KSM & add UKSM controls
synapse: SYSCTL KERNEL: fix apply/discard bug
kernel :
Samsung DYNAMIC Hotplug control
Hotplug: set to Screen OFF mode by default
scheduler: update BFQ-v7r4 to BFQ-v7r7 for 3.4.0
UKSM v1.2.2
UKSM: fix compile warnings
config: enable UKSM
Hotplug: prevent changes to user set scaling_min_freq_gpu
v2.7 [02-February-2015]
ramdisk :
init.rc: set optimistic DAD enabled
synapse: SYSCTL: add separate FS-KERNEL-NET-VM (if you don't understand what each does, don't touch)
synapse: ADVANCED: add Arch Power control (enabled)
synapse: NETWORK: add IVP6 Optimistic Detection (enabled)
kernel :
net: wireless: bcmdhd4358: reduce kernel logging
page_alloc: Make watermarks tunable separately
powersuspend: various patches/fixes
usb: gadget: check for accessory device before disconnecting HIDs
ipv6: clean up anycast when an interface is destroyed
xt_qtaguid: Use sk_callback_lock read locks before reading sk->sk_socket
ARM: compile KERNEL_MODE_NEON with -mfpu=neon-vfpv4
Makefile: various (experimental) kernel build optimizations
sched: Add controls for sched features
ARM: compile vfp with softfp
v2.6.0 [30-Jan-2015]
ramdisk :
synapse: NETWORK: FIX apply/discard bug for TCP speed/security & 3G DNS tweaks
synapse: NETWORK: add Screen mirror/allshare cast fix control
Synapse: NETWORK: add Clean WIFI Lease
synapse: NETWORK: set TCP/IP Network Speed tweak "Enabled" by default
Synapse: ADVANCED: add LMK profiles
Synapse: MEMORY: add KSM stats
Synapse: MEMORY: add Drop caches (default enabled)
Synapse: BATTERY: add battery scaling re-calibration instructions
kernel :
arch: arm: lib: optimize memcpy for cortex-A15
config: enable ARM_PLD_64BYTE & USE_LDRDSTRD_OVER_LDMSTM
Revert "BCMDHD4354: WIFI: POWERSUSPEND support (not using with panel on/off powersuspend hooks)
v2.5.0 [24-Jan-2015]
ramdisk :
T805XXU1AOA1 ramdisk
synapse: GPU QoS: add GPU QoS controls for: MIF, INT, CPU
synapse: AUDIO: add controls for speaker amplification & equalizer
ramdisk: /sbin/SkyHigh.sh: add Wolfson sound defaults (parametric equalizer presets & tuning by heyjoe66)
kernel :
sched: Implement smarter wake-affine logic
cpufreq: interactive: decrease timer_slack to 70ms
kernel/power/powersuspend: add display panel hooks for powersuspend
kernel/power/powersuspend: add missing version numbers
wolfson sound control: Fixed stereo EQ and DRC for headphones and speakers
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
CPU unaligned access path
ARM: enable UNALIGNED_ACCESS
Makefile: enable unaligned access
config: enable HAVE_EFFICIENT_UNALIGNED_ACCESS
fs/dcache.c: Fix the too small buffer for dname
GPU: add interface to modify GPU governor scaling table for MIF/INT/CPU QoS freq
Makefile: fix compile error
devfreq: INT: unlock 83 MHz min freq
devfreq: MIF: unlock 133 MHz min freq
v2.4.0 [17-Jan-2015]
ramdisk :
synapse: GPU: FIX GPU governor not setting on reboot
synapse: MEMORY: update Dynamic Dirty Page Writeback description
kernel :
cpufreq: interactive: use new CPUFREQ_RELATION_C
fs: vfat: reduce the worst case latencies
config: enable XPAD support (Microsoft X-BOX gamepad)
mm: pass readahead info down to the i/o scheduler
v2.3.0 [12-Jan-2015]
ramdisk :
/sbin/SkyHigh.sh: add NTFS r/o mounting (/mnt/ntfs/). For r/w, use paragon app.
kernel :
block: sysfs: allow non superusers to change I/O scheduler
Fix dynamic read-ahead
binfmt_elf.c: use get_random_int() to fix entropy depleting (max = 4096)
android: lowmemorykiller: add lmk parameters tunning code
lowmemorykiller: Account for highmem during kswapd reclaim
cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
omdemand: lower down_step_level to 100 (aka 200) MHz
cpufreq: Introduce new relation for freq selection
Squash 'enhance power efficiency' patches
vfs: fix bad hashing of dentries
selinux: whitelist f2fs
SELinux: Fix memory leak upon loading policy
selinux: just shut up
selinux: fix inode security list corruption
fs: Add a missing permission check to do_umount
kernel: add support for gcc 5
crypto: create generic version of ablk_helper
ARM: pull in <asm/simd.h> from asm-generic
crypto: sha1: add ARM NEON implementation
config: CRYPTO_SHA1_ARM_NEON
crypto: ablk_helper - Replace memcpy with struct assignment
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once
crypto: sha256 - Expose SHA256 generic routine to be callable externally
crypto: sha512 - Expose generic sha512 routine to be callable from other modules
ARM: 8120/1: crypto: sha512: add ARM NEON implementation
config: enable CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
board-lt03-battery: Longer battery polling interval
v2.2.0 [24-Dec-2014]
ramdisk :
init.rc: set GPU governor course_demand (set as default)
Synapse: GPU: add Midgard GPU power policy control
Synapse: GPU: add Midgard GPU power policy threshold control (set default profile "Battery")
Synapse: NETWORK: add 3G DNS speed & security tweak
Synapse: Some more clean up
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
Mali: proper GOV table on init; code cleanup
v2.1.0 [21-Dec-2014]
ramdisk :
FIXED CIFS: init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases (forgot to include when updated ramdisk)
FIXED slow Synapse load on boot: KNOX: please set to "NO_ACTION" after set Disabled or Enabled. Knox will still be enabled or disabled.
Synapse: Lots of clean up of code and remnants of old files
Synapse: Tidy up of layout, added/remove/move tabs and features about
Synapse: CPU: added big.LITTLE CPU freq time in state
Synapse: GPU: added GPU freq time in state
Synapse: IO: added IO scheduler tunables
Synapse: BATTERY: added more info
Synapse: REBOOT: added Restart Synapse button
Synapse: INFO: added asv_group
Synapse: NETWORK: add TCP security
Synapse: NETWORK: add TCP speed
v2.0.0 [27-Nov-2014]
updater-script :
Removed ROM KNOX removal code (Synapse freeze/disable in Synapse control added)
ramdisk :
ramdisks from T800XXU1ANJ6 & T805XXU1ANJ5
init.rc/default.prop: removed SELinux permissive hack, now set in source
Synapse: Security: add KNOX enable/disable (freeze) control
Synapse: CPU: Power-efficient Workqueues control (default enabled)
Synapse: USB: remove storage options (temporary until fixed)
Synapse: Network: remove GPS tweak options - slowing down boot (temporary until fixed)
Synapse: various small tidy up and additions
kernel :
source update: T705WVLU1ANJ5
SELinux: set permissive in source instead of ramdisk
v1.9.1 [07-Oct-2014]
ramdisk :
synapse: FS: bug fix - Optimise Databases error if no sdcard/SkyHigh/Log folder not present
v1.9 [07-Oct-2014]
ramdisk :
init.rc: remove Gentle Fair Sleepers boot default - now disabled by default in source
synapse: Backup Restore: fixed bug not backing up & restore current kernel
synapse: FS: add push button to Optimise Databases (SQLite3)
kernel :
xz: tweaking kernel compression
af_unix: speedup /proc/net/unix
sched: disable GENTLE_FAIR_SLEEPERS by default
mm: don't wait for congestion when mem is high
block: disable add_random for more performance on SSD's
fs/dyn_sync_cntrl: on by default if enabled in defconfig
mmc: disable CRC check for better performance
mm: optimize Kernel Samepage Merging (KSM)
Input: send events one packet at a time
lib/int_sqrt.c: optimize square root algorithm
readahead: make context readahead more conservative
gpu: ion: system_heap: add support for 2MB allocations
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot
v1.8 [30-Sept-2014]
ramdisk :
init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases.
synapse: USB: add MTP mount option (if is doesn't mount storage properly on PC, just toggle between Default > MTP )
synapse: INT/MIF voltage control
kernel :
EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq
opp: De-obscurify OPP structs and disclose find_device_opp
devfreq: add Exynos 5420 MIF voltage control
devfreq: add Exynos 5420 INT voltage control
MIF / INT fix
MIF / INT: allow 6250 mV increments
EXYNOS5420 MIF: set 800 MHz for CPU 2.0 GHz freq
workqueue: fix permission for power_efficient
v1.7 [21-Sept-2014]
kernel :
arch/arm/Makefile: adaptation to full neon-vfpv4 support
sched: GENTLE_FAIR_SLEEPERS fix unused cpu var
drivers/staging: configurable android log buffer sizes
config: set LOGCAT_SIZE=256
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
bfq-iosched: tuning for SSD
ksm: check and skip page, if it is already scanned
config: enable KSM_CHECK_PAGE
config: enable Conservative & disable Userspace governor
v1.6 [17-Sept-2014]
ramdisk :
init.rc: set defaults: removed KSM deferred_timer as now set enabled in source
synapse: Network: tcp_default_init_rwnd (not sure how to tune the value yet)
synapse: Reboot: added Power Off option
kernel :
cifs: enable mounting cifs drives visible to all apps
config: enable CIFS RESTRICT_ROOTFS_SLAVE
block: Reserve only one queue tag for sync IO if only 3 tags are available
setlocalversion: do not append -dirty when there are un-committed changes
kswapd: reduce time spent in congestion_wait
workqueue: add system wide power_efficient workqueues (battery)
config: enable WQ_POWER_EFFICIENT (battery)
CPUFREQ: ondemand: use power efficient wq (battery)
mutex: Make more scalable by doing less atomic operations
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
writeback: fix writeback cache thrashing
sched: Make scheduler aware of cpu frequency state
bcmdhd4354: filter multicast packages while suspended (battery)
tcp: add a sysctl to config the tcp_default_init_rwnd
net: tcp: optimization with rcv_wnd
vfp/Makefile: compile with -mfpu=neon-vfpv4 & hard float
slub: optimized SLUB memory allocator
net: loopback: set default mtu to 64K
ksm: enable deferred_timer by default to prevent the CPU to be wakened for ksm activities
ext4: add support for FIDTRIM, a best-effort ioctl for deep discard trim (no idea if it's working)
Report permissive mode in avc: denied messages
config: disable mutex debugging
v1.5 [10-Sept-2014]
ramdisk :
init.rc: set defaults: Dynamic FSync enabled
kernel :
ARM: implement KERNEL_MODE_NEON
config: enable KERNEL_MODE_NEON
Makefile: added ccache for speed up kernel compile
sync: don't block the flusher thread waiting on IO
staging: android: lowmemorykiller: select a new task to kill
SELinux: Reduce overhead of mls_level_isvalid() function call
SELinux: Fix kernel BUG on empty security contexts
fix compile warning for Async Fsync
arm/crypto: add optimized AES and SHA1 routines
config: enable CRYPTO_SHA1_ARM & CRYPTO_AES_ARM
softirq: reduce latencies
ext4: speed up truncate/unlink by not using bforget() unless needed
mm: Clear page active before releasing pages
v1.4 [07-Sept-2014]
ramdisk :
synapse: Memory: VNSWAP control (1>1024 MB - Unable to disable (reset) / set size to 0 yet)
synapse: Memory: ZSwap memory pool control
synapse: Memory: Deferred Timer control
synapse: minor typo, cleanup & corrections to general layout and descriptions
kernel :
ksm: Provide support to use deferred timers for scanner thread
sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire
staging: android: lowmemorykiller: implement task's adj rbtree
config: enable ANDROID_LMK_ADJ_RBTREE
cpufreq: tidy up
block: add SIO I/O scheduler
block: add ZEN I/O scheduler
config: enable SIO & ZEN I/O schedulers
v1.3 [03-Sept-2014]
ramdisk :
synapse: Reboot: added Reboot to Download Mode
synapse: USB: USB Mouse / Keyboard control
ramdisk: file_contexts: add busybox to file_contexts to allow via SELinux
kernel :
cpufreq: Fake the IKS specific frequency table to stock values (fixes: corrects to stock CPU touch boost frequencies & CPU freq in Power Saving Mode)
lib: memcopy & string use glibc version
scheduler: update BFQ-v7r4 to BFQ-v7r5 for 3.4.0
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: added on/off trigger to driver
v1.2 [01-Sept-2014]
ramdisk :
synapse: Network: WiFi Power Mode controls
kernel :
BCMDHD4354: WIFI PM support for KitKat driver
BCMDHD4354: WIFI: POWERSUSPEND support
sched: cpu_power: enable ARCH_POWER
v1.1 [31-August-2014]
ramdisk :
init.rc: added some more boot defaults
synapse: new PowerSuspend controls: (enabled Hybrid as default)
kernel :
kernel/power/powersuspend: cumulative update to version 1.5
kernel/power/powersuspend: LCD screen on/off hooks
v1.0 [27-August-2014]
ramdisk :
default.prop: Possible Screen Mirroring / AllShare Cast fix (please give FULL report !!)
init.rc: added some more boot defaults
synapse: added to descriptions & general clean up
synapse: PowerSuspend: (enabled by default)
added dynamic Fsync control (disabled by default)
moved Dynamic Dirty Page Writeback controls
added Adaptive VFS Cache Pressure on Suspend / Resume​
synapse: Battery: added Battery Scaling Calibration (fuel-gauge chip reset)
synapse: Reboot: added Clear Synapse Data button
kernel :
fs/dyn_sync_cntrl: dynamic Fsync control v1.5
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
fs/aio.c: Asynchronous I/O latency to a solid-state disk greatly increased
enabled AIO
kernel: sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
config: set default TCP Westwood+ -- remembered at last
Dynamic read-ahead (1024 kB for 16 GB partition)
block: add FIOPS I/O scheduler
block: deadline: tweaks
Optimize for non-rotational
allow 0ms deadline latency, increase the read speed​
Initial v0.9 release [22-August-2014]
All source and ramdisk mods synced with T700/705 build
INSTALLATION
Watch >> THIS <<
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Install Wanam DVFS disabler for greater kernel control
Recommend: Backup your current kernel with TWRP Recovery
Recommend: Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
If Synapse app is installed and using with any current kernel: device settings > applications > synapse > FORCE STOP & CLEAR DATA
Flash with CWM or TWRP Recovery
After boot (wait at least 60-120 secs)
Open Synapse
Tap "Understood"
Make any change, and tap the "" to apply new defaults
After setting and applying any GPU freq changes, don't forget to tap [Apply GPU Governor Settings] in Synapse GPU section
Any issues, please check Posts #1-3 and search the thread BEFORE posting
DOWNLOAD
10.5" TF800 WIFI EXYNOS
>> WIFI SkyHigh T800 WIFI kernel <<
STOCK T800 WIFI T800ZSU1ANL1 kernel (Flashing Stock will wipe your WiFi setings !)
---------------------------------------------------------------------------------------------------
10.5" TF805 LTE EXYNOS
>> LTE SkyHigh T805 LTE kernel <<
STOCK T805 LTE T805XXU1AOA1 kernel (Flashing Stock will wipe your WiFi setings !)
SOURCE
>> github <<
.

HELP & FAQ
HELP & FAQ
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
BUGS
[Q] Duplicate proc/last_kmsg files
[A] Doesn't appear to affect anything, looking into it - apparently only from v0.8 and up
[Q] Synapse: AUDIO: HP equalizer does not work
[A] Toggle the control switch off > apply > on > apply >then it works
[Q] GPU Qos has this error:
[A] Don't worry, it wont hurt, and will only show if GPU freq 100 MHz is not in use. If you set 100 MHz and restart synapse, control will be available without error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AUDIO
If you don't like the sound:
open synapse app
AUDIO: set all SP equalizer settings to zero
disable SP equalizer
apply
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Uninstall any CPU control apps, tweaks and scripts etc.
Install Wanam DVFS disabler for greater kernel control
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply"
make any change
"apply"
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery (if custom recovery)
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
BETTER BATTERY LIFE
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
Suggest:
CPU GOV: governor = ondemand (tweaked for power efficient workqueues)
CPU FREQ: 200 > 1900 MHz (-25 mV for all)
Synapse: CPU MULTICORE: Hotplug CPU UP boost = 30 %
GPU: 100 > 480 MHz (-50 mV for all) (100 MHz may induce some GUI sluggishness)
GPU: Midgard Power policy control = coarse_demand
GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness)
PowerSuspend Driver = Enable
MEMORY: Dynamic FSync = Enable
MEMORY: Dirty Page Writeback = Enable
CPU Multicore Power Saving = (2) Agressive
BETTER PERFORMANCE
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLATGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler]
Warmer device under heavy load, but within the safe CPU temp of 95 degC
Synapse: CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
Synapse: CPU MULTICORE: Power Efficient WQ = disabled
Synapse: CPU GOV: use Interactve governor
Synapse: GPU: set Midgard Power policy threshold profile to Ondemand or Performance. This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile.
Synapse: GPU: GPU max freq = 533 MHz (more if your device is stable)
Synapse: MEMORY: UKSM = enabled
Synapse: ADVANCED: LMK profile = aggressive
GPU THESHOLD CONTROL
Set Midgard Power policy threshold profile (This determine how your GPU freq scales up/down):
Battery = battery friendly
Ondemand = Good all-round mix
Performance = A little agressive
Method:
Ensure you apply [] any changes to MIN / MAX GPU freq or GPU GOV Threshold profile
PRESS THE "Apply GPU GOV SETTINGS" button !!
Settings will be applied immediately and auto set on every boot.
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
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
HOW TO MONITOR LIVE CPU & GPU VALUES
CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process
[APP][2.1+] Cool Tool
Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxdapre.activity
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
Click to expand...
Click to collapse
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
BATTERY SCALING CALIBRATION - FUEL GAUGE RESET
Tap [Fuel-Gauge reset] in synapse BATTERY section
Reboot device
Battery % "reporting" calibration (digital)
a) Deplete battery to 5-10% (NOT ZERO)
b) Charge UNINTERUPTED until FULL (don't touch)
c) Unplug and then use normally. Device should then re-calibrate itself
..

v0.9 release
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.

UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
PFA the stock NG2 kernel for the 10.5 WIFI

UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
Cheers
Inviato dal mio SM-N9005 utilizzando Tapatalk

** T805 kernel RECALL **
Please wait for re-upload, minor error in init.rc

v0.9 released for all models & re-uploaded T805 kernel
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.

thank you very much, I'm going to try it immediately

UpInTheAir said:
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
Click to expand...
Click to collapse
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work

WarLion said:
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work
Click to expand...
Click to collapse
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.

UpInTheAir said:
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.
Click to expand...
Click to collapse
Thanks mate I will try tomorrow morning thanks

Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you

Orphee said:
Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you
Click to expand...
Click to collapse
You might need to read Post #3 again, and the last few pages of the 8.4" kernel thread regarding heat and throttling.
I have said before that we might need newer source and I can't do magic with that. My older firmware + SkyHigh kernel (older source) scored 36200 standard AnTuTu (edit: just with GPU OC) but I don't really care. I don't live for the benchmark, and I certainly don't see any negative impact on general use
There are other features to the kernel, and if they don't suit user needs, I've included the stock kernel for download
Other than that, we just need to wait to better firmware and source.

I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work

Orphee said:
I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work
Click to expand...
Click to collapse
I realize that, no worries Just edited previous post.....
This newer firmware just runs hotter with older & newer kernel source. Throttling is induced earlier > decreased benchmark performance. Maybe a newer ROM or kernel source will help, time will tell.

UpInTheAir said:
[KERNEL] [SM-T800 WIFI & T805 LTE] [22 August] SkyHigh TW Kernel [R3_v0.9] [Synapse ++]
10.5" SM-T800 WIFI & T805 LTE TW Exynos 5420 supported in thread only !!
I don't have time to build for any more devices I can't personally test & debug - sorry.
Click to expand...
Click to collapse
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.

CodeIndia said:
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.
Click to expand...
Click to collapse
I don't have the time or desire to expand on the commitments I have already (particularly for yet another device I don't use). There is no "porting", but would need complete build and patch from source for your own hardware .......

Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!

Subsonic44 said:
Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!
Click to expand...
Click to collapse
Might be an update towards end of week. Just testing ATM and trying to get final Synapse controls just right.

Related

[ARC/S][KERNEL] LuPuS-JBv12 [JB 4.1 & 4.2][LINARO 4.7.3][UPDATED 08-06-13]

LuPuS-JB-Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Built with Linaro
This kernel can be used on any JB CM BASED JB 4.1 or 4.2
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_disclaimer.h>[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone
* bootloops and alarm does not go off. Please do some research if you have any
* concerns about features included in my kernel before using it! YOU and only
* YOU are choosing to make these modifications.
*/[/COLOR]
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR]
What Works --
Wifi - (flash modules)
Data
Everything Else that works on FXP
What doesn't work --
Anything that doesn't work on FXP
Whats Included in kernel ------------
Added Governors --
brazillianwax
smartass
Smartassv2
Savagedzen
Smoothass
Scary
InteractiveX
Minmax
Userspace
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
- Superbad
- a "superbad" super smooth rendition of a highly optimized "smartass" governor!
- Darkside
- a "slightly more agressive smart" optimized governor!
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
-Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Added Io-scheduler --
VR io-scheduler - Unlike other schedulers, synchronous and asynchronous requests are not treated separately,
instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
- SIO - Simple IO-Scheduler-
SIO is the default scheduler in this kernel. It is widely-regarded as the best all-round performing IO scheduler for android. It is low on CPU usage and optimized for flash-based storage. From the creator - "Based on Noop, Deadline and V(R) IO schedulers. This algorithm does not do any kind of sorting, as it is aimed for aleatory access devices, but it does some basic merging. We try to keep minimum overhead to achieve low latencies. Asynchronous and synchronous requests are not treated separately, but we rely on deadlines to ensure fairness."
- BFQ - Budget Fair Queueing IO-Scheduler-
From Creators
* Copyright (C) 2008 Fabio Checconi
* Paolo Valente
*
* Licensed under the GPL-2 as detailed in the accompanying COPYING.BFQ file.
*
* BFQ is a proportional share disk scheduling algorithm based on the
* slice-by-slice service scheme of CFQ. But BFQ assigns budgets,
* measured in number of sectors, to tasks instead of time slices.
* The disk is not granted to the active task for a given time slice,
* but until it has exahusted its assigned budget. This change from
* the time to the service domain allows BFQ to distribute the disk
* bandwidth among tasks as desired, without any distortion due to
* ZBR, workload fluctuations or other factors. BFQ uses an ad hoc
* internal scheduler, called B-WF2Q+, to schedule tasks according to
* their budgets. Thanks to this accurate scheduler, BFQ can afford
* to assign high budgets to disk-bound non-seeky tasks (to boost the
* throughput), and yet guarantee low latencies to interactive and
* soft real-time applications.
Click to expand...
Click to collapse
I would like to say a big thanks to -
FXP - Sources/help with wifi (thanks Jerpelea)
FXP / Cyanogenmod - Sources
besttt - testing
Sinkster
tempest918 - For the New Logo
DooMLoRD - for patches and all the work he has done for Xpeeria's
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
Kernel sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
LuPuS MENU
You can run lupus menu from terminal or scriptmanager or similar, you must run as root or script will exit with a message
in terminal
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
6/ Clean and Remove tweaks
Remove init.d's
7/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
8/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
Changelog
Code:
[HIDE][B][U]v3 Changes[/U][/B]
[list]
- New Governor Intellidemand2 Thanks @ CosmicDan
- Couple of extra tweaks improvements to battery
- Fixed Wifi
- Reverted Cleancache
- Reverted my disabling of disabling sched_feautures if you get that
- Added USB OTG modules ( find attached zip at the end of the post----> NOTE Not a flashable zip)
- Added stable OC tablefor higher OCing
[/list]
[B][U]V4 Changes[/U][/B]
[LIST]- Updated LZO
- Added Cleancache
- Small code fixes
- Removed OC so phone doesnt boot at 2ghz for a split second causing boot problems (should now be fixed)
- Updated to latest FXP changes
- Optimizations for Linaro
- USB OTG flashable zip
[/LIST]
[B][U]v5[/U][/B]
[list]- Completely scrapped previous sources and started fresh
- Wifi problem fixed
- Fixed Battery drain ( Tester lost 0.2% overnigh with wifi on ) :victory:
- CWM fixed thanks @ Scritch007
- Built with Linaro 4.7
- Optimized for Linaro
- Thumbee
- Reverted to 1.6 max OC
- Lzo patched
- Use Google Snappy Compression / Decompression
- Added TINY RCU
- Uses uncompressed Image {why .img size is bigger)
- Custom improvements for overall smoother performance
[B][U]v6[/U][/B]
- built with latest linaro 4.7.3 (02-01-2013) - Thanks @ ChainFirex
- Added memcopy
- Added compaction
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- Improved CIFS support
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Clean up on wifi config
- Back-ported binder changes
- TWRP recovery - thanks @ championswimmer & TWRP team
- Thanks @ Wechy77 for customizing TWRP
[B][U]v7[/U][/B]
- Built with Linaro 4.7.3 (02-01-2013)
- Free'd RAM (disabled 720p) now 381mb - Thanks at Paul678
- Makefile optimisations (snapdragon & neon) - Thanks at Paul678
- Tweaked permormance on interactive governor - Thanks at Paul678
- Tweaked SIO io sched - Thanks at Paul678
- Free'd some RAM from loggers
- Reduce swappiness
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
- TWRP v2.4 - Thanks @ Championswimmer, TWRP Team and Wechy 77 for parts of his LuPuS theme
- New zRam Enabler thats compatible with TWRP
[/list]
[B]v8[/B]
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks [user=2632235]@bbedward[/user]
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
- Free RAM from logger
- LMK updated and optimized + various LMK tweaks
- Various ARM & RAM changes
- TinyRCU optimizations
- Optimized crc32 lib
- various VM changes
- Improved cleancache
- Undervolt LCD display, touch sensor proximity sensor & Wi-Fi thanks @ M66B
- Entropy tweaks
- Try fix for CRT animation [user=4266283]@paul678[/user]
- TWRP & CWM
- LuPuS Menu
- Auto Loading wifi
- All modules and init.d's included No need to flash anything after kernel
Plus alot more changes see [URL="https://github.com/garwedgess/semc-kernel-msm7x30/commits/jellybean"] for full list of credits and patches used[/URL]
[B]v9[/B]
- Latest changes to ALS and Button Backlight -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS and Button Backlight option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
[B]v10[/B]
- Fixed 3D from hanging under high intensity
- Fix pmem for HDPI mike NG (no more reboots??)
- CWM Recovery = VOLUME DOWN
- TWRP Recovery = VOLUME UP
- Clean up on LuPuS Menu
- Better wifi check
- KEY RESET ( Menu and POWER)
- Tuned Smartassv2 and SmartassH3 [user=2799345]@M66B[/user]
Thanks @ gu5t3r
[B]v11[/B]
- Fixed reboot to recovery
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
- Fixed "dancing android"[/hide]
[B]v12[/B]
- Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Removed persistent RAM
- Added zCache
- Removed some more kernel debugging
- uninterruptible sleep
- Update SIO & CFQ
- Added Ultra-KSM
- Removed optimized AES & SHA1 routines
- Updated TWRP to 2.4.4
*Fixed Mount USB Storage in TWRP
- Updated CWM to latest Official CWM source
*Removed reboot options
*Re-added power off and reboot system now to main menu
- Improved wifi-loading scripts
- Clean up of lupus menu
- Fixed root issue on some devices
- Reworked kernel logs (can be found in /data/local/tmp)
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LuPuS-ARC&S-JBv11 Downloads
480p
LuPuS_anzu_jBv12-ram.img
md5 = 7f969fffdf9cc994a6cacd1e86126e0a
720p
LuPuS_anzu_jBv12.1-full.img
md5 = 82ac86e630532e7e318070abe58dceb3
Mirrors -- all LuPuS Kernels can be found here
www.goo.im/devs/wedgess
Wifi is built in to kernels ramdisk NO MODULES NEEDED
DO NOT MIRROR MY DOWNLOADS
- zRam is not enabled by default unless on CM10 ROM, for AOKP to enable it flash the wedgess-zram-enabler.zip in CWM
- If for whatever reason you want to disable Zram after you have flashed the .zip, just go to ect/init.d and delete 00zram
People will ask so i'll just post it here---------to check if zRam is enabled go to terminal emulator or similar and type
Code:
free
or alternatively
Code:
cat /proc/swaps
Please Click Thanks :good:
Hell yeah!! The best kernel, with difference.
Downloading and flashing...
Hell yeah!!
great news thanx
big boss
Wifi doesn't work, even if you flash the fix.
Can i use fxp137 modules
Sent from my Arc S using xda premium
p47r0n said:
Wifi doesn't work, even if you flash the fix.
Click to expand...
Click to collapse
but my wifi is working fine, thanks!
looking forward to trying this when I get home, looks promising, finally for CM10!!!
A lupus Kernel for CM10 Arc???. I'm about to donate :good:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
caqo71 said:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
Click to expand...
Click to collapse
+1 stock GB I've seen he made one for Pro.
caqo71 said:
A lupus Kernel for CM10 Arc???. I'm about to donate :good:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
Click to expand...
Click to collapse
this kernel is for both arc wnd arc s thank you man tgat would be great as for cm7 u might just motivate me. but rite now i have no intention.
to poster above me i have made stock gb for the play as i own one not pro only ics for pro and arc/s
Sent from my GT-I9300
Instructions
- extract cifsfile.zip
- save cifs,ko file to your sdcard
- in terminal emulator
- cd sdcard
- su
- insmod cifs.ko
Hi
first of all, congratulations to your kernel, have him successfully installed and it runs okay.
But I do not get the go with CIFS.?
nice work, going to try it with AOKP JB. Does it support EXT4 and voltage controle?
Sorry, this kernel works on Paranoidandroid 2.11 Rom?
HorvathTheWizard said:
Sorry, this kernel works on Paranoidandroid 2.11 Rom?
Click to expand...
Click to collapse
Yes all cm10 based roms
Sent from my R800i
does wifi working 100% correct with this kernel?
Sent From Xperia Arc - CM10 Using Xda Premium!
caqo71 said:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
:highfive:
Click to expand...
Click to collapse
+1 too.
i flashed the modules.. wifi not working
lt15i , cm10
EDIT: i reflashed modules/ fix and fixed permitions, wifi is working fine for now
EDIT2: after just few seconds of using, wifi has stopped working, and also system settings FC's a lot..
flashing back fxp's kernel
Marchello1 said:
i flashed the modules.. wifi not working
lt15i , cm10
EDIT: i reflashed modules/ fix and fixed permitions, wifi is working fine for now
EDIT2: after just few seconds of using, wifi has stopped working, and also system settings FC's a lot..
flashing back fxp's kernel
Click to expand...
Click to collapse
strange seem to be the only one wifi works fine
Sent from my GT-I9300

[KERNEL] [CM Port] [07 Oct] SkyHigh Kernel [v1.4] [Synapse ++]

[KERNEL] [CM PORT] [07 Oct] SkyHigh Kernel [R3_v1.4] [Synapse ++]
I only have so much free time, so I don't plan to update this kernel. I have other devices I tinker with and personally use.
I have given Devs who have publicly released their CM ROM's (as per GPL and XDA rules) and kernel sources on git, to use what I have done and adapt it to there needs.
This kernel is currently compatible and built for use with the CM ROM Port by @eousphoros. As I don't own or use a T700 WIFI device, I can't guarantee if this kernel will fix any issues or create more. Up to YOU to find out
I don't have time to build for any more devices I can't personally test & debug - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of TW SM-T700/705/800/805, SM-N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 CM Port SM-T700 WIFI kernel compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << from v0.5 : might not be always up-to-date !
CM SPECIFIC FIXES
✔ SELinux removed from kernel build
✔ MTP & PTP mounting
✔ Flip Cover working for supported covers
TWRP RECOVERY SPECIFIC FIXES
✔ Fixes unable to write to INTERNAL storage after restore using TWRP Recovery
FEATURES
✔ Based on official Samsung source: T700OPU1ANG2
✔ ramdisk source: CM ROM Port
✔ Built with Stock ARM Toolchain 4.7
✔ Compiled with KERNEL_MODE_NEON & -mfpu=neon-vfpv4 & hard float
✔ KNOX WARRANTY VOID: 1
✔ adb insecure
✔ init.d script support
✔ busybox v1.22.0-Dream-IRC installed to /sbin
✔ Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU
CPU max frequency A15 cores = 2100 MHz (stock/default = 1900 MHz)
CPU min frequency A7 cores = 200 MHz (stock/default = 500 MHz)
Multi-core power saving control (sched_mc_power_savings)
CPU VOLT
Voltage control for:
big cores
LITTLE cores​
GOV
CPU governor
interactive (default)
on-demand (tweaked to use power efficient workqueues)
conservative​
CPU governor tunables
MEMORY
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
CFQ
NOOP
FIOPS
SIO
ZEN​
General IO tuneable
Int storage scheduler
Int storage read-ahead (1024 KB for 16 GB partition)
Kernel SamePage Merging (KSM)
Pages to Scan
Scan delay interval
Deferred Timer control​
Virtual Memory
VNSWAP control
ZSwap memory pool control
Dirty Background Ratio
Dirty ratio
Swapiness​
INT/MIF
CPU internal frequency voltage control (MHz)
133 - 222 - 333 - 400 - 440 - 460 - 480 - 500 - 600​
Memory frequency voltage control (stock max = 733 MHz)
160 - 200 - 266 - 400 - 533 - 667 - 733 (1.9 GHz) - 800 (2.0 GHz) - 933 (2.1 GHz)​
GPU
GPU max frequency = 667 MHz (stock/default = 480 MHz)
GPU min frequency = 100 MHz (stock/default = 177 MHz)
GPU voltage control
POWER SUSPEND
PowerSuspend
Autosleep_hook
Userspace_trigger
DisplayPanel_hook
Hybrid_hook (default)​
PowerSuspend State (only with Userspace_trigger)
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writebacks
Adaptive VFS Cache Pressure on Suspend / Resume
ADVANCED
Low Memory Killer (OOM LMK)
Management of not killable processes whitelist
system apps
user apps​
Entropy
Gentle Fair Sleepers control
randomize_va_space control
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
AUDIO
* WolfsonMicro WM5102 sound control by AndreiLux
Mono output
HeadPhone equalizer settings
BATTERY
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
WiFi Power Mode While Screen-On/Off
WiFi DTIM Interval While Screen-On/Off
tcp_default_init_rwnd
TCP/IP network security
TCP/IP network speed
GPS region
Default, Asia, Europe, Oceania, North America, South America, Africa​
USB
UMS (USB Mass Storage) mode
MTP mode
USB Keyboard / Mouse (with USB Keyboard app)
BACKUP & RESTORE
Restore - Delete - Backup
kernel
profile​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data
FS (File System)
Display FS Type
FS Controls
remount System R/W R/O
remount RootFS R/W R/O
Maintenence
optimise databases (SQLite3)​
LOGS
Android logger control (disabled)
logcat
dmesg
last_kmsg
✔ xz kernel compression
✔ Reduced logging
✔ enable ARCH_POWER
✔ use WQ_POWER_EFFICIENT
✔ optimized SLUB memory allocator
✔ Frandom
✔ mount partitions NOATIME and NODIRATIME by default
✔ FIDTRIM
✔ F2FS support in source and ramdisk (not tested)
✔ exFAT FS support
✔ NTFS R/W support with app
✔ CIFS support
✔ Asynchronous Fsync
✔ WIFI: filter multicast packages while suspended
✔ /proc/.config.gz support
CREDITS
* My family !!
* BeansTown106 & Chainfaire - root
* halaszk88 - initial sysnapse layout & source commits
* AndreiLux - many many contributions to Exynos kernel development & Synapse app
* eousphoros - Initial CM ROM Port
* apbaxel - various synapse controls I've adapted
* faux123 - various patches
* Yank555 - various patches
* 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
Samsung Galaxy Tab S - CM Port Kernels, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-T700-kernel-T700OPU1ANG2/tree/SkyHigh_CM_Port
Kernel Special Features: Synapse ++
Version Information
Status: No Longer Updated
Current Stable Version: v1.4
Stable Release Date: 2014-10-07
Created 2014-09-07
Last Updated 2014-12-21
Requirements - installation & download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
Watch >> THIS <<
SM-T700 WIFI Exynos device
[UNOFFICIAL][PORT][ROM] Blck/Cyanogenmod 11 (Android 4.4.4) SM-T700 16gb
Rooted
TWRP Recovery or other suitable custom recovery
CHANGE-LOG
v1.4 [07-Oct-2014]
ramdisk :
init.rc: remove Gentle Fair Sleepers boot default - now disabled by default in source
synapse: Backup Restore: fixed bug not backing up & restore current kernel
synapse: FS: add push button to Optimise Databases (SQLite3)
synapse: USB: add Storage Mode MTP & UMS (USB Mass Storage) control (if MTP doesn't mount storage properly on PC, just toggle between Default > MTP )
synapse: USB: USB Keyboard control
synapse: INT/MIF voltage control
synapse: various other layout changes and descriptions etc
kernel :
xz: tweaking kernel compression
af_unix: speedup /proc/net/unix
sched: disable GENTLE_FAIR_SLEEPERS by default
mm: don't wait for congestion when mem is high
block: disable add_random for more performance on SSD's
fs/dyn_sync_cntrl: on by default if enabled in defconfig
mmc: disable CRC check for better performance
mm: optimize Kernel Samepage Merging (KSM)
Input: send events one packet at a time
lib/int_sqrt.c: optimize square root algorithm
readahead: make context readahead more conservative
gpu: ion: system_heap: add support for 2MB allocations
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot
EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq
opp: De-obscurify OPP structs and disclose find_device_opp
devfreq: add Exynos 5420 MIF voltage control
devfreq: add Exynos 5420 INT voltage control
MIF / INT fix
MIF / INT: allow 6250 mV increments
EXYNOS5420 MIF: set 800 MHz for CPU 2.0 GHz freq
workqueue: fix permission for power_efficient
v1.3 [21-Sept-2014]
ramdisk :
init.rc: set defaults: removed KSM deferred_timer as now set enabled in source
synapse: Network: tcp_default_init_rwnd (not sure how to tune the value yet)
synapse: Reboot: added Power Off option
kernel :
arch/arm/Makefile: adaptation to full neon-vfpv4 support
sched: GENTLE_FAIR_SLEEPERS fix unused cpu var
drivers/staging: configurable android log buffer sizes
config: set LOGCAT_SIZE=256
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
bfq-iosched: tuning for SSD
ksm: check and skip page, if it is already scanned
config: enable KSM_CHECK_PAGE
config: enable Conservative & disable Userspace governor
block: Reserve only one queue tag for sync IO if only 3 tags are available
setlocalversion: do not append -dirty when there are un-committed changes
kswapd: reduce time spent in congestion_wait
workqueue: add system wide power_efficient workqueues (battery)
config: enable WQ_POWER_EFFICIENT (battery)
CPUFREQ: ondemand: use power efficient wq (battery)
mutex: Make more scalable by doing less atomic operations
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
writeback: fix writeback cache thrashing
sched: Make scheduler aware of cpu frequency state
bcmdhd4354: filter multicast packages while suspended (battery)
tcp: add a sysctl to config the tcp_default_init_rwnd
net: tcp: optimization with rcv_wnd
vfp/Makefile: compile with -mfpu=neon-vfpv4 & hard float
slub: optimized SLUB memory allocator
net: loopback: set default mtu to 64K
ksm: enable deferred_timer by default to prevent the CPU to be wakened for ksm activities
ext4: add support for FIDTRIM, a best-effort ioctl for deep discard trim (no idea if it's working)
Report permissive mode in avc: denied messages
config: disable mutex debugging
v1.2 [11-Sept-2014]
ramdisk :
init.rc: set defaults: Dynamic FSync enabled
kernel :
ARM: implement KERNEL_MODE_NEON
config: enable KERNEL_MODE_NEON
Makefile: added ccache for speed up kernel compile
sync: don't block the flusher thread waiting on IO
staging: android: lowmemorykiller: select a new task to kill
fix compile warning for Async Fsync
arm/crypto: add optimized AES and SHA1 routines
config: enable CRYPTO_SHA1_ARM & CRYPTO_AES_ARM
softirq: reduce latencies
ext4: speed up truncate/unlink by not using bforget() unless needed
mm: Clear page active before releasing pages
v1.1 [08-Sept-2014]
ramdisk :
synapse: USB: remove UMS & USB keyboard/mouse controls (causing issues I need to look at when have motivation)
kernel :
gpio_keys: add flip cover wake/suspend event
gpio_keys: fixed gpio flip-cover
v1.1 [08-Sept-2014]
ramdisk :
synapse: USB: remove UMS & USB keyboard/mouse controls (causing issues I need to look at when have motivation)
kernel :
gpio_keys: add flip cover wake/suspend event
gpio_keys: fixed gpio flip-cover
Initial v1.0 release [08-Sept-2014]
* All source and ramdisk mods synced with T700/705 TW build
kernel :
config: disable DEFERRED_INITCALL
add a runtime dependency checkerS for compile
Compile stock and Samsung MTPs together
config: disable SELINUX
INSTALLATION
Watch >> THIS <<
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Install Wanam DVFS disabler for greater kernel control
Recommend: Backup your current kernel with TWRP Recovery
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Flash with TWRP Recovery
Any issues, please check Posts #1-3 and search the thread BEFORE posting
DOWNLOAD
8.4" TF700 WIFI EXYNOS
>> SkyHigh CM Port T700 WIFI kernel <<
>> ORIGINAL "Stock" CM Port T700 WIFI kernel <<
SOURCES
>> SkyHigh kernel: UpInTheAir github <<
>> Original "Stock" kernel: eousphoros github <<
.
HELP & FAQ
HELP & FAQ
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply ✔
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
Uninstall any CPU control apps, tweaks and scripts etc.
Install Wanam DVFS disabler for greater kernel control
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply" ✔
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery (if custom recovery)
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
BETTER BATTERY LIFE
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
Suggest:
CPU governor = ondemand (tweaked for power efficient workqueues)
CPU 200-1900 MHz -25 mV
GPU 100-480 MHz -50 mV (100 MHz may induce some GUI sluggishness)
PowerSuspend Driver = Enable
Dynamic FSync = Enable
Dirty Page Writeback = Enable
CPU Multicore Power Saving = (2) Agressive
BETTER PERFORMANCE
Disable DVFS with [APP][Android 4.0+][DVFS Disabler]
Warmer device under heavy load, but within the safe CPU temp of 95 degC
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
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
HOW TO MONITOR LIVE CPU & GPU VALUES
CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process
[APP][2.1+] Cool Tool
Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxda.pre.activity
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
Click to expand...
Click to collapse
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
..
Thanks for the hard work, @UpInTheAir! In coming from the debloated stock rom and your other SkyHigh Kernel should I wipe everything, flash this Kernel and then the CM ROM? Or should I flash the stock kernel, CM Rom, set it up, then flash this kernel?
v1.0 released
R3_v1.0 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
DjRashonal said:
Thanks for the hard work, @UpInTheAir! In coming from the debloated stock rom and your other SkyHigh Kernel should I wipe everything, flash this Kernel and then the CM ROM? Or should I flash the stock kernel, CM Rom, set it up, then flash this kernel?
Click to expand...
Click to collapse
Please read Post #2 REQUIREMENTS section again. First User post is ROM related...........
I have nothing to do with the ROM, and User should read the ROM thread for instructions on how to flash that.
Personally I would.
1. Make Titanium backup saved to external sdcard
2. Make full TWRP backup and saved to external sdcard
3. Format: system, data, cache, internal storage (just to make sure)
4. Flash CM ROM Port
5. Boot device
6. Reboot & flash SkyHigh CM Port kernel
UpInTheAir said:
Please read Post #2 REQUIREMENTS section again. First User post is ROM related...........
I have nothing to do with the ROM, and User should read the ROM thread for instructions on how to flash that.
Personally I would.
1. Make Titanium backup saved to external sdcard
2. Make full TWRP backup and saved to external sdcard
3. Format: system, data, cache, internal storage (just to make sure)
4. Flash CM ROM Port
5. Boot device
6. Reboot & flash SkyHigh CM Port kernel
Click to expand...
Click to collapse
Thanks! Was just rereading your thread and saw that thanks mucho! I'll be giving this a run and looking forward to synapse con CM!
Flip cover
FLIP COVER now working for supported covers !! :highfive: Will be in next release
Tested with official Samsung Flip cover:
Open = screen ON
Close = screen OFF
Before you ask: NO, I don't know how to make this support non-official Flip Covers Patches and work-arounds on other devices don't work
Nice, looking forward to regaining that function on the book cover.
kenkiller said:
Nice, looking forward to regaining that function on the book cover.
Click to expand...
Click to collapse
I just stumbled upon a couple patches and gave them a try :good:
v1.1 released
R3_v1.1 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
The case functionality worked beautifully. Thanks!
On 2 occasions when quickly opening and closing the case, the power menu came up.
No biggie, went away after closing the case. Even the speed that the screen came on is noticeable faster than on stock rom.
kenkiller said:
On 2 occasions when quickly opening and closing the case, the power menu came up.
No biggie, went away after closing the case. Even the speed that the screen came on is noticeable faster than on stock rom.
Click to expand...
Click to collapse
That happened to me once, thought I may have bumped a button..... Obviously not. Edit: can't re-confirm anything, because I'm back to TW
The stock ROM is a lot heavier and more indepth features to resume. There is actually code that can be tweaked for delay in open/close, but I'm not going to fiddle with it. It seems about right. Also the PowerSuspend driver can affect the resume delay too. There are notes in the github commits by Yank.
v1.2 released
R3_v1.2 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
Nice kernel. Do you find this increases battery life. Battery life is bad right now on cm11
SS2006 said:
Nice kernel. Do you find this increases battery life. Battery life is bad right now on cm11
Click to expand...
Click to collapse
I don't own a T700 or use CM. I only flashed to my T705 to ensure it booted and kernel functions work.
Who knows about battery. ... The kernel has options exposed for users to tweak how they wish. I can't do any more than this.
Ill try and update this kernel in the next day or so. Just had enough for the moment
I own a T705.
I followed the procedure and although the system booted and the kernel seems to be flashed correctly (at least from what I can see from the info tab under settings), it seems that I lost root. Synapse doesn't work (as it says I have no root).
Now I'm trying to root again and see what happens..
EDIT: Rooting was unsuccessful
Kwbmm said:
I own a T705.
I followed the procedure and although the system booted and the kernel seems to be flashed correctly (at least from what I can see from the info tab under settings), it seems that I lost root. Synapse doesn't work (as it says I have no root).
Now I'm trying to root again and see what happens..
EDIT: Rooting was unsuccessful
Click to expand...
Click to collapse
Not a kernel problem.....
Read the ROM thread. You need to re-root
My procedure I did was prior to a most recent ROM release where root had been removed.

[KERNEL] [SM-T700 | T705 | T800 | T805] SkyHigh TW LL Kernels [26 August 2015] [v2.0]

[KERNEL-DISCONTINUED] [Galaxy Tab-S Exynos 5420] [26 August] SkyHigh TouchWiz 5.0.2 Kernel [v2.0] [Synapse ++ EXT4 | F2FS | exFAT | NTFS | CIFS]
WELCOME TO SkyHigh KERNEL !! THE FIRST AND MOST ADVANCED, FULL FEATURED & STABLE TAB-S KERNEL IS BACK !!
NOW WITH DUAL EXT4 | F2FS CACHE & DATA PARTITION SUPPORT !!
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.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]
Code:
[COLOR="Red"]BE WARNED, THOSE WHO [B]KANG[/B] WITHOUT PERMISSION WILL BE REPORTED !!
I WILL LISTEN IF ASKED, BUT NO GUARANTEES !![/COLOR]
FEATURES
Code:
* Based on the [B]LATEST[/B] official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t805"]SM-T805_EUR_LL_Opensource T805XXU1BOG2[/URL] ([U]ALL[/U] KERNELS COMPILED WITH [U]SAME[/U] [B]SkyHigh[/B] SOURCE !!)
* ramdisk sources: [B]T700[/B]XXU1BOF3 [B]T705[/B]XXU1BOF2 [B]T800[/B]XXU1BOG2 [B]T805[/B]XXU1BOG2
* Compiled with [URL="https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/"]Google ARM Toolchain GCC 4.8[/URL]
* Linux 3.4.108
* ARM: full neon-vfpv4 support & compile with -mfpu=neon-vfpv4 + optimizations
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly) == able to switch to ENFORCING and back with control in [B]Synapse[/B]
* adb insecure
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.24.1-Dorimanx installed to /sbin
* [URL="https://github.com/Chroma-Aosp/android_vendor_chroma/commit/a8ecd5b2e4724448ccf92b29e08eb1a249e21957"]ART optimization[/URL]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on flash)
* Unified kernel to support both:
[INDENT]EXT4
[COLOR="red"][URL="http://forum.xda-developers.com/showthread.php?t=2697069"]F2FS[/URL][/COLOR] (cache & data partitions)[/INDENT]
* [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​
CPU FREQ
CPU temperature
CPU freq scaling
CPU live frequency
MAX: 2100 MHz (stock/default = 1900 MHz)
MIN: 200 MHz (stock/default = 500 MHz)​
CPU MULTICORE
Samsung DYNAMIC Hotplug
CPU UP load
Hotplug Freq
CPU UP boost (default = 0 - all cores on)
CPU down hysteresis​
sched_mc_power_savings
performance (default)
balanced (use with HotPlug)
battery​
CPU VOLT
A15 big cores
A7 LITTLE cores
CPU GOV
CPU governors
interactive (default)
on-demand
conservative​
CPU governor tunables
DEVFREQ (BUSES)
CPU internal freq voltage control
Memory freq voltage control
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
Midgard GPU threshold policy control
Battery
On-demand
Performance​
GPU scaling settings
Default: 177 - 480 MHz (stock)
Max: 667 MHz (533-667 MHz may not be stable for all devices)
Min : 100 MHz (battery)​
GPU voltage control
GPU QoS
Memory
Internal
CPU
CORTEX (Dynamic Screen ON/OFF functions)
Cortexbrain-Background-Process control (master switch)
Custom DVFS for TW ROMs
Power-efficient Workqueues (statically Enabled during screen OFF)
Kernel tweaks
Memory tweaks
System tweaks
Battery tweaks
Network tweaks
Android logger control
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​logcat​
Kernel logger printk control (dmesg)
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​dmesg
last_kmsg​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ (tweaked for SSD)
NOOP
SIO
ROW (tweaked)
ZEN (optimised for Android)​
Storage read-ahead (512 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writeback
Active
Suspend​
Virtual Memory
Virtual NAND (VNSWAP) control
ZSwap memory pool control
ZSwap max compression ratio
Dirty Background Ratio
Dirty Ratio
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive VFS Cache Pressure on Suspend / Resume​
ADVANCED
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (almost stock values = default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Optimize Recent's Menu & RAM control (default = 2)
profiles​
Entropy
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
Dynamic Management of minimal timer slack value
Generic core apps/processes (active/suspend)
Apps/processes in foreground (active/suspend)
Apps/processes in background and non-interactive (active/suspend)​
POWER SUSPEND
Autosleep_hook
Userspace_trigger
DisplayPanel_trigger
Hybrid_hook (default) uses Autosleep & DisplayPanel​
PowerSuspend State
PowerSuspend version
AUDIO
(WolfsonMicro Sound Control by AndreiLux)
Mono mixer
Speaker amplification
Main speaker volume (individual left & right channels)
Earpiece volume
Privacy mode​
SP equalizer settings
Headphone amplification
SCREEN
LCD reduce power
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
TCP/IP network speed (enabled)
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB
Status
USB Mode Selection
MTP
PTP
UMS (USB Mass Storage)​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Security Policy control (Permissive = default)
Live status
Force Audit control (debugging disabled)​
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Scrolling cache control (default = 2)
Optimise Databases (SQLite3)
File System Trim
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​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Tweaked xz compression for zImage
Reduced logging
Various ext4 & mm tweaks
Use faster memcopy & string use glibc version
optimized SLUB memory allocator
use WQ_POWER_EFFICIENT
HAVE_EFFICIENT_UNALIGNED_ACCESS
Lowmemorykiler (LMK) tuning
exFAT FS support
NTFS
R/W support for USB OTG with Paragon app (NTFS extSDcard not tested)
R/O with USB OTG from directory /mnt/ntfs/........
CIFS support (not tested)
Frandom
mount partitions NOATIME and NODIRATIME by default
Allow untrusted apps to read from debugfs (mitigate SELinux denials)
WIFI: filter multicast packages while suspended
CRYPTO: SHA1_ARM_NEON, SHA256, SHA256_ARM, SHA512, SHA512_ARM_NEON
Low Memory Killer tweaks
Entropy tweaks
CLEANCACHE
Microsoft X-BOX gamepad controller in-built module
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfaire - root & SuperSU
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app
@halaszk88 - patches & controls I've adapted to many of my kernel
@Dorimanx - BusyBox and various ramdisk tweaks
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@heyjoe66 - various source patches + Wolfson Audio parametric equalizer pre-sets & tuning values
@ashyx - F2FS guide & F2FS TWRP recovery
XDA
Android File Host
Samsung OSRC
and many others!
check github source credits
ALL contributing members that have provided constructive feedback (good or bad), words of encouragement, or having just quietly hit the thanks button (I see you there)
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Kernels for Samsung Galaxy Tab-S TW 5.0.2 Exynos 5420, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Samsung-Galaxy-Tab-S-Kernel
Kernel Special Features: Synapse ++ | F2FS | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: No Longer Updated
Current Stable Version: 2.0
Stable Release Date: 2015-08-26
Created 2015-06-11
Last Updated 2016-01-10
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
[v2.0] 26th August 2015
source:
Merge in Source: SM-T805_EUR_LL_Opensource T805XXU1BOG2
[v1.9] 23rd August 2015
ramdisk:
Synapse: USB: add my USB Storage controls. Currently just MTP-PTP-UMS (still a bit of work needed, but happy enough for now)
[v1.8] 21st August 2015
ramdisk:
SM-T805 LTE ONLY - Fixed not loading Synapse and setting SELinux Permissive mode on boot
[v1.8] 18th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 (I think I forgot to merge it in previously.... ) - T800XXU1BOG2 - T805XXU1BOG2
source:
fs: rework F2FS to latest August source changes (credits to @arter97 for the commits - saved me lots of time patching 100's of commits !)
[v1.7] 14th August 2015
updater-script:
delete dalvik-cache on flash for ART optimization to everything
ramdisk:
Synapse: MEMORY: re-work VN swap control + auto set swappiness to 0 on Disable and 130 on Enable.
Synapse: ADVANCED: add 4 profiles for Optimize Recent's Menu & RAM control (default = 2). Values from here @mikeyinid
Synapse: ADVANCED: LMK: add Default profile to mirror Optimize Recent's Menu default (2) – experimental values for now
Synapse: SECURITY: add Security Policy Update to list of Knox related apps/processs to freeze
Synapse: SECURITY: add SELinux live status
default.prop: Turn ART optimization to everything @sykopompos
default.prop: set Optimize Recent's Menu & RAM to profile #2 values
SkyHigh.sh: re-enable frandom permissions
file_contexts: add frandom @placiano
source:
block: Make CFQ default to IOPS mode on SSDs
cfq-iosched: fix the setting of IOPS mode on SSDs
powersuspend: add power_suspended boolean for global access
Optimize copy_page for modern ARM platforms
zen-tune: Implement zen-tune v3 (experimental)
zen-tune: exclude from compile by default
config: disable ZEN_INTERACTIVE (will test values via sysfs for now)
frandom: clean up
frandom: Clear up checkpatch conflicts
frandom: Dynamically allocate the char device numbers
[v1.6] 8th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 - T800KXU1BOF2 - T700XXU1BOF3
Synapse: MYABOUT: add push buttons for Donation and SkyHigh kernel XDA thread links (will open browser)
Synapse: BATTERY: removed screen ON A/C Mains charging controls (didn't seem to work)
Synapse: BATTERY: FIX - A/C Mains charging limited to 2550 mA/h rate (over this causes rate to drastically reduce)
Synapse: ADVANCED: add Optimize Recent's Menu & RAM control (Disabled by default) - original fix by @mikeyinid
Synapse: ADVANCED: FIX - removed LMK Do-Not-Kill white-list control (caused aggressive launcher re-draw)
Synapse: ADVANCED: added LMK profile "Custom" using @neobuddy89 tuned values. Stock profile is default
Synapse: ADVANCED: LMK: some changed merged from @apb_axel
Synapse: ADVANCED: removed randomize_va_space control (Disabling causing app FC in 5.0.2)
Synapse: GPU: added Frequency Utilization (live frequency load)
Synapse: REBOOT: FIX - Synapse clear data button (will also reboot device so defaults are loaded)
Synapse: replaced empty SDescriptions with SSpacer format to make spaces (AndreiLux said it would speed up loading Synapse)
Synapse: minor description and styling updates
default.prop: Scrolling cache default changed from (3) to (2)
SkyHigh.sh: Permission fixes for LMK moved from init.rc
SkyHigh.sh: Update SELinux white-list from @neobuddy89
source:
FIX - UNALIGNED_ACCESS not implemented properly :
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
ARM: enable UNALIGNED_ACCESS
config: enable ARCH_USE_BUILTIN_BSWAP for UNALIGNED_ACCESS​
FIX - Memory management issues and aggressive screen re-draw :
Revert "staging: android: lowmemorykiller: Management of not killable processes"
Revert "config: enable ANDROID_LOW_MEMORY_KILLER_DO_NOT_KILL_PROCESS"​
staging:android:lmk: Use for_each_thread helper
staging: android: LMK: Tune up
Protect imp apps and services till last breathe
Add minfree values for content provider and empty apps
Fix derps of int/short format specifiers​
[v1.5] 03 July 2015
ramdisk:
Synapse: BATTERY: add screen on A/C Mains charging controls
source:
Linux 3.4.39 > 108 !! (this took a lot of time)
[v1.4] 26 June 2015
Flashable Zip:
Remove AROMA Installer
ramdisk:
Modify for single unified kernel supporting both ext4 & f2fs (cache & data partitions)
Synapse: MULTICORE: Removed Hotplug master control - all cores forced on (Hotplug CPU UP Boost = 0% | User can set 30-90% for battery savings)
source:
cpufreq: add new routine cpufreq_verify_within_cpu_limits()
Samsung DYNAMIC Hotplug control: enable by default
Samsung DYNAMIC Hotplug control: 0% brings all cores online (set as default)
cpufreq: ondemand: Fix update_sampling_rate race with hotplug
CPU hotplug, debug: detect imbalance between get_online_cpus() and put_online_cpus()
mm: vmscan: If kswapd has been running too long, allow it to sleep
writeback: fix race that cause writeback hung
lib: cpu_rmap: avoid flushing all workqueues
fs/super.c: sync ro remount after blocking writers
block/partitions: optimize memory allocation in check_partition()
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased
block: Adding ROW scheduling algorithm
A bunch of commits to get ROW I/O scheduler working
block: row: add magic values - tweaks from fransicofranco
config: enable ROW I/O scheduler
[v1.3] 24 June 2015
Flashable Zip:
Convert to AROMA Installer with choice of either SkyHigh-ext4 or SkyHigh-f2fs kernels
ramdisk:
add F2FS support for SkyHigh-f2fs kernel
source:
kernel/sched/fair: reduce latency
add f2fs driver
fs: introduce a generic shutdown ioctl
f2fs: ditch SEGMENT_SIZE for f2fs_trim_fs
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
config: enable F2FS
Revert " block: remove WQ_POWER_EFFICIENT from kblockd"
block: zen: Optimize usage for android
[v1.2] 19 June 2015
ramdisk:
Stop Google Service and restart it on boot. This removes high CPU load and ram leak! (dorimanx)
rq_affinity = 2 (Aggressive) We need faster I/O so do not try to force moving to other CPU cores (dorimanx)
Synapse: MEMORY: add ZSwap max_compression_ratio control
Synapse: SECURITY: add Force Audit control (SELinux debugging)
Synapse: GPU: changed path for better GPU live freq. 24 MHz ("standby" freq is now visible, but not included in stats as not in asv table)
Synapse: CPU MULTICORE: added Samsung Dynamic Hotplug control (WARNING: REBOOT is required if you Disable !!
Synapse: various changes, style and control improvements etc (all took time)
source:
config: SM-T805 - fix override compile warnings
block: disable I/O stats. Disabling will break I/O monitoring apps but reduce CPU overhead
cpufreq: Remember last policy min/max on cluster restart
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq: Break out early if freq equals to target_freq
cpufreq: Improve debug prints
selinux: Add option to force audit
Samsung DYNAMIC Hotplug (heyjoe66)
Hotplug: set to Screen OFF mode by default
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_load_value = 0 (Normal)
UKSM: update to v0.1.2.3
[v1.1] 15 June 2015
ramdisk:
SELinux Permissive on boot (default)
Synapse: GPU: Fix /work-around: governor threshold control is now auto set after applying governor profile or changes to freq max/min
Synapse: add CORTEX: CortexBrain Background Process to manipulate screen state on/off settings
Synapse: add SCREEN settings
Synapse: SECURITY: add link to more info
Synapse: FS: Scrolling Cache control
Synapse: some minor fix ups and tidy up
[v1.0] initial Lollipop release, 13 June 2015
REQUIREMENTS
SM-T700 WIFI - SM-T705 LTE - SM-T800 WIFI - SM-T805 LTE Exynos 5420 device
TouchWiz 5.0.2 Lollipop
Latest firmware with appropriate ROM and boot-loader versions. Check sammobile or samsung-updates (no boot = Read Post #3 for working firmware base)
Rooted
custom recovery (F2FS TWRP if wishing to flash F2FS kernel)
INSTALLATION
Backup your WIFI settings if you are coming from stock ROM or kernel with ro.securestorage.support=true
Backup your original boot.img [BOOT] in custom recovery (or better to backup everything)
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed if you wish)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Disconnect device from PC USB
Device settings > developer options > enable USB debugging
If flashing from previous SkyHigh kernel > Force Stop Synapse app > clear data
Flash SkyHigh kernel in custom recovery
If you wish F2FS (data & cache partitions)
Follow > THIS < guide, but flash SkyHigh kernel instead !!​
After boot:
a) wait at least 60-120 secs to stabilize
b) Open Synapse
c) Tap "Understood" and apply
d) Change any setting and apply​
DOWNLOADS
SkyHigh
[CWM] T700 WIFI SkyHigh Kernel v2.0
[CWM] T705 LTE SkyHigh Kernel v2.0
[CWM] T800 WIFI SkyHigh Kernel v2.0
[CWM] T805 LTE SkyHigh Kernel v2.0
==========================================
STOCK
WARNING: Flashing stock may WIPE your WIFI settings. So back it up !!
[CWM] T705 LTE T705XXU1BOE6 Kernel
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
HELP - FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
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)
10. Try older kernel (if available)
11. Try latest stock firmware (without custom ROM - if you have installed)
12. 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 ?
NO - I will not build for any device that I can not compile using same source, personally test method or debug
Otherwise, please do not bother asking
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Two choices:
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox ( v1.23-1-Stericson works for me on stock ROM)
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
If you wish to restore to a working system, just restore your boot.img backup made previously with recovery (ref: Installation Instructions)
CONFIRMED WORKING STOCK BASE FIRMWARE
T700: XXU1BOE3 or XXU1BOE4 (T700XXU1BOE5 which has a lower change-list does not boot ) or newer
T705: XXU1BOE6 or newer
T800: XXU1BOE2 KXU1BOF2 or newer
T805: XXU1BOE3 or newer
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
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
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
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
The kernel defaults are balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats or wakelock detector apps & use Greenify app to stop unwanted apps self starting and running in the background
Synapse:
- CPU GOV: governor = ondemand (tweaked for power efficient work-queues)
- CORTEX: PEQW = Enabled
- CPU FREQ: 200 > 1900 MHz (-25 mV for all 200 > 1900 MHz freqs - depending on asv_group)
- CPU MULTICORE: Hotplug CPU up load = Balance (with Hotplug CPU UP boost >0%)
- CPU MULTICORE: Hotplug CPU UP boost = 60 % (to 90%)
- CPU MULTICORE: CPU Multicore Power Saving = Aggressive
- GPU: Midgard Power policy control = coarse_demand
- GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness with 100 MHz min.)
- GPU: 100 > 480 MHz (-50 mV for all 100 > 480 MHz freqs - depending on asv_group) (Min 100 MHz may induce some GUI sluggishness)
- PowerSuspend Driver = Enable
- MEMORY: Dynamic FSync = Enable
- MEMORY: Dirty Page Writeback = Enable
- IO: RQ Affinity = Enable​
PERFORMANCE TIPS
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler] - Warmer device under heavy load, but within the safe CPU temp of 95 degC (NOTE: Xposed for Lollipop is still experimental, so results may vary)
Synapse:
- CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
- CPU MULTICORE: Power Savings = Performance
- CPU GOV: use Interactve governor
- GPU: Midgard Power policy threshold profile = On-demand or Performance. (This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile)
- GPU: GPU max freq = 533 MHz (more if your device is stable)
- MEMORY: UKSM = Enabled
- ADVANCED: LMK profile = Aggressive​
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use stock ROM base that's confirmed working
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
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.
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.
WHAT IS F2FS & HOW CAN IT BENEFIT
Info
Improved performance
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable TW DVFS with wanam xposed. You will need his xposed for Samsung Lollipop.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
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
Click to expand...
Click to collapse
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
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
.
Great
Sent from my SM-G900T using XDA Free mobile app
sound tweaks
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
mazen1966 said:
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
Click to expand...
Click to collapse
Just walked in the door after 2 days of international flights (jet lag big time), please give me some time.
I'm not sure if you realize, but I am the builder of previous SkyHigh kernels for Tab S KitKat, just haven't the time to build for LL until now
Intend to have most features from older SkyHigh KK builds. BTW, Viper is not a kernel feature ..........
But one step at a time
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
ashyx said:
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
Click to expand...
Click to collapse
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
UpInTheAir said:
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
Click to expand...
Click to collapse
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
For touchwiz LP and CM12.1?
Great news!
Good to be able to OC LP Rom.
rookie12 said:
For touchwiz LP and CM12.1?
Click to expand...
Click to collapse
Only TW.
Firstly, no disrespect to those Devs, I just find CM boring visually and tacky. It's just my personal opinion, not a criticism of one's choice to build or use There is no "right" or "wrong". Secondly, I don't have time for it other than what I can/want to spare.
Editing OP.
Delete...... Good to see Skyhigh back! Was great in KitKat! Can't wait to see what's in for lollipop
ashyx said:
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
Click to expand...
Click to collapse
Maybe you could assist with constructive help/feedback if/when the time comes.
DUHAsianSKILLZ said:
Delete
Click to expand...
Click to collapse
I have made it clearerr in OP for those that overlooked the title. Some will still not bother to read though (past experience) ....
UpInTheAir said:
Maybe you could assist with constructive help/feedback if/when the time comes.
Click to expand...
Click to collapse
Sure, no problem.
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
ninspector said:
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
Click to expand...
Click to collapse
I woke up early this morning, (body is still in another time zone), and have Synapse up and running.
Have already implemented: CPU voltage control, GPU OC/UC, GPU voltage control, GPU clock & governor control for new sources (not yet committed to github). Could give screen shot, but busy testing before Son goes to school
Just have an issue to sort out (not sure if ROM or kernel yet) for some apps FC on boot. Might be to do with Selinux
Welcome back!! I am glad to see you making kernel for LL. I chose to stay on KitKat as I am getting way too good battery life from your kernel to switch. No lie, I get about a weeks worth of use before I have to charge it. Granted I am not a heavy use, average about 6 - 8 hours of total screen time, but it is truly a join to not have to charge each night. Previously the best I got was a day and half with the same use patterns. Again, welcome back and look forward to your LL kernel. This will now motivate me to upgrade. :good:
I'll probably release v1.0 for T700 & T705 today. Still a bit of work to do yet with Synapse.
T800 & T805 will be a while away yet as first beta reported failed to boot using same source. So I will build for my device first until I'm happy with it's progress, then take a look at 10.5" again.
EDIT: Changed my mind, I wish to continue instead of release. I don't want to hurry. Why stop when I'm on a roll

[KERNEL][LOS-N/O] 28-06-2018 AGNi 🔥 pureLOS-N/O v13.0

AGNi pureLOS-N/O
(Audiophile's Blazing Fast & Efficient Kernel)​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Join Telegram DISCUSSION & TESTING GROUP
AGNi Toolbox:- GOTO 3rd POST HERE
For Android 7.x / 8.x LOS/AOSP
DOWNLOAD pureLOS-N/O kernel:- HERE
General Improvements:
Built with custom UBERTC GCC 8.0.0
Enhanced compiler optimizations with device and target flags, build improvements, etc
Removed a ton of debug and logging to improve performance
ARM64 enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
CPU & GPU Improvements:
Interactive governor tuned to achieve maximum performance with best battery life by default
Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
Slight OC, mild undervolt to reduce heat and improve stability and battery life
Input boost off by default
Adreno Idler and Adrenoboost available
CPU and GPU Voltage control (optional)
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
I/O improvements:
Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
ext4-lazytime mounting for /data (improves filesystem performance)
UKSM while charging to optimize RAM use option
Dynamic FileSync toggle
Supports SDCARDFS, CIFS, exFAT
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Wake gestures, dt2w, s2s and s2w for all panels
Sound improvements:
modify headphone processing for increased fidelity
modify speaker processing for clarity
Implemented flar2 sound control along with Franco sound control
Slimbus OC for better sound quality
Added a lot of audio enhancements (heaven for audiophiles)
Fixed earpiece & mic boost
Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
Headphone impedance detection
Headphone mic volume boost
Fix earphone Jack's various problems
Battery improvements:
USB Fast Charge (USB mode up to 900mA with MTP on)
Boeffla Wakelock blocker available
Power efficient workqueues
Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
Fast charging with maximum 2100mA safe limit with temperature control
Miscellaneous improvements:
Optimized hardware accelerated crc+crypto routines
Implemented lot of security fixes
Vibrator Strength tunable
Notification LED brightness options
Can use device as USB keyboard and mouse with the app by pelya
Option to select SElinux mode while installing
Compatibility with Magisk v14+ and SuperSU SR5
Compatible with Kernel Auditor and EX Kernel Manager
Spectrum app profiles support
AGNi improvements:
Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
Works on all Marshmallow, Nougat and Oreo ROMs
AGNi pureLOS CHANGELOG:-
AGNi pureLOS-N/O v13.0:-
qdsp6v2: dts_eagle: use newer drivers
wcd9335: accept interrupts for huwifi mode
sound: wcd9335: add huwifi_mode & low_distort_amp mode
sound:codecs: wcd9335: remove impedl code
msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
sound: codecs: wcd9335: laster k's driver
slimbus: lower oc
sound: wcd9335: Disable g_DebugMode
Initial AudioWizard bringup
sound: DTS-Eagle integration
drivers: Initial import of DTS-Eagle driver
Kconfig: msm: remove deprecated dts eagle driver
revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
revert: "ipsec: Fix aborted xfrm policy dump crash
revert: "BACKPORT: net: xfrm: support setting an output mark.
revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
AGNi Control: enable fsync operations by default
AGNi Installer: fix frequency hysteresis values
AGNi pureLOS-N/O v12.9:-
New Additions:-
Merge caf/LA.BR.1.3.7_rb1.11
staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
fs: sdfat: sync upstream
fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
enable HARDEN_BRANCH_PREDICTOR
disable SCHED_FREQ_INPUT
drivers/power: disable bcl
mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
Updates:-
ANDROID: sdcardfs: Set s_root to NULL after putting
ANDROID: sdcardfs: d_make_root calls iput
ANDROID: sdcardfs: Check for private data earlier
ANDROID: sdcardfs: Hold i_mutex for i_size_write
ANDROID: sdcardfs: Protect set_top
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
UPSTREAM: scsi: sg: don't return bogus Sg_requests
ALSA: pcm: prevent UAF in snd_pcm_info
ALSA: pcm: use lock to protect substream runtime resource
ALSA: pcm: add locks for accessing runtime resource
ANDROID: sound: rawmidi: Hold lock around realloc
drivers: qdsp6v2: Add mutex unlock to properly release lock
binder: use GFP_HIGHUSER flag since binder is designed for userspace
Bluetooth: Prevent stack info leak from the EFS element
ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
msm: ADSPRPC: validate user buffers after copying from user
dts: kenzo: disable sched_enable_power_aware
kgsl: convert some workqueues to use kthreads
kgsl: Increase priority of RT thread
msm: mdss: check buffer size before writing to user buffer
dtsi: adjust prim panel and panel-supply as per latest miui
kernel: disable arch_power by default & allow toggle
cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
Fixes:-
kernel/cgroup: fix permission checks for task group attach
kernel/workqueue: restore to older state
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
ipsec: Fix aborted xfrm policy dump crash
BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
msm: mdss: Fix for wrong length in copy_to_user
msm: sensor: actuator: fix out of bound read for region params
msm: sensor: actuator: check NULL pointer for actuator ctrl
revert: "msm: mdss: fix race condition between rotator api's
dts: fix big cluster max-corners
dts: restore 133,200,366MHz gpu freq steps
AGNi specific additions:-
AGNi Control: tweak impulse governor & other governor scripts
AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
AGNi Installer: add gpu uv option
AGNi Installer: tweak scheduler
AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
AGNi Installer: use modified thermal config [LOS-N/O]
AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]
AGNi pureLOS-N/O v12.8:-
Audio:-
aw8738_amp: change to mode 5
Disable graphite optimizations for sound,qdsp6v2
wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
audio: add cmdline option for 16(default)/32bits default compr & pcm routing
ASoC: squashed revert to older state
slimbus: set max limit 24bit @ 192KHz
New Additions:-
prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
Merge caf/LA.BR.1.3.7_rb1.9
drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
dm,md verity commits
qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
Convert some more drivers to use msecs_to_jiffies insted of HZ
reboot_auto_fsync: flush writeback buffers and sync more completely
fsync: flush writeback buffers with auto fsync & sync-on-suspend
fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
Updates:-
Disable discard mount early mount of system partition [LOS-O]
cpufreq: cafactive: disable tracing
workqueue: disable power_efficient wq's by default and allow sysfs tunable
block: modify fiops
proc: meminfo: provide estimated available memory
proc: meminfo: estimate available memory more conservatively
CHROMIUM: selinux: Do not log "permissive" denials
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
BACKPORT: USB: core: harden cdc_parse_cdc_header
UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
UPSTREAM: HID: usbhid: fix out-of-bounds bug
UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
nl80211: Define policy for packet pattern attributes
crypto: hmac - require that the underlying hash algorithm is unkeyed
timers, sched_clock: Update timeout for clock wrap
cpu_input_boost: Use power efficient workqueues
cpu_input_boost: increase wakeboost to 2 seconds
Fixes:-
dts: kgsl: remove 366MHz step, restore stock gpu voltages
qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
qpnp-smbcharger: fix "make 2100mA max default charging current"
qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
fs/exfat: partial revert "update exfat (squash commit)"
revert "sched: Set sched_upmigrate_min_nice to 9
revert "sched: Introduce Shadow scheduling
Revert "workqueue: make sure delayed work run in local cpu"
AGNi specific additions:-
AGNi Control: 2.0GHz unlock for big cluster cpus
AGNi Control: tweak cultivation governor
AGNi Control: disable adreno boost default
AGNi Control: tweak default interactive & scheduler
AGNi Control: TCP congestion cubic by default
AGNi Control: tweak cafactive governor
AGNi Control: add again those rare used governor options
AGNi Control: fixup fsync options
AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
AGNi Installer: restructure Aroma Menus to single page
AGNi Installer: remove discard mounts in fstab
AGNi Installer: latest arm64+selinux busybox YDS in /sbin
AGNi Installer: fix rare installer status 7 errors
AGNi Installer: try fix option to select stock cpu voltages
AGNi Installer: add cmdline option for audio 24/32bits audio
AGNi Installer: add option to select stock cpu voltages
AGNi Installer: set QC2.0 9v suppress disabled by default
AGNi Installer: always replace thermal engine & libs
AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]
OLD CHANGELOGS: HERE
Download the app for supporting this keyboard & mouse feature HERE
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMIUI.git
Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches
Version Information
Status: Stable
Created 2016-10-02
Last Updated 2018-06-28
GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX
Try different gpu libs zip:-
Xperia_X_Oreo_GPU_blobs_ktommy91.zip
AGNi 12.4+ deepSleep Hotfix apk:-
use to restart google play services in rare cases of no deep sleep.
may need to run once per reboot
CAMERA LIBS for kenzo/kate:
blobs for following camera sensors:
- ov16880_f16v01a
- ov16880_omida05
- s5k5e8_z5e8yab
- s5k5e8_yx13
- face detection extension blobs
(Old & Obsolete)
Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION
AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
- includes goodix hal and libs
- includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
- patches boot.img to add goodix support (useful for roms without goodix support)
- adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
AGNi Toolbox
AGNi Toolbox v1.6 AROMA-flashable-zip:-
update magisk uninstaller codes
AGNi Toolbox v1.5 AROMA-flashable-zip:-
udate updater binary and script
add 2.4GHz wifi channel bonding options
AGNi Toolbox v1.4 AROMA-flashable-zip:-
add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
usable when user forces boot to recovery after a bootloop
AGNi Toolbox v1.3 AROMA-flashable-zip:-
add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)
AGNi Toolbox v1.2 AROMA-flashable-zip:-
add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
(Run from internal storage to scan external sdcard filesystem)
AGNi Toolbox v1.1 AROMA-flashable-zip:-
-Remove FingerPrint Security+Data
-Run ext4 filesystems Check & Repair on /system /data /cache
-Clear Battery Stats Data
-Remove Lock Screen Security
can you recomennded setting for kernel auditor from this kernel
kucingbaik2 said:
can you recomennded setting for kernel auditor from this kernel
Click to expand...
Click to collapse
this is for android 7 Nougat test and let me know
i have no such recommended settings..
Hello, will works with santosh cm14 ?
jordandroid64 said:
Hello, will works with santosh cm14 ?
Click to expand...
Click to collapse
yes its based on same source as its cm14 kernel.. test n give me feedback!
I will flash CM14 this afternoon and test , you have try this kernel ?
Trouble with downloading...
Where can I download this kernel? The download link doesn't work.
icyjuice said:
Where can I download this kernel? The download link doesn't work.
Click to expand...
Click to collapse
Same problem here... Can't download!
Regards!
Really good!
Please add support for goodix fingerprint in your next build if you can
I really appreciate your work!
Please update link?
Flashed this on cm14 by santosh 21september build. Phone boots straight into twrp. Back on stock kernel.
im held up now, will repackage the zip n put when i get free time next
psndna88 said:
im held up now, will repackage the zip n put when i get free time next
Click to expand...
Click to collapse
add s5k3p3_f3p3man camera sensor support too ld be nice
alrightnik said:
add s5k3p3_f3p3man camera sensor support too ld be nice
Click to expand...
Click to collapse
check this: MISSING BLOBS LINK
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
psndna88 said:
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
Click to expand...
Click to collapse
Booted and Works great.
Working well with CM14- Nougat (santhosh)

[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS)

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, DO NOT
* point the finger at me for messing up your device.
* this kernel is only for the S5 mini SM-G8OOF/M/Y (Exynos) Do Not Flash this on any other device!
*/
19-10-2017 * Updated to v6.0 * Changes are in red or can be seen at the bottom of this post in the changelog: I am always applying patches to hopefully improve the kernel,so check out the "Patches and tweaks applied" section for a better view of the changes as well.
Notes​
ALWAYS read the "Known Issues" section before flashing. I will add issues I have noticed or have been told about. Some may be VERY important. If you fail to do this and experience an issue that is listed I can not help you!
SELinux is set to permissive in this kernel. You can change this to enforcing at boot if you wish via an app like Kernel Adiutor-Mod
About voltage control: Setting frequencies that are unstable are going to cause lockups,freezes and reboots. This is NOT a fault in the kernel. My suggestion is to move the voltages up or down slowly (+/- 25) until you find some stable voltages that you're happy with.
Enough people were having problems with the 1.6ghz overclocked version that I've decided to release a non overclocked (1.5ghz) build as well. I would recommend trying the 1.6ghz and only if you experience a bootloop or instability then use the 1.5ghz version. I will not keep older versions of the 1.5ghz build up. Only the latest.
Having troubles deciding on a CPU governor or an I/O scheduler? Here is an amazing guide. All credits to Saber. Be sure to hit the thanks button. He obviously put a lot of time into that.
Features
Based on the latest Samsung kernel sources
Built an updated Sqlite3 (from version 3.9.2 -> 3.19.3 that will be pushed along with the kernel install (you can verify this by running "sqlite3 --version" in a terminal emulator before the new kernel install and then again after)
Compiled with self-built (ct-ng) UBERTC 8.0
Patched Linux to latest 3.4.113
Used anykernel2
Unlocked CPU frequencies: 200MHZ and 300MHZ
GPU overclocked to 600MHZ
CPU Overclocked to 1.6GHZ
CPU voltage control ( Max voltage =1500mV. Min voltage =600mV)
DriveDroid support (add sysfs entry for cdrom to LUNs)
Implemented zen-tune v4.5
Added CPU boost driver
Added PIE net scheduler
Added support for USB keyboards (You need This app)
Reduced vm_swappiness from 60 to 20
Added I/O scheduler switcher by sultanxda (changes the I/O scheduler for a specified request queue to Noop when the screen turns off in order to improve power consumption while the screen is off)
Added Fsync on/off
Added dynamic fsync
Added Dynamic management of dirty page writebacks (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 - Not adjustable via Grarak's Kernel Adiutor app)
Proc: much faster /proc/vmstat
Full CIFS support ( Modules will be pushed with kernel install )
Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues ( Allows for power saving if selected in Kernel Adiutor ETC. )
Added /dev/frandom support ( It is yet to be implemented properly yet however )
Properly enabled faux123's powersuspend v2.5
Fading LED's
Enabled graphite
Enabled AIO
Readahead set to 512 (from 128 default)
Reverted "Enabled arch power" (There will be a switch to enable/disable this in the next build)
Many build flags for optimization
Added optimization flags for the GPU
Many more features being worked on and coming soon
Added CPU governors
- nightmare
- wheatley
- zzmoove
- dancedance
- darkness
- hyper
- lionheart
- ondemandplus
- bioshock
- pegasusq
- smartmax
- alucard (by alucard24)
- bluactive
- intelliactive (by faux123)
- intellidemand
Added CPU hotplug governors
- alucard hotplug (by alucard24)
- intelliplug hotplug (by faux123)
- thunderplug hotplug (by varun.chitre15)
- MSM Sleeper hotplug
- autoSMP hotplug
Added IO schedulers
- fiops
- sio
- zen
- fifo
- tripndroid
- bfq-v7r8
Added many TCP congestions
- reno
- vegas
- westwood and more
- Added the rest of the TCP congestions
- Westwood is now default TCP
Patches and tweaks applied include:
- Updated ARM topology and added cpu_power driver
- Input: Improve the events-per-packet estimate
- block/partitions: optimize memory allocation in check_partition()
- block: bfq-iosched: tuning for SSD (thanks to anarkia1976)
- cpufreq: Move get_cpu_idle_time() to cpufreq.c (This is important for CPU governors to work better/more efficiently with our kernel version-3.4)
- Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
- cpufreq: Introduce new relation for freq selection (It selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies, it will select the greater frequency)
- cpufreq: conservative: Set MIN_LATENCY_MULTIPLIER to 20
- cpufreq-ondemand-Set-MIN_LATENCY_MULTIPLIER-to-20
- cpuidle-Get-typical-recent-sleep-interval
- cpufreq: Persist cpufreq time in state data across hotplug
- implement-LoUIS-API-for-cache-maintenance-operations
- ARM-kernel-update-cpu_disable-to-use-cache-LoUIS-maintenance API
- update-v7_setup-to-the-new-LoUIS-cache-main
- USB-gadget Optimize-tx-path-for-better-performance
- af_unix: speedup /proc/net/unix
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
- fs/proc/array.c: make safe access to group_leader
- lib/memcopy: use glibc version (the kernel's memcpy and memmove is very inefficient. But the glibc
version is quite fast, in some cases it is 10 times faster than the kernel version)
- lib/string: use glibc version (same as above)
- lib/int_sqrt.c: optimize square root algorithm
- readahead: make context readahead more conservative
- sched-Fix-select_idle_sibling-bouncing-cow-syndrome
- sched-Implement-smarter-wake-affine-logic
- sched-Micro-optimize-the-smart-wake-affine-logic
- sched: Reduce overestimating rq->avg_idle
- power: make sync on suspend optional
- tcp: tweaked for speed
- writeback-fix-occasional-slow-sync
- writeback-fix-writeback-cache-thrashing
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- mutex-Queue-mutex-spinners-with-MCS-lock-to-reduce-cc
- mutex-Make-more-scalable-by-doing-less-atomic-operations
- ARM-use-generic-unaligned.h
- Kconfig-enabled-unaligned-capability-for-ARM
- decompressor-Enabled-unaligned-memory-access
- Optimized-ARM-RWSEM-algorithm
- ARM: Fixed negative idle stats for offline cpu
- disabled debugfs[/COLOR]
- mm: remove noisy remainder of the scan_unevictable interface
CONFIG_HZ=100 (reverted commit)
- Plus many more - Check my git repo for full details.
Sources
Kernel Source
Toolchain Source
Click to expand...
Click to collapse
Known Issues
Setting alucard hotplug along with certain other governors at boot via kernel adiutor etc can cause a reboot after setting is applied. So be certain to set the "delay" time in kernel adiutor or similar to 10 seconds or more,so if you have this you are able to cancel and change after a reboot.
There is a chance of some settings being reset after flashing the kernel (quick setting,sound,statusbar etc.) This is rather insignificant and all settings that have been changed can be set back in minutes.
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel. I am not responsible if you lose any or all of your data.
1.Download "Spookcity_Kernel-N"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP Select wipe -> Advanced wipe and wipe Dalvik/Art cache and the cache partition.
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot
Click to expand...
Click to collapse
Code:
Feedback can also be posted[URL="https://github.com/Spookcity/ROMS-G800F/issues/12"]-------> Here[/URL]
Test builds will be released [URL="https://github.com/Spookcity/ROMS-G800F/issues/22"]-------> Here[/URL]
Download the latest build
Spookcity_Kernel-N-v6.0
Spookcity_Kernel-N-v6.0-1.5GHZ Version
Click to expand...
Click to collapse
Download older version
Code:
[URL="https://www.androidfilehost.com/?fid=745425885120759188"]Version 5.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195920916"]Version 4.0[/URL]
[URL="https://www.androidfilehost.com/?fid=673368273298972709"]Version 3.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195913162"]Version 2.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195911617"]Version 1.0[/URL]
Huge credit and many thanks to:
Hennymcc,Ayke,Psyafter,mirhciulica,ctxZ,DjSteve,CurtisMJ,osm0sis,Archidroid,Chet Kener,andip71,faux123,flar2,ZaneZam,anarkia1976,AndreiLux,Yank,Francisco Franco,Sultanxda,varun.chitre15
Big thanks for testing and giving feedback:
Oleggluk,StanleyNL,Mikahlo,Guntzog
and any others as I'm sure I am forgetting people.
CHANGELOG
HTML:
01-09-2017 - Released Version 6.0
- Added MSM Sleeper hotplug
- Reduced vm_swappiness from 60 to 20
- Added intellidemand governor
- Added autoSMP hotplug
- Added CPU boost driver
- Proc: much faster /proc/vmstat
- Cpufreq: Persist cpufreq time in state data across hotplug
- Reverted "enable arch power"
- mm: remove noisy remainder of the scan_unevictable interface
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
01-09-2017 - Released Version 5.0
- Removed ROW I/O scheduler
- Added I/O scheduler switcher by sultanxda
- Added PIE net scheduler
- Added support for USB keyboards
- Properly enabled faux123's powersuspend v2.5
- Added dynamic fsync
- Added optimization flags for the GPU
- Enabled AIO
- Reverted a couple of HZ related commits
- Added intelliactive governor
- Added intelliplug hotplug driver
- Added thunderplug hotplug driver
- Added Dynamic management of dirty page writebacks
- Fixed voltage control on 1500MHZ version
- Fixed alucard governor
- Fixed ondemandplus governor
- Fixed bluactive governor
- ib/int_sqrt.c: optimize square root algorithm
- af_unix: speedup /proc/net/unix
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- readahead: make context readahead more conservative
- block/partitions: optimize memory allocation in check_partition()
- power: make sync on suspend optional
- block: bfq-iosched: tuning for SSD
05-08-2017 - Released Version 4.0
- Added 1.5GHZ version
- Added voltage control
- DriveDroid support
- Implemented zen-tune v4.5
- Full CIFS support
- Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- Added Fsync on/off
- Added ROW I/O sheduler
- Added BFQ-v7r8 I/O scheduler for 3.4 kernel
- Added Blu_active CPU governor
- block: disabled add_random
- tweaked build flags
- many workqueue related patches
- tcp: tweaked for speed
- CONFIG_HZ=300
- fs/proc/array.c: make safe access to group_leader
- disabled debugfs
19-07-2017 - Released Version 3.0
-GPU overclocked to 600MHZ
-Updated Sqlite3 to version 3.19.3 from 06-08-2017
Added CPU governors
-bioshock
-pegasusq
-smartmax
-alucard
-alucard hotplug
-Added the rest of the TCP congestions
-cpufreq: Move get_cpu_idle_time() to cpufreq.c
-Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
-Added /dev/frandom support
-cpufreq: Introduce new relation for freq selection
-lib/memcopy: use glibc version
-lib/string: use glibc version
-
03-07-2017 - Released Version 2.0
-GPU overclocked to 533MHZ
Added CPU governors
-dancedance
-darkness
-hyper
-lionheart
-ondemandplus
Added IO schedulers
-fifo
-tripndroid
Added many TCP congestions
-reno
-vegas
-westwood
-etc.
26-06-2017 - Fix "unsupported device" when flashing in TWRP 3.1.1.0
23-06-2017 - Initial release
Enjoy!
XDA:DevDB Information
[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS), Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-10-19
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Oleggluk said:
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Click to expand...
Click to collapse
Yeah,I have temporarily removed synapse support. This is the reason its 2mb smaller. I will add it back once I have some things fixed. Too many things just don't work with it right now.
Sent from my SM-G800F using Tapatalk
And the test version will be?
Oleggluk said:
And the test version will be?
Click to expand...
Click to collapse
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
spookcity138 said:
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
Click to expand...
Click to collapse
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Oleggluk said:
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Click to expand...
Click to collapse
Hehe,yes. This build is based on the "OC CPU to 1.6" commit. So it includes everything before that,but nothing after. I will probably be releasing test builds in increments. Meaning,the next test build (hopefully this weekend) will still not include all that you see committed on my github repo. I want to do it this way to better be able to diagnose possible bugs and their reasons. So I'll release a test build on github. Have you and others willing to test give me feedback about any problems. Then release it on here...and then repeat these steps. Hope that makes some sense [emoji3]
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hehe [emoji3]
Click to expand...
Click to collapse
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once))
Oleggluk said:
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once)) :еек:
Click to expand...
Click to collapse
I'll make sure the next test build includes much of the new stuff. I'm a little bit worried that the GPU overclock is going to turn into a nightmare like the CPU overclock though. Guess we will find out. Fingers crossed.
Sent from my SM-G800F using Tapatalk
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Oleggluk said:
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Click to expand...
Click to collapse
Haha,You're definitely not testing any CPU overclocking [emoji3]
I have started messing with voltage control. I've enabled access,but at this point I'm unsure how you would access it as its not included in kernel adiutor and I've yet to properly set up synapse. Either way,the access is there,but the ability to actually change the voltages is not currently working. I believe I need to tweak a few things and add at least 1 additional file. Soon to come I hope.
Sent from my SM-G800F using Tapatalk
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
guntzog said:
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
Click to expand...
Click to collapse
Honestly I'm unsure off hand. However,I did enable arch power by default,so that should help battery life some. I have been working on the kernel recently and have added alucard and alucard hotplug CPU governors. This will come in the near future and I believe could really help with battery life.
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment recovery.log
upd. : it was a new twrp. I installed old version twrp and try to install kernel. And kernel was installed
GeorgianGreek said:
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment 4193251
Click to expand...
Click to collapse
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Oleggluk said:
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Click to expand...
Click to collapse
Ahh,that explains it. Thanks! Easy fix then.
Edit:
Fixed
Sent from my SM-G800F using Tapatalk
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Schweng said:
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Click to expand...
Click to collapse
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Model is F.
Rom is 14.1 Lineage, the 20170226 version from Ayke, i think.

Categories

Resources