[KERNEL] 3.0.21 (V1.0-10.01.) ICS (NEW V28B support) and (V1.0-07.01.) CM10

1,117 posts
Thanks Meter: 2,226
 
By iodak, Senior Member on 27th December 2012, 08:55 PM
Post Reply Email Thread
LG ICS firmwares kernel:


How to use:
1) You have to be on ICS
2) Root
3) Recovery
http://forum.xda-developers.com/show....php?t=1978543
4) Wkparks bootloaders
http://forum.xda-developers.com/show....php?t=1971014

Download and flash with recovery.

ICS kernels
Changelog:
Beta 1:
Added userspace voltage control by (from SetCpu or similar app) by creator of SetCpu mr coolbho3000 and Smart reflex recalibration part by Mr Imoseyon
OC to 1300MHz
RAM to 466Mhz
cpu topology from linaro
Disabled Smart reflex for CPU
SIO iosched
VR iosched
ZRAM
KSM
init.d
screen off max feature
optimized mount points
ICS V1
added CPU freq interactive with boost freq
(it boost CPU to higest freq when you touch screen so no more lags for us)
interactive is set on boot)
kernel HZ to 1000
Ezekeel FSync control
VM readahead to 256
Reverted stock voltages
SmartReflex is enabled
Added one more step to GPU (384000) we now have 153600 307200 384000
Added control so you can see current GPU freq (FranciscoFranco)
Added BFQV5 iosched
disabled KSM (wasnt working)
ICS V1
Add support for V28b leak firmware (kernelICSV28b.zip)
to revert to stock use (kernelV28Bstock.zip)
ICS V1.1
Add fastcharge patch from ibleumind
Added 2 more freq steps now we have 200,300,600,800,1008,1200,1300
Reworked voltages
Reverted LMK driver to LGs
Lowered swapines to 20
some ramdisk changes


To enable ZRAM write script like this
and made it stick on reboot:
Code:
echo $((64*1024*1024)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
or modify /system/bin/swap_enable.sh



CM10 kernel


Changelog:

BETA 1
Only OC CPU and RAM
BETA 1.1
VR, SIO
cpu topology from linaro
BETA 2
Added userspace voltage control by (from SetCpu or similar app) by creator of SetCpu mr coolbho3000 and Smart reflex recalibration part by Mr Imoseyon
undervolted
OC to 1300
speed at boot set to 1008 (rise it from setcpu or settings)
optimized mount points for some IO
added CPU freq interactive with boost freq
(it boost CPU to higest freq when you touch screen so no more lags for us)
interactive is set on boot)
kernel HZ to 1000
KERNEL V1.0
Add synchronization framework
Ezekeel FSync control
VM readahead to 1024
Reverted stock voltages
SmartReflex is enabled
Added one more step to GPU (384000) we now have 153600 307200 384000
Added control so you can see current GPU freq (FranciscoFranco)
Added BFQV5 iosched
cpufreq interactive: lowered hispeed_freq to 800MHz to save some power
.
.

FAQ

Governors on schedulers??:
Read this: http://forum.xda-developers.com/show....php?t=1369817

What is SmartReflex and what is with this kernel?
SR is OMAP driver that performs continuous dynamic voltage scaling around the nominal operating point voltage according to silicon characteristics and operating conditions.
SR is ON for all freq except 1300. It undervolts to much so device cant be stable on 1300.

So what with userspace voltage control?
For other calibrated freqs you can set lower voltage and SR will recalibrate based on new voltage that you entered. If it can anyway.
If you dissable manualy SR then you can set exact voltages by yourself for all OPPs.
You can dissable it like this:
For CORE:
echo 0 > /sys/kernel/debug/smartreflex/sr_core/autocomp
For GPU:
echo 0 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
For MPU:
echo 0 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
Or use:
https://play.google.com/store/apps/d...0.trickstermod

How to set off screen freq?
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

600000 is 600Mhz
Or use:
https://play.google.com/store/apps/d...0.trickstermod

What is fsync control?
fsync syscalls are used by kernel modules and user space programs to flush an I/O buffer (which is in RAM) to disk to make sure that this data is actually savely stored on the disk before executing the next step. Disabling fsync can result in data loss on a crash/freeze since the data is still in the I/O buffer and has not been saved to disk as it should be and can also lead to problems due to race conditions if two or more processes access the same file. On the other hand disabling fsync reduces the number of I/O operations which potentially could reduce the battery drain and also improve I/O performance. (by Ezeekel)
So if you dissable fsync you will get great IO boost

How to dissable/enable fsync:
/sys/class/misc/fsynccontrol/fsync_enabled
enable = 1, disable = 0
Or use:
https://play.google.com/store/apps/d...0.trickstermod

How to see on what freq GPU runs now?

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_clock

How to enable fastcharge?
/sys/kernel/fast_charge/force_fast_charge

0 dissabled

1 enabled

Or use:
https://play.google.com/store/apps/d...0.trickstermod


If anything hapen to your device using these files it is not my problem.
Use at your own risk.

Thanks to:
Ricardo Cerqueira
Wkpark
Xbsall
coolbho3000
Samno
Imoseyon
FranciscoFranco
Ezekeel
ibluemind

and others that helped, and all XDA.

You can give thanks!

Github:
ICS: https://github.com/iodak/p920-ICS-kernel
CM10:https://github.com/iodak/lge-kernel-omap4
Attached Files
File Type: zip kerneliodakB1.zip - [Click for QR Code] (5.43 MB, 803 views)
File Type: zip kernelCM10Beta1.zip - [Click for QR Code] (3.79 MB, 175 views)
File Type: zip kernelCM10Beta1.1.zip - [Click for QR Code] (3.80 MB, 175 views)
File Type: zip kernelCM10Beta2.zip - [Click for QR Code] (3.80 MB, 376 views)
File Type: zip kernelCM10v1.0.zip - [Click for QR Code] (3.81 MB, 899 views)
File Type: zip kernelICSV1.0.zip - [Click for QR Code] (5.10 MB, 632 views)
File Type: zip kernelICSV28b.zip - [Click for QR Code] (5.21 MB, 1116 views)
File Type: zip kernelV28Bstock.zip - [Click for QR Code] (5.93 MB, 1113 views)
File Type: zip kernelICSV28b_V1.1.zip - [Click for QR Code] (5.21 MB, 3070 views)
The Following 60 Users Say Thank You to iodak For This Useful Post: [ View ] Gift iodak Ad-Free
27th December 2012, 09:25 PM |#2  
Senior Member
Thanks Meter: 23
 
More
Thumbs up
27th December 2012, 09:27 PM |#3  
xbsall's Avatar
Senior Member
Flag Home
Thanks Meter: 2,928
 
More


The Following 2 Users Say Thank You to xbsall For This Useful Post: [ View ] Gift xbsall Ad-Free
27th December 2012, 09:29 PM |#4  
OP Senior Member
Thanks Meter: 2,226
 
Donate to Me
More
@Kyanox
I didn't OC GPU becouse I dont see any speed up in that. I think bus is to slow to deal with that large amount's of data.
Edit:
i didn't get the time to answer.

Sent from my LG-SU760 using xda app-developers app
27th December 2012, 10:33 PM |#5  
zogu's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 364
 
More
You are kralj Thanks for all your work.
I had problems with samno's kernel with overclocked ram, i hope this one will work.
The Following User Says Thank You to zogu For This Useful Post: [ View ] Gift zogu Ad-Free
28th December 2012, 01:59 AM |#6  
saint_cow's Avatar
Senior Member
Thanks Meter: 94
 
More
Might be a dumb question but can this be used with your modified CM10?

Sent from my LG-P920 using xda app-developers app
28th December 2012, 07:11 AM |#7  
Account currently disabled
Thanks Meter: 488
 
More
Thanks iodak . Every time you make a surprise . The forum was dead .
Good work :thumbup: :thumbup:
Just a stupid question , make the commands in init.d script right ??

Sent From My P920 (ICS ported)
Hit Thanks Button If I Helped
28th December 2012, 07:50 AM |#8  
OP Senior Member
Thanks Meter: 2,226
 
Donate to Me
More
This is only for ICS.

Yes use init.d script.

Sent from my LG-SU760 using xda app-developers app
28th December 2012, 09:21 AM |#9  
zogu's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 364
 
More
Battery life is amazing, only 2% for 3 hours, no calls, just checking email few times on wifi (no mobile data, i don't have it) and little playing. Also phone seems smoother. Excellent work and it is still beta.
The Following User Says Thank You to zogu For This Useful Post: [ View ] Gift zogu Ad-Free
28th December 2012, 11:43 AM |#10  
Member
Thanks Meter: 9
 
More
Talking
video streaming is playing or not whit this kernel?
28th December 2012, 12:47 PM |#11  
OP Senior Member
Thanks Meter: 2,226
 
Donate to Me
More
I did not try it. NTFS is included.

Edit: stream is working i tried with VLC player.

Sent from my LG-SU760 using xda app-developers app
Post Reply Subscribe to Thread

Tags
development

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

Advanced Search
Display Modes