Jump to content


Paul's guide to... changing the HTC Touch / T-Mobile Wing PagePool size

* * * * * 5 votes

  • Please log in to reply
297 replies to this topic

#241
kangri

kangri

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:t mobile wing
hey paul im stuck on step 3...on the pagepool changing i dont know how to open a command prompt in the pagepool folder/directory i make therefore i cant get passed that step if you could please help me i would appreciated thank you


#242
templeman01

templeman01

    Newbie

  • MoDaCo Ad Free
  • Pip
  • 10 posts
  • Devices:null

View PostConfucious, on Apr 6 2008, 22:29, said:

Why? I don't think I'd ever flash an original ROM when there are so many better ones out there. Which ROM you flash shouldn't make a difference to your problem.

The original ROM worked :D very relieved as though I had lost my Touch.

Thanks for all your help.


#243
kj52

kj52

    Newbie

  • Members
  • Pip
  • 1 posts

Quote

- Ensure device is connected to PC and Activesync'd / WMDC'd
- Open a command prompt at your new directory
- Type 'pdocread -l' (minus the quotes of course)

how do i do the second step..? I dint understand what you meant by open a command prompt at your new directory?...


#244
Billy Bob Black

Billy Bob Black

    Newbie

  • Members
  • Pip
  • 1 posts
Flashed my Wing, right?
Went from 2.2MB (with just WM6 running) to 15.4 after startup.
I rebooted once, now it's at 11.3 after startup.

Whats the deal?


#245
tregare

tregare

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:T-Mobile Wing
Thank you for this, I went from 10MB available to 18MB available by decreasing page pool to 6MB from the t-mobile wing default.


#246
Confucious

Confucious

    Peanut Brain

  • MoDaCo Plus
  • PipPipPipPipPipPip
  • 6,622 posts
  • Gender:Male
  • Location:Surrey, England
  • Devices:iPhone 4 Unlocked,RedSn0wed
  • Twitter:@Confuciousmobil
I went from 1.3Mb to 347.2 Mb :D

He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

#247
Eric Odijk

Eric Odijk

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC S730

View Postkinoons, on Jun 24 2007, 06:48, said:

Sofar I have ran the ROM unlocker and downloaded the pdocread file. When I run "pdocread -l" I get the following for my part 2
"50.63M <0x32a0000> Part02"
When I type "pdocread 0 0x32a0000 part02.dump" I get this response

copy TFFSToFile(0x0, 0x32a0000, part02.dump)
ERROR: ITReadDisk : Read 00000000 bytes - A device attached to the system is not functioning

And I don't get a part02.dump file. Any ideas? thanks!

Kinoons

Hello, I got an HTC S730 which gave a different file size but the same problem

Regards


#248
steve_x

steve_x

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:T-mobile Wing
worked great went from 5mb to 17

thanks man :D


-steve_x


#249
BradTo

BradTo

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Wing
Worked for so far.  No problems... Thanks.  TMobile had no clue when I told them I had a memory problem..

Now I don't have to return my device.


#250
zeflash

zeflash

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Touch (Elf, 64MB RAM)
damn. Double post.

Edited by zeflash, 21 May 2008 - 03:46 PM.


#251
zeflash

zeflash

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Touch (Elf, 64MB RAM)
I was wondering if someone with knowledge could tell me what's going on with this ROM:
http://forum.xda-dev...ad.php?t=392637
the ultra clean edition.

I downloaded it, flashed it and the pagepool on my Touch (Elf) is 8 MB. Yet when I look at the hexa value, it says 00 00 20 00. And changing this value didn't modify the pagepool.

How can I change the pagepool for this ROM?


#252
physicsguru

physicsguru

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Touch P3450
Hi,

I started trying to optimise my pagepools size following the instructions in your post. However I noticed the setting on my HTC Touch P3450 (Dutch KPN) is set to 00 00 20 00 instead of 00 00 80 00 for the default 8 MB for a Touch. Does this mean mine has 2MB?
The reason I wanted to change the pagepool size was because with almost any application I installed I had messages on my Touch saying "Not enough memory".
Your post looked like the solution to my problem but these findings make me confused.
Can it be that having an apparent default setting of 2 MB in my device can cause the same memory issues as with the default 8MB and that 4MB might be a better optimised alternative?
Thanks.





View PostPaul (MVP), on Jun 22 2007, 10:13, said:

[teaser]Welcome to another edition of 'Paul's Guide to...' :(

Today's guide is aimed at owners of the HTC Touch and the T-Mobile Wing, as they are 2 devices that seem to have particular problems with device memory, but the same techniques can probably be applied to other devices (untested by myself).

HTC Touch and T-Mobile Wing owners will know that these two devices suffer somewhat from low memory problems. Users need to be careful with what they have running at any one time, particularly if launching memory hungry applications such as the Camera.

Deep in the depths of the operating system of your device, there is something called the 'PagePool'. Without going into too much detail (and as I understand it!), the PagePool is a special area of memory reserved for loading apps into from ROM. This PagePool is a lot faster than ROM, so when things are executed from this 'cache' instead, the performance of a device will be quicker. On the flipside, if you have a 8MB pagepool (HTC Touch) and you're using, say, 4MB of the pagepool, then 4MB of space is wasted that could be program memory. Similarly if you have a 12MB pagepool (!) (T-Mobile Wing) in this instance you would we wasting 8MB of space!

The key is striking the balance...

On both my Touch and my Wing, i've been experimenting with the PagePool, and have personally settled on 4MB. I've tried 2MB (bad), 4MB, 6MB and 8MB, and I think I can happily use 4MB without noticing a performance decrease. I'm tempted to try 6MB out for a bit longer, particularly on the Wing (which has a generally better state of affairs than the Touch it seems), but this guide will let you choose your own.

Sadly, these PagePool settings are in an area that cannot be easily changed, hence this is a ROM guide.[/teaser]

Firstly, a disclaimer.

This guide involves downloading, editing and flashing of your device ROM.

This is dangerous, very dangerous. In a worst case scenario using these techniques, your device will become unusable, with a corrupted 'OS area'. While your bootloader will (should) still be accessible, your device will be a paperweight until such time as a RUU (Rom Update Utility) becomes available for your device with the shipping ROM. We won't be able to help you, and your operator / manufacturers won't either. It's quite possible your warranty will be invalidated by editing your ROM.

If you follow this guide, you take full responsibility for what could happen. I have of course successfully been through this guide myself, but be aware that I TAKE NO RESPONSIBILITY SHOULD SOMETHING GO WRONG.

You've read the disclaimer and you want to have a play, now what do you need to do? Here's the guide... enjoy :D

Step 1: Install the permissions CAB to your device

In order to be able to do the read / write operations on your ROM, the security on your device needs to be set up in a certain way. Download this CAB file, and run it on your device.

Attachment ITSUTILS...peration.CAB
Step 2: Create a directory and download itsutils

Now we need to create a working directory. I suggest creating a directory called 'pagepool' on your desktop. When you've done this, download this ZIP file, and extract it to the new directory.

http://nah6.com/~its...in-20070323.zip (Kudos to Willem Jan Hengeveld (aka itsme) for this excellent toolkit!)

Step 3: Extract the ROM from your device

We're now going to extract the ROM from your device. This is a completely safe operation, so don't panic yet :o Take the following steps...

- Ensure device is connected to PC and Activesync'd / WMDC'd
- Open a command prompt at your new directory
- Type 'pdocread -l' (minus the quotes of course)

You will then be presented with something that looks like this:

 70.95M (0x46f2000) TrueFFS<BR>	   |		   3.06M (0x30fc00) Part00<BR>	   |		   3.06M (0x310000) Part01<BR>	   |		  64.82M (0x40d2000) Part02
We want to read the Part02 area (the bottom line above), so...

- Type 'pdocread 0 0x40d2000 Part02.dump' substituting 0x40d2000 with the appropriate value from your 'pdocread -l' output

You will see something like 'CopyTFFSToFile(0x0, 0x40d2000, Part02.dump)' appear, and after a wait of a few minutes (it is dumping a lot of data!), you'll be returned to the command prompt. During the operation you can open Windows Explorer to your working directory and see the file growing.

Step 4: Use a hex editor to modify the pagepool size

To edit your Part02.dump ROM image, you'll need to use a Hex Editor. The instructions below assume use of the excellent, free HxD application.

After installing and launching HxD, do the following...

- Open your new 'Part02.dump' file
- Click 'Search'
- Enter 'NKKD8'
- Press F3 to find the second instance
- Click 'Search' again
- Change 'Data Type' to 'Hex Values'
- Enter 'FF FF FF FF FF FF FF FF 9B 4F FF FF 64 B0 00 00' and hit search

You will then be presented with the search results as shown below.

Posted Image

After 8 more values, you'll see your pagepool setting. In the screenshot aobve, it is set to '00 00 40 00', which means 4MB. The possible values are as follows:

4MB = 00 00 40 00
6MB = 00 00 60 00
8MB = 00 00 80 00 (HTC Touch default)
12MB = 00 00 C0 00 (HTC Wing Default)

(for reference, on both my Touch and my Wing the offset location is 37B558... you can go straight to this location be selecting 'Search -> Goto').

So, to change your pagepool size...

- After locating your current pagepool value, update it to one of those shown above by selecting the value and overtyping
- Select File -> Save As, and enter a new name (e.g. Part02.4MB.dump)
- Exit the hex editor

You have now edited your ROM dump, and are ready to flash it back to the device!

Step 5: Flashing your edited dump back to the device

So this is where it gets dangerous. If you've done something wrong with your dump, then nasty things could (probably will) happen. If the flashing process goes wrong, then nasty things could happen. One final warning - you undertake this step at your own risk! Ready to continue? OK then...

- Ensure device is connected to PC and Activesync'd / WMDC'd
- Put the device in flight mode. This is for safety reasons... receiving a call during the flash would probably be bad
- Open a command prompt to your working directory (or use the one you already have open)
- Type 'pdocwrite Part02.4MB.dump' (or whichever name you used in the step above)

You will see something like 'CopyFileToTFFS(part02.4mb.dump:0, 0, 040d2000)' appear, and after a wait of a few minutes (it is writing a lot of data!), you'll be returned to the command prompt. DO NOT USE THE DEVICE DURING THIS OPERATION!

Step 6: Soft reset, cross fingers

Has that command finished (i.e. you have control again at the command prompt)? Then you're done! Simply press the soft reset pin on your device, and when it comes back up, you should see you the amount of program memory in the Settings -> Memory applet has changed. Good job! You can breathe easy again :lol:

P


#253
bugmenot111

bugmenot111

    Newbie

  • Members
  • Pip
  • 38 posts
  • Location:Wongo
  • Devices:i900 OMNIA

View Postrope, on Jun 26 2007, 02:23, said:

There is a (official Touch ROM) RUU available at pdamobiz:

RUU_Elf_DOPODASIA_WWE_1.11.707.1B_4.1.13.42_02.93.90_Ship.exe

I think this would help to get the Touch back to life if you damaged it with a wrong flash.

Can you provide the instruction on how to restore the ORIGINAL flash (RUU) ???

Thanks.


#254
Shagman68

Shagman68

    Newbie

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Apache Junction, AZ
  • Devices:HTC Sensation 4G TmoUS
Worked excellent the first and second time.  I flashed mine last year when I got it and it worked great, used Win XP to do it.  Then I noticed T-Mobile had a phone flash upgrade availeble recently on thier website, so I flashed mine to upgrade, and it put my page pool back to not letting my camera work again.  So, I used my Vista computer now and did the whole thing just like the last and again it worked perfectly.  Just wished they made it with 128 ROM and 256 RAM to begin with and we would not be having this problem.  Oh well, just about wore out my touchscreen on this Wing, so I hope they have a version of the AT&T Tilt coming to T-Mobile soon and Want my 3G too, Tmob had better get its butt movin!

Anyone reccommend some good tweaking tools, all I know is that battery status one that you can even overclock with as well.

Shaggy

Daily Driver:  HTC Sensation 4G running LeeDroiD Sensational 4.x.x on T-Mobile USA
Weekend Driver:  TripNiCE - IceCream Sandwich 4.0.1

#255
dutchphoto

dutchphoto

    Regular

  • Members
  • PipPip
  • 110 posts
  • Gender:Male
  • Location:Amsterdam

View PostShagman68, on Jun 3 2008, 13:28, said:

Worked excellent the first and second time.  I flashed mine last year when I got it and it worked great, used Win XP to do it.  Then I noticed T-Mobile had a phone flash upgrade availeble recently on thier website, so I flashed mine to upgrade, and it put my page pool back to not letting my camera work again.  So, I used my Vista computer now and did the whole thing just like the last and again it worked perfectly.  Just wished they made it with 128 ROM and 256 RAM to begin with and we would not be having this problem.  Oh well, just about wore out my touchscreen on this Wing, so I hope they have a version of the AT&T Tilt coming to T-Mobile soon and Want my 3G too, Tmob had better get its butt movin!

Anyone reccommend some good tweaking tools, all I know is that battery status one that you can even overclock with as well.

Shaggy


Isn't it easier to use this easy to use Pagepool size changer. It uses the same tools as mentioned in this thread. Just start the pagepool batchfile you wat, 4,6,8 of 12mb. Backup your own PP first!

Archos 43IT, Nokia n5800

#256
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,542 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Weird, you have a different readout!

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#257
dutchphoto

dutchphoto

    Regular

  • Members
  • PipPip
  • 110 posts
  • Gender:Male
  • Location:Amsterdam

View PostPaul (MVP), on Aug 4 2008, 13:12, said:

Weird, you have a different readout!

P

Hi Paul,

really? whats different?

Archos 43IT, Nokia n5800

#258
Just_Chillin

Just_Chillin

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Washington, DC - U.S.A
  • Devices:Wing
I'm still stuck on #1. :D
I'm trying to download the attch* ""
where is the link to this download


#259
Confucious

Confucious

    Peanut Brain

  • MoDaCo Plus
  • PipPipPipPipPipPip
  • 6,622 posts
  • Gender:Male
  • Location:Surrey, England
  • Devices:iPhone 4 Unlocked,RedSn0wed
  • Twitter:@Confuciousmobil

View PostJust_Chillin, on Aug 19 2008, 06:18, said:

I'm still stuck on #1. :D
I'm trying to download the attch* "Attachment ITSUTILS...peration.CAB"
where is the link to this download
Err... in the first post?

He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

#260
Just_Chillin

Just_Chillin

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Washington, DC - U.S.A
  • Devices:Wing

View Postdutchphoto, on Aug 7 2008, 09:32, said:

Hi Paul,

really? whats different?

ok i make it past the first two steps now...
I can't open a cmd prompt on my wing for step 3
i tried it using my computer but it still wouldnt work. How can i open a directory on my wing device? :D ¿





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users