TWRP does not mount encrypted storage: Password failed - Xperia Z1 Compact Q&A, Help & Troubleshooting

Hi there,
I recently installed XZDualRecovery on my device and activated the encrytion of internal storage. Unfortunately, TWRP is unable to mount the encrypted internal storage. It always fails with the error message "Password failed, please try again". The password is correct though.
Has anyone experienced the same problem and solved it? I couldn't find any solution for this.
Thanks in advance!

Was going to ask the same question since I'm facing the same issue with TWRP v2.8.7.0. No solution?
//EDIT: Only solution is a factory reset. Made backups using Titanium Backup and I used SambaDroid for the storage data (much quicker than MTP). All good now; without encryption.

Related

[Q] F180K->E975 How mount manually sdcard

hi,
I installed on my F180k the firmware e97510D. Erverything was ok but the sdcard. In other post is discussed also the same problem, and it is proposed to wipe, factory reset and so on... the problem is "only" that the phone mount only 200MB memory and there is a pending scanning process for the sdcard. Does anyone know if is it possible to re-mount the sdcard, a sort of workaround or fix... Help is appreciate because I can't restore the baseband and can't finish the conversion process.
Ciao

could not mount /data and "unable to find crypto footer

Hello.
I attempted to flash the Open Beta 7 (OTA_011) zip with TWRP to my OnePlus 3 and it broke everything.
The flash went normally, like with previous updates, but this time, I couldn't flash SuperSU over it. So I rebooted, hoping it worked.
I was presented by a "Decryption failed" screen, with the only option to factory reset.
The problem is, that I don't have any backups of my data, because FolderSyncLite aparently doesn't work at all.
When I got back into TWRP, my /data partition wasn't mounted, with the error
Code:
could not mount /data and unable to find crypto footer
TWRD shows the Data partition as 0MB. I know the data couldn't have just disappeared.
My best guess is that the userdata partition got corrupted somehow, and because it was encrypted, the entire partition is now useless.
TWRP's fsck.f2fs fails with error 255 (glitched error -1?), probably because it's encrypted.
Is there anything I can do to recover my data? Could I copy the raw partition to my computer and process it there?
Could I manually rebuild the broken header/footer? I still know the pattern/PIN and I don't think they're not salted.
I know there's some brilliant people on here. Please help.
Use the mega unbrick guide and everything will be fine
Edit: i didn't read that you're want to recover your data ... Hmm probably you can't recover your data anymore because your partition is currupted.
Look, change the data partition to ext4. It should work because sometimes the partition gets formatted to a corrupted form of f2fs. If it doesn't work, just wipe userdata and try again. It sure should work. Don't be shocked. Happens.
Thanks for the replies.
I tried a few more things, but the partition was beyond help. Full-disk encryption isn't very fault-tolerant.
I'll be using two sync programs from now on, just in case.
franga2000 said:
Thanks for the replies.
I tried a few more things, but the partition was beyond help. Full-disk encryption isn't very fault-tolerant.
I'll be using two sync programs from now on, just in case.
Click to expand...
Click to collapse
I have the same problem. The unbrick guide didn't help. Any ideas anyone?. Please help

TWRP problems

I'm using TWRP v3.2.1-0 and rooted with Magisk 14.6.
I'm trying to backup system files and can't make it work. When I try to backup to internal storage, I get an error message that says: "Cannot create /data/media/0/TWRP' folder (Operation not permitted)." It doesn't matter what files I try to save or what I have mounted, I always get that error. It appears to be a file permission problem.
So, I tried using a thumb drive with the OTG adapter. When I do that, I'm unable to mount the drive in TWRP. I can mount it when booted into the system, but not in TWRP. In TWRP, selecting USB-OTG as the storage device does nothing.
Does anybody else have this problem or know how to fix it?

data encrypted and ROM not getting installed

Hi,
Short story short.
My twrp recovery is not able to install the lineage OS ROM. Initially no storage was getting mount and i tried few steps as per XDA's other threads.
Now still when i try to format my phone and re-installing the new OS the error comes that the Data is encrypted .
I tried some tips as per people's suggestion but still the problem persists.
Scenario: 1. no OS is there in my phone. 2. Cant access it via ADB as it doesn't read my phone.(i can access my internal storage now - previously couldn't)
3. OTG/SD card shows 0 MB even after trying all the methods( unable to mount storage error)
What shall i do as i need a working phone and no OS is present in it.
A help is strongly required. Thanks in Advance.
You need to format data from recovery, and then you an try again. Eventually have a look here https://forum.xda-developers.com/lenovo-p2/how-to/how-to-unbrick-phone-decrypt-flash-t3866270

Problems to root A5 2017

Helllo,
I tried to root my Samsung A5 2017 and also too change to LineageOS. I installed TWRP. In TWRP I selected my Lineage-Zip and OpenGApps-Zip. TWRP finished the installation succesfully. When I startet the phone, Lineage said, that it isn`t working. Now i flashed the StockROM with Odin and Android worked again. I flashed TWRP a second time and tried to wipe the Phone. This doesen´t works. Log says: "Unable to mount storage" "Failed to mount ´/data´(Invalide argument)". Then I tried to install Lineage without wiping, but the Log brought the same result.
Thank you for any help.
First of all, I think your thread belongs to the Q&A section.
To answer your question, or try at least, I'm guessing that the storage is encrypted by the Samsung stock ROM. This encryption sadly can't be removed in any other way than completely formatting the data partition.
You can do this in TWRP in the "Wipe" section with "Format data". This will also wipe your internal storage, so you should have all the important zips for installation on a microSD card or your PC, so you can install them after the wipe (I'm guessing you already did that, since you installed without having access to /data).
If you want to keep the data partition unencrypted in the future but still use the stock ROM, you can flash Magisk after removing the encryption.
Hope I could help.

Categories

Resources