PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-13-2010, 05:10 PM
shikyo's Avatar
Lurker
Offline
Pocket PC: AT&T Tilt 2
Carrier: AT&T
 
Join Date: Jun 2010
Posts: 1
Reputation: 0
shikyo is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: FYI, overclock vs. battery

I have a tilt2 and I run Sleep Mode 0 with overclock at 671744. Thats 656Mhz. Short of the usual 768 I did but it gives me sleep mode 0 stable and better battery life... when its asleep. You know its fully asleep when the light turns green.
Reply With Quote
  #2 (permalink)  
Old 12-13-2010, 06:56 PM
manekineko's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Threadstarter
 
Join Date: Jul 2009
Posts: 478
Reputation: 845
manekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: FYI, overclock vs. battery

Quote:
Originally Posted by shikyo View Post
I have a tilt2 and I run Sleep Mode 0 with overclock at 671744. Thats 656Mhz. Short of the usual 768 I did but it gives me sleep mode 0 stable and better battery life... when its asleep. You know its fully asleep when the light turns green.
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.
Reply With Quote
  #3 (permalink)  
Old 12-13-2010, 07:01 PM
zeurx's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Vogue & HTC Touch Pro
Carrier: Former Midwest Wireless forced to Alltel and soon to be Verizon
 
Join Date: Mar 2007
Posts: 415
Reputation: 280
zeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2292
set KERNEL zImage
set initrd initrd.gz

set cmdline "lcd.density=240 7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsens
or_axis=2,1,3 rel_path=andboot hw3d.force=1 acpuclock.oc_freq_khz=726000 physkey
board=rhod500 force_cdma=1"
__________________

Reply With Quote
  #4 (permalink)  
Old 12-13-2010, 07:16 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: FYI, overclock vs. battery

Quote:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2292
set KERNEL zImage
set initrd initrd.gz

set cmdline "lcd.density=240 7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=2,1,3 rel_path=andboot hw3d.force=1 acpuclock.oc_freq_khz=726000 physkeyboard=rhod500 force_cdma=1"
Just to let you know, there were a couple of deprecated commands in your startup. They're in bold/red. They shouldn't hurt anything, but there's no need for them either.
Reply With Quote
  #5 (permalink)  
Old 12-19-2010, 03:27 PM
bzo's Avatar
bzo
N00b
Offline
Pocket PC: HTC Touch Pro 2 / Diamond
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 38
Reputation: 195
bzo is keeping up the good workbzo is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Attached Files
File Type: zip bzo_oc_sleep_fix_kernel.zip (2.33 MB, 56 views) Click for barcode!
Reply With Quote
This post has been thanked 3 times.
  #6 (permalink)  
Old 12-19-2010, 05:54 PM
manekineko's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Threadstarter
 
Join Date: Jul 2009
Posts: 478
Reputation: 845
manekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: FYI, overclock vs. battery

Quote:
Originally Posted by bzo View Post
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.
I can confirm that at least initially, your fix appears to work.

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.
Reply With Quote
  #7 (permalink)  
Old 12-19-2010, 06:47 PM
bzo's Avatar
bzo
N00b
Offline
Pocket PC: HTC Touch Pro 2 / Diamond
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 38
Reputation: 195
bzo is keeping up the good workbzo is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: FYI, overclock vs. battery

Quote:
Originally Posted by manekineko View Post
What was the cause of the issue?
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.
Reply With Quote
This post has been thanked 4 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:39 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com