Hi Guys,
Every time I tried to understand the android partitions I get more confuse. Let me clear my doubts. These are based on CyanoGenMod 9/10 and Galaxy S I9000 ....
This is how the partition exists in CyanoGenMod.....
We have a very fast NAND which is 512MB. This memory shared between /cache, /system, /datadata, /modem etc.
Then we have a flash memory which is either 8GB or 16 GB. This one partitioned into 2.
2GB for /data
6GB or 14GB for /sdcard
Question 1
So normally all your Apps are installed into the /data partition?
Question 2
In that case can I say MoveToSD means moving the Apps to the /sdcard partion?
Question 3
I noticed that for each application I move to SD I see a entry in "/mnt/asecure" . What's the use of it?
Last week I bought a Galaxy S3 because I thought I need a hardware beast. (I was really enjoying and still enjoying the Galaxy S with Cyanogen) And using "df" commands partitions are as follows....
/dev 896M 84K 896M 4096
/mnt/asec 896M 0K 896M 4096
/mnt/obb 896M 0K 896M 4096
/efs 19M 4M 15M 4096
/cache 1007M 17M 990M 4096
/system 1G 1G 463M 4096
/data 11G 4G 6G 4096
/firmware 199M 45M 154M 4096
/tombstones 251M 18M 233M 4096
/storage/sdcard0 10G 4G 6G 4096
/mnt/asec/ch.teamtasks.tasks.paid-1 4M 2M 1M 4096
/mnt/asec/com.disney.brave_google-1 26M 25M 1M 4096
/mnt/asec/com.touchtype.swiftkey-1 14M 10M 3M 4096
Question 4
Can someone explain this partition? why the /data shows as 11GB. And /sdcard0 is 10GB. I'm not quite sure my phone is 16GB model and it's not possible to have that much memory for /data.
Question 5
In this layout when I install Apps where it will get installed? I haven't root it yet so I cannot test.
Question 6
In this layout what is the meaning of MoveToSd could be? Samsung removed that option but I believe somehow it gets applied. Because I have plenty of Apps installed but some apps have a "mnt/asec" entry similar to Android secure. So is it similar are these apps get moved to /sdcard0 partition.
I'm developing some apps at the same time I'm trying to understand the core concepts with Android. Any guideline will be helpful and I really appreciate the replies. Thanks in advance....
wrong section
you should have posted this under Q&A!
Related
SOLVED.
Used another SD card that wasn't partitioned and everything works fine.
MM Gingerbread and PhoenRom both cause me to not be able to install/update/restore apps due to insufficient storage even though there is plenty of space.
If I go back to CyanogenMod everything works fine.
My SD card is partitioned 7GB Windows/1GB Linux.
Going into Settings/Applications/Downloaded shows "72MB used / 124MB free"
On SD card shows "3.2GB used / 3.3GB free"
I currently have the PhoenRom installed, this is what df now shows:
Filesystem Size Used Free Blksize
/dev 192M 32K 192M 4096
/mnt/asec 192M 0K 192M 4096
/mnt/obb 192M 0K 192M 4096
/system 145M 141M 3M 4096
/data 196M 75M 120M 4096
/cache 95M 4M 90M 4096
/system/sd 955M 26M 928M 4096
/mnt/sdcard 6G 3G 3G 4096
/mnt/secure/asec 6G 3G 3G 4096
/mnt/asec/com.android.BlackMarketApp-1 3M 1M 1M 4096
When wiping user data in recovery I get the message
E:Can't mount /dev/block/mmcblk0p2 (or /dev/bloc/mmcblk0)
(Invalid argument)
Error mounting /sd-ext/!
Skipping format
I don't know if this is significant.
Hi. I have same problem on LG Optimus One with Android 2.2.1 ... how you solve that?
So don't partition
From your brief description of "Solved" ... it sounds like you just grabbed another FAT32 formatted SD Card and just put it in. No partition setup. However from reading other posts on DarkTremor's apps2sd ... you MUST have an EXT3 formatted partition in addition to the FAT32 partition in order for apps2sd to function.
From my understanding, since the Android OS has no problems running apps from EXT2 and EXT3 partitions ... the trick is that the apps are actually moved to the FAT32 partition and shortcuts (a.k.a. links) are put on the EXT3 partitions. This tricks and Android OS into thinking the apps are installed on EXT3 and not FAT32.
Unless I am just totally missing how this works.
Hello
any ideas why my system directory is full?
Filesystem Size Used Free Blksize
/dev 185M 64K 185M 4096
/mnt/asec 185M 0K 185M 4096
/mnt/obb 185M 0K 185M 4096
/system 330M 319M 11M 1024
/data 1G 322M 1G 2048
/cache 61M 4M 57M 2048
/mnt/extasec 185M 0K 185M 4096
/lgdrm 2M 2M 398K 2048
/mnt/sdcard 5G 2G 2G 32768
/mnt/secure/asec 5G 2G 2G 32768
take a look in /system/app and you will understand why
ilos said:
take a look in /system/app and you will understand why
Click to expand...
Click to collapse
i know that all the files are double and odexed already....the question is how can i fix it since this is a scratch install...
just removed app that you don't want.
I always used TB to remove app that i don't need, here the result after removing some craps... ( ie LG default craps... and some live wallpapers )
here my df :
Code:
Filesystem Size Used Free Blksize
/dev 185M 64K 185M 4096
/mnt/asec 185M 0K 185M 4096
/mnt/obb 185M 0K 185M 4096
/system 338M 251M 87M 1024
/data 1G 355M 1G 4096
/cache 61M 4M 57M 1024
/mnt/extasec 185M 0K 185M 4096
/lgdrm 2M 2M 410K 2048
Rom => V20L
ilos said:
just removed app that you don't want
Click to expand...
Click to collapse
i want them all, i simply dont get it why its like this
before v20L it was about 120Mb,
could it be that the V20L just copied files over and made dups?
you used all app ? FSecure etc.... ?
ilos said:
you used all app ? FSecure etc.... ?
Click to expand...
Click to collapse
nope i froze must of them
i will just smartflash v10d and then kdz
so uninstall them in place of freezing them
ilos said:
so uninstall them in place of freezing them
Click to expand...
Click to collapse
i saw no reason to un-install when i can simply freeze them it was o.k beforehand
ahhh.... never mind.
thanks.
... or just leave it alone? Why do you need space on /system anyway?
BTW, wrong forum for general questions
Sent from my LG-P990
up
Hi all.. today I'm with this issue.. low space on system.
No issue before some installs.. I explain.
I needed to reinitialize system partition because R/W issues.. so I executed a script that make backup of system content, format it and restore contents; I used it before and it work, but this time it locks due to some errors, I think.
Reinstalled rom, reinstalled kernel (that reinit ext-4 partition if needed), re-executed the script (good execution).
When rebooted.. low space notify on system!
I think there's something is wrong.. but I don know what I need to check.. can you help me??
Just backup the apps and uninstall them. you can't keep apps n increase free space at the same time. I can't see why you want bloatwares..
That sounds odd. I would suggest to use NVFlash to start with some fresh formatted partition layout.
yea, that's there, but i'd rather not waste my time to keep bloatwares, you agree?
RknDroidFreak said:
yea, that's there, but i'd rather not waste my time to keep bloatwares, you agree?
Click to expand...
Click to collapse
Im referring to extreme who has different issues than the op. (ops post is from last year btw).
Sent from my LG-P990 using XDA
Hello all,
I have bought a used KFH7 supposed to be the 32GB model.
I'm wondering, though, if it might not indeed be the 16GB model and if I have been ripped off.
The df command submitted in root shell gives me:
KFH7 alleged 32GB model
Code:
C:\KFFirstAide>adb shell
[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 375M 32K 375M 4096
/mnt/asec 375M 0K 375M 4096
/mnt/obb 375M 0K 375M 4096
/system 872M 808M 63M 4096
/data 12G 2G 9G 4096
/cache 639M 10M 628M 4096
/efs 15M 4M 11M 4096
/mnt/sdcard 12G 2G 9G 4096
[email protected]:/ #
which are the exact same vaules I'm getting from a friends 16GB model:
KFH7 16GB model
Code:
C:\KFFirstAide>adb shell
[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 375M 32K 375M 4096
/mnt/asec 375M 0K 375M 4096
/mnt/obb 375M 0K 375M 4096
/system 872M 808M 63M 4096
/data 12G 4G 8G 4096
/cache 639M 10M 628M 4096
/efs 15M 4M 11M 4096
/mnt/sdcard 12G 4G 8G 4096
[email protected]:/ #
Can you comment, please, if my suspicion is justified? Do I miss something here?
Not sure it's important, but I have rooted the device, installed Hashcode's 2nd bootloader and TWRP and am running psych0phobia's Kinology.
Thank you very much for your help
Based on the information, yes, you've been ripped-off. Should've checked storage on the device before you purchased it, simply by going to Settings > Device.
Thanks, seokhun
this is the answer I was afraid to get.
seokhun said:
Should've checked storage on the device before you purchased it, simply by going to Settings > Device.
Click to expand...
Click to collapse
Excellent piece of advice, but kinda hard to follow, when you buy a used device on eBay.
Can somebody post the df output of a confirmed 32GB model, please? I assume it's just the data partition that's larger, right?
I guess I had some vague hope that rooting or flashing Kinology might have tampered with the partition information.
Thanks again for any input.
Here's mine, in ADB Shell # df and Storage on the device itself.
You should probably get in touch with eBay's fraud dept.
Thanks, seokhun,
this confirms it. I was sold a 16GB unit rather than 32GB.
I'll get in touch with the seller - let's see what he says.
Thanks again for your quick repsonses
So I was cleaning my SD card and found a folder that I didn't think was of any consequence but it turns out it seemed it was symlinked to my whole SD Card. Needless to say it's now empty. I have an sd card backup of about 2 weeks ago so everything can be recovered. However, this got me to thinking. Has anyone else ran into this problem? What have you done as far as research or troubleshooting steps?
I have found this so far. Seems that since the type of storage that we're using is super popular and someone else has paved the way.
[GUIDE] Internal Memory Data Recovery - Yes We Can!
This thread has been super helpful. Seriously good information here. The problem that I am having is I can't figure out which block I need to set up. I've set up what I have thought would be correct but it's just not outputting the data properly (1.08KB, should be much bigger)
Here's that I get when I adb shell/su/df:
Code:
Filesystem Size Used Free Blksize
/dev 776M 128K 776M 4096
/storage 776M 0K 776M 4096
/mnt/secure 776M 0K 776M 4096
/mnt/asec 776M 0K 776M 4096
/mnt/obb 776M 0K 776M 4096
/system 1826M 1225M 601M 4096
/data 26206M 5616M 20589M 4096
/cache 629M 10M 619M 4096
/devlog 19M 15M 4M 4096
/firmware/mdm 85M 60M 25M 16384
/data/qcks 20M 8M 11M 4096
/data/efs 20M 0K 20M 4096
/firmware/q6 199M 6M 193M 4096
/data/secure/data 776M 0K 776M 4096
/mnt/shell/emulated 26106M 5616M 20489M 4096
/data/DxDrm/fuse: Permission denied
I also followed this tutorial here the attached is what I get. Based on the partitions.txt I would think that the partition tables that I need to be backing up are either mmcblk0p4 or mmcblk0p37 but that's just not working. The output is tiny compared to what it should be. What do you guys think?
Shameful but hopeful bump
Sent from my HTC One using Tapatalk 2
Dear I searched this topic both on XDA and Google without any answers hence posting here
I have a galaxy Exhibit 4g and if I try to install SlimKat and full-modular-Gapps I have literally no memory left on the system partition. I was wondering if we can re-partition the space so we can reallocate the internal SD towards Data and system (the internals SD is a pain anyways). I have done similar stuff for my nook color which my son uses for playing kids learning games. Please let me know if this would be possible and how to go about it. Here are my df stats. Thanks in advance.
Filesystem Size Used Free Blksize
/dev 171.5M 128.0K 171.4M 4096
/sys/fs/cgroup 171.5M 0.0K 171.5M 4096
/sys/fs/cgroup/memory: Permission denied
/mnt/asec 171.5M 0.0K 171.5M 4096
/mnt/obb 171.5M 0.0K 171.5M 4096
/mnt/fuse 171.5M 0.0K 171.5M 4096
/system 526.6M 361.5M 165.1M 4096
/cache 196.8M 4.1M 192.7M 4096
/data 1.1G 657.6M 434.9M 4096
/mnt/secure/asec: Permission denied
/mnt/media_rw/sdcard0 1.6G 686.3M 967.5M 32768
/mnt/secure/asec: Permission denied
dcnarad said:
Dear I searched this topic both on XDA and Google without any answers hence posting here
I have a galaxy Exhibit 4g and if I try to install SlimKat and full-modular-Gapps I have literally no memory left on the system partition. I was wondering if we can re-partition the space so we can reallocate the internal SD towards Data and system (the internals SD is a pain anyways). I have done similar stuff for my nook color which my son uses for playing kids learning games. Please let me know if this would be possible and how to go about it. Here are my df stats. Thanks in advance.
Filesystem Size Used Free Blksize
/dev 171.5M 128.0K 171.4M 4096
/sys/fs/cgroup 171.5M 0.0K 171.5M 4096
/sys/fs/cgroup/memory: Permission denied
/mnt/asec 171.5M 0.0K 171.5M 4096
/mnt/obb 171.5M 0.0K 171.5M 4096
/mnt/fuse 171.5M 0.0K 171.5M 4096
/system 526.6M 361.5M 165.1M 4096
/cache 196.8M 4.1M 192.7M 4096
/data 1.1G 657.6M 434.9M 4096
/mnt/secure/asec: Permission denied
/mnt/media_rw/sdcard0 1.6G 686.3M 967.5M 32768
/mnt/secure/asec: Permission denied
Click to expand...
Click to collapse
its a lot simpler to just move most of the gapps (hangouts, playstore, play games, etc) to sdcard. even better if you swap int2ext sd if you have a decent size sdcard and just use the real int for pics, music, etc. If the ext sd is a class10 or above you will notice a major difference in overall performance.