Hovatek Forum MOBILE Android Failed to mount internal storage 0mb
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


Failed to mount internal storage 0mb

Failed to mount internal storage 0mb

Mitchie Boom
Mitchie Boom
Mitchie Boom
Enthusiastic Member
10
08-05-2020, 02:13 PM
#1



Hi, first of all I would like to thank X3non for the reply. This is my problem, in order to mount the internal storage I need to add flashimg=1 in to the fstab. Sorry for being stupid  Big Grin but can anyone teach where exactly to put the flashimg=1? And I'm also confused as to what to edit the recovery.fstab or the twrp.fstab. (BTW this is a ported recovery I used the [Hovatek] Mediatek Auto TWRP Recovery Porter V1.4 by Team Hovatek). Attached is the print screen of recovery.fstab and twrp.fstab [Image: photo.php?fbid=10158568622688254&set=pcb...=3&theater][Image: photo.php?fbid=10158568622668254&set=pcb...=3&theater]
This post was last modified: 08-05-2020, 02:18 PM by Mitchie Boom.
X3non
X3non
X3non
Recognized Contributor
22,062
08-05-2020, 06:33 PM
#2
(08-05-2020, 02:13 PM)Mitchie Boom Hi, first of all I would like to thank X3non for the reply. This is my problem, in order to mount the internal storage I need to add flashimg=1 in to the fstab. Sorry for being stupid  Big Grin but can anyone teach where exactly to put the flashimg=1? And I'm also confused as to what to edit the recovery.fstab or the twrp.fstab. (BTW this is a ported recovery I used the [Hovatek] Mediatek Auto TWRP Recovery Porter V1.4 by Team Hovatek). Attached is the print screen of recovery.fstab and twrp.fstab [Image: photo.php?fbid=10158568622688254&set=pcb...=3&theater][Image: photo.php?fbid=10158568622668254&set=pcb...=3&theater]

unpack the twrp recovery using android image kitchen @ https://forum.xda-developers.com/showthr...?t=2073775
edit the recovery.fstab file within ramdisk/etc/ using any text editor e.g notepad++
add the flashimg flag to the partition you wish to

e.g
Code:

/system         ext4  /dev/block/platform/bootdevice/by-name/system    flags=backup=1;storage;flashimg=1
Mitchie Boom
Mitchie Boom
Mitchie Boom
Enthusiastic Member
10
08-05-2020, 07:14 PM
#3
(08-05-2020, 06:33 PM)X3non unpack the twrp recovery using android image kitchen @ https://forum.xda-developers.com/showthr...?t=2073775
edit the recovery.fstab file within ramdisk/etc/ using any text editor e.g notepad++
add the flashimg flag to the partition you wish to

e.g
Code:

/system        ext4  /dev/block/platform/bootdevice/by-name/system    flags=backup=1;storage;flashimg=1
This is the text, I dont see the "flags" here to place flashimg=1.

Code:

# 1 "vendor/mediatek/proprietary/hardware/fstab/mt6797/fstab.in"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "vendor/mediatek/proprietary/hardware/fstab/mt6797/fstab.in"
# 88 "vendor/mediatek/proprietary/hardware/fstab/mt6797/fstab.in"
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system /system ext4 ro wait,verify,recoveryonly

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/vendor /vendor ext4 ro wait,verify,recoveryonly


/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc wait,check,quota,resize,forceencrypt=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/metadata,

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect1 /protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable,
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect2 /protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable,
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvdata /nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,formattable,
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvcfg /nvcfg ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable,
# 112 "vendor/mediatek/proprietary/hardware/fstab/mt6797/fstab.in"
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp /persistent emmc defaults defaults


/devices/mtk-msdc.0/11240000.msdc1* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/soc/11270000.usb3_xhci* auto auto defaults voldmanaged=usbotg:auto
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvram /nvram emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/proinfo /proinfo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/lk /bootloader emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/lk2 /bootloader2 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/para /misc emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot /boot emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/logo /logo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/expdb /expdb emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/seccfg /seccfg emmc defaults defaults

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee1 /tee1 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee2 /tee2 emmc defaults defaults


/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/scp1 /scp1 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/scp2 /scp2 emmc defaults defaults




/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/md1img /md1img emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/md1dsp /md1dsp emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/md1arm7 /md1arm7 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/md3img /md3img emmc defaults defaults

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/odmdtbo /odmdtbo emmc defaults defaults

/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/otp /otp emmc defaults defaults
This post was last modified: 09-05-2020, 10:27 AM by X3non.
X3non
X3non
X3non
Recognized Contributor
22,062
09-05-2020, 10:39 AM
#4
(08-05-2020, 07:14 PM)Mitchie Boom This is the text, I dont see the "flags" here to place flashimg=1.
...

use the fstab attached below
This post was last modified: 09-05-2020, 10:40 AM by X3non.
Attached Files
.zip
recovery.fstab.zip
Size: 739 bytes / Downloads: 31
Mitchie Boom
Mitchie Boom
Mitchie Boom
Enthusiastic Member
10
09-05-2020, 11:00 AM
#5



(09-05-2020, 10:39 AM)X3non
(08-05-2020, 07:14 PM)Mitchie Boom This is the text, I dont see the "flags" here to place flashimg=1.
...

use the fstab attached below
Thank so much sir, I already repack and flash the twrp recovery however, It still cannot access data, system, nvram and all other partitions. [Image: photo.php?fbid=10158572144593254&set=pcb...=3&theater] [Image: photo.php?fbid=10158572144578254&set=pcb...=3&theater] these are the images.. I also followed some tutorials such as changing file system to different ext and so on. I hate this phone, all I wanted to update its firmware by using GSI.
Mitchie Boom
Mitchie Boom
Mitchie Boom
Enthusiastic Member
10
09-05-2020, 11:11 AM
#6
(09-05-2020, 10:39 AM)X3non
(08-05-2020, 07:14 PM)Mitchie Boom This is the text, I dont see the "flags" here to place flashimg=1.
...

use the fstab attached below
By the way I already subscribed to private support. I just dont know what to do next.
X3non
X3non
X3non
Recognized Contributor
22,062
09-05-2020, 08:41 PM
#7
(09-05-2020, 11:00 AM)Mitchie Boom Thank so much sir, I already repack and flash the twrp recovery however, It still cannot access data, system, nvram and all other partitions. [Image: photo.php?fbid=10158572144593254&set=pcb...=3&theater] [Image: photo.php?fbid=10158572144578254&set=pcb...=3&theater] these are the images.. I also followed some tutorials such as changing file system to different ext and so on. I hate this phone, all I wanted to update its firmware by using GSI.

i've just gone through this thread again, i noticed somethings are different from what you posted @ https://www.hovatek.com/forum/thread-218...#pid192584

first all, flashimg doesn't fix mounting issue or 0 mb internal storage if that's what you were trying to fix
what's your device model and android version?
for mount issue, you need to replace the correct mount point values in the fstab file i provide with the values you'll get from the fstab file within your stock recovery (unpack using AIK)
for 0 mb internal storage / data decryption issue. see https://www.hovatek.com/forum/thread-30160.html

If what you really want is to use GSI, then with an unlocked bootloader, you can flash GSI images using fastboot (twrp isn't required)
i replied your PM regarding private support
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram