[KERNEL] [P6800 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [5.0.0] - Galaxy Tab 7.7 Android Development

[KERNEL] [P6800 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [5.0.0 FINAL]
** FOR P6800 (GSM/3G) device running JB 4.1.2 DXMD3 ONLY !! **
I am UpInTheAir part time kernel dev (hack) and Chef of SGT 7.7 JB & ICS ROMs, and now bring to you my P6800 Jellybean SkyHigh Kernel.
-- STABLE FINAL RELEASE --
* 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
FEATURES
* Based on official Samsung source JB DXMD3
* AUTO ROOT (only if you don't already have it)
insecure kernel
su binary 1.91
SuperSU 1.91
busyBox 1.20.2 linusyang installed to system/sbin​
* STABLE - under SkyHigh "default" values & conditions
* ExTweaks 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 !
CPU
Boot boost CPU freq
Boost CPU freq (not fully tested)
Cortex wakeup boost (not fully tested)
Max normal freq
CPU freq OC / UC
CFS settings – Arch power
CPU idle mode (sleep & awake)
Scaling max suspend freq
Scaling min suspend freq
Scaling min standby freq
CPU temp throttle
CPU VOLTAGE
Set voltage individually for each 18-step freq
CPU TUNING (Awake & Sleep)
Set default CPU governor
Set governor configuration
Enable/disable hotplug
BUS
Bus voltage group
Thresholds
IO Tuning
Int/ext sdcard read-ahead cache
Dynamic Fsync control
Dynamic dirty page writeback control
IO scheduler (awake & sleep)
MEMORY TUNING
OOM control (screen on/off)
Dirty background ratio
Dirty ratio
Clean RAM cache
zRAM
Swappiness
zRAM stats
KSM control
GPU CONTROL
VPLL/MPLL mode
Freq control
Voltage control
Threshold control
Stay-count control
DISPLAY
FB early suspend delay (CRT TV off animation for SUPPORTED ROM)
Touch screen sensitivity
SOUND
Master volume gain
Headphone
Mic
Speaker
TWEAKS
- CortexBrain-Background-Process control
- Check CortexBrain-Background-Process Service
TCP security
TCP speed
TCP RAM
IPV6 (enabled by default - does not actually switch off)
CPU
Memory
System
Kernel
IO
OTHER
- Cron Task Control
- Test Cron task service
- Cron reset
Clean RAM cache task every hour
Update AD blocker task every week
DB optimizing (sqlite3) task every day
Clean app cache task every day
Zipalign task every day
fstrim lagfix task every day
Cron test task jobs
Zipalign apps now
Zipalign on boot
DB optimization (sqlite3) now
DB optimization (sqlite3) on boot
Battery scaling calibration (fuel-gauge reset) now
Ad blocker update now
Remove Ad blocker
FILE SYSTEM MAINTENANCE / REPAIR
Partitions scan
Data FS repair on boot
extSdCard repair on boot
Fix permissions on boot
Fix permissions now
Trim FS partitions (fstrim lagfix) on boot
Trim FS partitions (fstrim lagfix) now
INIT.D SUPPORT
Enable init.d script run control
USB MASS STORAGE (UMS) MODE
MTP <> Mass storage mode
WIFI & GPS
Clean WIFI lease
TCP congestion control
GPS region
GPS zone check
Update time
ROOT
Install root now
Remove root now
Root check
Auto install root on boot
MODULES
Frandom control
XPAD control
ISO CD-ROM control
UDF CD-ROM/DVD control
PROFILES
Profile check
UpInTheAir & SkyHigh Default (you can configure & save values for each, but not change the actual profile name)
BACKUP & RESTORE
Backup User settings now
Restore User settings now
RE-BOOT
Re-boot into Recovery
BUG-REPORT
Kernel bug-report
App bug-report
Android logger control
Kernel printk control
Module logger control
INFO
* SkyHigh default CPU min/max 200 > 1400 MHz (13-step)
* 18-step CPU 100 > 1800 MHz (Recommend setting 200-1400/1600 MHz)
Default = 13-step 200 > 1400 MHz
Stock = 6-step 200 > 1400 MHz​
* No UV for stock frequencies 200-500-800-1000-1200-1400 MHz
* 4-step GPU : Default = 160-200-267-400 MHz
MPLL mode = 4-step GPU (default)
Stock = 2-step GPU (160-267 MHz)
Min freq = 50 MHz
Max MPLL freq = 400 MHz
Max VPLL freq = 520 MHz
Voltage = 800 > 1200 mV (+/- 50 mV increments)​
* GPU UV / UC / OC
160 MHz = 950 mV (-50 mV > stock 1000 mV)
200 MHz = 1000 mv
267 MHz = 1050 mV (-50 mV > stock 1100 mV)
400 MHz = 1100 mV​
* GPU Control
freq clock
voltage
step thresholds
stay counts​
GPU BENCHMARK BEFORE (3DMark app)
{
"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"
}
GPU BENCHMARK AFTER @ 400 MHz (3DMark app)
* GPU VPLL mode optional
For devices that can't handle VPLL – use MPLL mode instead
http://forum.xda-developers.com/showpost.php?p=33720501&postcount=4181&nocache=1&z=1048045007703282
* Busfreq up & down threshold control
Stock / SkyHigh default = 23
* Busfreq (memory) voltage group
default group = 1 (stock)
available group options 1 > 7
L0 = 400 L1 = 267 L2 = 160 MHz
1 > {1150000, 1050000, 1050000} SkyHigh default / stock
2 > {1125000, 1025000, 1025000}
3 > {1100000, 1000000, 1000000}
4 > {1075000, 975000, 975000}
5 > {1050000, 950000, 950000}
6 > {1025000, 950000, 925000}
7 > {1000000, 925000, 900000}
* Set L2 bus (memory) speed from 133 > 160 MHz
- Default MHz now:
L0 = 400
L1 = 267
L2 = 160 MHz / 1000 mV (stock = 133 MHz / 950 mV)
* Adaptive vfs_cache_pressure on suspend / resume
Hard coded values :
- Set @ 10 = save battery on device suspend
- Set @ 60 = better smoothness on device resume
Low vfs_cache pressure values save battery while idle, while a low value also causes stutter with longer up times.
* Governors
pegasusq = SkyHigh default (siyah kernel version & "freq for responsiveness" tweaked to 500 MHz by me)
HYPER
scary
wheatley
abyssplug
lulzactiveq (siyah kernel version & tweaked by me)
lazy
hotplug
ondemand
performance
ZZMoove 0.7d​
* IO schedulers
SIO = SkyHigh default
ROW
VR
NOOP
Deadline
CFQ​
* SOUND CONTROL via ExTweaks app
* Thunderbolt scheduler IO Tweaks [pikachu01]
* Implemented kernel to report USB trickle charge (previously just reports discharging).
- Those devices without modified SystemUI.apk will now show battery charging animation whilst on USB power source
* Force USB charging source to be detected as AC
- faster USB charge using same circuitry
- limited by:
1. charging source max output
2. kernel - up to max 1500 mA (same is actual AC)​
* Auto set init.d scripts to 777 – no need to manually set script permissions, just drop in & reboot
* Reduced GUI lag
- Frandom
- fstrim lagfix - NOT ENABLED BY DEFAULT
- Disabled gentle fair sleepers
- RAM management OOM adj & minfree values from V6SuperCharger​
* Improved touch-screen sensitivity (on both battery and charge)
* Mount partitions NOATIME and NODIRATIME by default
* R/W and auto-mounting of exFAT USB-OTG & external sdcard using official Samsung Open Source modules v1.2.5
* modded ROM /system/etc/vold.fstab to permit exFAT mounting
* NTFS R/W OTG file system support (require app to mount)
* UDF/ISO file system support - BluRay (require app to mount) - not tested !
* Network filesystem support
In-built CIFS
In-built NFS (not tested)​
* TCP algorithms
- cubic = default
- reno
- westwood+ (some users of other devices have reported faster network throughput speeds)​
* In-built zRAM support
* LZ4 compression implemented & enabled for zRAM [psndna88 & Yank555.lu]
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = xz
* Support for iPad, iPhone, iPhone_3G/S, iPhone_4/4S, iPhone_5 (not tested as I don't own "rotten fruit" )
* UV motor -100 mV (3.1V → 3.0V)
* UV LED -100 mV (3.2V → 3.1V)
* fbearlysuspend control - allow CRT-off animation in SUPPORTED ROMs)
* Thermal throttle control (default on) – be careful here, do you want to melt your CPU?
* Dynamic read-ahead implemented and set at 1024 KB (variable)
* Int/External sdcard read ahead cache = variable KB
* Internal & external sdcard IO schedulers = SIO
* Dynamic FSync control v1.2 implemented and enabled
* Dynamic management of dirty page writebacks
* Android Logger Control disabled
* Linux printk Control disabled
* KSM support
* Custom bootanimation support
* Custom boot sound support
* Support for XPAD gamepad & rumblepad controller
* Reduce Android logger RAM usage
* Disabled kernel debugging to reduce zImage size
* Disabled some module logging
* Disable mali tracking debug
* Disable zRAM debug
* Triangle Away app support
* vm swappiness = 20 (performance)
* Free pagecache. dentries and inodes will be managed by /proc/sys/vm/vfs_cache_pressure
echo "1" > /proc/sys/vm/drop_caches
* System property accessory tweak values from V6SuperCharger
dalvik.vm.heapgrowthlimit 130m
dalvik.vm.heapsize 130m
persist.sys.purgeable_assets 1
windowsmgr.max_events_per_sec 90 (200 set as SkyHigh default)
* Virtual memory & kernel tweak
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "10" > /proc/sys/fs/lease-break-time
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/vm/block_dump
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "95" > /proc/sys/vm/dirty_ratio
echo "0" > /proc/sys/vm/laptop_mode
echo "15360" > /proc/sys/vm/min_free_kbytes
echo "4" > /proc/sys/vm/min_free_order_shift
echo "0" > /proc/sys/vm/oom_dump_tasks
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "1" > /proc/sys/vm/overcommit_memory
echo "0" > /proc/sys/vm/panic_on_oom
#echo "20" > /proc/sys/vm/swappiness ########### Already implemented
#echo "10" > /proc/sys/vm/vfs_cache_pressure ########### Implemented adaptive vfs_cache_pressure on suspend (10) / resume (60)
* Misc tweaks for battery life
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "65536" > /proc/sys/kernel/msgmax
echo "2048" > /proc/sys/kernel/msgmni
echo "500 512000 64 2048" > /proc/sys/kernel/sem
echo "2097152" > /proc/sys/kernel/shmall
echo "268435456" > /proc/sys/kernel/shmmax
echo "4096" > /proc/sys/kernel/shmmni
#
echo "524288" > /proc/sys/fs/file-max
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "524288" > /proc/sys/kernel/threads-max
* TCP Speed & Security
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
# 3G TurboCharger Enhancement
#
# Google's public DNS settings
#
/system/bin/setprop net.dns1 8.8.8.8 ########### Not sticking
/system/bin/setprop net.dns2 8.8.4.4
#
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax
/system/bin/setprop net.tcp.buffersize.default 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.wifi 262144,524288,1048576,262144,524288,1048576
/system/bin/setprop net.tcp.buffersize.lte 262144,524288,3145728,262144,524288,3145728
/system/bin/setprop net.tcp.buffersize.hsdpa 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.evdo_b 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.umts 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.hspa 6144,87380,262144,6144,16384,262144
/system/bin/setprop net.tcp.buffersize.gprs 6144,8760,11680,6144,8760,11680
/system/bin/setprop net.tcp.buffersize.edge 6144,26280,35040,6144,16384,35040
#
# Queue size modifications
echo "20480" > /proc/sys/net/core/optmem_max
#echo "262144" > /proc/sys/net/core/rmem_default
echo "1048576" > /proc/sys/net/core/rmem_max
#echo "262144" > /proc/sys/net/core/wmem_default
echo "1048576" > /proc/sys/net/core/wmem_max
echo "50" > /proc/sys/net/unix/max_dgram_qlen
#
# Be sure that autotuning is in effect
echo "1" > /proc/sys/net/ipv4/tcp_moderate_rcvbuf
#
echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo "1" > /proc/sys/net/ipv4/route/flush
echo "0" > /proc/sys/net/ipv4/tcp_ecn
echo "1" > /proc/sys/net/ipv4/tcp_fack
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_rmem ########### Not sticking
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_wmem ########### Not sticking
echo "6144" > /proc/sys/net/ipv4/udp_rmem_min
echo "6144" > /proc/sys/net/ipv4/udp_wmem_min
#
# Re-use sockets in time-wait state
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
#
# Hardening the TCP/IP stack to SYN attacks
echo "1024" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries
echo "2" > /proc/sys/net/ipv4/tcp_synack_retries
#
# Bump up tw_buckets in case we get DoS'd
echo "16384" > /proc/sys/net/ipv4/tcp_max_tw_buckets
#
# Ignore pings
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
#
# Don't reply to broadcasts (prevents joining a smurf attack)
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
#
# Enable bad error message protection (should be enabled by default)
echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
#
# Don't cache connection metrics from previous connection
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
#
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time
#
# Don't pass traffic between networks or act as a router
# Disable IP Packet forwarding (should be disabled already)
echo "0" > /proc/sys/net/ipv4/ip_forward
#
echo "0" > /proc/sys/net/ipv4/conf/all/send_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/send_redirects
#
# Enable spoofing protection (turn on reverse packet filtering)
echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter
echo "1" > /proc/sys/net/ipv4/conf/default/rp_filter
#
# Don't accept source routing
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route
echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route
#
# Don't accept redirects
echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects
* Power saving tweaks
pm.sleep_mode 1
ro.ril.disable.power.collapse 1
wifi.supplicant_scan_interval 180
CREDITS
* My family !!
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, Ryuinferno, CM, boeffla, GM, redpill more to add yet
* Chainfire for root
* GM - siyah kernel
* AndreiLux
* dorimanx
* Christopher83
* zeppelinrox - V6SuperCharger - KAK - 3G TurboCharger values and Fix Emissions script
* idcrisis for permission to implement CrossBreeder entropy into kernel - no success as yet...
* pikachu01 FOR SOME tHUNDERBOLT TWEAKS
* Suxsem for fstrim
* XDA devs that I cherry pick code, values & ideas from. The list is never ending...
* edan1979 for excellent feedback & also nutley for volunteering to test
GPL COMPLIANT - SOURCE: >> GitHub
.

Download & change-log
DOWNLOAD & CHANGE-LOG
** 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
P6800 GSM/3G JB 4.1.2 DXMD3 ONLY
INSTALLATION
** DO NOT USE ANY 3RD PARTY TWEAKS OR “PERFORMANCE” TYPE APPS & REMOVE ALL ROM /KERNEL SCRIPTS FROM /system/etc/init.d FOLDER **
1. NANDROID (just in case)
2. Have installed any P6800 JB 4.1.2 ROM based from official Samsung sources
3. Remove any previous CPU control settings from starting at boot, remove any 3rd party tweaks etc
4. Flash in custom recovery (CWM or TWRP) to auto wipe previous kernel profile remnants ie. crontab. logs & /data/.siyah folder
5. If requested by Recovery to install SU, DO NOT. Instead - Let the kernel do it on boot
SkyHigh Kernel : Latest release is v5.0.0 FINAL ExTweaks Edition
CWM.zip v5.0.0 FINAL http://d-h.st/n3S
Archive : Working CWM Official Released Legacy Versions (UNSUPPORTED)
v0.7
v1.0.3
v2.0.8
v2.1.0
v2.2.0
v2.7.0
v2.8.0
v3.2.0
v3.3.0
v3.4.2
v3.5.0
v3.6.0
v3.7.0
v3.8.0
v3.9.1
v4.0.0
v4.1.0
v4.2.0 - Stable for some users (4-step GPU control)
v4.3.0
v4.4.0
v4.6.0
v4.6.1
v4.7.0b
v4.8.0b
v4.9.0b
-------------------------------------------------------------------
Stock Kernel :
CWM.zip DXMD3 http://d-h.st/tKE
ODIN.tar DXMD3 http://d-h.st/yxr
++ PLEASE DO NOT REDISTRIBUTE - LINK HERE INSTEAD ++
BUGS
* Check if it is actually a stock firmware bug first using stock kernel -BEFORE- posting in this thread or elsewhere
1. Random screen tint reported on both stock & SkyHigh kernels using CPU control app (Read Post #3)
2. Screen OFF reboot with ONLY SkyHigh DEFAULT kernel settings ( no "performance" type apps, scripts etc) Please read ISSUES section for help or flash v4.2.0 for stabilty
.
.

FAQ & HELP
FAQ & HELP
MY RECOMMENDATIONS
* Governor = pegasusq, lulzactiveq, or ZZMoove
* IMO = Performance → → Battery
1. on-demand
2. pegasusq (snappy, but easier on battery than on-demand)
3. lulzactiveq
4. ZZMoove​
* Scheduler = SIO
* CPU freq = 200-1400/1600 MHz
* CPU vdd levels = SkyHigh "defaults"
* Enable zRAM for better mulitasking
* CPU Control app = ExTWeaks
Don't forget to use only one Control app at a time. They will conflict !
ISSUES?
1 Remove any kernel related init.d tweaks, 3rd party performance type apps etc
2 Wipe your CPU control app(s) data (menu > settings > applications > "your control app(s)" > clear data/cache)
3 Use only ONE CPU control app ! USE EXTweaks
4 Open SuperSU app > settings > full unroot (or unroot from with EXTweaks options)
5 Boot into recovery and wipe cache & dalvik cache
6 Re-flash SkyHigh Kernel
7 If requested by recovery - DO NOT install root (let the kernel do it)
9 Reboot
8 If still issue such as bootloop etc, try using MPLL mode for GPU, and or increase GPU voltages +50 mV
9 Try a kernel "legacy" versions
10 Back to stock for you
RANDOM SCREEN TINT AFTER CHANGING GOVERNOR
* Turn screen OFF-ON
* Use only SkyHigh defaults values
* Don't use a CPU control app to change kernel settings - Use init.d script instead
* OR IF IT BOTHERS YOU,...... DON'T USE THE KERNEL
zRAM
Info here : (INFO)What is zram and how does it work???
LOGS
* You can find various ExTweaks logs in the /data folder:
/data/.siyah
/data/extSdCard_fix.log
/data/fsrepair.log
/data/fstrim_lagfix.log
/data/Ran_FixEmissions.log
/data/sqlite.log
/data/zipalign.db
/data/zipalign.log
/data/crontab
PREVENT/REDUCE SCREEN-OFF FLICKER FOR CRT-OFF ANIMATION ENABLED ROMs
* Set fbearlysuspend msleep between 100 and 500 ms
* Set to 0 if you haven't any CRT-off animation mod
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
WHAT IS A CUSTOM KERNEL
* First of all, watch this : Android Basics 101: Understanding Kernels – XDA Developer TV
* Is usually' modified and complied from source.
* My very first successfully compiled kernel just included the "SkyHigh" name. I suppose you could call that a modified "stock" kernel. On the other hand, you could also argue that any firmware modified from either official or built from sources could be called "custom".
HAVE THE STOCK KERNELS ATTACHED BEEN MODIFIED
* If you are referring to the stock MD3 kernels in Post #2, NO
* I just extracted the zImage from official firmware and repackaged for flashing via custom recovery or Odin. There are no changes made to the zImage. I have no plans to modify these.
ENTROPY
* MAX pool sixe 4096
* It's not instant, just use your device and it will grow.
* No need for entropy generator apps that consume battery (use extra CPU cycles)
WHAT ARE GOVERNORS / SCHEDULERS ETC
* Excellent source of info by droidphile :
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
FSTRIM LAGFIX
* fstrim is more of a maintenance binary. Android 4.2.2 and below are more prone to lag over time and prevalent as your internal storage is used up.
* Trims system, preload, data & cache partitions
* fstrim binary set to run by init.d 90lagfix script after boot to reduce impact on boot time
* A manual reboot once a week is suggested. Those users who have ample internal storage and or recently formatted their partitions via ROM flash or Nandroid restore may see little difference for now.
* More info : Google yourself or Nexus Storage Performance Over Time & TRIM 20130829
CUSTOM BOOT ANIMATION SUPPORT
1. copy bootanimation.zip to /system/media/ folder (mount folder r/w to paste)
2. ensure set permissions rw-rw-rw-
3. reboot
NOTE :
* For any further help or instructions for bootanimation, please open your own forum Q&A thread or post in a relevant bootanimation thread. There are many already built and can be found by searching.
* The size we need for our tab is 800x1280 or 1280x800 (depending on portrait or landscape)
CUSTOM BOOT SOUND SUPPORT
* Place custom boot sound PowerOn.ogg in /system/media
* To mute, create an empty file named mute in /system/media
* To unmute, create an empty file named unmute in /system/media
* To restore original boot sound, create an empty file named ori_sound in /system/media
* Reboot device after each process
NOTE :
* when creating a custom boot sound, make sure you use a capital "P" and "O" in PowerOn.ogg
* I will not provide a tutorial for creating boot sounds, you can Google yourself
BENCH-MARKING
Freeze or Re-Boot
1 Try increase CPU 1600 Mhz voltage by +25 mV or +50 mV. I would not recommend any more than that !
2 Lower CPU OC back to stock max 1400 MHz setting
3 To find out which frequency cause the freeze :
a) If you have UV the CPU and the device freeze, obviously you need to increase the voltage to a particular frequency step(s)
b) Do a stress test with SetCPU (or other app) and lock your max frequency for each step (DO NOT SET ON BOOT WHILST TESTING)
4 Try a different governor
5 Use a different benchmark app/tool
AnTuTu Crashes?
* Try another benchmark app !
Low Bench-Marking Scores
* Consectutive tests as well as OC may heat the CPU high enough where thermal limiting occurs. Well here you go........... I observed my CPU regularly drop to 800 MHz after hitting a thermal limit during testing.
Here's the proof !
https://github.com/UpInTheAir/P6800_JB_SkyHigh_Kernel/blob/master/arch/arm/mach-exynos/mach-px.c
Code:
#ifdef CONFIG_EXYNOS4_SETUP_THERMAL
/* below temperature base on the celcius degree */
struct s5p_platform_tmu px_tmu_data __initdata = {
.ts = {
[COLOR="Red"].stop_1st_throttle = 61,
.start_1st_throttle = 64,[/COLOR]
.stop_2nd_throttle = 87,
.start_2nd_throttle = 103,
.start_tripping = 110,
.start_emergency = 120,
.stop_mem_throttle = 80,
.start_mem_throttle = 85,
},
.cpufreq = {
.limit_1st_throttle = [COLOR="Red"]800000[/COLOR], /* 800MHz in KHz order */
.limit_2nd_throttle = 200000, /* 200MHz in KHz order */
* With some undervolt and governor tuning, little OC impact will be felt on battery. Not everyone fixes their CPU to max with performance governor so, providing your hardware can handle it, some OC should be OK for everyday use as the CPU only briefly scales to max freq with the 'right' governor.
* As you can see, this could be easily changed to allow (cheat) in benchmarks. This won't make much difference to everyday use, but IMO shouldn't be touched. My silicon may not handle it
RESET CUSTOM FLASH COUNTER
*There is a Samsung Galaxy Tab 7.7 flash counter introduced for P6800 JB 4.1.2 DXMD3, so any modified ROM, kernel or recovery flashed via PC Odin will increase the counter.
1. Have installed my P6810/P6800 SkyHigh kernel for JB 4.1.2 (patched for triangle away compatibility)
2. Install triangle away app v3.26
3. Reset counter
4. Reboot as requested
5. To check > open app again, or, power off and enter download mode
* Your custom ROM, kernel, recovery & root remain intact
Anything else, IF I find the time
.

UpInTheAir said:
I am UpInTheAir and Chef of SGT 7.7 ICS ROMs, and now bring to you my P6800 Jellybean SkyHigh Kernel.
** FOR P6800 GSM/3G device running JB 4.1.2 DXMD3 ONLY !! **
-- STABLE WORK-IN-PROGRESS --
* I am NOT a recognised developer, and don't actually use the P6800, but thought I would help out this forum by trying to develop a P6800 JB kernel.
* 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 XDA and Google
FEATURES
* Based on official Samsung source MD3
* Default CPU max 1400 MHz
* OC to max 1600 MHz (support with CPU control app)
* CPU voltage control interface (UV support with a CPU control app)
* Enabled pegasus governor
* NTFS filesystem support
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = Gzip
* Default governor = on-demand
* Default IO scheduler = CFQ
* STABLE
TO DO
* Add more governors and IO schedulers
* UV GPU
* OC GPU
* UV screen
* Frandom support
* Other various useful modules
* Auto root
* init.d support
* STweaks support
* Increase AC & USB charge rate
* Custom bootanimation support
* Lots more
CREDITS
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, more to add yet
* edan1979 for excellent feedback & also nutley for volunteering to test
* Development has been slow, but still progressing.......
* Things will speed up (time permitting) once JB source is released for my P6810 model and I can test changes on my own device and subsequent mirror the development
* SOURCE: Still being uploaded to github, and commits will be reflected a soon as I'm home (currently away) and PC stops freezing. Please be patient on this.
DOWNLOAD & CHANGE-LOG in Post #2
FAQ & HELP in Post #3
.
Click to expand...
Click to collapse
Nice!
I was planning to do this for sometime but I'm stuck at other things. I have already prepared the config for 6810 and i815. If you have time, I can send you those files to build the kernel for p6810. Hoping it will help you creating a custom stock rom for p6810 before Samsung!
Thanks again for contribution to our community! :good:

daniel_hk said:
Nice!
I was planning to do it for sometime but I'm stuck at other things. I have already prepared the config for 6810 and i815. If you have time, I can send you those files to build the kernel for p6810. Hoping it will help you creating a custom stock rom for p6810 before Samsung!
Thanks again for contribution to our community! :good:
Click to expand...
Click to collapse
Sounds great. Thanks !
Much easier to build and test with device in hand, so hoping for the official P6810 JB update soon. Although appreciate what you bring to the community with JB, If Samsung haven't released it in the next month, probably sell the tab for the "next big thing", as long as it's 7 or 8 in...... My 9 yo boy wants the tab though, so things could still change
Sent from my GT-I9500 using xda premium

already flashed.
booting : ok
overclock to 1600: work
set pegasusq governor: work
will try to uv and report.
Sent from my GT-P6800 using Tapatalk HD

UpInTheAir said:
Sounds great. Thanks !
Much easier to build and test with device in hand, so hoping for the official P6810 JB update soon. Although appreciate what you bring to the community with JB, If Samsung haven't released it in the next month, probably sell the tab for the "next big thing", as long as it's 7 or 8 in...... My 9 yo boy wants the tab though, so things could still change
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Already sent the link in PM. It should work with the latest JB source for 6800.
Good luck and let's hear more good news!
Edit: attached here View attachment p8-wifi_defconfig.tar.gz

daniel_hk said:
Already sent the link in PM. It should work with the latest JB source for 6800.
Good luck and let's hear more good news!
Edit: attached here View attachment 1979341
Click to expand...
Click to collapse
Got it.
Thanks.
I'll just keep chipping away at the development until I have to go away to work again,.... probably early next month.
Sent from my GT-I9500 using xda premium

My 9 yo boy wants the tab though, so things could still change
Click to expand...
Click to collapse
Seems to me that a Tab 7.7 is about perfect for a little boy.
Keep it in the family:good:

Thanks dev for your kind support for the tab!

anyone try this kernel on the erobot rom yet ?

golfinggino said:
anyone try this kernel on the erobot rom yet ?
Click to expand...
Click to collapse
yes its working fine...

Hi, move to see that our device is not given up by developers
One request: after moving to JB I noticed that the sound is much lower in JB. Is it possible to fix it?
Sent from my GT-P6800 using Tapatalk 2

200mpx said:
Hi, move to see that our device is not given up by developers
One request: after moving to JB I noticed that the sound is much lower in JB. Is it possible to fix it?
Sent from my GT-P6800 using Tapatalk 2
Click to expand...
Click to collapse
Probably a way. In the mean time, take a look at this thread for SGS4 and see if it's applicable to your device....
Maybe with just a few minor adjustments, you can tweak from within your own ROM. Worth a look.
http://forum.xda-developers.com/sho...Modifications for i9500 (i9505 incompatible)!
Sent from my GT-I9500 using xda premium

Hi, how about NTFS filesystem support? I put via OTG usb flash drive 32gb formated as NTFS and tab can't recognize drive.
ROM is eRobot v1.0 and kernel is SkyHigh Kernel v0.7. May be i don't make some settings?

partola1 said:
Hi, how about NTFS filesystem support? I put via OTG usb flash drive 32gb formated as NTFS and tab can't recognize drive.
ROM is eRobot v1.0 and kernel is SkyHigh Kernel v0.7. May be i don't make some settings?
Click to expand...
Click to collapse
Firstly, does it work with your external sdcard formatted as NTFS ?
Secondly, Try USB OTG Helper app from Google Play and see if you have any luck mounting the USB stick.
Third, does it work with the stock kernel? You haven't said as I requested in OP...
Sent from my GT-I9500 using xda premium

Source : GitHub
I am now complying with the GPL and have managed to make the source/changes available for everyone to see.
Took a while, but eventually managed to upload and commit to GitHub.
Link now in OP
Now back to developing............
Edit: having a few git issues......
Edit2: Have gitHub back and correct. Just learning the basics and now lost some dev time because of it............. off to bed, always tomorrow
.

my uv setting
erobot rom
Sent from my GT-P6800 using Tapatalk HD

theerachai said:
my uv setting
erobot rom
Sent from my GT-P6800 using Tapatalk HD
Click to expand...
Click to collapse
Sweet !
Have you stress test each step to ensure stability?
You will need to lock the max frequency to that of each step, make sure it is NOT "set on boot" (during testing), so you can recover easily if device freeze or reboot occurs.

As a previous user didn't bother to give any further feedback on the NTFS, could someone using this kernel please check this:
1. Run Android Terminal Emulator app
2. su
3. Allow Superuser permission
4. lsmod
( the "l" is a lower case "L" )
What do you have? Please post a screenshot.
Also, check system/lib/modules for ntfs.ko
Cheers
Sent from my GT-I9500 using xda premium

Related

[KERNEL] ROOT | exFAT [13 Sep] [P6810 ICS 4.0.4] SkyHigh Kernel [3.3.0]

[KERNEL] ROOT | exFAT [13 Sep] [P6810 ICS 4.0.4] SkyHigh Kernel [3.3.0]
** FOR P6810 WiFi device running ICS 4.0.4 XXLPP ONLY !! **
I am UpInTheAir and Chef of now discontinued SGT 7.7 ICS ROMs, and now bring to you my "daily driver" P6810 ICS SkyHigh Kernel.
-- STABLE WORK-IN-PROGRESS --
* I am NOT a recognised developer, but thought I would help out this forum by SHARING my own compiled kernel
* 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 Google
FEATURES
* Based on official Samsung GT-P6810_ICS_Opensource_Update1 using initramfs XXLPP
* AUTO ROOT (only if you don't already have it)
insecure kernel
su binary
SuperSU v1.60
busyBox installed to /sbin​
* STABLE
* SkyHigh default CPU min/max 200 ->1400 MHz (13-step)
* 16-step CPU 100-1600 MHz (Recommend setting 200-1400/1600 MHz)
* OC CPU to max 1600 MHz (support with CPU control app)
* UC CPU to min 100 MHz (support with CPU control app)
* Stock CPU freq 200-1400 MHz UV -25mV
* CPU freq/voltage control interface (UV support with a CPU control app)
* 4-step UV & UC/OC GPU freq / vdd : 100-160-267-400 MHz (stock = 2-step 160-267 MHz)
* GPU Control interface via init.d script
clock
voltage
step thresholds
stay counts​
* GPU UV
100 MHz = 900mV
160 MHz = 900mV (-50 mV > stock 950 mV)
267 MHz = 950 mv (-50 mV > stock 1000 mV)
400 MHz = 1050 mV​
GPU BENCHMARK BEFORE (3DMark app)
{
"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"
}
GPU BENCHMARK AFTER (3DMark app)
* Governors
pegasusq = SkyHigh default (siyah kernel version & "freq for responsiveness" tweaked to 500 MHz by me)
HYPER
scary
wheatley
abyssplug
lulzactiveq (siyah kernel version & tweaked by me)
lazy
hotplug
ondemand
performance
ZZMoove 0.7d​
* IO schedulers
SIO = SkyHigh default
ROW
VR
NOOP
Deadline
CFQ​
* Thunderbolt scheduler IO Tweaks [pikachu01]
* Implemented kernel to report USB trickle charge (previously just reports discharging).
- Those devices without moddified SystemUI.apk will now show battery charging animation whilst on USB power source
* Force USB charging souce to be detected as AC
- faster USB charge using same circuitry
- limited by:
1. charging source max output
2. kernel - up to max 1500 mA (same is actual AC)​
* init.d support (init.d folder permission set to 777)
* Reduced GUI lag
- Frandom
- Entropy generator : no overhead or need for Seeder app (blocking removed for max 4096 size pool)​
* BRICK-BUG SAFE ?!
* Removed kernel references to "MMC_CAP_ERASE" and Patch : Skip secure erase on MoviNAND
* I make no guarantees on this and not going to test !
* FC freeze fix
* Improved touch-screen sensitivity (on battery and charge)
* R/W and auto-mounting of exFAT USB-OTG & external sdcard using official Samsung Open Source modules v1.2.4
* modded ROM /system/etc/vold.fstab to permit exFAT mounting
* NTFS R/W OTG file system support (require app to mount)
* UDF/ISO file system support - BluRay (require app to mount) - not tested !
* Network filesystem support (not tested)
In-built CIFS
In-built NFS​
* In-built zRAM support
* LZ4 compression implemented & enabled for zRAM [psndna88 & Yank555.lu]
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = xz
* Triangle Away app support (not sure if we even have a hidden counter?)
* Support for iPad, iPhone, iPhone_3G/S, iPhone_4/4S, iPhone_5 (not tested as I don't own "rotten fruit" )
* UV Memory -50 mV (1.2V → 1.15V)
* UV motor -100 mV (3.1V → 3.0V)
* UV LED -100 mV (3.2V → 3.1V)
* fbearlysuspend sysfs interface (use option in Trickster Mod app to alter screen off delay - prevent screen "flicker" during CRT-off enabled ROMs)
* Dynamic read-ahead implemented and set at 1024 KB
* External sdcard read ahead cache = 1664 KB
* Dynamic FSync control v1.2 implemented and enabled (use option in Trickster Mod app "specific" to change)
* Dynamic management of dirty page writebacks
* sysfs interface to Enable / Disable Android Logger
* KSM enabled in config
* Custom bootanimation support
* Custom boot sound support
* Support for XPAD gamepad & rumblepad controller
* Reduce Android logger RAM usage
* Disabled kernel debugging to reduce zImage size
* Disabled some module logging
* Disable mali tracking debug
* Lower vm swappiness from 60 to 20 (performance)
* setprop tweaks
pm.sleep_mode 1
ro.ril.disable.power.collapse 1
wifi.supplicant_scan_interval 180
dalvik.vm.heapgrowthlimit 130m
dalvik.vm.heapsize 130m
persist.sys.purgeable_assets 1
windowsmgr.max_events_per_sec 90​
TO DO
* Further governor/scheduler tweaks
* Other various useful modules
* Possible STweaks support or Tegrak etc
* Increase default volume or sound mod
* Lots more
CREDITS
* My family !!
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, Ryuinferno, CM, boeffla, GM, redpill more to add yet
* Chainfire for root
* GM - siyah kernel
* AndreiLux
* idcrisis for permission to implement CrossBreeder entropy into kernel - no success as yet...
* pikachu01 - Thunderbolt scheduler IO Tweaks
* XDA devs that I cherry pick code from
* edan1979 for excellent feedback & also nutley for volunteering to test p6800 kernel
* Development has been slow, but still progressing.......
GPL COMPLIANT - SOURCE: >> GitHub
.
.
Download & change-log
DOWNLOAD & CHANGE-LOG
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU
* Any customizations may void warranty
P6810 WiFi ICS 4.0.4 XXLPP ONLY
INSTALLATION
1. NANDROID (just in case)
2. Remove any previous CPU control settings from starting at boot
3. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
P6810 WiFi ICS 4.0.4 XXLPP ONLY
SkyHigh Kernel :
CWM.zip v3.3.0 http://d-h.st/5BA
ODIN.tar v3.3.0 http://d-h.st/44P
------------------------------------------------------------
Stock :
CWM.zip XXLPP http://d-h.st/hzD
ODIN.tar XXLPP http://d-h.st/jld (package not tested)
COMPILED MODULES
* Alrealy in-built !!
* Just for reference only
gitHub initramfs_root/lib/modules
EXAMPLE SCRIPTS ATTACHED : GPU IS ALREADY 4-step OVERCLOCK TO 400 MHz ! :
* These are script EXAMPLES if you wish to change values from SkyHigh default as in Post #1
* Modify valid values (some values may change, but not actually work and default back)
* init.d permmision 777
** > > Somehow the file extension ".bin" has been added during the upload process. If you have 90GPUfreq.bin or 91GPUvolt.bin, DELETE the ".bin" before running the script
90GPUfreq http://d-h.st/0Iu
Code:
#!/system/bin/sh
#
# SkyHigh Kernel GPU frequency sysfs interface
# Script written by [email protected] for SGT 7.7
# Info sourced from siyah kernel
sleep 5
echo "50 160 267 400" > /sys/class/misc/gpu_clock_control/gpu_control
91GPUvolt http://d-h.st/797
Code:
#!/system/bin/sh
#
# SkyHigh Kernel GPU UV/OV sysfs interface
# Set GPU voltages (Changes possible at +/-50mV ie at 50000 steps)
# Script written by [email protected] for SGT 7.7
# Info sourced from siyah kernel
sleep 6
echo "850000 900000 950000 1050000" > /sys/class/misc/gpu_voltage_control/gpu_control
++ PLEASE DO NOT REDISTRIBUTE - LINK HERE INSTEAD ++
BUGS
* Check if it is actually a stock firmware bug first using stock kernel -BEFORE- posting in this thread or elsewhere
1. The CPU freq may exceed the max setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1600 Mhz very very briefly -> then back down
* Can't fix the above CPU Level 0 bug. Refer to my post HERE. It is a FIRMWARE bug present in both stock and SkyHigh kernels
.
FAQ & HELP
FAQ & HELP
MY RECOMMENDATIONS
* Governor = pegasusq - lulzactiveq - ZZMoove
* IMO = Performance → → Battery
1. on-demand
2. pegasusq
3. lulzactiveq
4. ZZMoove​
* Scheduler = SIO
* CPU freq = 200-1400/1600 MHz
* CPU vdd levels = SkyHigh "defaults"
* Enable zRAM
* CPU Control app = Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
ISSUES?
1 Remove any kernel related init.d tweaks
2 Wipe your CPU control app(s) data (menu > settings > applications > "your control app(s)" > clear data/cache)
3 Use only ONE CPU control app !
4 Open SuperSU app > settings > full unroot
5 Boot into recovery and wipe cache & dalvik cache
6 Flash SkyHigh Kernel
7 Reboot
BASIC TRICKSTER MOD APP TUTORIAL
** Open app and ensure SU permission is granted **
1. Make your changes
2. Apply (tap the "✔")
3. Enable (I use notification as well)
4. Reboot, you can see the notification after start-up
zRAM
Info here : (INFO)What is zram and how does it work???
PREVENT/REDUCE SCREEN-OFF FLICKER FOR CRT-OFF ANIMATION ENABLED ROMs
* set fbearlysuspend msleep between 100 and 500 ms
* Set to 0 if you haven't any CRT-off animation mod
DYNAMIC READ-AHEAD
DYNAMIC FSYNC CONTROL
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
ANDROID LOGGER SYSFS INTERFACE
* Switching done via /sys/kernel/logger_mode interface
* Default is 0 (off)
WHAT IS A CUSTOM KERNEL
* Is 'usually' modified and complied from source.
* My very first successfully compiled kernel just included the "SkyHigh" name. I suppose you could call that a modified "stock" kernel. On the other hand, you could also argue that any firmware modified from either official or built from sources could be called "custom".
HAVE THE STOCK KERNELS ATTACHED BEEN MODIFIED
* If you are referring to the stock MD3 kernels in Post #2, NO
* I just extracted the zImage from official firmware and repackaged for flashing via custom recovery or Odin. There are no changes made to the zImage. I have no plans to modify these.
ENTROPY
* MAX pool sixe 4096
* It's not instant, just use your device and it will grow.
* No need for entropy generator apps that consume battery (use extra CPU cycles)
WHAT ARE GOVERNORS / SCHEDULERS ETC
* Excellent source of info by droidphile :
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
CUSTOM BOOT ANIMATION SUPPORT
1. copy bootanimation.zip to /system/media/ folder (mount folder r/w to paste)
2. ensure set permissions rw-rw-rw-
3. reboot
NOTE :
* For any further help or instructions for bootanimation, please open your own forum Q&A thread or post in a relevant bootanimation thread. There are many already built and can be found by searching.
* The size we need for our tab is 800x1280 or 1280x800 (depending on portrait or landscape)
CUSTOM BOOT SOUND SUPPORT
* Place custom boot sound PowerOn.ogg in /system/media
* To mute, create an empty file named mute in /system/media
* To unmute, create an empty file named unmute in /system/media
* To restore original boot sound, create an empty file named ori_sound in /system/media
* Reboot device after each process
NOTE :
* when creating a custom boot sound, make sure you use a capital "P" and "O" in PowerOn.ogg
* I will not provide a tutorial for creating boot sounds, you can Google yourself
BENCH-MARKING
Freeze or Re-Boot
1 Try increase CPU 1600 Mhz voltage by +25 mV or +50 mV. I would not recommend any more than that !
2 Lower CPU OC back to stock max 1400 MHz setting
3 To find out which frequency cause the freeze :
a) If you have UV the CPU and the device freeze, obviously you need to increase the voltage to a particular frequency step(s)
b) Do a stress test with SetCPU (or other app) and lock your max frequency for each step (DO NOT SET ON BOOT WHILST TESTING)
4 Try a different governor
5 Use a different benchmark app/tool
AnTuTu Crashes?
* Try another benchmark app !
Low Bench-Marking Scores
* Consectutive tests as well as OC may heat the CPU high enough where thermal limiting occurs. Well here you go........... I observed my CPU regularly drop to 800 MHz after hitting a thermal limit during testing.
Here's the proof !
https://github.com/UpInTheAir/P6800_JB_SkyHigh_Kernel/blob/master/arch/arm/mach-exynos/mach-px.c
Code:
#ifdef CONFIG_EXYNOS4_SETUP_THERMAL
/* below temperature base on the celcius degree */
struct s5p_platform_tmu px_tmu_data __initdata = {
.ts = {
[COLOR="Red"].stop_1st_throttle = 61,
.start_1st_throttle = 64,[/COLOR]
.stop_2nd_throttle = 87,
.start_2nd_throttle = 103,
.start_tripping = 110,
.start_emergency = 120,
.stop_mem_throttle = 80,
.start_mem_throttle = 85,
},
.cpufreq = {
.limit_1st_throttle = [COLOR="Red"]800000[/COLOR], /* 800MHz in KHz order */
.limit_2nd_throttle = 200000, /* 200MHz in KHz order */
* With some undervolt and governor tuning, little OC impact will be felt on battery. Not everyone fixes their CPU to max with performance governor so, providing your hardware can handle it, some OC should be OK for everyday use as the CPU only briefly scales to max freq with the 'right' governor.
* As you can see, this could be easily changed to allow (cheat) in benchmarks. This won't make much difference to everyday use, but IMO shouldn't be touched. My silicon may not handle it
GPU init.d SCRIPTS
How to install/run :
1. Mount system/etc/init.d folder [R/W]
2. Copy your script to your system/etc/init.d folder
3. Set script permission to 777
4. Reboot
-OR-
Use root explorer app (Linux script handler) -or- script manager app to run script - no need to reboot
[Q] How do I check the script worked?
[A] Check values changed in files:
sys/class/misc/......
gpu_clock_control (gpu_control & gpu_staycount)
gpu_voltage_control (gpu_control)
[Q] How do I check it's a valid frequency?
[A] I observed the live GPU freq values in sys/module/mali/parameters/mali_gpu_clk. I use the Cool Tool app in the "label" section
ANYTHING ELSE
When I find the time
.
Thought all you P6810 users would be getting starved of flashing, so here you go ! Upload in a minute or two :laugh:
EDIT:
This kernel has been compiled using the XXLPP initramfs.
It may work properly on other P6810 ICS firmware, it may not.
++ If you wish to have it compiled correctly for your firmware, please post your stock ICS firmware zImage. Time permitting, I'll try compile a kernel for you.
.
Thanks, giving it a shot now on your old SkyHigh ROM. Nice to have something new that isn't fraught with AOSP issues (though of course all respect to daniel_hk for his amazing work!).
Maybe some day Samsung will remember that they released a wifi tab 7.7 and give us JB like the P6800 folks. /sigh
teiglin said:
Thanks, giving it a shot now on your old SkyHigh ROM. Nice to have something new that isn't fraught with AOSP issues (though of course all respect to daniel_hk for his amazing work!).
Maybe some day Samsung will remember that they released a wifi tab 7.7 and give us JB like the P6800 folks. /sigh
Click to expand...
Click to collapse
Just remember to follow installation the instructions and post #3, clear any kernel related tweaks from init.d folder first etc. If you have mods such as V6SuperCharger etc, flashing the kernel will most probably "break it".
Best flashed on a "clean" system without any tweaks, and build on it from there.
Sent from my GT-I9500 using xda premium
If I get the time later today, might try and make an "EXTREME" version. Don't know how it'll go....
- GPU 5 steps
- GPU max 533 / min 108 ?? Galaxy Note can do it with same hardware. Individual hardware is not quite made to exactly same spec though.
- UV GPU stock freqs
Sent from my GT-I9500 using xda premium
UpInTheAir said:
Just remember to follow installation the instructions and post #3, clear any kernel related tweaks from init.d folder first etc. If you have mods such as V6SuperCharger etc, flashing the kernel will most probably "break it".
Best flashed on a "clean" system without any tweaks, and build on it from there.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
That's always good advice, but I'm too lazy to do a full wipe unless something goes wrong. As always of course, I won't claim bugs without it but most of the time these things go fine.
Anyway, I haven't done many tests yet, but for the moment at least it seems a bit more responsive. So far so good!
teiglin said:
That's always good advice, but I'm too lazy to do a full wipe unless something goes wrong. As always of course, I won't claim bugs without it but most of the time these things go fine.
Anyway, I haven't done many tests yet, but for the moment at least it seems a bit more responsive. So far so good!
Click to expand...
Click to collapse
No problem.
If you have any init.d script for scheduler etc, suggest to remove that and use the kernel default (SIO) or ROW. Otherwise it will override on boot the kernel default or possible CPU control app settings.
If installed, V6SuperCharger will be broken as well as CrossBreeder. You will need to go to their respective threads and reinstall.
Sent from my GT-I9500 using xda premium
works great, no problems here. Thanks for throwing us poor P6810 owners a bone UpInTheAir!!
This is great. Any chance of adding zram?
EDIT: Any apps for setting kernel setting?
lambstone said:
This is great. Any chance of adding zram?
Click to expand...
Click to collapse
Maybe at some point will try and look into it.
Currently playing around with adding another GPU step (5) max 520 MHz. Not sure if I'll make it permanent yet.
Already tested working and implemented 16 step CPU with freq/vdd control interface 100-1600 MHz(up from 7). Will be in next release, along with the brick bug "fix". Obviously, I'm not going to test the "fix" actually works
Sent from my GT-I9500 using xda premium
lambstone said:
EDIT: Any apps for setting kernel setting?
Click to expand...
Click to collapse
SetCPU, voltage control, nsTools (free) etc can all set governors, IO schedulers, UV CPU control, UC/OC etc
With SetCPU, you can also tweak certain governors etc, maybe the voltage control (paid) can as well, not sure
Sent from my GT-I9500 using xda premium
There will be an update this weekend,.... sometime.
Build is ready, but want to get my P6810 gitHub in order first (some local repository corruption). And also a lot of family time.
Sent from my GT-I9500 using xda premium
v1.2 UPDATE
>> v1.2 UPDATE << for the the two followers here :laugh:
FOR P6810 WIFI ICS 4.0.4 ONLY
Installation as per Posts #1-3
Change-log
* increased 4-step to 5-step GPU 114-160-267-533 MHz
* Increased 7 to 16-step CPU 100 - - - - - - -> 1600 MHz & voltage interface
* Increased pegasusq (siyah) "freq for responsiveness" from 500 to 800 MHz. Maybe slightly more battery, but with UV will be negligible.
* Removed reference to "Brick Bug". Look in gitHub commit
* Slightly UV GPU freq voltage levels. Not sure if it's actually done right, but no negative affects though.
* Couple other small GPU less aggressive threshold adjustments etc.
* Kernel compression changed from Gzip to LZMA fto reduce zImage size. Boot may take a second longer.
* Updating OP now. Will update OP freq.vdd table later on.
++ Although I have increased the GPU max freq from 400 to 533, I don't really expect any real noticeable (real life) performance increase from 400 MHz. My GPU benchmark testing indictaes a relative low increase, if nothing at all.
CHEERS
UITA
.
v1.5.0
>> v1.5.0 UPDATE <<
FOR P6810 WIFI ICS 4.0.4 ONLY
Installation as per Posts #1-3
Change-log
* Revert to a WORKING 4-step GPU 100-160-267-400 MHz (114 & 533 MHz are invalid freq)
* Lower min GPU freq to 100 MHz from invalid 114 MHz (stock 160 MHz)
* GPU Control interface via init.d script
clock
voltage
step thresholds
stay counts​
* Added support for Triangle Away app (not sure if we even have a counter?)
* Slightly UV CPU freq 100-1400 MHz by -25mV. 1500 & 1600 remain unaffected
* Increased GPU 267-400 MHz threshold
* Better 4-step GPU "idle" and light use battery savings with UV & tweaked thresholds
* UV GPU properly, now working
100 MHz = 900mV
160 MHz = 900mV (-50 mV > stock 950 mV)
267 MHz = 950 mv (-50 mV > stock 1000 mV)
400 MHz = 1050 mV​
* Updating OP now. Will update OP freq.vdd table later on.
* I will attach some example init.d scripts in the download section Post #2. Further info in Post #3.
CHEERS
UITA
.
v2.0.0 UPDATE
>> v2.0.0 UPDATE <<
FOR P6810 WIFI ICS 4.0.4 ONLY
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. If you dare to flash, you will need a CPU control app to adjust the CPU freq from the safe startup values
3. Recommend 100-1600 MHz
INSTALLATION as per Posts #1-3
DOWNLOAD in Post #2
CHANGE-LOG
* Increase from 16-step to 18 step CPU
* CPU min/max safe startup freq default = 200 -> 1400 MHz
* CPU min/max safe voltage = 800 -> 1450 mV
* CPU OC to 1700 or 1800 MHz with CPU control app
* UC to 100 MHz with CPU control app
* CPU 100 MHz voltage increased +25 mV to 950 mV for stability
* In-built CIFS network filesystem support (not tested)
* In-built NFS network filesystem support (not tested)
* In-built zRAM support (not tested)
* pegasusq (siyah) governor "freq for responsiveness" decreased to 500 MHz for a little battery saving
Info here : (INFO)What is zram and how does it work???
You need :
(i) a relevant partition (Linux swap partition and set as PRIMARY)
(ii) & init.d script or this app [APP][14/5/13]Zram & Swap Control [CACHE & PARTN] V2.5.5 Sammy 4.2.2 compatible!
(iii) Can I help you set it up. No, I don't use it ​
* BTW - I couldn't get great benchmark results at 1800 MHz due to thermal throttling of the CPU to 800 MHz.
In other words, I used Cool Tool app to show CPU freq on screen whilst benchmark. I could see the 1800 MHz max, then limited to 800 MHz due to EXCESSIVE CPU HEAT !
There is a way to increase the thermal limits, but I don't want my silicon melted ! I am sure 1600 MHz is more than enough.
* BUG : The CPU freq may exceed the max setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1800 Mhz very very briefly -> then back down
CHEERS
UITA
.
Thanks UITA, I've been distracted by other tabs lately, but my 7.7 now driven by SkyHigh_v2.0+ - thanks for your efforts, no problems to report.
davp said:
Thanks UITA, I've been distracted by other tabs lately, but my 7.7 now driven by SkyHigh_v2.0+ - thanks for your efforts, no problems to report.
Click to expand...
Click to collapse
No worries
Just be aware that the default is now set back to 200-1400 (15-step CPU), but you can use an app to UC/OC up to 18-step I do however recommend the 100-1600, works nicely on my tab.
Just that little bug I can't take care of for the next month away
Sent from my GT-I9500 using xda premium
If anyone with prior experience setting up their device and using CIFS, ZRAM, or NFS, please report back if you have it working with v2.0.0.
I have absolutely none, and am away and unable to even try.
Thanks
Sent from my GT-I9500 using xda premium

[KERNEL] [P6810 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [3.0.0]

[KERNEL] [P6810 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [3.0.0 FINAL]
** ONLY FOR P6810 Wi-Fi device running:
1. bodivas JB 4.1.2 DXMD3 ROM Port
-or-
2. [ROM] 24 Dec [Aroma] [P6810 / P6800] Multi-Language & Multi-Window JB 4.1.2 | SkyHigh [v3.5]
I am UpInTheAir part time kernel dev (hack) and Chef of SGT 7.7 JB & ICS ROMs, and now bring to you my P6810 Jellybean SkyHigh Kernel.
-- STABLE FINAL RELEASE --
* 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
FEATURES
* Based on official Samsung source JB DXMD3
* AUTO ROOT (only if you don't already have it)
insecure kernel
su binary 1.91
SuperSU 1.91
busyBox 1.20.2 linusyang installed to system/sbin​
* STABLE - under SkyHigh "default" values & conditions
* ExTweaks 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 !
CPU
Boot boost CPU freq
Boost CPU freq (not fully tested)
Cortex wakeup boost (not fully tested)
Max normal freq
CPU freq OC / UC
CFS settings – Arch power
CPU idle mode (sleep & awake)
Scaling max suspend freq
Scaling min suspend freq
Scaling min standby freq
CPU temp throttle
CPU VOLTAGE
Set voltage individually for each 18-step freq
CPU TUNING (Awake & Sleep)
Set default CPU governor
Set governor configuration
Enable/disable hotplug
BUS
Bus voltage group
Thresholds
IO Tuning
Int/ext sdcard read-ahead cache
Dynamic Fsync control
Dynamic dirty page writeback control
IO scheduler (awake & sleep)
MEMORY TUNING
OOM control (screen on/off)
Dirty background ratio
Dirty ratio
Clean RAM cache
zRAM
Swappiness
zRAM stats
KSM control
GPU CONTROL
VPLL/MPLL mode
Freq control
Voltage control
Threshold control
Stay-count control
DISPLAY
FB early suspend delay (CRT TV off animation for SUPPORTED ROM)
Touch screen sensitivity
SOUND
Master volume gain
Headphone
Mic
Speaker
TWEAKS
- CortexBrain-Background-Process control
- Check CortexBrain-Background-Process Service
TCP security
TCP speed
TCP RAM
IPV6 (enabled by default - does not actually switch off)
CPU
Memory
System
Kernel
IO
OTHER
- Cron Task Control
- Test Cron task service
- Cron reset
Clean RAM cache task every hour
Update AD blocker task every week
DB optimizing (sqlite3) task every day
Clean app cache task every day
Zipalign task every day
fstrim lagfix task every day
Cron test task jobs
Zipalign apps now
Zipalign on boot
DB optimization (sqlite3) now
DB optimization (sqlite3) on boot
Battery scaling calibration (fuel-gauge reset) now
Ad blocker update now
Remove Ad blocker
FILE SYSTEM MAINTENANCE / REPAIR
Partitions scan
Data FS repair on boot
extSdCard repair on boot
Fix permissions on boot
Fix permissions now
Trim FS partitions (fstrim lagfix) on boot
Trim FS partitions (fstrim lagfix) now
INIT.D SUPPORT
Enable init.d script run control
USB MASS STORAGE (UMS) MODE
MTP Mass storage mode
WIFI & GPS
Clean WIFI lease
TCP congestion control
GPS region
GPS zone check
Update time
ROOT
Install root now
Remove root now
Root check
Auto install root on boot
MODULES
Frandom control
XPAD control
ISO CD-ROM control
UDF CD-ROM/DVD control
PROFILES
Profile check
UpInTheAir & SkyHigh Default (you can configure & save values for each, but not change the actual profile name)
BACKUP & RESTORE
Backup User settings now
Restore User settings now
RE-BOOT
Re-boot into Recovery
BUG-REPORT
Kernel bug-report
App bug-report
Android logger control
Kernel printk control
Module logger control
INFO
* SkyHigh default CPU min/max 200 > 1400 MHz (13-step)
* 18-step CPU 100 > 1800 MHz (Recommend setting 200-1400/1600 MHz)
Default = 13-step 200 > 1400 MHz
Stock = 6-step 200 > 1400 MHz​
* No UV for stock frequencies 200-500-800-1000-1200-1400 MHz
* 4-step GPU : Default = 160-200-267-400 MHz
MPLL mode = 4-step GPU (default)
Stock = 2-step GPU (160-267 MHz)
Min freq = 50 MHz
Max MPLL freq = 400 MHz
Max VPLL freq = 520 MHz
Voltage = 800 > 1200 mV (+/- 50 mV increments)​
* GPU UV / UC / OC
160 MHz = 950 mV (-50 mV > stock 1000 mV)
200 MHz = 1000 mv
267 MHz = 1050 mV (-50 mV > stock 1100 mV)
400 MHz = 1100 mV​
* GPU Control
freq clock
voltage
step thresholds
stay counts​
GPU BENCHMARK BEFORE (3DMark app)
{
"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"
}
GPU BENCHMARK AFTER @ 400 MHz (3DMark app)
* GPU VPLL mode optional
For devices that can't handle VPLL – use MPLL mode instead
http://forum.xda-developers.com/showpost.php?p=33720501&postcount=4181&nocache=1&z=1048045007703282
* Busfreq up & down threshold control
Stock / SkyHigh default = 23
* Busfreq (memory) voltage group
default group = 1 (stock)
available group options 1 > 7
L0 = 400 L1 = 267 L2 = 160 MHz
1 > {1150000, 1050000, 1050000} SkyHigh default / stock
2 > {1125000, 1025000, 1025000}
3 > {1100000, 1000000, 1000000}
4 > {1075000, 975000, 975000}
5 > {1050000, 950000, 950000}
6 > {1025000, 950000, 925000}
7 > {1000000, 925000, 900000}
* Set L2 bus (memory) speed from 133 > 160 MHz
- Default MHz now:
L0 = 400
L1 = 267
L2 = 160 MHz / 1000 mV (stock = 133 MHz / 950 mV)
* Adaptive vfs_cache_pressure on suspend / resume
Hard coded values :
- Set @ 10 = save battery on device suspend
- Set @ 60 = better smoothness on device resume
Low vfs_cache pressure values save battery while idle, while a low value also causes stutter with longer up times.
* Governors
pegasusq = SkyHigh default (siyah kernel version & "freq for responsiveness" tweaked to 500 MHz by me)
HYPER
scary
wheatley
abyssplug
lulzactiveq (siyah kernel version & tweaked by me)
lazy
hotplug
ondemand
performance
ZZMoove 0.7d​
* IO schedulers
SIO = SkyHigh default
ROW
VR
NOOP
Deadline
CFQ​
* SOUND CONTROL via ExTweaks app
* Thunderbolt scheduler IO Tweaks [pikachu01]
* Implemented kernel to report USB trickle charge (previously just reports discharging).
- Those devices without modified SystemUI.apk will now show battery charging animation whilst on USB power source
* Force USB charging source to be detected as AC
- faster USB charge using same circuitry
- limited by:
1. charging source max output
2. kernel - up to max 1500 mA (same is actual AC)​
* Auto set init.d scripts to 777 – no need to manually set script permissions, just drop in & reboot
* Reduced GUI lag
- Frandom
- fstrim lagfix - NOT ENABLED BY DEFAULT
- Disabled gentle fair sleepers
- RAM management OOM adj & minfree values from V6SuperCharger​
* Improved touch-screen sensitivity (on both battery and charge)
* Mount partitions NOATIME and NODIRATIME by default
* R/W and auto-mounting of exFAT USB-OTG & external sdcard using official Samsung Open Source modules v1.2.5
* modded ROM /system/etc/vold.fstab to permit exFAT mounting
* NTFS R/W OTG file system support (require app to mount)
* UDF/ISO file system support - BluRay (require app to mount) - not tested !
* Network filesystem support
In-built CIFS
In-built NFS (not tested)​
* TCP algorithms
- cubic = default
- reno
- westwood+ (some users of other devices have reported faster network throughput speeds)​
* In-built zRAM support
* LZ4 compression implemented & enabled for zRAM [psndna88 & Yank555.lu]
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = xz
* Support for iPad, iPhone, iPhone_3G/S, iPhone_4/4S, iPhone_5 (not tested as I don't own "rotten fruit" )
* UV motor -100 mV (3.1V → 3.0V)
* UV LED -100 mV (3.2V → 3.1V)
* fbearlysuspend control - allow CRT-off animation in SUPPORTED ROMs)
* Thermal throttle control (default on) – be careful here, do you want to melt your CPU?
* Dynamic read-ahead implemented and set at 1024 KB (variable)
* Int/External sdcard read ahead cache = variable KB
* Internal & external sdcard IO schedulers = SIO
* Dynamic FSync control v1.2 implemented and enabled
* Dynamic management of dirty page writebacks
* Android Logger Control disabled
* Linux printk Control disabled
* KSM support
* Custom bootanimation support
* Custom boot sound support
* Support for XPAD gamepad & rumblepad controller
* Reduce Android logger RAM usage
* Disabled kernel debugging to reduce zImage size
* Disabled some module logging
* Disable mali tracking debug
* Disable zRAM debug
* Disable modem in config (not needed for this device)
* Triangle Away app support
* vm swappiness = 20 (performance)
* Free pagecache. dentries and inodes will be managed by /proc/sys/vm/vfs_cache_pressure
echo "1" > /proc/sys/vm/drop_caches
* System property accessory tweak values from V6SuperCharger
dalvik.vm.heapgrowthlimit 130m
dalvik.vm.heapsize 130m
persist.sys.purgeable_assets 1
windowsmgr.max_events_per_sec 90 (200 set as SkyHigh default)
* Virtual memory & kernel tweak
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "10" > /proc/sys/fs/lease-break-time
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/vm/block_dump
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "95" > /proc/sys/vm/dirty_ratio
echo "0" > /proc/sys/vm/laptop_mode
echo "15360" > /proc/sys/vm/min_free_kbytes
echo "4" > /proc/sys/vm/min_free_order_shift
echo "0" > /proc/sys/vm/oom_dump_tasks
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "1" > /proc/sys/vm/overcommit_memory
echo "0" > /proc/sys/vm/panic_on_oom
#echo "20" > /proc/sys/vm/swappiness ########### Already implemented
#echo "10" > /proc/sys/vm/vfs_cache_pressure ########### Implemented adaptive vfs_cache_pressure on suspend (10) / resume (60)
* Misc tweaks for battery life
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "65536" > /proc/sys/kernel/msgmax
echo "2048" > /proc/sys/kernel/msgmni
echo "500 512000 64 2048" > /proc/sys/kernel/sem
echo "2097152" > /proc/sys/kernel/shmall
echo "268435456" > /proc/sys/kernel/shmmax
echo "4096" > /proc/sys/kernel/shmmni
#
echo "524288" > /proc/sys/fs/file-max
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "524288" > /proc/sys/kernel/threads-max
* TCP Speed & Security
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
# 3G TurboCharger Enhancement
#
# Google's public DNS settings
#
/system/bin/setprop net.dns1 8.8.8.8 ########### Not sticking
/system/bin/setprop net.dns2 8.8.4.4
#
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax
/system/bin/setprop net.tcp.buffersize.default 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.wifi 262144,524288,1048576,262144,524288,1048576
/system/bin/setprop net.tcp.buffersize.lte 262144,524288,3145728,262144,524288,3145728
/system/bin/setprop net.tcp.buffersize.hsdpa 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.evdo_b 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.umts 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.hspa 6144,87380,262144,6144,16384,262144
/system/bin/setprop net.tcp.buffersize.gprs 6144,8760,11680,6144,8760,11680
/system/bin/setprop net.tcp.buffersize.edge 6144,26280,35040,6144,16384,35040
#
# Queue size modifications
echo "20480" > /proc/sys/net/core/optmem_max
#echo "262144" > /proc/sys/net/core/rmem_default
echo "1048576" > /proc/sys/net/core/rmem_max
#echo "262144" > /proc/sys/net/core/wmem_default
echo "1048576" > /proc/sys/net/core/wmem_max
echo "50" > /proc/sys/net/unix/max_dgram_qlen
#
# Be sure that autotuning is in effect
echo "1" > /proc/sys/net/ipv4/tcp_moderate_rcvbuf
#
echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo "1" > /proc/sys/net/ipv4/route/flush
echo "0" > /proc/sys/net/ipv4/tcp_ecn
echo "1" > /proc/sys/net/ipv4/tcp_fack
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_rmem ########### Not sticking
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_wmem ########### Not sticking
echo "6144" > /proc/sys/net/ipv4/udp_rmem_min
echo "6144" > /proc/sys/net/ipv4/udp_wmem_min
#
# Re-use sockets in time-wait state
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
#
# Hardening the TCP/IP stack to SYN attacks
echo "1024" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries
echo "2" > /proc/sys/net/ipv4/tcp_synack_retries
#
# Bump up tw_buckets in case we get DoS'd
echo "16384" > /proc/sys/net/ipv4/tcp_max_tw_buckets
#
# Ignore pings
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
#
# Don't reply to broadcasts (prevents joining a smurf attack)
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
#
# Enable bad error message protection (should be enabled by default)
echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
#
# Don't cache connection metrics from previous connection
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
#
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time
#
# Don't pass traffic between networks or act as a router
# Disable IP Packet forwarding (should be disabled already)
echo "0" > /proc/sys/net/ipv4/ip_forward
#
echo "0" > /proc/sys/net/ipv4/conf/all/send_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/send_redirects
#
# Enable spoofing protection (turn on reverse packet filtering)
echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter
echo "1" > /proc/sys/net/ipv4/conf/default/rp_filter
#
# Don't accept source routing
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route
echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route
#
# Don't accept redirects
echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects
* Power saving tweaks
pm.sleep_mode 1
ro.ril.disable.power.collapse 1
wifi.supplicant_scan_interval 180
CREDITS
* My family !!
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, Ryuinferno, CM, boeffla, GM, redpill more to add yet
* Chainfire for root
* GM - siyah kernel
* AndreiLux
* dorimanx
* Christopher83
* zeppelinrox - V6SuperCharger - KAK - 3G TurboCharger values and Fix Emissions script
* idcrisis for permission to implement CrossBreeder entropy into kernel - no success as yet...
* pikachu01 FOR SOME tHUNDERBOLT TWEAKS
* Suxsem for fstrim
* XDA devs that I cherry pick code, values & ideas from. The list is never ending...
* edan1979 for excellent feedback & also nutley for volunteering to test
GPL COMPLIANT - SOURCE: >> GitHub
.
Download & change-log
DOWNLOAD & CHANGE-LOG
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU
* Any customizations may void warranty
P6810 Wi-Fi JB 4.1.2 DXMD3 ONLY
INSTALLATION
** DO NOT USE ANY 3RD PARTY TWEAKS OR “PERFORMANCE” TYPE APPS & REMOVE ALL ROM / KERNEL SCRIPTS FROM /system/etc/init.d FOLDER **
1. NANDROID (just in case)
2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM
3. Remove any previous CPU control settings from starting at boot, remove any 3rd party tweaks etc
4. Flash in custom recovery (CWM or TWRP) to auto wipe previous kernel profile remnants ie. crontab & /data/.siyah folder
5. If requested by Recovery to install SU, DO NOT. Instead - Let the kernel do it on boot
P6810 Wi-Fi SkyHigh Kernel : Latest release is v3.0.0 FINAL Edition
CWM.zip v3.0.0 FINAL http://d-h.st/oVe
Archive : Working CWM Official Released Legacy Versions (UNSUPPORTED)
v2.6.0b
v2.5.0b
v2.4.0b
v2.3.0
v2.1.0
v2.0.0
v1.9.0
v1.8.0
v1.7.0
v1.6.0
v1.5.0
v1.0.0
-------------------------------------------------------------------
Stock repack kernel (thanks bodivas) :
CWM.zip DXMD3
ODIN.tar DXMD3
++ PLEASE DO NOT REDISTRIBUTE - LINK HERE INSTEAD ++
BUGS
* Check if it is actually a stock firmware bug first using stock kernel -BEFORE- posting in this thread or elsewhere
1. Random screen tint reported on both stock & SkyHigh kernels using CPU control app (Read Post #3)
.
.
FAQ & HELP
FAQ & HELP
MY RECOMMENDATIONS
* Governor = pegasusq, lulzactiveq, or ZZMoove
* IMO = Performance → → Battery
1. on-demand
2. pegasusq (snappy, but easier on battery than on-demand)
3. lulzactiveq
4. ZZMoove​
* Scheduler = SIO
* CPU freq = 200-1400/1600 MHz
* CPU vdd levels = SkyHigh "defaults"
* Enable zRAM for better mulitasking
* CPU Control app = ExTWeaks
Don't forget to use only one Control app at a time. They will conflict !
ISSUES?
1 Remove any kernel related init.d tweaks, 3rd party performance type apps etc
2 Wipe your CPU control app(s) data (menu > settings > applications > "your control app(s)" > clear data/cache)
3 Use only ONE CPU control app ! USE EXTweaks
4 Open SuperSU app > settings > full unroot (or unroot from with EXTweaks options)
5 Boot into recovery and wipe cache & dalvik cache
6 Re-flash SkyHigh Kernel
7 If requested by recovery - DO NOT install root (let the kernel do it)
9 Reboot
8 If still issue such as bootloop etc, try using MPLL mode for GPU, and or increase GPU voltages +50 mV
9 Try a kernel "legacy" versions
10 Back to stock for you
RANDOM SCREEN TINT AFTER CHANGING GOVERNOR
* Turn screen OFF-ON
* Use only SkyHigh defaults values
* Don't use a CPU control app to change kernel settings - Use init.d script instead
* OR IF IT BOTHERS YOU,...... DON'T USE THE KERNEL
zRAM
Info here : (INFO)What is zram and how does it work???
LOGS
* You can find various ExTweaks logs in the /data folder:
/data/.siyah
/data/extSdCard_fix.log
/data/fsrepair.log
/data/fstrim_lagfix.log
/data/Ran_FixEmissions.log
/data/sqlite.log
/data/zipalign.db
/data/zipalign.log
/data/crontab
PREVENT/REDUCE SCREEN-OFF FLICKER FOR CRT-OFF ANIMATION ENABLED ROMs
* Set fbearlysuspend msleep between 100 and 500 ms
* Set to 0 if you haven't any CRT-off animation mod
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
WHAT IS A CUSTOM KERNEL
* First of all, watch this : Android Basics 101: Understanding Kernels – XDA Developer TV
* Is usually' modified and complied from source.
* My very first successfully compiled kernel just included the "SkyHigh" name. I suppose you could call that a modified "stock" kernel. On the other hand, you could also argue that any firmware modified from either official or built from sources could be called "custom".
HAVE THE STOCK KERNELS ATTACHED BEEN MODIFIED
* If you are referring to the stock MD3 kernels in Post #2, NO
* I just extracted the zImage from official firmware and repackaged for flashing via custom recovery or Odin. There are no changes made to the zImage. I have no plans to modify these.
ENTROPY
* MAX pool sixe 4096
* It's not instant, just use your device and it will grow.
* No need for entropy generator apps that consume battery (use extra CPU cycles)
WHAT ARE GOVERNORS / SCHEDULERS ETC
* Excellent source of info by droidphile :
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
FSTRIM LAGFIX
* fstrim is more of a maintenance binary. Android 4.2.2 and below are more prone to lag over time and prevalent as your internal storage is used up.
* Trims system, preload, data & cache partitions
* fstrim binary set to run after boot
* A manual reboot once a week is suggested. Those users who have ample internal storage and or recently formatted their partitions via ROM flash or Nandroid restore may see little difference for now.
* More info : Google yourself or Nexus Storage Performance Over Time & TRIM 20130829
CUSTOM BOOT ANIMATION SUPPORT
1. copy bootanimation.zip to /system/media/ folder (mount folder r/w to paste)
2. ensure set permissions rw-rw-rw-
3. reboot
NOTE :
* For any further help or instructions for bootanimation, please open your own forum Q&A thread or post in a relevant bootanimation thread. There are many already built and can be found by searching.
* The size we need for our tab is 800x1280 or 1280x800 (depending on portrait or landscape)
CUSTOM BOOT SOUND SUPPORT
* Place custom boot sound PowerOn.ogg in /system/media
* To mute, create an empty file named mute in /system/media
* To unmute, create an empty file named unmute in /system/media
* To restore original boot sound, create an empty file named ori_sound in /system/media
* Reboot device after each process
NOTE :
* when creating a custom boot sound, make sure you use a capital "P" and "O" in PowerOn.ogg
* I will not provide a tutorial for creating boot sounds, you can Google yourself
BENCH-MARKING
Freeze or Re-Boot
1 Try increase CPU 1600 Mhz voltage by +25 mV or +50 mV. I would not recommend any more than that !
2 Lower CPU OC back to stock max 1400 MHz setting
3 To find out which frequency cause the freeze :
a) If you have UV the CPU and the device freeze, obviously you need to increase the voltage to a particular frequency step(s)
b) Do a stress test with SetCPU (or other app) and lock your max frequency for each step (DO NOT SET ON BOOT WHILST TESTING)
4 Try a different governor
5 Use a different benchmark app/tool
AnTuTu Crashes?
* Try another benchmark app !
Low Bench-Marking Scores
* Consectutive tests as well as OC may heat the CPU high enough where thermal limiting occurs. Well here you go........... I observed my CPU regularly drop to 800 MHz after hitting a thermal limit during testing.
Here's the proof !
https://github.com/UpInTheAir/P6800_JB_SkyHigh_Kernel/blob/master/arch/arm/mach-exynos/mach-px.c
Code:
#ifdef CONFIG_EXYNOS4_SETUP_THERMAL
/* below temperature base on the celcius degree */
struct s5p_platform_tmu px_tmu_data __initdata = {
.ts = {
[COLOR="Red"].stop_1st_throttle = 61,
.start_1st_throttle = 64,[/COLOR]
.stop_2nd_throttle = 87,
.start_2nd_throttle = 103,
.start_tripping = 110,
.start_emergency = 120,
.stop_mem_throttle = 80,
.start_mem_throttle = 85,
},
.cpufreq = {
.limit_1st_throttle = [COLOR="Red"]800000[/COLOR], /* 800MHz in KHz order */
.limit_2nd_throttle = 200000, /* 200MHz in KHz order */
* With some undervolt and governor tuning, little OC impact will be felt on battery. Not everyone fixes their CPU to max with performance governor so, providing your hardware can handle it, some OC should be OK for everyday use as the CPU only briefly scales to max freq with the 'right' governor.
* As you can see, this could be easily changed to allow (cheat) in benchmarks. This won't make much difference to everyday use, but IMO shouldn't be touched. My silicon may not handle it
RESET CUSTOM FLASH COUNTER
*There is a Samsung Galaxy Tab 7.7 flash counter introduced for P6800 JB 4.1.2 DXMD3, so any modified ROM, kernel or recovery flashed via PC Odin will increase the counter.
1. Have installed my P6810/P6800 SkyHigh kernel for JB 4.1.2 (patched for triangle away compatibility)
2. Install triangle away app v3.26
3. Reset counter
4. Reboot as requested
5. To check > open app again, or, power off and enter download mode
* Your custom ROM, kernel, recovery & root remain intact
Anything else, IF I find the time
.
A few things to do yet to bring it on par with the P6800 SkyHigh kernel.
ie. exFAT, init.d (think not working), custom bootanimation & sound support, some more tweaks etc
Edit: forgot to mention, frandom is only 1/2 way there. Removed from initramfs SkyHigh install script as well. Will look into it in good time.
Please be patient, I have other things to do
Thanks so much! Will flash asap.
Sent from my E330 using xda app-developers app
Downloading, thanks to make our tablet live.
Many thanks UpInTheAir..
You're the only reason my P6810 is not for sale.:highfive:
Thank you very much
Just for a change, been having a play around cooking a test ROM and mods. Been a while since I've done that, but it's like riding a bike, little shaky a first, but never forget. I have no plans for the ROM.
Will take a look at this kernel again tomorrow. Expect an update in the next day or so.
Sent from my GT-I9500 using XDA Premium 4 mobile app
Update on development.
Update on development.
Looks like the next update could be a little longer than hoped.
Have managed to get just about everything working same as current P6800 kernel (plus implementing fstrim lagfix on boot),.......
EXCEPT USB-OTG keeps constantly mounting/unmounting. Have not found the exact cause yet, and is something to do with the initramfs SkyHigh.sh install script or maybe the init.rc entry to initiate it.
I have compiled 20-30 kernels today, time for a break.......
v1.5.0 update
>> v1.5.0 UPDATE <<
** FOR P6810 Wi-Fi device running bodivas JB 4.1.2 DXMD3 ROM Port ONLY !! **
++ SOMEONE PLEASE CONFIRM USB-OTG WORKS - I THINK MY ADAPTER IS BROKEN ++
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
CHANGE-LOG v1.0.0 -> v1.5.0
* R/W and auto-mounting of exFAT USB-OTG & external sdcard
* Modded ROM /system/etc/vold.fstab to permit exFAT mounting
* IO scheduler set the same for internal & external sdcards via initramfs : default = SIO
* Updated to SuperSU 1.65 & binary v1.61 (installs only if you don't have any)
* fstrim lagfix on boot (trims system, data & cache) - slows down reboot, but who cares, aren't we more concerned with using device?
* Frandom now working
* Fixed all initramfs mods & tweaks
* init.d support & set to 777
* Thunderbolt IO scheduler tweaks
* Power saving & virtual memory tweaks
* Increased windowsmgr.max_events_per_sec from 90 to 200
* External sdcard read ahead cache set to 1664 KB
* Custom boot animation support
* Custom boot sound support
* Removed some module debugging
* Force close freeze fix​
TO-DO
* Lots
INSTALLATION
1. NANDROID (just in case)
2. Flash bodivas P6810 JB 4.1.2 ROM Port
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
5. Reboot again to fstrim your partitions
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
* The CPU freq may exceed the max cap setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1600 Mhz very very briefly -> then back down
Can't fix the CPU Level 0 bug. Refer to my post HERE. It is a FIRMWARE bug present in both stock and SkyHigh kernels​
ISSUES?
* READ POST #2 & #3 FIRST
CHEERS
UITA
.
v1.6.0 update
>> v1.6.0 UPDATE <<
** FOR P6810 Wi-Fi device running bodivas JB 4.1.2 DXMD3 ROM Port ONLY !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
CHANGE-LOG v1.5.0 -> v1.6.0
* Fixed my omission to make kernel insecure
* Disable modem in config file (our device is a WiFi model)
TO-DO
* Lots
INSTALLATION
1. NANDROID (just in case)
2. Flash bodivas P6810 JB 4.1.2 ROM Port
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
5. Reboot again to fstrim your partitions
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
* The CPU freq may exceed the max cap setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1600 Mhz very very briefly -> then back down
Can't fix the CPU Level 0 bug. Refer to my post HERE. It is a FIRMWARE bug present in both stock and SkyHigh kernels​
ISSUES?
* READ POST #2 & #3 FIRST
CHEERS
UITA
.
No problems with usb-otg in 1.6.
Thanks UpInTheAir.
---------- Post added at 10:53 PM ---------- Previous post was at 10:52 PM ----------
No problems with usb-otg in 1.6.
Thanks UpInTheAir.
el_campi said:
No problems with usb-otg in 1.6.
Thanks UpInTheAir.
---------- Post added at 10:53 PM ---------- Previous post was at 10:52 PM ----------
No problems with usb-otg in 1.6.
Thanks UpInTheAir.
Click to expand...
Click to collapse
Thanks for confirming.
I wasted a lot of time "chasing my tail", so frustrating, but a relief it's was my adapter.
Looks like I need to eBay
UpInTheAir said:
>> v1.6.0 UPDATE <<
** FOR P6810 Wi-Fi device running bodivas JB 4.1.2 DXMD3 ROM Port ONLY !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
CHANGE-LOG v1.5.0 -> v1.6.0
* Fixed my omission to make kernel insecure
* Disable modem in config file (our device is a WiFi model)
TO-DO
* Lots
INSTALLATION
1. NANDROID (just in case)
2. Flash bodivas P6810 JB 4.1.2 ROM Port
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
5. Reboot again to fstrim your partitions
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
* The CPU freq may exceed the max cap setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1600 Mhz very very briefly -> then back down
Can't fix the CPU Level 0 bug. Refer to my post HERE. It is a FIRMWARE bug present in both stock and SkyHigh kernels​
ISSUES?
* READ POST #2 & #3 FIRST
CHEERS
UITA
.
Click to expand...
Click to collapse
Guys, you are marvelous !
From the Galaxy
v1.7.0 update
>> v1.7.0 UPDATE <<
** FOR P6810 Wi-Fi device running JB 4.1.2 DXMD3 ROM !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
** DELETE ANY INIT.D 90lagfix SCRIPT BEFORE FLASH **
CHANGE-LOG v1.6.0 -> v1.7.0
* Reverted in-built entropy generator for now
* Added sleep 60 command to lagfix script. Minimal impact on boot time now
* fstrim lagfix will now trim preload partition (there is no app that can do this, only this tweak !!)
* lagfix tweak can now be disabled and re-enabled. Please refer to Post #3
INSTALLATION
1. NANDROID (just in case)
2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
5. Reboot again to fstrim your partitions
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
* The CPU freq may exceed the max cap setting on wakeup. ie max CPU freq set @ 1400 MHz -> turn on screen -> 1600 Mhz very very briefly -> then back down
Can't fix the CPU Level 0 bug. Refer to my post HERE. It is a FIRMWARE bug present in both stock and SkyHigh kernels​
ISSUES?
* READ POST #2 & #3 FIRST
CHEERS
UITA
.
v1.8.0 update
>> v1.8.0 UPDATE <<
** FOR P6810 Wi-Fi device running JB 4.1.2 DXMD3 ROM !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
CHANGE-LOG v1.7.0 -> v1.8.0
** Source changes as per gitHub
* fix for the CPU scaling above max set frequency (thanks Yank555.lu)
* 18-step CPU : add 1700 & 1800 MHz CPU OC options (for battery & stability, not recommended above 1600 MHz)
* zRAM (still off by default)
use two CPU's (zram0 & zram1)
zRAM tweak​* decrease IO latency
* mount partitions NOATIME and NODIRATIME by default
* add sysfs interface to enable / disable thermal throttle (default on) – be careful here, do you want to melt your CPU?
* tweak default xz compression ratio for slightly faster boot speed
* +25mV for all CPU freq 100-1400 MHz - stock levels now (you can UV yourself)
* disable gentle fair sleepers - improve UI responsiveness
* disable linux printk & add sysfs interface to enable / disable
* enable Westwood+ TCP algorithm (default still cubic) – some testing by other users show an increase a network throughput – test for yourself and share results!
** initramfs changes
* Virtual memory & kernel tweak values from V6SuperCharger - [email protected]
vm.oom_kill_allocating_task=0
vm.panic_on_oom=0
vm.vfs_cache_pressure=10
vm.overcommit_memory=1
kernel.panic_on_oops=0
kernel.panic=0​
* RAM Management values from V6SuperCharger - [email protected]
tweak LMK OOM adj & minfree values (512HP Super UL)
much reduced lag as current apps aren't starved of memory when android LMK kills off background apps
slightly less mutli-tasking​
SkyhIgh default :
adj = 0,3,6,10,12,15
minfree = 2048,3584,19200,23040,24320,32000 (8-14-75-90-95-125 MB)​
* init.d support moved to end of script
* fstrim lagfix - fixed having to reboot twice after enable ".lagfix_on". Just create the file in internal sdcard and reboot ONCE
* auto set init.d scripts to 777 – no need to manually set script permissions, just drop in & reboot
INSTALLATION
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
1. NANDROID (just in case)
2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
5. enable fstrim & reboot twice to install & fstrim your partitions
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
ISSUES?
* READ POST #1, #2 & #3 FIRST
CHEERS
UITA
.
V1.9.0 update
>> v1.9.0 UPDATE <<
** FOR P6810 Wi-Fi device running JB 4.1.2 DXMD3 ROM !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
CHANGE-LOG v1.8.0 -> v1.9.0
** Source changes as per gitHub
* 4-step GPU Control interface (sysfs) via init.d script (EXAMPLES IN POST #3)
clock
voltage
step thresholds
stay counts​
* Change to lzo compression (slightly faster boot at expense of zImage size)
* xz compressor tweaked (not currently in use)
* SLUB - small performance tweak
* Stop compiling unuded 4x12 objects on 4210
* Corrected OP
160 MHz = 900mV (-100 mV > stock 1000 mV)
267 MHz = 950 mv (-150 mV > stock 1100 mV)
Click to expand...
Click to collapse
INSTALLATION
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
1. NANDROID (just in case)
2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
ISSUES?
* READ POST #1, #2 & #3 FIRST
CHEERS
UITA
.
v2.0.0 update
>> v2.0.0 UPDATE <<
** FOR P6810 Wi-Fi device running JB 4.1.2 DXMD3 ROM !! **
1. Read warnings in Post #3 before flashing. I am not responsible, you are
2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data
3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)
4. Recommend 200-1400 -or- 200-1600 MHz
5. Recommended governors etc = Read Post #3
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
CHANGE-LOG v1.9.0 > v2.0.0
** Source changes as per gitHub
* Increased from 4 to 5-step GPU : Default = 108-160-267-330-400 MHz
Min freq = 54 MHz (lower than 108 MHz may cause lag, freeze or SOD)
Max freq = 520 MHz
Valid freq (useable) = 54-66-108-160-160-200-267-300-330-400-440-520 MHz
Voltage = 800 > 1200 mV (+/- 50 mV increments)
Stock = 2-step GPU (160-267 MHz)​
* GPU UV / UC / OC
108 MHz = 900mV
160 MHz = 900mV (-100 mV > stock 1000 mV)
267 MHz = 950 mv (-150 mV > stock 1100 mV)
330 MHz = 1000 mV
400 MHz = 1050 mV​
* 5-step GPU Control interface (sysfs) via init.d script Control interface (EXAMPLES IN POST #3)
clock
voltage
step thresholds
stay counts​
* Fixed GPU staycount interface not applying changes
* Lower GPU idle (screen off) freq to 108 MHz & voltage to 900 mV
* Lower min GPU configurable voltage to 800 mV
Default still = 900 mV for stabilty (lower may cause freeze or SOD - depends on device)
Stable 108 MHz @ 800 mV on my device, maybe not yours?​
* Tweak GPU freq thresholds
INSTALLATION
** REMOVE ALL PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **
1. NANDROID (just in case)
2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM
3. Remove any previous CPU control settings from starting at boot
4. Flash in :
a) CWM.zip in custom recovery (CWM or TWRP)
-or-
b) ODIN.tar in Odin [PDA] / Mobile Odin​4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)
SUGGESTED CPU CONTROL APP : Trickster Mod app
Don't forget to use only one Control app at a time. They will conflict !
CURRENT BUGS :
* Random screen tint (Read Post #3)
ISSUES?
* READ POST #1, #2 & #3 FIRST
CHEERS
UITA
.
Anybody else having problems with the download links for the latest update?
Sent from my GT-P3110 using XDA Premium HD app

[DEV] [AOSP] [HYBRID] [4.4+] Project Engine Kernel [CORTEX-A9] [1.2]

{
"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"
}
Disclaimer:I am not responsible for whatever happens to your phone and if you are willing to try it,then go ahead
What is Project Engine Kernel?: Project Engine Kernel is a kernel that is optimised for performance and battery.It unlocks the full potential of the phone and keeps the phone as safe as possible from any unnecessary bricking and reboots.Compiling this kernel is to let users feel comfortable with the battery life and performance
Of course, your feedback, as always, are welcome and appreciated
The main features are the following:
- Linux Kernel 3.0.101 Sneaky Weasel
- Compiled with latest Linaro GCC 4.7 ARM Cortex A-9 Optimised with NeonVFP3 Technology Toolchain
- Hybrid Updates and Backports from Latest Linux Kernel
- Selinux Optimisations
- CPU boost driver
- Reduce logger to free more RAM size
- Low-memory killer ported from 3.4 Kernel(Credits to k2wl)
- Timer slack controller added with custom tuning available for users
- ARM Topology Optimisations
- Fast frandom Generator(Linked to dev/random)
- Dynamic FileSync Control by faux123
- Dirty-page writeback by Christopher83
- Cross Memory Attach
- CK3 Tweaks by Con Kolivas
- Increase default entropy settings
- Frequency steps to 1.5Ghz
- Ultra Kernel Samepage Merging
- SLQB Memory Allocator
- ARM bug fixes
- Proportional TCP Rate Reduction(Click here for more details)
CPU governors:
- Adaptive
- Conservative
- Interactive
- InteractiveX
- LionHeart
- OnDemand (default)
- Performance
- Powersave
- SmartAssV2
- SmartAssH3
I/O schedulers:
- BFQ
- CFQ
- Deadline
- Noop
- SIO (default)
- V(R)
Kernel Downloads for KitKat:
The Project Engine Website is coded and designed by Triprex and Ashish Bansal a.k.a mr.phantom
Click on the Baffin Folder and download the zip file:Click Here to Download
How to install the kernel:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Wipe cache and dalvik cache if you're coming from another kernel
5) Reboot the system
Kernel sources (on GitHub):
Development branch of Project Engine Kernel
Changelog:
These are all taken from git log because i have 100+ commits
Code:
d56fbf2 (HEAD, origin/cm11, cm11) Revert "thp: mremap support and TLB optimization"
* 8aa65eb sysctl: add support for poll()
* b0fc53c mm: restrict access to slab files under procfs and sysfs
* b5461b3 (master) thp: mremap support and TLB optimization
* 549fa86 lib/string: use glibc version
* f2a49e8 lib/memcopy: use glibc version
* 5d813c8 Proportional Rate Reduction for TCP.
* c9a43a9 lib: Improve the performance of string.c
* 29e62cc make register_disk() static
* 5988d2f power: Front buffer early suspend draw delay sysfs control
* 005d0ef Clean up codes
* e6905db ARM: Add optimised swahb32() byteswap helper for v6 and above
* 968129c Cleaning up residue files
* 547a1bf Added building scripts and update toolchain path
* faa65f4 Revert "fix linaro memset"
* d298a3d fix linaro memset
* 7ae0867 Revert "Update to 3.1.1"
* 82c7fe9 Revert "Update to 3.1.2"
* efbb39e Revert "Add some mfd drivers"
* 77c96b5 Modified VC version
* 4bee175 block: introduce the BFQ-v5r1 I/O sched for 3.0
* 437673c block: introduce the BFQ-v5r1 I/O sched for 3.0
* 439a713 Update defconfig to support exfat
* 1b5218c add exfat support
* 9b5c013 timer: optimize apply_slack()
* 9c9cf7c Revert "kernel: Prevent unnecessary rfkill event generation."
* 84a2dd8 Squashed update of BFQ-v6r1 to BFQ-v6r2
* 85c2b2a block: Squashed update of BFQ-v6 to BFQ-v6r1
c9402e4 Rebase back to BFQVR
* 4926547 Revert "Squashed update of BFQ-v6r1 to BFQ-v6r2"
* bc933b4 Squashed update BFQ
* 264d2ce ARM: disable preemption in machine_shutdown
* f863375 block: introduce the BFQ-v5r1 I/O sched for 3.0
* b595d07 block: cgroups, kconfig, build bits for BFQ-v5r1-3.0
* 65bd617 block: prepare I/O context code for BFQ-v5r1 for 3.0
* 21043f4 Revert "lib/string: use glibc version"
* b3a172d Revert "lockdep: remove task argument from debug_check_no_locks_held"
* 6d37bb9 Revert "lib/memcopy: use glibc version"
* 8486b2b lockdep: remove task argument from debug_check_no_locks_held
* ff0ef66 fixed autosleep and enabled it
* 84b58cb kernel/power/powersuspend: new PM kernel driver for Android w/o earlysuspend (faux123). Backported to 3.0.10
* 50d2250 Enable UNALIGNED_ACCESS for the new LZO algorithm to use. LZO decrompression is used on QCACHE so we benefit
* c79c949 kernel: Prevent unnecessary rfkill event generation.
* 51c7801 ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix
* c0434dd ext4: use atomic64_t for the per-flexbg free_clusters count
* f7951a1 ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix
* cc1ab54 kernel: Disabled Gentle Fair Sleepers for better performance
* 5c309ab lib/string: use glibc version
* c212f2c lib/memcopy: use glibc version
* e657a26 rwsem: check counter to avoid cmpxchg calls
* fc293ca rwsem: no need for explicit signed longs
* b4868a6 Revert "cpufreq: interactive: handle errors from cpufreq_frequency_table_target"
* 356ca4c cpufreq: interactive: handle errors from cpufreq_frequency_table_target
* b324d73 Update toolchain path for ARM-EABI-Linaro 4.7 toolchain
* 0ab6ac1 ARM: 7670/1: fix the memset fix
* eeb403a ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations
* For more info,check out my github for commits
[U]Version 1.1[/U]
* Remove O3 Optimisations
* For more info,check out my github for commits
Credits and Thanks to:
k2wl,pawitp,xenon92,akiratoriyama,CoolDevelopment,thewadegeek,Christopher83,mr.phantom,Galaxy Grand Hangout Group,faux123,boype,Linux Devs,Samsung,Kernel.org,Linaro GCC,Cyanogenmod,Linux Kernel Newbies,educk,AriesDevConnection Team
XDA:DevDB Information
[DEV] [AOSP] [4.4+] Project Engine Kernel [CORTEX-A9], Kernel for the Samsung Galaxy Grand Duos i9082
Contributors
TripRex, mr.phantom
Kernel Special Features:
Version Information
Status: Stable
Created 2014-04-27
Last Updated 2014-05-11
Reserved
Special features and sysfs settings (Part 2):
Timer slack controller and dynamic management of the minimal timer slack value
The timer slack controller is a feature developed by Kirill Shutemov and it allows to set the minimal timer slack value for every process contained within a control group (cgroup).
A timer slack allows the kernel to manage processes wakeup requests at some future time.
Thanks to this feature, the kernel can set a specific timer slack for the involved processes, minimizing the number of wakeups and allowing a lower system's power consumption.
For further info: Timer slack for slacker developers
I also implemented a new feature in addition to the above one that allows the dynamic management of the minimal timer slack value.
So, it's possible to use different minimal timer slack value when the system is active and when has been suspended.
How to customize the dynamic timer slack controller feature:
Three new cgroup parameters are exposed inside each processes hierarchy contained in /dev/cpuctl path:
- timer_slack.min_slack_ns is the timer slack used when the system is active for the current processes hierarchy
- timer_slack.min_slack_suspend_ns is the timer slack used when the system is suspended for the current processes hierarchy
- timer_slack.effective_slack_suspend_ns is the timer slack currently used
At the moment, the values chosen and used by K^Kernel are the following:
- core processes (/dev/cpuctl), 0 ns when the system is active, 50000 ns when the system is suspended
- foreground apps/processes (/dev/cpuctl/apps), 0 ns when the system is active, 250000 ns when the system is suspended
- background non interactive apps/processes (/dev/cpuctl/apps/bg_non_interactive), 100000000 ns when the system is active, 250000000 ns when the system is suspended
1) By directly editing one of the file written above inside /dev/cpuctl and inside each hierarchy subfolder, by setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands to set the minimal timer slack for generic and core apps/processes
Code:
su
echo 0 > /dev/cpuctl/timer_slack.min_slack_ns
echo 50000 > /dev/cpuctl/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in foreground
Code:
su
echo 0 > /dev/cpuctl/apps/timer_slack.min_slack_ns
echo 100000 > /dev/cpuctl/apps/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in background and non interactive
Code:
su
echo 100000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_ns
echo 250000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_suspend_ns
LowMemoryKiller management of not killable processes
This feature allows 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.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When 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.
How to customize the white lists of processes to preserve from killing:
On K^Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com.anddoes.launcher,com.teslacoilsw.launcher,org.adwfreak.launcher,gtp.nextlauncher,android.inputmethod.latin,com.touchtype.swiftkey"
this means that Trebuchet Launcher, Apex Launcher, Nova Launcher, ADW Launcher, Next Launcher, stock keyboard and SwiftKey keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com.bel.android.dspmanager"
this means that the system process, the phone process and DSP Manager will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
Credits to:Christohper83 for this guide
I picked out the ones that is only able to used with this kernel so follow these steps to tweak the kernel because not all tweaks written by Christopher83 can work on our device
Reserved
Here i will explain why i created a new thread.As you can see,my previous thread was supposed to be for Stock 4.2.2 kernel then i jumbled it all up with CM11 and stock 4.2.2 and so it is better for me to create a new thread for better management for my kernels
Great features trippy... Congo dude..
Sent from my GT-I9082 using Tapatalk
Killer stuffff :laugh::good:
Only for CM11? or all AOSP ROMS !!
supersaayuj said:
Only for CM11? or all AOSP ROMS !!
Click to expand...
Click to collapse
Our AOSP is only CM11 LOL
Sent from my iPad using Tapatalk
TripRex said:
Our AOSP is only CM11 LOL
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
I didn't meant that.. I mean this kernel can be used on Resurrection Remix..
supersaayuj said:
I didn't meant that.. I mean this kernel can be used on Resurrection Remix..
Click to expand...
Click to collapse
It can work on all CM 11 ROM except roms with f2fs support
Sent from my iPad using Tapatalk
TripRex said:
It can work on all CM 11 ROM except roms with f2fs support
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Can't download bro..zip file is only 213 bytes and its damaged! :silly:
Looks like I (re)started interest in kernel development for Grand :good:
Is this work on cm11?
Sent from my GT-I9505 using Tapatalk
supersaayuj said:
Can't download bro..zip file is only 213 bytes and its damaged! :silly:
Click to expand...
Click to collapse
Link re-uploaded to AndroidFileHost for time being
Will this kernel work on CM 11 with dual sim enabled?
akiratoriyama said:
Looks like I (re)started interest in kernel development for Grand :good:
Click to expand...
Click to collapse
So true, so true!
Not working on cm11 getting random reboot[emoji20]
Sent from my GT-I9505 using Tapatalk
Working fine for me on latest rr! Thank you! :thumbup:
Sent from my GT-I9082 using XDA Premium 4 mobile app
Working fine on latest rr rom....thanksss
Sent from my GT-I9082 using XDA Premium 4 mobile app
Installed on CM11. So far good !
tharmor said:
Installed on CM11. So far good !
Click to expand...
Click to collapse
Reboot after watching youtube for 5 mins..... happened three times now....
Any Fix ???
Sent from my GT-I9082 using xda app-developers app

[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

Categories

Resources