PDA

View Full Version : page pool on WM6 Crossbow?


joecruz
27th February 2007, 03:30 AM
Hi, this is my first post. I'm sorry if this has been answered before but I've been searching for days and could not find any info regarding this. Is it possible to change the page pool of windows mobile 6 crossbow? and if it is possible, what is the hexadecimal address? I'm using orwell's crossbow version and i'm very pleased with it but i'd really like to know if it's possible to change the page pool and what is the hexadecimal address

joecruz
28th February 2007, 12:22 AM
cmon guys, i see 80 views on this post but no replies. am i the only one who wants to know this? i'm sure some of the great rom cookers out there have been able to find out what the hexadecimal address for changing the page pool of wm6 crossbow is...unless i'm mistaken and it's actually not possible....but again, the PDAviet versions have large amount of rams available so I'm pretty sure that it is possible.

joecruz
1st March 2007, 12:14 AM
ok, with 146 views, it looks like i'm not the only one who wants to know this. There even might be others who are watching this thread. Please...does anyone know the answer? Faria?Risidoro?Kyphur?Molski?Johnnny? anyone? Or at least let me know if it's possible or not...

double_ofour
1st March 2007, 08:55 AM
Correct me if im wrong but "FOR NOW" its not possible..

email123
1st March 2007, 09:50 AM
Correct me if im wrong but "FOR NOW" its not possible..

It's possible to change page pool on WM6 Crossbow now, you can use a hexeditor and open os.nb, search NKKD8, you will find two places, and at the near second place,you will find the modifying value!!!

double_ofour
1st March 2007, 10:10 AM
are you reffering for a wizard device?

joecruz
1st March 2007, 10:45 AM
wow! i will try it as soon as i get home. if that's the correct hex address then email123 you're awesome! hope it works!

email123
1st March 2007, 11:23 AM
are you reffering for a wizard device?

yes, I am reffering for a wizard device, But I think it is also the same for the other type devices, I'll give a sample with picture when I'm back home!!!

double_ofour
1st March 2007, 01:40 PM
really?.. i know how to in himalaya..

ill give it a try..

mun_rus
1st March 2007, 03:13 PM
pp have been already changed.

email123
1st March 2007, 03:44 PM
really?.. i know how to in himalaya..

ill give it a try..

look the two picture below,the first is wm6chs which pagepool is 60 00(6MB),the second is Molski.Biz_AKU3.3_21911_8MB_Crossbow which pagepool is 80 00(8 MB).

When you search NKKD8 second time then search FF FF FF FF FF FF FF FF 9B 4F FF FF 64 B0 00 00 64 00 00 00 ?? ?? ?? ?? ?? ?? ** **, and ** ** is the modifying pagepool value.

g0dblissyou
1st March 2007, 06:57 PM
If possible to change the page pool on the WM6 which setting would be the best, and stable, ...I think lots of people is wonder the same.

joecruz
2nd March 2007, 12:24 AM
mun_rus..i saw in another thread a screenshot of the about portion of ur wm6 device. In the version tab, yours has about 51MB memory when mine is only 49.73MB. I know that this can only be done if the page pool has been changed...so what exactly is the page pool on ur wizard? and is it stable? also when I changed the page pool on molski's final edition 2.26 from 8mb to 6mb, that specific screen showed about 50+MB. If windows mobile 6 crossbow has a page pool of 6MB also, how come it's only showing 49.73MB on my device?

imisim
2nd March 2007, 04:52 AM
Thanks to the Professor in the follwowing link.

http://forum.xda-developers.com/showthread.php?p=1152849#post1152849

How to find the page pool offset on Hermes ROMs?

Take the Hex editor of your choice (I use radare (http://radare.nopcode.org):D) and open OS.nb.
Search the ASCI string "NKKD8", you'll find it to times, take the one more near to the end of the file.
Scroll down a bit until you find the HEXA string "64 00 00 00", page pool should be around there.

If anyone knows a better method please explain :)

Example using OS.nb from WM6 ROM for hermes
We find the second "NKKD8" at offset 0x3B6C90:


offset 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
----------------+----------------------------------------+----------------.
00000000003B6C90 4E4B 4B44 3800 0000 0000 0005 0000 0000 |NKKD8...........|
00000000003B6CA0 00C8 FFFF 8039 2D80 4060 2880 B069 2880 |.....9-.@`(..i(.|
00000000003B6CB0 B869 2880 AC69 2880 144A 0180 805D 2D80 |.i(..i(..J...]-.|
00000000003B6CC0 602A 2D80 1829 0080 0000 0000 0000 0000 |`*-..)..........|



Further down we can find this:

offset 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
----------------+----------------------------------------+----------------.
00000000003B6F40 581D 0480 C41C 0480 BC1C 0480 00B0 0400 |X...............|
00000000003B6F50 FFFF FFFF FFFF FFFF 9B4F FFFF 64B0 0000 |.........O..d...|
00000000003B6F60 6400 0000 A85B 0480 0000 6000 0000 0000 |d....[....`.....|
00000000003B6F70 38E8 0180 C43C 0280 DC6B 0180 00B0 0380 |8....<...k......|
00000000003B6F80 882D 0280 FC2C 0280 D488 0480 5489 0480 |.-...,......T...|


So, we can see the page pool is at offset 0x3B6F6B and is set to 6 Mb.

The pagepool value is specified in HEXA, so for example:

Change "6000" to "4000" for a 4Mb paging pool
Change "6000" to "8000" for a 8Mb paging pool
Change "6000" to "C000" for a 16Mb paging pool


Finding the best page pool size

The page pool size is a compromise between memory available to programs and speed. On WM6 ROM:

With 4Mb page pool we get a Total Program Memory available of 50.68 Mb, and SPB Benchmark index 347.88.
With 6Mb page pool we get a Total Program Memory available of 48.68 Mb, and SPB Benchmark index 346.03.
With 8Mb page pool we get a Total Program Memory available of 46.67 Mb, and SPB Benchmark index 345.95.
With 12Mb page pool we get a Total Program Memory available of 42.66 Mb, and SPB Benchmark index 348.53.


The pagepool size is for the same OS and should be the same for the Wizard.

mun_rus
2nd March 2007, 07:28 AM
@joecruz

my pp is 4mb, and i moved some modules to another place so i could got more free memory

joecruz
3rd March 2007, 03:53 AM
wow this works!! i went ahead and changed my page pool to 4MB and i now have a Total Program Memory available of 51.73MB with around 28MB free after a soft reset (i have loads of stuff installed!!). Thanks!!

g0dblissyou
3rd March 2007, 10:30 AM
Hi, I'm trying to edit the wm6 os file too with hexedit but i'm unable to find the it for wm6 on the wizard. Is anyone using hexedit like I am, to change the wm6 pool for the wizard that can point me or show me a pic of where it is?

joecruz
3rd March 2007, 05:08 PM
i used XVI32, the hex editor application provided by Faria in his tutorial post "how To" Change Page-pool On A Htc Wizard Rom. Instead of looking for the NKKD8 (which i couldn't find), use the address that's on the screenshot provided by email123 which is 387540. Just make sure that the line matches the one in the screenshot which is FF FF FF FF FF FF FF FF 9B 4F FF FF 64 B0 00 00 64 00 00 00 A8 5B 04 80 00 00 60 00. Depending on your hex editor, it may take you down a line or 2 (meaning either an address or 2 below the one I mentioned). Then just change 60 (the second to the last set of digits on the line above) to 40 for 4MB page pool, save it and repack your 80040000.OS and that's it!