[DISCUSSION] Sensation internal memory partition info - HTC Sensation

Hello Fellow Sensation Owners!
A couple of days ago someone asked about the Sensation's internal storage layout, which got me curious, as we get 1GB of storage to data partition, about 700MB for system, and where does all the rest go? boot is just a couple of megabytes, and firmware (combined), is 400MB.
When I searched google for it, I couldn't find any mention of the Sensation's partition layout, and barely found how to get it by myself. So here I am, creating this mention/guide (for future people who like me want to know what the partition layout is).
To get the layout and sizes, I used the df command in the shell, which gives a nice table with all (mounted) partitions, with information about them.
The results I got were:
Code:
Filesystem Size Used Free Blksize
/dev 271.7M 52K 271.6M 4096
/storage 271.7M 0K 271.7M 4096
/vendor/firmware/misc 199.8M 21.5M 178.3M 4096
/vendor/firmware/adsp 199.8M 5.7M 194.1M 4096
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
/system 787.4M 388.8M 398.6M 4096
/data 1.1G 482.1M 693.9M 4096
/cache 118.1M 98M 20.1M 4096
/devlog 19.7M 14.8M 4.9M 4096
/storage/sdcard0 14.8G 13G 1.8G 32768
/mnt/secure/asec: Permission denied
/mnt/asec/com.quoord.tapatalkxda.activity-1 5M 3.2M 1.8M 4096
Note: I got this list on Cyanogenmod 10.1, a different ROM might bring
different results.
There are a few points of interest here:
1) There are 5 empty partitions, 271.7MB each.
2) Apps stored on the SD card are listed as individual partitions - in my case - XDA app (also tested on Sony Ericsson Live With Walkman - same result).
3) /mnt/secure/asec needs root access to be read, and after enabling, it seems to be mounted to the same space as the sdcard. this partition is actually the Android_secure foldier on the SD Card. This makes me suspect that some of the empty partitions are also mounts of the same partition from different directories inside it.
4) My suspition is most probably wrong, as the sum of all partition sizes amounts to about 4GB, which is what listed on the spec sheet.
5) /boot partition is not listed, which makes me believe some more are not actually mounted.
To know if there are double-mounted partitions, I checked the mount list on /proc/mounts by using this command:
Code:
[B]CAT /proc/mounts[/B]
I will post points of interest I found as It's quite long and mostly messy:
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0
/dev/block/mmcblk0p17 /vendor/firmware/misc vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p19 /vendor/firmware/adsp vfat ro,relatime,fmask=0000,dmask=00
00,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=re
mount-ro 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p22 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered
,noauto_da_alloc 0 0
/dev/block/mmcblk0p23 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p24 /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p28 /devlog ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
We can see something interesting - /mnt/secure, /mnt/asec, /mnt/obb, /mnt/fuse, /storage and /dev are all mounted from tmpfs, which is not an adress on the mmc. I have no Idea what this means, but it explains all those partitions seen before - They are the same space (probably like /mnt/secure/asec - folders inside a bigger partition).
This thread is meant for me (and probably other curious users) to understand how the sensation is formatted.
Also, to keep a clean explanation of what each partition actually is (for begginers and to have it organized), here is a list of partitions with explanations about them (all those I know are included, some are basic knowledge, list will be updated).
/data - where your apps and basically all your data that is stored on the device is
/system - where system apps, frameworks, and the rest of the OS is (excluding kernel)
/boot (not listed) - kernel
/storage/sdcard - no need to be imaginative here - the SD card
/mnt/secure/asec - the android_secure folder on sdcard
/cache - app cache - where temporary data is stored to speed up apps
What I'm trying to do here is to create a clear and comprehensive explanation of the Sensation's NAND layout, so anyone looking for it could find it. For non-devs it's of not much use, but nice to know. Also to keep a clear way to check it on other devices (had to dive to linux websites to find some stuff here).
Would be glad if someone more knowledgeable than I am would add/correct me here, to make this helpfull.
To your Enjoyment/feeding your interest.

astar26 said:
Hello Fellow Sensation Owners!
A couple of days ago someone asked about the Sensation's internal storage layout, which got me curious, as we get 1GB of storage to data partition, about 700MB for system, and where does all the rest go? boot is just a couple of megabytes, and firmware (combined), is 400MB.
When I searched google for it, I couldn't find any mention of the Sensation's partition layout, and barely found how to get it by myself. So here I am, creating this mention/guide (for future people who like me want to know what the partition layout is).
To get the layout and sizes, I used the df command in the shell, which gives a nice table with all (mounted) partitions, with information about them.
The results I got were:
Code:
Filesystem Size Used Free Blksize
/dev 271.7M 52K 271.6M 4096
/storage 271.7M 0K 271.7M 4096
/vendor/firmware/misc 199.8M 21.5M 178.3M 4096
/vendor/firmware/adsp 199.8M 5.7M 194.1M 4096
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
/system 787.4M 388.8M 398.6M 4096
/data 1.1G 482.1M 693.9M 4096
/cache 118.1M 98M 20.1M 4096
/devlog 19.7M 14.8M 4.9M 4096
/storage/sdcard0 14.8G 13G 1.8G 32768
/mnt/secure/asec: Permission denied
/mnt/asec/com.quoord.tapatalkxda.activity-1 5M 3.2M 1.8M 4096
Note: I got this list on Cyanogenmod 10.1, a different ROM might bring
different results.
There are a few points of interest here:
1) There are 5 empty partitions, 271.7MB each.
2) Apps stored on the SD card are listed as individual partitions - in my case - XDA app (also tested on Sony Ericsson Live With Walkman - same result).
3) /mnt/secure/asec needs root access to be read, and after enabling, it seems to be mounted to the same space as the sdcard. this partition is actually the Android_secure foldier on the SD Card. This makes me suspect that some of the empty partitions are also mounts of the same partition from different directories inside it.
4) My suspition is most probably wrong, as the sum of all partition sizes amounts to about 4GB, which is what listed on the spec sheet.
5) /boot partition is not listed, which makes me believe some more are not actually mounted.
To know if there are double-mounted partitions, I checked the mount list on /proc/mounts by using this command:
Code:
[B]CAT /proc/mounts[/B]
I will post points of interest I found as It's quite long and mostly messy:
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0
/dev/block/mmcblk0p17 /vendor/firmware/misc vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p19 /vendor/firmware/adsp vfat ro,relatime,fmask=0000,dmask=00
00,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=re
mount-ro 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p22 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered
,noauto_da_alloc 0 0
/dev/block/mmcblk0p23 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p24 /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p28 /devlog ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
We can see something interesting - /mnt/secure, /mnt/asec, /mnt/obb, /mnt/fuse, /storage and /dev are all mounted from tmpfs, which is not an adress on the mmc. I have no Idea what this means, but it explains all those partitions seen before - They are the same space (probably like /mnt/secure/asec - folders inside a bigger partition).
This thread is meant for me (and probably other curious users) to understand how the sensation is formatted.
Also, to keep a clean explanation of what each partition actually is (for begginers and to have it organized), here is a list of partitions with explanations about them (all those I know are included, some are basic knowledge, list will be updated).
/data - where your apps and basically all your data that is stored on the device is
/system - where system apps, frameworks, and the rest of the OS is (excluding kernel)
/boot (not listed) - kernel
/storage/sdcard - no need to be imaginative here - the SD card
/mnt/secure/asec - the android_secure folder on sdcard
/cache - app cache - where temporary data is stored to speed up apps
What I'm trying to do here is to create a clear and comprehensive explanation of the Sensation's NAND layout, so anyone looking for it could find it. For non-devs it's of not much use, but nice to know. Also to keep a clear way to check it on other devices (had to dive to linux websites to find some stuff here).
Would be glad if someone more knowledgeable than I am would add/correct me here, to make this helpfull.
To your Enjoyment/feeding your interest.
Click to expand...
Click to collapse
i have serious bootloops, ppl are saying my nand is faulted, how do i repair it, as what ever ruu or rom i install i end up with bootloop

dxbboy said:
i have serious bootloops, ppl are saying my nand is faulted, how do i repair it, as what ever ruu or rom i install i end up with bootloop
Click to expand...
Click to collapse
Nobody can repair Nand memory's, probably your entire motherboard needs to be replaced.

All the tmpfs filesystem mounts are temporary ones and are on ram..
Sent from my HTC Sensation using XDA Premium 4 mobile app

I remember the HTC Desire, you could actually change the partition sizes to however you see fit using thalmus HBOOT patcher. It's a shame nobody managed to do it on here as I use AOSP which hardly uses any internal memory

Filesystem Size Used Free Blksize
/dev 271.7M 52K 271.6M 4096
/storage 271.7M 0K 271.7M 4096
/vendor/firmware/misc 199.8M 21.5M 178.3M 4096
/vendor/firmware/adsp 199.8M 5.7M 194.1M 4096
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
/system 787.4M 388.8M 398.6M 4096
/data 1.1G 482.1M 693.9M 4096
/cache 118.1M 98M 20.1M 4096
/devlog 19.7M 14.8M 4.9M 4096
/storage/sdcard0 14.8G 13G 1.8G 32768
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
THIS IS ONLY ONE 271Ç7M AND IT IS SHARED BY secure, asec, obb, fuse.
I can not find /storage 271.7M 0K 271.7M 4096 in sensation. it is missing.
I sum up and find 3GB.
somhow still missing 0.8gb

sokomind said:
Filesystem Size Used Free Blksize
/dev 271.7M 52K 271.6M 4096
/storage 271.7M 0K 271.7M 4096
/vendor/firmware/misc 199.8M 21.5M 178.3M 4096
/vendor/firmware/adsp 199.8M 5.7M 194.1M 4096
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
/system 787.4M 388.8M 398.6M 4096
/data 1.1G 482.1M 693.9M 4096
/cache 118.1M 98M 20.1M 4096
/devlog 19.7M 14.8M 4.9M 4096
/storage/sdcard0 14.8G 13G 1.8G 32768
/mnt/secure 271.7M 0K 271.7M 4096
/mnt/asec 271.7M 0K 271.7M 4096
/mnt/obb 271.7M 0K 271.7M 4096
/mnt/fuse 271.7M 0K 271.7M 4096
THIS IS ONLY ONE 271Ç7M AND IT IS SHARED BY secure, asec, obb, fuse.
I can not find /storage 271.7M 0K 271.7M 4096 in sensation. it is missing.
I sum up and find 3GB.
somhow still missing 0.8gb
Click to expand...
Click to collapse
MMC
Manufacturer: Samsung Electronics
Model: MLL00M
Size: 2416 MB
Manufacture Date: Jun 2011
SDIO
Manufacturer: Broadcom
Model: BCM4329
Whoever said this device is 4GB was drunk.

can you tell me please witch mmcblk is hboot?

Related

[Q] Partitions

Could someone with root access tell me how are the partitions laid out in the Transformer, and their sizes? How much space is there for /data , for example, for installing stuff?
Thanks in advance!
Code:
export PATH=/data/local/bin:$PATH
$ cat /sdcard/part
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p1 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Filesystem Size Used Free Blksize
/dev 364M 32K 364M 4096
/mnt/asec 364M 0K 364M 4096
/mnt/obb 364M 0K 364M 4096
/system 503M 355M 148M 4096
/data 12G 581M 11G 2048
/cache 521M 8M 512M 4096
/mnt/sdcard 12G 581M 11G 2048
$
Here is mount and df. Hope that helps, cuz that's all i gots.
gee one said:
Code:
export PATH=/data/local/bin:$PATH
$ cat /sdcard/part
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p1 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Filesystem Size Used Free Blksize
/dev 364M 32K 364M 4096
/mnt/asec 364M 0K 364M 4096
/mnt/obb 364M 0K 364M 4096
/system 503M 355M 148M 4096
/data 12G 581M 11G 2048
/cache 521M 8M 512M 4096
/mnt/sdcard 12G 581M 11G 2048
$
Here is mount and df. Hope that helps, cuz that's all i gots.
Click to expand...
Click to collapse
It does, thanks G1
Sent from my GT-I9000 using Tapatalk

Samsung Conquer 4g Boot Recovery Dumps

so i happen to come across a thread showing how to dump the files need to help build a custom recovery so i went ahead and dumped the files and they are below. If someone could please help build a custom recovery that would be greatly appreciated
# cat proc/mtd
cat proc/mtd
dev: size erasesize name
mtd0: 00240000 00040000 "MIBIB"
mtd1: 00140000 00040000 "OSBL"
mtd2: 01200000 00040000 "AMSS"
mtd3: 00180000 00040000 "APPSBL"
mtd4: 00700000 00040000 "QDSP_Q5"
mtd5: 00680000 00040000 "CPFOTA"
mtd6: 00800000 00040000 "boot"
mtd7: 00800000 00040000 "recovery"
mtd8: 00140000 00040000 "parameter"
mtd9: 0f000000 00040000 "system"
mtd10: 21fc0000 00040000 "userdata"
mtd11: 00140000 00040000 "misc"
mtd12: 0a800000 00040000 "cache"
Click to expand...
Click to collapse
# cat proc/mounts
cat proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock9 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock12 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u
id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset
=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.threed.bowling-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.g5e.standofood3-1 vfat ro,dirsync,nosuid,nodev,rel
atime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortnam
e=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.halfbrick.fruitninjafree-1 vfat ro,dirsync,nosuid,
nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1
,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.zeptolab.ctr.paid-1 vfat ro,dirsync,nosuid,nodev,r
elatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortn
ame=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.sgiggle.production-1 vfat ro,dirsync,nosuid,nodev,
relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.aidigame.xcity-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.jb.gosms-1 vfat ro,dirsync,nosuid,nodev,relatime,u
id=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed
,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.com2us.sliceit-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.koushikdutta.rommanager-1 vfat ro,dirsync,nosuid,n
odev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,
shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.keramidas.TitaniumBackup-1 vfat ro,dirsync,nosuid,
nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1
,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/net.zedge.android-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.virtuesoft.wordsearch-1 vfat ro,dirsync,nosuid,no
dev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-12 /mnt/asec/com.gau.go.launcherex.theme.ABLACK-1 vfat ro,dirsync,
nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-13 /mnt/asec/com.lg.valle.phone2chrome-1 vfat ro,dirsync,nosuid,no
dev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-14 /mnt/asec/com.a0soft.gphone.app2sd-1 vfat ro,dirsync,nosuid,nod
ev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,sh
ortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-15 /mnt/asec/com.dasur.slideit.skin.black-1 vfat ro,dirsync,nosuid
,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-16 /mnt/asec/com.teamviewer.teamviewer.market.mobile-1 vfat ro,dir
sync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iochars
et=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Click to expand...
Click to collapse
# ls /dev/block/mmcblk*
ls /dev/block/mmcblk*
/dev/block/mmcblk0
/dev/block/mmcblk0p1
Click to expand...
Click to collapse
# mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock9 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock12 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u
id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset
=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.threed.bowling-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.g5e.standofood3-1 vfat ro,dirsync,nosuid,nodev,rel
atime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortnam
e=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.halfbrick.fruitninjafree-1 vfat ro,dirsync,nosuid,
nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1
,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.zeptolab.ctr.paid-1 vfat ro,dirsync,nosuid,nodev,r
elatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortn
ame=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.sgiggle.production-1 vfat ro,dirsync,nosuid,nodev,
relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.aidigame.xcity-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.jb.gosms-1 vfat ro,dirsync,nosuid,nodev,relatime,u
id=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed
,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.com2us.sliceit-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.koushikdutta.rommanager-1 vfat ro,dirsync,nosuid,n
odev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,
shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.keramidas.TitaniumBackup-1 vfat ro,dirsync,nosuid,
nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1
,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/net.zedge.android-1 vfat ro,dirsync,nosuid,nodev,rela
time,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname
=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.virtuesoft.wordsearch-1 vfat ro,dirsync,nosuid,no
dev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-12 /mnt/asec/com.gau.go.launcherex.theme.ABLACK-1 vfat ro,dirsync,
nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-13 /mnt/asec/com.lg.valle.phone2chrome-1 vfat ro,dirsync,nosuid,no
dev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-14 /mnt/asec/com.a0soft.gphone.app2sd-1 vfat ro,dirsync,nosuid,nod
ev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,sh
ortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-15 /mnt/asec/com.dasur.slideit.skin.black-1 vfat ro,dirsync,nosuid
,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-16 /mnt/asec/com.teamviewer.teamviewer.market.mobile-1 vfat ro,dir
sync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iochars
et=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Click to expand...
Click to collapse
# df
df
Filesystem Size Used Free Blksize
/dev 190M 80K 190M 4096
/mnt/asec 190M 0K 190M 4096
/mnt/obb 190M 0K 190M 4096
/system 240M 195M 44M 4096
/data 543M 195M 348M 4096
/cache 168M 2M 165M 4096
/mnt/sdcard 29G 654M 29G 32768
/mnt/secure/asec 29G 654M 29G 32768
/mnt/asec/com.threed.bowling-1 11M 9M 1M 4096
/mnt/asec/com.g5e.standofood3-1 23M 21M 1M 4096
/mnt/asec/com.halfbrick.fruitninjafree-1 22M 20M 1M 4096
/mnt/asec/com.zeptolab.ctr.paid-1 20M 18M 2M 4096
/mnt/asec/com.sgiggle.production-1 19M 17M 2M 4096
/mnt/asec/com.aidigame.xcity-1 19M 17M 1M 4096
/mnt/asec/com.jb.gosms-1 6M 4M 1M 4096
/mnt/asec/com.com2us.sliceit-1 9M 7M 1M 4096
/mnt/asec/com.koushikdutta.rommanager-1 3M 1M 1M 4096
/mnt/asec/com.keramidas.TitaniumBackup-1 4M 2M 1M 4096
/mnt/asec/net.zedge.android-1 3M 1M 1M 4096
/mnt/asec/com.virtuesoft.wordsearch-1 3M 1M 1M 4096
/mnt/asec/com.gau.go.launcherex.theme.ABLACK-1 3M 1M 1M 4096
/mnt/asec/com.lg.valle.phone2chrome-1 2M 348K 1M 4096
/mnt/asec/com.a0soft.gphone.app2sd-1 2M 444K 1M 4096
/mnt/asec/com.dasur.slideit.skin.black-1 2M 128K 1M 4096
/mnt/asec/com.teamviewer.teamviewer.market.mobile-1 3M 1M 1M 4096
#
Click to expand...
Click to collapse
Here is the Download link to the Recovery-Dump.img and Boot-Dump.img
http://www.mediafire.com/?4f68dnxaohbc3sh
is there ANY WAY you can do a system dump?
i PMed you
there is a custom recovery being built as we speak here
http://forum.xda-developers.com/showthread.php?t=1309454&page=10
Not to hijack the thread, but can either of you provide me with a system dump of the Conquer?
I got a hold of a Conquer the other day and apparently it has a messed up firmware (device reboots when I try to use the camera). I tried to do a factory reset, but the result is the same. I'm hoping to get a hold of a working system dump so I can re-flash it and maybe do some development on it.
Any help would be appreciated!
I don't have this phone anymore but I did a wipe in android recovery and it worked to fix when my phone was in a bootloop
Sent from my MB855 using XDA
chrystal0925 said:
I don't have this phone anymore but I did a wipe in android recovery and it worked to fix when my phone was in a bootloop
Sent from my MB855 using XDA
Click to expand...
Click to collapse
i have fc17 deodex rom for this phone check my posts in profile
Sent from my SGH-T679 using XDA App

[Q] Midnight Commander on ICS

A brand-new Galaxy Nexus, rooted, installed many apps w.o. problems. (e.g. sshd, Total Commander, ConnectBot, OpenVPN, ...) Tried to install Midnight Commander as seen here:
http://forum.xda-developers.com/showthread.php?t=1243699&page=6
No success, so I tried from scratch, copied files into /system dir and subdirs. It works. But in some subdirs the mc has no read-permission, e.g. /system, /data... I'm wondering, able to listing contents of these directories directly from console. Also able to copy files into /system or /etc with F5.
Any Hints?
Thanks, Charmin.
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Same problem on ICS (cm-9.0.0-RC1-maguro.zip)...
I do not have the solution but I may have a clue. When mc attempts to access /system, strace shows:
Code:
chdir("/system") = 0
getcwd("/system", 4096) = 8
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/system", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, 0xbe98d868) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
Hopefully someone will find that info to be helpful...
Similar problem, cannot access sdcard, Resurrection Remix 2.6.1 on SGS2
strace:
ioctl(0, TIOCLINUX, 0xbecc07c7) = -1 EINVAL (Invalid argument)
chdir("/mnt/sdcard") = 0
getcwd("/mnt/sdcard", 4096) = 12
stat64("/mnt/sdcard", {st_mode=S_IFDIR|075, st_size=32768, ...}) = 0
stat64("/mnt/sdcard", {st_mode=S_IFDIR|075, st_size=32768, ...}) = 0
stat64("/mnt", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0
open("/mnt/sdcard", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 3
fstat(3, 0xbecbf6f8) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
Thank you,
An additional data point...
I tried midnight commander on the standard AOSP ICS via the emulator that comes with the SDK (platform 4.1). No problem! Access to any directory (i.e. /system) is error free...
This issue appears to be specific to Cyanogenmod (at least with my version cm-9.0.0-RC1-maguro.zip).
Is the source code (w/ android specific configure options and patches) for this version of Midnight Commander available somewhere?
I decided to build my own version of Midnight Commander so I could fix this bug for myself. You can find it here (in n00b URL syntax):
www dot noid dot net slash mc-android
Why not use Ghost Commander? Free and works well, it's available from Google Playstore.
demonoflust said:
Why not use Ghost Commander? Free and works well, it's available from Google Playstore.
Click to expand...
Click to collapse
Ghost Commander looks great and I'll probably use that too... It's great to have both!
The Ghost Commander is a GUI app that runs on your device's screen as a normal Android application does.
This version of Midnight Commander that I've made is a console app. It runs in a terminal. So, to use it on your device's screen, you would first need to start a "terminal emulator" application. But that's not where it really shines because (on a phone at least) it's very small and the default soft-keyboard does not have function keys, etc..
This version of Midnight Commander is ideal if you are using your home PC (with a full keyboard) and you SSH into your device. For example, if you are running DroidSSHd on your device and you use PuTTY from you home PC to connect. Now you're really cooking!
So they're both good (but different)...
charminbear said:
A brand-new Galaxy Nexus, rooted, installed many apps w.o. problems. (e.g. sshd, Total Commander, ConnectBot, OpenVPN, ...) Tried to install Midnight Commander as seen here:
http://forum.xda-developers.com/showthread.php?t=1243699&page=6
No success, so I tried from scratch, copied files into /system dir and subdirs. It works. But in some subdirs the mc has no read-permission, e.g. /system, /data... I'm wondering, able to listing contents of these directories directly from console. Also able to copy files into /system or /etc with F5.
Any Hints?
Thanks, Charmin.
Click to expand...
Click to collapse
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
---------- Post added at 04:37 PM ---------- Previous post was at 04:23 PM ----------
a.human said:
Same problem on ICS (cm-9.0.0-RC1-maguro.zip)...
I do not have the solution but I may have a clue. When mc attempts to access /system, strace shows:
Code:
chdir("/system") = 0
getcwd("/system", 4096) = 8
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/system", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, 0xbe98d868) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
Hopefully someone will find that info to be helpful...
Click to expand...
Click to collapse
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
---------- Post added at 04:43 PM ---------- Previous post was at 04:37 PM ----------
yariks7 said:
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
Click to expand...
Click to collapse
correct large /mnt/sdcard also not listable by mc!
Filesystem Size Used Free Blksize
/system 503M 498M 5M 4096
/data 1G 442M 1G 4096
/mnt/sdcard 11G 305M 11G 32768
---------- Post added at 04:50 PM ---------- Previous post was at 04:43 PM ----------
yariks7 said:
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
---------- Post added at 04:37 PM ---------- Previous post was at 04:23 PM ----------
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
---------- Post added at 04:43 PM ---------- Previous post was at 04:37 PM ----------
correct large /mnt/sdcard also not listable by mc!
Filesystem Size Used Free Blksize
/system 503M 498M 5M 4096
/data 1G 442M 1G 4096
/mnt/sdcard 11G 305M 11G 32768
Click to expand...
Click to collapse
strange but large submounts accessible and listable
/dev/block/vold/259:3 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /mnt/sdcard/external_sd tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
tmpfs /mnt/sdcard/usbStorage tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:9 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/mnt/sdcard/Alarms # df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/mnt/sdcard 11G 305M 11G 32768
/mnt/sdcard/external_sd 7G 6G 1G 32768
/mnt/sdcard/external_sd 7G 6G 1G 32768
/mnt/secure/asec 7G 6G 1G 32768
so /mnt/sdcard not listable ,
but large /mnt/secure/asec and /mnt/sdcard/external_sd is listable too.
Hello guys,
I've double checked MC and everything seems ok, on my phone it works (it has 16Gb internal memory from which about 10Gb are assigned to /storage/sdcard, and I added 16gb external SDCARD which it mounts under /storage/extSdCard).
Code:
[[email protected]]/sdcard# busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 426612 84 426528 0% /dev
tmpfs 426612 0 426612 0% /mnt/asec
tmpfs 426612 0 426612 0% /mnt/obb
/dev/block/mmcblk0p3 20144 8372 11772 42% /efs
/dev/block/mmcblk0p9 1548144 863612 684532 56% /system
/dev/block/mmcblk0p8 1007896 17280 990616 2% /cache
/dev/block/mmcblk0p12
11901576 8123632 3777944 68% /data
/dev/fuse 11799176 8123632 3675544 69% /storage/sdcard0
/dev/block/vold/179:17
15613952 14060896 1553056 90% /storage/extSdCard
I'm using an S3 with rooted stock firmware and stock kernel and I can navigate everywhere without incidents.
The only question that now comes to mind is if you somehow formatted the the /mnt/sdcard with ext2/3 filesystem ? Or is it FAT32 single partition ?
Hello viulian,
thank your reply .
I think you are right - it depends on filesystem type (and it size also) .
Large /mnt/sdcard/external_sd (vfat) is listable,
but large ext4 partition /system and /data is NOT listable.
here is my
#busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 423444 76 423368 0% /dev
...[skipped]...
/dev/block/mmcblk0p9 516040 510032 6008 99% /system
/dev/block/mmcblk0p10 2064192 720956 1343236 35% /data
/dev/block/vold/259:3 12063840 2676224 9387616 22% /mnt/sdcard
tmpfs 31154688 2222432 28932256 7% /mnt/sdcard/external_sd
/dev/block/vold/179:9
31154688 2222432 28932256 7% /mnt/sdcard/external_sd
...[skipped]...
1|[email protected]:/sdcard #
1|[email protected]:/sdcard # mount
/dev/block/mmcblk0p9 /system ext4 ro,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/vold/259:3 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /mnt/sdcard/external_sd tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
viulian said:
Hello guys,
I've double checked MC and everything seems ok, on my phone it works (it has 16Gb internal memory from which about 10Gb are assigned to /storage/sdcard, and I added 16gb external SDCARD which it mounts under /storage/extSdCard).
Code:
[[email protected]]/sdcard# busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 426612 84 426528 0% /dev
tmpfs 426612 0 426612 0% /mnt/asec
tmpfs 426612 0 426612 0% /mnt/obb
/dev/block/mmcblk0p3 20144 8372 11772 42% /efs
/dev/block/mmcblk0p9 1548144 863612 684532 56% /system
/dev/block/mmcblk0p8 1007896 17280 990616 2% /cache
/dev/block/mmcblk0p12
11901576 8123632 3777944 68% /data
/dev/fuse 11799176 8123632 3675544 69% /storage/sdcard0
/dev/block/vold/179:17
15613952 14060896 1553056 90% /storage/extSdCard
I'm using an S3 with rooted stock firmware and stock kernel and I can navigate everywhere without incidents.
The only question that now comes to mind is if you somehow formatted the the /mnt/sdcard with ext2/3 filesystem ? Or is it FAT32 single partition ?
Click to expand...
Click to collapse

[Q] abount internal storage size

I have p3100 8GB and I saw that internal storage is only 2GB. is this normal? if not, what should I do?
danis26 said:
I have p3100 8GB and I saw that internal storage is only 2GB. is this normal? if not, what should I do?
Click to expand...
Click to collapse
It is 8GB total between all items stored. You have /data, /cache, /sdcard, /system, and then a couple other random items as well. The total of all of those should be ~8GB.
imnuts said:
It is 8GB total between all items stored. You have /data, /cache, /sdcard, /system, and then a couple other random items as well. The total of all of those should be ~8GB.
Click to expand...
Click to collapse
But isn't 2GB too low? Its only 2GB and I cant instal apps to sdcard.
sorry for my bad English.
I have about 3gb of storage not counting the space my apps take up.
Sent from my GT-P3113 using XDA Premium HD app
matt30 said:
I have about 3gb of storage not counting the space my apps take up.
Sent from my GT-P3113 using XDA Premium HD app
Click to expand...
Click to collapse
what ROM are you using?
danis26 said:
what ROM are you using?
Click to expand...
Click to collapse
Tab2lite beta 2
Storage lists my total space at 4.6gb.
Sent from my GT-P3113 using XDA Premium HD app
The memory layout on the Tab 2 is a strange bird. The 8GB is divided into two partitions of equal size, and you will always see the internal memory and virtual SDCard being of equal size. You really only have 4GB to actually install anything programwise. With Ice Cream Sandwich, you cannot move apps to the ExtSDCard because of Google's far-seeing "wisdom" that said that we would not ever need more than what they gave us in the Tab 2. There ARE some apps that will allow you to move some game files to the ExtSDCard like GL to SD(Root) and Directory Bind, but there really isn't a long term solution yet on how to move apps to the ExTSDCard consistently without need of special apps. I imagine that it may take a major ROM tweak that will allow this function. There is also a 1GB dedicated cache directory that needs to be cleaned ever so often otherwise Google Play will not allow you to install anything once the cache is filled. There are a number of utility apps available in the Play Store that will optimize memory and clear the cache...
Alex
So what should I do to get 4GB free space instead of 2GB ?
AlexM555 said:
The memory layout on the Tab 2 is a strange bird. The 8GB is divided into two partitions of equal size, and you will always see the internal memory and virtual SDCard being of equal size. You really only have 4GB to actually install anything programwise. With Ice Cream Sandwich, you cannot move apps to the ExtSDCard because of Google's far-seeing "wisdom" that said that we would not ever need more than what they gave us in the Tab 2. There ARE some apps that will allow you to move some game files to the ExtSDCard like GL to SD(Root) and Directory Bind, but there really isn't a long term solution yet on how to move apps to the ExTSDCard consistently without need of special apps. I imagine that it may take a major ROM tweak that will allow this function. There is also a 1GB dedicated cache directory that needs to be cleaned ever so often otherwise Google Play will not allow you to install anything once the cache is filled. There are a number of utility apps available in the Play Store that will optimize memory and clear the cache...
Alex
Click to expand...
Click to collapse
This is not right.
There are several partitions of the 8gb flash memory, not two. Not being able to move apps to an sd card is not an ICS issue but a modification made by Samsung. The cache never needs to be cleared, its size is 688mb not 1gb, and if you want to clear it (even though it offers no benefit whatsoever to do so) you can do it from the menus in ICS.
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
danis26 said:
So what should I do to get 4GB free space instead of 2GB ?
Click to expand...
Click to collapse
Do you have a terminal emulator app? adb? It's hard to fix your problem if we don't know more.
matt30 said:
This is not right.
There are several partitions of the 8gb flash memory, not two. Not being able to move apps to an sd card is not an ICS issue but a modification made by Samsung. The cache never needs to be cleared, its size is 688mb not 1gb, and if you want to clear it (even though it offers no benefit whatsoever to do so) you can do it from the menus in ICS.
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
Do you have a terminal emulator app? adb? It's hard to fix your problem if we don't know more.
Click to expand...
Click to collapse
Yes I have terminal emulator app.
I have similar problem. I have p3110 16Gb and after installing Tab 2 lite beta 2 (I tested all other p3113 rom,stock and custom, and they all worked without any problems), memory went from 16GB to 8G. I can't find a way to revert this(installed the proper stock rom). One other strange thing is that i can't re-partition anymore using odin,it fails on that process. Any ideas?
danis26 said:
Yes I have terminal emulator app.
Click to expand...
Click to collapse
HapaBiH said:
I have similar problem. I have p3110 16Gb and after installing Tab 2 lite beta 2 (I tested all other p3113 rom,stock and custom, and they all worked without any problems), memory went from 16GB to 8G. I can't find a way to revert this(installed the proper stock rom). One other strange thing is that i can't re-partition anymore using odin,it fails on that process. Any ideas?
Click to expand...
Click to collapse
I wonder if this will work without busybox but you should run
$ su
then
# fdisk -l /dev/block/mmcblk0
then
# df
also
# mount
and tell me what you see.
It would also be helpfull if you could go to the '/dev/block/platform/omap/omap_hsmmc.1/by-name/' directory and tell me what you see.
For the guy that flashed tab2lite, you should proabably pm the dev and ask him for an odin flashable partition table for the 16gb version.
This is what i get.
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7818 MB, 7818182656 bytes
1 heads, 16 sectors/track, 954368 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 954368 7634943+ ee EFI GPT
Partition 1 does not end on cylinder boundary
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 343M 76K 343M 4096
/mnt/asec 343M 0K 343M 4096
/mnt/obb 343M 0K 343M 4096
/system 1G 949M 255M 4096
/data 1G 1G 276M 4096
/cache 688M 11M 677M 4096
/efs 19M 8M 11M 4096
/mnt/sdcard 1G 1G 276M 4096
/mnt/extSdCard 7G 3G 4G 4096
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 rw,nosuid,nodev,noatime,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 rw,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:25 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
danis26 said:
This is what i get.
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7818 MB, 7818182656 bytes
1 heads, 16 sectors/track, 954368 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 954368 7634943+ ee EFI GPT
Partition 1 does not end on cylinder boundary
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 343M 76K 343M 4096
/mnt/asec 343M 0K 343M 4096
/mnt/obb 343M 0K 343M 4096
/system 1G 949M 255M 4096
/data 1G 1G 276M 4096
/cache 688M 11M 677M 4096
/efs 19M 8M 11M 4096
/mnt/sdcard 1G 1G 276M 4096
/mnt/extSdCard 7G 3G 4G 4096
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 rw,nosuid,nodev,noatime,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 rw,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:25 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
Click to expand...
Click to collapse
You have the 8gb model and a custom rom. How did you flash this? I heimdal or Odin? What ROM are you on?
Your /data partition is messed up.
Sent from my GT-P3113 using XDA Premium HD app
matt30 said:
You have the 8gb model and a custom rom. How did you flash this? I heimdal or Odin? What ROM are you on?
Your /data partition is messed up.
Sent from my GT-P3113 using XDA Premium HD app
Click to expand...
Click to collapse
We can close this threat. I solved this problem myself. Formated data and cache and now I have 4.56GB of space. THank you matt30 for your help!!!

Modified partition table (16GB versions)

Hello,
I received my second Mi4C 16GB yesterday. It came with some unofficial "global stable" MIUI rom preinstalled (ordered from geekbuying).
I noticed the total capacity of the storage is different from the original Mi4C I bought a while ago (11.19GB vs. 11.31GB on the previous phone). I also noticed some other users and youtubers own phones with wrongly indexed total capacity of the storage as well. I briefly checked the partitions of the phone and it turned out the partition table is different from the stock one (aka the one with the capacity of 11.31GB). I suspect the reseller modified the partition table to be able to flash their own modified unofficial rom.
I've tried a few solutions, but nothing has worked for me so far (nothing reverted the userdata partition to its stock state as indexed by CPU-Z/Antutu).
1.) MiFlash with flash_all.bat script (tried a few fastboot roms) - doesn't work
2.) MiFlash with modified flash_all.bat script (with this line - fastboot %* flash partition "%~dp0images\gpt_both0.bin) - doesn't work
3.) MiPCSuite and flashing the latest chinese stable rom via it - doesn't work
4.) Some partition fix adb script I found on Hungarian message board - doesn't work
5.) flashing multilang rom via TWRP - obviously doesn't work
This is the original topic from xiaomi.eu:
hxxps://xiaomi.eu/community/forums/xiaomi-mi4c.142/
Left one - modified partition table, right one - proper partition table"hxxps://farm6.staticflickr.com/5612/30369274744_d51a097fde_b.jpg
Do you the proper way to return the partition table of the phone to its genuine state, please?
Out of interest, I would be interested to see both your phones running df (open a terminal, run 'su', and then when you have a root shell type 'df -h') so that I can see where your partitions are bloated.
I also have the issue, except to a greater degree : I have under 8gb in the data partition!
InfinityIO said:
Out of interest, I would be interested to see both your phones running df (open a terminal, run 'su', and then when you have a root shell type 'df -h') so that I can see where your partitions are bloated.
I also have the issue, except to a greater degree : I have under 8gb in the data partition!
Click to expand...
Click to collapse
Hi, check this comparison:
hxxps://c2.staticflickr.com/6/5826/31305621321_0608b75a19_k.jpg
There is the exact same multilang MIUI 7 rom installed on both the phones.
I've seen some people on Chinese and Russian forums mentioning the same problem + a few other people responded on the local/eu miui forums.
Code:
[email protected]:/ # df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 889M 76K 889M 1% /dev
none 889M 0 889M 0% /sys/fs/cgroup
tmpfs 889M 0 889M 0% /mnt
/dev/block/mmcblk0p41 1.8G 1.1G 674M 64% /system
/dev/block/mmcblk0p44 9.4G 7.8G 1.6G 83% /data
/dev/block/mmcblk0p43 300M 173M 128M 58% /cust
/dev/block/mmcblk0p36 128M 72M 56M 56% /firmware
/dev/block/mmcblk0p14 64M 80K 64M 1% /bt_firmware
/dev/block/mmcblk0p42 372M 252K 372M 1% /cache
/dev/block/mmcblk0p39 27M 148K 27M 1% /persist
tmpfs 889M 0 889M 0% /storage
/dev/fuse 9.4G 7.8G 1.6G 83% /mnt/runtime/default/emulated
/dev/fuse 9.4G 7.8G 1.6G 83% /storage/emulated
/dev/fuse 9.4G 7.8G 1.6G 83% /mnt/runtime/read/emulated
/dev/fuse 9.4G 7.8G 1.6G 83% /mnt/runtime/write/emulated
[email protected]:/ #
Mine only has 9.4GB.
A shipped, bootloader-flashed official Firmware repartitions as necessary. All you have to do is flash an official rom (not the xiaomi.eu recovery-flashable roms but ACTUAL official roms flashed via fastboot). Im sure some of those would have a different partition table as per suited for ROM needs. Nothing to be alarmed of.
dark_prince said:
A shipped, bootloader-flashed official Firmware repartitions as necessary. All you have to do is flash an official rom (not the xiaomi.eu recovery-flashable roms but ACTUAL official roms flashed via fastboot). Im sure some of those would have a different partition table as per suited for ROM needs. Nothing to be alarmed of.
Click to expand...
Click to collapse
Doesn't work. I've tried flashing several different official Chinese fastboot roms via MiFlash - both the dev and stable ones - but the capacity of the storage remains the same.
A partial solution?
I managed to get my data partition from 7.7G
Code:
Filesystem Size Used Free Blksize
/dev 888.7M 88.0K 888.6M 4096
/sys/fs/cgroup 888.7M 0.0K 888.7M 4096
/mnt/asec 888.7M 0.0K 888.7M 4096
/mnt/obb 888.7M 0.0K 888.7M 4096
/sys/fs/cgroup 888.7M 0.0K 888.7M 4096
/system 1.8G 1.1G 734.9M 4096
/data 7.7G 7.6G 182.8M 4096
/cust 310.0M 18.2M 291.7M 4096
/cache 372.0M 332.0K 371.6M 4096
/persist 27.5M 112.0K 27.4M 4096
/firmware 127.9M 71.5M 56.4M 16384
/bt_firmware 64.0M 80.0K 63.9M 16384
/mnt/shell/emulated 7.7G 7.6G 182.8M 4096
/mnt/shell/emulated/0 7.7G 7.6G 182.8M
To 11G
Code:
Filesystem Size Used Avail Use% Mounted on
tmpfs 888M 572K 888M 1% /dev
tmpfs 888M 0 888M 0% /mnt
/dev/block/mmcblk0p41 1.8G 1.2G 594M 69% /system
/dev/block/mmcblk0p44 11G 5.1G 6.1G 46% /data
/dev/block/mmcblk0p42 372M 256K 372M 1% /cache
/dev/block/mmcblk0p39 27M 140K 27M 1% /persist
/dev/block/mmcblk0p36 128M 72M 56M 56% /firmware
/dev/block/mmcblk0p14 64M 80K 64M 1% /bt_firmware
tmpfs 888M 0 888M 0% /storage
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/default/emulated
/dev/fuse 11G 5.1G 6.1G 46% /storage/emulated
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/read/emulated
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/write/emulated
by opening twrp, going into format partitions, the advanced wipe this will destroy all data - nandroid it menu, then selecting the system partition and selecting format, then resize. I did the same thing for data and the partition gained ~3gbs! I'm not sure how reproducible this is, but it seems to work properly and stays cross-ROM
I know I didn't get the full 11.3G,but it worked somewhat...
Hope this helps you on your quest to downloading large files to your device!
-iO
InfinityIO said:
Hope this helps you on your quest to downloading large files to your device!
-iO
Click to expand...
Click to collapse
Or getting at least part of my music collection on it.
InfinityIO said:
I managed to get my data partition from 7.7G
Code:
Filesystem Size Used Free Blksize
/dev 888.7M 88.0K 888.6M 4096
/sys/fs/cgroup 888.7M 0.0K 888.7M 4096
/mnt/asec 888.7M 0.0K 888.7M 4096
/mnt/obb 888.7M 0.0K 888.7M 4096
/sys/fs/cgroup 888.7M 0.0K 888.7M 4096
/system 1.8G 1.1G 734.9M 4096
/data 7.7G 7.6G 182.8M 4096
/cust 310.0M 18.2M 291.7M 4096
/cache 372.0M 332.0K 371.6M 4096
/persist 27.5M 112.0K 27.4M 4096
/firmware 127.9M 71.5M 56.4M 16384
/bt_firmware 64.0M 80.0K 63.9M 16384
/mnt/shell/emulated 7.7G 7.6G 182.8M 4096
/mnt/shell/emulated/0 7.7G 7.6G 182.8M
To 11G
Code:
Filesystem Size Used Avail Use% Mounted on
tmpfs 888M 572K 888M 1% /dev
tmpfs 888M 0 888M 0% /mnt
/dev/block/mmcblk0p41 1.8G 1.2G 594M 69% /system
/dev/block/mmcblk0p44 11G 5.1G 6.1G 46% /data
/dev/block/mmcblk0p42 372M 256K 372M 1% /cache
/dev/block/mmcblk0p39 27M 140K 27M 1% /persist
/dev/block/mmcblk0p36 128M 72M 56M 56% /firmware
/dev/block/mmcblk0p14 64M 80K 64M 1% /bt_firmware
tmpfs 888M 0 888M 0% /storage
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/default/emulated
/dev/fuse 11G 5.1G 6.1G 46% /storage/emulated
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/read/emulated
/dev/fuse 11G 5.1G 6.1G 46% /mnt/runtime/write/emulated
by opening twrp, going into format partitions, the advanced wipe this will destroy all data - nandroid it menu, then selecting the system partition and selecting format, then resize. I did the same thing for data and the partition gained ~3gbs! I'm not sure how reproducible this is, but it seems to work properly and stays cross-ROM
I know I didn't get the full 11.3G,but it worked somewhat...
Hope this helps you on your quest to downloading large files to your device!
-iO
Click to expand...
Click to collapse
Tested this, no need to wipe anything. Just resize it and you're good to go.
No data loss too.
I got 11.3GB after resizing. Thanks!
Cozzmy13 said:
Tested this, no need to wipe anything. Just resize it and you're good to go.
No data loss too.
I got 11.3GB after resizing. Thanks!
Click to expand...
Click to collapse
Can you describe the whole process step by step, please? What is the exact value as indexed by CPU-Z or the similar app? Is it 11.31 GB?
Jatsa - Boot into TWRP (I assume you have it)
Select the 'wipe' menu
Click advanced wipe
Tick the box that says system
Click resize partiton
One it is done, tick the box that says data
Click resize partition
Once done, press the back button until you reach the main menu
Click reboot
Choose system
Enjoy
Jatsa said:
Can you describe the whole process step by step, please? What is the exact value as indexed by CPU-Z or the similar app? Is it 11.31 GB?
Click to expand...
Click to collapse
From TWRP Wipe->Advanced Wipe-> check Data ->Repair or change Filesystem->Resize.
Done.
Glad to help.
Well, it doesn't work. The size of the partition remains still unchanged (11.19 instead of "proper" 11.31).
Maybe there are 2 variants.
100MB don't matter that much.
Exact size: 11856888.

Categories

Resources