Roms, hard resets and windows mobile. - MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading

Hi, I'm looking for more info on how the memory is partitioned between storage and programs. I don't quite understand how a hard reset is equivalent to a reinstall, and how it works.
Is there a site or book with more information on this? Any help or pointer would be greatly appreciated!

a pocketpc have ram and rom
rom is read only memory
the os is located in rom
and storage and application memory is in ram
how much you want to have free for application ram
and how much you want to use as storage is up to you using the memory slider
a hardreset or too long without batt
clear the ram leaving the os which is in rom
as the only thing on the pocketpc
which is why it's the same thing as a reinstall
because all the stuff you put on it are gon
leaving what the maker of the device put in the rom
but with 2005 things have changed a bit
here some of the flash rom is used for storage
and all ram is used for application memory
(though buzz and the lads made it so some of the ram can be used for stroage on older HTC devices which otherwise only have 32MB)
here a hardreset dont mean a reinstall
if you want to clear the device to default you have to format
the storage from inside the bootloader

I think what he meant is the one shown in "Settings"->"Memory"->"Main"
Think of the "Storage" as the hardisk of your PC and "Program" as the RAM of your PC. For WM5, when you soft reset your unit, the "Program" memory will be cleared off and program will be loaded again into this "Program" memory.
As for the "Storage", it is the `hardisk` where you have your OS installed. The OS is kept in the ROM (which I don't think is part of the "Storage"), and it is installed into your "Storage" everytime you perform a hard reset. (e.g. the "Storage" will be wipe clearn upon a hard reset). Anything that you do, e.g. edit file, add contact, etc. will be recorded/saved into this "Storage".

Thanks for the replies. So what I see when I browse the device, including the 'windows' folder, that's a copy of the operating system, and the original master copy is in the ROM?
So theoretically, I could go and delete the whole windows folder, perform a hard reset, and everything would be fine?
Has anyone already tried to see what could be reasonnably removed from the windows folder in order save 'storage' space?
Cheers!

no whats in the windows dir is the os which is stored in the rom
you cant remove things in the rom

no whats in the windows dir is the os which is stored in the rom
you cant remove things in the rom

I'll reply to my own question in order to close this thread and make it useful to others:
(from pocketpcdubai)
The Universal comes with 128MB ROM and 64MB RAM as compared to its predecessors who had the exact opposite.
The 128MB ROM is divided into 2 parts:
1) OS + Extended ROM (around 84MB)
2) Storage (remaining 43.5MB as shown above
Click to expand...
Click to collapse

And this:
http://blogs.msdn.com/windowsmobile/archive/2005/11/17/494177.aspx

Related

Format ROM memory

Hi all,
I'm french, so excuse my bad englsih.
I had a Pocket PC on Windows Mobile 2003 First Edition and i backup my system to my ROM memory. After a new ROM installation (Windows 2003 Second Edition), i can't see this backup file in ROM, and now i have only 1Mo in ROM Memory.
How can i erase the old backup file ? Total Commander & Co can't see the file also...
Thanks a lot for you help !
Regards,
Bertrand
Please specify exactly what device do you have.
(I am not familiar with devices that got upgraded from 2003 to 2003SE)
The reason you cant see your backup is because its gone. When you reflash your device (upgrade the ROM) the File Store (where you save stuff you don't want deleted during hard reset) is also formatted. The reason you only have 1 MB storage left could be one of two things:
A) The new ROM takes more space.
B) Something went wrong during the upgrade and the ROM was not properly partitioned.
NOTE:
There is no way to recover this data. It is recommended that you backup important stuff to SD card or your PC (ActiveSync has a backup function).
I have a PDA, a "Yakumo Alpha GPS" (equal to "Acer N35").
Yesterday, I installed wrong ROM to try to free ROM Storage, and the install have been down. So, I reinstall Windows Moblie Seconde Edition, and now my ROM Storage is 0.2 MO. (
So, yes, I think that an installation was down one week ago, and that's why i had less ROM Storage.
PLease, tell me it's possible to recover my ROM Storage...
Hi beber49!
I am not sure of the details, but I can point you in the right direction and after some searching you should have the solution:
Find a device with the original ROM, there are instructions in the wiki on how to backup ROM to SD then restore. I think if you manage to reflash your device with the original ROM you might get your storage back.
But be careful: If the reflash is not done properly, you may loose all of the free storage or even kill the device.
Sorry, that's all I have. Hope someone gives you a better idea!
i tryed that but no way to see these file...

Data recovery?

Hi, I had several pictures that I took for my friend, but before I got a chance to send them, my device (XDA IIs) performed a hard reset.
Is there any way to perform a file recovery on the device?
I understand that the memory is shared between storage and running apps, so I havent used the device for anything after it turned back on, so I think there still is a chance of the pictures being on the system.
If there is any way/ any programs that would do it, I would greatly appreciate your suggestions.
Thanks,
RM
Alright, I think there might be a solution
if I use pmemdump of the flashram (or user ram?!), and then raw-write that onto an SD card, I can then use something like Ontrack Easy Recovery in RAW recovery mode.
My next problem is: What is the address of the start of the memory where the files can be kept? And whats the length of memory that I need to dump?
no ram cant be undeleted
when ram is reset the data is lost forever
just lake the ram on your pc if you reset it without saving it's lost
Ok. I thought it was flash ram instead of regular ram...
the only part which is flash on a himalaya with 2003
is the dir called storage
and the extented rom

Extended ROM, Main ROM, program memory -- what?

Hi all... please forgive my noob question. I'm trying to determine my next move on the WM6 upgrade saga.
Short story: CNG750v1.13 -> ROWv2.23 (WM6) a while back.
Did this because I don't want the ATT apps they want me to have, and are totally useless. I want the space back.
Now, considering upping again to the official ATT ROM. Still don't want the extra junk. I've read through and understand the threads/posts talking about the extended ROM, the cappackage.pxp file, etc. So I've got what I need to do this. That's not the question
I don't understand the memory architecture, and how this saves me space if I delete or modify what cappackage.pxp is in the extended rom after the upgrade to the ATT v2.25 rom. All the ATT junk will be there wasting space in my Program Memory, right? Or does the phone manage both the main "user" flash, and the extended rom flash, as a single logical volume? And extract from cappackage.pxp on the fly to run apps?
Or is that package extracted in full and the apps copied into the "user" flash (thereby taking the space)? If so, then how does nuking anything off the extended rom gain storage space (other than the fact that after hacking the registry, I can see it now with File Manager, and can read/write from it)?
I'm confused.
If I follow your question, then the space is gained after a hard reset. When you've cleaned the ExtROM as desired, then that "crap" no longer exists to be installed therefore you gain space in both the ExtROM (no longer "stored there for installation) and "Main" (not extracted and installed). Program memory remains unaffected (other than the gain from NOT having those programs running).
tmknight said:
If I follow your question, then the space is gained after a hard reset. When you've cleaned the ExtROM as desired, then that "crap" no longer exists to be installed therefore you gain space in both the ExtROM (no longer "stored there for installation) and "Main" (not extracted and installed). Program memory remains unaffected (other than the gain from NOT having those programs running).
Click to expand...
Click to collapse
Thanks!
I think part of my misunderstanding is in when these apps get installed. Are they only installed on-demand? I.e. there's a link in main storage memory, and when you click it, the actual app (and any extra files needed) are extracted from the cappackage.pxp archive in extened rom?
If so, then am I right that I really don't have any space to recover from storage memory if I don't try to run those applications, right?
Otherwise, I don't get how the space in Storage Memory is recovered, unless the installed apps are somehow marked and managed in a special way by the OS to delete them if the cappackage is nuked.
Also, I'm guessing that once unlocked, it's okay to use the extended ROM for my own storage purposes?
Close. They're installed on any initial boot after a hard reset.
Repeat: If it's in the ExtRom, it's loaded on hard reset and taking up space, whether or not you actually use it.
Here's a link to an edited CapPackage (Thanks again, Nableezy), that's taken out most of the bloatware. If you're unsure of how to use it, search the forums, or PM me.
dwallersv said:
Thanks!
I think part of my misunderstanding is in when these apps get installed. Are they only installed on-demand? I.e. there's a link in main storage memory, and when you click it, the actual app (and any extra files needed) are extracted from the cappackage.pxp archive in extened rom?
If so, then am I right that I really don't have any space to recover from storage memory if I don't try to run those applications, right?
Otherwise, I don't get how the space in Storage Memory is recovered, unless the installed apps are somehow marked and managed in a special way by the OS to delete them if the cappackage is nuked.
Also, I'm guessing that once unlocked, it's okay to use the extended ROM for my own storage purposes?
Click to expand...
Click to collapse
Also, if you're interested in exploring/modifiying your own CapPackage, see HERE
Cheers
Phil750 said:
Close. They're installed on any initial boot after a hard reset.
Repeat: If it's in the ExtRom, it's loaded on hard reset and taking up space, whether or not you actually use it.
Click to expand...
Click to collapse
Okay, so I'm back to square one with my confusion... After doing a upgrade with the official ROM release, this stuff is expanded and installed in Storage Memory, so no space gets saved if cappackage.pxp is deleted from the extended rom after successfully completing the upgrade, it seems to me, if I'm understanding this.
I read the threads on unlocking the rom and deleting the cappackage.pxp file. This seems to me to be "too late". Sorry to be so thick-headed, but I'm missing something critical here.
If the CapPackage is deleted before a hard reset, it cannot be installed into your storage memory, and therefore cannot take up space.
Remember: You must do a hard reset after deleting the CapPackage, otherwise, no space will be saved.
dwallersv said:
Okay, so I'm back to square one with my confusion... After doing a upgrade with the official ROM release, this stuff is expanded and installed in Storage Memory, so no space gets saved if cappackage.pxp is deleted from the extended rom after successfully completing the upgrade, it seems to me, if I'm understanding this.
I read the threads on unlocking the rom and deleting the cappackage.pxp file. This seems to me to be "too late". Sorry to be so thick-headed, but I'm missing something critical here.
Click to expand...
Click to collapse
Phil750 said:
If the CapPackage is deleted before a hard reset, it cannot be installed into your storage memory, and therefore cannot take up space.
Remember: You must do a hard reset after deleting the CapPackage, otherwise, no space will be saved.
Click to expand...
Click to collapse
DOH! Smack head! Trust me, gang, I really do have an IQ greater than 100
I was just looking over Tim's post with the instructions in his thread and actually paid attention to step 8, and it all fell in to place.
Got it now.
I'm off to bump up to the official 2.25 rom, mount and unlock the extended rom, put Tim's package in there (it's just about exactly what I want), and hard reset.
Thanks everyone for clearing the fog from my head on this.
Bingo. Happy reloading.

Internal ROM

In my Asus P320 box, it says the device has 128Mb ROM, and 64Mb RAM. However, on the memory settings it says I only have a total of 30Mb for Strorage and also 30Mb of Total RAM. Any fix or it is a problem of the PDA ?
Well, what do you think where your OS is running
To make it clear: the ROM is the place you install your programs and also where your OS is installed, the RAM is just like in PC the place where the os and other software stores data for quick access, so you will never get the full ROM and RAM free!
ruebyi
ruebyi said:
Well, what do you think where your OS is running
To make it clear: the ROM is the place you install your programs and also where your OS is installed, the RAM is just like in PC the place where the os and other software stores data for quick access, so you will never get the full ROM and RAM free!
ruebyi
Click to expand...
Click to collapse
Yeah, know any programm that unnistall the applications, some of those i've installed put files I dont know where and the windows unnistall program do not delete them. My apps dont install on the storage card, i tell to install there, but they keep on being installed on the mobile memory. =\

[Q] Windows Mobile 6 flash and ram memory

A few days ago I got a "new" windows mobile phone in, and I decided that I would cook a rom for it myself to get all the functionality I wanted, but after testing a few of my own and other roms I've got some questions about the different memories of my phone.
- It's a Sony Ericsson Xperia x1i, but I think my questions would also apply to other windows mobile phones.
- I'm cooking and running other peoples windows mobile 6.5.3 roms
- The phone has 512MB of flash and 256MB of RAM built in.
- I'm using Twinge Kitchen 1.10 for cooking the rom and importing cab's of the apps I want to use
I've tried roms of vastly different sizes, but the storage memory always remains the same. My question is, how is the flash memory on a windows mobile device used? I'm assuming the bootloader, radio and some other things might have their own partition, and then a partition for the rom, and one partition is for storage memory. Am I correct?
If I flash my phone to a small rom will the space I save on that be wasted? Is there a way to make the free space available as storage memory?
I've tried putting all the apps I wanted to install into the rom, and that worked fine, but on first boot they installed themselves into the storage memory, so I would have been just as well off by installing them after flashing the rom. Is there a way to add apps to a rom, and have them integrated in it in such a way that they don't require further installing after flashing, just running the apps from the rom like all the regular stuff is. (this is probably done by people who know how to cook roms, but I can't find an explanation on how to do it anywhere)
I would rather cook a minimalistic rom and use the freed up space as storage memory, and then install my apps manually, that way I could uninstall them whenever I wanted. Or would having those apps intergrated into the rom save me more space because they would be compressed?
Either way I would like to know if there was a way to increase the storage space, and make the rom space smaller. I guess I would need a partition manager for windows mobile/CE that can resize without data loss, and resize the rom and storage partition with the phone running, or perhaps on the PC, with the phone connected with the USB cable and running in bootloader mode.
I have another question about RAM, my phone has 256MB RAM, but it shows as about 200MB program memory of which about 50 in use with no apps running. What is the remaining 56MB used for? Is there a way to change this amount?
I have used Windows Mobile for quite a while now, but this is the first time I've tried cooking a rom, or even thought about partitioning the built-in flash, so to the more experience people the awnsers to my questions might be obvious, but to me they are not.
I have thought of one possible way to re-partition the built-in flash, but I don't know if this can be done this way without messing anything up.
I could run Android from the sdcard, and resize the partitions on the phone-flash while in Android, but is there even an app that will let you resize those partitions in Android? Would this work without data loss, or if not would the bootloader be ok so I could flash the rom again in the newly resized partition?
I've had three WinMo 6.x devices (1 GPS and 2 phones) and both were able to have things stored on its flash memory. In fact, isn't that where the "My Documents" folder is?
JamesDisbrow said:
I've had three WinMo 6.x devices (1 GPS and 2 phones) and both were able to have things stored on its flash memory. In fact, isn't that where the "My Documents" folder is?
Click to expand...
Click to collapse
Yes, but I think you are mis-understanding my questions, I don't want to just store things in it's flash memory, that's no problem. I want to resize the partitions on the flash memory, using less flash for the rom, and more available as storage space.
I have been researching further, but I keep coming up empty. I can't find any android or windows mobile app that'll even let me see the different NAND flash partitions, let alone manipulate them.
I could try and get a linux partition manager to work on android, but the more I think of it, the riskier it seems.
I've also been looking into using MTTY, but I can't find any information on what the commands are, except for tasks 28,29 and 32, and none of those will help me. I don't know if MTTY even has the capabilities to manipulate the partitioning.

Categories

Resources