[Q]The size of internal memory - Galaxy S II Q&A, Help & Troubleshooting

I have the USA T-mobile Samsung Galaxy S2.
The spec sheet says the internal memory is 16GB, when I go to my phone and it says the system storage is only 1.97GB. Can someone explain to me why the difference?

simeezee said:
I have the USA T-mobile Samsung Galaxy S2.
The spec sheet says the internal memory is 16GB, when I go to my phone and it says the system storage is only 1.97GB. Can someone explain to me why the difference?
Click to expand...
Click to collapse
System storae is for applications u should have another section that says internal memory which is an internal sd card that should b close to 16 gb

Settings - Storage - also lists Sd Card + USB Storage + Device memory

Thanks for the quick replies.
So I went to settings > storage. It shows SD card, USB storage and System storage.
I understand System storage is how much space I can have for all my apps. But I'm not sure what the USB storage is.

simeezee said:
Thanks for the quick replies.
So I went to settings > storage. It shows SD card, USB storage and System storage.
I understand System storage is how much space I can have for all my apps. But I'm not sure what the USB storage is.
Click to expand...
Click to collapse
System storage (mine actually reads as "Device memory", but whatever) = space for apps to be installed (unless they can be moved to external memory)
USB storage = included "external" memory; i.e. what's left of the 16gb after system storage and whatever is partitioned for the OS. Usually around 13-14gb
SD card = external card you can plug into the phone to expand memory
USB storage is the default of where photos and videos are stored, and you can store other media (i.e. music, movies, etc) here as well, OR on the SD card.

Wrong forum, this is for the i9100 the international sgs2 not the T Mobile USA one which is very different. Clickme

veyka said:
Wrong forum, this is for the i9100 the international sgs2 not the T Mobile USA one which is very different. Clickme
Click to expand...
Click to collapse
While true enough, his question is general enough that it actually applies to all models of GS2.

ctomgee said:
While true enough, his question is general enough that it actually applies to all models of GS2.
Click to expand...
Click to collapse
Correct, but other people had posted the correct info, I though i should direct them to the right forum before they tried to flash anything though.

veyka said:
Correct, but other people had posted the correct info, I though i should direct them to the right forum before they tried to flash anything though.
Click to expand...
Click to collapse
Good point.

I was just looking into this and it seems the I9100 has only 14.08GiB?!?
Code:
./busybox df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 425264 32 425232 0% /dev
tmpfs 425264 0 425264 0% /mnt/asec
tmpfs 425264 0 425264 0% /mnt/obb
/dev/block/mmcblk0p9 516040 490772 25268 95% /system
/dev/block/mmcblk0p7 100784 4160 96624 4% /cache
/dev/block/mmcblk0p1 20144 8448 11696 42% /efs
/dev/block/mmcblk0p10 2064208 1311532 752676 64% /data
/dev/block/vold/259:3 12062752 3620128 8442624 30% /mnt/sdcard
tmpfs 31424512 3729088 27695424 12% /mnt/sdcard/external_sd
/dev/block/vold/179:25 31424512 3729088 27695424 12% /mnt/sdcard/external_sd
ignoring all the virtual tmpfs mountpoint and the external sdcard (/dev/block/vold/179:25) I'm left with
516 040 + 100 784 + 20 144 + 2 064 208 + 12 062 752 = 14 763 928
that's 14.08GiB / 14.76GB which is 1.25GB short of 16GB
(before someone even suggests that's because of Samsung using 10^9 instead of 2^30 please notice that I did calculate in both GiB and GB and it doesn't add up in either!)

Related

[Q]Cyanogenmod 7 confusion over memory...

Hi all--
I'm sorry in advance for the confusion I might have. I'm an extreme noob when it comes to this platform, and I'm not that great when it comes to Windows either...
Basically I was surprised to see that the external SD Card is used so much by CGM7 and is required for so much. For instance, all downloads HAVE to go to the external card. In addition: I don't know if this has anything to do with operating system, but all saved documents from basically any productivity program seems to save here by default as well.
So here are my questions:
Is there anyway to alter where things are downloaded to by the built in browser? I'd prefer that internal memory (EMMC, right?) be used... Does the default location for app installation handle this?
What exactly uses the external card by default?
Using the built-in file browser, why does it not want me to move items from internal to external storage? Why can I only copy and paste them?
I thought CWM was suppose to look on the external SD card when I use "Install zip from SD card." Instead, it looks at whatever is marked as the internal SD card. Why's that?
Thanks for your help and suggestions. I am using a gTablet, and I couldn't find a more appropriate forum for this question...
scyld said:
So here are my questions:
1. Is there anyway to alter where things are downloaded to by the built in browser? I'd prefer that internal memory (EMMC, right?) be used.
Click to expand...
Click to collapse
There is a thread just for this at the forum.cyanogenmod.com and also here:
http://forum.xda-developers.com/showthread.php?t=1028305
The last link in the first post does what you want. However, read my warnings if you do switch SD cards using that method:
http://forum.xda-developers.com/showpost.php?p=13569415&postcount=26
2. What exactly uses the external card by default?
Click to expand...
Click to collapse
Is the question what will use the external SD card, or what is using the external SD card. If it is the latter, Settings > Applications > Manage applications & Storage use has that info.
3. Using the built-in file browser, why does it not want me to move items from internal to external storage? Why can I only copy and paste them?
Click to expand...
Click to collapse
You can move them in the default File Manager. Keep your finger on the filename until a menu pops up. There is a "Move" choice.
4. I thought CWM was suppose to look on the external SD card when I use "Install zip from SD card." Instead, it looks at whatever is marked as the internal SD card. Why's that?
Click to expand...
Click to collapse
I will have to look into this, but I guess what SD card it uses depends on whether you have an external SD card in the slot or not.
The version of CWM I use, which is Clockworkmod Recovery v2.5.1.3, will use the external SD card by default when installing stuff or when making backups and when restoring, if it detects an external SD card. If one is not detected, then it will use the internal SD card instead for all its actions. See the blog post on the front page of http://bekit.net
rajeevvp said:
There is a thread just for this at the forum.cyanogenmod.com and also here:
http://forum.xda-developers.com/showthread.php?t=1028305
The last link in the first post does what you want. However, read my warnings if you do switch SD cards using that method:
http://forum.xda-developers.com/showpost.php?p=13569415&postcount=26
Click to expand...
Click to collapse
Yep, that's exactly the file I flashed in order to switch what SD card was labelled as "EMMC." Hmm, I suppose I could just move all my apps from the phone to "the external SD card"...
Is the question what will use the external SD card, or what is using the external SD card. If it is the latter, Settings > Applications > Manage applications & Storage use has that info.
Click to expand...
Click to collapse
Thanks.
You can move them in the default File Manager. Keep your finger on the filename until a menu pops up. There is a "Move" choice.
Click to expand...
Click to collapse
Pardon, I should have explained: when I do use the default File Manager's "Move" command, I get the message "Could Not Move File" whenever I try to move the file from one storage to the other.
I just downloaded Root Explorer, and it allows me to do this. However, I'm a little worried that it has Super User status, making me worried that I might accidentally do something bad with my clumsy fingers. But I suppose that's why I have CWM backing up my tablet.
Speaking of CWM...
I will have to look into this, but I guess what SD card it uses depends on whether you have an external SD card in the slot or not.
The version of CWM I use, which is Clockworkmod Recovery v2.5.1.3, will use the external SD card by default when installing stuff or when making backups and when restoring, if it detects an external SD card. If one is not detected, then it will use the internal SD card instead for all its actions. See the blog post on the front page of http://bekit.net
Click to expand...
Click to collapse
Interesting, thanks. I unfortunately do not remember which version of CWM I use, but I think it is not this one. I should check it out.
scyld said:
Yep, that's exactly the file I flashed in order to switch what SD card was labelled as "EMMC." Hmm, I suppose I could just move all my apps from the phone to "the external SD card"...
Click to expand...
Click to collapse
Here's my /system/etc/vold.fstab in its entirely. With this, my tablet uses the internal SD card as the default for storage.
Code:
## Vold 2.0 NVIDIA Harmony fstab
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0 /devices/platform/tegra-sdhci.3/mmc_host/mmc1
# dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
Pardon, I should have explained: when I do use the default File Manager's "Move" command, I get the message "Could Not Move File" whenever I try to move the file from one storage to the other.
I just downloaded Root Explorer, and it allows me to do this.
Click to expand...
Click to collapse
Ah, OK. The reason for the difference is due to the way the move is actually implemented in File Manager and Root Explorer.
I had an idea about why File Manager couldn't move files across filesystems, and to confirm my suspicion I attached strace to a running File Manager:
Code:
$ su
# strace -e rename -p `pidof org.openintents.filemanager`
Process 28466 attached - interrupt to quit
[I]lots of irrelevant output omitted[/I]
rename("/mnt/sdcard/Kernel/Pershoot/lib-2632.40_gb.tar.gz", "/data/local/tmp/lib-2632.40_gb.tar.gz") = -1 EXDEV (Cross-device link)
[I]more irrelevant output omitted[/I]
File Manager calls the rename() system call to move the lib-2632.40_gb.tar.gz file, which, as the spec says, will fail in this case. The program is then supposed to do the move the old-fashioned way if rename() returns an EXDEV error: copy file1 to file2 by reading bytes from file1 and writing bytes into file2; then delete file1 if the copy is successful.
But, File Manager doesn't perform this very basic fallback step. It throws up its hands at the first error and spits out the error message you got. And, it's not just File Manager. The system mv command (if you have it) in /system/bin also exhibits the same dumb behaviour. The busybox mv is more robust. (You should actually report this as a bug to the File Manager people.)
Which brings us to Root Explorer. I got curious about it after the experiment with File Manager. RE handles cross-device moves just fine. What's more, it also moves entire directory trees across devices. Having written directory tree-moving programs before, I know that this is a non-trivial bit of programming. So, I ran strace on Root Explorer to see how it handled things, and the result made me laugh.
Code:
$ su
# strace -f -e execve `pidof com.speedsoftware.rootexplorer`
Process 3602 attached with 12 threads - interrupt to quit
[I]lots of irrelevant output omitted[/I]
10893 execve("/system/xbin/busybox", ["busybox"..., "cp"..., "-pr"..., "/sdcard/Kernel/Pershoot/lib-2632"..., "/data/local/tmp/lib-2632.40_gb.t"...], [/* 19 vars */] <unfinished ...>
10893 <... execve resumed> ) = 0
10914 execve("/system/xbin/rm", ["rm"..., "-r"..., "/sdcard/Kernel/Pershoot/lib-2632"...], [/* 19 vars */] <unfinished ...>
10914 <... execve resumed> ) = 0
[I]more irrelevant output omitted[/I]
Root Explorer is also taking the easy way out: It's actually using busybox to do (almost) all of its work.
I suspected this when I compiled a new version of busybox a few days ago to test out a new compiler toolchain. I moved the newly compiled busybox into /system/xbin without properly testing it first, and discovered that most of the commands died with segfault errors.
I re-uploaded the working version of busybox back onto the tablet in /mnt/sdcard/download, and then went into Root Explorer to move this busybox into /system/xbin, and RE started force closing on every action. Once I had managed to replace busybox through other means, RE started working fine again. At that time, I didn't look at the issue too closely--I thought it was just another example of the random lossage that Android exhibits from time to time. Now I know why.

[Q] Repartitioning Internal Memory

Hi y'all!
Currently, I'm running CM7 Nightly 177 on my NookColor and I have the custom partition scheme on my NookColor's internal memory. (/data = 2GB & /media 4GB)
I'm recently being troubled by not having enough memory for all of my apps. I have too many, but I don't want to uninstall them so I would like to increase my data partition.
Is there an existing .zip partition scheme that would give me the ff:
OPTION 1:
/data = 3GB
/media = 3GB
or...
OPTION 2:
/data = 4GB
/media = 2GB
Right now, the only ones I was able to find are:
Old NookColor:
/data = 1GB
/media = 5GB
Blue-dot NookColor:
/data = 5GB
/media = 1GB
and
Custom (I'm currently using this one)
/data = 2GB
/media = 4GB.
I've just realized that I don't use the emmc's memory that much so it would be great if I can take some of that unused memory and give it to the /data partition for my apps.
Any ideas?
EDIT:
I AM TERRIBLY SORRY. IT WAS TOO LATE WHEN I REALIZED THAT I POSTED THIS IN THE APPLICATION & THEMES SECTION, NOT IN THE Q&A WHERE I ORIGINALLY INTENDED TO BE. MY BAD. I TRIED TO FIND THE OPTION WHERE I CAN DELETE MY OWN POST BUT ALAS--I COULDN'T FIND IT. I HOPE THE MODERATOR WILL TAKE PITY ON ME.
PLEASE DON'T COMMENT ON THIS THREAD ANYMORE, I'VE MOVED MY QUERY TO THE Q&A SECTION.
SORRY, XDA!

Memory question

I am currently running TeamDRH 1.3.2 and my question is -
I can no longer install apps to my tablet, looking at my setup I have 1.4MB free in my internal ram, OK.
I also have a 32GB SD card installed that shows I have over 29GB free.
How do I install apps to my SD card? I can delete some of my apps off the internal ram if I can install them to the SD card.
Any suggestions out there?
Thanks ahead for the help.
_dave
_dave said:
I am currently running TeamDRH 1.3.2 and my question is -
I can no longer install apps to my tablet, looking at my setup I have 1.4MB free in my internal ram, OK.
I also have a 32GB SD card installed that shows I have over 29GB free.
Click to expand...
Click to collapse
What is the output of this command? (Use Terminal Emulator.)
Code:
$ [B]df[/B]
rajeevvp said:
What is the output of this command? (Use Terminal Emulator.)
Code:
$ [B]df[/B]
Click to expand...
Click to collapse
Filesystem Size Used Free Blksize
/dev 172M 48K 172M 4096
/mnt/asec 172M 0K 172K 4096
/mnt/obb 172M 0K 172M 4096
/system 247M 224M 22M 4096
/cache 169M 1M 168M 4096
/data 1G 394M 1G 4096
/mnt/microsd 29G 406M 29G 32768
/mnt/sdcard 13G 451m 12G 8192
/mnt/secure/asc: Permission denied
I see now it is my microsd card and not my sdcard that I need to install apps to.
Thanks ahead for any help on doing this.
-dave
_dave said:
Filesystem Size Used Free Blksize
/dev 172M 48K 172M 4096
/mnt/asec 172M 0K 172K 4096
/mnt/obb 172M 0K 172M 4096
/system 247M 224M 22M 4096
/cache 169M 1M 168M 4096
/data 1G 394M 1G 4096
/mnt/microsd 29G 406M 29G 32768
/mnt/sdcard 13G 451m 12G 8192
/mnt/secure/asc: Permission denied
I see now it is my microsd card and not my sdcard that I need to install apps to.
Click to expand...
Click to collapse
You do seem to have enough space on /data, although the values printed seem wrong to me. Post the output of this command:
Code:
$ [B]busybox df[/B]
rajeevvp said:
You do seem to have enough space on /data, although the values printed seem wrong to me. Post the output of this command:
Code:
$ [B]busybox df[/B]
Click to expand...
Click to collapse
The values look different because /cache is symlinked to the internal sdcard now. We needed to save room on the nand and this was the way that we achieved it. Going to Jellybean, the system partition needs over 300M of data and with our nand being only 512M space is getting tight.
fosser2 said:
The values look different because /cache is syslinked to the internal sdcard now.
Click to expand...
Click to collapse
You mean symlinked... I know about that and that's not it. It's the default df command. If you look closely, you'll see that it's rounding the values imprecisely. That's why I asked for the busybox version.
BTW, any idea why TeamDRH ICS doesn't let you move apps to SD cards?
rajeevvp said:
You mean symlinked... I know about that and that's not it. It's the default df command. If you look closely, you'll see that it's rounding the values imprecisely. That's why I asked for the busybox version.
BTW, any idea why TeamDRH ICS doesn't let you move apps to SD cards?
Click to expand...
Click to collapse
Well we removed the feature in our ICS build due to slowdowns. Now that we are working on jellybean it's not supported...
http://forum.xda-developers.com/showthread.php?t=1838419
fosser2 said:
Well we removed the feature in our ICS build due to slowdowns.
Click to expand...
Click to collapse
What sort of slowdowns--both partitions--/data and /sdcard--are on the same device, right?
Can you point me to all the git changes you guys made to get rid of that move to SD card feature in ICS? Thanks.
Now that we are working on jellybean it's not supported...
http://forum.xda-developers.com/showthread.php?t=1838419
Click to expand...
Click to collapse
Any specific details on this? Can't determine from that thread if it's the vendor who's removed the feature or if it's simply not there in the JB AOSP code.
rajeevvp said:
What sort of slowdowns--both partitions--/data and /sdcard--are on the same device, right?
Can you point me to all the git changes you guys made to get rid of that move to SD card feature in ICS? Thanks.
Click to expand...
Click to collapse
Man this is going to be tough... It happened a longg time ago. Here is the git where our rom is hosted
https://github.com/TeamDRH
It would be in the ICS branch obviously...as for which specific repo I'm really not too sure. Sorry
rajeevvp said:
Any specific details on this? Can't determine from that thread if it's the vendor who's removed the feature or if it's simply not there in the JB AOSP code.
Click to expand...
Click to collapse
As far as I know, It was actually removed from the JB AOSP code. It is also not in the CM10 code at all. Maybe I missed something but I believe its gone. As of now DRH is done with work on ICS and we will not be updating that rom anymore. JB has just been much more stable and smooth. The 3.1 kernel will soon be driving the JB rom also.
fosser2 said:
Man this is going to be tough... It happened a longg time ago. Here is the git where our rom is hosted
https://github.com/TeamDRH
It would be in the ICS branch obviously...as for which specific repo I'm really not too sure. Sorry
Click to expand...
Click to collapse
I was hoping that since you guys had to explicitly remove that move-to-sdcard feature from the ROM, I would get the exact git changesets. I don't relish going through that entire tree looking for the relevant changes--esp. now that my Java/C++ skillz are a fading memory.
It would be simpler to just ask whoever made those changes (if not you)--they'll be able to pinpoint it right away: whether its in the build configuration, in one of the device xml files, in the Settings app itself, or where ever else.
BTW, I'm still curious about those slowdowns that prompted the removal of the move-to-sdcard feature from DRH ICS. Apart from a slight initial setup cost (mostly CPU), there really isn't any extra I/O involved over the all-apps-in-/data case.
As far as I know, It was actually removed from the JB AOSP code. It is also not in the CM10 code at all. Maybe I missed something but I believe its gone.
Click to expand...
Click to collapse
OK, I'll see if I can confirm this too. It should be possible to get some definitive answers on this.
rajeevvp said:
I was hoping that since you guys had to explicitly remove that move-to-sdcard feature from the ROM, I would get the exact git changesets. I don't relish going through that entire tree looking for the relevant changes--esp. now that my Java/C++ skillz are a fading memory.
It would be simpler to just ask whoever made those changes (if not you)--they'll be able to pinpoint it right away: whether its in the build configuration, in one of the device xml files, in the Settings app itself, or where ever else.
BTW, I'm still curious about those slowdowns that prompted the removal of the move-to-sdcard feature from DRH ICS. Apart from a slight initial setup cost (mostly CPU), there really isn't any extra I/O involved over the all-apps-in-/data case.
OK, I'll see if I can confirm this too. It should be possible to get some definitive answers on this.
Click to expand...
Click to collapse
I will ask around for you and see what I can find.

[Q] Lenovo A820 (bigpart/meteos) trouble

Hi,
i recently changed the partition on my A820 using the meteos utility to 2,5gb data. Looking at the storage pane in the settings it says the following:
internal storage (~5% used)
total storage space: 2,46gb
available: 2,34gb
Phone storage~10% used)
total storage space: 273mb
SD-card (~20% used)
available: 6,08gb
Problem is, whenever i try to install the game "Blitz Brigade" from play store, it keeps complaining that i'm out of storage space (which i shouldn't be). I did set the installLocation to SD-card (same result) and even ran the Meteos tool again + recovery + factory reset. Same problem remain.
I tried the "Storage Analyzer" app in play store and got the following
/storage/sdcard0 : 273mib total / 238mib free
/storage/sdcard1 : 7,39gib total / 6,08gib free
/system : 590mib total / 94,5mib free
/data : 2,46 gib total / 2,33gib free
and also entries for /cd-rom, /protect_f and /protect_s
Could it be my partitioning that went wrong or is it just Blitz Factory that insists on installing in the wrong partition (i.e not adjusting to the preferences in the storage section?)
rgds

Storage free space. please share urs

Honor 7 has 16gb internal memory but my fon show Total: 3.86gb. as i know rom only take about 6gb space. so where the rest? and what you honor 7 space can u use?
studlolox said:
Honor 7 has 16gb internal memory but my fon show Total: 3.86gb. as i know rom only take about 6gb space. so where the rest? and what you honor 7 space can u use?
Click to expand...
Click to collapse
I can use 10.46GB. I have still 7.7GB free.
Sent from PLK-TL01H
studlolox said:
Honor 7 has 16gb internal memory but my fon show Total: 3.86gb. as i know rom only take about 6gb space. so where the rest? and what you honor 7 space can u use?
Click to expand...
Click to collapse
I had the same problem after update to b140. factory reset helped.
(CZ)jv14 said:
I had the same problem after update to b140. factory reset helped.
Click to expand...
Click to collapse
haha..tq..setled
What will happen if I remove SD card with lots of app install on it to swap it with another sim?
Code:
Filesystem Size Used Free Blksize
/system 2.4G 1.9G 494.2M 4096
/data 10.4G 4.1G 6.3G 4096
/data/sec_storage 17.7M 202.0K 17.5M 1024
/cust 495.9M 433.1M 62.9M 4096
/splash2 62.9M 220.0K 62.7M 4096
/storage/emulated 1.4G 0.0K 1.4G 4096
/mnt/media_rw/sdcard1 59.5G 29.2G 30.3G 131072
"ROM" uses a 2.4G partition
Data is 10.4G
The rest is other Android partitions.. (I've removed a lot from the df above; cache, modem, etc.)
my biggest problem ist, that the dalvik cache uses (in my opinion) an enormous amount of space. i have no idea why. i can only guess, that it needs more space because in /dat/dalvik-cache/ there is an arm and an arm64 dir
at the moment my dalvik's size is about 2,15 GB.

Categories

Resources