[KERNEL][14 OCT] [P93x|SU640][OC/UV][3.0.100] Wind Kernel [ICS|JB]

Search This thread

lyfkevin

Senior Member
Sep 27, 2010
381
352
original xda post
move to this for better mangement
bbs.gfan.com

DISCLAIMER
Code:
*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
 */

DEVICE SUPPORT
  • SU640 (i_skt)
  • P930 (i_atnt)

FEATURES
  • Based on LG Stock ICS Kernel Source(ICS VERSION)
  • Based on latest CM10.1 Kernel Source(JB VERSION)
  • Latest Linux Kernel 3.0.y source
  • CPU OC@ MAX CLOCK 1.83Ghz
  • GPU OC@3D_320Mhz 2D 266Mhz
  • Undervolting Support(700mV-1400mV)
  • L2 Performace Boost
  • Smooth as Butter :]
  • Some tweaks, fixes
  • and something I missed (discover it ! )

Stable Version
ICS - v3.5
CM10.1 - v2.5

KNOWN BUG
CM10.1 BUGS

INSTALLATION INSTRUCTION
  1. Copy *.zip to External SD card
  2. Boot into Recovery Mode
  3. Flash *.zip
  4. Reboot and Enjoy it!

OPTIONAL
  • NANDROID BACKUP before flash
  • Wipe Cache/DalvikCache,Fix Permission after flash
 

Attachments

  • WIND_Kernel-v3.5_ICS_P930.zip
    8.2 MB · Views: 1,383
  • WIND_Kernel-v3.5_ICS_SU640.zip
    8.3 MB · Views: 843
  • WIND_Kernel-v2.0RC1_CM10.1_SU640.zip
    7.6 MB · Views: 254
  • WIND_Kernel-v2.0RC1_CM10.1_P930.zip
    7.6 MB · Views: 324
  • WIND_Kernel-v2.1_CM10.1_SU640.zip
    7.6 MB · Views: 215
  • WIND_Kernel-v2.1_CM10.1_P930.zip
    7.6 MB · Views: 372
  • WIND_Kernel-v2.2_CM10.1_SU640.zip
    7.6 MB · Views: 155
  • WIND_Kernel-v2.2_CM10.1_P930.zip
    7.6 MB · Views: 287
  • WIND_Kernel-v3.6_ICS_SU640.zip
    8.4 MB · Views: 130
  • WIND_Kernel-v3.6_ICS_P930.zip
    8.4 MB · Views: 255
  • WIND_Kernel-v2.3_CM10.1_SU640.zip
    7.8 MB · Views: 197
  • WIND_Kernel-v2.3_CM10.1_P930.zip
    7.8 MB · Views: 308
  • WIND_Kernel-v3.7_ICS_SU640.zip
    8.4 MB · Views: 357
  • WIND_Kernel-v3.7_ICS_P930.zip
    8.4 MB · Views: 888
  • WIND_Kernel-v2.4_CM10.1_SU640.zip
    6.9 MB · Views: 278
  • WIND_Kernel-v2.4_CM10.1_P930.zip
    6.9 MB · Views: 544
  • WIND_Kernel-v2.5_CM10.1_SU640.zip
    6.7 MB · Views: 320
  • WIND_Kernel-v2.5_CM10.1_P930.zip
    6.7 MB · Views: 903
  • WIND_Kernel-v2.6_CM10.1_SU640.zip
    6 MB · Views: 355
  • WIND_Kernel-v2.6_CM10.1_P930.zip
    6.2 MB · Views: 704
Last edited:

lyfkevin

Senior Member
Sep 27, 2010
381
352
DEFAULT SETTING
  • CPU 384Mhz-1512Mhz
  • Stock GPU FREQ 3D@260Mhz /2D@200Mhz
  • Ondemand + ROW

MSM8x60 DEFAULT VOLTAGE
Code:
192000 800000
310500 825000
384000 825000
432000 850000
486000 850000
540000 875000
594000 875000
648000 900000
702000 900000
756000 925000
810000 975000
864000 975000
918000 1000000
972000 1025000
1026000 1025000
1080000 1050000
1134000 1075000
1188000 1100000
1242000 1125000
1296000 1150000
1350000 1150000
1404000 1175000
1458000 1200000
1512000 1225000

WIND KERNEL DEFAULT VOLTAGE
Code:
192000 775000
310500 775000
384000 775000
432000 775000
486000 775000
540000 787500
594000 800000
648000 825000
702000 837500
756000 850000
810000 862500
864000 887500
918000 900000
972000 925000
1026000 937500
1080000 962500
1134000 987500
1188000 1000000
1242000 1025000
1296000 1050000
1350000 1062500
1404000 1087500
1458000 1112500
1512000 1150000
1566000 1175000
1620000 1212500
1674000 1250000
1728000 1275000
1782000 1300000
1836000 1325000

PERFORMANCE SETTING
Rom Settings -> Developer Options -> Windows Animation Scale,Transition Animation Scale -> 0.5x
Nova Launcher Settings -> Look and Feel -> Scroll Speed,Animation Speed -> Faster than light
use any system tools on Playstore ,set by your preference.

Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000

Monitor MSM_MPDECISION
adb shell
su
cat /proc/kmsg | grep 'MPDEC'
 
Last edited:

lyfkevin

Senior Member
Sep 27, 2010
381
352
CHANGELOG
CM 10.1 - v2.6 (14 OCT)
Ondemand and dynamic hotplug patches by stratosk
More RAM(790-791MB) (Experimental)
Remove some governors and IO schedulers (lean kernel)
Disable some debugging functions (lean kernel)
Linux 3.0.100

JB - v2.5 (27 JUL)
remove mpdecision
backport stratosk 's nexus 4 ondemand and dynamic hotplug
ondemand: touch_load increased to 1134Mhz for 1.3sec duration
ondemand: touch_load is applied only to CPUs the load is above 35%. So, CPUs with low load (and most probably unused) are not boosted.
These ondemand governor parameters are tunable in TricksterMod
Few patches to improve video overlay
Linux 3.0.87

JB - v2.4 (26 JUN)
"simple" GPU governor by faux123 + patch by franco
"simple" GPU governor set by default ( Currently only fauxclock shows/supports the correct option of simple governor )
Backport ondemand from CAF 3.4 kernel
Set SIO IO Scheduler by default (I did some benchmark tests and found out this is the fastest)
Update latest CM10.1 kernel source
Linux 3.0.83


ICS - v3.7 (15 JUN)
Smoothing voltage table (+12.5/25.0mV if get reboots)
Proper ROW for 3.0.y Linux
Intelliplug by faux123 (experimental) to replace mpdecision
Linux 3.0.82

JB - v2.3 (13 JUN)
Smoothing voltage table (+12.5/25.0mV if get reboots)
Proper ROW for 3.0.y Linux
Intelliplug by faux123 (experimental) to replace mpdecision
some patches,check github for detail
Linux 3.0.81

ICS - v3.6 (30 MAY)
tune some values(e.g. LCD voltage 3V->2.8V) according to leak 4.1 sourcecode
lower the max overclock freq to 1.83ghz
Set tweaked ROW from franco.kernel by default
Logger driver update by stratosk
turn on KSM by default
Linux 3.0.80
many misc changes, check github for detail

JB - v2.2 (30 MAY)
update latest CM10.1 kernel source
Linux 3.0.80

JB - v2.1 (20 MAY)
tune some values(e.g. LCD voltage 3V->2.8V) according to leak 4.1 sourcecode
lower the max overclock freq to 1.83ghz
use original fix of stopping the bootanimation
Linux 3.0.79
Some patches & fixes ,check GITHUB for detail

JB - v2.0RC1 (9 MAY)
update latest CM10.1 kernel source
fix bluetooth wakelock [dczz]
update latest mpdecision [showp-1984]
Add max screen off freq to userspace - echo "702000" > /sys/module/cpufreq/parameters/suspend_freq
update mach-msm/cpufreq.c from CAF
Linux 3.0.77

JB - v1.91 (29 APR)
Fix bluesleep.c
Alternative boot animation hack (now should get rid of screening off issue, try to turn on boot animation)
both provided by my friend dczz

JB - v1.9 (28 APR)
Limit MAX screen off freq = 702Mhz
Disable msm_mpdecision and use Auto Hotplug by _thalamus
Kernel -O2 optimization (thats why file size larger)
Set tweaked ROW from franco.kernel by default
Logger driver update by stratosk
some misc backport,fixes
Linux 3.0.75

JB - v1.8 (15 APR)
BSODs from v1.7,v1.71 should be fixed
- Sorry for previous instable release and late coming v1.8
IO Scheduler: Add ROW
- As requested
CPU Governor: Set Ondemand(tweaked 2phase) as default
- By my observation, onedemand,badass seem to be more battery friendly due to shorter time in max freq.
Remove UKSM
- Cons>Pros
- if needed, Check stock KSM in Option - > Performance - > Memory Management
Revert CM screen off fix
- It seems disturbing wifi fix
- If you have screen off issue, reboot can fix temporarily. Or disable boot animation for permanently fix
Backported CAF Linux 3.4 patches
Linux 3.0.72
Misc fixes,tunes

JB - v1.71 (4 APR)
Repack boot.img using new CM Ramdisk which fixed screen off issue

ICS - v3.5 (2 APR)
Remove UKSM
USB Force Fast Charging
Tune mpdecision
CPU 384Mhz-1512Mhz
Linux 3.0.71

JB - v1.7 (30 MAR)
improve WIFI idle drain - creditsss to tdmcode
Latest In-kernel CPU hotplug management aka msm_mpdecision (show-p1984)
Backport mach-msm/cpuidle,mach-msm/pm-8x60,mach-msm/hotplug etc (mrg666)
TCP congestion control : westwood
minor fixes
Linux 3.0.71

CPU Default Freq. = 192Mhz to 1512Mhz
JB - v1.6 (25 MAR)
Latest(24 MAR) CM10.1 kernel
Linux 3.0.70
CPU Default Freq. = 384Mhz to 1512Mhz

ICS - v3.4 (17 MAR)
Clean up some previous updates
Fixed SU640 NFC
Merged latest SU640 20f sourcecode
Add ROW I/O Scheduler by Qualcomm
Removed security error
Minor fixes

ICS - v3.3 (13 MAR)
update governor : interactive from francisco franco galaxy nexus kernel
fix cpufreq.c ( intellidemand works better )
lowmemorykiller updates from faux123
revert some v3.1-3.2 changes which potentially caused lag feedback
Linux 3.0.67

JB - v1.5 (4 MAR)
revert : mpdecision: advanced scroff freq (default 486Mhz)
revert : previous mm: writeback commit
Two commits potentially caused delay of wakeup or BSODs.

ICS - v3.2 (3 MAR)
use i_bell ramdisk (no Optimus LTE bootscreen now )
driver/thermal: create kernel MSM thermal management [faux123] (show correct CPU temp. now)
mpdecision: modify idle_freq decision points to improve efficiency
mpdecision: settings to be battery friendly
mpdecision: advanced scroff freq (default 486Mhz)
mm: uksm: tweak cpu usage
Linux 3.0.66

JB - v1.4 (1 MAR)
Latest(28 FEB) CM10.1 kernel
governer : badass
mpdecision: advanced scroff freq (default 486Mhz)
Linux 3.0.66

JB - v1.3 (23 FEB)
Latest CM10.1 kernel
driver/thermal: create kernel MSM thermal management [faux123] (show correct CPU temp. now)
mpdecision: modify idle_freq decision points to improve efficiency
mpdecision: settings to be battery friendly
mm: uksm: tweak cpu usage
add Wifi Screen-Off Power Management from franco.Kernel (refer to #2 post for setting)
a bit wireless driver changes aimed for battery improve

JB - v1.2 (17 FEB)
tweak p930 wireless driver (P930 only)
bcm4329: allow low-wifi-signals to be seen ( showp1984) (P930 only)
Linaro GCC 4.6 -> Google GCC 4.6 Compiled ( improve stability )
Linux 3.0.64
minor tweaks

JB - v1.1 (12 FEB)
Linaro GCC 4.6 Compiled
USB Force Fast Charging
Improve touchscreen response
Latest CM10.1 kernel
Entropy tweaks
Frandom (http://billauer.co.il/frandom.html)
Adjusted wifi aligned scan time
some lowmemorykiller commits
minor patches,tweaks

JB - v1.0 ( 6 FEB)
patches, tweaks, governers, io schedulers from wind ics kernel
OC/UV etc

ICS - v3.1 (17 FEB)
Linux 3.0.64
Improve touchscreen response (faux123)
Entropy tweaks
Frandom (http://billauer.co.il/frandom.html)
tweak p930 wireless driver (P930 only)
bcm4329: allow low-wifi-signals to be seen ( showp1984) (P930 only)
More or less the same tweaks as CM10.1 kernel

SOURCE
MY GITHUB

CREDITS
tdmcode (great works on our device)
rmcc (bring us CyanogenMod)
faux123 (msm8x60 kernel works, intellidemand etc.)
show-p1984 (kernel based decision, badass etc.)
edoko ( source inspiring me to start dev kernel)
altvolt74 ( introducing the kernel to xda )
Countless developers ( providing their awesome source codes)
ALL tester and developers contributing source
 
Last edited:

tuilalnvinh

Senior Member
Apr 24, 2011
522
142
Ho Chi Minh City
Re: [KERNEL][27 JAN] [P93x|SU640] Wind_Kernel-v3.0 for STOCK/MIUI ICS

I created script to oc gpu, put it in etc/init.d & set right permission but it didn't auto run at startup, the max_gpuclk files still unchanged untill I run the script manually

Sent from my LG-P930 using xda premium
 

lyfkevin

Senior Member
Sep 27, 2010
381
352
I created script to oc gpu, put it in etc/init.d & set right permission but it didn't auto run at startup, the max_gpuclk files still unchanged untill I run the script manually

Sent from my LG-P930 using xda premium

Honestly, I dunno how init.d scripts execute automatically.
But you may use Smanager, select the script, click the "su" and "boot" and then "run"
 

miroslav_mm

Senior Member
Jan 30, 2011
579
2,028
Kiev
Hi lyfkevin!
Have some question. What utils do you using for repack boot.img?
I tried different mkbootimg, unpackbootimg, mkbootfs, split_bootimg.pl but it not working. Using stock cmdline and base 0x40200000 but it not loading. I never have this problem before on my old phone. P930 have some specific?
 

lyfkevin

Senior Member
Sep 27, 2010
381
352
Hi lyfkevin!
Have some question. What utils do you using for repack boot.img?
I tried different mkbootimg, unpackbootimg, mkbootfs, split_bootimg.pl but it not working. Using stock cmdline and base 0x40200000 but it not loading. I never have this problem before on my old phone. P930 have some specific?

I forgot where did i get this mkbootimg pack.
I followed this thread from HO!NO!
http://forum.xda-developers.com/showthread.php?t=1566202
And I use command to make boot.img
Code:
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --cmdline "vmalloc=450M,console=ttyDCC0,115200,n8 androidboot.hardware=i_skt" --base 0x40200000 --pagesize 2048 --ramdiskaddr 0x41a00000 -o testboot.img
 

Attachments

  • PortTools.tar.gz
    34 KB · Views: 69
  • Like
Reactions: miroslav_mm

miroslav_mm

Senior Member
Jan 30, 2011
579
2,028
Kiev
I forgot where did i get this mkbootimg pack.
I followed this thread from HO!NO!
http://forum.xda-developers.com/showthread.php?t=1566202
And I use command to make boot.img
Code:
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --cmdline "vmalloc=450M,console=ttyDCC0,115200,n8 androidboot.hardware=i_skt" --base 0x40200000 --pagesize 2048 --ramdiskaddr 0x41a00000 -o testboot.img

Oh! Thanks! I never before not using --ramdiskaddr 0x41a00000 ;)
 

miroslav_mm

Senior Member
Jan 30, 2011
579
2,028
Kiev
Made stuff for easy life. :fingers-crossed:
Just use extract.bat for extract and pack.bat for packing. Everything working automatic. If need change cmdline, edit make_boot
 

Attachments

  • boot_utils.zip
    8 KB · Views: 75
  • Like
Reactions: lyfkevin

lyfkevin

Senior Member
Sep 27, 2010
381
352
cm10.1 wind kernel v1.0 released
not compatible to cm10, dun mess up

Currently CPU1 status is a bit weird, but defintely wont affect daily use. IT CAUSES LESS BATTERY DRAIN :p
I guess there is interference between kernel based mutlicore decision(msm_mpdecision) by show-p1984 and governor Intellidemand by faux123.

Test required.
My approaches:
1. switching cpu0 cpu1 governor
2. disable msm_mpdecision by "echo 0 > /sys/kernel/msm_mpdecision/conf/enabled"
3. try different mpdecision/intellidemand configurations by kernel tunner
4. terminal "su" "start mpdecision"
PLX dun hestitate to report ur feedback as it helps me to improve the kernel


REFER:
WHAT IS MSM_MPDECISION
WHAT IS INTELLIDEMAND
 
Last edited:
  • Like
Reactions: Hutch89

Hutch89

Senior Member
Jun 3, 2012
306
63
Kansas City, Mo
Re: [KERNEL][6 FEB] [P93x|SU640][OC/UV][3.0.62] Wind_Kernel [ICS|JB]

Man this is awesome 10.1 is crazy fast with this kernel. Will be testing over the next week. Thanks for all your work and contributions to our device.

Sent from my LG-P930 using xda app-developers app
 
  • Like
Reactions: lyfkevin

EpicGtab

Senior Member
Sep 7, 2012
114
11
tried it on my su640. so far so good. I just can't seem to clock it to 1900. oh well its the hardware 1836mhz it more than enough. thanks for kernel. keep up the good work :D

---------- Post added at 01:43 PM ---------- Previous post was at 01:29 PM ----------

question. Noob here. I have no idea how to OC my gpu. Any link to a guide?
 
  • Like
Reactions: lyfkevin

lyfkevin

Senior Member
Sep 27, 2010
381
352
Re: [KERNEL][6 FEB] [P93x|SU640][OC/UV][3.0.62] Wind_Kernel [ICS|JB]

tried it on my su640. so far so good. I just can't seem to clock it to 1900. oh well its the hardware 1836mhz it more than enough. thanks for kernel. keep up the good work :D

---------- Post added at 01:43 PM ---------- Previous post was at 01:29 PM ----------

question. Noob here. I have no idea how to OC my gpu. Any link to a guide?

Check second post :]
U may use faux123 's kernel tool to OC 3D clock

---------------------------------
Anyway, the kernel still under test and far from perfect. give me some time to improve(as I learnt linux and kernel compile in late DEC christmas):eek:

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

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    original xda post
    move to this for better mangement
    bbs.gfan.com

    DISCLAIMER
    Code:
    *
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
     */

    DEVICE SUPPORT
    • SU640 (i_skt)
    • P930 (i_atnt)

    FEATURES
    • Based on LG Stock ICS Kernel Source(ICS VERSION)
    • Based on latest CM10.1 Kernel Source(JB VERSION)
    • Latest Linux Kernel 3.0.y source
    • CPU OC@ MAX CLOCK 1.83Ghz
    • GPU OC@3D_320Mhz 2D 266Mhz
    • Undervolting Support(700mV-1400mV)
    • L2 Performace Boost
    • Smooth as Butter :]
    • Some tweaks, fixes
    • and something I missed (discover it ! )

    Stable Version
    ICS - v3.5
    CM10.1 - v2.5

    KNOWN BUG
    CM10.1 BUGS

    INSTALLATION INSTRUCTION
    1. Copy *.zip to External SD card
    2. Boot into Recovery Mode
    3. Flash *.zip
    4. Reboot and Enjoy it!

    OPTIONAL
    • NANDROID BACKUP before flash
    • Wipe Cache/DalvikCache,Fix Permission after flash
    9
    JB - v1.7 (30 MAR)
    improve WIFI idle drain - creditsss to tdmcode
    Screenshot_2013-03-30-10-36-08.jpg

    Latest In-kernel CPU hotplug management aka msm_mpdecision (show-p1984)
    Backport mach-msm/cpuidle,mach-msm/pm-8x60,mach-msm/hotplug etc (mrg666)
    TCP congestion control : westwood
    minor fixes
    Linux 3.0.71

    Since mpdecision set CPU1 more aggressive to ON now
    old 40% load: CPU1 on -> new 12% load: CPU1 on (which is the reference value from show-p1984)
    taste the battery drain and feedback. thx
    7
    Reverted old BT fixes and merged tdmcode's fix:eek:
    6
    DEFAULT SETTING
    • CPU 384Mhz-1512Mhz
    • Stock GPU FREQ 3D@260Mhz /2D@200Mhz
    • Ondemand + ROW

    MSM8x60 DEFAULT VOLTAGE
    Code:
    192000 800000
    310500 825000
    384000 825000
    432000 850000
    486000 850000
    540000 875000
    594000 875000
    648000 900000
    702000 900000
    756000 925000
    810000 975000
    864000 975000
    918000 1000000
    972000 1025000
    1026000 1025000
    1080000 1050000
    1134000 1075000
    1188000 1100000
    1242000 1125000
    1296000 1150000
    1350000 1150000
    1404000 1175000
    1458000 1200000
    1512000 1225000

    WIND KERNEL DEFAULT VOLTAGE
    Code:
    192000 775000
    310500 775000
    384000 775000
    432000 775000
    486000 775000
    540000 787500
    594000 800000
    648000 825000
    702000 837500
    756000 850000
    810000 862500
    864000 887500
    918000 900000
    972000 925000
    1026000 937500
    1080000 962500
    1134000 987500
    1188000 1000000
    1242000 1025000
    1296000 1050000
    1350000 1062500
    1404000 1087500
    1458000 1112500
    1512000 1150000
    1566000 1175000
    1620000 1212500
    1674000 1250000
    1728000 1275000
    1782000 1300000
    1836000 1325000

    PERFORMANCE SETTING
    Rom Settings -> Developer Options -> Windows Animation Scale,Transition Animation Scale -> 0.5x
    Nova Launcher Settings -> Look and Feel -> Scroll Speed,Animation Speed -> Faster than light
    use any system tools on Playstore ,set by your preference.

    Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
    echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
    Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
    echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
    echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
    Available frequencies:
    3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
    2D: 266667000, 228571000, 200000000

    Monitor MSM_MPDECISION
    adb shell
    su
    cat /proc/kmsg | grep 'MPDEC'
    6
    I planned to make "v2.0" as stable version.
    Due to the youtube issue, here is the early release - v2.0 RC0.

    JB - v2.0 RC0 (3 MAY)
    latest CM10.1 kernel - youtube issue
    and...sth else, tell you later :D
    I am busy lately, forgive me if any instability issue exists.:(