Related
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
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.
I start using a second partition for my apps and some of the caches...
But is there more? Yes there is (i hope). But what else? Any ideas, more is better...
What do you need:
A FAT32 / EXT2 partition combo on your CLASS 6 MicroSD (the EXT2 from 100mb to 1,5gb as max recommend (real max = 2gb)!
Only at "others" there is one way to move cache without EXT2 partition.
Do it yourself:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=462882 (Apply on your own Rooted System)
Complete ROM:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=480582 (modded JF1.42 RC33)
Other:
- Apps Caches (no ext2 needed): http://forum.xda-developers.com/showthread.php?t=471653 and http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
- Apps Caches (with ext2): Change the paths from: "/sdcard/cache" to "/system/sd/cache" from http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
I will add everything that's relevant to putting stuff from your ROM to your FLASH!
i hope we can move everything to the sd lol ;P
Theoretically it is but i think it will be to damn slow But if we put the core and much used stuff on system (something like vista does it with mem, preload stuff i use alot to my system and stuff i don't use a lot to my sd or somthing... But i don't have skills to do something like that (i suck with linux :S).
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Phromik said:
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Click to expand...
Click to collapse
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
LucidREM said:
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
Click to expand...
Click to collapse
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Smokuevo said:
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Click to expand...
Click to collapse
in my script i put in my modified JFv1.42 you can do:
#copy.sh all
this moves everything to the SD (the ultimate in G1 lag) and then from Terminal again:
#mount /dev/mmcblk0p2 /data
this should work (unless i forgot a step) .. then when you look at the available space you should see the entire EXT2 partition listed for the phone .. to get my script you can either flash my modified update.zip that has the modified init.rc and mountd.conf or else just copy my script to your phone
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Well the first stap is backing up ofcourse! So the only step if you screw up is putting the backup back...
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Smokuevo said:
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Click to expand...
Click to collapse
i did put in "copy.sh undoall" to reverse the steps .. but this will also move apps and if you have too many apps if could crash the phone .. i may need to remove apps from the undoall process
after i did the command to make the room on my SD show up as my memory how do i revert that back to normal to see the space on my phones internal mem?
Smokuevo said:
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Click to expand...
Click to collapse
on a linux distribution type :
fsck.ext2 -p [your partition] mine is /dev/sdd2 for example
As I'm sure most of us have been, with all the ICS Roms being posted as of the last couple of days, I've been a Flashaholic trying all these different Roms and so on and so on. Well, my question is...
I feel my Internal SD Card is getting full of folders that are becoming obsolete/redundant, so does anyone know what are the "Bare Minimum Folders" required to run correctly. IOW, I want to delete everything but the "True System Folders". I'm hoping that by getting rid of everything, it'll free up space, and speed the system up as a whole because it's not having to search a huge Index for where it's trying to pull info from to operate.
I personally feel like I can delete everything from there, with the obvious exceptions being the Files included in the Rom.. but once again, that's just my "Noob-ness".. lol..
As always any help would be greatly appreciated, and I would also like to thank anyone for their assistance in this matter in advance.
What I usually do to clean up is to go to storage in settings on the phone, and format usb storage. This keeps only the necessary stuff for system and gets rid of all of the extra stuff. I keep all of my files like music, etc on the ext. sd card, so it doesn't get wiped.
Sent from my HTC_Flyer_P512_NA using Tapatalk 2
So after doing this do you have to go into recovery and re-flash the Rom? or will it automatically create the folders as you open the Apps?
sledgeharvy said:
So after doing this do you have to go into recovery and re-flash the Rom? or will it automatically create the folders as you open the Apps?
Click to expand...
Click to collapse
Just to clarify, I'm talking about doing this in the rom and not in recovery. You won't have to reflash the rom, and apps will create what they need as you run them.
Sent from my HTC_Flyer_P512_NA using Tapatalk 2
Oh, okay, I was originally talking about as your phone is running, go into Settings/Storage, and Format from there, but I didn't see that option. Lol..
So overall, I can delete anything I want to on the larger 13.03Gb and the smaller 1.85Gb internal sd card I can not delete anything from there because it's reserved for Apps and System Files/Folders.
sledgeharvy said:
Oh, okay, I was originally talking about as your phone is running, go into Settings/Storage, and Format from there, but I didn't see that option. Lol..
So overall, I can delete anything I want to on the larger 13.03Gb and the smaller 1.85Gb internal sd card I can not delete anything from there because it's reserved for Apps and System Files/Folders.
Click to expand...
Click to collapse
Pretty much, but there are a few files that stay if you go the settings/storage/format route, so I do that to get rid of junk in the 13.03 GB partition. But you are right, you mainly don't want to delete stuff on the smaller internal partition, unless you know what you are deleting.
Sent from my SAMSUNG-SGH-I997 using Tapatalk 2
Got my Huawei Shine U8836D / Ascend G500 Pro and installed customs rom created by bgcngm - Recognized Developer. The customs rom created by him is excellent and out of the world. How can the system/app space can be increased to 500mb plus. I don't prefer to link to SD card with A2SD apk, prefer to have a real/permanent storage space increase.
Solution to my problem will be really appreciated.
akkhyd said:
How can the system/app space can be increased to 500mb plus. I don't prefer to link to SD card with A2SD apk, prefer to have a real/permanent storage space increase.
Solution to my problem will be really appreciated.
Click to expand...
Click to collapse
Y do u want 500mb in the system/app?
There is no use of it unless u wanna have apps at system level.
And I believe only 500mb is allotted for /system folder ( may be more on different phones)
If you move apps to SD, it will give you more space on internal memory. Not on /system.
To get space in /system, delete any bloatware and stuff from there. (be careful while deleting, if you delete an essential one, the consequences will be bad)
LIFE! IT'S WHAT YOU MAKE OUT OF IT!
Thanks
Thanks a lot for your quick reply. I prefer to place some of the required apk in system, so that it stays even after factory reset.
akkhyd said:
Thanks a lot for your quick reply. I prefer to place some of the required apk in system, so that it stays even after factory reset.
Click to expand...
Click to collapse
andord's internal memory's partition is fixed; i mean the amount reserved for system and memory part can not be changed even if you delete some system apps...
the only thing you can do is, deleting some system files which are safe to delete, and use that place to insert your apk's...
System space
Lifehacker7 said:
Y do u want 500mb in the system/app?
There is no use of it unless u wanna have apps at system level.
And I believe only 500mb is allotted for /system folder ( may be more on different phones)
If you move apps to SD, it will give you more space on internal memory. Not on /system.
To get space in /system, delete any bloatware and stuff from there. (be careful while deleting, if you delete an essential one, the consequences will be bad)
LIFE! IT'S WHAT YOU MAKE OUT OF IT!
Click to expand...
Click to collapse
Thanks for the reply. I prefer to have more space in system.