PDA

View Full Version : Faria/RISIDORO "how To" Change Page-pool On A Htc Wizard Rom.tutorial


faria
16th November 2006, 04:06 PM
This is A "how to" change the htc wizard page pool from 12mb to 8mb.

Due to a recent hard drive failure [dropped in the floor an Maxtor 300gb external drive] a lost all my backup data including the notes to cook roms and settings to change the page pool of the wizard.
After 2 week of contacting people that had such info prove fruitless [nothing new] RISADORO SEND THE INFO LAST NITE. THANKS YOU VERY MUCH BROTHER.
I believe that this info should be available to every one, and not hidden like the crown jewels.

so here is how to it;

Download the files fom HERE (ftp://xda:xda@ftp.xda-developers.com/Wizard/Docs_Tutorials/htc-wizard-pagepool-tutorial.rar),
unrar a run the XVI32.exe
Go to file, open and browse to the folder that contains your 80040000-OS_0.nb or nk.nba file select the file, open.....
Now go "address" and select "go to" a box will pop up, select "hexadecimal?" and input the following value; 3ec8ae now change the C0 VALUE TO 80
Go to file and save, that’s it u are done. Now u have an image with 8mb paging pool.
Now use the nb2nbf.exe tool [search here in the site for it if you don’t have it] to convert the 80040000-OS_0.nb image back to nbf.

THERE IS A TUTORIAL INSIDE THE RAR WITH PICTURES.

Please do not ask how to cook the rom, this tread is only about changing the paging pool
All the info related has been posted millions of times.

Special thanks go to maimaich, MDAIIIUser and risidoro,for all their help.

faria
16th November 2006, 04:28 PM
it seems that the ftp is not working properly.download later
working now.

da_mayhem
16th November 2006, 05:33 PM
A great How-to from the Great Faria..Thanks Man!

faria
16th November 2006, 09:10 PM
A great How-to from the Great Faria..Thanks Man!
you are welkome buddy.

cuboosh
16th November 2006, 10:00 PM
un.......real!

slimag
21st December 2006, 10:06 PM
hmm have you guys any experience with more variants of amount of paging pool (oh my english is horrible) how about 4mb? or 16mb?

a-h-t1
22nd December 2006, 02:45 AM
faria i want to thank you for this tutorial but first tell me please whats paging pool ? is it neccessary to do it and also will this work on I-mat K-jam

i'm not a newbie in computer but in PPC world i'm new so bear with me

thanx

jwzg
23rd December 2006, 05:09 PM
How do we change to 12mb? It's nice to have 30 mb of free program memory.

risidoro
26th December 2006, 02:39 PM
BTW, my nick is RISIDORO and not risAdoro!!! :P

faria
26th December 2006, 03:24 PM
How do we change to 12mb? It's nice to have 30 mb of free program memory.
simple ...just do the reverse.


risidoro BTW, my nick is RISIDORO and not risAdoro!!! :P
changed :D

jwzg
26th December 2006, 06:24 PM
simple ...just do the reverse.



So most all rom's have 12mb as standard?

dkb218
26th December 2006, 08:59 PM
I know ye GODS have problems answering us mere mortal trolls but please - what the gosh darn heck is page pool?

{Lightning stricks - thunder peels - "You dare ask us Immortals such simple questiions...."}

Why yes I do Zeus-O-B-Won-Skywalker!!! Please Bless us with thou knowledge!!!

And please don't answer with, "if you don't know what it is, you don't need it!"

risidoro
26th December 2006, 10:48 PM
I know ye GODS have problems answering us mere mortal trolls but please - what the gosh darn heck is page pool?

{Lightning stricks - thunder peels - "You dare ask us Immortals such simple questiions...."}

Why yes I do Zeus-O-B-Won-Skywalker!!! Please Bless us with thou knowledge!!!

And please don't answer with, "if you don't know what it is, you don't need it!"


Let me understand, please:
What's the point in asking for information and offending the people you're asking to at the same time? Do you think they'll give you an answer sooner? Or, instead, they'll be pissed off enough to 'forget' your question or to delete your post?

Anyway, since i'm not one of the GODS you swore in your post (so i'm not offended), i'll give you the answer. Next time, however, be nicer and more polite... and google before asking.

The page pool is the WM5 equivalent to the page file on a desktop OS.
This is how Mike Caligaro (WM5 developer) describes page pool:

The Page Pool
Applications use RAM in two ways. There is code that runs, and there is data that is created while it is running. On a NOR device, the code can run directly from the ROM and not be loaded into RAM first. This process is called XIP (eXecute In Place). NAND devices can't XIP, so their code is loaded into RAM and executed from there. If you don't have a Page Pool, this code is loaded into normal RAM. The Page Pool is a mechanism to limit how much code is loaded into normal RAM. With a Page Pool, we can unload code that hasn't been used in a while and reload it later if we need to. We can't do that without a Page Pool.
The full article the text above was taken from is available here: http://blogs.msdn.com/windowsmobile/archive/2005/11/17/494177.aspx

Wizards normally use 12MB page pool, the tutorial in this thread explains how to limit the page pool size to 8mb. The smaller the page pool, the greater the ram left free to the applications. By reducing the page pool from 12mb to 8mb we free 4mb of ram (so you can have 30mb of ram free instead of 26mb). Of course we can't shrink the page pool too much because it is required to load applications' code. 8mb is the best tradeoff.

Bye bye

dkb218
2nd January 2007, 08:48 PM
Let me understand, please:
What's the point in asking for information and offending the people you're asking to at the same time? Do you think they'll give you an answer sooner? Or, instead, they'll be pissed off enough to 'forget' your question or to delete your post?

I thank you for your answer... Maybe you didn't understand my post. Taken from the context of other post it would seem that certain of the new mods/use to be posters, were taking offense to what they termed "redundant" questions. They seemed to get rather pissed at these people for asking such questions over and over and over... well you get the point...

I phrased my question in such a way as to appease the rom creators. Not to offend them as you put it. However, if my post did offend anyone, it wasn't meant to... It was meant as humor... I know, I'll keep my day job!

Once again, thanks for the answer... My MDA is reaching the end of it's life anyway... Looking for the next great device but will have to make this thing work until T-Mobile USA gets it 3-G up and running...This year? Next year?

RaleighB
3rd January 2007, 06:08 PM
Hey Does this work for the G4 model Wizard? Your responce is appreciated, sirs or madams.

Kind Regards,
RaleighB

faria
3rd January 2007, 06:15 PM
Hey Does this work for the G4 model Wizard? Your responce is appreciated, sirs or madams.

Kind Regards,
RaleighB
yes.........

faria
3rd January 2007, 06:17 PM
So most all rom's have 12mb as standard?
all wizard roms come in 12 mb flavor.

RaleighB
3rd January 2007, 06:23 PM
Thanks for the update. Will take advantage of the shareware.

Regards,
RaleighB

cyberdrakula
5th January 2007, 11:51 PM
This info was really helpful in oversoming some problems that I was troubleshooting for one of the apps that I am doing.

Thanks guys !

Yo'all Rock!

tuanlinh
14th January 2007, 03:30 AM
Actually, I can not find the folder containing the file 80040000-OS_0.nb or nk.nba.
Could you pls show me more details about how to do it ?

Thank u ! :)

leepriestenator
19th January 2007, 03:38 AM
1) Are there any problems we can expect by doing this?
2) Also is this compatible with all ROM versions?
3) Since we are limiting the page pool to 12MB, will that lead to any significant slowdown of the wizard?

TIA

Faria... much appreciated.

RMARTINS
24th January 2007, 12:25 PM
A great How-to from the Great Faria..Thanks Man!

Hello, please i need urgent help.
I have a Qteck s200 lock to TMN and i try to update the Rom.
First i use DOWNGRADE and my phone never boot up again.
Now i can upgrade the new rom "ID VENDOR ERROR"
What can i do.
Please im a Rookie and i am desperate.

Best Regards.
Ricardo Martins:mad:

zetajunkie
1st February 2007, 06:43 AM
hey! nice work! i have a handy-capable question. i am trying to tweak the 8mb pool up to 12 (from 8, for shits and giggles)in faria's new piece (and it's a lovely piece at that)and i have a question or 3.

1. when i use the tool to open and edit the nk.nbf file, i cannot seem to find the correct hex number... or do hex numbers get displayed from right to left?
2. the images attached to the tutorial are crystal clear, i noticed that the text says to search out 3ec8ae, but the pic says to search out 3ec8aa (which isn't there). or was the pic just an example of using the editor?
3. why do we all love these things so much?

risidoro
1st February 2007, 08:10 AM
hey! nice work! i have a handy-capable question. i am trying to tweak the 8mb pool up to 12 (from 8, for shits and giggles)in faria's new piece (and it's a lovely piece at that)and i have a question or 3.

1. when i use the tool to open and edit the nk.nbf file, i cannot seem to find the correct hex number... or do hex numbers get displayed from right to left?
2. the images attached to the tutorial are crystal clear, i noticed that the text says to search out 3ec8ae, but the pic says to search out 3ec8aa (which isn't there). or was the pic just an example of using the editor?
3. why do we all love these things so much?

I'll answer you backwards:

3 - 'cos we all need a lot more sex :)
2 - i don't remember the photo but you don't care since the address is changed in aku3.3 (i didn't write the tutorial, i explained faria how to change the page pool and he wrote it)
1 - you cannot find the address 'cos it's no more there. The position of the string is changed in aku3.3

To change page pool IN AKU3.3 AND ONLY IN AKU3.3:

- Extract OS part from nk.nbf (i think this is explained in the tutorial)
- Hex edit 80040000-OS.nb
- Go to: 3EC8BE (hexadecimal address).

The following are the values you can put there:
-- 'C0' if you want 12mb
-- '80' if you want 8mb
-- '60' if you want 6mb
-- '40' if you want 4mb
- choose only one of these of course!

- Save the file
- re-assemble nk.nbf using nb2nbf.exe (this should be in the tutorial too)
- flash in your phone
- enjoy :)

bye

zetajunkie
1st February 2007, 01:55 PM
wow, thanks!, i'll get down to it when i get home tonight! i haven't had any issues as of yet with the 8mb pp, but i figured why not test the waters all around? (glad i asked instead of randomly "fixing" the hex...)

epimazzo
25th February 2007, 12:42 AM
First off, thanks Faria for this great shot!;)

Have some doubts behind which I need clarify: :confused:

(a) Doesn't matter which ROM are you using to perform this procedure?
(B) After you've done, should we reflash it again or just restore data to keep going?


Thanks alot!:)

charly_mx
27th February 2007, 10:10 PM
Hello m8, mmhh i see that Wizard is officially death but why ?? did i missed something???

joecruz
1st March 2007, 02:10 AM
Does anyone know the hexadecimal address to change the page pool in windows mobile 6 crossbow?

klavier
19th March 2007, 11:07 PM
If I'm only looking to change the page pool size, can I create a .nbf file with just the OS image in it and flash that? Will that leave all my applications, etc. intact or will it wipe out all the other images and leave me with a doorstop?

Yes, I know enough to do a full backup first anyway but I'm looking to do some testing and I'm hoping I can save some time.

turk2000
26th March 2007, 09:55 PM
Faria why dont you have a our own web site anyway? so this way we woulnt waste time with alot of text just we would look for you on the web :-)
peace!
Turk2000

lyger
28th April 2007, 01:49 PM
The ms guys say that you can have a automatic pagepool in that it can use all available ram for code and data, does anyone know how to set it.
" If you don't have a Page Pool, this code is loaded into normal RAM. "
maybe 00 or the equivalent to -1 ffffff??

I would like to test this but have found no information anywhere on the net to set it in this way.
thx

I can hexedit the rom easily. just require the correct set of values

mattk_r
29th May 2007, 07:31 AM
Does anyone know the correct hex address for the pagepool in the OS version 5.2.1413?

Is the value reference still the same as well?

-- 'C0' if you want 12mb
-- '80' if you want 8mb
-- '60' if you want 6mb
-- '40' if you want 4mb

Is there a way to verify this on the phone after flashing a rom?

I'm looking at address 3EC8AE and I see A0, 3EC8BE has 79. By the different values than what I'm assuming I should have listed, I'm not in the right place.

Thanks!!

jcespi2005
30th May 2007, 09:50 PM
Does anyone know the correct hex address for the pagepool in the OS version 5.2.1413?

Is the value reference still the same as well?

-- 'C0' if you want 12mb
-- '80' if you want 8mb
-- '60' if you want 6mb
-- '40' if you want 4mb

Is there a way to verify this on the phone after flashing a rom?

I'm looking at address 3EC8AE and I see A0, 3EC8BE has 79. By the different values than what I'm assuming I should have listed, I'm not in the right place.

Thanks!!

I was asking myself the same....

Any help?

edhaas
31st May 2007, 12:14 AM
I third that request. I have looked also using the "old way" of searching for the NKKD8 string twice, then searching for 64 00 00 00, that method gets me to hex 37855A, which has a value of 40. So far, the most likely values would be the A0 (which I'm guessing would be 10mb) and the 40 (which would be 4mb). Hope someone can come along and clarify this for us. Is there a spot in the dump where we can look?

Regards,:confused:

peter petrelli
31st May 2007, 01:11 AM
To matt_kr, jcespi2005, edhaas.

Could you three members please read the wiki? It annoys me to have to tell senior members of this forum to read the wiki.

Thanks

edhaas
31st May 2007, 05:38 AM
To matt_kr, jcespi2005, edhaas.

Could you three members please read the wiki? It annoys me to have to tell senior members of this forum to read the wiki.

Thanks

Well, I can only speak for myself, but I did read the wiki, and I did what it said, and we are all reporting that the answer is no longer clear. I did this before with previous roms, and there was no discrepancy. We are getting ambiguous answers. Can you tell us which is correct, or if there is another method applicable to this particular rom?
Appreciate the attempt to help though.

peter petrelli
31st May 2007, 06:39 AM
You have to locate a string that looks like this:

FF FF FF FF FF FF FF FF 9B 4F FF FF 64 B0 00 00 64 00 00 00 ** ** 13 8C 00 00 40 00.

This is the NKKD8 string. You'll find this string somewhere around the second occurence of NKKD8.

The asterix denotes the build specific part of the string, dont worry about that part.

edhaas
31st May 2007, 07:12 AM
Well, yes. That's what I got as well. You can see my method in my post. (Which was the same as yours.) However, that disagrees with other instructions in the "sticky", actually in this thread. Are you pretty clear that this is the authoritative answer?

Thanks,

peter petrelli
31st May 2007, 07:49 AM
Its virtually the same method. Look in the picture in the original tutorial, the same string is highlighted.

jcespi2005
31st May 2007, 12:37 PM
To matt_kr, jcespi2005, edhaas.

Could you three members please read the wiki? It annoys me to have to tell senior members of this forum to read the wiki.

Thanks

ey man, don't care about that, nobody is perfect :)
In my case, i actually use Hermes as production PDA, so i have my Wizard only a bit forgiven...You are right, the info is in the Wiki...

Regards.

edhaas
31st May 2007, 04:51 PM
Its virtually the same method. Look in the picture in the original tutorial, the same string is highlighted.

I feel like we're pounding sand here, but according to faria in the first post of this thread:

Now go "address" and select "go to" a box will pop up, select "hexadecimal?" and input the following value; 3ec8ae now change the C0 VALUE TO 80
Go to file and save, that’s it u are done. Now u have an image with 8mb paging pool.

So, look at it as we're reporting that the address has changed in this rom.

Thanks again for your help in clarifying this.

obsydian
17th June 2007, 05:41 PM
Hi, some help here, i'm a bit lost.

I downloaded and unrar the files, the ran the XVI32.exe file from my desktop (is that right, would not run on my Wizard ???).

From the deskptop the display box is empty and i cannot select (not highlighted) the address, etc...

Thanks in advance.

jerba
20th June 2007, 08:41 PM
I cant find 80040000-OS_0.nb or nk.nba on my device, Runing faria WM 6?

I also cant find nb2nbf.exe to download!?

Thnx for help!!!

amar963
30th August 2007, 02:20 PM
How can I know if I have 12, 8 or other page-pool?

Is it a selly question? :)

Thanks

mestrini
10th September 2007, 11:59 PM
How can I know if I have 12, 8 or other page-pool?

Is it a selly question? :)

Thanks

Once i release the new version of WST (v0.4) you'll be able to find that out in a few seconds... and also change the value with a click of the button.

cheers

EDIT:
Released: http://forum.xda-developers.com/showthread.php?t=329170 :D

bill4676
13th November 2007, 07:04 PM
faria i want to thank you for this tutorial but first tell me please whats paging pool ? is it neccessary to do it and also will this work on I-mat K-jam

i'm not a newbie in computer but in PPC world i'm new so bear with me

thanx

hope this help you
it seems that the smaller the pool the better

Finding the best page pool size

The page pool size is a compromise between memory available to programs and speed.

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.

character
17th November 2007, 09:50 PM
GReat tutorial another lessoned learnt

Casindrex
19th June 2008, 06:23 AM
So this is my first post. I have the Wizard, I succesfully fully unlocked it, I'm using NBD v9.1 and absolutely none of that was relevant to my question.


Where do I find the 80040000-OS_0.nb? Now I know about three other people asked this question but I didn't see a response for it(I'm known to be blind) so I figured the answer was either PM'd to them or not answered. Reguardless, I'd like an answer. Is the file inside the already compiled ROM? And if so does that mean we have to open the rom we want, change the page file in there, and then reflash our phones? Or can you do it without re-flashing?

Thanks for any response and all that jazz.

mestrini
19th June 2008, 12:51 PM
So this is my first post. I have the Wizard, I succesfully fully unlocked it, I'm using NBD v9.1 and absolutely none of that was relevant to my question.
Nice intro :D

...Or can you do it without re-flashing?

Thanks for any response and all that jazz.

As i said a few posts above you can use WST (Wizard Service Tool) that applies all the know-how shared by those clever guys in a single click of a button ;)

Cheers

Casindrex
27th June 2008, 01:28 AM
Thanks man, I used that tool and it worked like a charm. Thanks, and thanks to the people who made it!