yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] dsixda:
Excellent work as always.. you should write a guide for this. I have it open in IDA but I think I got my offsets wrong so it looks like nothing to me.
[Touch GSM ROM Development] dsixda:
I think XIPs were from Kaiser. They were straight copy, but SYS were ports... OEM was Elfin of course.
[Touch GSM ROM Development] !Aman!:
hehe, i don't think we need to write a guide for this feature. its only for the cooks and i guess they (u, me, koko, ameet etc) already know it. and also it is device specific, so it may not work for other devices.
[Touch GSM ROM Development] !Aman!:
:rolleyes: r u sure? i really doubt it.
[Touch GSM ROM Development] dsixda:
Onyx 1.0, 2.0, 2.2.. Kaiser 6.1 XIPs ;-) Might be Experia, but I'm almost sure it's Kaiser.
[Touch GSM ROM Development] dsixda:
Hey I need a guide :)
[Touch GSM ROM Development] !Aman!:
no way. just copy out the OEMXIPkernel from a kiaser's XIP.bin, cook it in ur kitchen and test.
[Touch GSM ROM Development] dsixda:
Dude, I'm going to sleep.. it's past 5am and I have to host a party at my place in a few hours LOL :) My life has evolved (or devolved?) to just sleep and XDA.

Ask ayyu3m, he can confirm the XIP, as he was helping me w/ the porting.

Take care and thanks!
[Touch GSM ROM Development] !Aman!:
alright... i'll ask him :D
[Touch GSM ROM Development] ayyu3m:
heyllo bro. as much as i want to believe on that xip straight from other devices are possible, the experiments have proved wrong.

i never had any xip which was straight from another device working straight man. i think dsixda maybe mistaken by the fact when we extract xip.bin, the old modules and files in the OLD_XIP folder and ROM\XIP folders in koko's kitchen are used to create the final XIP for our ELVES.

i repeat, that i have tried many times XIP''s that have been extracted and placing them directly in the kitchen doesnt boot my elf. and so i have to get hold of the xip.bin and extract via kitchen....which does as said above
[Touch GSM ROM Development] dsixda:
Hmm.. it's been a while since we did those experiments.. But I kind of remember just using the XIPs from the Nike kitchen. And for me, some of them worked with straight copy, and others caused the device to hang.

Anyway it was back when I was a newb so I probably didn't understand it enough either. I think ayyu3m is right when he said we did the xip extraction via Koko's kitchen.
[Touch GSM ROM Development] !Aman!:
yeah, thats what i'm saying that u can use another device's XIP as such. we can only use MSXIPkernel from that after porting.
[Touch GSM ROM Development] dsixda:
Ok, another update to the Universal PP Changer... This time we can handle 3.xx ROMs with ULDR removed. I have tested it.

A huge thank-you to htctouchp for allowing us to remove the ULDR and thus make our ROMs 3MB smaller!!!!!
[Touch GSM ROM Development] chihliouma:
Hi DSIXDA, does that mean you will relaese another version of PP changer soon ?
[Touch GSM ROM Development] dsixda:
yes, it's already there... that's why I posted the message..
[Touch GSM ROM Development] chihliouma:
You mean the one in the post 2 of this thread ? Sorry I thought it was still the previous one. I'll try later. But just let me to uncerstand more clear that by using this new PP changer, I can save 3M ?
[Touch GSM ROM Development] !Aman!:
no, PP changer doesn't give u extra space. if the ULDR partition is removed from the ROM that u are using, only then it gives u extra space. Dsixda meant that new PP changer works for those kinds of ROMs where ULDR partition has been removed.
[Touch GSM ROM Development] chihliouma:
Thanks for the explanation.
[Touch GSM ROM Development] dsixda:
Hi charlie, sorry for the confusion. You will expect to see the smaller roms in the future.
[Touch GSM ROM Development] vadyarik:
Hi dsixda!

I'm not working PP changer :confused: ROM with ULDR removed.

At the same time, I easily changing PP manually in HEX.
[Touch GSM ROM Development] dsixda:
Did you use a 2.2x ROM for your Os.nb.payload?
[Touch GSM ROM Development] vadyarik:
No. I use 3.07. Os.nb.payload with msflshtool.exe
[Touch GSM ROM Development] dsixda:
Which ROM is this, and from which XIP?
[Touch GSM ROM Development] vadyarik:
OC CE 5.2.20921 Build 20921.1.5.0
[Touch GSM ROM Development] dsixda:
Hmm.. that's probably why. It's not Elfin 3.xx. Which ROM?
[Touch GSM ROM Development] chihliouma:
Hahaha, no problem DSIXDA. Waiting for your new ROM.....:D:):p
[Touch GSM ROM Development] vadyarik:
dsixda, do not worry! PP Changer is great!

I made some changes in their kitchen, now everything works fine.

Thank you for the update!:)
[Touch GSM ROM Development] crapula512:
Working great on elfin with IPL: 3.10.0002 and SPL: 3.10.cmonex.

ROM: TESS 3.1

thx 4 your work
[Touch GSM ROM Development] :
Elf 1.1x (1.11.410.1B) ROM
Current PP setting: 8 MB

(0) 0 MB
(1) 1 MB
(2) 2 MB
(4) 4 MB
(6) 6 MB
(8) 8 MB (default)
(12) 12 MB
(q) Quit

Select option: 12
Writing 12 MB page pool
CopyFileToTFFS(12_1.1.nb:0, 37b55a, 00000001)
Rebooting
result=80072746
Waiting for ActiveSync connection ...
CopyTFFSToFile(0xac, 0x3, ram.txt)
CopyTFFSToFile(0x43270, 0xc, pp.raw)
CopyTFFSToFile(0x6b540, 0x10, pp.raw)

Elf 1.1x (1.11.410.1B) ROM
Current PP setting: 12 MB

Reboot time: 99 seconds

(0) 0 MB
(1) 1 MB
(2) 2 MB
(4) 4 MB
(6) 6 MB
(8) 8 MB (default)
(12) 12 MB
(q) Quit

Select option:

working great
[Touch GSM ROM Development] eldrid:
what is the ideal page pool that u guys recommend for an elfin? i found not much difference with 16 mb over the 12 mb default. and 18 mb seemed a tad bit slower.
[Touch GSM ROM Development] dsixda:
Depends from ROM to ROM. 0, 12, and 16 are very similar to me. Just run the PP Changer and do 5 test runs of each PP value to get the boot time average (this time is shown in the program).
[Touch GSM ROM Development] eldrid:
i use the onyx 4.1 which had a default pagepool of 12mb.
[Touch GSM ROM Development] dsixda:
Yeah, and?
[Touch GSM ROM Development] eldrid:
and....u created it so what do u think is the ideal pp. those boot up times are always different..
[Touch GSM ROM Development] dsixda:
See my response about 3 posts earlier.
[Touch GSM ROM Development] ptitrusse:
I use 0 PP with 4.2 and it is really responsive... I think 18 is second best for me but I haven't tested them all
[Touch GSM ROM Development] svprm:
Thanks dsixda.

I changed my Pool 12-16MB.
[Touch GSM ROM Development] tunx:
AWESOME tool !

very simple , neat and gets the job done quickly ...

a big THANKS to all the developers here
[Touch GSM ROM Development] evilpharmacist:
I've got an Elf and with PP 0mb I run into problems that I can't start any programs anymore. I get constant errors of low memory when I start to run a program, asking me to close some programs but there aren't any running.

Elf 3.14.706.02 ROM

Default PP was 4 mb

Current PP setting: 0 mb

Program memory:

-total: 55,74 mb

-in use: 53,59 mb

-free: 2,15 mb

With 8mb it is:

-Total: 47,71 mb

-In use: 36,05 mb

-Free: 11,66 mb

How come 0 mb doesn't work for me?
[Touch GSM ROM Development] Nullstring:
hi, the PP changer didn't work for WM6.5 build 23047.. any idea? keep getting "Running low on free storage space"

I tried 2,6,8,16,18.

but none of it worked.. no effect ..

Storage

Total: 23.21 MB

In Use: 22.72 MB

Free: 0.49 MB

Program

Total: 54.04

In Use: 34.80

Free 19.24

I just re-flashed my WM6.5 to build 23047 from 23009.
[Touch GSM ROM Development] Nullstring:
i got this error
[Touch GSM ROM Development] Nullstring:
going back to WM65 build 23009 ...
[Touch GSM ROM Development] mohitsapru:
Need Help!!!

I used PP changer tool to mess around with my page pool... and now i am messed up :eek:

i changed my pagepool to 2Mb and now it is damm slow... and when i connect it to computer... guess what... active sync is not responding... so not able to change it to 4Mb... :(

Nothing is opening just the home screen...

Plz Help

ROM: Onyx 5.1.2

Edit:

Removed SD card and then reseted the phone...

now i got this error

Checking for ActiveSync connection ...

ERROR: CeProcessConfig - r=00000000 ce=00000000 le=00002745 hr=80072745

- An established connection was aborted by the software in your host machine.

(null)
[Touch GSM ROM Development] daeinnor:
Hi manong,

PP of some ROMs here like kancrutt's & PDAViet's v82/v83 can not be changed using the stickied on-the-fly PP changer. I don't think its version related but rather the way these were cooked.

Please use the aattached pp-changer to change those type of ROMs with the difference that changing pp is not on-the-fly but done before flashing the ROM.

Just extract the ROM .nbh file, run the pp changer exe, point to the .nbh file-directory, select the pp from the buttons or type '0' to the 'custom' drop down if you want full pp, click change to button. Click 'ok' to close. Check the .nbh pp if it has changed by re-openning the pp changer & pointing to your .nbh file!

Cheers!
[Touch GSM ROM Development] dsixda:
Did you use the Universal PP Changer in the 2nd post? That one should work, as it has been tested with Onyx.. although not with WM6.5, but nonetheless should still work.
[Touch GSM ROM Development] mohitsapru:
Yes i tried but Activesync was not starting up... anyways i flashed again from my SD card so am on back on track... ;) Thanks... dsixda
[Touch GSM ROM Development] ZaLiTHkA:
Just in case nobody has tested / commented on this yet (I'll be honest I haven't read all pages); Dsixda's PP Changer in post 2 works perfectly well on Onyx 6 R3 (build 28004), I'm runnig a 6mb PP with between 16 and 17mb free RAM at boot, and it does seem that my programs are loading a bit faster than with the previous 4mb pagepool.

I'll test it for a few more days and see how it goes though. For the record, I tried a 0mb PP, no problems as such, not like other people have mentioned (programs not loading? activesync not working?) but it was a bit slow and free RAM wouldn't go higher than about 7mb or 8mb...
[Touch GSM ROM Development] SOHOM:
Ya really, I am using kancrutt's sx 8.0. while I am trying to chande the pagepool, its giving sm error i.e `unknown pagepool' or smthing like that.
[Touch GSM ROM Development] dsixda:
He's probably using a page pool size that is not defined in the page pool script. It's probably easily fixable in the script but would require some time for me to test, ie. flashing the rom, changing and testing script etc.
[Touch GSM ROM Development] SOHOM:
Thanks for replying dsixda.

Probably you are Right. Rom was not defined the pagepool, But I got to know that it is by default 4.

But smhow I managed to change the pagepool.

I a using pagepool 12.

Its working great now.

But 1thing, which I can't understand, is there any relation with battery & pagepool??

B-cause when I changed my pagepool to 12, I felt that Battery is not giving that performance which I was getting previously.
[Touch GSM ROM Development] svvv:
i managed to change the page pool size to 0 MB in SX8.0 rom.

All u need to do is edit the nbh file using hex editor

find this line 03 15 A0 03 02 15 A0 13 00 00 A0 E1 62 C2 FF EB

now edit the value you want to change the pool size

I changed it to 03 15 A0 03 00 16 A0 13 00 00 A0 E1 62 C2 FF EB for 0 MB pool page size.
[Touch GSM ROM Development] dsixda:
Yeah we all know that, it's explained in the first page and the PP Changer supports 0..
[Touch GSM ROM Development] sagar_tiru2006:
Unknown Page Pool Size in SX 8.0 ROM

HTC Touch Elfin

ROM : SX 8.0 3.14.706.02

Radio : 3.39.90
[Touch GSM ROM Development] dsixda:
Hmm.. I'll take a look later. Link to ROM please?
[Touch GSM ROM Development] sagar_tiru2006:
sorry for the late reply ....

http://xdaforums.com/showthread.php?t=551508
[Touch GSM ROM Development] Ameet:
yes u will find 2 instances brother.. i found one coz i have already edited the s000 in nk.exe before cooking ;)
[Touch GSM ROM Development] !Aman!:
well bro, i rebuilt my nbh file..and edited it like u said...this time no errors like i mentioned before...i dont know what went wrong the first time, lol...and i have removed SQM using no2chem's method from my ROM.
[Touch GSM ROM Development] Swiftblade:
Hi Aman.. good to hear that things worked out and you are back on track...:) In WM6.1, the SQM is definitely more integrated and improper removal will cause those .dll and .exe not working properly.. I have that similar problem when I cooked my first WM6.1 rom... Well, cheers...:D
[Touch GSM ROM Development] !Aman!:
well bro, i followed an expert's (no2chem) way of removing it...so i dont think that was a problem... moreover, i faced that problem for the first time after removing SQM (used ROM without it for 10 days or so)
[Touch GSM ROM Development] Swiftblade:
yes, then it must be something else... nevermind and let's move on since it's no more an issue....:)
[Touch GSM ROM Development] kokotas:
Many thanks!

Thanks for

SHARING

man!

I would never find that hex edit for ELFs myself.

You rock;)

Regards!
[Touch GSM ROM Development] ckpv5:
ELF pagepool

Hi Swiftblade

Wow... it's really amazing. With your guide I managed to change the Kokotas's Light ROM and AB's 4.02 pagepool size to 6MB and 4MB for my ELF.

Thank you.

Appreciate your confirmation on 6MB PP should read as 03 15 A0 03 06 16 or as posted. Both has same effect on the PP on ELF.

Originally Posted by Swiftblade:

[8 MB Pagepool] |03 15 A0 03 | 02 15 A0 13 | 00 10 83 E5 | DA C2 FF EB| ELF's Default Pagepool

[4 MB Pagepool] |03 15 A0 03 | 04 16 A0 13 | 00 10 83 E5 | DA C2 FF EB|

[6 MB Pagepool] |12 16 A0 03 | 06 16 A0 13 | 00 10 83 E5 | DA C2 FF EB|

[0 MB Pagepool] |18 16 A0 03 | 00 16 A0 13 | 00 10 83 E5 | DA C2 FF EB|

Rgds
[Touch GSM ROM Development] Swiftblade:
You are most welcome! We are here to SHARE, isn't it..:D Got to try out your Light ROM and Ameet's Clean ROM someday...;)

Hope this will relieve the chefs from cooking multi-pagepools rom versions to accede to requests and concentrate on what they do best... and that is COOKING!..keke

I kinda passed on my ELFin to my dearest one and now have "limited access" to it for testing...:( but I'll be getting my Diamond soon I hope..:D

Hi ckpv5... no different to the ELF's pagepool which will be 6MB as so correctly confirmed by you. This is because the first two bytes "12 16" or "03 15" there determine the ELFin's pagepool and will not affect the ELF. You can leave them at default "03 15" if you go wishes...

Glad that you find the walkthrough useful...c",) Cheers.
[Touch GSM ROM Development] Ameet:
hi swift.. can u check this post (http://xdaforums.com/showpost.php?p=2277648&postcount=178) and confirm it is correct for elfins please?
[Touch GSM ROM Development] captkkk:
Confirm: It is dead easy to simply use a Hex Editor and edit directly to the NBH file that comes from any, I mean ANY cooked ROM.

Of course those of you who have read my previous posts would know what I was using and reason for switching to Elves 5.0 18MB PP, but since this post shows the dead easy way in changing the PP, I have to go for stability over anything, so I am back to what I was with and a 18MB PP, happily.
[Touch GSM ROM Development] tabi13:
Swiftblade I have been able to take the old script for ChangePPViaAS script and been able to modify it using your instructions (thank you) so that PP change can be done now through activesync without need to reflash.

But this is for Elf's only and for the offsets for my rom (2.20.707.1B modified) here:

http://xdaforums.com/showthread.php?t=397739

The PP changer is also attached and anyone can download my ROM, decompile the Os.nb and using this thread and my ChangePPViaAS scripts can write their own for Elfs or Elfins.

Write to me if anyone needs help with this but I am sure the talented people here would easily figure it out
[Touch GSM ROM Development] Noonski:
This is the only reason i'm reflashing my phone today.

This must have almost driven you crazy.

Great work, but it's not working ont the current ELF rom i'm using.
[Touch GSM ROM Development] Swiftblade:
Hi Noonski... ya it sort of drove me nuts... hehe..:rolleyes:

BTW do you want to point me to the ELF rom that is not working? I promise I will take a peek at it and see what is different. Are you talking about your own TMNL 2.26 rom in your signature and the rom is 1.17.xxx or 2.20.xxx based?
[Touch GSM ROM Development] Swiftblade:
Hi tabi13... thanks for making the PP Changer. I haven't got a chance to try it though but nice works nevertheless..

Actually, I am also intrigued by kyphur's Kaiser PP Changer HERE and it's very nice and neat tool. If someone can go into the .exe file and edit the search addresses to those of Elf's and Elfin's, it should work perfectly.

Do we have a tool to edit .exe file? Cheers, Swiftblade
[Touch GSM ROM Development] Ameet:
umm.. reshack maybe? i dont know programming but thought of still sharing my 2 cents ;)
[Touch GSM ROM Development] Swiftblade:
Thanks Ameet. Yes, I think reshack should do it. Use it before a long time ago and now probably need to re-visit it when I have a little more time in hands. :)
[Touch GSM ROM Development] abinbasu:
Thanx a lot swiftblade. you have done a great job. This thread should be made wiki.
[Touch GSM ROM Development] nl1010:
I just used the tool on my Elf with ShadoW 2.1 TE Rom, and it worked :)

I now have a 4MB PP instead of 8MB, seems to work a bit better.

The tool only gives a warning, because the ShadoW ROM was not recognized.

But anyway change the PP result is okay.

Greez,
[Touch GSM ROM Development] wchiaoli:
Thanks very much, it's a very useful and effective method to change the pagepool of the rom file, thanks again!
[Touch GSM ROM Development] Noonski:
It's working brother.

I switched Bases to a 2.26 and that's working just fine.

The old one i was using still had some Kaiser stuff in there.

I had to see it first to believe it.

I went crazy over this but the thought never crossed my mind to edit noth instances.

Mand seeing your solution drives me mad, i was this close but i gave up trying because i didn't want to take the risk bricking my device.

Then i take a two months break and both SQM CPUI and PP are solved.

You gotta love it.

Really apreciate this and so will a lot of other users as you know.

Your presence on the ELF thread is apreciated your cooking has motivated me to push it to the limit.

Very Big Up.
[Touch GSM ROM Development] ufoss:
Hi;

I want to ask what is pageepoll.

What is the difference 4, 8, 12, etc..

What is the advantage and disadvantage for machine

Most important what is the best pagepool for elf...

Thanks for answer
[Touch GSM ROM Development] blasev:
* What is the page pool ?

The page pool is a reserved area in memory for the windows mobile kernel.

A ROM in a pocket pc is mainly divided into 2 parts (some other: IPL,SPL,ExtROM but forget it) :

- The Kernel

- The OS files (IMGFS)ETEN’s Pocket PCs do not have NOR/NAND ROM but a DiskOnChip that works like a SD card.

The real problem is that the system can’t execute ROM files (including the kernel) directly into the DiskOnChip.

It has to copy ‘pages’ of ROM into the RAM then execute them.

In a PC world it is called ROM shadowing.

To sum it up : the page pool is a container for pages of ROM shadowed in RAM.

* Why changing its size ? Device manufacturers tend to choose a big pool size in order to have a pocket pc that can do a wide range of tasks.

In pratice, most users do the same tasks : GPS mainly, some media, then a classical phone usage.

Most users don’t need a big pool size but a lot of RAM.

taken from " http://www.etenblog.com/2008/01/14/change-your-page-pool-size/"

next time use google dude >_<

as for the best result for elf generally is 4 MB PP (depends on the roms)

next time use search >_<
[Touch GSM ROM Development] dsixda:
This thread should definitely be stickied. I'm always searching for it to "fix" ROMs :-)
[Touch GSM ROM Development] !Aman!:
there are too many stickies already. thats why kokotas has created new thread of "sticky rollup". whatever u need, u will find in that 'one' sticky only ;)
[Touch GSM ROM Development] dsixda:
Oh wow.. never noticed that. Thanks! That's a great idea. I guess we should take down the other stickies then? ;-)
[Touch GSM ROM Development] !Aman!:
yes!!!

but its upto the mods. so lets wait n watch :D
[Touch GSM ROM Development] Ameet:
hi swift.. i did the 0mb pp change trick. my available memory shot up sky high :D but the used memory gained another 10% and became 31% from 21%.. any idea why? but i can see that the device is become more faster and more responsive.. i think i put on some battery life too with that :D

hoping to know what happened to free memory

View attachment 99600
[Touch GSM ROM Development] dsixda:
Ameet, I am assuming from the picture shown that you have an Elfin. Did you change the first 4 hex digits to "00 00" to get the 0MB PP? I tried that on my PDAViet ROM so that it would go from 18MB to 0MB, but it got stuck at the HTC logo during reset. Thankfully I have a USPL installed already, so I can flash the 18MB PP ROM back.
[Touch GSM ROM Development] !Aman!:
no, change the first byte to 00 and second one to 15 or 16 ;)
[Touch GSM ROM Development] Ameet:
oh i see.. i'll test this one too :) i did 00 15
[Touch GSM ROM Development] dsixda:
Too late.. i'm flashing 00 16 now :)
[Touch GSM ROM Development] !Aman!:
--deleted--
[Touch GSM ROM Development] dsixda:
Perhaps this info for 0MB PP should be updated for the 1st page?
[Touch GSM ROM Development] !Aman!:
well, that is upto Swiftblade or our new moderator to decide :p
[Touch GSM ROM Development] Ameet:
hmm. what do u say swift? can u add this info to the first post? :) i'll test htctouchp's static pp method of 00 16 and update my post
[Touch GSM ROM Development] dsixda:
Here's some program memory results with my PDAViet ROM:

With 18MB pp (after restore of backup PIMs and software)

101.86 overall

29.24 used

72.62 free

With 0MB pp (after restore of backup PIMs and software)

119.93 overall

40.55 used

79.38 free

So just like Ameet saw, there was about 10MB extra program memory usage with 0 page pool (but I still have more memory free due to no page pool memory being used).

Anyways I'm off to bed ...
[Touch GSM ROM Development] Swiftblade:
Nice results you got there for the zero pagepool. Oh yes, I will update this info in the first post later.

This sort of confirm that when pagepool is set to 0 (whether static or dynamic) the entire Program Memory is available for pagepool. That's explained the increase in Memory Used.

Conclusion: 0 MB Pagepool = Unlimited Pagepool

Perhaps you guys want to confirm that by running some large programs or somethings and monitor the used memory. Most programs don't use more to 10~12MB anyway.. Cheers, Swiftblade
[Touch GSM ROM Development] !Aman!:
brother, can u explain how the default pp comes out to be 12 mb with 03 15?
[Touch GSM ROM Development] !Aman!:
not at all brother :)

my phone is working as much smoothly as it can ;)
[Touch GSM ROM Development] !Aman!:
i also use these glyph cache, file systemcache etc tricks, i always have since the day i learnt cooking :D

EDIT: wait, i need to confirm on this. looks like all of these registry values are default for me :o
[Touch GSM ROM Development] Swiftblade:
hi htctouchp... it seems that when it is set to dynamic "XX 15" the first byte value is multiply by 4. Example:

[02 15] = 8 MB pagepool

[03 15] = 12 MB pagepool

[01 15] = 4 MB pagepool

[00 15] = 0 pagepool (of course lah)
[Touch GSM ROM Development] !Aman!:
thanks a lot brother :)
[Touch GSM ROM Development] Ameet:
Swift, Htctouchp & Gang

I confirm using the 00 16 so called static PP has its perks :D My device is fast and speedy now, also managed to get the used memory down to 27% leaving me free memory (approx. 89MB to play around with ;))

The available memory seen is 119.99MB (but thats again because I have removed a few things from the XIP)

So like I suspected the culprit was the reistry entries :rolleyes: (glyph cache and a few likes) SO Htctouchp, you going to jail for that one :p

View attachment 99624
[Touch GSM ROM Development] !Aman!:
hahaha, u need to come here and escort me to the jail :p

btw, did u experience sluggishness as soon as ur phone booted? coz i've applied those tweaks now, and i really dont feel any problem so far. and how much difference do u feel in the speed after using pp 00 15 and 00 16?