[KERNEL] [P6800 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [5.0.0]

Search This thread

partola1

Senior Member
Apr 17, 2010
82
11
Kiev
Hi,

>>As a previous user didn't bother to give any further feedback on the NTFS

Sorry, but I don't know nothing about this problem and thats why i'm silent/

>>What do you have? Please post a screenshot.

Screenshot_2013-05-25-15-05-55.jpg View attachment crop.bmp

>>Also, check system/lib/modules for ntfs.ko

Sorry, but directory modules is not present in system/lib and file ntfs.ko isn't here too. But i find this file in the /lib/modules (not system/lib/modules) directory.
 
Last edited:
  • Like
Reactions: UpInTheAir

UpInTheAir

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

Hi,

>>As a previous user didn't bother to give any further feedback on the NTFS

Sorry, but I don't know nothing about this problem and thats why i'm silent/

>>What do you have? Please post a screenshot.

View attachment 1989758 View attachment 1989788

>>Also, check system/lib/modules for ntfs.ko

Sorry, but directory modules is not present in system/lib and file ntfs.ko isn't here too. But i find this file in the /lib/modules (not system/lib/modules) directory.

Thank you. Yep, my mistake, meant just lib/modules. Just habit.

The screenshot suggests that the NTFS module isn't actually loaded. (That's why you need to try with that app first), if I misinterpret that, anyone please feel free to correct me.

You can easily insmod it in your init.rc or a init.d script that will load it on boot. Do you have init.d support? If so, I could make a flashable CWM script or you could just place it in your init.d folder, give permissions and reboot.

OR - you can create your own script........

Code:
#!/system/bin/sh
#
# Load NTFS Module
[B]insmod /lib/modules/ntfs.ko[/B]

OR - you can add that line to the end of inti.rc........

Code:
.
.
.
.
# SA, System SW, SAMSUNG
service bugreport /system/bin/bugmailer.sh -v
    class main
    disabled
    oneshot
    keycodes 114 115 116

on property:ro.dumpstate.dmesg=1
    write /proc/sys/kernel/dmesg_restrict 0

# Load NTFS Module
[B]insmod /lib/modules/ntfs.ko[/B]

NOTE: here insmod with lower case "Eye". Don't forget permissions after saving and reboot. Not sure if you have two intit.rc, maybe one in the root directory /init.rc or /data/init.rc. ALWAYS BACKUP BEFORE DOING ANYTHING.

As far as development is going; waitng on feedback from a few betas builds - in future, you hopefully won't need the script, and all modules to be loaded from the kernel. I do think those few beta builds sent for testing do need some more work though, just wish I could test.......

EDIT : Also, does USB OTG work at all, with any partition type? If nothing, maybe there is something to enable in the config file. If need be, will look further tomorrow.....

EDIT2: For those with init.d support and don't wish to make your own script, try the attached flashable zip. Else, try the init.rc mod........

.
 

Attachments

  • load_ntfs_module.zip
    120.3 KB · Views: 36
Last edited:
  • Like
Reactions: davidbhwong69

UpInTheAir

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

Got working.

Also thanks to edan1979 for some testing & feedback.

1. AUTO ROOT, insecure, install busbox to s/bin & symlink, su binary, SuperSu (Superuser.apk)
2. init.d support (everything is there, but need to test yet)
3. NTFS OTG working with an app to mount
4. Enabled stock governors & added custom governors (still playing)

+ Working on additional IO schedulers
+ Frandom support is done (need to test first)

Everthing is there, just need to refine/merge and then test on completly stock firmware.


Update in the next day or so, or today........ (have to go out for a few hours, just when I'm on a roll) :)

Once done, I'll also .tar it for those wanting to flash via Odin or mobile Odin

.
 
Last edited:

partola1

Senior Member
Apr 17, 2010
82
11
Kiev
Hi,

Is there any possibility to mounting NTFS devices without any external mounting programs? I mean SD card too, not only USB drives?

By the way, external USB drive formatted as NTFS says "inserted blank media" and don't mount. But Sticky Mount program turn on this drive without problem. External SD card inserted in SD slot on tab is not mounted.
 

UpInTheAir

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

Is there any possibility to mounting NTFS devices without any external mounting programs? I mean SD card too, not only USB drives?

By the way, external USB drive formatted as NTFS says "inserted blank media" and don't mount. But Sticky Mount program turn on this drive without problem. External SD card inserted in SD slot on tab is not mounted.

There will be a way, I just haven't found it yet. ;)

I don't like using more apps than necessary. Unfortunately, you will need to use an app for now....

Other things are "priority". :)

Sent from my GT-I9500 using xda premium
 
  • Like
Reactions: partola1

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
UPDATE v1.0.3

v1.0.3 is now up !

Read OP for full list of features !

Change-log

* AUTO ROOT
insecure kernel
su binary
busyBox installed to system/sbin
SuperSU​

* Default CPU max 1600 MHz
* Governors
pegasusq (set as default)
HYPER
smartassV2
scary
wheatley
abyssplug
lulzactive
lazy
hotplug
ondemand
performance
powersave
userspace
conservative
adaptive
interactive​
* IO schedulers
SIO (set as default)
ROW
VR
NOOP
Deadline
CFQ​
* init.d support
* FC freeze fix
* internal/external sdcard read ahead set at 2048
* Disabled kernel debugging to reduce zImage size


Thanks for edan1979 for testing and good feedback again on this release. :good:

ENJOY :D


TO-DO (Short term)

1. Update / tidy OP, update gitHub, change-log, credits, FAQ etc
2. implement frandom & test
3. EFS auto backup
4. Then others on the list.......


.
 
Last edited:

bassem.mohsen

Senior Member
Oct 12, 2012
436
93
cairo
I have flashed it, benchmark it with the defaults, and the tablet restarted while the benchmarking !!

later i got 5124, i think the restart was something accidently happens or rarely.
---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

but i have to admit that the multi tasking, notification appearance, transition from lock screen to home is less laggy

---------- Post added at 10:02 PM ---------- Previous post was at 09:57 PM ----------

Thanks @up in the air :highfive:
waiting for OC of the GPU, as i think it will eliminate the lags completely.
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
I have flashed it, benchmark it with the defaults, and the tablet restarted while the benchmarking !!

later i got 5124, i think the restart was something accidently happens or rarely.
---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

but i have to admit that the multi tasking, notification appearance, transition from lock screen to home is less laggy

---------- Post added at 10:02 PM ---------- Previous post was at 09:57 PM ----------

Thanks @up in the air :highfive:
waiting for OC of the GPU, as i think it will eliminate the lags completely.

Read post #3 first for info and warnings.

Not all CPU are identical and can handle OC. You could try adding a little extra voltage to the 1600MHz step. I wouldn't go beyond 1.4v.

Increasing and decreasing (UV) the voltage in increments of 25mV at a time while stress testing each step locked with performance governor. You will eventually find the best setup for you

Don't "set on boot" with voltage control app until you have the desired/stable setup for your CPU.

GPU OC/UV are on the list as well as UV screen.

As far as lag goes, testing a few governor/scheduler combinations may help. But some are more aggressive, and because of this, possibly not battery friendly.

Sent from my GT-I9500 using xda premium
 
Last edited:
  • Like
Reactions: sas_sas and Redtabs

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
ahhh... will be waiting for that... ^_^

Working on it right now, but need to go out for a bit.

Just trying to compile the changes. Not too sure if need to compile as inbuilt or loadable module. Also changes to the .config

Suppose, if I can't find the answers, just a matter of trial and error.

The intention is to have it fully running from flash.

Sent from my GT-I9500 using xda premium
 
  • Like
Reactions: rebski and sas_sas

golfinggino

Senior Member
Nov 23, 2011
1,389
143
burlington, on
Flashed this kernel update and very impressive ! I was planning on flashing the latest paranoid android update tonight but after flashing this latest kernel update I just can't seem to do it, it is that good ! Thank you

I will undervolt it and run pimp my rom later tonight

Sent from my GT-P6800 using XDA Premium HD app
 
Last edited:
  • Like
Reactions: UpInTheAir

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
Flashed this kernel update and very impressive ! I was planning on flashing the latest paranoid android update tonight but after flashing this latest kernel update I just can't seem to do it, it is that good ! Thank you

Sent from my GT-P6800 using XDA Premium HD app

Thanks. Still a work-in-progress and things can hopefully only improve. :)

Sent from my GT-I9500 using xda premium
 
  • Like
Reactions: rebski and sas_sas

Redtabs

Senior Member
Nov 22, 2007
465
37
Johore Bahru
This kernel is butter smooth. Thanks for this wonderful kernel mate. But i found 1 bug found so far, after flash this kernel the tegrak overclock software cannot be use anymore said "unknown driver" ..

Sent from my GT-P6800 using xda premium
 

Top Liked Posts

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


    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

    * 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

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




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


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

    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



    .

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

    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. :good: Also big thanks to @bodivas :good: for initial JB kernel and ROM port to my much maligned P6810 Wi-Fi device – shame on Samsung ! :mad: Special thanks to @edan1979 for being the initial P6800 Tester prior flashing JB 4.1.2 on my P6810 :good:

    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
    12
    v2.2.0 UPDATE

    >> v2.2.0 UPDATE <<


    ** FOR P6800 GSM/3G device running JB 4.1.2 DXMD3 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.

    * Slightly UV GPU freq voltage levels. Not sure if it's actually done right, but no negative affects though.

    * Removed some stock governors : conservative, interactive, adaptive, powersave

    * Couple other small GPU less aggressive threshold adjustments etc.

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


    Edit: Sorry no CPU 1700/1800 MHz option until able to lock the startup freq to 1400 or 1600 MHz. This is a safety measure to prevent freeze/reboot on thoses devices that can't handle it. I will look into it later, but not even in the "to-do" list.


    CHEERS

    UITA


    .
    12
    v2.7.0 UPDATE

    >> v2.7.0 UPDATE <<


    ** FOR P6800 GSM/3G device running JB 4.1.2 DXMD3 ONLY !! **


    INSTALLATION as per Posts #1-3

    DOWNLOAD in Post #2


    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)

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

    * Sorry, could not get any GPU Control Interface working for P6800 JB device, works for ICS. I need JB for my P6810 to test a lot further. :(

    * This is the last release for quite a while, so enjoy :good:

    * Thanks again to edan1979 for test



    CHEERS :D

    UITA


    .