[KERNEL] iodak kernel v10 [10.07.2014]

Search This thread

iodak

Senior Member
Jan 5, 2011
1,117
2,225
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:
Code:
#!/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
 

Attachments

  • iodakX3_v08CM10.2.zip
    4.4 MB · Views: 5,503
  • iodakX3_v08CM10.1.zip
    4.3 MB · Views: 4,333
  • iodakX3_v08.zip
    9.1 MB · Views: 5,957
  • iodakX3_v9.zip
    4 MB · Views: 3,583
  • iodakX3_v9.5.zip
    4 MB · Views: 10,513
  • iodakX3_v10_CM.zip
    4 MB · Views: 10,221
  • iodakX3_v10_stock.zip
    4 MB · Views: 8,162
Last edited:

iodak

Senior Member
Jan 5, 2011
1,117
2,225
Changelog:

v1
disable lot of logging
removed gator driver
removed Lg core pluggging power saving
rised max freq while recording FHD to 1400Mhz
added ROW iosched
added CPUQUIET framework
added runnable_threads CPUQUIET governor
added voltage control
fixed temperature reports in apps
added fsync control

v2
added sysfs interface to see tegra variant (from 0 to 3)
added sysfs interface to see gpu running speed
made runnable_threads litle more agressive
GPU overclocked to 520MHz

v3
Added max_cpus and min_cpus interface from cpu-tegra3.c to cpuquiet.c
Make source compatabile with CM, marged all changes made from Acree to source tree
so it is now up to date with CM.

v4
reverted core pluging power saving
Fastcharge option (original idea by Chad Froebel)
OC
variant c1 c2 c3 c4
0 1600 1500 1500 1500
1 1600 1600 1600 1600
2 1700 1600 1600 1600
3 1700 1600 1600 1600

- added ability to dissable influence of some drivers to clock and core plugging.

v5
removed ability to dissable influence of some drivers to clock and core plugging.
fix OC for variant 0 (hope so)
cpuquiet updates
tegra video drivers updates
GPU overclock interface
interactive governor backported from 3.4 kernel google
input boost driver from tegra
added Sio iosched
added lp core undervolt interface

v6
Added proper interactive (tegra)
Added ARM topology definition by linaro
Added tegra AHB bus driver
ext4 --> optimized mount options
rised temp limits
some addons to GPU OC code
fixed not working init.d on stock

v7

Some updates from 3.2
-ext4 lower cpu consuption
- Proportional Rate Reduction for TCP
-net: wireless: bcmdhd: Fix PEAP with dynamic WEP
-mm: pass readahead info down to the i/o scheduler
-fat: simplify writeback_inode function
replaced fsync with dynamic fsync from Faux
OC all to 1.7GHz
Set on boot freq to 1.5
Reverted GPU clocks to stock (OC by user)
Merged Arararagi changes so it is now compatible with his rom (CM version)
Added vibrator control (sys/vibrator/pwm_val)


V8
No more min/max cpus interface (it was giving me issues)
tegra drivers updated
cpuquiet updated to almost (3.4 kernel) more to come
you can now set max freq when screen is off
totaly reworked 3D scaling driver
now uses samsungs devfreq driver for scaling (3.4 kernel)
Check github for more info.

V9
alowed it to go to 51Mhz even on screen on
more GPU driver updates
usb driver updates
baseband driver is updated to latest from tegra 3.4 kernel
DTTW (WIP) not working as it should, i am not able to wakeup device from deep sleep.
if it is even possible.
you can still use it while on charger or while still not in deep sleep
added back min/max cpus debugfs and it is working (finally) as it should
disabled fiq debugger
raw_ip_net is now built-in
anykernel installer

V9.5
fixed kernel panic
sound gain rised should be louder now
TCP Westwood enabled
No more need to edit cpu_user_cap to Overclock,
just rise freq with SetCpu or Trickersmod or similar app
It is set on boot to 1500MHz
// edit still needed i uploaded wrong build

V10

new GPU OC code
proximity fix (Rudjgaard)
mfd/ USB updates (nvidia)
vmscan/shed writeback updated to 3.2
lowmemorykiller/binder updated to 3.4
EXT4 updates
ROW ioshed updated
USB OTG
F2FS
removed Dt2W
update with CM kernel tree




.
.

.
.
.
 
Last edited:

iodak

Senior Member
Jan 5, 2011
1,117
2,225
does this work on 4 cores running while playing games ?
Sent from my LG-P880 using xda app-developers app

Depending on load, but it isnt stuck on only one core if that is your question. :) Leave cpuquiet governor on runnable (stock).
a7abygu8.jpg
 
Last edited:
  • Like
Reactions: jonbubble

Bogeyof

Senior Member
Nov 24, 2011
591
185
Augsburg
Many Thanks, testing...
Installed and booted ok, loaded Trickster Mod and set ROW Scheduler as standard...
Searched with Root-Explorer for the directories with governor and voltage settings, but could not find them:
/sys/kernel/system/ does not exist ?!

Trickster Mod doesnt seem to work. If I set row scheduler, SetCpu shows it as not changed (noop). If I set other settings, CPU frequency stuck on 1000 MHz, no more up and down scaling...
Rebooted and restored stock kernel for now...
 
Last edited:

iodak

Senior Member
Jan 5, 2011
1,117
2,225
It is /sys/devices/system/ sorry typo

With trickster you have to set min freq to what you want or it will aply 1500 as min and run on 1500.

Sent from my LG-P880 using xda app-developers app
 

Bogeyof

Senior Member
Nov 24, 2011
591
185
Augsburg
It is /sys/devices/system/ sorry typo

With trickster you have to set min freq to what you want or it will aply 1500 as min and run on 1500.

Sent from my LG-P880 using xda app-developers app

Aha Ok, i didnt set the frequencies, but I saved other changes and it saved 1500/1500 Mhz (min/max) without changing these values by me. My phone was to hot (did AnTuTu Benchmark before) and so it stuck on 1000 Mhz (thermal throttle)...
Will try later again, now I have to play a golf tournament...
 

Afro

Senior Member
Nov 5, 2012
373
913
Paderborn
Aha Ok, i didnt set the frequencies, but I saved other changes and it saved 1500/1500 Mhz (min/max) without changing these values by me. My phone was to hot (did AnTuTu Benchmark before) and so it stuck on 1000 Mhz (thermal throttle)...
Will try later again, now I have to play a golf tournament...


Good luck bro :D

Kernel looks nice, will it support CM in some time maybe? :)
'Cause I don't want to go back to stock ;)
 

iodak

Senior Member
Jan 5, 2011
1,117
2,225
Cpu is on 1.5 on all cores before was on 1.4, more will come depending on your variant, GPU also in next releases.

Sent from my LG-P880 using xda app-developers app
 
  • Like
Reactions: TheFerhatKing

@non4

Senior Member
Jun 11, 2012
3,968
839
Gothicus
Cpu is on 1.5 on all cores before was on 1.4, more will come depending on your variant, GPU also in next releases.

Sent from my LG-P880 using xda app-developers app

GPU should be a priority, reason our phone is worse than the one X is because of the low clock. 520mhz is good, and change sys/module/tegra3_clocks/parameters/detach_shared_bus to "Y" as default so it scales independently. Gonna try this kernel now and report ;)

Sent from my rooted P880
 

@non4

Senior Member
Jun 11, 2012
3,968
839
Gothicus
Dead trigger plays as well as on kholks kernel, but this is so much more stable. BTW which is the best cpuquiet setting for performance?

Sent from my rooted P880
 

Top Liked Posts

  • There are no posts matching your filters.
  • 271
    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:
    Code:
    #!/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
    94
    Changelog:

    v1
    disable lot of logging
    removed gator driver
    removed Lg core pluggging power saving
    rised max freq while recording FHD to 1400Mhz
    added ROW iosched
    added CPUQUIET framework
    added runnable_threads CPUQUIET governor
    added voltage control
    fixed temperature reports in apps
    added fsync control

    v2
    added sysfs interface to see tegra variant (from 0 to 3)
    added sysfs interface to see gpu running speed
    made runnable_threads litle more agressive
    GPU overclocked to 520MHz

    v3
    Added max_cpus and min_cpus interface from cpu-tegra3.c to cpuquiet.c
    Make source compatabile with CM, marged all changes made from Acree to source tree
    so it is now up to date with CM.

    v4
    reverted core pluging power saving
    Fastcharge option (original idea by Chad Froebel)
    OC
    variant c1 c2 c3 c4
    0 1600 1500 1500 1500
    1 1600 1600 1600 1600
    2 1700 1600 1600 1600
    3 1700 1600 1600 1600

    - added ability to dissable influence of some drivers to clock and core plugging.

    v5
    removed ability to dissable influence of some drivers to clock and core plugging.
    fix OC for variant 0 (hope so)
    cpuquiet updates
    tegra video drivers updates
    GPU overclock interface
    interactive governor backported from 3.4 kernel google
    input boost driver from tegra
    added Sio iosched
    added lp core undervolt interface

    v6
    Added proper interactive (tegra)
    Added ARM topology definition by linaro
    Added tegra AHB bus driver
    ext4 --> optimized mount options
    rised temp limits
    some addons to GPU OC code
    fixed not working init.d on stock

    v7

    Some updates from 3.2
    -ext4 lower cpu consuption
    - Proportional Rate Reduction for TCP
    -net: wireless: bcmdhd: Fix PEAP with dynamic WEP
    -mm: pass readahead info down to the i/o scheduler
    -fat: simplify writeback_inode function
    replaced fsync with dynamic fsync from Faux
    OC all to 1.7GHz
    Set on boot freq to 1.5
    Reverted GPU clocks to stock (OC by user)
    Merged Arararagi changes so it is now compatible with his rom (CM version)
    Added vibrator control (sys/vibrator/pwm_val)


    V8
    No more min/max cpus interface (it was giving me issues)
    tegra drivers updated
    cpuquiet updated to almost (3.4 kernel) more to come
    you can now set max freq when screen is off
    totaly reworked 3D scaling driver
    now uses samsungs devfreq driver for scaling (3.4 kernel)
    Check github for more info.

    V9
    alowed it to go to 51Mhz even on screen on
    more GPU driver updates
    usb driver updates
    baseband driver is updated to latest from tegra 3.4 kernel
    DTTW (WIP) not working as it should, i am not able to wakeup device from deep sleep.
    if it is even possible.
    you can still use it while on charger or while still not in deep sleep
    added back min/max cpus debugfs and it is working (finally) as it should
    disabled fiq debugger
    raw_ip_net is now built-in
    anykernel installer

    V9.5
    fixed kernel panic
    sound gain rised should be louder now
    TCP Westwood enabled
    No more need to edit cpu_user_cap to Overclock,
    just rise freq with SetCpu or Trickersmod or similar app
    It is set on boot to 1500MHz
    // edit still needed i uploaded wrong build

    V10

    new GPU OC code
    proximity fix (Rudjgaard)
    mfd/ USB updates (nvidia)
    vmscan/shed writeback updated to 3.2
    lowmemorykiller/binder updated to 3.4
    EXT4 updates
    ROW ioshed updated
    USB OTG
    F2FS
    removed Dt2W
    update with CM kernel tree




    .
    .

    .
    .
    .
    56
    Sorry guys this will be last update from me. I have nexus 4 now so I have to sell my loved x3. I will still try to help if can. It was very nice time spend here. See you.
    41
    Here:
    reverted wifi driver
    power button fix
    so you dont have to wait for 10 that will come in short period.
    38
    Sorry. I was busy lately. I will try to give v10 as soon as possible.

    Sent from my LG-P880 using Tapatalk
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone