Failed to mount internal storage 0mb
Failed to mount internal storage 0mb
(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 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
/system ext4 /dev/block/platform/bootdevice/by-name/system flags=backup=1;storage;flashimg=1
(08-05-2020, 06:33 PM)X3non unpack the twrp recovery using android image kitchen @ https://forum.xda-developers.com/showthr...?t=2073775This is the text, I dont see the "flags" here to place flashimg=1.
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
# 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
(08-05-2020, 07:14 PM)Mitchie Boom This is the text, I dont see the "flags" here to place flashimg=1.
...
(09-05-2020, 10:39 AM)X3nonThank so much sir, I already repack and flash the twrp recovery however, It still cannot access data, system, nvram and all other partitions. 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.(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
(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. 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.