PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   CDMA TP Development (http://forum.ppcgeeks.com/forumdisplay.php?f=68)
-   -   Guide to changing your pagepool (http://forum.ppcgeeks.com/showthread.php?t=50754)

lafester 12-27-2008 02:40 PM

Guide to changing your pagepool
 
1 Attachment(s)
Hopefully this will help some get their pagepools set without too much trouble.

***YOU WILL NEED TO REFLASH YOUR PHONE IN ORDER TO CHANGE PAGEPOOL***

***MODIFYING YOUR PAGEPOOL COULD POSSIBLY DAMAGE YOUR DEVICE***

All credit goes to ruskiyab and his original thread here: http://forum.ppcgeeks.com/showthread...light=pagepool

The first thing you will need is a rom that you would like to modify.
Most likely your rom file will be named RUU_signed.nbh.
There are many differing opinions on what you should change your pagepool to so I will leave that up to debate.
Personally I use a 32mb dynamic pagepool.


http://farm4.static.flickr.com/3217/...60c0501c68.jpg

Next you need to open up your hex editor.
I use XVI32 and it is very easy.
Unzip the attached file and run the .exe. Click on "File" then "Open" and locate the Ruu_signed.nbh file that you would like to modify.
You can see here that I have already renamed the .nbh file to raphimg so that I can flash from my micro sd.

http://farm4.static.flickr.com/3188/...5c9535c473.jpg

After the file is opened you will see a bunch of numbers and letters. Click on the "search" button and then "find".
Copy and paste this string in the field:

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

http://farm4.static.flickr.com/3214/...99f451a411.jpg

The first two numbers 03 and 15 are the ones that show your pagepool. 3 equals a 12 mb pagepool and 15 is the code for a dynamic pagepool.
If your search does NOT bring up any hits then you do not have a stock pagepool.
Check with the chef to see what pagepool they used.

You can modify your pagepool by changing the first number.
Multiply the number by 4 to get the pagepool amount.

"[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 Thanks to creedin for posting :)

http://farm4.static.flickr.com/3291/...d433e87a19.jpg

***IMPORTANT***

After you have changed the numbers you want just click on "Search" again and then "Find Next".
The same string should come up once again. Just change it exactly the same as you just did.

Then Click "save" or "save as" and you are done!
Now flash your new .nbh file and see how much faster your phone runs :)

Thanks, Chris

lafester 12-27-2008 02:51 PM

Re: Guide to changing your pagepool
 
Regarding pagepool changers... to my knowledge there is no pagepool changer for the touch pro as of yet. I know someone was working on it but I am not sure where it stands as of now.

A couple chefs have modified their roms in order to use the current pagepool changer however this is not going to work in most cases. feel free to post your experiences with pagepool changers here as well.

Information about the pagepool changer can be found here:
http://forum.xda-developers.com/showthread.php?t=323269

thanks, chris

creedin 12-27-2008 03:03 PM

Re: Guide to changing your pagepool
 
the problem is the page pool changer doesnt work with dynamic values, only static

esqueue 12-27-2008 03:08 PM

Re: Guide to changing your pagepool
 
Quote:

Originally Posted by creedin (Post 602942)
the problem is the page pool changer doesnt work with dynamic values, only static

I have a few questions for you. From it's name I assume that Static pagepool remains the same while dynamic changes. My questions are, how do I check my pagepool? Do I have to set a value for both dynamic and static or Do I have to pick one?

Thank you in advance.

creedin 12-27-2008 03:17 PM

Re: Guide to changing your pagepool
 
Quote:

Originally Posted by esqueue (Post 602952)
I have a few questions for you. From it's name I assume that Static pagepool remains the same while dynamic changes. My questions are, how do I check my pagepool? Do I have to set a value for both dynamic and static or Do I have to pick one?

Thank you in advance.

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

ruskiyab 12-27-2008 03:17 PM

Re: Guide to changing your pagepool
 
This didn't work for me with Juicy's rom just so you know

creedin 12-27-2008 03:22 PM

Re: Guide to changing your pagepool
 
Quote:

Originally Posted by ruskiyab (Post 602975)
This didn't work for me with Juicy's rom just so you know

there are multiple occurences of 03 15 so make sure you search for atleast half the string, but 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

aceracer24 12-27-2008 03:54 PM

Re: Guide to changing your pagepool
 
Page pool changer is working for juicy's rom and Juggalo's. I can't confirm for any others so this post is not needed for those roms. I know some of the other rom cooks are in the process of making the changer work for theirs as well.

raidzero 12-27-2008 03:57 PM

Re: Guide to changing your pagepool
 
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.

esqueue 12-27-2008 04:14 PM

Re: Guide to changing your pagepool
 
Credin, thanks for that response.


All times are GMT -4. The time now is 07:58 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0