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 > CDMA TP Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 12-27-2008, 04:18 PM
lafester's Avatar
Almost a VIP
Offline
Pocket PC: EVO3D
Carrier: SERO-P
Threadstarter
Location: Saratoga, NY
 
Join Date: Oct 2007
Posts: 810
Reputation: 751
lafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by raidzero View Post
Does anyone have any suggestions for the VZW TP as to static/dynamic and what size would be optimal? I guess it probably depends on what you use the device for... But does anyone have any basic guidelines? Right now I am using a static 28mb pagepool. I use Bluefire VPN, mocha telnet, office, opera, google maps mainly.

with vzw you have to be careful with ram use so its a bit trickier.
I think you are on the right track.. you will just have to play with it and see whats best for you.
Reply With Quote
This post has been thanked 1 times.
  #12 (permalink)  
Old 12-27-2008, 05:07 PM
LilRico's Avatar
CyanogenMod
Offline
Pocket PC: Samsung Galaxy S IV
Carrier: Verizon Wireless
Location: Orlando, Florida
 
Join Date: Feb 2008
Posts: 1,958
Reputation: 18111
LilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to LilRico Send a message via MSN to LilRico
Re: Guide to changing your pagepool

GREAT WRITE-UP/ GUIDE. The only thing it is missing is how you can check your PP once you modified it and loaded it onto the phone.
__________________
i930, Apache, Titan, Touch Diamond, Touch Pro, Touch Pro 2, HTC EVO 4G, Samsung Galaxy S II, Samsung Galaxy S III, Samsung Galaxy S IV.
Reply With Quote
  #13 (permalink)  
Old 12-27-2008, 05:14 PM
creedin's Avatar
Regular 'Geeker
Offline
Pocket PC: htc diamond
Carrier: vzw
Location: indiana
 
Join Date: Nov 2008
Posts: 324
Reputation: 205
creedin is keeping up the good workcreedin is keeping up the good workcreedin is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to creedin Send a message via MSN to creedin
Re: Guide to changing your pagepool

Quote:
Originally Posted by LilRico View Post
GREAT WRITE-UP/ GUIDE. The only thing it is missing is how you can check your PP once you modified it and loaded it onto the phone.
simple, first, it actually flashes, second, the memory will be less, ie instead of seeing about 203 mb of free ram, you would see 184 for 32 mb, 192 for 24mb
Reply With Quote
  #14 (permalink)  
Old 12-27-2008, 05:42 PM
LilRico's Avatar
CyanogenMod
Offline
Pocket PC: Samsung Galaxy S IV
Carrier: Verizon Wireless
Location: Orlando, Florida
 
Join Date: Feb 2008
Posts: 1,958
Reputation: 18111
LilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation levelLilRico can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to LilRico Send a message via MSN to LilRico
Re: Guide to changing your pagepool

Quote:
Originally Posted by creedin View Post
simple, first, it actually flashes, second, the memory will be less, ie instead of seeing about 203 mb of free ram, you would see 184 for 32 mb, 192 for 24mb
That is correct... I only said something because someone PM'd me about it. Thanks again...
Reply With Quote
  #15 (permalink)  
Old 01-04-2009, 04:58 PM
t3yf5g's Avatar
N00b
Offline
Pocket PC: Motorola MB810
Carrier: Verizon
Location: Pacific NW
 
Join Date: Oct 2008
Posts: 26
Reputation: 10
t3yf5g is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by creedin View Post
...also juicy's rom has a 32 mb page pool in it already so search for 20 16 xx xx xx xx, the xx's being the rest of the string
Juicy had 32? I noticed that it is sluggish compared to Yay 4 Juggs ROM and it has 32.
__________________
Insert signature here...
Reply With Quote
  #16 (permalink)  
Old 01-14-2009, 06:01 AM
FormerPalmOS's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon
Location: Far far away...
 
Join Date: Nov 2008
Posts: 359
Reputation: 1355
FormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by creedin View Post
static = "stays"
dynamic = "dynamite" as in it goes everywhere

just for a little help

you only have to set one of them, static is what i use, a static 32 mb, gives me 184.13 ram

now to change it you have to get a hex editor and search for...

03 15 A0 03 06 16 A0 13 00 10 83 e5 3e

that key, there will be two occurences, change both values (03 15 only) to

"[PAGEPOOL EXAMPLES]

Below are examples of some possible values for the first two bytes of the pagepool offset.

03 15 - Sprint Diamond WM 6.1 stock rom (1.09) default; 12MB dynamic (When viewed under Settings -> System -> Memory, you should have around 203.84MB of Total Program memory available.)
02 15 - 8MB dynamic
01 15 - 4MB dynamic
18 16 - 24MB static (should give you around 191.84MB Total Program memory)
10 16 - 16MB static (should give you around 199.84MB Total Program memory)

[PAGEPOOL EXPLANATIONS AND CALCULATIONS]

"XX 15" pagepools are dynamic based (first byte value multiplied by 4 to determine pagepool size)
"XX 16" pagepools are static based (first byte value multiplied by 1 to determine pagepool size)

03 15 = 0x03 * 0x400000=0xC00000=decimal 12582912 bytes = 12 MB dynamic pagepool
02 15 = 0x02 * 0x400000=0x800000=decimal 8388608 bytes = 8 MB dynamic pagepool
18 15 = 0x18 * 0x400000=0x6000000=decimal 100663296 bytes = 96 MB dynamic pagepool
18 16 = 0x18 * 0x100000=0x1800000=decimal 25165824 bytes = 24 MB static pagepool
10 16 = 0x10 * 0x100000=0x1000000=decimal 16777216 bytes = 16 MB static pagepool
20 16 = 0X20 * 0x100000=0x2000000=decimal 33554432 bytes = 32 MB static pagepool"

copied from http://forum.ppcgeeks.com/showthread.php?t=43110
There is a bit of misinformation here. The approach you are suggestion will indeed change the pagepool but it will always change it to a static value. There is no concept of an XXX size dynamic page pool. Dynamic means the device can use as much RAM as it wants for a pagepool.

The procedure above is changing the value that gets written into a memory manager structure that defines the pagepool size. In ARM assembly language the two bytes being changed represent a constant and a shift value. If the 2nd byte is 16, then the value is the first byte. If the 2nd byte is 15 then the value is 4x the first byte. Thus 02 15 = 08 16 = 8MB pagepool. If you want a dynamic page pool, use 00 15. This establishes the value of 0 written to the memory manager structure (00 16 will yield the same result). Adventuresome non-Verizon folks could try this and see how it goes. Verizon folks should probably NOT try this.

Write the same value to both occurences of xx 15 or xx 16 - eg 04 15 A0 03 04 15 A0 13 will give you a 16MB page pool.

Non-Verizon folks can go for 24MB. Higher is possible but you may reach diminishing returns beyond 24MB. Us poor gimped Verizon folks should go for 8-12 for fully-loaded ROMs, 16MB if stripped down. For every 4MB more of pagepool that's 4MB less of program memory.

Note - the pagepool changer app floating around WILL NOT WORK on Touch Pro ROMs without an additional hex edit. If you are doing hex edits, might as well just make the above change and skip using the pagepool changer.
__________________
ROM: WM6.5 nk.exe (Da_G), sys 23518 (Da_G), VZW OEM pack (scrosler)
Apps: Manila 2.1 (yozgatag), Leo dialer (pyrorob)
Reply With Quote
This post has been thanked 5 times.
  #17 (permalink)  
Old 01-14-2009, 11:13 AM
keaolyen's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Fremont, CA
 
Join Date: Dec 2008
Posts: 170
Reputation: 265
keaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by FormerPalmOS View Post
There is a bit of misinformation here. The approach you are suggestion will indeed change the pagepool but it will always change it to a static value. There is no concept of an XXX size dynamic page pool. Dynamic means the device can use as much RAM as it wants for a pagepool.

The procedure above is changing the value that gets written into a memory manager structure that defines the pagepool size. In ARM assembly language the two bytes being changed represent a constant and a shift value. If the 2nd byte is 16, then the value is the first byte. If the 2nd byte is 15 then the value is 4x the first byte. Thus 02 15 = 08 16 = 8MB pagepool. If you want a dynamic page pool, use 00 15. This establishes the value of 0 written to the memory manager structure (00 16 will yield the same result). Adventuresome non-Verizon folks could try this and see how it goes. Verizon folks should probably NOT try this.
Thanks, this makes sense.

I was reading the first part but the values the OP had in his explanation didn't add up, this does.

Admin should sticky this somewhere, there seems to be a lot of confusion out there about how pagepool is calculated.
Reply With Quote
  #18 (permalink)  
Old 01-14-2009, 11:12 PM
lafester's Avatar
Almost a VIP
Offline
Pocket PC: EVO3D
Carrier: SERO-P
Threadstarter
Location: Saratoga, NY
 
Join Date: Oct 2007
Posts: 810
Reputation: 751
lafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stufflafester knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by FormerPalmOS View Post
There is a bit of misinformation here. The approach you are suggestion will indeed change the pagepool but it will always change it to a static value. There is no concept of an XXX size dynamic page pool. Dynamic means the device can use as much RAM as it wants for a pagepool.

The procedure above is changing the value that gets written into a memory manager structure that defines the pagepool size. In ARM assembly language the two bytes being changed represent a constant and a shift value. If the 2nd byte is 16, then the value is the first byte. If the 2nd byte is 15 then the value is 4x the first byte. Thus 02 15 = 08 16 = 8MB pagepool. If you want a dynamic page pool, use 00 15. This establishes the value of 0 written to the memory manager structure (00 16 will yield the same result). Adventuresome non-Verizon folks could try this and see how it goes. Verizon folks should probably NOT try this.

Write the same value to both occurences of xx 15 or xx 16 - eg 04 15 A0 03 04 15 A0 13 will give you a 16MB page pool.

Non-Verizon folks can go for 24MB. Higher is possible but you may reach diminishing returns beyond 24MB. Us poor gimped Verizon folks should go for 8-12 for fully-loaded ROMs, 16MB if stripped down. For every 4MB more of pagepool that's 4MB less of program memory.

Note - the pagepool changer app floating around WILL NOT WORK on Touch Pro ROMs without an additional hex edit. If you are doing hex edits, might as well just make the above change and skip using the pagepool changer.
this sounds reasonable however the information posted here is not new. I'm wondering why nobody has challenged this before now.

regardless i will update the first post to keep everyone informed.
Reply With Quote
This post has been thanked 1 times.
  #19 (permalink)  
Old 01-14-2009, 11:43 PM
gguruusa's Avatar
Deep Thinker
Offline
Pocket PC: Tin Can
Carrier: Atomic Vibration
Location: Mountain top
 
Join Date: Jan 2007
Posts: 3,252
Reputation: 4726
gguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by lafester View Post
this sounds reasonable however the information posted here is not new. I'm wondering why nobody has challenged this before now.
Can't say I've looked at the assembly instructions, but this explanation doesn't jive particularly well (doesn't mean it's wrong, either) with the settings in a stock rom.
__________________
Grammar: The difference between knowing your shit and knowing you're shit.
Reply With Quote
  #20 (permalink)  
Old 01-15-2009, 12:04 AM
keaolyen's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Fremont, CA
 
Join Date: Dec 2008
Posts: 170
Reputation: 265
keaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Thanks for making the update.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development


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 09:55 AM.


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