Mi 5 stuck with Mi logo - Xiaomi Mi 5 Questions & Answers

I followed the steps mentioned in the below link to root my Mi 5 phone and now my phone is stuck with Mi logo upon reboot to system.
rootmygalaxy.net/root-xiaomi-mi-5-install-twrp-recovery
Things I did:
1. Enabled USB debugging and OEM unlock option
2. Installed ADB v1.3
3. Unlocked bootloader using mi 5 flash unlock tool
4. Downloaded twrp-3.2.3-0-gemini and renamed as twrp.img
5. Installed twrp recovery via fastboot using the following commands
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot boot twrp.img
6. Copied SuperSU-v2.82-201705271822 to phone's internal memory
7. Booted device into twrp recovery. Under wipe option, did a factory reset. Installed SuperSu successfully. Clicked 'swiped to wipe' under wipe cache\delvik.
8. Then rebooted to system from twrp main menu
After the above steps, my phone didn't reboot and got stuck in Mi logo. This is the first time I tried rooting my phone .
Could you please suggest some idea to recover my phone? Thanks in advance.

It's likely not a big deal at all. Look up putting your device to EDL mode and flashing stock image with xiaomiflash. If you choose the correct stock image, everything will be fine.

Related

[Q] About to unlock, unencrypt, root, and rom! please check if correct

I bought a nexus 6 on google play and I am on verizon. It is currently running 5.0 LNX07M.
Could some nice fellow please tell if if this is correct?
1. download wugfresh
2. download drivers
3. tick usb debug, oem unlock
4. unlock bootloader
5. flash no force encrypt
6. root
7. Trwp
8. Get Chroma/ or any other 5.1.1 rom and flash with gapps?
I'm espeically concerned if it is ok to unlock and root a 5.0 nexus 6 and then use twrp to flash a 5.1.1 rom. Should I first update the phone to 5.1 or something?
1. download and install adb/fastboot
2. boot into the bootloader and plug in via USB to your computer. depending on what your computer is running, it could download and install the driver by itself or you would have to.
3. fastboot OEM unlock unlocks the bootloader.
4. reboot and back into your bootloader.
5. flash twrp recovery
6. flash your custom kernel and SuperSU for root via twrp recovery.
7. only if you want to decrypt, format your storage. if not, just reboot.
simms22 said:
1. download and install adb/fastboot
2. boot into the bootloader and plug in via USB to your computer. depending on what your computer is running, it could download and install the driver by itself or you would have to.
3. fastboot OEM unlock unlocks the bootloader.
4. reboot and back into your bootloader.
5. flash twrp recovery
6. flash your custom kernel and SuperSU for root via twrp recovery.
7. only if you want to decrypt, format your storage. if not, just reboot.
Click to expand...
Click to collapse
Should I update my phone or is 5.0 ok for flashing the latest 5.1.1 rom?
Raymondlikesroot said:
Should I update my phone or is 5.0 ok for flashing the latest 5.1.1 rom?
Click to expand...
Click to collapse
if updating the official way, go to 5.1 then 5.1.1. but if updating via custom ROM, it doesnt matter, you can flash 5.1.1 over 5.0
IMHO,
1) download Android SDK or minimal fastboot and ADB or 15 second ADB and fastboot installer
2) connect to PC and reboot to bootloader
3) from command prompt:
fastboot devices
(Serial number shows up)
4) From command:
fastboot oem unlock
fastboot reboot
5) Download the latest TWRP recovery for shamu
6) Boot back to bootloader and from command (having placed the TWRP image somewhere where fastboot can find it i.e. in platform tools in SDK) also rename it to twrp.img
Issue the command:
fastboot flash recovery twrp.img
(Be careful to not have it list the file ext. twice. Windows names the file ext. by default. Example: twrp.img.img
After recovery flashes, from bootloader, use the volume keys to select recovery mode and press power. Your device will boot to TWRP.
Make a backup!
Next, download SuperSU zip and flash with TWRP.
Congratulations, you are now stock rooted and you can choose any ROM you like and flash with TWRP. Follow the instructions carefully from the ROM OP and profit.
It may look complicated but trust me, it's not. The longest process will be after you unlock the bootloader. Your device will wipe completely so backup anything you'd rather not lose forever.
Remember, a 32gb Nexus will take 10 to 15 minutes to wipe and reboot. A 64gb will take 20 minutes or more.
The benefit of doing it this way is you know exactly what is happening to your device, unlike a toolkit. Also, you just learned something! Plus, if you get stuck somewhere and end up soft bricked, you'll understand what and how when someone here tells you how to fix it.
Thank you guys for your responses ! I think my laziness is going to win me out this round so im going to use the toolkit. But next time, I will do the correct way!

Root Tutorial

Warning don't try this if you are new to rooting.. wait for more confirmation
I've successfully rooted my phone using these steps:
Download the TWRP recovery image from http://forum.xda-developers.com/vivo-xl/development/recovery-t3311601 credit @jemmini
Download SuperSU from http://download.chainfire.eu/supersu-beta
Enable Developer Options
Enable OEM unlock
Enable USB Debugging
Reboot phone bootloader (adb reboot bootloader or vol up + power)
fastboot oem unlock
vol up to confirm unlock
your phone will ask you to reboot but vol up and vol down doesn't do anything. (other were having issue with boot looping here because of this..)
fastboot reboot bootloader
fastboot flash recovery twrp-recovery.img (the file downloaded in step 1)
fastboot reboot
while the phone is rebooting, press and hold vol up (this will launch TWRP recovery)
Optional: do not enable write access (for backup purpose)
select wipe, format data, type in yes (this fixes the boot looping issue -- credit @acotto)
now make a backup of your phone
Copy supersu.zip to your phone
install supersu.zip
To make TWRP recovery permanent: rename or delete /system/recovery-from-boot.p
reboot
your phone will take awhile to boot up since it has to rebuild all of your applications for the first time.
Edit:
I haven't figured out how to make TWRP permanent yet. Blu is restoring the stock recovery on reboot.
Thanks for the write up, looks really promising.
For those who need fastboot, I used this All in One to get it set up on my PC. I am running Windows 10 and it installed and worked just fine.
Followed the instructions above and achieved root. Thanks to OP for the great instructions.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
updated the instructions to make TWRP permanent.
emowing said:
updated the instructions to make TWRP permanent.
Click to expand...
Click to collapse
I did your original instructions and TWRP was permanent automatically.
Sent from my VIVO XL using Tapatalk
As bad as I wanna root this, I'll be waiting for a backup stock rom just in case thanks for the info!!
Never mind I guess there is a stock rom but its too early for me.
Help please>> bootloop
i've got the bootloop after unlocking the OEM... does anyone have a work around it yet??
The Remedy said:
i've got the bootloop after unlocking the OEM... does anyone have a work around it yet??
Click to expand...
Click to collapse
Don't unlock bootloader, it's not needed.
For now, use recovery restore to original ROM, clear data/cache in recovery, then you should be able to boot.
The Remedy said:
i've got the bootloop after unlocking the OEM... does anyone have a work around it yet??
Click to expand...
Click to collapse
I have already given a big warning about this unlock bootloader, why didn't you read ?
Click the link, the solution is there. Generally, install TWRP, then restore from the image given.
quyvinh said:
I have already given a big warning about this unlock bootloader, why didn't you read ?
Click the link, the solution is there. Generally, install TWRP, then restore from the image given.
Click to expand...
Click to collapse
I was in a rush and didnt want to do much rushing but I figured out on my own and I've been running Root w/ Xposed for the last 2 days now....SOLID!!
Not Working for Vivo y51l.
emowing said:
Warning don't try this if you are new to rooting.. wait for more confirmation
I've successfully rooted my phone using these steps:
Download the TWRP recovery image from http://forum.xda-developers.com/vivo-xl/development/recovery-t3311601 credit @jemmini
Download SuperSU from http://download.chainfire.eu/supersu-beta
Enable Developer Options
Enable OEM unlock
Enable USB Debugging
Reboot phone bootloader (adb reboot bootloader or vol up + power)
fastboot oem unlock
vol up to confirm unlock
your phone will ask you to reboot but vol up and vol down doesn't do anything. (other were having issue with boot looping here because of this..)
fastboot reboot bootloader
fastboot flash recovery twrp-recovery.img (the file downloaded in step 1)
fastboot reboot
while the phone is rebooting, press and hold vol up (this will launch TWRP recovery)
Optional: do not enable write access (for backup purpose)
select wipe, format data, type in yes (this fixes the boot looping issue -- credit @acotto)
now make a backup of your phone
Copy supersu.zip to your phone
install supersu.zip
To make TWRP recovery permanent: rename or delete /system/recovery-from-boot.p
reboot
your phone will take awhile to boot up since it has to rebuild all of your applications for the first time.
Edit:
I haven't figured out how to make TWRP permanent yet. Blu is restoring the stock recovery on reboot.
Click to expand...
Click to collapse
Help me find out method to root this phone.
Had tried kingroot,kingoroot and other root tools.
Model : Vivo y51
Waiting...
Why won't this work?! I can't even load TWRR once. It always boots and then re-boots to the original recovery. Pushing volume up after flashing the twrr recovery doesn't go into recovery mode.
---------- Post added at 01:30 AM ---------- Previous post was at 01:25 AM ----------
Is it okay to change or delete /system/recovery-from-boot.p before loading the recovery.img of TWRR??
What version of android is this working on? I'm on the latest
How do I get out of this bootloop?
emowing said:
Warning don't try this if you are new to rooting.. wait for more confirmation
I've successfully rooted my phone using these steps:
Download the TWRP recovery image from http://forum.xda-developers.com/vivo-xl/development/recovery-t3311601 credit @jemmini
Download SuperSU from http://download.chainfire.eu/supersu-beta
Enable Developer Options
Enable OEM unlock
Enable USB Debugging
Reboot phone bootloader (adb reboot bootloader or vol up + power)
fastboot oem unlock
vol up to confirm unlock
your phone will ask you to reboot but vol up and vol down doesn't do anything. (other were having issue with boot looping here because of this..)
fastboot reboot bootloader
fastboot flash recovery twrp-recovery.img (the file downloaded in step 1)
fastboot reboot
while the phone is rebooting, press and hold vol up (this will launch TWRP recovery)
Optional: do not enable write access (for backup purpose)
select wipe, format data, type in yes (this fixes the boot looping issue -- credit @acotto)
now make a backup of your phone
Copy supersu.zip to your phone
install supersu.zip
To make TWRP recovery permanent: rename or delete /system/recovery-from-boot.p
reboot
your phone will take awhile to boot up since it has to rebuild all of your applications for the first time.
Edit:
I haven't figured out how to make TWRP permanent yet. Blu is restoring the stock recovery on reboot.
Click to expand...
Click to collapse
was able to flash the twrp by renaming to recovery.img. but after fastboot reboot, even holding volume up it just reboots like normal?
what version of android should I have installed for this tutorial to work?

Rooting Problems Need Help

Hi I'm a new Android user and don't know much about it :'( I recently got my OnePlus 3T and I wanted to root it
so I followed a tutorial video from YouTube successfully unlocked bootloader and flashed twrp recovery then I tried to install SuperSU... well it installed but the device got soft bricked when I rebooted after finishing the installation and wiping cache/dalvik
then I format/factory reset everything using twrp recovery and it's working now but the device isn't rooted :'( tried to install SuperSU again and it got bricked again
Also I'm getting these messages on the startup screen-
1st one: Your device has been unlocked and can't be trusted. If you don't want to see this screen please lock your device by "fastboot oem lock" and erase user data.
2nd one: The dm-verity is not started in enforcing mode and may not work properly.
(My os version is 4.1.7)
device OP 3t A3010
plz help me :'(
The 1st and the 2nd msg that gets displayed is shown because the bootloader is unlocked..
Bootloops are common while flashing su...when I flashed super su for the first time, I got 3 or 4 random reboots and took almost 7 to 10 mins for the phone to boot up..
I would suggest using Magisk as a rooting method instead of SuperSU. If you use SuperSU then some apps can detect root and object to you being rooted and Google's SafetyNet gets triggered. Magisk solves this by trying to hide root from apps and Google so that you can use your device as if it wasnt rooted at all (but in fact is rooted). Go the the Magisk forum and download Magisk 13.3 zip from there.
I am assuming you are using OxygenOS (Oneplus's software) and not a custom ROM. Download the Open Beta or Stable build from here/
These steps will erase all the data on your phone permanently (including internal storage) so please backup anything in there.
To fix the DM verity error youll have to follow the steps outlined here
Once you have fixed that, flash oneplus recovery via fastboot which you can download here
To flash it go to fastboot mode, and cd into the folder where you downloaded it. Run the command 'fastboot flash recovery <RECOVERY_NAME>'.
Then run the command 'fastboot oem lock' to lock the bootloader. After you confirm the prompt on screen, the phone will boot into the recovery and youll see a progress bar. Once the progress completes and the screen turns off, be ready to immediately go back to fastboot mode by pressing volume up and power.
When you enter fastboot mode again, run the command 'fastboot oem unlock' and follow the same steps as before.
Once you are in fastboot mode, the phone is now in a clean state with no OS.
Follow the steps outlined on the oneplus website to flash a clean OxygenOS build (stable or open beta as per your taste)
Once the flashing is complete you have to let the phone boot up completely once. When you get to the setup screen, go through it and reach the launcher.
Now we flash TWRP recovery. Reboot to fastboot again. Flash TWRP recovery (I personally use blu_spark's twrp but you can use one of your choice). When it is done, boot into the recovery. Youll now be able to copy magisk zip into the internal sd. Do that, and flash it. Reboot.
Youll now be rooted. If you have any problems holla at me.

Stuck on bootloop after booting into twrp

Hi
I recently installed twrp 3.1.0-0 through cmd. I saw a thread about twrp 3.2.1.0-0 so it was a zip file instead of img file so I went to twrp and flashed that zip after that whenever I reboot my phone to system in stays on mi logo forever. Then I flashed a rom .tgz file through mi flash tool. To check I went back to twrp using my pc cmd typing the command "fastboot boot twrp.img" . I was taken to twrp recovery. I did nothing and tried to boot back system again same thing stuck here forever. I had to go through the same flashing process to get my phone back.
you probably need to restart again by flashing a new rom and read carefully howto.
U Can just flash no-verity-opt-encrypt here https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.0.zip
Mahadi14 said:
Hi
I recently installed twrp 3.1.0-0 through cmd. I saw a thread about twrp 3.2.1.0-0 so it was a zip file instead of img file so I went to twrp and flashed that zip after that whenever I reboot my phone to system in stays on mi logo forever. Then I flashed a rom .tgz file through mi flash tool. To check I went back to twrp using my pc cmd typing the command "fastboot boot twrp.img" . I was taken to twrp recovery. I did nothing and tried to boot back system again same thing stuck here forever. I had to go through the same flashing process to get my phone back.
Click to expand...
Click to collapse
if stock recovery is replaced by TWRP then stock rom wont boot.
to boot you need to disable dm-verity in boot.img magisk does this while flashing.
so to boot just flash magisk or dm-verity disabler or lazy flasher

Mi 9 stuck in Fastboot after TWRP Backup Restore.

Hello,
I tried the latest V11.0.6.0.QFAEUXM ROM but I didn't like it and so I booted into my TWRP recovery and restored the latest fullbackup I made from 2 days ago, then rebooted.
Now I'm stuck in Fastboot loop.
$ fastboot reboot
and
$ fastboot reboot recovery
... have literally no effect, still the phone is stuck in fastboot mode uppon restart.
I read in another thread "just use MiFlash tool and revert to stock rom, do everything all over to rescue your phone".
OK, fine. I start MiFlash, it asks me to unlock my phone... I click unlock. Nothing happens, I click again "try unlock again", then "no need to repeat unlock" appears, nothing happens, the usual menu with the options to flash or install TWRP are missing.
:good: really good! Just as expected. Very user friendly.
Now what?
I had twrp-3.3.1-37-cepheus-mauronofrio.img (SHA-1: A3230E7918A9E3D3D939AA8619B40E47A54F645D) as recovery and my ROM was xiaomi.eu_multi_MI9_V11.0.4.0.QFACNXM_5e64190eb9_v11-10.zip (SHA-1: 714BD02A5D52720C2733E2FDA9730EECE441AE09) before I tried to flash miui_CEPHEUSEEAGlobal_V11.0.6.0.QFAEUXM_1647340073_10.0.zip (SHA-1: BAC6307DA99F766E35A6EDBB0B74D02F73AD2782) and everything went downhill from there.
MiFlash version: miflash_unlock-en-3.5.719.27.zip
Is there more info I can provide?
EDIT / UPDATE:
I've been following the instructions from a Youtube video (links below) by the letter and now at least I'm back in a sane / stock ROM state where I can (have to) redo everything fromm the beginning.
Sources:
https://www.youtube.com/watch?v=GuAHNFjK--o
Instructions:
https://highonandroid.com/android-s...rick-unroot-xiaomi-android-stuck-on-fastboot/
Download site:
https://xiaomifirmware.com/roms/download-official-miui-roms-for-xiaomi-mi-9/
(I downloaded & used "cepheus_eea_global_images_V10.2.17.0.PFAEUXM_20190327.0000.00_9.0_eea_b2470d1b08.tgz")
I chose "clean all" as flash method in that XiaomiMiFlash Tool.
It will reboot into Stock ROM, in my case I chose the EU version.
From there you can activate Developer Options & USB-Debugging again and you're set to go customizing again.
Ohhh looks not amazing
Did you've tried to flash recovery via adb?
Laptapper said:
Ohhh looks not amazing
Did you've tried to flash recovery via adb?
Click to expand...
Click to collapse
I tried:
$ fastboot flash recovery twrp-3.3.1-37-cepheus-mauronofrio.img
$ fastboot reboot recovery
It boots straight into Fastboot again.
I don't even know what to say at this point. I literally only wanted to restore a fullbackup. How can this possibly happen in the first place?
I'm really close to smashing this phone in 1000 pieces...
anthropaki said:
I tried:
$ fastboot flash recovery twrp-3.3.1-37-cepheus-mauronofrio.img
$ fastboot reboot recovery
It boots straight into Fastboot again.
I don't even know what to say at this point. I literally only wanted to restore a fullbackup. How can this possibly happen in the first place?
I'm really close to smashing this phone in 1000 pieces...
Click to expand...
Click to collapse
What I suggest you to do is flash the latest TWRP from Mauronofrio which is 3.3.1-52.
After successfully flashing the recovery, immediately press vol up + power button until it reboots.
Do not reboot using the command line or turn off your phone.
In TWRP, flash the xiaomi.eu ROM version that your backup is based on.
Then perform a restore from the backup that you had made.
Sent from my MI 9 (Cepheus) using Tapatalk
Thanks, but I fixed it already.
As I described / updated in the OP there is a tool with which you can use some firmware roms in tgz format to flash over the fastboot state to get a "stock rom-ish" state back.
Once in the stock rom you have to go through the basic setup routine and then activate USB Debugging, then you can install TWRP, other Roms as per usual.

Categories

Resources