Question TWRP 3.7.0_12 fails to decrypt storage on stock A11? - Redmi Note 10 Pro

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.

Related

TWRP 3.2.1 Failed decryption

I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Lancer43 said:
I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Click to expand...
Click to collapse
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
rkdok23 said:
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
Click to expand...
Click to collapse
Is there any other way that wouldnt require me to format my data?
Lancer43 said:
Is there any other way that wouldnt require me to format my data?
Click to expand...
Click to collapse
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
MattHdH said:
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
Click to expand...
Click to collapse
How can be data accessed through mtp when partition is not mounted because it is not decrypted ?

Miui 11 to pie with encrypted internal storage

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.

How to encrypt Nexus 6 7.1.1 Build N6F27M

I have an Nexus 6 Version 7.1.1. The complete Storage is crypted. So it is not possible to wipe the data and system by using TWRP. I did an factory reset but after that the storage also was crypted. How can I encrypt these Version of Nexus 6?
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Hi, thank you. But if I install twrp on this N6, I need for using twrp a password. If I try to format user Data, the formatting dont work. After start android I have the same crypted data storage. I thing, android install after new starting an crypted storage! I try now to install lineage os after formatting data.
runekock said:
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Click to expand...
Click to collapse
Hi runcock,
thank you for your help. I installed twrp, formatted all data removed encryption and installed lineageos 17.1 and gaps by using extern otg-storage. All funktions on the nexus 6 works normally. Update to the last version of shamu also worked. Thank you till the next question!

Question UNABLE TO BACK UP ANY ANDROID 12 MIUI OR CUSTOM ROM (internal storage 0mb) in TWRP

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.

Question TWRP Help.

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!!

Categories

Resources