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

Search This thread

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
[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)


Screenshot_2013-05-29-18-08-31.png




GPU BENCHMARK AFTER @ 400 MHz (3DMark app)


Screenshot_2013-06-05-10-34-51.png


* GPU VPLL mode optional
For devices that can't handle VPLL – use MPLL mode instead
http://xdaforums.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 [zeppelinrox@XDA]
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 [zeppelinrox@XDA]
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 [zeppelinrox@XDA]
# 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

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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)




-------------------------------------------------------------------


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 :cool:

1. Random screen tint reported on both stock & SkyHigh kernels using CPU control app (Read Post #3)



.

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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





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


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)

Screenshot_2013-08-23-22-43-09.png



WHAT ARE GOVERNORS / SCHEDULERS ETC




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 :rolleyes: 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 ;)

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 ;)
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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.......
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 :D

UITA


.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 :eek:

* 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 :D

UITA


.
 
Last edited:

el_campi

Senior Member
Dec 11, 2007
311
70
Valencia
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.
 
  • Like
Reactions: UpInTheAir

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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.

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 :)
 
  • Like
Reactions: el_campi

guisof

Senior Member
Feb 5, 2008
146
23
>> 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 :eek:

* 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 :D

UITA


.

Guys, you are marvelous !

From the Galaxy
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 :D

UITA


.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 - zeppelinrox@XDA
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 - zeppelinrox@XDA
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 :D

UITA


.
 
Last edited:
  • Like
Reactions: karlsbug and LBN1

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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)



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 :D

UITA


.
 
Last edited:
  • Like
Reactions: karlsbug

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 :D

UITA


.
 
Last edited:
  • Like
Reactions: karlsbug

karlsbug

Member
Sep 24, 2010
29
10
Anybody else having problems with the download links for the latest update?

Sent from my GT-P3110 using XDA Premium HD app
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    [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)


    Screenshot_2013-05-29-18-08-31.png




    GPU BENCHMARK AFTER @ 400 MHz (3DMark app)


    Screenshot_2013-06-05-10-34-51.png


    * GPU VPLL mode optional
    For devices that can't handle VPLL – use MPLL mode instead
    http://xdaforums.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 [zeppelinrox@XDA]
    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 [zeppelinrox@XDA]
    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 [zeppelinrox@XDA]
    # 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

    .
    7
    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)




    -------------------------------------------------------------------


    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 :cool:

    1. Random screen tint reported on both stock & SkyHigh kernels using CPU control app (Read Post #3)



    .

    .
    5
    FAREWELL

    Farewell

    Sadly, all things must come to end and move on...... :(

    As this is my final kernel release and contribution to our SGT-7.7 forums (other than update to P6800 kernel to v5.0.0).

    I'd like to personally thank all those Users who have contributed constructively directly and indirectly to this project. :)

    Even those who have only thanked and given words of encouragement have been helpful to development. This has helped me keep going to support our device. Also big thanks to @bodivas :good: for initial JB kernel and ROM port to our much maligned P6810 Wi-Fi device – shame on Samsung ! :mad:

    As I don't activley use the P6810 anymore, please don't PM me regarding any kernel issues. The thread will still remain open for advanced Users to help out others who have searched and read the thread Posts #1-3 before posting :good:

    Will definitely see you regulars around somewhere in other XDA forums. Best of luck and health to all forum Users and happy tweaking, modding and flashing with the XDA spirit ! ;)

    Signing out :)

    UITA
    5
    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 :eek:

    * 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 :D

    UITA


    .
    5
    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 :D

    UITA


    .