Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Hovatek is hiring: Application is open to residents of Lagos, Nigeria only! Click Here To Apply
Telegram Channel: Join the discussions @ t.me/Hovatek


  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
 
Thread Rating:
  • 0 Vote(s) - 0 Average

Thread Modes

Failed to mount internal storage 0mb

Mitchie Boom
Enthusiastic Member
Posts: 10
Threads: 2
Joined: Mar 2020
Reputation: 0
#1

08-05-2020, 02:13 PM


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.)
Find
Reply
X3non
Hovatek Representative
Posts: 18,419
Threads: 550
Joined: Jul 2014
Reputation: 326
#2

08-05-2020, 06:33 PM
(08-05-2020, 02:13 PM)Mitchie Boom Wrote:  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
Find
Reply
Mitchie Boom
Enthusiastic Member
Posts: 10
Threads: 2
Joined: Mar 2020
Reputation: 0
#3

08-05-2020, 07:14 PM
(08-05-2020, 06:33 PM)X3non Wrote:  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.)
Find
Reply
X3non
Hovatek Representative
Posts: 18,419
Threads: 550
Joined: Jul 2014
Reputation: 326
#4

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

use the fstab attached below


Attached Files
.zip recovery.fstab.zip Size: 739 bytes  Downloads: 11
(This post was last modified: 09-05-2020, 10:40 AM by X3non.)
Find
Reply
Mitchie Boom
Enthusiastic Member
Posts: 10
Threads: 2
Joined: Mar 2020
Reputation: 0
#5

09-05-2020, 11:00 AM
(09-05-2020, 10:39 AM)X3non Wrote:  
(08-05-2020, 07:14 PM)Mitchie Boom Wrote:  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.
Find
Reply
Mitchie Boom
Enthusiastic Member
Posts: 10
Threads: 2
Joined: Mar 2020
Reputation: 0
#6

09-05-2020, 11:11 AM
(09-05-2020, 10:39 AM)X3non Wrote:  
(08-05-2020, 07:14 PM)Mitchie Boom Wrote:  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.
Find
Reply
X3non
Hovatek Representative
Posts: 18,419
Threads: 550
Joined: Jul 2014
Reputation: 326
#7

09-05-2020, 08:41 PM
(09-05-2020, 11:00 AM)Mitchie Boom Wrote:  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://forum.hovatek.com/thread-21839-p...#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://forum.hovatek.com/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
Find
Reply
« Next Oldest | Next Newest »

Share

Share Tweet Share Share Pin


Possibly Related Threads…
Thread / Author Replies Views Last Post
How to fix 0Mb System storage space on MTK device.
xerxes
4
209
Last Post by xerxes
26-12-2020, 09:27 AM
How to mount ext4 images (system, userdata & vendor) in windows
X3non
6
4,658
Last Post by X3non
05-10-2020, 09:41 AM
Content of Internal Storage Not Accessible
N21One
4
368
Last Post by hovatek
28-09-2020, 06:37 PM
Android 7.0 MT6737 Internal Storage Write Access Denied
Siolu
5
517
Last Post by Siolu
12-05-2020, 03:24 PM
[Help] Failid to mount in TWRP
BiggerGames
4
616
Last Post by hovatek
25-10-2019, 07:13 AM

  • View a Printable Version


Users browsing this thread: 1 Guest(s)
  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode