Mi4i only starting into stock recovery or freeze - Xiaomi Mi 4i

Hey ho!
I wanted to flash lineage yesterday but got stuck quite early in the process. This is what I did:
- flash TWRP and reboot into TWRP
- wipe all Data
- trying to push necessary files via adb/fastboot
Now, the phone is stuck in the MI Logo forever (let it run over night) and the only other mode I can at least sometimes force is the stock MIUI recovery option. But since there is no package to install on my phone, I don't see a way to push anything on there to flash it. ADB says device is unauthorized if it is booting into recovery. During the MI Logo, there is no way to interact with my phone from it nor desktop.
Any ideas appreciated
All the best.

Related

After rooting my nexus 5 is not booting up with non stop booting animation

I have a nexus 5 16 GB and i downloaded the recent software update android 6.0.1 and then I decided to root and I used 'Nexus root toolkit v2.06' and first unlocked the bootloader and then rooted. Everything worked fine but after the process was complete it was rebooting and the booting animation went on and on for many hours and the device did not root. I really don't know what's going on. My purpose is to install a custom rom: cyanogenmod 12. Now what should I do ???? PLEASE HELP. When i try to enter recovery mode it shows a picture of the android mascot with opened back and exclamation and cannot enter command as well. and after some time the booting animation begins and goes on and on...
please help...
nexus_5_ said:
I have a nexus 5 16 GB and i downloaded the recent software update android 6.0.1 and then I decided to root and I used 'Nexus root toolkit v2.06' and first unlocked the bootloader and then rooted. Everything worked fine but after the process was complete it was rebooting and the booting animation went on and on for many hours and the device did not root. I really don't know what's going on. My purpose is to install a custom rom: cyanogenmod 12. Now what should I do ???? PLEASE HELP. When i try to enter recovery mode it shows a picture of the android mascot with opened back and exclamation and cannot enter command as well. and after some time the booting animation begins and goes on and on...
please help...
Click to expand...
Click to collapse
Unless something has changed, version 6. requires that you flash a special kernel before you can root your phone otherwise you are as you are now, stuck in a boot loop. You should probably download the factory image from Google, and then flash the system image to get rid of what you have done.. Perhaps then your phone will start normally
funnel71 said:
Unless something has changed, version 6. requires that you flash a special kernel before you can root your phone otherwise you are as you are now, stuck in a boot loop. You should probably download the factory image from Google, and then flash the system image to get rid of what you have done.. Perhaps then your phone will start normally
Click to expand...
Click to collapse
Thank you very much for the reply, I really do have no idea as to how to flash the factory image because i am very new in this area. Could you please recommend software and which factory image i should download, please ?? thanks very much.
:good:
funnel71 said:
Unless something has changed, version 6. requires that you flash a special kernel before you can root your phone otherwise you are as you are now, stuck in a boot loop. You should probably download the factory image from Google, and then flash the system image to get rid of what you have done.. Perhaps then your phone will start normally
Click to expand...
Click to collapse
Also, you mentioned a 'special kernel' what does that mean. All i want to do to my device is install cyanogenmod 12 and for that i believe it needs to be rooted, so i am really confused. What should I do know
I'm having this same problem, and unfortunately, when I start the phone on fastboot, I can not access the recovery mode in order to upload a factory image of nexus 5.
I used the new tool available her for quick flash, and now, I don't have a phone.
First, don't panic. Your phone is still very easy to recover. Unfortunately I can't get you a complete walkthrough here (for now at least), so I'll give you the main idea and you'll have to do your homework (as maybe you should have done before).
1. You need to get fastboot working on your computer. It's included in the Android sdk package, but there might be some easier way to get it. Google it. You might need drivers for your pc too. Google it as well.
2. Then you need to get into fastboot mode on your phone. To do it, hold down power button AND volume down button until it gets into fastboot mode. You will see an android on his back with the cover open. At this point, connect your phone to your pc, open a terminal on your pc and type "fastboot devices" without the quotes "". It should find your phone if fastboot is working. If it doesn't work go back to step 1.
3. Download TWRP recovery on your pc and place the img file in the same folder as your fastboot executable (not mandatory but easier). It can be found here https://dl.twrp.me/hammerhead/
4. Always in fastboot mode, type "fastboot flash recovery twrp-2.8.7.1-hammerhead.img" assuming you downloaded that file, which you should have by the way. It should install fine. If you haven't placed the file in the same directory as your fastboot executable, you will need to provide the path to your img file as well.
5. Then use the volume rocker to switch between modes and choose reboot recovery.
6. You should now be in TWRP recovery. At this point, download a custom kernel (anyone found on xda for hammerhead should do) and push it to your phone. It should be fairly simple with TWRP. Then flash your new kernel using install. It should help you get your phone booting normally. Alternatively, you can download a custom ROM like cm12.1 and flash it altogether. It will install everything needed for your phone to boot up too. Beware if flashing a ROM though, I strongly advice you to do a factory reset before flashing it. You will find that option in the wipe menu.
Hope it helps, let me know if you need further assistance.
Yesterday, I have tried everything to have my computer to recognize the "fastboot" command, and I installed like 2 or 3 different programs for that. With my old Windows 7, I have been able to push a flashed image to fix this issue, using the fastboot command, but with Windows 10, it's always telling me it's not a valid command. I'll keep trying it, otherwise, i'll have to "resurrect" my old Windows XP computer.
Also, I noticed now that, while trying to install the fastboot, as per some files that I could download, but no file has been copied into my computer, not even if I run it as admin.
fixed. but no RECOVERY mode options....
Hi Guys,
Thank you very much for the help, I have finally recovered the phone and running android 6.0 MRA58N but it is not rooted. Now if you don't mind could you teach me how to root because i have checked lots of videos and tuts but none worked for me...
IMPORTANT:
when i am in recovery mode why cannot I access options even when i press volume up + power button and release them at the same time...????
Thanks in advance.
Just flash a custom recovery via fastboot. Just make sure your bootloader is unlocked. Can't link though.
hi guys i have used nexus 5 mobile with cyanogenmod 14.1 .It worked properly in 1 year. after that suddenly switched off and it not properly boot up .i try to switch on my mobile , first it show google with unlock logo properly and when it show cyanogenmod logo it stuck and again show google with unlock logo....i try recovery mode to wipe and flash the same rom ....the process is interrupt at middle stage and again show the google..i try lots of time . after few try that process finished completely without interrupt. then use my mobile 1 day same as i used first time root. after that same problem occur on my mobile ..so help me guys
@[email protected], possible power button problem?

[EMERGENCY] Bricked Nexus 5 Cant Boot Into Recovery Mode

Hi there, having just the old casual phone crisis. I was running cyanogenmod 12.1 for awhile and decided to finally upgrade to a nougat 7.1 build.
I tried using this one https://forum.xda-developers.com/google-nexus-5/development/rom-dark-rom-t3492150 using adb sideload as I had tried a earlier one and the gapps messed up so I wasn't able to put twrp back on the phone. The rom said it had installed successfully but I wasn't able to sideload gapps, I kept getting an error status 255. I went ahead and just tried to load the rom without gapps and see if I could install it slowly through APKs. I managed to get past the initial android load and the services started up, and it got in an endless crash loop because the phone service wouldn't start. So I went to try and flash another rom and was going to delete the cache. When I went to delete the cache the phone hung for about an hour so I tried to just reset it into recovery mode again.
Now when I hold the power button and volume down key to into fastboot mode I can. I have access to the initial screen with the four options, but when I try to start recovery mode or start the phone my screen goes black, and it'll flash the dead android symbol with the error saying unable to mount cache, it only flashes it for like half a second then goes black and repeats every 10-15 seconds.
I tried holding power down, doing volume up, and letting go to do a hard factory reset but it does nothing. I also can't seem to access the adb sideloading anymore, I'm very scared that it's hard bricked, is there anything I can do at all to fix this.
Flash a new version of the recovery via fastboot. Then do a full wipe. After that install the ROM only! Reboot recovery (not system but recovery) then reflash the ROM (no wipe) and add everything else. Hope this helps you out.
The phone may not boot the ROM without wiping data if installing a 7.1 ROM over a 5.1.1 ROM.

Oneplus One stuck in recovery

Event 1 : My oneplus one got stuck within TWRP recovery, have tried flashing other custom ROMs but while rebooting to system it rebooted back to TWRP recovery every time. Tried to reboot the phone to bootloader mode, even that resulted to rebooting to TWRP.
Event 2 : After this I've replaced the TWRP recovery with stock recovery, then connected to my computer through adb sideload via the OTA update option in stock recovery menu. But since I do not have the OTA update file can not test either it will boot or not. Here I require the whole zip file not just the new update portion.
Now, is there anyway to get to twrp recovery again or boot the stock rom in the phone.
Any form of help is much appreciated...
Raj_at said:
Event 1 : My oneplus one got stuck within TWRP recovery, have tried flashing other custom ROMs but while rebooting to system it rebooted back to TWRP recovery every time. Tried to reboot the phone to bootloader mode, even that resulted to rebooting to TWRP.
Event 2 : After this I've replaced the TWRP recovery with stock recovery, then connected to my computer through adb sideload via the OTA update option in stock recovery menu. But since I do not have the OTA update file can not test either it will boot or not. Here I require the whole zip file not just the new update portion.
Now, is there anyway to get to twrp recovery again or boot the stock rom in the phone.
Any form of help is much appreciated...
Click to expand...
Click to collapse
I guess I know what caused the rebooting of twrp everytime.
It's because of the vol - button is getting pressed
automatically. Just open the back over and clean the vol button strips then reattach the back cover properly,your issue of twrp rebooting should be solved.
And you can flash the twrp using fastboot then flash any rom you want to.
The issue got figured out..thanks a lot sir..your effort is much appreciated..
Mr.Ak said:
I guess I know what caused the rebooting of twrp everytime.
It's because of the vol - button is getting pressed
automatically. Just open the back over and clean the vol button strips then reattach the back cover properly,your issue of twrp rebooting should be solved.
And you can flash the twrp using fastboot then flash any rom you want to.
Click to expand...
Click to collapse
:good::good::good::good:
Thanks a lot sir..I checked out the phone and found the same fault to be present there...Thereafter everything was easy as usual..

System is not booting after flashing TWRP

I have flashed TWRP 3.3.1 successfully . after that I rebooted into TWRP and it does not enter its recovery UI. After that, I tried to reboot the phone but it goes to recover screen again without entering recovery UI. I can't open my phone now. please help.
At the beginning, after flashing the twrp it was showing only TWRP screen not the options. then i rebooted the system and the phone rebooted without any issue (till now, phone was ok). then I again flashed the twrp but it remained the same. after that i tried different command from the Powershell. (fastboot boot twrp.img) and it showed downloading. after waiting for 5 min, I just closed the PowerShell and tried to reboot. from that time I cannot boot my phone anymore. then i again flashed the recovery but could not boot the phone. when i triy to boot the phone it only shows the recovery screen. I've attached the commands that I used to flash TWRP. Please help me to solve the problem.
zahidhasanzahid said:
I have flashed TWRP 3.3.1 successfully . after that I rebooted into TWRP and it does not enter its recovery UI. After that, I tried to reboot the phone but it goes to recover screen again without entering recovery UI. I can't open my phone now. please help.
At the beginning, after flashing the twrp it was showing only TWRP screen not the options. then i rebooted the system and the phone rebooted without any issue (till now, phone was ok). then I again flashed the twrp but it remained the same. after that i tried different command from the Powershell. (fastboot boot twrp.img) and it showed downloading. after waiting for 5 min, I just closed the PowerShell and tried to reboot. from that time I cannot boot my phone anymore. then i again flashed the recovery but could not boot the phone. when i triy to boot the phone it only shows the recovery screen. I've attached the commands that I used to flash TWRP. Please help me to solve the problem.
Click to expand...
Click to collapse
Have you tried booting the recovery by pressing Power + Vol up?
zahidhasanzahid said:
I have flashed TWRP 3.3.1 successfully . after that I rebooted into TWRP and it does not enter its recovery UI. After that, I tried to reboot the phone but it goes to recover screen again without entering recovery UI. I can't open my phone now. please help.
At the beginning, after flashing the twrp it was showing only TWRP screen not the options. then i rebooted the system and the phone rebooted without any issue (till now, phone was ok). then I again flashed the twrp but it remained the same. after that i tried different command from the Powershell. (fastboot boot twrp.img) and it showed downloading. after waiting for 5 min, I just closed the PowerShell and tried to reboot. from that time I cannot boot my phone anymore. then i again flashed the recovery but could not boot the phone. when i triy to boot the phone it only shows the recovery screen. I've attached the commands that I used to flash TWRP. Please help me to solve the problem.
Click to expand...
Click to collapse
Now since you are bootlooping we would need to install MIUI back again, to do this download the MiFlash Tool and the fastboot ROM for the latest MIUI, now copy it's file path and paste in MiFlash Tool, also make sure it detects your phone, now in the bottom right corner there would be an option like flash_everything_except_internal (similar to this) so that the internal storage isn't erased, now flash the ROM and let the phone boot up atleast once.
Once that's done use this TWRP (https://forum.xda-developers.com/re...unofficial-twrp-3-3-1-proper-t3933531/page4), it has a fix for the encryption bug and won't lead to a bootloop (the password/code/pattern asked in it is the same as the phone's), now you have TWRP installed and running
Thanks for your support. I followed the instruction and bootup the phone. But I'm afraid of flashing TWRP ?
It worked. I installed TWRP without any issue . Thanks again ?
TWRP 3.3.1 has bug, reinstall TWRP 3.2.3 and boot to recovery and then reboot to system.
Naveenthemi said:
Now since you are bootlooping we would need to install MIUI back again, to do this download the MiFlash Tool and the fastboot ROM for the latest MIUI, now copy it's file path and paste in MiFlash Tool, also make sure it detects your phone, now in the bottom right corner there would be an option like flash_everything_except_internal (similar to this) so that the internal storage isn't erased, now flash the ROM and let the phone boot up atleast once.
Once that's done use this TWRP (https://forum.xda-developers.com/re...unofficial-twrp-3-3-1-proper-t3933531/page4), it has a fix for the encryption bug and won't lead to a bootloop (the password/code/pattern asked in it is the same as the phone's), now you have TWRP installed and running
Click to expand...
Click to collapse
I have now flashed TWRP. But my phone isn't booting into TWRP recovery and the power button and volume UP button is booting the phone into MIUI recovery. Also when booting into the system, it's asking for a password when I had no passwords on the device. Will MiFlash Tool help in this case??
mad_hat said:
I have now flashed TWRP. But my phone isn't booting into TWRP recovery and the power button and volume UP button is booting the phone into MIUI recovery. Also when booting into the system, it's asking for a password when I had no passwords on the device. Will MiFlash Tool help in this case??
Click to expand...
Click to collapse
The password is on the phone lock screen? In that case your device must have got encrypted, you might have to format all partitions and then flash with Mi Flash.Do have a try with MiFlash first, might help if it's not encrypted. Also make sure you used the right commands to flash the recovery, and use OrangeFox or Peter's.

Problems Rooting Blackview BV5500Pro

Hi there. I got trouble rooting my Blackview BV5500Pro with Android 9.0
Its not the first smartphone im rooting, so im not new to this. But im also not a professional or something, even english is not my native language so sorry for my bad grammar.
At first i tried the way i done this bevore to my smartphones:
1. Unlock OEM via Fastboot
2. Flash TWRP 3.3.0 (The only working twrp i found) to Recovery
3. Boot into TWRP.
To this point everything works fine.
But when i install Magisk 21.4. i get a bootloop.
also when i install SuperSu 2.8.2
So i tried to patch the boot image via Magiskmanager App 8.0.7.. Everything works fine. I can flash the patched boot image via fastboot, twrp or sp flash tool. But when i open Magisk after booting the patched image, there is no option to install Magisk or root the Phone. Only to patch the boot image. Even when i boot the patched image directly with fastboot.
Maybe somone here can help me.
Best regards, Jules.
Edit: I Also treid to install Liniage OS 17 and 18. Via fastboot, twrp and sp flash tool, but also get a bootloop.
Hi
I'm sorry, I cant't answer your question, but I have one to you: I'm trying to install LineageOS on a bv5500pro too (by the guide from here), but I'm stuck at the TWRP installation. Can you tell me how you managed to do it and do you have perhaps a link to the TWRP you used?
I did unlock the bootloader by toggling OEM Unlock in developer settings, then via fastboot: fastboot flashing unlock. Then reboot.
Then I pushed TWRP 3.2 (from this source here, from the tutorial here) by fastboot flash recovery recovery.img. When I tried then to boot directly after flashing into twrp recovery by holding vol up + power, then selecting recovery mode and confirming with vol down, it tries to boot normally instead of recovery. I think, my TWRP flashing didn't work properly. Booting into TWRP by fastboot boot recovery.img doesn't work either, there it reboots and tries to boot normally too. fastboot tells me that it loses connection (normal, since my phone reboots, I think?):
Code:
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.017s]
booting...
FAILED (status read failed (No such device))
finished. total time: 23.457s
What I have to confess, is that I did wipe the system, data and cache partitions using fastboot erase <partition>, perhaps someone knows if I have problems with twrp because of that? (I know that I shouldn't have done this, sometimes curiosity is equal to stupidity...) I did this because I tried to install LineageOS without twrp. Was a bad idea, I know now...
I am on a HP proBook using Debian 10 with adb and fastboot installed. Not sure if MK65xx drivers are installed. Might this pose problems?
Thanks in advance to all here!
EDIT: Sorry, I forgot to mention a lot of things. I corrected some of them here. A more complete overview in another post can be found here.
hi, at least im not alone having trouble with the BV5500pro. I don't remember where i got the twrp exactly, but i uploaded it for you.
File-Upload.net - recovery-verified.rar
Datei: recovery-verified.rar. Die Datei wurde von einem User hochgeladen. Laden Sie auch kostenlos Dateien hoch mit File Upload.
www.file-upload.net
At first i flashed TWRP with fastboot. But then everytime i could boot in twrp only one time. After the next reboot the stock Recovery was reinstalled. So i used the Stock images
Blackview BV5500 Pro factory firmware (flash file)
This Blackview BV5500 Pro firmware flash file (stock ROM) can help you easily un-brick or restore your device to its default or factory state. If you have previously rooted or modified the system (or other) partition of the phone in any way, flashing this stock ROM will overwrite all existing...
www.leakite.com
and replaced the recovery-verified.img with the TWRB image and fashed everyting wit sp flashtool on my phone. After that TWRP was permanent.
Ok, great, thanks for your fast reply. I'll try it again with your image.
GiRonimoon said:
At first i flashed TWRP with fastboot. But then everytime i could boot in twrp only one time. After the next reboot the stock Recovery was reinstalled.
Click to expand...
Click to collapse
How did you boot into TWRP then? By Volume up + power, then selecting recovery mode and confirm with vol down? or by terminal/fastboot command?
edit: small grammar
By Volume up + power.
Thank you
Ok, quick update: Flashing worked, but reboot not, I think. I managed to boot into TWRP, but I managed too once with my image before (I forgot to mention), where the screen was then not responding. A complete description of my case can be found here on xda. Sorry for the late corrections that are made in this post, I'll correct them above...
Now after the flash with the image from GiRonimoon above, I can boot into TWRP and the TWRP start screen shows: TWRP Recovery Project 3.3.0-by *nemo-nemo* (4pda.ru), and when I'm in, the screen is not responding. It was like this with my first TWRP image too, so perhaps the flashing didn't work and I have still my old image which is not working?
GiRonimoon said:
By Volume up + power.
Click to expand...
Click to collapse
Ok. But when I boot into recovery, the exact things I do is:
1. phone powered off
2. Hold volume up + power until boot mode selection screen appears
3. Select recovery mode with volume up, then confirm with volume down
4. the phone reboots (screen goes black for about 1 sec), Blackview logo is shown (as well as a 'orange state' warning message), 5 sec delay because of orange state.
5. screen goes black for 1/2 sec
6. TWRP is open, screen not responding, asking for password for decryption
Exactly the same for booting into recovery via terminal/fastboot (just insert fastboot command at 1.). So since the phone reboots once in between, is it possible that my new TWRP is erased every time? Do your BV5500pro behaves also like this (except the orange state, I think)?
Thanks in advance
How long you are waiting? In my case TWRP needs a long time to start. At first i was thinking that it freezes at startup.
I just foubnd out that every boot into twrp causes a boot loop.. Even when i just boot twrp to see the versionnumber, and then reboot normaly.
GiRonimoon said:
How long you are waiting? In my case TWRP needs a long time to start. At first i was thinking that it freezes at startup.
I just foubnd out that every boot into twrp causes a boot loop.. Even when i just boot twrp to see the versionnumber, and then reboot normaly.
Click to expand...
Click to collapse
When I manage to boot into TWRP it's rather fast - I have to wait around 7 sec or so, maybe 10. But I only manage sometimes. Normally I have to do fastboot boot recovery.img, and after that do the normal steps to boot into recovery. If I try to boot into recovery, it just tries to boot normally (which ends in a bootloop)...
But I think I'll try to flash a stock rom and retry from there, as it was suggested here.

Categories

Resources