Hi!! I have unlocked my bootloader, flashed twrp successfully. But when i boot into twrp it asks a password and then a message pops up and shows
"Unable to mount storage".
"Failed to decrypt data".
After that the internal memory and every data partiton shows 0mb. I have to factory reset my phone so thattwrp can read the memory in my phone.
After that i flash decrypt.zip and magisk and then boot into my system. But when i boot into twrp again the same message pops up and it cannot read my memory.
Can anyone help me i have been trying to fix my twrp for over a week now:crying:.
what version of TWRP are you using?
If you are from locked bootloader and flashing TWRP via fastboot for flashing custom roms, TWRP will recommend you to wipe internal storage.
I used Advanced Wipe and select all except USB-OTG and Micro SD Card to remove the encryption set by the stock rom to the internal storage and to clean the phone for the preparation of flashing custom rom
After that, that will fix the "Unable to mount storage" error and internal storage is now available. You don't need to flash decrypt.zip when you are flashing a custom rom unless you are flashing a modified Stock rom or the dev recommends it for their custom rom :good:
jude thomas said:
Hi!! I have unlocked my bootloader, flashed twrp successfully. But when i boot into twrp it asks a password and then a message pops up and shows
"Unable to mount storage".
"Failed to decrypt data".
After that the internal memory and every data partiton shows 0mb. I have to factory reset my phone so thattwrp can read the memory in my phone.
After that i flash decrypt.zip and magisk and then boot into my system. But when i boot into twrp again the same message pops up and it cannot read my memory.
Can anyone help me i have been trying to fix my twrp for over a week now:crying:.
Click to expand...
Click to collapse
See my new Q&A thread.
Sent from my ZenFone Max Pro M1 using XDA Labs
Related
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Unroot your phone to factory image then root again.
OR flash clockmod revoir to access storage (haven't tried b4 thou)
Reboot into the boot loader (Hold down power and volume down) and and then fast boot the factory image.
Google "how to restore nexus 4 to stock, fast boot"
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
it's easy.
pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Just ADB Push your files connecting your phone to the PC while TWRP is on.
i also want to wipe internal storage using twrp in my nexus 5. i have my rom in flash drive. can i flash the rom that I have in my flash drive if I mount it after I wiped internal storage?
Current TWRPs support MTP, all you need to do is wipe the storage and plug your phone into the PC. Just make sure that MTP is checked in the "mount" menu of TWRP. You can then proceed to put the ROM's zip onto the internal storage and flash like you normally would.
Hello everyone,
I am running 3.0.2-2 on the SM-G935FD and for whatever reason TWRP won't wipe the encryption, thus I cant read the internal SD card. I am getting the " /data mount" error.
I have done the advanced wipe and cleared everything except the external SD, am I using the wrong TWRP? any ideas?
You must wipe data! Wipe it all internal storage!
Sent from my Blackberry Bold
I had same issue on G935F. Try advanced and format data in twrp. The option where you have to type yes. If not then flash stock recovery, factory reset and boot into download and flash twrp before booting into system to flash dm-verity zip.
dude9946 said:
Hello everyone,
I am running 3.0.2-2 on the SM-G935FD and for whatever reason TWRP won't wipe the encryption, thus I cant read the internal SD card. I am getting the " /data mount" error.
I have done the advanced wipe and cleared everything except the external SD, am I using the wrong TWRP? any ideas?
Click to expand...
Click to collapse
...have you tried cursing/threatening/random acts of violence on inanimate objects? no? well BEFORE you do, advance wipe, wipe system/data/etc, reboot, or there are ways to reformat as ExFat with a PC too.
Guys I am in need of help. I did not fully understand step 10 in TWRP installation guide and just skipped originally. I did notice I could not wipe anything but thought I would be fine so I just dirty flashed custom ROM assuming wipe would work afterwards and I can clean install after.
I am obviously stuck now with 0MB internal storage shown along with no access to phone since it says upon boot that verification has failed and that I need to reset my phone.
Now, I do have important photos/datas which are invaluable and thus do not want to lose... I did hear other guys restored their nandroid backup and were fine.
My question is, is there any way for me to access and back up my internal data somehow? I did hear something like flashing a stock firmware via Odin without the cache inside. Could someone confirm that this would work please? Would really appreciate a response. Thanks guys.
I did try this:
If you only want a bootable system partition or writable data in TWRP:
Download dm-verity and force encryption disabler.
Without exiting TWRP, transfer no-verity-opt-encrypt.zip to your device over MTP* and flash it using [Install] in TWRP.
But TWRP would not allow me to flash because it said it could not mount storage. I presume this is because I exited TWRP...
Please, any guidance would be much appreciated.
Do a wipe, system, data/ dalvic , and cache . Do NOT check internal storage and SD card...reflash your rom
Player04 said:
Do a wipe, system, data/ dalvic , and cache . Do NOT check internal storage and SD card...reflash your rom
Click to expand...
Click to collapse
Thanks for the reply but I cannot do that since the phone does not let me wipe from TWRP due to the encryption issues I believe.
jay_993 said:
Thanks for the reply but I cannot do that since the phone does not let me wipe from TWRP due to the encryption issues I believe.
Click to expand...
Click to collapse
Could this help:
"Only if you want internal storage or data to work in TWRP:
Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery]."
or
"If you only want a bootable system partition or writable data in TWRP:
Download the latest dm-verity and force encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP."
Source: http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
FinKing said:
Could this help:
"Only if you want internal storage or data to work in TWRP:
Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery]."
or
"If you only want a bootable system partition or writable data in TWRP:
Download the latest dm-verity and force encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP."
Source: http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
Click to expand...
Click to collapse
Thanks man. I am aware of this but have not done so which is my problem haha. Does anyone know of this set PIN before flashing stock rom on ODIN please? I obviously cannot since I cannot boot to system but I do not want to make assumptions like before, go ahead and cause myself more stress...
Hold up, have you flashed SuperSU? That should be the only thing stopping you from being able to boot up. After flashing TWRP and a custom rom you need to install SuperSU to be able to boot.
Either try to flash SuperSU using TWRP built in ADB or buy an external sd card and flash from there. You don't need to disable encryption and in fact, that zip you tried to use actually wipes your internal storage anyway so don't try it again.
I was on 10T official. I decided to unlock bootloader, I followed the guide, I my storage was unencrypted...
I have unlocked bootloader and then installed TWRP 3.1.1.
After a boot, I have installed a Stock modified ROM (Fulmics ROM 2.0).
After reboot, the phone is stuck on LG logo, and after minutes it reboots and stucks on LG logo and the reboot...... etc etc
Entering TWRP again, it says my Data is encrypted and asks me for the password.
I have formatted Data, and reinstalled Fulmics ROM, but, same problem. Stuck on LG logo. Now entering TWRP there is no partition encrypted... but...
What should I do now?
Reinstall stock using LGUP
galerio said:
I was on 10T official. I decided to unlock bootloader, I followed the guide, I my storage was unencrypted...
I have unlocked bootloader and then installed TWRP 3.1.1.
After a boot, I have installed a Stock modified ROM (Fulmics ROM 2.0).
After reboot, the phone is stuck on LG logo, and after minutes it reboots and stucks on LG logo and the reboot...... etc etc
Entering TWRP again, it says my Data is encrypted and asks me for the password.
I have formatted Data, and reinstalled Fulmics ROM, but, same problem. Stuck on LG logo. Now entering TWRP there is no partition encrypted... but...
What should I do now?
Click to expand...
Click to collapse
Restore the official firmware with LGup, install again the TWRP, make a format data (format, not wipe), install whatever you want to get twrp stuck (SuperSU, magisk ECC...), Reboot system, then reboot in twrp, manually or by a rebooter app, wipe system, data, cache and dalvik, install fulmics with your favourite aroma settings, after that reboot recovery, flash the 2.1 ota, and reboot system.
Now wait some minutes, it'll reboot again once, it's normal, when happens just wait again for some minutes, and it should boot normally.
I've installed this rom a bunch of times (for a bunch of reasons) and never had Bootloop problems doing this.
Good luck:good:
Thanks, stock firmware like this one? https://forum.xda-developers.com/lg-g6/development/rom-h870-10f-rom-imgs-kdz-t3615183
And in LGUP should I do anything particular? Or just reinstall kdz?
Then, should I format only Data partition or also system or others?
You can decrypt data through fastboot
galerio said:
Thanks, stock firmware like this one? https://forum.xda-developers.com/lg-g6/development/rom-h870-10f-rom-imgs-kdz-t3615183
And in LGUP should I do anything particular? Or just reinstall kdz?
Then, should I format only Data partition or also system or others?
Click to expand...
Click to collapse
Here it is the kdz: https://lg-firmwares.com/download-file/?fileId=10110
Just reinstall the kdz with upgrade option.
You have only to format data (not wipe, remember).
Thanks, worked!
Mmm... No, I was able to reinstall stock rom, but then, when I try to format Data I get error like "Failed to unmount /system (Device or resource busy)" and then "Failed to mount /data", "Unable to recreate /data/media folder...
And also when I install Magisk I have those errors... (Failed to mount system and data).
Booting up, stock rom is ok, and also Magisk, so phone is rooted.
But when I reboot to recovery and I install fulmics rom, it seems to install correctly, it shows a final error of mount system and when I boot I still have stock rom, without Magisk or fulmics settings... so It is not installed fulmics rom! Tomorrow I will try another time. By now I keep stock rom rooted. Anyway I'm happy to see how easy is to reinstall stock rom.
galerio said:
Mmm... No, I was able to reinstall stock rom, but then, when I try to format Data I get error like "Failed to unmount /system (Device or resource busy)" and then "Failed to mount /data", "Unable to recreate /data/media folder...
And also when I install Magisk I have those errors... (Failed to mount system and data).
Booting up, stock rom is ok, and also Magisk, so phone is rooted.
But when I reboot to recovery and I install fulmics rom, it seems to install correctly, it shows a final error of mount system and when I boot I still have stock rom, without Magisk or fulmics settings... so It is not installed fulmics rom! Tomorrow I will try another time. By now I keep stock rom rooted. Anyway I'm happy to see how easy is to reinstall stock rom.
Click to expand...
Click to collapse
Try to download twrp from the official twrp post. There are some problems with twrp /system mount. Then format data and install magisk the first time.
mprovi_15 said:
Try to download twrp from the official twrp post. There are some problems with twrp /system mount. Then format data and install magisk the first time.
Click to expand...
Click to collapse
I downloaded the official one from twrp.me version 3.1.1.0 2017-06-30. Is there any new beta/modded twrp to install?
galerio said:
I downloaded the official one from twrp.me version 3.1.1.0 2017-06-30. Is there any new beta/modded twrp to install?
Click to expand...
Click to collapse
In my case the official twrp from twrp.me had the problem of unable to mount system. I read all the twrp Guide from LG G6 in rom, recovery root section and I read that had some problems and they posted an usefull twrp. Try downloading twrp from these post.
I've installed experimental TWRP over official TWRP posted here https://forum.xda-developers.com/showpost.php?p=73071238&postcount=228 and works, no more mount error.
Now I have installed Fulmics rom. I'm happy!
Thanks to all
Hey guys, this all started when I tried to lock my bootloader to do the oreo update... Long story short, I'm left with an empty system partition and when I boot into TWRP (https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723), all I see is a bunch of gibberish file names. I've tried wiping data and rebooting into TWRP (I heard that wiping the data partition will decrypt your storage), but that doesn't work. I've also tried to adb sideload oxygenOS 4.5.14 using both TWRP and the stock recovery-- On TWRP I get the error "cannot read [filename]", and on the stock recovery, my PC doesn't recognize my phone. Is there any solution to this?
Flash with OTG?
PS: Formatting removes encryption.
I also got the same problem as u, what i did is install the twrp 3.2.1 by codeworkx, then factory reset via the twrp menu, then sideload the oos ob3, and install the zip file. And it should work perfectly