how to maximize internal storage vs program space? - 8525, TyTN, MDA Vario II, JasJam General

Hi all,
Is there a way to adjust the amount of the internal flash memory WM5 allocates between storage and program space?
I've installed all my extra apps in the unlocked extended ROM, and I'd like to reallocate the 29MB of 'Program' space I've freed up to 'Storage' space (as shown by Settings > System > Memory > Main) if possible.
I'd like to do this because there have been times when copying a file to the PDA fails because of 'no space left' in 'Storage', while there are still around 25MB+ of free space unused by the 'Program' part.
And this is something I'd like to do irrespective of the size of microsd I'll be getting.
thanks a lot
PS. Personally, I think it's silly that WM5 still allocates internal flash this way, since it's now able to run programs directly off the NAND flash ...

my mistake
OK,
I just found out about the memory FAQs down the bottom of this page:
http://wiki.xda-developers.com/index.php?pagename=Hermes_FAQs
and reading them cleared up my questions: basically I mistook 'Program' part of the memory as being part of the NAND flash, when it's actually part of the RAM.
Only the 'Storage' part belongs to the flash.
So now I know my question didn't actually make sense, and can be ignored
cheers

We all live and learn. You have done the right thing in finding the answer and helping others by providing a link to the wiki.
Welcome to the board.
Mike

Related

Less internal memory after flash. HELP!

I flashed a ROM and now i look at internal memory and it says available space 11MB and i don't have any apps installed. It used to say 89MB free. Are there apps or something hidden that i can delete to get more internal memory back on my phone? Please and thank you.

Removing Bloatware

Due to the fact that I can't directly reply to the thread that was created because I don't have enough posts, I'm posting here looking for an answer.
I followed the advice in this post. The only difference is that I used Super Manager instead of Root Explorer to delete the files from /system/app/.
Here is the odd part, after finishing I rebooted and when I powered back up and checked my available memory, it didn't change at all. Naturally I went back in with Super Manager and checked for the files and they are not there. I also looked with Astro File Manager and the files were not in /system/app/. I don't understand that if I deleted the files, why didn't my available memory increase? That is the whole reason I removed.
Thanks,
Why do you need more space in system folder?...
Go in data folder and check dalvick and data folders for leftovers.
Sent from my S7 using Tapatalk
Removing the so-called "bloatware" won't free up app storage space.
The tablet uses different partitions to store different things. System applications are stored on a different partition than user-installed apps. They each have their own space, indepentantly of each other.
When I started this exercise in removing the "bloatware" from my S7, I had a little over 85 MB free from the 175 MB available. After removing the "bloatware" I didn't see a change. Over the weekend, I removed the battery from my S7 to check the version number. After starting the S7 again, I check the memory and I now have 101 MB free. The only change was to remove the "bloatware". After installing two more apps on the tablet and moving the .apk file to my Link2SD partition on the internal SD card, I now have 98.97 MB of available space.
For the other post about removing the cache, I just ran cachemate and now I have 105 MB of available space.
Removing the "bloatware" does have an effect on the available memory.
While I did restart my S7 after removing the "bloatware", I didn't remove the battery. I don't know what I had the difference, but by completely removing the battery I saw that I had more space available after removing the "bloatware".
Couldn't have been. All of the apps you deleted reside in /system/app. That's on a completely separate partition from /data.
/data is where apps you install from Market go. It's also the space listed under "Internal Tablet Storage".
/system is where the system core files (and any pre-bundled apps) reside. There is no way to see the space free/used without going into a root terminal and running "df -h"
There is no way deleting system applications freed any sort of space on your /data partition.
It would be like if you had two hard drives in your computer, labled C:\ and D:\. Why would deleting files from C:\ free space on D:\? It's the same concept.
Ok. I understand what you are saying. However, I'm just reporting what I see when I look under:
Internal Tablet Storage
Total Space = 175 MB
Available Space = 100 MB
After removing the .apk "bloatware" files from /system/apps the available space increased.
tedkitch said:
Ok. I understand what you are saying. However, I'm just reporting what I see when I look under:
Internal Tablet Storage
Total Space = 175 MB
Available Space = 100 MB
After removing the .apk "bloatware" files from /system/apps the available space increased.
Click to expand...
Click to collapse
he's just being hostile and doesn't understand...
the bloatware resides in /system... now some of those files are Maps.apk which is an outdated version, and when you update it to the newest version from the market it installs to /data...
now...
it says it is updated, but we still have the outdated version which is still in /system taking up INTERNAL space. removing that apk from within /system and rebooting will add that much more space to your internal and the maps will still be installed because they are updated and installed to /data.
if you want to be so high and mighty, think before you talk.
also... data is installed internally, hence why we have the a2sd or links2sd method.
joenilan said:
it says it is updated, but we still have the outdated version which is still in /system taking up INTERNAL space. removing that apk from within /system and rebooting will add that much more space to your internal and the maps will still be installed because they are updated and installed to /data.
if you want to be so high and mighty, think before you talk.
Click to expand...
Click to collapse
I think you need to think before you talk.
Space on /system is not (normally) accessible to the user to use for storage of any kind. It's reserved solely for the OS' system files to be stored.
I think this is where you all are getting confused. Yes, the entire storage (including the internal storage) is all on the same flash ROM chip. But, it's not all contiguous space. It's broken up into partitions, and changes you make to a single partition does not affect any of the other partitions.
I'm not TRYING to be hostile, and I understand more than you think I do. I understand the underlying Android OS' mounts, whereas it seems you do not.
If you had said "removing these apps keeps them from running and using up CPU cycles and ram" I wouldn't have an issue with it. But, saying they free up space for the user to install apps to is just plain wrong.

TMOUS ROM/RAM - Partitions for CWR

This is probably a daft question but the TmoUS HD2 has 1gb ROM, so when we create partitions for CWR why dont we use the entire 1gb? It has an additional 500+mb of RAM to allow everything to run smoothly. What am I missing here? Why is 400mb the recommended size? Doesnt that just leave 600mb going to waste?
Thanks for any clarification.
It may not necessarily be daft, but it certainly is in the wrong forum.
You are completely not understanding how things works, you are messing ram with rom, you are messing cwr partitions with sd partitions..you are messing system partition with userdata partition.. summarizing: you are doing so much confusion that you will dont know also your name in some minutes
And, btw, wrong section.
btw I'm in a kind mood today:
When you flash CWR, all your availabe ROM will be used for data storage. The "400mb thing" is just for system partition, where the build will be stored
If you se a build that uses SD to store data, your availabel ROM is wasted also if you still need to use the 400mb thing (or less if the build is smaller)
Your RAM are never touched from those things.
First, not sure why this is the wrong section as it directly related to NAND/CWR, but thank for the psudo moderation.
Rafpinga: I'm not concerned with SD partitions, Don't use them as I have no need, but i gather the gist of your answer is that my 400mb ROM partition is strictly for the system (OS files) and the remainder of the 1gb will be used for data? That makes more sense.
So I basically have 1gb of ROM (700 something formatted), 400 is used for system/OS and the remaining 300 something is available for apps etc..?
Ok, I thought I had my answer but apparently not. How am I confusing NAND and SD partitions? I don't use SD partitions at all? I use NAND partitions only as far as I can tell. What did I miss? I didn't even mention SD partitions in my OP.
I have a 400mb System partition, which is on NAND, the remainder of my NAND is used for data correct? My SD card is irrelevant to this setup correct? I don't even need an SD card inserted for my setup to work...
If i'm confusing the two perhaps someone would explain how rather than just *****ing about the thread!.... If it's in the wrong place I'm sorry and I'm sure it'll get rightfully moved but that shouldnt negate trying to get an answer.
OK, you're all over the map, but lets do the quick rundown.
A partition is a chunk of named memory-space. aka c: in windows or the swap file in linux.
SD cards and internal ROM are essentially hard disks that can be written to. The ROM needs to be flashed, while the SD cards internally flash too. What you can do is partition either of them and name the partition. You can also choose the filesystem that a particular partition uses. Internal ROM for android needs to be partitioned into a proper linux filesystem with proper formatting to operate. One of the partitions is userspace, another is "system". SD partitions are extensions to the linux operating system and as such should not be considered "bad". Really, the more memory the better.
Random Access Memory (RAM), i believe some type of DDR in this phone, is a volatile memory that clears upon restart. It's only used during normal operation and never stores your Android.
Read-Only Memory (ROM) is NAND in this case. There is a large misnomer on these forums about NAND. They meant to call it Internal NAND. ROM, the 1gb, is where ALL operating system files are stored. You flash the bootstraps and system partitions once, then all your stuff is stored in a separate portion of the ROM.
NAND is the storage technology used to manufacture most consumer read-only memory(ROM). SD cards and the internal memory both use NAND type memory, the difference between the two is the bus speed between the internal NAND and the CPU.
On the TMOUS HD2, there is 1,000mb of space in the ROM. A 400mb system partition would leave 600mb for things like the swap file and the user data portion. In some cases, ie EU version, a 400mb system partition would eat the ~500mb available ROM, so developers figured out a way to partition the SD card and effectively expand the ~500mb to 1,000mb and beyond. APP2SD+ was the final solution.
The TMOUS when partitioned properly will have a huge amount of headroom for the Android to excel. Nothing really goes to waste as long as you use a TMOUS compatible ROM.
Next time, ask in the right forum and you'll get the answer you wanted without all the hassle.
Thank you. I really appreciate that explaination and again, sorry for being in the wrong forum.
Sent from my HTC HD2 using XDA App
Ok, now that the whole NAND/RAM/CWR thing is cleared and little badgering, I'll move this thread to the Q & A section. If you see a thread in the wrong section, just report it. Once you've posted the question in the wrong thread, there is nothing the OP can do to move it. So if you can answer then please do. This way when a MOD moves the thread to the correct place it has some useful information. So I'm deleting the SPAM/light Flaming and moving this along.
noellenchris
HD2 Forum MOD

[Q] CM9/CM7 Out of space, but computer showing 27GB available

Hello all,
I have CM9 nightly installed on a 32GB microSD and I have just run into a weird problem. I still have 27GB left open BUT when I try to download magazines and install apps, it's saying I'm out of room or running out of room. Anyone have any idea why that might be?
Is it possible it's installing things to the EMMC? If so, how do I change that?
Sorry if this a n00b question. Thanks in advance for your help.
mikelav456 said:
Hello all,
I have CM9 nightly installed on a 32GB microSD and I have just run into a weird problem. I still have 27GB left open BUT when I try to download magazines and install apps, it's saying I'm out of room or running out of room. Anyone have any idea why that might be?
Is it possible it's installing things to the EMMC? If so, how do I change that?
Sorry if this a n00b question. Thanks in advance for your help.
Click to expand...
Click to collapse
Android has 3 major areas where stuff is stored. The system partition holds all the OS stuff plus has an area for system apps. The data partition is were downloaded apps get stored normally. The media or sdcard area is normally used for music, videos, pictures and also where some apps store any working data.
The system and data areas are of relatively fixed sizes even though they are all on the actual SD card. For your 32GB SD card it is probably "460M system, 975M data, rest is FAT for sdcard" from veryGreen post.
So your error message is being triggered probably because the 975M data partition is full. Typically this enough to hold about 150 - 200 apps depending on their size, but some games can take quite a lot.
You can check memory usage by going into settings and looking under apps.
What can you do about it? On an SD card install the simplest way is to use ANdroids capability to move apps from the standard data partition to the sdcard partition. Not all apps can be moved but many can and this will then free up space in your data partition.
Get the Apps2Sd app to help you manage this process.
I haven't run from a sdcard in quitevawhile, buy it sounds like the card didn't get repartitioned after making it into a bootable. After you burn an image to a card, you need to use an application like Easus, a disk partitioning tool (free for home use for windows, I believe) t repartition the card and make use if the remaining space.
mateorod said:
I haven't run from a sdcard in quitevawhile, buy it sounds like the card didn't get repartitioned after making it into a bootable. After you burn an image to a card, you need to use an application like Easus, a disk partitioning tool (free for home use for windows, I believe) t repartition the card and make use if the remaining space.
Click to expand...
Click to collapse
I think the partitioning must have worked otherwise it wouldn't function at all.
You could change data partition size to give more space to the data partition if you are careful. I've done that on emmc prior to install. I've never tried it on an SD card after install and it's possible it might muck something else up. However, the basic point is that apps and related content go into data by default. The big part of the SD card left over from the initial install is intended for media.
Compare it to a phone. The data partition in the internal phone memory is fixed and can run out of space if lots of apps are installed. If you plug an SD expansion card into a phone it allows you to store lots music, video, etc but unless you move apps to the SD card then your original data space is unchanged. That's why app users can complain if a memory hungry app can't be moved to SD.
Maybe you can teach me something here. I am not sure I understand.
When I formatted an 8 gig card to run cm7.1, I was able to use it to boot but had the rest of memory unavailable for use. It wasn't until I redid the process and then reformatted the partitions to have the remaining space available. Only then was I able to use the remaining 6 gigabyte or whatever. I had the four partitions in both instances, and the card worked, it just wasn't available because all the space was allocated to the wrong partition. Which I rectified with Easus, I'm pretty sure.
What I guess I am saying, isbthat there are some tools that could be used, although I maybe wrong. It just seems counter-intuitive that the OP should have to use App2SD and otherworkarounds when theybhave 32 gigs to play with. I think Easus lets you define those partitions anyway you like, with the 29 gigs or so that is left once you allocate the system stuff.
Like I sad, I maybe just don't understand this very well, it is something I did when I was first learning about rooting, before I figured there was no real reason not to go internal.
mateorod said:
Maybe you can teach me something here. I am not sure I understand.
When I formatted an 8 gig card to run cm7.1, I was able to use it to boot but had the rest of memory unavailable for use. It wasn't until I redid the process and then reformatted the partitions to have the remaining space available. Only then was I able to use the remaining 6 gigabyte or whatever. I had the four partitions in both instances, and the card worked, it just wasn't available because all the space was allocated to the wrong partition. Which I rectified with Easus, I'm pretty sure.
What I guess I am saying, isbthat there are some tools that could be used, although I maybe wrong. It just seems counter-intuitive that the OP should have to use App2SD and otherworkarounds when theybhave 32 gigs to play with. I think Easus lets you define those partitions anyway you like, with the 29 gigs or so that is left once you allocate the system stuff.
Like I sad, I maybe just don't understand this very well, it is something I did when I was first learning about rooting, before I figured there was no real reason not to go internal.
Click to expand...
Click to collapse
The various partitions have different purposes. It's not that they are unavailable for use. You want each area to have sufficient room for what you want but not necessarily too big because that then is wasted and is subtracting from the other areas.
First there is the boot partition containing the boot images. This can be small.
Next you have the system partition (~500MB) which can be fairly small because the OS does not take a lot of room and the system apps are relatively fixed in size and you don't need to add extra to that.
Next you have the data partition where downloaded apps and some of their associated data lives. You want this to be fairly big to accommodate a decent number of apps but it doesn't need to be huge. Apps vary in size from 100s of Kbytes up to say 20MB or more. So a 1GB data partition can typically hold about 200 apps.
On an SD card that then leaves the rest of space for a sdcard partition where media can be stored like video, pictures and music plus some apps will also require some working space on there.
So on an SD card install the main balance is between data and sdcard. If you were to make the data partition larger to accommodate more downloaded apps then you reduce the amount of space for music, video etc. But you do want enough space to hold a decent number of apps. The standard verygreen SD card installer sets the balance at ~1GB data and the rest sdcard for media. Now if you never wanted to put much media files on the SD card and you want to be able to download thousands of apps then that would be an argument for setting the balance the other way.
Now if you install to the internal memory the same scenario applies but you have an additional partition confusingly called emmc. Your boot, system and data areas are on the internal memory. The left over internal area is the emmc partition and the sd card is now normally set up to be a single sdcard partition.
Both the emmc and the sd card are typically used to hold media files.
The size of the data and emmc partition in the internal memory can be varied before you do the install by some partitoning zip tools and there is a thread dedicated to that.
By default as supplied new Nooks have a 5GB internal data partition and a 1GB emmc. Many people think that is not a great choice as it is really difficult to run out of app space with 5GB and it means there is only 1GB internal space for media and the unused data space is wasted. By repartitoning to say 2GB data and 4GB emmc then you get plenty of space for apps and release space for more media.
You are right that using something like Apps2Sd would seem unnecessary when you have lots of free space. It is effectively a work-around to let you use some of the sdcard as extra data area if you run out of the data area that has been allocated. Actually on an SD card install there is not much of a downside in that moving an app from data to sdcard as it is still all on the same SD card. For an internal memory install it is nice to have a big enough data partiton to make moving apps to the SD card unnecessary.

Increase HD2 internal memory

hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
chachoi said:
hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
Click to expand...
Click to collapse
OK first things first,
Are you familiar with the 'stuff' of the HD2? MAGLDR bootloader, ClockworkMod Recovery(CWM)? sd-ext partitions?
well I'm trying to learn this terms but this is gonna take a while I think,
the Previous owner has installed magdlr 1.13 and clockworkmod and I have flashed paranoid android rom this morning. So I do have a recovery
sd-ext partion not so much
**okay okay, you will need to do a lot of research about your device and using it to its full potential; too much that it can't be explained within one post **
but here is a method I found in xda of performing a sd-ext partition within cwm:
> GO to advance and then partition SD card
> Remember this will wipe the sd card so back everything up if need be
> Choose how much space you want, 1024mb is recommended, on the partition then then choose 0MB for swap
>PLEASE NOTE PARTITIONING WILL WIPE THE SD CARD!
>and hey presto your done
> from here you can install link2sd and your set to go. -note, you will need to read about link2sd before use. just search it
There are many benifits of this using EXT-Partition such as you apps will automatically transfer to your partition meaning you will free space on your internal storage!
apologies if there's any misinformation there, quite tired :$
Sent from space..
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
chachoi said:
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
Click to expand...
Click to collapse
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Thank you
Nigeldg said:
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Click to expand...
Click to collapse
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
chachoi said:
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
Click to expand...
Click to collapse
Well it depends on the partition size you're currently using. If it's already the minimum for your ROM then no you can't increase the storage by repartitioning the NAND, but if it's any more than the minimum then you can increase this, by reflashing recovery with the correct size. Make a full backup in CWM first though.
so I reflashed 150MB recovery partition and flashed AOKP build by xylograph
now I have 217MB of internal memory
what should I flash so I can have more space?
the less is your recovery partition - more internal memory you get. Minimal recovery partition can be about 100 mb for some light roms I belive. So you can get 50 more mb than you hav now.
You've mentioned 300mb earlier, even if you get your desired 300mb it's gonna get filled up very soon.
I would advise you as was mentioned above to borrow 1gb from your sd card for sd-ext partition. Most of the roms support from the box (without intsalling any additional apps or scripts) sd-ext partition and install apps by default on that partiotion, Paranoid Android does, for instance, actually 80% of the roms do as well...
I don't know if it means anything, but you could look into a US HD2. Its got 1024 mb internal memory! That's double!
ok maybe ill experiment with this sd-ext partition
never had to deal with tgis when I was on defy
try this: http://forum.xda-developers.com/showthread.php?t=1661892
I installed AOKP in NAND & had only a few 100mb's available, I just used Link2SD & moved most apps/ games to SD. SD has no ext. part. yet. will do it latter when i get a 32gig card, now just testing a 4gig SD

Categories

Resources