[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
ROOTING, TWEAKING, NEW GPU DRIVER, CPU AND/OR GPU OVERCLOCK​

Using CyanogenMod kernel source from https://github.com/kumajaya/android_kernel_samsung_espresso10/tree/cm-10.1-blackhawk for both P31xx and P51xx target, from codeworkx and heavily modified by me

CPU clock: 300MHz, 600MHz, 800MHz, 1.008GHz, 1.2GHz, 1.35GHz, 1.42GHz, 1.48GHz, and 1.52GHz, locked @ 1.008GHz on boot, thanks to cmenard

CPU voltage control, thanks to cmenard. You can use Android Tuner or System Tuner to set CPU voltage

GPU clock: 153.6MHz, 307.2MHz, 384MHz, and 512MHz, 384MHz as the default maximum clock, thanks cmenard

The ramdisk base on JB 4.1.2 ramdisk, thanks to Google and Samsung

Using newer PowerVR SGX 540 kernel modules and binaries blob build 1.9@2166536, thanks to omapzoom.org

row (thanks to gokhanmoral), sio, and vr scheduler support

Governor bug fix, replace Samsung's interactive governor with default OMAP4 3.0.31 interactive governor from omapzoom.org, pegasusq and lulzactive governor from gokhanmoral

ntfs read-only (not loaded by default), exFAT, NFS (not loaded by default) and CIFS/samba (loaded by default) filesystem support

LZO compressed kernel and initrd, bigger but faster

swap support

kernel config, insmod configs.ko and then you can access /proc/config.gz

external modem support, for PPP Widget

Some tweaks from gokhanmoral's siyahkernel for S3

Remove a lot of debug message from touchscreen driver, display, mmc, modem, etc

linaro arm-linux-gnueabihf- cross compiler

SuperSU v1.25 by Chainfire

No-frills CPU Control v1.26 by hrk

BusyBox v1.20.2-cm9 bionic (2012-07-14 01:52 +0200) in /sbin, will overwrite busybox in /system/bin or /system/xbin and save it as busybox.backup

nano and bash from CyanogenMod 9, sysrw and sysro from dsixda Android Kitchen

Early boot scripts support (/system/etc/init.d, /data/local/userinit.sh, and /data/local/userinit.d)

Post boot script support (/system/etc/init.post_boot.sh), use it to swap between external SD card and internal media

Custom boot animation support (/data/local/bootanimation.zip or /system/media/bootanimation.zip if exists, Samsung boot animation as a fallback). If a bootanimation.zip found, the boot sound will be turned off as well as the shutdown animation.

Modified mount options

adb mode in charge state, thanks to codeworkx

adb insecure

Advanced TCP congestion support, westwood as the default congestion (recommended by someone but I forgot)

No /system/etc/hosts patch, you can install one of ads blocker form Google Play (i.e. AdAway)

KNOWN BUGS/UNSUPPORTED FEATURES:

Youtube HD bug WiFi driver update fix this issue, thank to paraiso-san since this solution is achieved because his cooperation and "pressure" as well

Using this boot image, you will lose exFAT filesystem kernel support

In certain situations (MTP transfers, wireless transfers), CPU frequency sometimes exceeds maximum frequency setting Finally, I managed to fix it :victory:

INSTALL:

There are 2 choices of installation: without overclock (*core* filename) and overclock version (*addon-oc* filename). All *addon* require the *core* package, otherwise your device will be soft brick because the graphics subsystem will fail to start. Confused? Do not download any package! Flash this using the latest CWM recovery at your own risk.

For GPU overclock, change:

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc

to:

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc

in /system/etc/init.d/00boot or run above command on "Terminal Emulator" or "adb shell" as root every boot

To set your external SD card as internal SD card, over "adb shell" or Terminal Emulator:

su
setprop persist.customboot.sdcard external

and then reboot your device.

To restore SD card default mount point:

su
setprop persist.customboot.sdcard internal

and then reboot your device.

BIG FAT WARNING: If you set your external SD card as internal media, always turn off your device first before ejecting your card!

To set your preload partition as swap partition, over "adb shell" or Terminal Emulator:

su
setprop persist.customboot.swap true

and then reboot your device.

To disable preload partition as swap partition:

su
setprop persist.customboot.swap false

and then reboot your device.

This kernel has driver and filesystem modules are not enabled by default, edit /system/etc/init.d/01modules to enable NFS filesystem and NTFS filesystem (read-only) or to change TCP congestion

DOWNLOAD:

kkboot-0.6.0-core-p51xx.zip (10.5 MB)

kkboot-0.6.0-addon-oc-p51xx.zip (5.3 MB)

kkboot-0.6.0-addon-exfat-p51xx.zip (5.7 MB)

kkboot-0.6.0-addon-oc-exfat-p51xx.zip (5.7 MB)

CREDITS:

Linux, Google, Samsung, Texas Instruments/omapzoom.org, CyanogenMod developers, Chainfire, dsixda, cmenard, gokhanmoral, hrk, imoseyon, coolbho3k, Faux123