Something I've been wondering about for a long time. On my 16gb S2, if I total the internal device memory ~2gb and the USB storage ~ 12gb (or less) it comes to 14gb. So where is the other 2gb hiding?
System. Not accessible by you.
/cache 98mb
/data 2000mb
/dev 400mb
/efs 19mb
/preload 502mb
/system 502mb
/sdcard 11500mb
These are values of partition
Remember:
1000mb=1gb in linux
1024mb=1gb in windows
You can also check partition informations using df in terminal emulator
Sent from my GT-I9100 using XDA Premium 4 mobile app
Related
I just rooted my archos 70h with the urukdroid's easy installer.
Seems like everything went fine, except that my data partition appears to be fat32 and not ext4 like I expected.
Code:
fdisk -l
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdd1 2988090 488392064 242701987+ c W95 FAT32 (LBA)
/dev/sdd2 63 1012094 506016 83 Linux
/dev/sdd3 1012095 2988089 987997+ 83 Linux
The storage settings in the archos tell me that the partition is ext3, but it is definately fat32 since I wasn't able to copy a 4gb+ file to the archos.
Did I do something wrong?
Or did I maby misunderstand? Was the ext4 only supposed to be for the apps partition?
Sorry for not posting this in the urukdroids thread, but I cannot post there because I haven't made enough posts.
You missunderstood it wrong..
See : Storage have to be fat32 otherwise you wouldnt be able to mount it on windows
The system partition of urukdroid is ext4 formatted you can mount the system partition on linux
If the storage partition would be ext4 it wont be so much performance boost.
Greets
Lenn
Is it possible to mount the ext4 partition in Linux running in virtual machine (VMware) running on Windows?
Instead of asking, why don't you try it?
Lenn said:
You missunderstood it wrong..
See : Storage have to be fat32 otherwise you wouldnt be able to mount it on windows
The system partition of urukdroid is ext4 formatted you can mount the system partition on linux
If the storage partition would be ext4 it wont be so much performance boost.
Greets
Lenn
Click to expand...
Click to collapse
Well I have been a linux user since 2004 so I have no need for the long-outdated fat32 filesystem.
My storage partition was ext3 formatted with the stock archos/android firmware, but now when I select ext3 from the menu the device just reboots and nothing happens to the partition.
Is there any way of getting ext4 or even ext3 for the storage partition? Would it be safe to format it just like any other partition or is there something special that needs to be done?
lordofazeroth said:
Is it possible to mount the ext4 partition in Linux running in virtual machine (VMware) running on Windows?
Click to expand...
Click to collapse
I am not familiar with proprietary virtual machines like vmware but as long as the virtual machine can talk directly to the hardware it can mount the drive without needing windows drivers.
For software emulated virtual machines you would need a windows driver to be able to mount the drive.
Of course you can format the data partition with ext3/4 yourself, just keep in mind
that the android ext4 implementation doesn't allow hugefile.
And fat32 will "never" be outdated as it is very easy to implement for device vendors, so it will allways be there for cameras and stuff.
fzelle said:
Of course you can format the data partition with ext3/4 yourself, just keep in mind
that the android ext4 implementation doesn't allow hugefile.
And fat32 will "never" be outdated as it is very easy to implement for device vendors, so it will allways be there for cameras and stuff.
Click to expand...
Click to collapse
I'll try and format it to ext4 then... Hope it doesn't get screwed up.
Yes you are right, fat32 will be continued to use, but as for features it's long outdated compared to superior filesystems like ext, xfs, etc.
gardar said:
I'll try and format it to ext4 then... Hope it doesn't get screwed up.
Yes you are right, fat32 will be continued to use, but as for features it's long outdated compared to superior filesystems like ext, xfs, etc.
Click to expand...
Click to collapse
You should format it with angstrom (SDE on Archos)
just a tip
Lenn said:
You should format it with angstrom (SDE on Archos)
just a tip
Click to expand...
Click to collapse
Might be worth a shot
I'm going to take a clonezilla image of the current setup, just in case the archos doesn't like me formatting the partition
Seems like android does not like the storage partition to be ext4
Damaged internal storage
Internal storage damaged. You may have to reformat it.
Click to expand...
Click to collapse
I tried both with urukdroid and stock archos firmware.
But I was able to format back to ext3, so that will have to do for now
gardar said:
Seems like android does not like the storage partition to be ext4
Click to expand...
Click to collapse
That was i thought, because of the mounting on windows
Lenn said:
That was i thought, because of the mounting on windows
Click to expand...
Click to collapse
Well ext3 works fine so your theory is invalid
Sent from my Archos 70 using Tapatalk
Hi guys !
The system partition on SGS2 is 512MB and i would like to increase it to 1GB aka 1024MB.
Is there any way to do that without destroying all the partitions on the device ?
brucewein said:
Hi guys !
The system partition on SGS2 is 512MB and i would like to increase it to 1GB aka 1024MB.
Is there any way to do that without destroying all the partitions on the device ?
Click to expand...
Click to collapse
what? by default out of 16gb it has 2 be 2gb internal storage and rest is internal sdcard, is ur phone really GTi9100
the SYSTEM partition is 512MB not 2GB
Same problem here, but I want to increase my app-storage (from 2GB to 4GB). After a while of googling I could not found any way to manage these partitions seperately.
BUT: There are PIT-files, which are used to set the values of the system-partition. There are 3 different PIT-files, one for 512 MB system-storage, one for 513 MB and one for 803 MB. I think, that's the only way... But at first, you have to found them via Google
Unless you really do your homework and know what you're doing, I would strongly advise NOT using Odin to re-partition with PIT etc.
High success rate of many screwing up and hard bricking.
Just warning........
Sent from my GT-P6810 using XDA Premium HD app
Earlier this week I thought of a good way to do this, safely using LVM and the spare partition. I messaged gokhanmoral and he liked the idea and said he would look into it this weekend. So hopefully it should be possible soon.
Merging the /preload and/system partition is a good idea to get a full 1gb system partition. Though there is no need of more than 512 mb in s2 as of now it would be handy when jelly bean gets released.
# tapatalked from my core i3 pc #
bala_gamer said:
Merging the /preload and/system partition is a good idea to get a full 1gb system partition. Though there is no need of more than 512 mb in s2 as of now it would be handy when jelly bean gets released.
# tapatalked from my core i3 pc #
Click to expand...
Click to collapse
I dunno how hard it is to merge those 2, but a good dev will have an idea on this
# tapatalked from my core i3 pc #
i recently talked back with gokhanmoral
and made some experiements with vlm
so far what i could get is:
- merging /preload with /cache ---> phone boots fine without any issue
- merging /preload with /data ---> phone boots fine without any issue
- create /system as lv without merging any other disk ---> phone does not boot
- create /system as lv whith merge of /preload ---> phone does not boot
when using a LV as /system the phone simply does not boot while it works fine when using /data or /cache as a LV
what i have expierienced is that when using a LVM LV as /system the phone
goes into black screen but after a bit (~1min) the adb shell becomes avaible
so i had a look into the shell
what i got is:
/system is mounted as the LV, i can see/list all files on it so i guess its mounted right
also seems that all other related services are up and running just the graphical side of the phone does not work
i have no idea what makes this happen ...
probably some software is trying to interact with the system partition during bout up using the /dev/mmc... device which is replaced with the lvm device
well ...
i made some real succes this night i got the lvm thing setup right and booted up AOKP on a 1GB /system lvm partition
the problem was/is simple as it is
samsung stock based roms do not support LVM i think there are some libs or some kind of this missing
Code:
/lvmpool/system
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 416.1M 32.0K 416.1M 0% /dev
tmpfs 416.1M 0 416.1M 0% /mnt/asec
tmpfs 416.1M 0 416.1M 0% /mnt/obb
/res/dev/system 1000.0M 279.1M 720.9M 28% /system
tmpfs 416.1M 4.0K 416.1M 0% /system/lib/modules
/res/dev/cache 98.4M 4.1M 94.4M 4% /cache
/res/dev/data 2.0G 236.9M 1.7G 12% /data
/dev/block/mmcblk0p1 19.7M 8.2M 11.5M 42% /efs
tmpfs 416.1M 0 416.1M 0% /mnt/ntfs
/dev/block/vold/179:24
7.5G 697.7M 6.8G 9% /mnt/sdcard
/dev/block/vold/179:24
7.5G 697.7M 6.8G 9% /mnt/secure/asec
/dev/block/vold/259:3
11.5G 5.1G 6.4G 44% /mnt/emmc
Code:
~ # mount
mount
/res/dev/system on /system type ext4 (ro,noatime,barrier=1,data=ordered)
Code:
~ # ls -la /res/dev/system
ls -la /res/dev/system
lrwxrwxrwx 1 root root 19 Jun 1 07:10 /res/dev/system -> /dev
/lvmpool/system
~ #
Incrase /data
Hello, nice work. I woner of you.
But I have Idea. How can I increase /data partition. I want to give 500 MB from /sdcard.
How can I do?
Tahnks
gyurman said:
Hello, nice work. I woner of you.
But I have Idea. How can I increase /data partition. I want to give 500 MB from /sdcard.
How can I do?
Tahnks
Click to expand...
Click to collapse
that works excactly the same way as it is working for system if u need help to set that up contact me ...
Sent from my GT-I9100 using xda app-developers app
i just checked with LINK2SD that i have only 4-5% free on /SYSTEM
and 67% free on /mnt/sdcard
so this is it?
how to force apk's to install to /mnt/sdcard instead to /system?
kmetek said:
i just checked with LINK2SD that i have only 4-5% free on /SYSTEM
and 67% free on /mnt/sdcard
so this is it?
how to force apk's to install to /mnt/sdcard instead to /system?
Click to expand...
Click to collapse
you could simply add another 500mb to /system so you can simply install apps to system as u did before ...
may i will write a small Tutorial how to increase a specific partition etc when back home from work
Sent from my GT-I9100 using xda app-developers app
Tallustus said:
you could simply add another 500mb to /system so you can simply install apps to system as u did before ...
may i will write a small Tutorial how to increase a specific partition etc when back home from work
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I'd be interested in that tutorial to increase my data partition... thanks.
b631nz said:
I'd be interested in that tutorial to increase my data partition... thanks.
Click to expand...
Click to collapse
will see if i get some time to
write that tut today
Sent from my GT-I9100 using xda premium
Tallustus said:
will see if i get some time to
write that tut today
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I would really apreciate it too:]
Any news on the tutorial?
SaschaHa said:
Same problem here, but I want to increase my app-storage (from 2GB to 4GB). After a while of googling I could not found any way to manage these partitions seperately.
Click to expand...
Click to collapse
have you solved the problem already?
I would also like to do so
I flashed a CM10 rom, and the /system partition has 1.2 GB free, where the /data/ partition is only 468 MB, and I have to move apps to microSD because it was too full.
Is there any way to resize the partition?
Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 184.5M 48.0K 184.5M 0% /dev
tmpfs 184.5M 0 184.5M 0% /mnt/asec
tmpfs 184.5M 0 184.5M 0% /mnt/obb
/dev/block/mtdblock2 468.0M 368.4M 99.6M 79% /data
/dev/block/mmcblk0p1 1.5G 316.0M 1.2G 20% /system
/dev/block/mmcblk0p2 190.0M 63.3M 126.7M 33% /cache
/dev/block/vold/179:9 14.8G 8.0G 6.8G 54% /storage/sdcard0
Or, is it possible to switch the partitions around?
1. make a Nandroid backup [just in case]
2. edit the fstab? or is it init.d? and switch the /system and /data devices around so the system is 468M, and data is 1.5G
3. boot into recovery mode, adb pull the /data/ to laptop
3. adb shell, rm -r the /data/ folder, cp -r the /system/ into /data/
4. rm -r the /system/, and then adb push the original "/data/" folder from laptop back to the phone
5. reboot.
6. profit?
lol
Wouldn't you just be undoing the work of jt1134? He's put all the critical stuff on the faster chip.
Originally Posted by jt1134
"System and data partitions have been SWAPPED. The I500 has 2 internal memory chips. The OneNAND (that Samsung ships for system and other storage) and the eMMC (that Samsung ships for data and cache storage). The OneNAND is a total of 512mb and contains system, along with the kernel and recovery images, bootloaders, etc. The eMMC is ~1.5gb and is used for data storage. In the newest builds, system is now stored on the eMMC, data is stored on the OneNAND, and cache has been moved to /dev/block/mmcblk0p3 which is a previously unused (by us, used by Samsung/Vzw for their stupid paid apps like tetris and other bull****) that is on the eMMC. This eliminates the "lag" experienced in earlier builds due to the fact that write speeds on the OneNAND are extremely faster than write speeds on the eMMC (Samsung should've never shipped those stupid, ****ty-ass chips to begin with).
This means that with the bootloaders, kernel, etc there is only 468mb left for data storage, along with a ****load of extra storage available for system. This is bad due to the fact we have less data storage space, and good due to the fact the device now performs much better and future versions of android will have plenty of system space available to them. Just the upgrade from ICS to JB alone requires nearly an additional 100mb of space for system. If you're running low on data storage, either move apps to the sdcard, or if you're crafty enough, move certain apps to /system/app. Things like updated Google apps (Market, Maps, etc) are perfectly fine working from /system/app, and can conserve lots of space. Attemping to do other trickery like place certain chunks of data onto the eMMC without impacting performance is both difficult to maintain and a pain the ass to come up with anyways. It is what it is, and it'll stay that way."
Hey XDA Community,
I'm running into some troubles with a used Pandigital Novel tablet. I'll give a little history, I loaded a CM7 build, it (eventually) worked great. I started loading up apps, when I got a notification that I was low on disk space. I thought that odd since I replaced the internal micro SD with a 16GB class 10. I checked memory status and it says I have a maximum of 188MB (that's MEGA-bytes) and only 6MB free!
Properties-Storage shows the following:
SD Card
Total Space: 7.4GB
Available space: 7.12GB :good:
Internal storage
Total space: 188MB
Available space: 47.95MB
It looks like your script is searching for a partition file /dev/block/mmcblk1 and there isn't one there. I loaded a partition viewer app (after deleting two other apps to get some space) and it reads as follows:
Mount - None
Partition - /dev/block/mmcblk0
15193.5 MB
Mount - /sdcard
Partition - /dev/block/mmcblk0p1
305.0/7595.0 MB
Mount - None
Partition - /dev/block/mmcblk0p2
7596.7 MB
Mount - None
Partition - /dev/block/mtdblock0
2.0 MB
Mount - None
Partition - /dev/block/mtdblock1
8.0 MB
Mount - None
Partition - /dev/block/mtdblock2
1.0 MB
Mount - None
Partition - /dev/block/mtdblock3
10.0 MB
Mount - /system
Partition - /dev/block/mtdblock5
154.0/200.0 MB
Mount - /cache
Partition - /dev/block/mtdblock6
1.0/100.0 MB
Mount - /data
Partition - /dev/block/mtdblock7
140.0/168.0 MB
I tried moving apps to the SD card, but they fail... not sure why there either. I have a feeling something is really messed up in the partition tables, but I don't have the eye to see what it is or how to fix it. Guessing I need an expert to help me with a script and restore my install from backup or something. I'll keep looking around the forum, just don't want to start trying stuff and brick this thing.
Here's hoping there is a kind soul out there that can give me a hand.
~~JClouseau
Native Mount Data on Ext
Trying to get up the courage (and time) to follow the steps on XDA: Native Mount DataOnEXT. Could take some time, but would be really cool to have a couple gig for data.
Hi Supporters,
there is a problem with my sdcard under Android 7.1.2 (root=true, adb=possible). The vFat Partition can be used, but the rest is not mounted and can not be used.
mmcblk1p1 vfat 183 GB Status : OK
mmcblk1p2 ext4 16 MB android meta Status: not mounted
mmcblk1p3 ext4 64 GB Status: not mounted (primary) (want to use that partition as adoptable Partition for extra internal memory)
mmcblk1p4 ext4 2 GB Status: not mounted (primary) (want to use that partition as SWAP Partition for extra RAM)
Trying to mount the Partition3 (64 GB) gives the error "mount: mounting /dev/block/mmcblk1p3 on /data/sdwyt2 failed: Invalid argument"
i have the apps "Apps2SD Pro" & "Link2SD" but they can't mount the 3 partitions too.
Does anyone know how i can mount and use the 3 ext4 partitions?
Solution: On devices running Android 7.0-8.1, file-based encryption (FBE) can't be used together with adoptable storage.
https://stackoverflow.com/questions...able-storage-not-available-on-device-with-nat