[KERNEL] 7 June 2011 - Froyo OC/UV Kernel - LG Optimus 2x

Hi there !
Got my Optimus 2x yesterday, and played with it today
So here is a modified kernel compatible with MoDaCo roms. This kernel will boot with stock values (1000mhz max, default voltage). You can then enable higher states (1200, 1300mhz) with "Pimp My Cpu"! But you can also lower the voltage to get the best of your device Be sure to read the "Pimp My Cpu" post to understand how it work.
Try at your own risk ! May be unstable, i'm not responsable for any damage ... etc
Kernel developpers, you can find some informations on how all this work here.
7 June 2011 : 2x-kernel-2.6.32.9-fakeShmoo(-psycho)-cpasjuste.8.zip
Fix Wifi
MD5 : 55065e28efbd33995c6d6d1bb9f20287
PSYCHO MD5 : 492b150e14f6a7922ec9dcadb432f27b
15 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-psycho-cpasjuste.5.zip
Same as "2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.5" but with higher overclocking (not recommended), see below.
MD5 : 168a51f4d26f272a29607824b6077784
14 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.5.zip
I did successfully add 216 Mhz frequency to the kernel, but there's a bad news. I did found a hardware limit on the max8907 controller : voltages cant be lower than 770mV. It's why the stock LG kernel runs at 300 Mhz for it's minimal frequency, it run fine at 770mV. So this means that any undervolting lower then 770mV wont do anything, it will still run at 770mV...
Taking the previous discover in account, i didn't add the 216 Mhz state but replaced the (really) too hot 1300 Mhz state by a 1100 Mhz one, so you can probably use that without overvolting (unlike the 1200 Mhz state).
I probably fixed the non booting problem on some roms by adding the required "init.d" script in the zip update package.
MD5 : 514be18ced541f953cc15a1a0e995ea6
Be sure to REMOVE "boot settings" from "Pimp My Cpu" AND uninstall "Pimp My Cpu" before installing the kernel to reset default values.
12 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.4.zip
A few fix on the oc/uv code which could improve stability
Now use an "unified" cpufreq sysfs devices name. I mean it use the same sysfs names than other oc/uv kernels (at least Galaxy i9000 ones). You HAVE to update "Pimp My Cpu" to version 2.1 at least for it to work.
Cpu sensor is now "/sys/devices/system/cpu/cpu0/cpufreq/cpu_temp"
Freq/voltage table is now "/sys/devices/system/cpu/cpu0/cpufreq/frequency_voltage_table" like other kernels. See this post for more informations.
Uv/mV table is now "/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table". See this post for more information.
Need Pimp My Cpu version 2.1 at least.
11 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.3.zip
Back to "normal" releases (with more frequency steps added)
Lower 1200/1300 Mhz voltages, as nvidia recommand 100mV max voltage change between two steps. May not be stable for all.
Maybe fixed some bugs added by the OC/UV modification (some references to old freq/voltage table was still around)
Probably last kernel from me, dev's now have the necessary resources on my github to play around
Be sure to REMOVE "boot settings" from "Pimp My Cpu" AND uninstall "Pimp My Cpu" before installing the kernel to reset default values.
10 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.2.zip
Test release, try to be as close as possible to the default LG kernel
Now based on new kernel sources released by LG instead paul sources
Only 6 available frequency like LG stock kernel (could prevent some problems)
Maybe fixed some bugs added by the OC/UV modification (some references to old freq/voltage table was still around)
Be sure to REMOVE "boot settings" from "Pimp My Cpu" AND uninstall "Pimp My Cpu" before installing the kernel to reset default values.
9 Apr 2011 : 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.1.zip
Added cpu sensor ( "/sys/devices/system/cpu/cpu0/cpufreq/FakeShmoo_cpu_temp" )
Added freq/voltage table ( "/sys/devices/system/cpu/cpu0/cpufreq/FakeShmoo_freq_voltage_table" ), see this post for more information.
Added uv/mv table ( "/sys/devices/system/cpu/cpu0/cpufreq/FakeShmoo_UV_mV_table" ), see this post for more information.
Changed unstable 1400Mhz frequency to 1300Mhz (we can't have more than 8 freqency)
Added "init.d" support to be 100% compatible with "Pimp My Cpu"
Be sure read the "Pimp My Cpu" changes which may interest you
Installation :
Copy the zip to external SDCARD
Boot to ClockWorkMod Recovery (power button + volum down)
Choose install zip from sdcard
Select the zip
Recommendations
Nvidia tegra 2 (AP20) drivers as set the maximum allowed temperature to 60°, you should maybe not go further.
Nvidia tegra 2 (AP20) drivers recommend maximum voltages step of +-100mV (+-100mV between two frequency)
Cpu temperatures are already high without OC. After a lot of testing, i would not recommend to OC this device, but for sure undervolt it.
Default LG values :
389 Mhz / 750 mV
503 Mhz / 800 mV
655 Mhz / 850 mV
760 Mhz / 875 mV
950 Mhz / 950 mV
1015 Mhz /1000 mV
2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.5/6/7 values :
300 Mhz / 770 mV
500 Mhz / 800 mV
650 Mhz / 850 mV
750 Mhz / 875 mV
900 Mhz / 950 mV
1000 Mhz / 1000 mV
1100 Mhz / 1100 mV
1200 Mhz / 1150 mV
2x-kernel-2.6.32.9-fakeShmoo-psycho-cpasjuste.5/6/7 values :
300 Mhz / 770 mV
500 Mhz / 800 mV
800 Mhz / 900 mV
1000 Mhz / 1000 mV
1100 Mhz / 1100 mV
1200 Mhz / 1150 mV
1300 Mhz / 1200 mV
1400 Mhz / 1250 mV
Enjoy your (very) fast device
- Thanks to xan for his OC/UV application which inspired me, paul for his work on the o2x and all the users here
- Github

Very nice, looking forward to try it

Great, with some overvoltage it should run 1,5GHz possible you could make a update.zip?

Very nice indeed should get my optimus 2x this week OC-ed to 1.5 would be nice

That sounds good.
Sent from my LG-P990 using Tapatalk

Updated first post with required files.
I'll make my "Pimp My Cpu" application compatible soon

[email protected] said:
Great, with some overvoltage it should run 1,5GHz possible you could make a update.zip?
Click to expand...
Click to collapse
Your right, i should make a update.zip later. If someone want's to go for it he is welcome

Cpasjuste said:
Updated first post with required files.
I'll make my "Pimp My Cpu" application compatible soon
Click to expand...
Click to collapse
does it work to flash through recovery with the 2 zip files you attached?
edit: seems that I have to push them but I'll wait for a update.zip

[email protected] said:
does it work to flash through recovery with the 2 zip files you attached?
edit: seems that I have to push them but I'll wait for a update.zip
Click to expand...
Click to collapse
Nope you have to follow the step here :/
Does someone have a update.zip template ?
For overvolting, i would need to find a way or know default voltage values, i'll take a look this week.

Cpasjuste said:
Updated first post with required files.
I'll make my "Pimp My Cpu" application compatible soon
Click to expand...
Click to collapse
Tried it but got stuck in boot

DocRambone said:
Tried it but got stuck in boot
Click to expand...
Click to collapse
Yes it seems that 1200mhz is not stable enough without overvolting, i just got two games to crash. I'll look at voltages value this week.

Is the mount command right? I can't seem to get it to remount my /system folder...

Novek said:
Is the mount command right? I can't seem to get it to remount my /system folder...
Click to expand...
Click to collapse
Yeahh, i did update the install procedure ... did forget to put all the "shell" command after adb .. sorry

I did found the original voltages so i would be able to change them without doing a mistake
<4>[ 16.247059] TEGRA_OC : voltage[0]->750
<4>[ 16.247070] TEGRA_OC : voltage[1]->800
<4>[ 16.247077] TEGRA_OC : voltage[2]->850
<4>[ 16.247082] TEGRA_OC : voltage[3]->875
<4>[ 16.247088] TEGRA_OC : voltage[4]->950
<4>[ 16.247094] TEGRA_OC : voltage[5]->1000

Cpasjuste said:
I did found the original voltages so i would be able to change them without doing a mistake
<4>[ 16.247059] TEGRA_OC : voltage[0]->750
<4>[ 16.247070] TEGRA_OC : voltage[1]->800
<4>[ 16.247077] TEGRA_OC : voltage[2]->850
<4>[ 16.247082] TEGRA_OC : voltage[3]->875
<4>[ 16.247088] TEGRA_OC : voltage[4]->950
<4>[ 16.247094] TEGRA_OC : voltage[5]->1000
Click to expand...
Click to collapse
then give us 1,5GHz... LOL

It also seems that MoDaCo kernel do NOT have the 2 cores enabled (not sure of that), cpuinfo report only 1 processor while "my" kernel reports two.
Click to expand...
Click to collapse
Negative, CPU-Info seems not to be able to detect two CPU-Cores. At my Device it shows 1998 MHz ... So it seems that with the Modaco Kernel both CPU-Cores are working
BTW. Great Work

I tried, but i stuck at boot too.

SetCPU shows 1998 BogoMips on Stock-ROM, so i guess it works there too.
Sent from my LG-P990 using Tapatalk

I think this one is good without an update.zip at the moment.
As it rightly says in the OP this is for advanced users only, an update.zip will simply tempt everybody to have a go. In my opinion, until it's been tested a bit more it's best kept amongst the few.
Having said that, top shelf... 3105!

Hehe thanks for the support
Actually i'm unable to get a stable 1200mhz even with overvolting so maybe something else is happening. I'll try to have a stable 1200mhz before releasing a new update. I also got 1400hz but unstable too :

Related

How to overclock

Is there any way to overclock X1 with android?
add acpuclock.oc_freq_khz=X to your cmdline, where X is the desired frequency in KHz. Works smooth for me with 640000, but ymmv
sp3dev said:
add acpuclock.oc_freq_khz=X to your cmdline, where X is the desired frequency in KHz. Works smooth for me with 640000, but ymmv
Click to expand...
Click to collapse
interesting
Where exactly to add acpuclock.oc_freq_khz=X
i added it to startup.txt but i guess its not there. ANy help.
sp3dev said:
add acpuclock.oc_freq_khz=X to your cmdline, where X is the desired frequency in KHz. Works smooth for me with 640000, but ymmv
Click to expand...
Click to collapse
freeze. works at 639000 - its max to me
I'm using setcpu+setcpu.txt at SDcard and the value of the CPU to overclock higher than 639000 does not work. what to use to get the steping overclocking up to 691 or 710MHz?
or modify kernel to support overclocking up to 710!
who is able to.plz.thx
I can run on 691200Mz
Sent from my cyanogenMod6.0 by Neopeek using XDA App
How did you do that...i only get 595.
Sent from my FRG83 by Neopeek using XDA App
what the F#$#!!!!!
in fact 595000 for me is unstable
"process no response" are frequently appears.
i'm running on 528000
ToT.... Orz....
I got mine running @ 633mhz, did not try higher yet.
Just set in in the startup.txt like the others said.
need overclocking higher 652MHz zImage for fully working on BareboneCM6.1 26-11-2​010 !!!
clocking at 633 now... haven't tried higher.. works fine
for me it works stable at 670000 max.
the cpu clock widget says 653 though...
it must calculate 1MHz = 1024kHz, but why? those ain't no bits..
Cheers
cause the clock source is 19.200 MHz, so you get
(670000 / 19200) * 19200 == 652800 MHz
i overclocked it to 580 mhz. i dont see a difference. ill try with 600+
you note difference when you play games..like angry birds lite (the beta version) is very smoothly! yeaah!
i have neopeek cm6.0 29.11.2010 rom with 3d driver 29.11.2010 and the new kernel v4b.
i have setcpu and setcpu.txt
set profile: "turn off screen" with only 19 mhz and drained the battery 93% to 88% in 7 hours!! from 3am to 10am!! awesome!! with wifi on and sync too!!
My overclock use setcpu is not smooth for Angry Birds
I run the FRX3 Andriod.But only overclock is under 633Mhz.Up 633,like 652,Will be reooted the mobile.How can I overclock to 710Mhz???
How can I overclock to 710Mhz???
Click to expand...
Click to collapse
need a kernel to support 710 or higher processor frequency!this currently does not exist! have to ask neo, sp3dev or seandon to release such Kernel(zImage)
tks pak1to.anyone can run 710MHZ with X1 for Andriod???
Below mention settings of my x1 ,please tell me how can i increased by cpu speed.
set ramsize 0x8000000
set ramaddr 0x10000000
set mtype 2006
set FBDURINGBOOT 0
set KERNEL zImage
set initrd initrd.gz
set cmdline "fbcon=rotate:2 ro.sf.hwrotation=180 lcd.density=240 clock-7x00.a11=500 msmvkeyb_toggle=off msmts_calib=0x0366.0x04b.0x0c8.0x038e physkeyboard=kovsq msmsdcc_1bit msmsdcc_fmax=14000000 msmsdcc_nopwrsave kernel.panic=30 hw3d.force=1"
boo
pyasa,
set ramsize 0x8000000
set ramaddr 0x10000000
set mtype 2006
set FBDURINGBOOT 0
set cmdline "root=/dev/mmcblk0p2 init=/init rootwait rw rootdelay=3 console=tty0 rootdelay=3 fbcon=rotate:2 ro.sf.hwrotation=180 lcd.density=240 msmvkeyb_toggle=off msmts_calib=0x0366.0x04b.0x0c8.0x038e acpuclock.oc_freq_khz=600000 pmem.extra=1 no_console_suspend clock-7x00.mddi=0xa51 physkeyboard=kovsq hw3d.force=1"
boot
change your cpu in
acpuclock.oc_freq_khz= (cpu in khz) like 528000

[KERNEL]G Tab2 7" (GT-P3113)[Add AOSP/CM Support: 05.31.12]

Okay, here's what you get:
[Update 5]
Change 150MHz fuse for stability at that speed
Reset mpu vdd to proper max
Remove touchscreen msgs from dmesg
Added OMAP_C4_MPUOSWR for GPU power down
Added OMAP_IPU_DEEPIDLE
Added Google Snappy compression and a jillion ZRAM tweaks
Added USB fast charging - See below for instructions. Look for a homescreen toggle some time tomorrow.
[Update 4]
MinMax Governor
memcpy and memmove tweaks (hopefully for speed!)
ZRAM Swap - You need to enable this. See below.
InteraciveX Governor.
[Update to Version 3]
SLQB Memory Manager
Random Tweaks/Cleanup
Change OC range to 150MHz-1.35GHz
Bump OC on GPU to 448 (I tried 512, it didn't like it when I ran stress tests.)
[Version 3 Update]
Lulsactive Governor
Lazy Governor
Pegasus Governor
BFQ Scheduler
Updated VR and Simple Schedulers
Fixed Lagfree Governor
[Version 2 Update]
CIFS Support
NTFS Support
init.d support - you need to create the directory (/system/etc/init.d)
Overclock up to 1.3GHz
Various I/O Tweaks
dm-cache
VR Scheduler
Simple Scheduler
Smartass2 Governor
Lagfree Governor
External SDCard mounted to /sdcard2
I do not know how much more I will do on this, it runs very nice for me now.
This is a stock kernel, it will not run AOSP/AOKP/CM. Sorry.
May contain one or more of the following ingredients: Metallice, Ziggy, imoseyon, faux123, xoomdev, peanut products, hainesca, Ezekeel, milk products, chad0989, DerTeufel, zachariasmaladroit, and various other non-allergenic components.
Enjoy!
D
Dev-Host: Stock Kernel
Goo.im: Stock Kernel
MD5: 17fa1d6d7c6878a26416e88801854021
Dev-Host: AOSP/CM/AOKP Kernel
Goo.im: AOSP/CM/AOKP Kernel
MD5: 3e4645e8c3117bc56dbd1fb058a0d472
To enable ZRAM: Go into adb shell and issue this command: zram enable
To enable fast charge: In adb shell: echo 1 > /sys/kernel/fast_charge/force_fast_charge - THERE IS NO PC CONNECTION WHILE THIS IS ON!
To disable fast charge: In terminal emulator: first: su, then: echo 0 > /sys/kernel/fast_charge/force_fast_charge
.
My Git
awesome!! quick question tho....theres anyway we can add native cifs support for this kernel? thanks
Sent from my GT-P3113 using XDA
statuzz said:
awesome!! quick question tho....theres anyway we can add native cifs support for this kernel? thanks
Sent from my GT-P3113 using XDA
Click to expand...
Click to collapse
I'll see what I can do.
D
.
your awesone
Thank you soo much for this. Your hard work is greatly appreciated.
Thanks for your work! Also, is NTFS support for the microsd card possible or kernel related? Please reply. Thanks!
Any chance of clocking the gpu at 512 MHz. It makes my nexus more responsive and I don't notice any negative effect on battery.
Sent from my Galaxy Nexus using xda premium
Thanks for all your hard work! I look forward to seeing what else you come up with!
One thing I desperately need is mass storage support. However, I am not asking that of you (IDK for sure if that would involve the kernel or the ROM or both, anyway). I would like some help with my ad hoc solution. I have this program NetDrive that can mount an FTP connection as a local drive, which is great in conjunction with FTPDroid as a replacement for mass storage. My only problem is that I cannot use FTPDroid where there is no Wi-Fi, so at home I have to use cyansmoker's Alt Mounter, which only sets up FTP for /sdcard. So, is there any chance you could set the kernel to mount the external SD card within the /sdcard folder (I know there are some ROMs for other devices that mount it under /sdcard/sd)?
Do we use Odin or CWM to load the kernel? Which app do u use to overclock. Just receives my tab today
Sent from my SPH-D710 using XDA
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
------------------------------------------------------------
"init.d support - you need to create the directory (/system/etc/init.d)"
"Overclock up to 1.3GHz"
-----------------------------------------------------------
Do I create a file called init.d under /system/etc or a folder called init.d under /system/etc
I have the paid version of Tegrak installed, is this how I would change the OC parameters or do I use another method.
Without doing anything Tegrak reports that I am running at 1.3GHZ.
Thanks in advance...
toanau said:
Do we use Odin or CWM to load the kernel? Which app do u use to overclock. Just receives my tab today
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Clockwork, I use system tuner.
D
bark777 said:
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
------------------------------------------------------------
"init.d support - you need to create the directory (/system/etc/init.d)"
"Overclock up to 1.3GHz"
-----------------------------------------------------------
Do I create a file called init.d under /system/etc or a folder called init.d under /system/etc
I have the paid version of Tegrak installed, is this how I would change the OC parameters or do I use another method.
Without doing anything Tegrak reports that I am running at 1.3GHZ.
Thanks in advance...
Click to expand...
Click to collapse
It is a folder. There are many program, I use system tuner.
D
.
Added CIFS and NTFS.
D
.
dsb9938 said:
Added CIFS and NTFS.
D
.
Click to expand...
Click to collapse
thanks for your hard work @dsb9938!! can u also provide the cifs.ko as well?? thanks again and really appreciated what u doing
statuzz said:
thanks for your hard work @dsb9938!! can u also provide the cifs.ko as well?? thanks again and really appreciated what u doing
Click to expand...
Click to collapse
Modules are built in.
D
.
My friends, let me congratulate this dev for his awesome work.
I got my tab today, rooted it, flashed this kernel with CWM and the gadget is running great . I am using SetCPU-
I also installed Nova Launcher.. running great
Im amazed we can do all this the first day with a $249 tab
BTW, somebody asked for storage support. I am using the media connection and transfer files this way. No big deal .. you can see both SD´s.
Cheers
bark777 said:
I flashed this kernel and all works well. But my tab is running hot, I guess I should have asked before flashing.
Click to expand...
Click to collapse
Mine runs warm along the left side (holding in portrait) even with the stock kernel.... curious to feel this kernel after.
So I installed the kernel and my microsd is not mounted as /sdcard2. What am I missing?
slopokdave said:
Mine runs warm along the left side (holding in portrait) even with the stock kernel.... curious to feel this kernel after.
So I installed the kernel and my microsd is not mounted as /sdcard2. What am I missing?
Click to expand...
Click to collapse
What does it say for kernel version under About Device?
D
.
dsb9938 said:
What does it say for kernel version under About Device?
D
.
Click to expand...
Click to collapse
Nevermind! I see it now. Had to backup a couple directories, I was looking at the old mnt/extSdcard, it's still there.
So how does this help with using it for app storage? Or, does it? Thanks!!!!

[krn.modules] intellidemand governor for Arc / Arc S stock Kernel (ICS)

Upon request from fellow member ascariz on the smartassV2 governor, I've compiled intellidemand module for Arc 4.0.3 stock kernel.
Since the firmware I use is the Arc S one (ICS 4.0.3) - I believe this module will also work for Arc S.
To fully configure / install the module, please check this page for a similar module I did for X10 back in the days - page.
Some things are different, but if you want to hand customize all possible parameters after phone starts up, the path to check is
Code:
/sys/devices/system/cpu/cpu0/cpufreq
Download:
Use it at your own risk!
cpufreq_intellidemand_arc_ics.zip
Enjoy!
Awesome. Not trying to be greedy but can we have BoostedAssV2 too ? xD
viulian said:
Upon request from fellow member ascariz on the smartassV2 governor, I've compiled intellidemand module for Arc 4.0.3 stock kernel.
Since the firmware I use is the Arc S one (ICS 4.0.3) - I believe this module will also work for Arc S.
To fully configure / install the module, please check this page for a similar module I did for X10 back in the days - page.
Some things are different, but if you want to hand customize all possible parameters after phone starts up, the path to check is
Code:
/sys/devices/system/cpu/cpu0/cpufreq
Download:
Use it at your own risk!
cpufreq_intellidemand_arc_ics.zip
Enjoy!
Click to expand...
Click to collapse
OMG. you really do it?! tq mate!
After a day of testing, I'm switching back to smartassV2.
With smartassV2:
a) the time in state shows me about 16-17% at 1Ghz, and the others at 122MHz. Intermediate frequences are rarely used.
b) battery was about 40% at the end of the day with my usage (4 email accounts doing sync at 15 minutes - I'm not using push, but k9 connects) - also half of the day in an area where 3G signal is weak and phone swiches back and forth.
With intellidemand:
a) the time in state is 6% for 1GHz which might look better in comparison with smartassV2.
BUT:
b) the phone is sluggish and you can feel it needs a bit of time (1 second ?) to pick up speed, UI animations are choppy.
c) it does make use of the intermediate frequencies - but battery was about 20% when I got home, identical usage as previous day with smartassV2.
In both cases, screen was always kept at 25%.
Now my conclusion is that:
a) intermediate (but high) frequencies have similar battery usage as maximum frequency.
b) spending more time in an intermediate frequency makes things slower to finish and thus, based on point a) drains battery more.
Also, the code of intellidemand is more complex (.ko size is +20Kb more) as opposed to smartassV2 - and thus I guess it also takes more time (energy) to compute the correct frequency. In itself, a complex algorithm to compute the next state takes its toll.
smartassV2 does perform better with my usage pattern - and I'm curious why this governor is claimed to be advanced I mean algorithmically it surely is, but phone is more sluggish + more battery drain (not significant, but about 20% in my basic, 1 day test).
I will focus my attention on other *ass governors
flashable intellidemand. auto load on startup. all credit to viulian.
ascariz said:
flashable intellidemand. auto load on startup. all credit to viulian.
Click to expand...
Click to collapse
Can you make a flashable smartassv2 too ?
Dark Fable said:
Can you make a flashable smartassv2 too ?
Click to expand...
Click to collapse
errr...im not a module compiler like viulian. honestly, i dunno. but to make it autoload on boot & flashable, yes, as long as i have that .ko file.
ascariz said:
errr...im not a module compiler like viulian. honestly, i dunno. but to make it autoload on boot & flashable, yes, as long as i have that .ko file.
Click to expand...
Click to collapse
The .ko was already made by viulian, here ya go.
Dark Fable said:
The .ko was already made by viulian, here ya go.
Click to expand...
Click to collapse
this is intellidemand and smartassv2 modules that you can load in 2 way.
1) for those who use stock kernel that not support init.d, use script manager to load MODULELOADER script at start up. after flash, browse at system/etc/init.d folder and you will find the script.
2) for those who use kernel with init.d supported (e.g. Cobrato kernel), do nothing. just flash it and you ready to go.
ascariz said:
this is intellidemand and smartassv2 modules that you can load in 2 way.
1) for those who use stock kernel that not support init.d, use script manager to load MODULELOADER script at start up. after flash, browse at system/etc/init.d folder and you will find the script.
2) for those who use kernel with init.d supported (e.g. Cobrato kernel), do nothing. just flash it and you ready to go.
Click to expand...
Click to collapse
Doesn't work man. :/ The new governors aren't showing up in No Frills CPU..using Cobrato's kernel.
First you must use the stock kernel from Sony's official 4.0.3 release for Arc S (even if having the Arc).
Any other kernel will not work ... (or very slim chances to work).
Second, please check using Module Loader app (but only activate the boot time loading of the module after you are sure the things work).
viulian said:
First you must use the stock kernel from Sony's official 4.0.3 release for Arc S (even if having the Arc).
Any other kernel will not work ... (or very slim chances to work).
Second, please check using Module Loader app (but only activate the boot time loading of the module after you are sure the things work).
Click to expand...
Click to collapse
I have the ARC S lol, and Cobrato's kernel is Stock 4.0.3 kernel with init.d support.
http://forum.xda-developers.com/showthread.php?t=1591279
Hmm...I thought you didnt have to use module loader for the flashable zips ? :/ Because the module loader shows 'Starting modules...' in the middle of any game (Like Temple Run) and it begins to lag horribly, this pisses my friends off. I want to show them how great a phone Arc/S is. :/
Ok, if it has the same version number then it will load the modules ok (as well as having the same binary kernel image).
I think the OS kills Module Loader to regain some memory, then starts it back when memory level gets better (kills it when game / heavy app starts, then as memory becomes available, it starts it back). But Module Loader has a bug and when started also loads the modules
Another solution is to use Script Manager ( http://www.androidsoftware.us/Applications/Script-Manager.html ) to run a script at boot (a small script that just do the insmod).
Hope it helps...
viulian said:
Ok, if it has the same version number then it will load the modules ok (as well as having the same binary kernel image).
I think the OS kills Module Loader to regain some memory, then starts it back when memory level gets better (kills it when game / heavy app starts, then as memory becomes available, it starts it back). But Module Loader has a bug and when started also loads the modules
Another solution is to use Script Manager ( http://www.androidsoftware.us/Applications/Script-Manager.html ) to run a script at boot (a small script that just do the insmod).
Hope it helps...
Click to expand...
Click to collapse
Thank you for your quick response. [: I know about script manager, can you please provide me with the script to use with it for the modules and a how to ? If not too much trouble that is.
Nvm, got it, thanks.
Dark Fable said:
Doesn't work man. :/ The new governors aren't showing up in No Frills CPU..using Cobrato's kernel.
Click to expand...
Click to collapse
err...it should work man..i used JJ hybrid rom, and the modules shows up in the rom control..maybe you should try app other than no frills..

CPU variant

Hi all
I'm quite sure some of you had seen my previous post on trying to find out your cpu variant. What this shows is essentially how much voltage is needed to keep your CPU running at a certain frequency. The less the voltage needed, the higher your CPU variant. This is essentially CPU binning. CPUs with higher variants tend to be of higher quality (i.e. more stable at higher frequencies) so this could help us with undervolting and overclocking on cuatom kernels.
Variants run from 0 to 3, with 3 being the best variant. After digging around in the kernel source, I found out a way to determine your CPU variant.
The command is this (in root shell) :
Code:
cat /proc/last_kmsg | grep "CPU Process"
Make sure if you have busybox installed. Remember, CPU variant is not a big deal, they are all equally capable of 1.4GHz quad core. You cannot change it, you get it by luck/lack of luck. CPUs binned as low variants might actually be better than their assigned variant since these are tested in batches and they take the average of the whole batch.
Example output:
[email protected]:/ $ su
[email protected]:/ # cat /proc/last_kmsg | grep "CPU Process"
[70:01:01 00:00:00.000] Tegra Revision: A03 SKU: 0x81 CPU Process: 0 Core Process: 0
The number after the words "CPU Process" indicate your variant.
Remember: this is only meant to serve as a guideline when undervolting/overclocking comes about with custom kernels.
Doesn't work for me.
someth1ng said:
Doesn't work for me.
Click to expand...
Click to collapse
What ROM are you on? Do you have busybox installed?
You could try this right after rebooting your phone:
dmesg | grep "CPU Process"
Sent from my LG-P880 using Tapatalk 2
my acer a700 gives me the following:
[ 0.000000] Tegra Revision: A03 SKU: 0x83 CPU Process: 2 Core Process: 0
going to try it later on with my o4x.
greetings
peter
Sent from my A700 using XDA Premium HD app
result of my o4x:
[70:01:01 00:00:00.000] Tegra Revision: A03 SKU: 0x81 CPU Process: 1 Core Process: 0
greetings
peter
Sent from my LG-P880 using xda premium
My Result
[70:01:01 00:00:00.000] Tegra Revision: A03 SKU: 0x81 CPU Process: 3 Core Process 0
Edit: Seems like i got a "3" is that good or bad?
just read the second paragraph of the first post...
3 is best so you have been luckier than I
greetings
peter
Sent from my LG-P880 using xda premium
exFAT said:
Hi all
I'm quite sure some of you had seen my previous post on trying to find out your cpu variant. What this shows is essentially how much voltage is needed to keep your CPU running at a certain frequency. The less the voltage needed, the higher your CPU variant. This is essentially CPU binning. CPUs with higher variants tend to be of higher quality (i.e. more stable at higher frequencies) so this could help us with undervolting and overclocking on cuatom kernels.
Variants run from 0 to 3, with 3 being the best variant. After digging around in the kernel source, I found out a way to determine your CPU variant.
The command is this (in root shell) :
Code:
cat /proc/last_kmsg | grep "CPU Process"
Make sure if you have busybox installed. Remember, CPU variant is not a big deal, they are all equally capable of 1.4GHz quad core. You cannot change it, you get it by luck/lack of luck. CPUs binned as low variants might actually be better than their assigned variant since these are tested in batches and they take the average of the whole batch.
Example output:
[email protected]:/ $ su
[email protected]:/ # cat /proc/last_kmsg | grep "CPU Process"
[70:01:01 00:00:00.000] Tegra Revision: A03 SKU: 0x81 CPU Process: 0 Core Process: 0
The number after the words "CPU Process" indicate your variant.
Remember: this is only meant to serve as a guideline when undervolting/overclocking comes about with custom kernels.
Click to expand...
Click to collapse
via adb no output for me at all for both of the commands
edit:
i'm on 20B HK, with busybox installed ofc
I got a 2
Sent from my (V20A, Unlocked, Rooted, CWM, Optimised) LG-P880 using xda app.
gives the following error message
Code:
sh: cat: /proc/last_kmsg: No such file or directory
avomax said:
gives the following error message
Code:
sh: cat: /proc/last_kmsg: No such file or directory
Click to expand...
Click to collapse
Remove the colon after "cat'
Sent from my LG-P880 using xda app-developers app
Didn't work for me. I'm on Cyanogenmod.
Tried with some apps and gave me CPU Variant: 0x2
So i'd like to know which one is it if someone could tell me

[Q] Zencefil 17v

I have a problem with Zencefil V17 on stock kernel. I can't overclock my CPU i tried with no frill's CPU and Antutu CPU master but maximum is only the stock 600 Mhz.
Pls help me.
DeathX8 said:
I have a problem with Zencefil V17 on stock kernel. I can't overclock my CPU i tried with no frill's CPU and Antutu CPU master but maximum is only the stock 600 Mhz.
Pls help me.
Click to expand...
Click to collapse
Does it have the overclock module and does it load properly? As far as I know if you have stock kernel the only way to overclock is via module.
Check system/lib/modules if you have x8oc.ko. I suppose that's the file you're going to use to overclock the phone. If you don't then download it and put it there.
If you have it, open Terminal Emulator and write:
su
dmesg | grep x8oc
You should receive the output that it loaded successfully. If you get no output, the module isn't running.
If you have it and it isn't running, then open Terminal Emulator and write:
su
insmod system/lib/modules/x8oc.ko
This should run the module and allow you to switch frequencies. Start testing the frequencies with whatever CPU app you use.
When you're satisfied with the performance, add the insmod command to hw_config in system/etc and echo the clock value that suits you. You can find more information about this in the x8oc thread. Don't worry about reboots, make a backup before trying, and make sure you don't edit the hw_config file until you're sure the clock is stable.
Thank you it helped. I can now overclock
Hi where pattern settings in the framework.i want change pattern
Sent from my E15i using Tapatalk 2
I think the question above is to be asked in the ROM's specific thread. There are several guys in that thread that are more than willing to help you.

Categories

Resources