[LG Optimus 4X HD] iodak:
This is kernel for stock JB based firmwares and unlocked bootloaders

From version 3 there is support for CM based ROMs.

It is based on LG sources

This is flashable zip, flash via CWM or any other recovery.

Features:

init.d support

unsecure

ROW, SIO

Cpuquiet Framework

Fsync control added (by Ezekeel)

Voltage control (cpu, core)

GPU overclocking to 600MHz

OC up to 1.7

Fast Charge

DDTW VIP

input boost

USB HOST

F2FS

lot of updates

.

.

.

How to:

Change cpuquiet governor:

/sys/devices/system/cpu/cpuquiet/current_governor

How to dissable/enable fsync:

/sys/dyn_fsync/Dyn_fsync_active

enable = 0, disable = 1

Voltage control cpu_g:

/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

Voltage control cpu_lp:

/sys/devices/system/cpu/cpu0/cpufreq/lp_UV_mV_table

Current GPU speed

/sys/devices/system/cpu/cpu0/cpufreq/gpu_cur_freq

Get it from adb while runing game:

adb shell

cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_cur_freq

Tegra cpu variant

/sys/devices/system/cpu/cpu0/cpufreq/tegra_cpu_variant

Max & Min CPUs online

/sys/kernel/debug/tegra_hotplug/max_cpus

/sys/kernel/debug/tegra_hotplug/min_cpus

1-4

to return to normal mode set to 0

fast charge option

/sys/kernel/fast_charge/force_fast_charge

1 enabled

0 dissabled

It will trick device thinking you pluged charger. Remeber to turn it on before you plug in.

Smartdimmer

/sys/devices/tegradc.0/smartdimmer/enable

1 enabled

0 dissabled

GPU Overclock interface

/sys/devices/system/cpu/cpu0/cpufreq/gpu_overclock

to see curent freqs:

cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_overclock

to set new freqs example:

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

or you can also just edit values with Rootexplorer

Pissible freq to set are: 416,484,520,564,600

Stock freqs:

200, 228, 275, 332, 380, 416

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

Vibrator control

echo 70 > /sys/bus/platform/tspdrv/nforce_timed (CM only)

Values can be set from 0 to 100

0 weakest

100 strongest

Screen off max freq

/sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

in kHz like: 475000

DEVFREQ

/sys/class/devfreq/gr3d/*

To turn on OTG:

1) echo 1 > /sys/kernel/otg_mode/otg_enable

2) connect phone to power (charger or USB)

3) unplug charger, connect OTG cable and then connect device to it (like USB mouse)

4) plug OTG male cable to power (USB or charger)

after device (mouse) is working you can disconect OTG male from power it will still work

Turn off OTG

1) remove cable from phone

2) echo 0 > /sys/kernel/otg_mode/otg_enable

F2FS

Kernel from version 10 support F2FS.

Kernel Installation will detect what file system you are on and change fstab as needed

Kernel installation script will tell you how are the partitions formated so check if that is correct

if not try to reboot recovery and install kernel again

Supported:

All partitions F2FS, all EXT4, only data F2FS and data and cache F2FS.

You will need recovery with F2FS support. There are few in the forums.

How to init.d scripts:

Use Root Explorer or similar app

open folder /system/etc/init.d

if it is not there create it and set permissions to rwxr-xr-x

Create new file in init.d folder and name it for example 99gpuoverclock

then add comands in it like this:

#!/system/bin/sh
echo 520 > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc

and for last set permissions to 99gpuoverclock rwxr-xr-x and owner to root group to shell

That is it!

You can use these nice app for some settings: https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod

Thanks to: CM team, Acree(Ricardo Cerqueira), coolbho3k, Faux123, Ezekeel, franciscofranco, Arararagi, LG.

If i left someone please PM me.

source

If you like it press the Thanks!

I am not resposible for any damage to your phone!

Downloads:

There are latest two versions for download

CyanogenMod is named: iodakx3_vXXCM.zip

Stock is named iodakx3_vXX.zip

Since i don't have p880 anymore. I will not continue to update this.

Work will be continued by:

http://www.modaco.com/topic/373059-continuation-of-iodaks-excellent-work/

After v9 anykernel installer