Unable to flash TWRP on my Redmi Note 9 - Redmi Note 9 Questions & Answers

I am unable to flash TWRP on my Redmi Note 9. I am using the correct image, and when I go into advanced and there are four options which are "Change twrp folder, reload theme, partition sd card and fix contents" Is there any fix for this?

Related

OnePlus 3T - invalid partition selection

Hi
Today I get my OnePlus 3T. So I did that, what I do with any new phone = TWRP and Root. So I...
1. Boot, download and install Oxygen OS 4
2. Fastboot unlock bootloader, flash TWRP (latest official build)
3. Reboot in TWRP and TWRP ask for password (never set any password for this phone, nothing! just start without sim and set nothing, only wifi for the first step)
4. Download SuperSU .zip and try to root - 0MB when I try to install SuperSu
5. TWRP > Wipe > Format data
6. Reboot and now I see (when I click on install) internal Storage (52100 MB). After that (dont flash SuperSU) just boot in TWRP
7. With OTG and USB stick I flash Oxygen OS 4.0 (full ROM with 1,4GB) > phone just reboot in TWRP.
When I go to
Wipe > Advanced Wipe > check Internal Storage > click on Repair or Change File System I get "invalid partition selection"
This also happen, when I check Dalvik/ART Cache. With System, Data and Cache no problems.
I have no idea what I can do. Over Google I only find some thread from Huawei and Samsung device, something with PIT file. Nothing to OnePlus (not One, not Two and not Three).
Klanac89 said:
Hi
Today I get my OnePlus 3T. So I did that, what I do with any new phone = TWRP and Root. So I...
1. Boot, download and install Oxygen OS 4
2. Fastboot unlock bootloader, flash TWRP (latest official build)
3. Reboot in TWRP and TWRP ask for password (never set any password for this phone, nothing! just start without sim and set nothing, only wifi for the first step)
4. Download SuperSU .zip and try to root - 0MB when I try to install SuperSu
5. TWRP > Wipe > Format data
6. Reboot and now I see (when I click on install) internal Storage (52100 MB). After that (dont flash SuperSU) just boot in TWRP
7. With OTG and USB stick I flash Oxygen OS 4.0 (full ROM with 1,4GB) > phone just reboot in TWRP.
When I go to
Wipe > Advanced Wipe > check Internal Storage > click on Repair or Change File System I get "invalid partition selection"
This also happen, when I check Dalvik/ART Cache. With System, Data and Cache no problems.
I have no idea what I can do. Over Google I only find some thread from Huawei and Samsung device, something with PIT file. Nothing to OnePlus (not One, not Two and not Three).
Click to expand...
Click to collapse
This question seems to keep repeating itself due to missing information on TWRP post about the latest official version being incompatible with OOS 4 encryption method, but that is the explanation. There is a beta release of TWRP in post 550 in that thread that is supposed to fix this.
Here's some spoon feeding for you
https://forum.xda-developers.com/showthread.php?t=3507308
Lookup post numbered 550 and it has a link to the unofficial TWRP update
What to do? Boot in beta1 and looks like the same... can flash OOS 4 but still the same problem.
Gesendet von meinem MI 5s Plus mit Tapatalk

redmi 4x showing storage corrupted your system is unsafe WIFI not showing.

hi guys i had normal installed pixel experience santoni
after that i normal delete also make format data
i install back MIUI10 miui 11
after installation i have this error message and on wifi section i not have any wifi only black white page
any solution how fix with this storage showing error ?
i normal install MIUI 10 THEN 11 via Miflash.
thx for help
i also try this with persist.img i copy it to phone but when i choose install image persist.img i not have on section where persist location
Maybe try clean flashing via Mi flash tools.

Question Failed to Mount System , Vendor

dear buddies
I wanted to flash some custom roms but I am facing a problem
unable to mount/wipe system , vendor
error occured in
twrp and orangefox
#help
same problem here
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Black Plague said:
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Click to expand...
Click to collapse
The updates we get from the settings menu are the same ones right? And do we have to switch region ROMs like EU, China etc..
Sparkplug3000 said:
The updates we get from the settings menu are the same ones right? And do we have to switch region ROMs like EU, China etc..
Click to expand...
Click to collapse
Use the ROM that is specific to your device. For example I have the Mi 10i from India and I'd download that specific ROM. Don't bother with EU or China ROMs if you do not intend to use them for a while.
Ham_is_here said:
Use the ROM that is specific to your device. For example I have the Mi 10i from India and I'd download that specific ROM. Don't bother with EU or China ROMs if you do not intend to use them for a while.
Click to expand...
Click to collapse
same here, I flashed for the 10i and am using dot os 5.1.3 (non root) Thank you for answering
KB971033Z29 said:
dear buddies
I wanted to flash some custom roms but I am facing a problem
unable to mount/wipe system , vendor
error occured in
twrp and orangefox
#help
Click to expand...
Click to collapse
#gauguin devices have a dynamic storage partition or A/B partition system. No need to wipe system & vendor to flash any rom. You can flash rom just by wiping cache, dalvik cache, data. That's will solve your problem.
But Magisk app says A-only... and so does Treble Check

Question MI 10i Error 1

hey buddies
I need your help
how to get rid of this #error1
am facing this error with twrp and orange fox
help me
device mi 10i
I'm not sure of why it is not working, but you can flash the original rom with Fastboot or within the recovery.
You can download it from downmi, xiaomitoolv2, etc
Dont use Sd Card.
KimUyLong said:
Dont use Sd Card.
Click to expand...
Click to collapse
didn't worked either flash from internal storage X(
AnibalSP said:
I'm not sure of why it is not working, but you can flash the original rom with Fastboot or within the recovery.
You can download it from downmi, xiaomitoolv2, etc
Click to expand...
Click to collapse
any ways to do that ?
KB971033Z29 said:
is there any problem ????
Click to expand...
Click to collapse
Some Rom will get error 1 if you place it on Ex SD card
KimUyLong said:
Some Rom will get error 1 if you place it on Ex SD card
Click to expand...
Click to collapse
didn't worked either flash from internal storage X(
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Black Plague said:
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Click to expand...
Click to collapse
let me try
When you install custom rom, first you need to be the same version of andorid, which is the custom rom. At your case you need official miui rom android 11. Install it with Fastboot. Afer that twrp. When you are in twrp Go to Wipe>> Format data. type YES. After that Advance wipe. And after everything flash the custom rom

How To Guide 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 tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
eliaztheone said:
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 tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
Click to expand...
Click to collapse
Thanks for sharing @eliaztheone... I have a question, please... SetRW.sh is orange fox? Because the link to Mega is for orange fox... If you would be so kind to share this SetRW.sh it will be fine, please! I was looking for it on 4pda but it was removed...Thank you
eliaztheone said:
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 tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
Click to expand...
Click to collapse
Good work
But I think it's easier to flash dfe and format once with yes .
If any ROM changes flash only DfE without format at last step.
Hellera​
Download 4pda
Laptapper said:
Good work
But I think it's easier to flash dfe and format once with yes .
If any ROM changes flash only DfE without format at last step.
Click to expand...
Click to collapse
Which dfe is working for xiaomi.eu 12.5.9 (based on Android 11)?
MikelFuchs said:
Which dfe is working for xiaomi.eu 12.5.9 (based on Android 11)?
Click to expand...
Click to collapse
Not sure because I'm using OSS but you can try the file attached.
I just installed custom MIUI-MIX 13.0.4 android 12 and followed the above instructions... I succeded to decrypt it in ofox!
Thank you @eliaztheone for sharing this!
anyone successfully restored twrp backup without data decryption and bootloop to twrp?.
jd.21 said:
anyone successfully restored twrp backup without data decryption and bootloop to twrp?.
Click to expand...
Click to collapse
It's not possible in android 12 without decryption. TWRP and OFOX cannot deal with that... yet.

Categories

Resources