Program vs. Storage memory in WM 6.1? - Mogul, XV6800 ROM Development

I built and loaded DCD's 2.3.0 kitchen last night. First I built and loaded his bare kitchen and got pretty much the same memory numbers as in his first post. When I added a bunch of extra OEMs I expected the free program memory to go down, but was surprised to see the total storage memory go down too.
What caused the total storage memory to go down? Roughly 10 MB got loaded into storage memory, so is there a way to force more apps into that memory and free up more program memory?
In the screen shots below, the green one is DCD's (from 2.2.0 I think) and the blue one is mine with 2.3.0 and the loaded kitchen, immediately after a reboot.

Maybe I can explain this better. I'm trying to load as much stuff in the kitchen as I can, while still having a stable and usable device, but maybe that's the wrong way to go about it.
Is there a way with the kitchen to force more apps to install to storage memory or the storage card, and free up more program memory? If not, can this be done with UC?
Would installing some of my kitchen OEMs to the storage card as CABs instead, either manually or with UC, increase my free program memory?

If you are familiar with how a computer works, you should think of it this way:
Strorage Memory = Hard Drive
Program Memory = RAM
SD Card = External Hard Drive
So, as you build various programs into your custom ROM, they may (depending on the program) take up both Storage and Program Memory. An example of a program which would do this, for instance, would be SPB Weather. Why? Because (a) you load the program into the ROM, where it gets installed onto your Storage Memory. Then, when you turn your phone on, SPB Weather automatically runs, so it's also taking up some Program Memory as well. If a particular program you load into your ROM does not automatically start with the phone, then it would only take up Storage Memory and NOT Program Memory, until such time you actually run the program.
Loading programs onto your SD Card instead of the Storage Memory would obviously give you more free Storage Memory, but it may or may not give you more free Program Memory, again depending on what particular program you are loading. Additionally, many programs run slower (or might even be incompatible) running off the SD Card.

Thanks for the explanation, I think I've got it now. So installing a program, whether through burning with a kitchen as an OEM, or separately with a CAB, makes no difference to the amount of program memory used? Installing to the storage card, or extended ROM if unlocked, only reduces the amount of storage memory used, right?
If this is correct, it sounds like if I will be burning often, installing a minimal kitchen with only the OS and other necessary system files, using OEMizer to personalize the kitchen, then using UC to install all the extras as CABs from the storage card, sounds like the most efficient way to go. Do you agree?
I haven't read up on UC yet, but will it allow installs from the storage card to the storage card?

Related

Memory management

Currently i have 35Mb of space in use.
26Megs is for a game & the other 9Mb i'm presumming is windows etc. however there is an optional file for said game that is 84Mb and i don't have the storage.
i was wondering if it is possible to load all the windows data into the 14Mb of free storage/rom leaving just the game in main memory. then there will be space for the additional file:
game 26Mb + additional file 84Mb = 110Mb (14Mb free)
This is not a permanant solution, obviously an mmc card is a better option but i don't have the cash at the moment, so i want a quick fix for playing the game. also i wouldn't mind having that extra 10 megs. lol
many thanks, sorry if this has been brought up, i did a search but there was too many results to sift thru.
Yes its possible to do it without an SD card...
Go to START -> SETTINGS
then choose the second tab (SYSTEM)
then click on MEMORY
now you can give more space to STORAGE area & reduce it for the PROGRAMS (which is the memory windows uses to run programs)
But be aware that windows will control this memory ratio automatically every few menutes... :wink:
i think i must have misphrased the question.
I already know how to adjust the memory settings, and i will get round to that to give more memory to storage, but first i need that 14Mb of memory that the windows and programfiles folders have already taken up. I want to be able to store that in the free backup ROM space, hence leaving all 128Mb of RAM free, which i can then divide into 110Mb storage and 14Mb program ram.
Ahh well, thats impossible!!!
Windows needs to be installed on the RAM, you can't change that ever!
I suggest you to buy an MMC card, its cheaper than SD cards..
Sorry if I didn't help!
no thanks thats exactly what i needed to know
looks like a wad of cash will need to be parted from my person soon lol
thanks again.
You welcome Ace.. I did nothing
If you are willing to buy MMC, consider this 2GB MMC with read speed about 150X (22.5MB/s) and write speed greater than 120X (18MB/s)! Its WOoOoOoOooOoOoOoOoW 8)
http://www.pdagold.com/articles/detail.asp?a=159
Memory & MMC Cards
Reading this post has made me wonder exactly what I've got on my XDA2. Windows is only 9MB? I don't seem to have as much space left on mine as it seems I should
I have:-
27MB in MyDocuments
28 MB in Programs (Calculated by adding up the program sizes listed in ActiveSync).
I don't have any Mutilmedia Messages on there, and i empty the Internet Explorer temporay files regularly, however, my xda2 still only reports that I have 40MB free. 126 - ( 27+28 ) - 9 (windows) = 62, not 40.
Is there any PC app that can link to the xda2 and find out exactly how big each folder is, or where all the space is going to?
Also, with the MMC card you posted, is there any particular ROM version needed for larger MMC Cards? I was wondering if there is any limitations on the size of card the xda2 can handle.
Come on guys!
Windows is not 9MB nor 14MB !!!!!!!
If the ROM image size is 32MB, so windows size would be something around that (~30 or 31 MB)!
My windows folder size (on my XDA I device) now is 69MB!
Try to navigate to Windows directory using Total Commander & then select all files inside it & choose Properties. It will give you the total size of the files.
The installation programs copy their system & common files to Windows folder everytime you install a program. Also the Database files are there inside, growing & growing. So this folder gets bigger & bigger over time...!
I guess that huge MMC doesn't need any special software to operate it. They've said that it works for all handheld & wireless devices..
Anyone knows from where to buy this mammoth MMC card?
Wait a min.... how come my windows folder size is 69MB and all what I have on my device is 64MB RAM ?????? :?
Seems Total Commander is faulty!!!! :roll:
what is being displayed as the size of the windows dir is BOTH
ram and rom
2Gb mmc is just insane. 1Gb ones retail for around £400 so i'd hate to think what you'd fork out for double that.
Yeah I guess so, but XDA supports 2GB memory cards, since I saw a program in handango.com which supports formating them :wink:
But sometimes you need huge space! my 256 MMC card is almost full, I need larger space :lol:
also it gets wiped every 1 or 2 weeks
damn Windows!!!!!
what do yo u mean by wiped? something causes it to lose all its data? or are you doing it purposely?
Yes the card got wiped by itself without any external interfer!!!!
Its a bug in Windows Mobile 2003!!!!!
the reason i asked is cus something like that just happened to me!!!
My card had all my data on it, then for no reason file explorer nor activesync would not let me view anything. Memory management showed data on card but i could not access it! Even storagetools had problems with the card. i had to hard reset my machine for it to work!
Are they planning to fix this?
No there's no need to hard reset your device!
Just format the SD card & it will work again!
I guess this bug will be fixed in Windows Mobile 2003 SE (well, i hope so :roll: )
XDA2 memory
Hi Guys!
I have changed my XDA2 memory to give more to program memory since I have a MMC card. I dun seemed to see Windows switching back to the original ratio.
Also need your comments on some files like the MSGQueue_SMS which is eating into data storage. What are those files? Can they be in MMC card?
MSGQueue_SMS is an essential process for the SMS reception, and also cannot reside on storage card since it runs at startup!
I have the same problem regarding memory management! I just HARD RESET my device, and I gain back the free memory again :?

What's the difference between installing in device and in storage?

Some apps instruct to install in device and some other instruct to install in storage card. I wonder what's the difference? And if an app doesn't tell us where to install, where should we install it? Thanks.
Some apps will only run from your main memory, some run better from your main memory, thus the suggestions. These are often smaller, utility apps that will not soak up to much of your main memory. Your storage card (even if you use a small one, 2 or 4gb) is huge by comparison to your main memory. You can run most programs just fine from your storage card, so larger programs that require more storage are best installed there unless otherwise reccomended by the developer.
Basicly it is real simple. If the installation questions you where to install. the program files go to the location you point (there can always be files that will go to the windows directory wich is on your phone memory). When you put the installation on the SD you must remember that you can't run the program when you have pulled out your SD. Als SD might be faster or slower than the phone memory (these days it is mostly just the same) The biggest difference is when you install all your apps on phone memory it will be full very fast. Therefore I advice you to install as many apps as you can on the SD. Ofcouse there are also apps that only can be installed on Phone Memory for several reasens but than you will not be asked or it is in the manual of the app.
heres the rule i follow:
1. if the application is for the SYSTEM to use (some kind of alarm application, current ringtone, scheduled backup application, active theme/wallpaper, etc, etc), then i put it on the device memory.
2. if the application is a game or something i rarely use or something i can live without in case my sd card crashes or becomes unavailable, then i put it in the storage card.
NOTE: your sd card will DEFINITELY be UNAVAILABLE when you plug in your HD2 in "disk mode" to your pc. it will be accessible by your device once you close the "disk mode". it also remains fully accessible in "active sync" mode and in "internet sharing" mode. all the same, the sd card is "removable" storage so try not to install frequently used essential programs.
NOTE 2: ALL applications will run perfectly fine from device memory but SOME applications will NOT run fine from storage card. so another thumb rule is to try to put as much as you can on the device memory, and always remember to leave 10-20MB free for the system itself.
NOTE 3: device memory is generally faster than the fastest sd card, so your programs installed on device memory will generally LOAD faster.
NOTE 4: the HD2 has a LOT of free device memory compared to previous windows mobile phones. i usually select a few applications and have always installed everything but games to the device memory and have always had plenty of free memory, even when i followed this practice on my old kaiser that had much much less free device memory.

[Q] A2SD, TiBu, Nandroid and You...

Hoping someone can help me understand the implications of using the above methods of backup as it relates to device performance and restore.
First is a question about how Android memory works. I'm running Virtuous Unity 2.39 on an Inspire. According to TiBu my System ROM is 575MB with 40.4MB free, 1.21GB internal with 648 free. The system memory manager says I have 180MB of memory available. So, I'm not sure which memory is which. What's used for storage, and what's used for runtime of programs? Am I correct to assume that if I move programs from internal memory to storage that I'll be able to run more apps at any given time?
Here are my questions.
Will moving some (larger) apps like CoPilot (33MB), Documents2Go (11MB), SPB Wallet (12MB) and infrequently used utilities like SpeedTest benefit the handset performance in any real way, or am I over-thinking this?
If the answer to the above is 'yes', there is a performance gain, what happens when I do a Nandroid or TiBu backup in preparation for a ROM upgrade? I know that TiBu has the setting 'Restore backups to... Original Location' as one of the options. Does this mean I could theoretically restore apps to an entirely new (blank) card if need be?
Will using a utility like D2SD (if I partition my card with an EXT4 segment) likewise help in any substantial way?
How can I help organize the apps and data on the card so that it reduces 'clutter' and presents a more easily managed folder structure to find things that I need?
Thanks in advance for your help!
Anyone out there have thoughts on this?
The system ROM, is the memory used by the custom rom. It stores all the files the rom needs to run. The internal memory is the memory used for storage by all the apps, etc. you have. The 180mb you had free, is the RAM. You'll notice it'll be at different amounts (depending on how many things are running, and how resource consuming the are).
1. Yes, but only if your internal memory is very low (low enough to get the "low space" warning (or at least close to that).
2. No (not fully). Some may be restored fine but some would be corrupted.
3. Only if your device's internal memory (in total) is low.
4. Usually when you move an app to the SD card, they automatically organize themselves in one folder called ".android_secure"
Hope this clarifies some things for you .
Theonew said:
The 180mb you had free, is the RAM. You'll notice it'll be at different amounts (depending on how many things are running, and how resource consuming the are).
Click to expand...
Click to collapse
I appreciate your reply.
So, there wouldn't be any performance improvement if I were to free up more RAM or perhaps create an EXT4 partition on the SD card for system use?
BillTheCat said:
I appreciate your reply.
So, there wouldn't be any performance improvement if I were to free up more RAM or perhaps create an EXT4 partition on the SD card for system use?
Click to expand...
Click to collapse
Yes there will be a performance gain if you free up RAM but creating an EXT4 partition does not contribute to that. That partition will only be for storage.

[Q] Inbuilt Memory shortage

Hi
Sorry not a high tech question but would appreciate some help
Re. my viewpad 7
Seems to be constantly short of inbuilt memory.
(should be 512mb)
was down to zero today though have not addded anything for a while.
Clearing cache and history via browser took it back up to 8 mb but already with an hours use down to 6mb again.
Have moved everything that Apps manager allows over to the (16GB) SD card, which still has lots of space.
Neither of the "File Explorer" or "Settings/SD card and phone storage" routes let me actually see what's in phone memory.
Pad is "as bought" re rom's etc
Would appreciate any help.
thx
Russ
It's got 512mb total, which is split over different partitions.
You are running out of space on the /data partition, try uninstalling some apps, or use an app like apps2sd to move some to your sd card.
Thanks for quick response but have tried deleting a few apps and have already moved everything that can be moved onto sd card
have downloaded a couple of versions of app2sd apps 2sd etc but they do not offer any more suggestions on apps that can be moved as I say I have aready moved all that seem moveable
It does seem that it's some sort of data thats the problem but I can't see into the inbuilt memory to see what data it is or from what app
rgds
russ
It is stupid Android. When you move apps to SD, than still some (usualy bigger) parts is still in internal memory. When you move apps to SD, than info about occupied space is valid only for occupied space on SD by the apps. If you want to know how big is the application than you have to move back to internal memory, than info is correct.
Also some updating of system apss can consume very big space of internal memory. For example Aldiko can occupy 6MB !!!!
The problem is, when you install a new app either from Android Market, Amazon App Store or anywhere else, the system retains the .apk install file somewhere in memory. I'm yet to find where those files are stored.
You can use a file manager like Astro File manager to see all the files on your viewpad 7's internal memory however, manipulating those files is a bit trickier. I thought I found them in a \sys\data directory or something like that but the system refuses to let me delete them.
Does anyone know for certain where these .apk files are stored. I've deleted/moved everything I can and am down to the apps that I need on the unit. If I have to delete more, then there is no sense having a small form-factor tablet. The space that is being used is far above the applications that I have installed so there has to be garbage files somewhere that need cleaned up.

Internal Storage Question

From what I understand, the 8GB of internal storage on the DX2 is divided into 2GB for apps, 4.3GB free to do whatever with, and the rest for Android. Right now out the 4.3GB of free storage I have ~800MB unused, which implies I've used 3.5GB. However, when I connect my phone to my PC and scan the contents of that 4.3GB of free storage, it shows that there is only 2.2GB of data on there. Where is the remaining 1.3GB and is there any way I can access/delete it to free up space?
I thought around 2gb was set aside for application storage.
I have no idea how much stuff u have on ur internal storage but u may want to move storage for pictures and.music to external storage..u can just move music files and the DCIM folder to external sd card and reboot which should free up some space...also try clearing cache from stock recovery to see what that frees up if u have never done that...
also in camera app settings to make ur pics store directly to sd card there is a setting for that so u don't have to manually move them...
Hy Drippis Welcome to the forums,
First off let me say if you want to solve a problem with your phone if you follow what ashclepdia says you'll never go wrong he has a great deal of knowledge on these phone's.
Second I never liked this type of labeling system for the storage on this phone.
Third a short explanation of the storage on our phone's.
Our phone has the following, according to VZW and Moto:
- 8GB of internal storage. This breaks down as 2 GB secure memory and 6 GB of usable memory.
- 8GB of external storage which refers to the removable SD card behind the battery.
In the 2 GB lives the Android system files and installed applications with most of their associated data. Some programs are accustomed to using the "sd card" which I will get back to in a minute. You can look at the status of this 2 GB in 2 different ways: 1. Settings - Storage - Application storage, "Available Space"; 2. Settings - Applications - Storage Use - All - Application Storage (on the bottom of the screen).
The 6 GB can be viewed by: 1. Settings - Storage - Internal Storage; 2. Settings - Applications - Storage Use - Media Area.
When you move things to the Media area, you are taking a portion of the installed app from the 2GB and moving it to the 6GB, which is similar to the way in tho older phones, you moved apps to the SD card. So, the question is why do we move apps to the SD card? In older phones there was far less "internal storage" and you would literally run low on memory for apps. New phones have much more space, so unless you are installing lots and lots of apps, it shouldn't be a problem.
With our phone, they have included internal, hard wired, SD Card-like storage, which can be used, mounted/unmounted, just like an external SD Card. The Media Area is simply a folder on this remaining 6 GB area. In some cases, this is automatically done by some apps, for backup purposes or caches.
Hope this is of some value 2u..
If this was helpful, be sure to press the thanks button!
These aren't the droids you're looking for.
Thanks for the responses. Although informative, they didn't answer my primary question so let me clarify. Not enough storage isn't the problem. I've already set up and moved all my pictures, movies, music, etc. to my 32 GB external sd card. My issue lies with the 4.3 GB of free-to-do-as-you-please storage on the internal sd card.
Out of this 4.3 GB
I've used 2.2 GB
And it says I have .8 GB free
Which leaves 1.3 GB missing
I guess I'll boot into recovery and wipe cache to see if that does much.
Not sure if this matters with regard to this issue, but I had been running P3's pre-rooted GB since I got this phone and earlier this week I flashed Eclipse 1.3 (loving it). I did wipe data before applying the zip.
Drippis said:
Thanks for the responses. Although informative, they didn't answer my primary question so let me clarify. Not enough storage isn't the problem. I've already set up and moved all my pictures, movies, music, etc. to my 32 GB external sd card. My issue lies with the 4.3 GB of free-to-do-as-you-please storage on the internal sd card.
Out of this 4.3 GB
I've used 2.2 GB
And it says I have .8 GB free
Which leaves 1.3 GB missing
I guess I'll boot into recovery and wipe cache to see if that does much.
Not sure if this matters with regard to this issue, but I had been running P3's pre-rooted GB since I got this phone and earlier this week I flashed Eclipse 1.3 (loving it). I did wipe data before applying the zip.
Click to expand...
Click to collapse
I CAN say that if u are running 1.3 eclipse on p3s GB u are on the wrong kernel and that may cause some problems ...
not sure if that's what's causing this issue for u or not. .
also when on eclipse the sdcard and internal storage are flip flopped. to see what space u have on internal storage go to settings>storage>sdcard....that is ur internal storage space when on eclipse....
bootstrap does not recognize that flip tho fyi....
my first recommendations is getting on the 2.3.4 kernel by sbf to 2.3.4
if u flashed 1.3 over p3droids rooted gb then u are still on 2.3.3 kernel ..
which can cause issues...since any eclipse 1.0 or later needs u to have the 2.3.4 kernel...only way to change kernel is sbf or OTA update.
there is a sticky on how to sbf in this forum...don't be intimidated...it is very simple...follow instructions ...
edit::: how bout a screenshot of ur storage setting screen and also ur about.phone screen.((screen shot er (or er2) from market works just fine))
Look in a file manager and see if you have a file named ".trash-1000" or something similar. If you are viewing your files on a PC, it will be a hidden folder. See if you have any files in there. When you delete something it creates a .trash folder and keeps it on your storage device like the recycle bin does on your PC. I think its supposed to "empty" itself but may not have. If you have files on there, you can just delete the whole .trash folder. Just a thought.

Categories

Resources