TWRP can't mount data - Moto G4 Plus Questions & Answers

Wanted to make a backup but TWRP says 0MB next to data and when I tried to delete the TWRP (the one where it makes my backups) to make some space it says it couldn't mount data.

Boot to system, reboot to TWRP and try again.

I've tried that, doesn't work.
xAnkris said:
Boot to system, reboot to TWRP and try again.
Click to expand...
Click to collapse
Sent from my Moto G (4) using XDA-Developers mobile app

Have you tried another SD card or did you converted the SD to internal storage?

I thought the data partition was more than just the SD card? I'll try though.
Sent from my Moto G (4) using XDA-Developers mobile app

@Florensie if i am right or not but you haven't mentioned if you tried to Mount /DATA from
Twrp > Mount > tick √ DATA

__Madddy said:
@Florensie if i am right or not but you haven't mentioned if you tried to Mount /DATA from
Twrp > Mount > tick √ DATA
Click to expand...
Click to collapse
If I do that it doesn't get ticked.
Sent from my Moto G (4) using XDA-Developers mobile app
@strongst

Should I try to reflash TWRP with ADB? @_Maddy @strongst @xAnkris
Sent from my Moto G (4) using XDA-Developers mobile app

Florensie said:
Should I try to reflash TWRP with ADB? @_Maddy @[email protected]
Click to expand...
Click to collapse
You can give it a try

Florensie said:
Should I try to reflash TWRP with ADB? @_Maddy @strongst @xAnkris
Sent from my Moto G (4) using XDA-Developers mobile app
Click to expand...
Click to collapse
Which TWRP version are you using currently, Official or Sherp's Modified..?
Download different than you have, and try...

__Madddy said:
Which TWRP version are you using currently, Official or Sherp's Modified..?
Download different than you have, and try...
Click to expand...
Click to collapse
From the website so official. I'll try.
Sent from my Moto G (4) using XDA-Developers mobile app

Florensie said:
From the website so official. I'll try.
Click to expand...
Click to collapse
Use the modified for g4 plus by shrep's http://forum.xda-developers.com/mot...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337

@__Madddy @strongst that didn't work, also everytime I restart the recovery it has reset my settings.
The log says:
Could not mount /data and unable to find cryptofooter.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
(...)
Unable to mount storage
(...)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
(...)
I can't actually save the log on my sd card because of this.
/data and /sdcard folders are empty in twrp file manager.
EDIT: here is exactly what I did to my device:
- Flashed soaktest when OTA was first captured without unlocking bootloader
- Unlocked bootloader
- Flashed official TWRP
- Made a full backup with TWRP
- Accidentally did systemless root which I did not know only worked on MM
- Restored backup
- Wanted to do another backup before going to CM 14.1 and saw that it showed 0MB next to data
- Flashed schreps' TWRP
I'm still on soaktest ATM. The phone is fully functioning as far as I know except for a few soaktest bugs.

Florensie said:
@[email protected] that didn't work, also everytime I restart the recovery it has reset my settings.
The log says:
Could not mount /data and unable to find cryptofooter.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
(...)
Unable to mount storage
(...)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
(...)
I can't actually save the log on my sd card because of this.
/data and /sdcard folders are empty in twrp file manager.
Click to expand...
Click to collapse
Did you tried to repair your data partition within twrp, it's under advanced wipe-select the partition and then repair or change for system

strongst said:
Did you tried to repair your data partition within twrp, it's under advanced wipe-select the partition and then repair or change for system
Click to expand...
Click to collapse
Will this wipe my data and also check my edit on my previous comment. And does it matter if I do change file system or repair file system?

Florensie said:
Will this wipe my data and also check my edit on my previous comment.
Click to expand...
Click to collapse
You messed up your partitions imho. Try to change your data partition to fat first then back to ext4 with the mentioned method

I believe your only option would be to format(not wipe) data. Just so you know this erases internal storage as well. Or maybe a modified TWRP will work.

strongst said:
You messed up your partitions imho. Try to change your data partition to fat first then back to ext4 with the mentioned method
Click to expand...
Click to collapse
Thanks, that fixed it. Sorry for being such a noob.

Florensie said:
Thanks, that fixed it. Sorry for being such a noob.
Click to expand...
Click to collapse
No problem, next time be aware of what you want to flash because mixing things can cause unwanted problems as you know for now

I have the same problem on my S8 (G950F) after rooting it, I have installed the twrp.
If I have the system partition to fat then I back to ext4, my data will be erased?
I want to fix it but I don't want loss all my data. :/

Related

need help with TWRP (internal memory 0)

im using a s7 edge exynos , rooted it with cf auto root using odin and herolte2 , then added TWRP through odin (AP) , when i start TWRP it shows internal memory as 0 , (nothing is formatted , my phone has all its data im happy for that ) but i cant install xposed as it shows internal memory 0 so i cant find any of the zip files.
any help appreciated
have posted it elsewhere too dint know if its the right thread , sorry mods
Did you enable "OEM unlock" in Developer Options before rooting as advertised?
Flash twrp and wipe all without SD. Reboot recovery.
Enviado desde mi SM-G935F mediante Tapatalk
First out of all. You posted it in the exactly same place.
Second. Here is my answer from You other thread:
Does it say something like crypto footer or data invalid size or something like that? If it does then You have to format data, not wipe. Or else it won't work.
Preciousillusion said:
Did you enable "OEM unlock" in Developer Options before rooting as advertised?
Click to expand...
Click to collapse
yes
miangelgabriel said:
Flash twrp and wipe all without SD. Reboot recovery.
Enviado desde mi SM-G935F mediante Tapatalk
Click to expand...
Click to collapse
i dont have a sd card using dual sim , if i wipe will i loose all my data?
ProtoDeVNan0 said:
First out of all. You posted it in the exactly same place.
Second. Here is my answer from You other thread:
Does it say something like crypto footer or data invalid size or something like that? If it does then You have to format data, not wipe. Or else it won't work.
Click to expand...
Click to collapse
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
k****ij84 said:
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
Click to expand...
Click to collapse
Format will work. You will lose all your stuff so backup whats important. The difference is what you checkmark in wipe. You gotto lose all data for TWRP to work.
k****ij84 said:
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
Click to expand...
Click to collapse
Wiping data only wipes data partition.
Formating data removes every single file in internal storage and all files in data partition.
You have to format data in order to get twrp to work.
ProtoDeVNan0 said:
Wiping data only wipes data partition.
Formating data removes every single file in internal storage and all files in data partition.
You have to format data in order to get twrp to work.
Click to expand...
Click to collapse
So I can take a smart switch backup and the format and then restore right
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
k****ij84 said:
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
Click to expand...
Click to collapse
google xposed marshmallow touchwiz wanam......
k****ij84 said:
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
Click to expand...
Click to collapse
XDA Labs is only for downloading modules. Check this out for xposed http://forum.xda-developers.com/ver...-to-notes-root-install-xposed-unroot-t3411039
kshitij84 said:
im using a s7 edge exynos , rooted it with cf auto root using odin and herolte2 , then added TWRP through odin (AP) , when i start TWRP it shows internal memory as 0 , (nothing is formatted , my phone has all its data im happy for that ) but i cant install xposed as it shows internal memory 0 so i cant find any of the zip files.
any help appreciated
have posted it elsewhere too dint know if its the right thread , sorry mods
Click to expand...
Click to collapse
https://forum.xda-developers.com/ga...nable-to-mount-storage-twrp-internal-t3857679

[G950F] No /data partition in TWRP after flashing oreo update

Hi,
ive just followed the flashable oreo TWRP thread in here to test out Oreo.
My device is S8 G950F
link -> https://forum.xda-developers.com/ga...1-10-flashable-oreo-twrp-dump-beta-2-t3703083
After that TWRP didnt recognized my data partition anymore...:crying::crying:
So i installed latest TWRP in Odin again (had 3.1.1 before 3.2.0.0 after) - didnt helped.
Ive done a full restore with odin after i downloaded the firmware via samfirm, this is the exact firmware number ive used:
G950FOXM1AQJ5_CL12401979_QB15459675_REV00_user_low_ship
Still no success
I also tried flashing supersu (2.82) and dm-verifity (v.6.0).
Any ideas?
Is it just the partition table in twrp that needs to be updated or some stupid thing i forgot?
Regards
create one !!
popmpopm said:
create one !!
Click to expand...
Click to collapse
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
popmpopm said:
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
Click to expand...
Click to collapse
Yup already figured it out 5 mins after I created this. Shame over me
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
eliazu said:
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
Click to expand...
Click to collapse
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Thargorsson said:
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Click to expand...
Click to collapse
How do i format if twrp can't access /data?
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
It's not format.
Go to wipe, advanced wipe, repair or change partitions ,select data, select change partition type, select f2fs slide to continue.
Then do the same with data and change back to ext4.
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
its not magic you have all option in twrp wipe
I have done this and it works but as soon as i reboot and go back to twrp it doesnt recongize /data am i doing something wrong
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Does the resize option or file system option wipe internal storage?

SD Card empty in TWRP

Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
ImEraaz said:
Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
Click to expand...
Click to collapse
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
ImEraaz said:
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
Click to expand...
Click to collapse
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
strongst said:
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
Click to expand...
Click to collapse
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
ImEraaz said:
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
Click to expand...
Click to collapse
Yeah, from the that site it won't work too...
strongst said:
Yeah, from the that site it won't work too...
Click to expand...
Click to collapse
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
ImEraaz said:
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
Click to expand...
Click to collapse
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
strongst said:
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
Click to expand...
Click to collapse
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
ImEraaz said:
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
Click to expand...
Click to collapse
You need to format the storage within twrp
strongst said:
You need to format the storage within twrp
Click to expand...
Click to collapse
Already done, nothing change
ImEraaz said:
Already done, nothing change
Click to expand...
Click to collapse
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
strongst said:
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
Click to expand...
Click to collapse
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
ImEraaz said:
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
Click to expand...
Click to collapse
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
strongst said:
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
Click to expand...
Click to collapse
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
ImEraaz said:
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
Click to expand...
Click to collapse
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
strongst said:
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
Click to expand...
Click to collapse
Yeap i didn't know too, i followed all the steps.
I started from oos 5.0.4 without any pins or password, i wiped -> factory reset and installed lineageos & GApps ...
At least i can see my sdcard folder right now ^^
Guys, I do the first steps with TWRP, but I see my SD Card empty when I go to install. I don't know what to do.
I have Samsung Galaxy TAB E (SM-T561) and twrp_2.8.7.0_sm-t561
I Don't know what to do... I am stuck.
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Where is this option? I can't find it...
hermeswol said:
Where is this option? I can't find it...
Click to expand...
Click to collapse
Ok, I found the solution.
Format and change file system of the SD card inside the twrp, after that mount it in PC, restore the files, and it will be ok.

Unable to Mount System

i'm on latest open beta 7(8.1) on my oneplus 5. i just unlocked the bootloader and flashed the bluespark twrp then i tried to change the system partition file system as f2fs. it showing done but on next line it showing an error as failed to mount '/system'(no such device). i tried official twrp also and facing the same error. it changed to f2fs but after booting it was again changed to ext4(checked with diskinfo)
then i can't able to mount the system also
Please help to solve this error and to change the file system as f2fs.
i can't able to boot into system on ob7 with twrp. but can be booted with stock recovery. please help me thanks in advance.
Ragavendran 007 said:
i'm on latest open beta 7(8.1) on my oneplus 5. i just unlocked the bootloader and flashed the bluespark twrp then i tried to change the system partition file system as f2fs. it showing done but on next line it showing an error as failed to mount '/system'(no such device). i tried official twrp also and facing the same error. it changed to f2fs but after booting it was again changed to ext4(checked with diskinfo)
then i can't able to mount the system also
Please help to solve this error and to change the file system as f2fs.
i can't able to boot into system on ob7 with twrp. but can be booted with stock recovery. please help me thanks in advance.
Click to expand...
Click to collapse
You have to format data and then change system partition to ext4 and now you can flash the rom again.
Aarju said:
You have to format data and then change system partition to ext4 and now you can flash the rom again.
Click to expand...
Click to collapse
I formatted the data . Then only I tried to change the file system as f2fs. .. I want to change the filesystem as f2fs
Ragavendran 007 said:
I formatted the data . Then only I tried to change the file system as f2fs. .. I want to change the filesystem as f2fs
Click to expand...
Click to collapse
Ext4 is better than f2fs and also you have to first format again and then clean flash is required.
Aarju said:
Ext4 is better than f2fs and also you have to first format again and then clean flash is required.
Click to expand...
Click to collapse
F2fs has better writing speed. Then I may help to install the apps faster.. right?
https://medium.com/thecyberfibre/f2fs-versus-ext4-our-take-on-the-ongoing-battle-c0324f46d040
Ragavendran 007 said:
F2fs has better writing speed. Then I may help to install the apps faster.. right?
Click to expand...
Click to collapse
While faster, you may find yourself with compatibility issues in regard to your preferred ROM, etc.
Sticking with ext4 (for now) is simply the better option at the moment because it ensures that your reliability and compatibility. Also, there are apparently some issues with f2fs when it comes to device encryption.
Therefore: just wait. Maybe in the future f2fs will be the better option. As for now: I don't think that with an OP5 you need to worry about the installation time of apps taking too long.

Lenovo l38011 root problem

hello,
I tried to root my Lenovo l38011
i do it with a tutorial
in the install twrp 3.2.3 I have accessed
in the root to install the super su and the other stuff its stock because of the internal memory show 0mb i try the all of
ideas to wipe data
format data
i can't install nothing
example
if i wipe data
and wipe the Dalvik, data, system
it showing failed to mount /data
/system
/cache
invalid argument
if i want to format data its show me
unable to open '' to wipe crypto key
unable to wipe data
unable to format to remove encryption
I try to search on the web but doesn't find any solution
if in the adb fastboot
in the cmd windows, I write fastboot OEM unlock
its restart the l38011 and wipe the all data
the I enter to the recovery mode and in the adb windows i am write fastboot flash unlock
what can i do now?
Hope it xda will give a solution
You should try magisk for root not supersu maybe this will help
Ansar.shaheen1 said:
You should try magisk for root not supersu maybe this will help
Click to expand...
Click to collapse
I can't install anything because i don't have internal memory its show 0mb
i try to install it already
yaniv134 said:
I can't install anything because i don't have internal memory its show 0mb
i try to install it already
Click to expand...
Click to collapse
Do you unlock the bootloader?
I have the same problem, did you solved it?
Sloved!
If you don't slove this problem to this time i can help you. You need to install china firmware v255, or restore backup from twrp if you have one or you can download it on 4pda, to restore /data dir you need to only one thing: go to "wipe" menu in twrp, mark /data partition and click on "reformat/restore partition" then chose one of types ext2/ext4 or other, then swipe to confirm and next do this thing one more time but restore original type of dir (if you have ext4 do ext2 then ext4) and you wil restore /data partition

Categories

Resources