twrp's giving me that unable to mount or 0mb internal storage.. - Samsung Galaxy S7 Questions and Answers

soo... i have a fully functional working samsung s7 rooted with the latest magisk and twrp recovery. after all the installation of apps and the root itself, i hopped into twrp recovery just to see if it was also working - turns out it's not reading any partition; leaving me with 0mb internal storage or unable to mount. i would also try rebooting but as soon as i enter "recovery" on twrp, it would automatically boot itself. i've tried researching for the problem but i don't think my research is good enough. i've looked out for multiple solutions, but i couldn't trust any. just wondering if any professionals on xda are able to fix this flaw. thanks!
tldr? working rooted s7, twrp recovery 0mb, automatically rebooting itself, couldn't find solution.
update: it's all gucci, i've managed to figure it out.

Have you tried the patched twrp version? There is a link in google camera port thread. I havent tried but that could work.

hype. said:
soo... i have a fully functional working samsung s7 rooted with the latest magisk and twrp recovery. after all the installation of apps and the root itself, i hopped into twrp recovery just to see if it was also working - turns out it's not reading any partition; leaving me with 0mb internal storage or unable to mount. i would also try rebooting but as soon as i enter "recovery" on twrp, it would automatically boot itself. i've tried researching for the problem but i don't think my research is good enough. i've looked out for multiple solutions, but i couldn't trust any. just wondering if any professionals on xda are able to fix this flaw. thanks!
tldr? working rooted s7, twrp recovery 0mb, automatically rebooting itself, couldn't find solution.
Click to expand...
Click to collapse
not a professional but coincidentally this happened to me today while rooting and installing twrp on my s7 sm-g930L 8.0, i installed twrp 1st and was just using a supersu.zip to root it, booted straight into twrp after flashing and had the same problem you have and couldnt install the zip as it wasnt showing up and also saying 0mb, i couldnt even send the zip to it from my computer either until i pressed format in the wipe menu next to advanced wipe button , it was in a bootloop so i hit format cause i was just gonna reinstall stock firmware but i noticed all the correct mb's appeared in system data etc and i could copy/paste n install the zip, flashed it rebooted and it all works, rooted and twrp on official fw 8.0, you might have to reinstall apps and stuff after but hopefully this helps, goodluck

hype. said:
soo... i have a fully functional working samsung s7 rooted with the latest magisk and twrp recovery. after all the installation of apps and the root itself, i hopped into twrp recovery just to see if it was also working - turns out it's not reading any partition; leaving me with 0mb internal storage or unable to mount. i would also try rebooting but as soon as i enter "recovery" on twrp, it would automatically boot itself. i've tried researching for the problem but i don't think my research is good enough. i've looked out for multiple solutions, but i couldn't trust any. just wondering if any professionals on xda are able to fix this flaw. thanks!
tldr? working rooted s7, twrp recovery 0mb, automatically rebooting itself, couldn't find solution.
Click to expand...
Click to collapse
INSTRUCTIONS BELOW WILL DESTROY ALL DATA ON PHONE GET BACKUPS IF YOU CAN'T IM NOT RESPONSIBLE
Get rid of encryption if you can then try
If you can't get rid of encryption or it didn't work then
Goto wipe and press format data
Type yes and press the tick at bottom left
Then once you see success or error messages go back to wipe
Swipe it to wipe internal memory
After success or error message shows you are most likely to be able to see and mount to internal storage.

ttuleyb said:
INSTRUCTIONS BELOW WILL DESTROY ALL DATA ON PHONE GET BACKUPS IF YOU CAN'T IM NOT RESPONSIBLE
Get rid of encryption if you can then try
If you can't get rid of encryption or it didn't work then
Goto wipe and press format data
Type yes and press the tick at bottom left
Then once you see success or error messages go back to wipe
Swipe it to wipe internal memory
After success or error message shows you are most likely to be able to see and mount to internal storage.
Click to expand...
Click to collapse
This is just temporary the next time you flash you will see 0mb again you will need to format again.

mkl.xda said:
This is just temporary the next time you flash you will see 0mb again you will need to format again.
Click to expand...
Click to collapse
Unless you flash decrypt zip before booting after flashing

ttuleyb said:
Unless you flash decrypt zip before booting after flashing
Click to expand...
Click to collapse
Still the same. Tried it many times.

mkl.xda said:
Still the same. Tried it many times.
Click to expand...
Click to collapse
Try using superman rom and use option called disable encryption that might work,
If you just wanna root then install magisk because it works with encryption

Related

]Q] unable to mount /data

So one fine day my TF101G runs out of juice and shuts down. I did the usual, plug in power cable, wait for a while before powering on.
However this time the TF101G is stuck on the loading screen.
I'm on No-Name CM10.1 4.2.2 by josteink with CrossBreeder.
I also have TWRP installed, so I booted up with TWRP and tried to see what can be done. I noticed that there was an error message saying unable to mount /data regardless of what i try to do.
I supposed that would be the root of my failure to boot into the OS itself?
If so, what can I do to recover back into 4.2.2 without losing data?
Many TIA!
ok it appears that I'm unable to mount internal storage also.
I can enter TWRP but I cant do anything because i cant mount internal storage and /data
adamtan said:
ok it appears that I'm unable to mount internal storage also.
I can enter TWRP but I cant do anything because i cant mount internal storage and /data
Click to expand...
Click to collapse
I know nothing about the G model but at that point I'd say you have to give up on whatever data was on there. Just start over, reflash a new rom. If it doesn't work, go back to stock then reflash.
Lethe6 said:
I know nothing about the G model but at that point I'd say you have to give up on whatever data was on there. Just start over, reflash a new rom. If it doesn't work, go back to stock then reflash.
Click to expand...
Click to collapse
Thanks Lethe, but I tried flashing CM10.1 but it failed due to unable to mount /data and also internal storage.
So I tried to flash stock firmware, but it failed also. Now I do not have TWRP/any recovery nor can I boot into CM10.1
I supposed the only way is through ADB.
But i'm not too sure how to go about doing it.
ok managed to get this working.
thankfully i still managed to boot into TWRP, and flash stock ICS firmware.
It didn't really went well because of unable to mount /data and internal storage.
But somewhere the flash in TWRP managed to take place and the tablet went to do some sorting out by itself and viola! it managed to boot into stock ICS.
run PERI and got everything up and running again. at the expense of losing all data but at least i dont have to get a new tablet
p/s: i look through the forums and it appears that the TF101 have a thing of building itself back up after a soft-brick
adamtan said:
ok managed to get this working.
thankfully i still managed to boot into TWRP, and flash stock ICS firmware.
It didn't really went well because of unable to mount /data and internal storage.
But somewhere the flash in TWRP managed to take place and the tablet went to do some sorting out by itself and viola! it managed to boot into stock ICS.
run PERI and got everything up and running again. at the expense of losing all data but at least i dont have to get a new tablet
Click to expand...
Click to collapse
Glad you worked it out!

Can't mount data? [PLEASE HELP]

Hello
Really bad morning.
Woke up to find my OPO (was running COS 12.1 with TWRP), which I had plugged in to charge overnight, stuck on an android screen which said please enter your password. I entered my Google account password and then the next screen says, decryption unsuccessful. "Your password is correct but your data is corrupted. You need to factory reset your device and once you reboot you will have an opportunity to retrieve data backed up with your Google account".
I tried to reboot, just to make sure, and the same set of screens reappeared.
I tried to boot into recovery. The 'teamwin' screen kept flashing to no avail.
Entered fastboot. Flashed recovery, TWRP-2.8.7.0-bacon.
Tried to factory reset but the prompt flashed an error as follows:
'E: Could not mount /data and unable to find crypto footer' and then a series of others, but " could not mount '/data' " was repeated over and over
I'm still stuck here. How to get out of this situation?
PS: When I try to look at the mount options in recovery, the internal storage is labelled as 0 MB. This is scary.
I'm more screwed than you are. Twrp 2870 does not properly support encryption. Great to know an official release is that broken, right? Flash an older twrp, I believe 2860 or 61 are what you want. Try to reflash your cm zip. You're going to have to resetup your device but your internal sd should be fine, it says 0 mb because it's not decrypted so it can't read it. Then you should be okay... Well, except I've never seen that screen you described in the first paragraph. But that usually related to apps, not your internal sd. Good luck. I've accidentally erased all my system and data so I can't adb flash and can't flash from internal sd. My last hope before reformating everything and losing my pictures is to install via USB OTG. Which you could also do.
Good luck
Sent from my Nexus 5 using Tapatalk
Hey, I just found out that there is a way to flash a system image via fastboot! This is why I buy unlocked developer minded phones! If only OP hadn't dropped the ball on the OP2 (I actually got an invite which I didn't even use).
Anyway, go here: https://forums.oneplus.net/threads/...lashing-recovery-roms-kernels-rooting.291274/
and scroll down to "The Bad" In ORANGE text: 2. Recovering from no OS installed and no access to TWRP, fastboot does work.
Since TWRP is basically useless for us, I followed the instructions. I flashed everything EXCEPT the userdata img. AND, instead of flashing the extracted recovery, I just reflashed TWRP 2861 which I have on the PC.
Unfortunately! All my pics are gone. Pretty sure removing encryption with TWRP (before reading it was broken) did it. Try installing a good ROM via USB OTG and let me know if that saves your internal sd. I'd love to know for the future.

I don't know what my buddy did...

Wow this thing sucks! I'm really appreciating my Samsung with Odin right now! So, I have years of experience rooting and flashing Samsung phones with minimal adb experience. My buddy from work asks me if I can try to fix his shield tab that he F'd up trying to flash a rom on. Come to find out he never unlocked the bootloader or flashed a recovery or rooted the dang thing, just tried to flash the rom over stock like a numbskull. We thought it was dead forever because the only thing that would mount or connect in adb was the side load through the stock recovery. So, I finally got it to connect to fastboot (don't ask me how, I don't know), unlocked the bootloader, and flashed twrp. Now it won't flash supersu in adb sideload, so I put it on an SD card (which now magically mounts and works now) and flashed the zip in recovery but it says at the very end of the process while trying to update the partitions that it can't mount the data and system partitions so I'm not sure if I'm actually getting root or not and if so if it's permanent even though it says "success" at the top after flashing. I have no way to tell. I think this is because they have been accidentally wiped. Do you think it is safe to try to flash a rom in recovery from external sd card? And if so, which one? I have no idea which version bootloader, kernel, or os is, or was, on this device, I'm not familiar with any of the roms for it, and I'm not sure what prerequisites there may be for some of them....
Thanks for the help!
rom fiend said:
it can't mount the data and system partitions so I'm not sure if I'm actually getting root or not and if so if it's permanent even though it says "success" at the top after flashing. I have no way to tell. I think this is because they have been accidentally wiped. Do you think it is safe to try to flash a rom in recovery from external sd card? And if so, which one?
Click to expand...
Click to collapse
I had the same Problem with the partitions you discribed, have tried wipe them, change the file format and change it back?
I flashed a lot of Roms from the external SD Card and it worked every time.
I think you should go with Bliss Rom. ( Just try Lollipop and Marshmallow)
OverBit said:
I had the same Problem with the partitions you discribed, have tried wipe them, change the file format and change it back?
I flashed a lot of Roms from the external SD Card and it worked every time.
I think you should go with Bliss Rom. ( Just try Lollipop and Marshmallow)
Click to expand...
Click to collapse
I can't wipe them because they won't mount. It's as if the partitions were erased completely. Not like the partitions were wiped, but like they don't exist at all anymore...
What do you mean by changing the file format? Format of what?
rom fiend said:
What do you mean by changing the file format? Format of what?
Click to expand...
Click to collapse
TWRP, wipe ,Advanced wipe
If that doesn't work just try installing a rom, boot it
If that doesn't work try this
Tried all recovery options and tried flashing bliss 6.2 with no luck. It says that it flashes successfully but also shows some errors about not being able to mount the system and data partitions. Then when I try to reboot it gets stuck at the nvidia logo (this is the closest that I've gotten to booting a rom). I can provide pictures if you want. I'm going to try the steps that you linked to as soon as the files download.

Recovery of J700T from "Device storage corrupt you must factory reset" error

Recovery of J700T from "Device storage corrupt you must factory reset" error
Time to talk to the XDA brain trust before I make matters worse. I had rooted my J700T and all was well, also using link2sd. Unfortunately, I made a fatal error by attempting to use FolderMount (rather than creating the links myself), ending up in the Samsung "/data corrupt you must factory reset" error. Also unfortunately, when I earlier flashed TWRP (and then flashed SuperSU via TWRP) I did not choose to wipe the phone at that point to give /data & /system access, so I can't access them through TWRP's adb access. The "reset phone" option on the "you must factory reset" page fails of course, since it tries to boot into recovery which is TWRP not stock. I tried to do a typical TWRP wipe (I can still boot into TWRP of course, and into the download screen), but the result is that when the phone is started normally it continuously loops with the Galaxy J7 splash screen on and off at about seven second intervals (only stopped by pulling the battery).
So the question is, what's the best way to proceed? I saw another page here with the four ODIN files to flash back to stock, but the dropbox account is suspended due to overuse. Ideally, something I could do through TWRP would be even better, and this time I'd like to do the full reset and turn off the crypto so that in the future TWRP has full access to the internal phone data, not just the SD card.
Any guidance would be much appreciated. Thanks!
Stock image here
http://www.sammobile.com/firmwares/download/73202/J700TUVU1APD2_J700TTMB1APD2_TMB/
The rest of this issue is covered in the recovery thread (I believe)
sent from this device on this app....
OriginalShinken1 said:
Stock image here
http://www.sammobile.com/firmwares/download/73202/J700TUVU1APD2_J700TTMB1APD2_TMB/
sent from this device on this app....
Click to expand...
Click to collapse
In the process of downloading it now. Thanks!
uta8111 said:
In the process of downloading it now. Thanks!
Click to expand...
Click to collapse
Look in the recovery thread and read again to make sure nothing is missed.
Also, when other members help out here do remember to hit that "thanks" on the post that helped you out.
sent from this device on this app....

Updated Working twrp and decrypt steps for hannah & nora

hey guys i finally got my twrp back up and running here it is and i fixed format issue it had also supports f2fs now which is what stock uses and added a couple extra parititons it mounts and backs up
use cmd to flash twrp:
fastboot flash recovery updated-hannah-twrp-2019.img
hannah twrp:
https://drive.google.com/file/d/1ahEDJRaW6ZbpF7EgokQtQ6TEJ8yBUa9d/view?usp=drivesdk
cmd for nora:
fastboot flash recovery nora-twrp.img
nora twrp:
https://drive.google.com/file/d/12IPnevc7si2sNpxChMtPo5JJgwY4DJXh/view?usp=drivesdk
Sry i went MIA had alot happen lately so anyways im back here u go
for decryption patch a backed up boot.img with magisk beta both preserve boxes unchecked then flash in twrp as boot.img and flash zip below thanks @whodat711 for zip
https://drive.google.com/file/d/1-C4-ktJmW_oeyP1f5SAPGy3CX90mDuts/view?usp=drivesdk
then format data not wipe but format data button then type yes and press back all the way to main menu then flash masgisk 18.0.zip then reboot and it will not encrypt and u will have to start over as if phone is brand new ie. setting up google but enjoy ur decrypted e5+......
1.boot twrp and backup boot.img
2.make patched boot.img with magisk all perserve boxes unchecked while making it with magisk manager
3.flash twrp
4.flash patched boot.img and decryption zip from third link in post
5.format button in wipe section
6.flash magisk
7.reboot
Stock ROM MetroPcs xT1927-4 Hannah_T running good
skullkid383 said:
First and foremost I want to thank everyone in the twrp building group on telegram and @TwrpBuilder for the amazing guide on how to build twrp and guidance they gave to build this twrp
https://github.com/TwrpBuilder/twrpbuilder_tree_generator/wiki
So here is the twrp I built
https://drive.google.com/file/d/1aNTE6iAQQ4Ty1Zr1oM9ADb7xX_slrTzt/view?usp=drivesdk
After u flash twrp u need to edit fstab to disable force encryption then wipe phone flash latest beta magisk and ur all set
Refer to this guide for
Force encryption fstab file and how to disable force encryption thanks for this @CodyF86
https://forum.xda-developers.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323
Click to expand...
Click to collapse
just installed your Hannah-twrp.img and it booted just fine everything works thanks
Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues. Thanks for your work.
Thank you so much for this!
jokono421 said:
Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues. Thanks for your work.
Click to expand...
Click to collapse
Yes sir
jokono421 said:
Can you correct me if I'm wrong. So once I finish this process. I can go in and out of recovery with out computer. Also Then I can put apps directly into priv system with correct read and write,plus it will stick on reboots. Just wondering to .If this means I can flash custom kernals and roms with no worries other than normal issues.
Click to expand...
Click to collapse
So you can actually boot from device now yes awesome ...
Keeps trying to force encryption but fails when flashing a gsi.
Is there a way around this? No verity for this device?
JimmyJurner said:
Keeps trying to force encryption but fails when flashing a gsi.
Is there a way around this? No verity for this device?
Click to expand...
Click to collapse
Are u on stock with root I got easy solution for u to follow if fstab guide above is to hard
Hey skullkid383, thankyou for your work on this!! Twrp flashed and works NP. But I cannot decrypt. Following steps, the step you mount before pushing in twrp adb does not work, no such folder. The push goes thru fine although the mount did not. Format data worked, I can see internal storage and move things to and from PC through tether. But when I reboot its sticks on moto screen. When I flash back to patched boot for magisk the is boots to an "decryption unsuccessful" msg and asks me to reset the phone endlessly. Any help pls?
Project89Odin said:
Hey skullkid383, thankyou for your work on this!! Twrp flashed and works NP. But I cannot decrypt. Following steps, the step you mount before pushing in twrp adb does not work, no such folder. The push goes thru fine although the mount did not. Format data worked, I can see internal storage and move things to and from PC through tether. But when I reboot its sticks on moto screen. When I flash back to patched boot for magisk the is boots to an "decryption unsuccessful" msg and asks me to reset the phone endlessly. Any help pls?
Click to expand...
Click to collapse
I'm looking into how to flash fstab in a zip cause I don't think fstab worked for some reason try patched boot.img here see if it changes anything wipe after flash https://drive.google.com/file/d/1s-nS6rLk1tnO1JVFO1emTJdGcO6mNhBk/view?usp=drivesdk
With this boot and wiping after fastboot and twrp installs it boots past moto logo but hangs with the decryption unsuccessful msg
Project89Odin said:
With this boot and wiping after fastboot and twrp installs it boots past moto logo but hangs with the decryption unsuccessful msg
Click to expand...
Click to collapse
Ok so ur fstab is not edited for some reason so do u have a old stock backup I will have u change fstab manually in stock then boot to the twrp and wipe
I do not, I'll have to fastboot flash everything back to revert to stock. Was rockin with no SD tonight.
Project89Odin said:
I do not, I'll have to fastboot flash everything back to revert to stock. Was rockin with no SD tonight.
Click to expand...
Click to collapse
Grrr always make backup rule number one lol ok I'm looking into getting a flashable zip made but in mean Time revert stock tell me when booted
Back up fully stock, not even twrp lol. Metropcs variant btw
Project89Odin said:
Back up fully stock, not even twrp lol. Metropcs variant btw
Click to expand...
Click to collapse
1st make a backup just in case:
Ok here we go flash twrp and magisk beta then patched boot.img boot system get a file explorer with root permissions edit fstab.qcom find it here: /vendor/etc.
just replace current one with one I'm uploading
in guide to make easier to find wipe then u should be good of course flash magisk beta after u wipe as well
Hmm still decryption unsuccessful. About to reflash to stock. Sorry for the slow response. I have the next several hours free to test. I don't have an SD card, so i rooted the old way, using your patched boot, then used es file explorer to replace fstab, rebooted to confirm, and fstabs permissions had changed from rw r r to rw rw so it stuck. once I format data and internal becomes visible I move magisk over, flash then reboot and get dencryption unsuccessful. Also even flashing the recovery before formatting resulted in it being lost every reboot, only after format data it stuck.
Project89Odin said:
Hmm still decryption unsuccessful. About to reflash to stock. Sorry for the slow response. I have the next several hours free to test. I don't have an SD card, so i rooted the old way, using your patched boot, then used es file explorer to replace fstab, rebooted to confirm, and fstabs permissions had changed from rw r r to rw rw so it stuck. once I format data and internal becomes visible I move magisk over, flash then reboot and get dencryption unsuccessful. Also even flashing the recovery before formatting resulted in it being lost every reboot, only after format data it stuck.
Click to expand...
Click to collapse
Ok I am going to build new one in awhile my PC screen broke idk when but until then the link to Hannah twrp is down till I fix it
Ah man, so instead of fastboot flashing everything back to stock, I figured I'd just flash stock recovery back, after the decryption unsuccessful route. Flashed stock recovery, when it booted and asked me to reset the phone instead of going to twrp this time it went to the stock recovery image of a reset...phone booted, got to looking around and holy crap I'm decrypted! flashed your twrp and now I'm rooted with twrp and decrypted!! So maybe boot twrp the first time when formatting data and decrypting so when you boot and the device asks you to reset because of decryption failure it can use stock recovery to complete the process, then flash twrp for the finish? Your incredibly helpful man, again thankyou for all of your efforts and work on this!!
Still wanna fix twrp found a issue in formatting data I wanna fix but it shall take some time to get it done link is down til then cause it's something that needs fixed first before I put it back up

Categories

Resources