Question mounting problem using TWRP in android 12 - Redmi Note 10 Pro

i just recently flash trwp recovery in my redmi note 10 pro running with android 12 MIUI 13.0.4 sweet global. i am facing these problems:
- already flashed TWRP but after rebooting to system and reboot to recovery, TWRP gone and stock recovery will display.
- mounting problem on internal (0mb)
- mounting problem in sd card (unable to mount invalid argument)
- already tried partitioning
- formatting
i just want to flash a custom rom. nothing works.
hope someone who can help me. thanks and God bless!

arjayFORTY5 said:
i just recently flash trwp recovery in my redmi note 10 pro running with android 12 MIUI 13.0.4 sweet global. i am facing these problems:
- already flashed TWRP but after rebooting to system and reboot to recovery, TWRP gone and stock recovery will display.
- mounting problem on internal (0mb)
- mounting problem in sd card (unable to mount invalid argument)
- already tried partitioning
- formatting
i just want to flash a custom rom. nothing works.
hope someone who can help me. thanks and God bless!
Click to expand...
Click to collapse
Hello and good morning, @arjayFORTY5
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Oswald Boelcke said:
arjayFORTY5 said:
i just recently flash trwp recovery in my redmi note 10 pro running with android 12 MIUI 13.0.4 sweet global. i am facing these problems:
- already flashed TWRP but after rebooting to system and reboot to recovery, TWRP gone and stock recovery will display.
- mounting problem on internal (0mb)
- mounting problem in sd card (unable to mount invalid argument)
- already tried partitioning
- formatting
i just want to flash a custom rom. nothing works.
hope someone who can help me. thanks and God bless!
Click to expand...
Click to collapse
Look here and ask
Click to expand...
Click to collapse
Redmi Note 10 Pro
The Redmi Note 10 Pro is a 6.67" phone with a 1080x2400p resolution display. The Qualcomm SM7150 Snapdragon 732G chipset is paired with 6/8GB of RAM and 64/128GB of storage. The main camera is 108/8/5/2MP and the selfie camera is 16MP. The battery has a 5020mAh capacity.
forum.xda-developers.com

joke19 said:
Redmi Note 10 Pro
The Redmi Note 10 Pro is a 6.67" phone with a 1080x2400p resolution display. The Qualcomm SM7150 Snapdragon 732G chipset is paired with 6/8GB of RAM and 64/128GB of storage. The main camera is 108/8/5/2MP and the selfie camera is 16MP. The battery has a 5020mAh capacity.
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks very much for the hint, @joke19. Sometimes I lose oversight about all device fora we have. I'm really grateful that you support our team.
@arjayFORTY5, I've moved your thread to the suggested device forum.
Regards
Oswald Boelcke

arjayFORTY5 said:
i just recently flash trwp recovery in my redmi note 10 pro running with android 12 MIUI 13.0.4 sweet global. i am facing these problems:
- already flashed TWRP but after rebooting to system and reboot to recovery, TWRP gone and stock recovery will display.
- mounting problem on internal (0mb)
- mounting problem in sd card (unable to mount invalid argument)
- already tried partitioning
- formatting
i just want to flash a custom rom. nothing works.
hope someone who can help me. thanks and God bless!
Click to expand...
Click to collapse
fastboot flash recovery twrp.img
fastboot boot twrp.img
In TWRP - Wipe
Wipe Davlink
Data
Cahe
Wipe - Format data - yes
And you can install rom

It was caused by android 12 encryption.
Try to install twrp 3.6.2 by nebrasky (unofficial) and the encryption problem will be solved after you unlock your phone

Related

Question [CLOSED] Best custom ROM for Redmi note 10 pro

I just bought the Redmi note 10 pro a few months ago indian variant now after the update I am facing lags and bugs while using the phone and it also became slow and now I want to change my ROM so which ROM should be best for this phone in overall stability customization and gaming
Stability, Customization and "gaming" : miui eu.
chratoc said:
Stability, Customization and "gaming" : miui eu.
Click to expand...
Click to collapse
Ok ill try it
Hey chartoc can u tell me the steps of how I can install the ROM of xaomi eu in my phone should I follow you he normal steps or something else cause I have the pixel ROM in my phone
Samin raiyan said:
Hey chartoc can u tell me the steps of how I can install the ROM of xaomi eu in my phone should I follow you he normal steps or something else cause I have the pixel ROM in my phone
Click to expand...
Click to collapse
Just follow the instructions on the miui.eu page.
Installation via TWRP:
- Download zip to internal storage
- Updater - Menu (...) - Reboot to Recovery
- Install - Select zip
- Reboot
- Done
Ok thnx man but I got a really stupid problem my internal storage is encrypted and when I try to mount data it says unable to mount data iam using orange fox whatever I do I can't mount
Samin raiyan said:
Ok thnx man but I got a really stupid problem my internal storage is encrypted and when I try to mount data it says unable to mount data iam using orange fox whatever I do I can't mount
Click to expand...
Click to collapse
it's not a problem. Redmi note 10 pro/ max doesn't have official twrp yet or any other reliable decrypting method.
what you have to do is use an external sd card or a pen drive through otg.
1. reboot into recovery
2. install > 'select storage' at bottom-left corner.
3. select usb-otg or micro sd card
4. select the rom file
5. install
6. reboot into system
you might have to format your data before the installation of new rom.
Oxnyz said:
it's not a problem. Redmi note 10 pro/ max doesn't have official twrp yet or any other reliable decrypting method.
what you have to do is use an external sd card or a pen drive through otg.
1. reboot into recovery
2. install > 'select storage' at bottom-left corner.
3. select usb-otg or micro sd card
4. select the rom file
5. install
6. reboot into system
you might have to format your data before the installation of new rom.
Click to expand...
Click to collapse
Bro one last question do I have to do something as I have pe rom installed as it's google and about taking backup I can't when I backup my datas it shows internal storage 0
Samin raiyan said:
Bro one last question do I have to do something as I have pe rom installed as it's google and about taking backup I can't when I backup my datas it shows internal storage 0
Click to expand...
Click to collapse
others might be able to answer your question. I'm not so expert at this matter.
what i understood is you can take backup after you have formatted your phone through recovery. because formatting decrypts internal storage. and then you can take backup of boot. dtbo, cache, modem, esf etc from recovery. but of course, formatting data wipes your internal storage.
what i did was -
1. take backup my data (images, videos etc) in pc.
2. backup and sync through google backup
after that im usually good to go.
Ok thnx man
Samin raiyan said:
Ok thnx man but I got a really stupid problem my internal storage is encrypted and when I try to mount data it says unable to mount data iam using orange fox whatever I do I can't mount
Click to expand...
Click to collapse
you'll need to format your data meaning you would need to back up your current files.I recommend uploading photos to google photos and your files to google drive before formatting.
THREAD LOCKED
As per the Forum Rules:
5. Create a thread topic or post a message only once, this includes external links & streaming media.
...
...
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
...
Click to expand...
Click to collapse
Kindly use the existing thread for continuing discussion: https://forum.xda-developers.com/t/help-me-chose-best-custom-rom.4296373/
Regards,
shadowstep
Forum Moderator

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.

Guys help me i can't mount usb in recovery

Hi Guys i am new in these custom flashing, i flashed syberia rom after restarting my rom working good but now i can't mount usb otg in recovery mode and also when rom or phone is on, i have k20 pro, and my internal storage also got encrypted or internal storage folders showing random latter's , i can't format coz i am far from my computer so any pro guys plzzzzzzzz guide me i would be thankful, thanks
Also i have orange fox recovery installed and magisk is also installed and working

Question Can't mount data partition in recovery

Hi, I have a question and hoping that maybe someone here might be able to help me.
I'm not a developer or anything like that and my knowledge is rather basic.
I truly tried my best reading, tutorials, forums, etc. and trying over and over again for many hours.
So the problem is this:
After new installation of arrowsOS and orange fox recovery on redmi note 10pro, recovery can't read/mount data or internal sd card.
Formating data or changing filesystem fixes this temporarily. Data now shows a size rather than 0mb and becomes mountable.
But unless the filesystem is f2fs (like ext4 or anything else) ROM won't boot. Goes straight back into recovery.
If I choose f2fs (readable by recovery after format), arrowsOS will boot again, but also will encrypt the partition somehow and the problem persists.
Next time I boot into recovery data, storage and sdcard are empty, data can't be mounted and is shown with 0mb size.
In orange fox telegram group I was informed that Android 12 is not supported nor will be any time soonish and I should get off their chat... but I tried twrp before and that didn't work either.
I'd really love to get this fixed before installing lots of apps onto the phone again. Because afterwards having to wipe and set up everything again will be a pain.
So does anyone here have any idea for me how to solve this?
Best regards
Eric
Kilombodog said:
Hi, I have a question and hoping that maybe someone here might be able to help me.
I'm not a developer or anything like that and my knowledge is rather basic.
I truly tried my best reading, tutorials, forums, etc. and trying over and over again for many hours.
So the problem is this:
After new installation of arrowsOS and orange fox recovery on redmi note 10pro, recovery can't read/mount data or internal sd card.
Formating data or changing filesystem fixes this temporarily. Data now shows a size rather than 0mb and becomes mountable.
But unless the filesystem is f2fs (like ext4 or anything else) ROM won't boot. Goes straight back into recovery.
If I choose f2fs (readable by recovery after format), arrowsOS will boot again, but also will encrypt the partition somehow and the problem persists.
Next time I boot into recovery data, storage and sdcard are empty, data can't be mounted and is shown with 0mb size.
In orange fox telegram group I was informed that Android 12 is not supported nor will be any time soonish and I should get off their chat... but I tried twrp before and that didn't work either.
I'd really love to get this fixed before installing lots of apps onto the phone again. Because afterwards having to wipe and set up everything again will be a pain.
So does anyone here have any idea for me how to solve this?
Best regards
Eric
Click to expand...
Click to collapse
Switch to A11 ROM or wait. There's no recovery capable of decrypting anything based on Android 12 right now
Kilombodog said:
Hi, I have a question and hoping that maybe someone here might be able to help me.
I'm not a developer or anything like that and my knowledge is rather basic.
I truly tried my best reading, tutorials, forums, etc. and trying over and over again for many hours.
So the problem is this:
After new installation of arrowsOS and orange fox recovery on redmi note 10pro, recovery can't read/mount data or internal sd card.
Formating data or changing filesystem fixes this temporarily. Data now shows a size rather than 0mb and becomes mountable.
But unless the filesystem is f2fs (like ext4 or anything else) ROM won't boot. Goes straight back into recovery.
If I choose f2fs (readable by recovery after format), arrowsOS will boot again, but also will encrypt the partition somehow and the problem persists.
Next time I boot into recovery data, storage and sdcard are empty, data can't be mounted and is shown with 0mb size.
In orange fox telegram group I was informed that Android 12 is not supported nor will be any time soonish and I should get off their chat... but I tried twrp before and that didn't work either.
I'd really love to get this fixed before installing lots of apps onto the phone again. Because afterwards having to wipe and set up everything again will be a pain.
So does anyone here have any idea for me how to solve this?
Best regards
Eric
Click to expand...
Click to collapse
PoisonedLegacy said:
Switch to A11 ROM or wait. There's no recovery capable of decrypting anything based on Android 12 right now
Click to expand...
Click to collapse
If you wanna stay decrypted like me, you can flash DFE....
Then no more issues with internal memory.....
If you use orange fox, then you can set a recovery password and have a bit more security.
PoisonedLegacy said:
Switch to A11 ROM or wait. There's no recovery capable of decrypting anything based on Android 12 right now
Click to expand...
Click to collapse
OK thanx, so I see what's the problem.
If it's like this I'm thinking about just waiting it out. Cause I kinda started liking this rom
Do you recon that once an updated recovery comes out it will be able to read it just like that?
Or would I have to wipe/format data again?
Because in first case I could just consider living with the fact that my recovery doesn't work so well for now, knowing that earlier or later an updated version of recovery comes out and by flashing it my problem should be fixed.
But if I'd had to wipe/reformat or repartition /data again in order to make it work (whenever it can). it'd be a game changer.
Because the longer I use the phone the more apps and personal stuff will be on there
Laptapper said:
If you wanna stay decrypted like me, you can flash DFE....
Then no more issues with internal memory.....
If you use orange fox, then you can set a recovery password and have a bit more security.
Click to expand...
Click to collapse
What's DFE?.....sorry just a newbie
If I flash that, would my data partitionstay decrypted forever or would there be a way to encrypt it later (once recoveries evolve) without loosing the data on it?
Kilombodog said:
What's DFE?.....sorry just a newbie
If I flash that, would my data partitionstay decrypted forever or would there be a way to encrypt it later (once recoveries evolve) without loosing the data on it?
Click to expand...
Click to collapse
Post in thread 'How to flash a Android 12 ROM without decryption problem?' https://forum.xda-developers.com/t/...hout-decryption-problem.4349493/post-86336175
Kilombodog said:
Hi, I have a question and hoping that maybe someone here might be able to help me.
I'm not a developer or anything like that and my knowledge is rather basic.
I truly tried my best reading, tutorials, forums, etc. and trying over and over again for many hours.
So the problem is this:
After new installation of arrowsOS and orange fox recovery on redmi note 10pro, recovery can't read/mount data or internal sd card.
Formating data or changing filesystem fixes this temporarily. Data now shows a size rather than 0mb and becomes mountable.
But unless the filesystem is f2fs (like ext4 or anything else) ROM won't boot. Goes straight back into recovery.
If I choose f2fs (readable by recovery after format), arrowsOS will boot again, but also will encrypt the partition somehow and the problem persists.
Next time I boot into recovery data, storage and sdcard are empty, data can't be mounted and is shown with 0mb size.
In orange fox telegram group I was informed that Android 12 is not supported nor will be any time soonish and I should get off their chat... but I tried twrp before and that didn't work either.
I'd really love to get this fixed before installing lots of apps onto the phone again. Because afterwards having to wipe and set up everything again will be a pain.
So does anyone here have any idea for me how to solve this?
Best regards
Eric
Click to expand...
Click to collapse
use them after every rom install
Murad Ali said:
use them after every rom install
Click to expand...
Click to collapse
thanx
Murad Ali said:
use them after every rom install
Click to expand...
Click to collapse
for now looks good. works like a charm with this 2 extra files.
thanx a lot

Question TWRP 3.7.0_12 fails to decrypt storage on stock A11?

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.

Categories

Resources