FORUMS

Beats Music No Longer Accepting New Accounts

Whenever Apple launches a new product or service, it definitely manages to grab the … more

Do You Do Self-Repairs on Your Devices?

As smartphone designs become more and more complex, self-repairs on devices are also becoming … more

Sony Z4 Slips Out of Top 5 Smartphones in Japan

In a bid to streamline its flagship series which had been losing credibility over the … more

Sprint’s New Unlimited Plan with Ridiculous Capped Speeds

The carrier game in the United States is perpetually rushing forward at … more

[KERNEL] iodak kernel v10 [10.07.2014]

1,111 posts
Thanks Meter: 2,213
 
By iodak, Senior Member on 9th May 2013, 01:23 AM
Post Reply Subscribe to Thread Email Thread
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/d...0.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-c...xcellent-work/

After v9 anykernel installer
Attached Files
File Type: zip iodakX3_v08CM10.2.zip - [Click for QR Code] (4.39 MB, 4847 views)
File Type: zip iodakX3_v08CM10.1.zip - [Click for QR Code] (4.34 MB, 3980 views)
File Type: zip iodakX3_v08.zip - [Click for QR Code] (9.13 MB, 5456 views)
File Type: zip iodakX3_v9.zip - [Click for QR Code] (3.96 MB, 3301 views)
File Type: zip iodakX3_v9.5.zip - [Click for QR Code] (3.96 MB, 9932 views)
File Type: zip iodakX3_v10_CM.zip - [Click for QR Code] (4.02 MB, 7685 views)
File Type: zip iodakX3_v10_stock.zip - [Click for QR Code] (4.02 MB, 5512 views)
Last edited by iodak; 26th July 2014 at 12:17 PM.
The Following 271 Users Say Thank You to iodak For This Useful Post: [ View ]
 
 
9th May 2013, 01:24 AM |#2  
OP Senior Member
Thanks Meter: 2,213
 
Donate to Me
More
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 by iodak; 10th July 2014 at 02:40 PM.
The Following 94 Users Say Thank You to iodak For This Useful Post: [ View ]
9th May 2013, 01:31 AM |#3  
dfreake's Avatar
Senior Member
Thanks Meter: 42
 
More
does this work on 4 cores running while playing games ?

Sent from my LG-P880 using xda app-developers app
9th May 2013, 01:36 AM |#4  
babymatteo's Avatar
Senior Member
Flag SoCal
Thanks Meter: 748
 
More
Looks promising. Any CM support in the future?

Sent from my LG-P880 using Tapatalk 2
9th May 2013, 01:37 AM |#5  
OP Senior Member
Thanks Meter: 2,213
 
Donate to Me
More
Quote:
Originally Posted by dfreake

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).
Last edited by iodak; 9th May 2013 at 09:05 AM.
The Following User Says Thank You to iodak For This Useful Post: [ View ]
9th May 2013, 07:54 AM |#6  
Bogeyof's Avatar
Senior Member
Flag Augsburg
Thanks Meter: 135
 
More
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 by Bogeyof; 9th May 2013 at 08:09 AM.
9th May 2013, 08:41 AM |#7  
OP Senior Member
Thanks Meter: 2,213
 
Donate to Me
More
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
The Following 2 Users Say Thank You to iodak For This Useful Post: [ View ]
9th May 2013, 08:57 AM |#8  
Bogeyof's Avatar
Senior Member
Flag Augsburg
Thanks Meter: 135
 
More
Quote:
Originally Posted by iodak

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...
9th May 2013, 09:01 AM |#9  
Afro's Avatar
Senior Member
Thanks Meter: 854
 
More
Quote:
Originally Posted by Bogeyof

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

Kernel looks nice, will it support CM in some time maybe?
'Cause I don't want to go back to stock
9th May 2013, 09:07 AM |#10  
OP Senior Member
Thanks Meter: 2,213
 
Donate to Me
More
Will see.

Sent from my LG-P880 using Tapatalk 2
The Following User Says Thank You to iodak For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes