Checking internal memory for fake memory.

30

itxtutor

Editor in Chief
Staff member
May 15, 2015
60,079
1
113
Hey guys,


many people got phones with fake internal memory.


Now im not sure if that really shows correct values because its acutally reading the same thing, but you can see here how your space is used.


First of all enable usb debugging on the phone.


then connect it to the pc and run mtk droid tools.


you should already see something like this   


Free space: system- 269.7M; data- 9.7G;  E:\ 244402M


Now you can also run an ADB shell (right button in MTK DT)


and type :


adb shell busybox df -h


this will show you your partitions and the free / used space.


just check the attachement below



hope this helps.
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
nice one steven this was truly needed we do seem to have a lot of people confused about their system partition sizes,i noticed in the screen shot that you posted that the command "adb devices" was implemented before the command to check your partitions does mtk droid tools initiate this command or do the users have to add this manually...?
 
30

itxtutor

Editor in Chief
Staff member
May 15, 2015
60,079
1
113
that was jsut to check if the device is recognized in adb mode
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
so you added this command manually...?


maybe you should update the OP just in case we get a lot of people complaining that it didn't work for them...:innocent:
 
1

aert077

New Member
Dec 3, 2014
1
0
1
73
busybox is unknown to my system(s)


where am i supposed to find it ?


Edit: I found the solution


It did not work because it could not find busybox in /system/bin


A little thinking: /system/bin is on the Phone


So i executed in the adb terminal:


adb remount (not sure if that is neccessary)


adb push busybox /system/bin  (this did the trick)


after that "adb shell busybox df -h"  shows.. eh.. what I still have to study, but certainly is what is meant to be shown
 
Last edited by a moderator:
2

Kico.MMK

Member
Dec 11, 2014
59
0
8
45
Actually I was looking for this , but still i didn't understood this screen shot what each line represent?, I didn't know which line is internal memory , which is the phone storage (internal sd-card) and which is external sd-card ,so if you could please explain them , and could this info be used to know the whole internal memory space of my device to be used to repartition the whole internal memory
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
Actually I was looking for this , but still i didn't understood this screen shot what each line represent?, I didn't know which line is internal memory , which is the phone storage (internal sd-card) and which is external sd-card ,so if you could please explain them , and could this info be used to know the whole internal memory space of my device to be used to repartition the whole internal memory
now if we told you everything that would be too easy...try google


do a little research...this was just given as a guide for those poor unfortunates who have 'spoofed' memory sizes in their device from those pesky cloners...LOL
 
2

Kico.MMK

Member
Dec 11, 2014
59
0
8
45
Thank for the advice , i reached this great forums using google & I'm impressed by the great work here ,but still I guess this addition will make it less confusing for the newbies and will complete the tut that's it
 
30

itxtutor

Editor in Chief
Staff member
May 15, 2015
60,079
1
113
/data or /emmc@userdata shows your free memory you can use on the phone.


Im not sure if you can fake this here too, but anyway this should tell you how much free space you still have.


you see the umi zero has 9,7GB of free space. MTK droid tools and ADB show same value
 
1

m1k0

New Member
Dec 23, 2014
5
0
1
44
I have Bepa G900W with "32 GB" internal memory - it is not true.


It is any way to correct this by partition layout, eMMC driver, etc.?
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
only if you are very good with LINUX and know how to manipulate your build prop,and can cook roms with rom kitchen or some other software....but i would not try it...you fuck with the build prop at your peril......
 
1

m1k0

New Member
Dec 23, 2014
5
0
1
44
This is my config


root@Bepa G900W:/ # busybox df -h                                              


Filesystem                Size      Used Available Use% Mounted on


tmpfs                   484.2M     52.0K    484.2M   0% /dev


tmpfs                   484.2M         0    484.2M   0% /mnt/secure


tmpfs                   484.2M         0    484.2M   0% /mnt/asec


tmpfs                   484.2M         0    484.2M   0% /mnt/obb


/emmc@android          1009.3M    772.7M    236.6M  77% /system


/emmc@usrdata          1008.3M    320.4M    687.9M  32% /data


/emmc@cache             124.1M      4.1M    120.0M   3% /cache


/emmc@protect_f           8.9M      4.1M      4.8M  46% /protect_f


/emmc@protect_s           8.9M      4.1M      4.8M  46% /protect_s


/dev/block/loop0          1.2M      1.2M         0 100% /mnt/cd-rom


/dev/block/vold/179:97


                         31.2G      2.2G     29.0G   7% /storage/sdcard0


/dev/block/vold/179:97


                         31.2G      2.2G     29.0G   7% /mnt/secure/asec


=================


root@Bepa G900W:/ # cat /proc/emmc                                             


partno:    start_sect   nr_sects  partition_name


emmc_p1: 00000400 00000002 "ebr1"


emmc_p2: 00004800 00005000 "protect_f"


emmc_p3: 00009800 00005000 "protect_s"


emmc_p4: 00014c00 00003000 "sec_ro"


emmc_p5: 0001ec00 00200000 "android"


emmc_p6: 0021ec00 0003f000 "cache"


emmc_p7: 0025dc00 00200000 "usrdata"


emmc_p8: 0045dc00 002de400 "fat"


===================================


root@Bepa G900W:/ # cat /proc/partitions                                       


major minor  #blocks  name


   7        0       1254 loop0


 253        0     196608 zram0


 179        0    3792896 mmcblk0


 179        1          1 mmcblk0p1


 179        2      10240 mmcblk0p2


 179        3      10240 mmcblk0p3


 179        4       6144 mmcblk0p4


 179        5    1048576 mmcblk0p5


 179        6     129024 mmcblk0p6


 179        7    1048576 mmcblk0p7


 179        8    1503744 mmcblk0p8


 179       64       1024 mmcblk0boot1


 179       32       1024 mmcblk0boot0


 179       96   32768000 mmcblk1


 179       97   32766976 mmcblk1p1


======================================


root@Bepa G900W:/ # cat /proc/mounts                                           


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/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


none /dev/cpuctl cgroup rw,relatime,cpu 0 0


/emmc@android /system ext4 ro,noatime,noauto_da_alloc,commit=1,data=ordered 0 0


/emmc@usrdata /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0


/emmc@cache /cache ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0


/emmc@protect_f /protect_f ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0


/emmc@protect_s /protect_s ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0


/dev/block/loop0 /mnt/cd-rom iso9660 ro,relatime 0 0


/dev/block/vold/179:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=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:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0


tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0


root@Bepa G900W:/ #


# cat /system/etc/vold.fstab                             


## Vold 2.0 Generic fstab


## - San Mehat (san@android.com)


##


#######################


## Regular device mount


##


## Format: dev_mount


## label        - Label for the volume


## mount_point  - Where the volume will be mounted


## part         - Partition # (1 based), or 'auto' for first usable partition.


## - List of sysfs paths to source devices


######################


## Example of a standard sdcard mount for the emulator / Dream


# Mounts the first usable partition of the specified device


#dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host


dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.2/mmc_host /devices/platform/mtk-msdc.0/mmc_host


#dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host


## Example of a dual card setup


# dev_mount left_sdcard  /mnt/sdcard1  auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0


# dev_mount right_sdcard /mnt/sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2


## Example of specifying a specific partition for mounts


# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1


My Q: Where to search for real values for eMMC?
 
5

Razorasadsid

Member
Dec 10, 2014
36
0
6
30
It would be good if using this people could test out all of their phones and compile a database of "actual" values for particular phones, both with internal memory and ram and ect.
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
Filesystem                Size      Used Available Use% Mounted on


tmpfs                   484.2M     52.0K    484.2M   0% /dev


tmpfs                   484.2M         0    484.2M   0% /mnt/secure


tmpfs                   484.2M         0    484.2M   0% /mnt/asec


tmpfs                   484.2M         0    484.2M   0% /mnt/obb


/emmc@android          1009.3M    772.7M    236.6M  77% /system


/emmc@usrdata          1008.3M    320.4M    687.9M  32% /data


/emmc@cache             124.1M      4.1M    120.0M   3% /cache


/emmc@protect_f           8.9M      4.1M      4.8M  46% /protect_f


/emmc@protect_s           8.9M      4.1M      4.8M  46% /protect_s


/dev/block/loop0          1.2M      1.2M         0 100% /mnt/cd-rom


/dev/block/vold/179:97


                         31.2G      2.2G     29.0G   7% /storage/sdcard0


/dev/block/vold/179:97


                         31.2G      2.2G     29.0G   7% /mnt/secure/asec


 


here is your system storage if that is what you want to know
 
1

sinhvienthidau

New Member
Oct 31, 2014
18
0
1
This thread is very useful. Thanks all.
 
2

chimei

Member
Dec 8, 2014
230
0
18
58
Hey guys,


many people got phones with fake internal memory.


Now im not sure if that really shows correct values because its acutally reading the same thing, but you can see here how your space is used.


First of all enable usb debugging on the phone.


then connect it to the pc and run mtk droid tools.


you should already see something like this   


Free space: system- 269.7M; data- 9.7G;  E:\ 244402M


Now you can also run an ADB shell (right button in MTK DT)


and type :


adb shell busybox df -h


this will show you your partitions and the free / used space.


just check the attachement below



hope this helps.
great tip,thank you
 
5

kzdhcster

Member
Dec 26, 2014
34
0
6
55
it does not work for me.:wondering:


 
Last edited by a moderator:
2

chimei

Member
Dec 8, 2014
230
0
18
58
it does not work for me.:wondering:


BUSY BOX NOT FOUND means you do not have Busybox installed, you can install it from the google play store.
 
Last edited by a moderator:
5

kzdhcster

Member
Dec 26, 2014
34
0
6
55
Thanks. it works now.


 
1

m1k0

New Member
Dec 23, 2014
5
0
1
44
I still have problem with my Bepa G900W and eMMC memory layout.


Many EBR flashed, but without success.


I have workaround.


Probably I have Micron eMMC chip with 3884MB


Many memory tests failed.


fdisk from busybox don't work.


My idea was unmount broken partition and mount external sd card. This is works.



Code:
cat -l /etc/vold.fstab


## Vold 2.0 Generic fstab

## - San Mehat (san@android.com)

##


#######################

## Regular device mount

##

## Format: dev_mount  

## label        - Label for the volume

## mount_point  - Where the volume will be mounted

## part         - Partition # (1 based), or 'auto' for first usable partition.

##  - List of sysfs paths to source devices

######################


## Example of a standard sdcard mount for the emulator / Dream

# Mounts the first usable partition of the specified device

#dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host

#dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.2/mmc_host /devices/platform/mtk-msdc.0/mmc_host

#dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host

dev_mount sdcard /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host

## Example of a dual card setup

# dev_mount left_sdcard  /mnt/sdcard1  auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0

# dev_mount right_sdcard /mnt/sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2


## Example of specifying a specific partition for mounts

# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1



root@Bepa G900W:/ # mount


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/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

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/emmc@android /system ext4 ro,noatime,noauto_da_alloc,commit=1,data=ordered 0 0

/emmc@usrdata /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0

/emmc@cache /cache ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0

/emmc@protect_f /protect_f ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0

/emmc@protect_s /protect_s ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0

/dev/block/loop0 /mnt/cd-rom iso9660 ro,relatime 0 0

/dev/block/vold/179:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc

harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc

harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0


root@Bepa G900W:/ # cat /proc/dumchar_info


cat /proc/dumchar_info

Part_Name       Size    StartAddr       Type    MapTo

preloader    0x0000000000600000   0x0000000000000000   2   /dev/misc-sd

mbr          0x0000000000080000   0x0000000000000000   2   /dev/block/mmcblk0

ebr1         0x0000000000080000   0x0000000000080000   2   /dev/block/mmcblk0p1

pro_info     0x0000000000300000   0x0000000000100000   2   /dev/block/mmcblk0

nvram        0x0000000000500000   0x0000000000400000   2   /dev/block/mmcblk0

protect_f    0x0000000000a00000   0x0000000000900000   2   /dev/block/mmcblk0p2

protect_s    0x0000000000a00000   0x0000000001300000   2   /dev/block/mmcblk0p3

seccfg       0x0000000000020000   0x0000000001d00000   2   /dev/block/mmcblk0

uboot        0x0000000000060000   0x0000000001d20000   2   /dev/block/mmcblk0

bootimg      0x0000000000600000   0x0000000001d80000   2   /dev/block/mmcblk0

recovery     0x0000000000600000   0x0000000002380000   2   /dev/block/mmcblk0

sec_ro       0x0000000000600000   0x0000000002980000   2   /dev/block/mmcblk0p4

misc         0x0000000000080000   0x0000000002f80000   2   /dev/block/mmcblk0

logo         0x0000000000300000   0x0000000003000000   2   /dev/block/mmcblk0

ebr2         0x0000000000080000   0x0000000003300000   2   /dev/block/mmcblk0

expdb        0x0000000000a00000   0x0000000003380000   2   /dev/block/mmcblk0

android      0x0000000040000000   0x0000000003d80000   2   /dev/block/mmcblk0p5

cache        0x0000000007e00000   0x0000000043d80000   2   /dev/block/mmcblk0p6

usrdata      0x0000000040000000   0x000000004bb80000   2   /dev/block/mmcblk0p7

fat          0x000000005bc80000   0x000000008bb80000   2   /dev/block/mmcblk0p8

bmtpool      0x0000000001500000   0x00000000ff9f00a8   2   /dev/block/mmcblk0

Part_Name:Partition name you should open;

Size:size of partition

StartAddr:Start Address of partition;

Type:Type of partition(MTD=1,EMMC=2)

MapTo:actual device you operate


cat /proc/partitions


major minor  #blocks  name


   7        0       1254 loop0

   7        1      55110 loop1

   7        2      44715 loop2

   7        3      55110 loop3

   7        4      47833 loop4

   7        5      31201 loop5

   7        6      40557 loop6

   7        7      39517 loop7

 253        0     196608 zram0

 179        0    3792896 mmcblk0

 179        1          1 mmcblk0p1

 179        2      10240 mmcblk0p2

 179        3      10240 mmcblk0p3

 179        4       6144 mmcblk0p4

 179        5    1048576 mmcblk0p5

 179        6     129024 mmcblk0p6

 179        7    1048576 mmcblk0p7

 179        8    1503744 mmcblk0p8

 179       64       1024 mmcblk0boot1

 179       32       1024 mmcblk0boot0

 179       96   30882816 mmcblk1

 179       97   30878720 mmcblk1p1

 179      128   32768000 mmcblk2

 179      129   32766976 mmcblk2p1


Now, I don't using eMMC as user space.


I have one problem. This storage partition stop working after 10 GB.
 
Help Users

You haven't joined any rooms.

    You haven't joined any rooms.