FORUMS
Remove All Ads from XDA

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

378 posts
Thanks Meter: 353
 
By lyfkevin, Senior Member on 27th January 2013, 06:01 AM
Post Reply Email Thread
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
Attached Files
File Type: zip WIND_Kernel-v3.5_ICS_P930.zip - [Click for QR Code] (8.24 MB, 1362 views)
File Type: zip WIND_Kernel-v3.5_ICS_SU640.zip - [Click for QR Code] (8.26 MB, 837 views)
File Type: zip WIND_Kernel-v2.0RC1_CM10.1_SU640.zip - [Click for QR Code] (7.60 MB, 250 views)
File Type: zip WIND_Kernel-v2.0RC1_CM10.1_P930.zip - [Click for QR Code] (7.57 MB, 318 views)
File Type: zip WIND_Kernel-v2.1_CM10.1_SU640.zip - [Click for QR Code] (7.61 MB, 208 views)
File Type: zip WIND_Kernel-v2.1_CM10.1_P930.zip - [Click for QR Code] (7.58 MB, 365 views)
File Type: zip WIND_Kernel-v2.2_CM10.1_SU640.zip - [Click for QR Code] (7.61 MB, 150 views)
File Type: zip WIND_Kernel-v2.2_CM10.1_P930.zip - [Click for QR Code] (7.58 MB, 280 views)
File Type: zip WIND_Kernel-v3.6_ICS_SU640.zip - [Click for QR Code] (8.41 MB, 127 views)
File Type: zip WIND_Kernel-v3.6_ICS_P930.zip - [Click for QR Code] (8.39 MB, 250 views)
File Type: zip WIND_Kernel-v2.3_CM10.1_SU640.zip - [Click for QR Code] (7.80 MB, 190 views)
File Type: zip WIND_Kernel-v2.3_CM10.1_P930.zip - [Click for QR Code] (7.79 MB, 303 views)
File Type: zip WIND_Kernel-v3.7_ICS_SU640.zip - [Click for QR Code] (8.41 MB, 352 views)
File Type: zip WIND_Kernel-v3.7_ICS_P930.zip - [Click for QR Code] (8.39 MB, 878 views)
File Type: zip WIND_Kernel-v2.4_CM10.1_SU640.zip - [Click for QR Code] (6.91 MB, 272 views)
File Type: zip WIND_Kernel-v2.4_CM10.1_P930.zip - [Click for QR Code] (6.90 MB, 537 views)
File Type: zip WIND_Kernel-v2.5_CM10.1_SU640.zip - [Click for QR Code] (6.74 MB, 317 views)
File Type: zip WIND_Kernel-v2.5_CM10.1_P930.zip - [Click for QR Code] (6.72 MB, 898 views)
File Type: zip WIND_Kernel-v2.6_CM10.1_SU640.zip - [Click for QR Code] (5.96 MB, 348 views)
File Type: zip WIND_Kernel-v2.6_CM10.1_P930.zip - [Click for QR Code] (6.21 MB, 695 views)
The Following 52 Users Say Thank You to lyfkevin For This Useful Post: [ View ] Gift lyfkevin Ad-Free
 
 
27th January 2013, 06:01 AM |#2  
lyfkevin's Avatar
OP Senior Member
Thanks Meter: 353
 
Donate to Me
More
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.

Quote:

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'
The Following 6 Users Say Thank You to lyfkevin For This Useful Post: [ View ] Gift lyfkevin Ad-Free
27th January 2013, 06:02 AM |#3  
lyfkevin's Avatar
OP Senior Member
Thanks Meter: 353
 
Donate to Me
More
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
The Following 5 Users Say Thank You to lyfkevin For This Useful Post: [ View ] Gift lyfkevin Ad-Free
27th January 2013, 01:24 PM |#4  
tuilalnvinh's Avatar
Senior Member
Flag Ho Chi Minh City
Thanks Meter: 143
 
More
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
27th January 2013, 02:11 PM |#5  
lyfkevin's Avatar
OP Senior Member
Thanks Meter: 353
 
Donate to Me
More
Quote:
Originally Posted by tuilalnvinh

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"
27th January 2013, 03:32 PM |#6  
miroslav_mm's Avatar
Senior Member
Flag Kiev
Thanks Meter: 2,042
 
More
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?
27th January 2013, 03:42 PM |#7  
lyfkevin's Avatar
OP Senior Member
Thanks Meter: 353
 
Donate to Me
More
Quote:
Originally Posted by miroslav_mm

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/show....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
Attached Files
File Type: gz PortTools.tar.gz - [Click for QR Code] (34.0 KB, 64 views)
The Following User Says Thank You to lyfkevin For This Useful Post: [ View ] Gift lyfkevin Ad-Free
27th January 2013, 03:47 PM |#8  
miroslav_mm's Avatar
Senior Member
Flag Kiev
Thanks Meter: 2,042
 
More
Quote:
Originally Posted by lyfkevin

I forgot where did i get this mkbootimg pack.
I followed this thread from HO!NO!
http://forum.xda-developers.com/show....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
27th January 2013, 04:26 PM |#9  
miroslav_mm's Avatar
Senior Member
Flag Kiev
Thanks Meter: 2,042
 
More
Made stuff for easy life.
Just use extract.bat for extract and pack.bat for packing. Everything working automatic. If need change cmdline, edit make_boot
Attached Files
File Type: zip boot_utils.zip - [Click for QR Code] (8.0 KB, 72 views)
The Following User Says Thank You to miroslav_mm For This Useful Post: [ View ] Gift miroslav_mm Ad-Free
5th February 2013, 10:14 AM |#10  
Senior Member
Thanks Meter: 12
 
More
After installing it on last Miui 3.2.1 i have only 768 Mb RAM, why?
5th February 2013, 10:29 AM |#11  
Member
Flag Hung Yen
Thanks Meter: 7
 
More
Thanks, I'm testing it now
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes