what m I doing wrong ? - Xiaomi Mi 8 Guides, News, & Discussion

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

Related

Samsung logo bootloop after flashing twrp 3.3.1-0

i was flashing a twrp using odin and after flashing it it keeps putting me in an infinite bootloop unless i go into twrp or download mode
My phone is a Samsung s9+ SMG695F
1. Activate unlock OEM in developer
2. Flash twrp
3. Go directly to TWRP recovery (do not reboot to android)
4. Select yes
5. Backup EFS
6. Format data
7. Flash custom ROM
Alternative:
4. Select no
6. Root phone
7. Install dm verity
8. Boot android

After installing custom rom successfully,set failed to reboot into system

I wanted to install custom rom for realme 3 pro, so i followd the following steps -
1. Unlocked Bootloader
2. Install TWRP ( file size 26 mb)
3. Install Vbmeta.img
4. Wipe cache,data,dalvik / also tried format data / also tried wipe cache, dalvik, system
4. Install charlie decryption tools
5. Install Custom Rom
it shows flash is successful, but set reboots into fastboot mode... i powered off phone, then power on,but again set boots into fastboot mode although twrp installed successfully,rom flashed successfully..but set dowsn't reboot into system rather it reboots into fastboot mode...
I also tried orange fox recoveey but same problem happens
Note before - I haven't installed magisk and gsi on my device
now, how can i install custom rom?
:fingers-crossed::cyclops:

Redmi 5 plus bricket - Stuck in mi logo - Nothing Work

Hello,
My Redmi 5 plus is stuck in MI Logo, i tried TESTPOINT and flash MIUI 10 - MIUI 11, Global, Beta, Chinese, all sucessful but the phone still stuck in Mi Logo. I can acess fastboot but the phone is locked, so i dont know what i can do to restore the phone.
Someone can help me? I searched the forum, found people with the same problem as me but no solution.
Thx
There is solution.
1. Enter fastboot and Unlock bootloader (using the same process mi unlock tool)
2. Flash OrangeFox recovery using Minimal ADB and fastboot
3. Format data Clean flash any aosp based custom rom (wipe cache, dalvik, system, data)
4. Let the room finish Boot and then reboot to recovery again
5. Then clean flash MIUI using Orangefox (if you wanted to flash it in the first place)
It should Boot now.
Is there any way for an official bootloader unlock except for boxes?
AD FOX said:
Is there any way for an official bootloader unlock except for boxes?
Click to expand...
Click to collapse
You have to use official mi unlock tool for unlocking bootloader. I don't understand what you mean by "boxes".
madhurajkumar said:
There is solution.
1. Enter fastboot and Unlock bootloader (using the same process mi unlock tool)
2. Flash OrangeFox recovery using Minimal ADB and fastboot
3. Format data Clean flash any aosp based custom rom (wipe cache, dalvik, system, data)
4. Let the room finish Boot and then reboot to recovery again
5. Then clean flash MIUI using Orangefox (if you wanted to flash it in the first place)
It should Boot now.
Click to expand...
Click to collapse
I'm trying exactly these steps but seems it goes bootloop aswell, doesnt boot both custom rom and MIUI.
I'm flashing with orangefox the MIUI.zip, not the fastboot, if i'm wrong let me know.
did you format data? it's not the same as wiping. it's under manage partitions in orangefox. it'll delete your internal storage
madhurajkumar said:
did you format data? it's not the same as wiping. it's under manage partitions in orangefox. it'll delete your internal storage
Click to expand...
Click to collapse
Yes, i formatted data and reboot to recovery to make partitions set-up before rebooting to system.
I'm trying again today something i missed. I'll keep checking this post.
Detailed process:
1) Wipe cache, system, data, dalvik
2) Format Data
3) Reboot to recovery (to make partitions set-up)
4) Flash my aosp rom
5) Reboot to recovery
6) Reboot system (and getting bootloop)
And i repeat the process for MIUI rom.
Update: I managed to solve this, as you can read here: forum.xda-developers.com/redmi-note-5/help/redmi-note-5-plus-vince-bootloop-stuck-t4044219
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.​
when
madhurajkumar said:
There is solution.
1. Enter fastboot and Unlock bootloader (using the same process mi unlock tool)
2. Flash OrangeFox recovery using Minimal ADB and fastboot
3. Format data Clean flash any aosp based custom rom (wipe cache, dalvik, system, data)
4. Let the room finish Boot and then reboot to recovery again
5. Then clean flash MIUI using Orangefox (if you wanted to flash it in the first place)
It should Boot now.
Click to expand...
Click to collapse
when i enter fastboot and click on unlock bootloader in miunlock tool the phone shuts off from fastboot mode

Bootloop even after flashing stock MIUI with Fastboot

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.

Question Custom recovery???

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!

Categories

Resources