Related
Well with all the dual core stuff going on i figured it would be good to make this flashable so it can be used with anything. So here it is, All the credit goes to mike1986 for this technology found in his sensation rom here: http://forum.xda-developers.com/showthread.php?t=1098849 and -viperboy-
On to the good stuff, what this mod does.
It controls your cpu's for a good balance between power and performance by changing the following:
Enables the second cpu while phone is awake
Sets cpu frequency and governor for second cpu
Sets cpu frequency and governor for first cpu
While the phone is sleeping it underclocks the first cpu to 384000 and sets the governor to conservative, also disables the second cpu.
When the battery gets below 25% it will disable the second cpu and underclock the first cpu to 702000 and set the governor to conservative.
With this you don't need to use any other cpu managers ie., virtuous_oc, setcpu, etc.
The file can be edited at /system/xbin/pcm and init.d needs to be enabled on your rom.
Post any ideas or problems you have.
EDIT: I fixed the invalid argument problem occuring in logcat. It was happening cause it kept writing to the file when it was already changed. Fixed it by adding a check.
Users experiencing lag please try the new upload (PCM-DualCore1.1-signed.zip) and see if it works better and post results. Thank You.
Changes:
If you use virtuous oc daemon, i added a file that will work with it. It simply enables the second cpu and underclocks it while its sleeping. It can be used with any other cpu manager because it doesn't effect the first cpu core at all.
Awesome, thanks so much!! This will come in REAL handy!!
Sent from my PG86100 using xda premium
Dual core is awsome!!!!!! Thank you sir!
hTc Evo [3D]
Yes thank you for this
Sent from my PG86100 using xda premium
Yes Thank you for this, I understand everyone here has some computer's background but for guys like me?
I mean, I downloaded this file, what do I do with it?
How do I flash it and activate it?
Some help or a page of instruction would do good here.
Thanks.
luckylui said:
Dual core is awsome!!!!!! Thank you sir!
hTc Evo [3D]
Click to expand...
Click to collapse
So you've noticed a difference?
Sent from my PG86100 using xda premium
Thanks for this. As with everything though, I like to have a clear path back... To be able to turn it off. Would I have to reflash the ROM I'm using to go back? Also, I assume this would work on 2.3.4 ROMs.
Sent from my PG86100 using xda premium
Tiffany84 said:
So you've noticed a difference?
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
There are some differences. That's what we've been working on pretty much all day.
Sent from my PG86100 using Tapatalk
mikeyxda said:
Thanks for this. As with everything though, I like to have a clear path back... To be able to turn it off. Would I have to reflash the ROM I'm using to go back? Also, I assume this would work on 2.3.4 ROMs.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
Just NAND backup before flashing
So, our phones should now have true dual-core integration/hw acceleration? Or am I mistaken?
Leo does this work with 2.3.4. My bad wrote this before the others was posted.
Rooted 3D shooter in full affect
interested in this...
sorry for the noob question, but what do you mean it enables the second cpu? weren't we using both cpu's all this time? isn't that the point of dual processors?
on the other end of things...can the file be editing for more aggressive underclocking when the screen is off, and other steps in between?
Its a huge difference w dual mode! Way way faster at opening things.
hTc Evo [3D]
Max_Pain said:
interested in this...
sorry for the noob question, but what do you mean it enables the second cpu? weren't we using both cpu's all this time? isn't that the point of dual processors?
on the other end of things...can the file be editing for more aggressive underclocking when the screen is off, and other steps in between?
Click to expand...
Click to collapse
It's not a synchronous core. Meaning it only calls on the second core when needed. This hack forces both cores to run all the time when the screen is on.
What are the benefits? Eh. Well have to see. I think HTC set it up the way it is because it's better on battery. I'm interested on a little more info as well though.
Most people from the synergy rom nighties say it has no real difference. Besides...1.2ghz is fast enough for just about every application short a few games even on a SINGLE core
METHOD1911 said:
Leo does this work with 2.3.4. My bad wrote this before the others was posted.
Rooted 3D shooter in full affect
Click to expand...
Click to collapse
I wasn't talking about working on this script. Misfit and I have been working on chanting the ramdisk and creating a similar script. But yes it will work on any firmware due to its hardware related more than firmware.
Also, its fast for sure. But it needs to settle in too.
Sent from my PG86100 using Tapatalk
Leoisright said:
I wasn't talking about working on this script. Misfit and I have been working on chanting the ramdisk and creating a similar script. But yes it will work on any firmware due to its hardware related more than firmware.
Also, its fast for sure. But it needs to settle in too.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
So when the screen is on...does it run both cores at the same clock speed with same governor?
So I went ahead and flashed this. I'm running viper ROM and silverneedle 1.0. I use system panel, and it appears that even after flashing this that core 2 is only being called on when needed. Core 1 is still handling most of the load.
Here's the monkey wrench. The rom supports init.d and also has oc daemon built into it. However, if you use a different kernel than stock on viper it stops the daemon from automatically running on startup. Could this be the same case here?
well I looked at the code and it looks alright. similar to my SetCPU profiles.
I might modify it a little though. i'm on a 4000mAh battery so I don't need powersaver to kick in at 25%
will use it all day tomorrow and report at night.
Could someone please post before and after quadrant or smartbench scores?
Most apps are not multithreaded so they will only use one CPU anyway. Turning the second one on is going to do nothing but drain the battery and it won't result in any increase in speed.
Thanks,
Mike
Sent from my PG86100 using xda premium
Success100 said:
It's not a synchronous core. Meaning it only calls on the second core when needed. This hack forces both cores to run all the time when the screen is on.
What are the benefits? Eh. Well have to see. I think HTC set it up the way it is because it's better on battery. I'm interested on a little more info as well though.
Most people from the synergy rom nighties say it has no real difference. Besides...1.2ghz is fast enough for just about every application short a few games even on a SINGLE core
Click to expand...
Click to collapse
Your not supposed to have the ocdameon, and this script running at the same time. If you are, that would be your problem, as they both will be contradicting eachother. You can only have one, or the other. It says this in the OP, to not have anything else controlling the CPU, but this script. You should prolly flash a different kernel without the dameon, then check it again with CPU master.
Sent from my PG86100 using xda premium
This works with Synergy/Viper ROMS correct? Interested in flashing this and seeing how much battery life it'll save...
can anybody explain for me actual what mean by dual core and single core processor?
as im planing to get a new phone and my mind was thinking about the galaxy s plus which running 1.4ghz single core processor and the optimus 2x which running 1ghz dual core.
can anybody kindly explain to me about the real performance ?i heard that 1ghz dual core optimus 2x can bite 1.4ghz galaxy s plus?
ansonchan said:
can anybody explain for me actual what mean by dual core and single core processor?
as im planing to get a new phone and my mind was thinking about the galaxy s plus which running 1.4ghz single core processor and the optimus 2x which running 1ghz dual core.
can anybody kindly explain to me about the real performance ?i heard that 1ghz dual core optimus 2x can bite 1.4ghz galaxy s plus?
Click to expand...
Click to collapse
DO NOT BUY A LG PHONE ANYMORE!!!
SO...
Single core can't really multitask. It is actually really fast switching between tasks. As you understand now, dual-core DOES . you can run two tasks at... err, don't know the words for that...
Anyway, that's how I thought it was.
Correct me.
And google would have given you the answer also! But I have the Samsung Galaxy nexus now, I would go for that instead of S Plus
Greets!
| ThunderG # Optimus One |
Nitrogen
AOSP, Theme Chooser on Nitrogen
| Maguro # Galaxy Nexus |
working on ICS theme
mDroidd said:
DO NOT BUY A LG PHONE ANYMORE!!!
SO...
Single core can't really multitask. It is actually really fast switching between tasks. As you understand now, dual-core DOES . you can run two tasks at... err, don't know the words for that...
Anyway, that's how I thought it was.
Correct me.
And google would have given you the answer also! But I have the Samsung Galaxy nexus now, I would go for that instead of S Plus
Greets!
| ThunderG # Optimus One |
Nitrogen
AOSP, Theme Chooser on Nitrogen
| Maguro # Galaxy Nexus |
working on ICS theme
Click to expand...
Click to collapse
so the only pros for dual core is only for multi task?
i have been google and what i get is optimus 2x beaten galaxy s plus.
and the 2x is better thn s plus for gaming?
2 cores are needed only for heavy multitasking, one core is enough light multitasking...
My o2x running on miui both core activated by default 1.5ghz.
Nvidia Tegra chipset.
By default(stock rom) dual core run on one core. Until a certain extend if it can't handle when you play gta it will activate the another core.
Simply said. Just imagine a computer running same ghz. But one has quadral core and another dual core.
Sent from my LG Optimus 2X using Tapatalk
crankyboy said:
My o2x running on miui both core activated by default 1.5ghz.
Nvidia Tegra chipset.
By default(stock rom) dual core run on one core. Until a certain extend if it can't handle when you play gta it will activate the another core.
Simply said. Just imagine a computer running same ghz. But one has quadral core and another dual core.
Sent from my LG Optimus 2X using Tapatalk
Click to expand...
Click to collapse
1.5ghz is overlock right?
but it is not every device able to overlock like yours right?
so after u used o2x what do u feel about it?
i mean the real performance,is tat lagfree and fast enough?
No lag at all. Even when i open gta and other games background theres no freeze.
Yup i overclock till 1.5 and not many android phone run that speed . Running on latest miui and swiftextreme kernel.
Try go to o2x forum.
Sent from my LG Optimus 2X using Tapatalk
crankyboy said:
No lag at all. Even when i open gta and other games background theres no freeze.
Yup i overclock till 1.5 and not many android phone run that speed . Running on latest miui and swiftextreme kernel.
Try go to o2x forum.
Sent from my LG Optimus 2X using Tapatalk
Click to expand...
Click to collapse
Bam! All up in yo forums!
Anyhow, how's MIUI for the O2X running by now? My mom's/mum's has the latest stock ROM, and it sucks monkey balls, TBH.
How you doin'? Greetings from my GT-I9000!
but i found on xda galaxy s plus development there,every s plus is able to overlock until 1.8?
if so mean is not for multitasking rather go for s plus?
and o2x have a better gaming experience is it correct?
bassie1995 said:
Bam! All up in yo forums!
Anyhow, how's MIUI for the O2X running by now? My mom's/mum's has the latest stock ROM, and it sucks monkey balls, TBH.
How you doin'? Greetings from my GT-I9000!
Click to expand...
Click to collapse
Truthfully which stock rom is fun to use :banghead:
For me no problem at all. Its a official support of miui from the dev.
Go google and search miui
Sent from my LG Optimus 2X using Tapatalk
ansonchan said:
but i found on xda galaxy s plus development there,every s plus is able to overlock until 1.8?
if so mean is not for multitasking rather go for s plus?
and o2x have a better gaming experience is it correct?
Click to expand...
Click to collapse
It has better gaming experience because of the tegra nvdia chip.
It all depends on you.
Sent from my LG Optimus 2X using Tapatalk
Dude its very simple
Galaxy runs single core at 1.4GHz
i.e 1x1.4 GHz
Whereas lg optimus 2x runs dual core at 1 GHz
i.e 2x1 Ghz + it has 8 core gpu
Sent from my LG-P500
CosmIcEXperia v3.1
goldenleaf-111206-LG
what about motorola atrix?
Same as lg optimus 2x but with 1gb of ram
Sent from my LG-P500
CosmIcEXperia v3.1
goldenleaf-111206-LG
Actually another pro of the multi-core CPU is better temperature management - a dual-core 1GHz CPU produces less heat and respectively has more stability than a regular 2GHz. Otherwise the performance is a little better with a multi-core CPU.
Im getting 3k on 2.0 quadrant benchmark on latest wet dream but when i open device info i see this:
Can someone tell me why its only showing 1 core?
antmiu2 said:
Im getting 3k on 2.0 quadrant benchmark on latest wet dream but when i open device info i see this:
Can someone tell me why its only showing 1 core?
Click to expand...
Click to collapse
The quadrant app has just been updated to support dualcore.
Sent from my MB860 using Tapatalk
ngagephone said:
The quadrant app has just been updated to support dualcore.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
yes but this is the lastest version... i just downloaded it from the app store
Yep. Even if it showed 1 Core it used both of them
most programs like that aren't designed to scna for dualcore cpus.
so if you don't see it its because the software can't see it but its there.
If you get system tunner you'll see yur other core is there hanging out probably doing nothing.
Also most time you might not see the second core because its usually turned off unless your doing alot of stuff or running some really heavy apps.
Hi all, after installing MaartenXDA's ROM, I saw the performance control and wanted advice on a safe frequency to overclock my DX to. Thanks in advance!
Sent from my HTC Desire X using xda app-developers app
Does custom kernel included for overclocking in your custom rom?
Sent from my HTC Desire X using xda app-developers app
imbtrthanu said:
Hi all, after installing MaartenXDA's ROM, I saw the performance control and wanted advice on a safe frequency to overclock my DX to. Thanks in advance!
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
I saw someone said that you can OC the S4 Play to 1.2Ghz but I'm not sure...
Stereo8 said:
I saw someone said that you can OC the S4 Play to 1.2Ghz but I'm not sure...
Click to expand...
Click to collapse
Yes it's made for 1-1,2GHz, but you need a custom kernel. The thing I would like to see more than overclocking are some more governors and schedulers.
The overclocking will gets more power from the battery or ?
[sorry for my bad english, I hope someone understand me ]
we need someone to create a custom kernel for our phone. without custom kernel, we cant overclock our phone.
but i dont see any reason yet to overclock, the current frequency are fast enough for me even for gaming. unless you have a very slow phone, 1ghz single core processor and below it would be good.
i used to overclock a lot on my single core processor phone from 1ghz to 1.2-1.8ghz frequency. of course the higher frequency you're on the more risk you are gonna damage the cpu of your phone and battery because of overheat. from 1ghz, overclocking to 1.2-1.4ghz is safe.
underclocking would be a smart idea though to save battery.
the main reason custom kernel are needed for me are to use some governors and schedulers to save battery or performance.
Thanks guys! Oh, and could someone explain or post a link to a guide on overclocking?
Sent from my HTC Desire X using xda app-developers app
w1040 said:
we need someone to create a custom kernel for our phone. without custom kernel, we cant overclock our phone.
but i dont see any reason yet to overclock, the current frequency are fast enough for me even for gaming. unless you have a very slow phone, 1ghz single core processor and below it would be good.
i used to overclock a lot on my single core processor phone from 1ghz to 1.2-1.8ghz frequency. of course the higher frequency you're on the more risk you are gonna damage the cpu of your phone and battery because of overheat. from 1ghz, overclocking to 1.2-1.4ghz is safe.
underclocking would be a smart idea though to save battery.
the main reason custom kernel are needed for me are to use some governors and schedulers to save battery or performance.
Click to expand...
Click to collapse
imbtrthanu said:
Thanks guys! Oh, and could someone explain or post a link to a guide on overclocking?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
read post above yours
I meant more in depth
Sent from my HTC Desire X using xda app-developers app
I asked this in one of the kernel threads but they move so fast it think it was overlooked.
I wanna know if you should change the frequency of all 4 cores if you use an overclock kernel or just change core 1.
This is the first quad core device I've used an OC/UV kernel on. Every other device I've had had been dual core.
Sent from my HTC One using xda app-developers app