Hello good afternoon!
I recently upgraded the ROM to this:
https://forum.xda-developers.com/le-max-2/development/rom-project-xtended-shakeme-t3794392
It ran all as expected, however, when I boot into recovery mode, to install the magisk and do root, I noticed that the twrp does not work as normal and does not allow the installation of zip or img. I went to "Mount" and was without the mark on "... read only".
When I click on "install" the storage folder appears empty ...
https://forum.xda-developers.com/showpost.php?p=77374349&postcount=473
The twrp is version 3.1.1-0, I think it is outdated, I do not know if that will be the problem.
How can I solve this problem?
How can I update twrp?
Heyyo, the instructions for that ROM start with "Verify that you're using the latest version of TWRP."
Now there's only these methods you can use to update TWRP so it'll work:
First method:
1. Download latest TWRP on your PC https://dl.twrp.me/x2/
2. Reboot phone to bootloader (hold power and volume down until the phone reboots and you see the bootloader screen pop up and then release the buttons)
3. Plug in a USB cable from your PC to your phone
4. Hopefully you have fastboot on your PC, otherwise please check Le Max 2 or any Android guide for fastboot and ADB utilities.
5. fastboot flash recovery twrp-3.2.3-0.img
6. If it completes successfully? Reboot to recovery (hold down power and volume up buttons until the phone reboots and you see the word "recovery" on the screen)
Method two:
1. Download latest TWRP onto your phone
2. Using an OTG adapter and a USB flash drive, copy the TWRP image to your USB flash drive using the file manager or download one from the Play Store (I recommend Amaze File Manager since it's free and open source software and works great).
3. Reboot to recovery
4. Mount > USB-OTG
5. Install > tap "install image" button > tap "select storage" button and select USB-OTG > select twrp image > select to install it to recovery > swipe to install.
6. Reboot to recovery and it should reload latest TWRP.
Method three:
1. Wipe > tap "format data" button > type yes > tap checkbox.
2. Reboot to recovery
3. Use a PC to copy latest TWRP image to your phone and ROM and Magisk and Gapps as your data will be reformatted.
4. Install all of it and reboot to system
Also, Magisk must be installed immediately after the ROM for SafetyNet to function properly, so I recommend wiping Dalvik, system, cache and data and then install ROM, Magisk and Gapps at the same time and then reboot to system.
Thanks for the super complete help !!
I will see then!
Hi, I have some problems with TWPR on my mi 8.
Last night I was trying to root my mi8, and first step was to install custom recovery. So i did these steps:
1st try:
1. opened ADB
2. typed "adb reboot bootloader"
3. "fastboot boot recovery.img"
4. TWRP has opened
5. installed Magisk from TWRP installed no-verity-opt-encrypt-6.0
5. wiped cash dalvik and data
6. rebooted to system
7. bootloop
2nd try:
1. installed V9.5.13.0.OEAMIFA with miflash
2. "adb reboot bootloader"
3. "fastboot flash recovery recovery.img"
4. TWPR has been installed
5. wiped cash and dalvik and tryed to boot before I flash magisk
6. this time not even a bootloop just TWPR keeps booting
7. I tought mabye I need to install fresh sistem from TWPR then to root
8. dowloaded "miui MI8Global 8.9.11"
9. then i used USB-OTG to install rom from USB
10. when install was done I wiped cash and dalvik
11. system has booted
12. let's root now
13. VOLUMEUP + POWER ........ bam there is no TWPR anymore just stock recovery even I installed the rom through the TWPR
What m I doing wrong ???
For official miui you need to flash twrp and dmverity to boot.
I did install no-verity after magisk.
Does it matter if I did it after magisk installation?
You can do it by first flash twrp+ dmverity boot to system. Then flash magisk after. Donne
and dont forget to format data via twrp by the typing YES
I was running the latest MIUI Global 11.0.2 and wanted to go back to custom ROMs since its really slow
I unlocked my bootloader and flashed LOS 17.1 with NikGapps
It didn't boot, I tried flashing it a few other times and flashing the latest firmware, etc
now even OrangeFox recovery can NOT mount almost any of the partitions and even after flashing MIUI using mi flash I am stuck in a boot loop
I am really unsure about what I should do, Fastboot MIUI would always fix such problems
Any help would be great
"Format Data" using OrangeFox recovery
then clean install any rom you wish
Same here, i was on MIUI11, decided to install Aosp extended but when i tried to flash again MIUI from fastboot i get bootloop. Now not only on miui, but also bootloop on custom roms. Tried everything with both twrp and orangefox.
I'm following this post
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
That WORKS for me! Thanks!
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
Hi bro,
I tried every method, fastboot rom, fastboot boot twrp, flash recovery , but it still stuck at fastboot rom. What hapoened to my phone. Even i took my phone to mobile repairing market. They couldn't boot the MIUI. Still stucked on fastboot mode
sohaiburrasool said:
Hi bro,
I tried every method, fastboot rom, fastboot boot twrp, flash recovery , but it still stuck at fastboot rom. What hapoened to my phone. Even i took my phone to mobile repairing market. They couldn't boot the MIUI. Still stucked on fastboot mode
Click to expand...
Click to collapse
fastboot boot image.img (name of the recovery image)
adb reboot recovery
fastboot reboot recovery
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
Hey there is no option of "persist partition" in my twrp, what should I do?
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
Hello !
I solved this in different way because that solution was not working for me. It seems that MI account was still on the phone and making the flash stock roms attemps fail miserably, I didn´t know about that until i install this rom:
"MIUI 12.5 Android 10 Xiaomi.EU by PaintYourAndroid for Vince"The thing was that custom rom and twrp fastboot via work fine, so i tried different roms and finally came to this when i installed that rom above: THIS PHONE IS LOCKED, ACTIVATE THIS PHONE (MI ACCOUNT). So i activate the phone and went to the initial setup and go for the mi account and closed the session on the phone.
Next step, flash with miflash and stock rom V11.0.2.0.OEGMIXM and lock bootloader (its my wifes phone) and finally works!!
Maybe the MI account is locking down the flash because security reasons and blockin the flashing process.
I hope this another solution works for anyone. And before mess with custom roms closed the session of mi account if you are using it. I factory reset the phone before unlock bootloader (via miunlock) but that was not enough.
Cheers
kunalsbdr said:
Hey there is no option of "persist partition" in my twrp, what should I do?
Click to expand...
Click to collapse
For flashing, i've used "miui_HM5PlusGlobal_V11.0.2.0.OEGMIXM_f74369de0c_8.1.zip" and i've taken persist.img from "Xiaomi_Redmi_5_Plus_V11.0.2.0.OEGMIXM_20191108.0000.00_Global_8.1_XFT_(by_xiaomistockrom.com).zip"
and it worked for me too
I encounter the similar behaviour on my Redmi Note 9 Pro Global (joyeuse) : after flashing stock fastboot image using flash_all.bat or flash_all_except_data_storage.bat, the phone cannot get past the initial Redmi logo.
I fixed it by using the official MiFlash tool https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar
I have no idea why running the bat files doesn't work.
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
After fighting a few days with repair my POCO x3 NFC and looking for solution online which I didn't find, I can say that partially because of this post, I was able to install finally stock MIUI ROM. I was able to install only Elite Rom and it worked (strange).
I manually made a flash_all.bat file that it installs all stock MIUI images via fastboot, then (I don't really remember everything sorry ;( too many operations) then installed TWRP 3.5.2_10-5 surya, then wipe as GuestD2468 says on point 4, then fastboot flash (or TWRP flash?) persist.img also from MIUI stock firmware\images folder, still bootloop so the I flashed (update?) miui_SURYAEEAGlobal_V12.0.8.0.RJGEUXM_11.0.zip and then Stock MIUI finally runs Hurraaa . Sorry for not remember of exact queue of operations ;(.
What I still observed is that I can't still see SUPER or SYSTEM partitions in TWRP or OrangeFox. Im really sure that I saw SUPER partition for example to wipe in TWRP before I start playing with custom roms. It looks like Super partition disappears forever (or current versions of TWRP and OF didn't see that partitions?) Maybe its a problem to install roms because there is "no such partition"? Super partition is not active and making troubles with installing roms? Im amateur in new android 10 or 11 partitions (I had HTC m8 before). So I decided to flash that original stock ROM and just wait for better official TWRP's.
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup o
Click to expand...
Click to collapse
where do you flash the persist.img? on adb like fastboot flash persist persist.img?
Hi guys please help me.. Today when i woke up my phone stuck on Mi logo and restart and restart.... my Fastboot is locked, so i try to flash the stock firmware with EDL mode... firmware flash was successfuly, but the problem with Mi logo and restarting is still here ( only restart and nothing happen) . I tried different stock firmwares ( old and new ). Please help me
danielristov said:
Hi guys please help me.. Today when i woke up my phone stuck on Mi logo and restart and restart.... my Fastboot is locked, so i try to flash the stock firmware with EDL mode... firmware flash was successfuly, but the problem with Mi logo and restarting is still here ( only restart and nothing happen) . I tried different stock firmwares ( old and new ). Please help me
Click to expand...
Click to collapse
hi, you still need help?
samuelpired said:
hi, you still need help?
Click to expand...
Click to collapse
i tried Above Method ,
I tried to flash rom , flashing got successfull , but my device(mi max 2) got stuck in mi logo .
Even Twrp is tuck in logo page . I even tried to flash orangeFox that also got stuck in logo page.
GuestD2468 said:
Update
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.
Click to expand...
Click to collapse
How can you reboot recovery in step 5 after wiping the system in step 4. Recovery gives the waring "No OS is installed, do you still wish to reboot" before rebooting and if we reboot phone shows "System is Destroyed" and the recovery is automatically removed , only fastboot remains.
Hi, I wanted to know if there is currently a working custom recovery for Redmi note 11s, if so which one and how to proceed ... thanks
https://forum.xda-developers.com/t/root-poco-m4-pro-4g-fleur-using-magisk.4449193/post-87460153
When you on Android 11 its working like charme, but when you on Android 12/13 it doesnt work, because of the encryption problem. you cant mount data...
when you will install (you need a sdcard):
1. boot to fastboot
2. fastboot flash boot "twrp.img"
3. fastboot reboot (reboots to twrp)
4. put the stock-boot.img on your sdcard and flash it with twrp to boot -> select both partitions (a/b)
5. go to advanced -> flash twrp
6. format data
7. reboot to recovery and test if you can mount data
8. reboot and enjoy!