|
![]() |
|
LinkBack | Thread Tools | Display Modes |
|
|
||||
Re: FYI, overclock vs. battery
You managed to run both sleep mode 0 and overclock at the same time? Can you post your startup.txt? I'd like to try that.
|
|
||||
Re: FYI, overclock vs. battery
just leave the pm options out and run oc options... but this way 12% in around 6-7 hrs
Quote:
|
|
||||
Re: FYI, overclock vs. battery
Quote:
|
|
||||
Re: FYI, overclock vs. battery
I have a fix for using sleep mode of 1 while overclocked. I haven't tested 0, but it should work if 0 works normally. I was under the impression that the sleep mode of 0 was broken.
Test kernel attached. I'll get the patch submitted as soon as I get at least a few reports of success. |
This post has been thanked 3 times. |
|
||||
Re: FYI, overclock vs. battery
Quote:
I tested this by adding overclock, and setting sleep mode to 1 on a regular kernel. I then booted my phone 3 times and put it to sleep, waiting until the green light came on (this actually took quite a few more than 3 boots, because most of the time the green light would never come on). After the green light came on, I attempted to wake the phone with the power button. In all 3 cases, the green light changed orange but the phone did not wake. I then installed your kernel, while keeping everything else the same. I booted, and then put the phone to sleep. Green light came on, I successfully woke the phone. What was the cause of the issue? I'm going to update first post and ask for more testers. |
|
||||
Re: FYI, overclock vs. battery
Normally, the PLL2 clock is setup to run at 1056mhz and divided by 2 for the regular 528mhz top speed of the cpu. The max speed of PLL2 is 1200mhz, so if a 2 divider is used, the max frequency possible is 600mhz. So for overclocking, we skip the divider and use the frequency directly so that frequencies above 600mhz are possible.
It appears that in the deeper sleep modes, the clocks are automatically being shut down and powered up again on wake up. The wakeup assumes that PLL2 should be brought back up to 1056mhz and does not reset the divider back to 2, so the cpu is trying to run at 1056mhz which will obviously not work. The fix checks that PLL2 is being run at the frequency we expect at wakeup or whenever the cpu frequency is changed, and corrects if necessary. |
This post has been thanked 4 times. |
![]() |
|
|
|