[Q] CM7 CPU DVFS Issues - LG Optimus Black

I'm currently having some frequency issues in ROMs based on CM7 such as official nightly, boype's custom CM7, CiCi ROM and the official Mokee OS release from mfunz.
On all these ROMs, with interchangeable governors, apps (antutu cpu master and setCPU), dynamic voltage/frequency scaling doesn't occur. The frequency of the CPU is stuck at 1GHz, the back of the phone starts to get REALLY hot and the battery fails to last 6hrs even when the screen is off. I'm unable to find out what happens during screen off because i get this error: CPU Spy States Error
There have been times on first boot where, under CPU settings, I can see the voltage being scaled between 300MHz and 1GHz but this has only happened twice out of approx. 15 fresh flashes.
I have tried many things in order to fix it.
> Wipe data/factory reset, wipe dalvik, wipe cache, wipe system then flash.
> As above, then reboot into recovery and only wipe dalvik and cache.
> As the first one, then flash over the already flashed ROM.
> Flash a different kernel (i have tried Zeus kernel but not boype because this same issue happened on boype ROM)
So, i was wondering if any of the developers out there could spare a minute and help a brother out. Mokee OS is soooooo smexy i just wanna USE IT!!!!!

Ok so in the meantime, I tried some new things.
- Tried a official shendu OS, same problem.
- Tried with mod Heuxxx V4.0 MOD which was from the mod CM7 kernel thread.
Also made an interesting discovery. When checking the country frequency in CM7 development settings, not only was the freq. stuck at 1GHz, but the governor was also stuck on performance. Which to my understanding, is either at full speed when on or min speed when screen off.
This would explain the reason why my phone couldn't read states from cpu spy (which I got to work after using setCPU to change governor and freq.)
Maybe the phone, through either setCPU or CM7 settings, can't change the governor even tho it may say that that it is operating under another governor.
Just a quick query, is there any way that I can get the sorta CPU scaling from roms like Zeus or Marvel on any CM7 roms? Because it seems that all these CM7 based roms are either running at peak 1GHz or 200MHz.
Sent from my LG-P970 using Tapatalk 2

Related

[Q] Awaking from sleep mode takes awhile. Normal?

I didn't know how else to title this thread, so I'm hoping this makes sense.
Awhile ago I flashed the CM6 ROM to my Hero. I haven't added much to it, nor adjusted any of the settings. However, when my phone is not plugged in and getting charged, when I hit the End Call or Menu button to bring it from sleep mode, it takes it almost 2 seconds before the lockscreen appears.
I know that a stock Hero will awake from sleep mode almost instantly. And, when I had a previous 1.5 ROM flashed, it took the phone about maybe 1.2 seconds to awake. Is this normal or is there something that I'm missing that is causing this lag? I haven't really installed any misc apps, and I only removed some "bloatware" from the phone (safely, and ones that don't cause FCs).
Any help or suggestions is appreciated.
I know that overclocking a rom adds lag to waking up the lock screen. Did you flash a overclocked kernel or have you had this issue since flashing this rom?
I believe, when I flashed this new ROM, I reverted back to a normal clocking speed. I used to have an OC kernel of 710, but could've sworn I've gotten it back to stock.
Is there a way to get it back to stock speed, if I didn't revert it back, tho?
Bump.
Is there a way to revert the kernel back to stock?
Option
1. If you have OC kernel install, either use setCPU or Overclock widget to set your min and max.
2. If you running ASOP rom, I'm not sure ASOP ROM comes with stock Kernel or OC Kernel. If it come with stock you may just flash the ROM again w/o wiping data, might have to wipe dalvik cache and it should revert back to stock kernel. If it comes with OC kernel, then option 1 would be best.
my .2 cent hope it helps.
Unfortunately, OverClock Widget didn't do anything to fix the problem. :/ And, if it can't fix it, I don't think that paying for SetCPU will fix it either.
Is there a way I can download the stock kernel?
You cab download setcpu for free here on xda or from their website
I forgot what file it is that changes the CPU speed, but I would look into modifying that file. I also have this problem with cm6 8/17 nightly, but did not have the problem with the early test releases
Sent from my HERO200 using XDA App
Thanks a lot, I'm giving it a shot now. I do have a question, tho: when I ran SetCPU, it said that root access was not detected. Is there a trick I have to do with the phone to have SetCPU recognize the phone? I have done some searching, but haven't found much. I tried checking on SuperUser, but it doesn't list SetCPU in it. Plus, when I tap on "Log", it crashes.
Is my phone messed up or something?

Which Overclocking Option?

First off, I have an autonootered 1.0.1 NC which has been upgraded using Decad3nce's Nook Color V1.1.0_r2.
My question is which overclocking option should I try?
I'm using the Eclair 1.1 GHz kernel. It's SUPER snappy, and flashed fine! Make sure you download the one for Eclaire, not Froyo!
http://forum.xda-developers.com/showthread.php?t=925451
Agreed. The 1.1 GHz kernel has been rock solid for me for several days now. If you use it with SetCPU, you can help retain as much battery life as possible, since the 1.1 GHz kernel uses a little more power.
I use:
MAX 1100 MHz
Min 800 MHz
OnDemand
Then set a custom profile for "screen off"
Max 600 MHz
Min 300 MHz
OnDemand
This means when you're using the device, the system will automatically select a speed between 800 MHz and 1100 MHz depending on what the system demands. Then it'll throttle down to either 300 or 600 MHz when the screen is off to conserve power.
I saw a very small difference between the stock kernel and this one in terms of battery life. I still get days of moderate use out of my NC between charges.
Sent from my LogicPD Zoom2 using XDA App
Maybe this is an obvious question: If I flash Decad3nce's Nook Color V1.1.0_r2 rom, but then flash the 1.1Ghz overclocking kernel, doesn't that effectively 'overwrite' the newer kernel from B&N's 1.1 update that Decad3nce incorprated into his r2 Rom?
I'm using the 1.1Ghz one for Eclair. Love it... Running with no issues.
For you other guys... did you set a profile for "Charging" in Set CPU? And if so... what parameters are you guys running? 1100max/600min?
Yes it does. The only way to OC your NC is to install a custom kernel. The majority of the ROM is left alone.
This is what I did:
- Installed CWR from the maket and installed it.
- Flashed 1.1.0_r2 (changed the name to update.zip and did it through CWR)
- Flashed eclair 1.1Ghz (changed the name to update.zip and did it through CWR)
One random reboot. Since then flawless. Over 48 hours.
Question:
I did just as you did, but I installed quadrant and I'm only getting a score of 962. I never had the option in setCPU for turning it up higher than 800 in any profile. Does that indicate that I did something wrong? It's running very stable, but not the screaming speed that others seem to be getting.
jblues1969 said:
Question:
I did just as you did, but I installed quadrant and I'm only getting a score of 962. I never had the option in setCPU for turning it up higher than 800 in any profile. Does that indicate that I did something wrong? It's running very stable, but not the screaming speed that others seem to be getting.
Click to expand...
Click to collapse
Make sure that SetCPU has root access and you should be able to make the changes.
Just checked and SetCPU does have root. Still won't let me go past 800.
Sent from my Nook Color using XDA App
Flashed with the 1.1 and all seems good.
Jblues, sounds like your overclock kernel wasn't installed properly. Did you use ClockworkMod Recovery and ROM Manager to install the 1.1 GHz kernel?
Sent from my LogicPD Zoom2 using XDA App
That's what I was afraid of. OK, I'll work up the courage to try again.
I was using these instructions. Could you take a look and let me know if there's a glaring error in them that could result in failure of the 1.1GhZ kernel install?
jblues1969 said:
That's what I was afraid of. OK, I'll work up the courage to try again.
I was using these instructions. Could you take a look and let me know if there's a glaring error in them that could result in failure of the 1.1GhZ kernel install?
Click to expand...
Click to collapse
Sorry, I didn't see a link to which instructions you were using. Really easy:
1. Put the 1.1 GHz kernel still in zip format on the root of your SD Card.
2. Go to ROM Manager and select "Install ROM from SD Card"
3. Select the zip file you just put on your SD Card
4. DO NOT choose to Wipe Data and Cache. Backing up existing ROM is up to you. Click OK.
5. You'll reboot into ClockworkMod Recovery and the new kernel will install. Should only take a few seconds to install. Then, you'll automatically reboot.
6. Check SetCPU and see if you can now choose 1100 MHz as a speed.
Hi,
I had first version of 1,1. just re flashed with r2 and then flashed 1.1 ghz kernal in the same step.
It works like a charm. Just had to re-map my volume keys like I prefer, and was good to go!
Thank you
My set-up...
I also want to put in a good word for the Eclair 1.1GHZ kernel. I'm running an auto-nootered 1.01 NC upgraded to Decad3nce's v1.10_r1. So far so good with the 1.1GHZ kernel. My Quadrant scores range between 1125 and 1180.
Bonus Tip: Like some other users, while attempting to flash the overclocked kernel I got stuck during the 'clear dalvik cache' step in CWR. Upon clearing the dalvik cache, I would hit the power button but it was frozen and would not send me back to the main recovery menu. As it turned out, I needed to wait ~30 second after clearing the dalvik cache before pressing any buttons. As instructed by another user, I tried this trick on my next attempt to flash the kernel and it worked flawlessly.
Absolutely. the 1.1 kernel works beautifulyy, and the difference is incredible. setcpu works perfectly as well. Some minor install notes
1. I had to reinstall the ADHOC fix wpa supplicant. (20 seconds in root explorer)
2. Like almost everybody, I had to switch on uSB debugging again
3. Somehow zeam grabbed hold of being the defualt launcher and i had to resent softkeys to the default lanucher using switch lancher.
All told maybe a minute of tweaking afetr the final install. it is just gorgeous. There some nice user friendsly instructions, and faster mirrored downloads available here.
http://community.saugususd.org/jklein/weblog/1350.html
Yep, those are the instructions I was using (I don't have enough posts to be able to post links, I guess.) I'll do it again tonight.
Got it done this time. New quadrant score is 1214!!! You guys rock. Thanks!
Glad it worked!

Overclocking CM7

OK. So I am sure I am missing something obvious here. I've done a ton of searching and reading, but I'm still at a bit of a loss.
I am running CM7 with dalingrin's OC kernel flashed over the top of it. I see tons of people overclocking to 1.0 and 1.1 GHz, yet I can't seem to options for doing so.
In CM7 settings under performance, I have options for 100-950. I can O/C to 950 and that's great, but how do people try settings above that? I tried setCPU, but it seems to cap out at 950 as well.
What am I missing?
You need to get a different kernel, such as Dalingrin's, from the android development forum.
Hi,
Looks like you didn't successfully install the overclock kernel, see:
http://forum.xda-developers.com/showthread.php?t=925451
for instructions.
I have been using the CWM install method and am running CWM7 RC4 with
the interactive governor between 300 and 1100MHz.
I usually install the updated CM7 along followed by GAPPS then the
latest OC kernel. Perhaps you installed the kernel before CM7? CM7
comes with its own kernel that overwrites existing kernel when you install CM7.
Hope this helps,
Peter
solinar said:
OK. So I am sure I am missing something obvious here. I've done a ton of searching and reading, but I'm still at a bit of a loss.
I am running CM7 with dalingrin's OC kernel flashed over the top of it. I see tons of people overclocking to 1.0 and 1.1 GHz, yet I can't seem to options for doing so.
In CM7 settings under performance, I have options for 100-950. I can O/C to 950 and that's great, but how do people try settings above that? I tried setCPU, but it seems to cap out at 950 as well.
What am I missing?
Click to expand...
Click to collapse
That is odd. I have never had any issue like that with any of the oc kernels.
My one and only question is if you a sure you flashed the right one successfully?
http://nook.handhelds.ru/dalingrin/kernels/033111/
Note that there are 2 kernels for each ROM-
one is for internally installed (emmc)
One is for sd card installations (sd)
I do not know if any errors would show up if you flashed the wrong one or if there was an error with the download.
My suggestion would be to try again and see if it works.
My response may be too basic- I don't know your knowledge level.
One thing though- IN CM7 it is best to NOT use SetCPU or other apps to change cpu speed, or at least that used to be the case. I don't use them anymore.
rogerdugans said:
Note that there are 2 kernels for each ROM-
one is for internally installed (emmc)
One is for sd card installations (sd)
Click to expand...
Click to collapse
Ding ding ding, we have a winner. I was using the SD version, as I had a bootable CWM SD that I used to get into recovery. Once I loaded the emmc onto the SD card and flashed that, they showed up.
Thanks for all of the replies.
Nice!
Glad I was able to help-
Usually I am just getting all kinds of info and help for my own stuff here. Being able to pay that back is a good thing.
Be sure not to flash a cm7 nightly after you flash the kernel. If you do, you will flash there stock cnn kernel over the oc'Ed kernel
1Enoch said:
Be sure not to flash a cm7 nightly after you flash the kernel. If you do, you will flash there stock cnn kernel over the oc'Ed kernel
Click to expand...
Click to collapse
Actually a good point-
Nothing wrong with updating to the latest nightly but you WILL go back to having the stock CM7 kernel again.
Re-flashing the oc kernel fixes that problem, of course, but you'll need to reset max cpu speed and governor again.

[Q] Screen glitches after standby using 'Overcome 8.9 Series v2.3.1' ROM

Hi,
Very recently i bought a Galaxy tab 8.9 wifi only (P7310), and decided to flash the 'Overcome 8.9 Series v2.3.1' ROM by alterbridge86.
Obtaining root en flashing CWM went very smooth. After full wipe + dalvik wipe I flashed the overcome rom. Still everything was fine and the rom felt very smooth. However, when I woke the tab from standby the first time, my screen was glitching so bad I had to re-boot the tab. After a reboot everything was fine again, at least until i tried to wake it up again. The same glitching occurred..
The strange thing is, during the glitching I could still open apps and everything, so it doesn't look like sleep of death issues i had with custom roms on my Hannspad.
I already tried to flash the rom again and again but every time the same issues. Someone suggested to increase the min. frequency of the cpu to 312Mhz, but this also didn't do the trick..
Right now i'm running the Galaxiansoup ICS rom without any issues, but i would really like to use the camera (for video skype) which doesn't work right now with ICS.
Does this problem sound familiar to anyone? I already searched the dev topic, but couldn't find a solution. Hope you guys can help me out!! Thnx
I added a short video to show what I mean with the glitches, hope you guys can help me out here!
I dont have any issues when use it..p7300
Try to download the file again.. Maybe a bad download make your file corrupt.
Already tried to re download (checksum verified), but unfortunately still the same issue...
Hi Ruurd V.
What Kernel do you use ?
Is it this one ?
http://forum.xda-developers.com/showthread.php?t=1344330
And did you check step
4. Install SetCPU and use to set governor to "interactive" and desired OC frequency (recommend 1.4 to start). The default governor has been set to On Demand on purpose even though it is not the recommended governor to use in SetCPU. Setting the recommended interactive governor will help SetCPU trigger the instructions to sysfs causing it to take hold. Sometimes it is finicky and a reboot can help once you have the interactive governor set with your desired frequency.
Until now I used the kernel that came with the rom. I was under the impression that the rom included the latest kernel.
I tried the kernel from the thread you posted, however the v2d version didn't work for me (no lock screen, no play store acces, home button did not work).
I just flashed the v2c version and that one works fine so far! Haven't tried messing with the cpu though, but for now I will continue using this one! Thanks for the help!
I too had some screen issues with that ROM's kernel until I installed motley's v2d kernel, so yeah, it's the default kernel.

[Q]Overclocking in SemaphoreICS 1.1.1

I am on DarkKnight 5.5, initially with the Devil Kernel (which came with the rom)..Due to battery drain issues i decided to try another kernel so i flashed SemaphoreICS 1.1.1..In NS tools the max overclocking frequency which i cud set was 1000Hz..So I then installed the Semaphore Script Manager app (FOR ICS) which i got from here..http://forum.xda-developers.com/showthread.php?t=1277627..But in the app, the moment i changed the 'Over/Underclocking' frequency (within the 'Kernel Features' list) from 1000Hz to 1200Hz (so that i cud now set max frequency to 1200Hz in NS tools), the phone just restarted and went into bootloop..Flashed Devil via recovery then SemaphoreICS again and tried to change the frequency again but the same result..what should i do, not able to overclock beyond 1000Hz on Semaphore ..Dont want to try another kernel coz on Semaphore i was experiencing a better battery life..

Categories

Resources