View Single Post
  #1 (permalink)  
Old 12-27-2008, 02:40 PM
lafester's Avatar
lafester
Almost a VIP
Offline
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)
Guide to changing your pagepool

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.




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.



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



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



***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
Attached Files
File Type: zip xvi32.zip (482.3 KB, 183 views) Click for barcode!

Last edited by lafester; 12-27-2008 at 04:16 PM.
Reply With Quote
This post has been thanked 7 times.