My curiosity got me in to trouble again.
I wanted to try miui 11 so I flashed the while I backed up my pie rom with twrp. All was good until I restored my backup. Now my internal storage is encrypted without a way to decrypt it in twrp or miui 11. Is there a way to decrypt my storage or should I just take my loss?
Thomson2412 said:
My curiosity got me in to trouble again.
I wanted to try miui 11 so I flashed the while I backed up my pie rom with twrp. All was good until I restored my backup. Now my internal storage is encrypted without a way to decrypt it in twrp or miui 11. Is there a way to decrypt my storage or should I just take my loss?
Click to expand...
Click to collapse
As i understand data format, will remove the encryption. But before you must copy your backup to external storage, never tried it but in TWRP you have a file manager, if it can work with otg, you can do it.
Related
Hello guys,
I did a foolish update today without reading the forums first and updated to OOS 9.0.4 (Pie) from my previous stable OOS Oreo without removing encryption and backing up the Internal Storage data. I did take a backup of Boot, Data(excl storage) and System Image using TWRP 3.3.1 and copied it to my computer.
After the update, the OS refuses to decrypt the partition (Error: Decryption unsuccessful. The password you entered is correct, but unfortunately your data is corrupt. To resume, you need to factory reset the phone.) and TWRP fails to decrypt (Error: Decrypt took too long. Killing process, failed to decrypt data).
What else I tried:
1.) ADB restore the backup from the PC (as I can't transfer anything to the phones encrypted storage), but the TWRP backup is a bunch of files in a folder and ADB expects a single file in its command.
2.) Flash an older version of TWRP (3.2.3) and try decrypting (Error: Failed to decrypt data)
Is there any way I can restore the backed up files to get the phone back before the update and save my internal storage? (without a time stone or a quantum jump). I am thinking along the lines that I can somehow restore the backed up files into the respective partitions and make the decryption work, is it possible?
Worst case is there some way for me to backup the internal storage data with the encryption then go about downgrading the phone and restoring it and decrypting it back?
Any pointers would be helpful and appreciated. Thanks.
Gi__an said:
The password you entered is correct, but unfortunately your data is corrupt.
[...]
Is there any way I can restore the backed up files to get the phone back before the update and save my internal storage?
Click to expand...
Click to collapse
The only thing you might try is to flash OOS 9.0.4 firmware with 5.0.8 bootloader + keymaster.
If it still says the same, then sorry, but your data got corrupted and it's gone.
Hi, I want to install custom rom but I think because of encryption I lost my all internal storage :/
Before mi 9t pro, I used an old android phone. Because of that I didn't know too much about encrption.
When I open OrangeFox it asks my password. So I thought remove my password before any rom installation should be enough.
I remove my password. After dirty rom flash my phone didn't boot to system but did boot to recovery.
Guess what? All my file names are random
Before anyone say, I have a backup. But where Yesss it is in internal storage with encryption :angel:
I tried to wipe data, didn't work. I flash my rom mi flash with keeping data, didn't work.
Now my phone boot up, I can see my files with random names.
Why I didn't backup to computer? Because I was lazy.
My big question;
Can I recover my files (~70 gb), I know my old password.
It's a good thing your data wasn't important then, if it was you would have a backup stored on a PC or cloud. First rule of flashing, have a backup. You can't recover it's gone, format data In twrp to remove encryption and wipe your internal storage then flash your rom.
hoopsnake said:
It's a good thing your data wasn't important then, if it was you would have a backup stored on a PC or cloud. First rule of flashing, have a backup. You can't recover it's gone, format data In twrp to remove encryption and wipe your internal storage then flash your rom.
Click to expand...
Click to collapse
Yes, it isn't too much important but I'm a little sad. I just lost few whatsapp message.
I will delete everything now. After that, I will disable this encryption.
Thanks
P.S: Whoever read this don't be lazy like me
I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Use otg usb
rufio85 said:
I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
Click to expand...
Click to collapse
Case_ said:
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Click to expand...
Click to collapse
Cisuwek said:
Use otg usb
Click to expand...
Click to collapse
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Laptapper said:
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Click to expand...
Click to collapse
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Click to expand...
Click to collapse
.....Not checked to backup complete rom, but suppose it's possible with otg....?
But this is what he wants to do, or not?
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff.
Click to expand...
Click to collapse
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Thanks for the reply guys..this already solved..with the help of @Laptapper in other thread. Using orangefox, dfe,
How to flash a Android 12 ROM without decryption problem?
I've been struggling to flash Android 12 without my internal storage to be unaccessible by TWRP... I simply can't decrypt my data and the only way to fix it is to format data and revert back to a Android 11 ROM. Did anyone manage to flash Android...
forum.xda-developers.com
here's the thread.
Case_ said:
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Click to expand...
Click to collapse
Previously I had a Redmi note 7. On the encrypted partition, I could also install everything in the same way. I am not a specialist, my knowledge has ended here.
Okay, so thanks to the help of you guys I finally managed to root my phone. Now I want to install Arrow OS on it but before that want to take a nandroid backup. Unfortunately, it shows 0mb internal storage and some error like "Unable to mount /data". !!Not sure if this is the perfect error!! but it's close to this.
I've read how to fix this, by changing the type of filesystem to Ex2 then back to Ex4. But,
1. Is this the way to do it?
2. Will It delete all my data, and/or Custom ROM (ie, will I have to perform the android first time setup again). If yes, is there any other way?
And no, I haven't kept any lock on my device.
Some questions may be extremely basic but I'm completely new and would like to confirm things before regretting them later!
Thanks!
doughnut9 said:
Okay, so thanks to the help of you guys I finally managed to root my phone. Now I want to install Arrow OS on it but before that want to take a nandroid backup. Unfortunately, it shows 0mb internal storage and some error like "Unable to mount /data". !!Not sure if this is the perfect error!! but it's close to this.
I've read how to fix this, by changing the type of filesystem to Ex2 then back to Ex4. But,
1. Is this the way to do it?
2. Will It delete all my data, and/or Custom ROM (ie, will I have to perform the android first time setup again). If yes, is there any other way?
And no, I haven't kept any lock on my device.
Some questions may be extremely basic but I'm completely new and would like to confirm things before regretting them later!
Thanks!
Click to expand...
Click to collapse
Yes, it shows 0mb internal storage because is encrypted, twrp, orange fox cannot deal with android 12 to decrypt.
Changing the type of filesystem to Ex2 then back to Ex4 will delete your files.
So, the only way to do a nandroid backup is to decrypt first, but even so you'll loose all your files because you must format data
how to decrypt xiaomi.eu roms internal storage is now showing in custom recovery
I managed to decrypt Xiaomi.eu rom. my internal storage is now showing in twrp and OrangeFox. The main problem was that is was not able to run mcrypt.zip because Vendor partition was in Read only mode. I use xiaomi.eu Stable 12.0.15. (I have not...
forum.xda-developers.com
I tested this kind of decryption, works fine on MIUI and any other android 12 custom roms.
Hellera said:
Yes, it shows 0mb internal storage because is encrypted, twrp, orange fox cannot deal with android 12 to decrypt.
Changing the type of filesystem to Ex2 then back to Ex4 will delete your files.
So, the only way to do a nandroid backup is to decrypt first, but even so you'll loose all your files because you must format data
how to decrypt xiaomi.eu roms internal storage is now showing in custom recovery
I managed to decrypt Xiaomi.eu rom. my internal storage is now showing in twrp and OrangeFox. The main problem was that is was not able to run mcrypt.zip because Vendor partition was in Read only mode. I use xiaomi.eu Stable 12.0.15. (I have not...
forum.xda-developers.com
I tested this kind of decryption, works fine on MIUI and any other android 12 custom roms.
Click to expand...
Click to collapse
Lose all my "files", not my MIUI. Like I wont have to do the Android setup again right?
Thanks for the reply.
doughnut9 said:
Lose all my "files", not my MIUI. Like I wont have to do the Android setup again right?
Thanks for the reply.
Click to expand...
Click to collapse
Yes, but after format data you must setup MIUI again from scratch... not installing again.
Hellera said:
Sorry, but after format data you must setup MIUI again from scratch...
Click to expand...
Click to collapse
I guess Ill just clear it and directly install ArrowOS without setting MIUI up.
Will work?
doughnut9 said:
I guess Ill just clear it and directly install ArrowOS without setting MIUI up.
Will work?
Click to expand...
Click to collapse
Yes, it will work, but Arrow os is android 12 based, so you'll be not able to backup it because of encryption (0mb internal storage), so you must decrypt it for backup
Hellera said:
Yes, it will work, but Arrow os is android 12 based, so you'll be not able to backup it because of encryption (0mb internal storage), so you must decrypt it for backup
Click to expand...
Click to collapse
Decrypt what for backup? And how?
doughnut9 said:
Decrypt what for backup? And how?
Click to expand...
Click to collapse
I think you don't understand me... I gave you a link above... how to decript... if you don't need to backup don't do it!
Hellera said:
I think you don't understand me... I gave you a link above... how to decript... if you don't need to backup don't do it!
Click to expand...
Click to collapse
Ohhhh! Im extremely sorry for being ignorant! Actually I was outside so couldn't read that link. Thanks a lot!!
Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Borosin said:
Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Click to expand...
Click to collapse
Sounds like you need an OS reinstall preceded by data format, not wipe, to remove encryption. There is a Nebrassy 3.6 version that decrypts for A11.
Borosin said:
Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Click to expand...
Click to collapse
Which twrp Version?
TWRP 3.7.0_12
It's the latest available on twrp.me for the Note 10 Pro.
Borosin said:
TWRP 3.7.0_12
It's the latest available on twrp.me for the Note 10 Pro.
Click to expand...
Click to collapse
Try this orangefox
https://forum.xda-developers.com/t/...ry-with-decryption-for-android-12-13.4471637/
or the newer one
Laptapper said:
Try this orangefox
https://forum.xda-developers.com/t/...ry-with-decryption-for-android-12-13.4471637/
or the newer one
Click to expand...
Click to collapse
It works with Orange fox.
Well, now that i have done a "format data" it works with TWRP, as well.
I moved to a xiaomi.eu rom, and everthing works fine, so far.
Also note that TWRP seems to always get replaced by the stock recovery when on a stock rom from Xiaomi.