I recently unlocked my Nokia 7.1 bootloader and went ahead to flash TWRP recovery which was successful. Next I tried to flash magisk via TWRP but after flashing, I rebooted my phone and magisk was not working properly so I rebooted into TWRP again and went ahead to flash magisk in "A" partition since the first flashing of magisk was in t "B" partition, now after selecting A partition in TWRP, I rebooted but it returned back to TWRP splash screen now nothing works I can't boot into fastboot because it will always return to TWRP splash screen, PLEASE ANY HELP WOULD BE APPRECIATED. Thanks
Flush the stockrom boot.img to get it back.
Twrp and magisk are only related to boot.img.
TWRP should not be flushed in nokia 7.1.
It boots by typing "fastboot boot twrp.img" every time.
Related
No matter how I try to flash the TWRP recovery image to the recovery partition, TWRP gets replaced by the crappy stock recovery!! This is absolutely maddening!
Specifically, it seems that no matter what method to use to flash the TWRP recovery, it gets overriden by the stock loader when the phone reboots.
My bootloader is UNLOCKED and I've installed a custom rom just fine by using the command fastboot boot twrp.img to boot into the twrp image. This is the only way I'm able to use TWRP at all.
I've tried:
fastboot flash recovery twrp.img
Booting into TWRP, and flashing the image over the recovery partition
Flashify to flash the TWRP over the recovery partition from within the rom
Trying to flash cyangenmod's recovery from within the rom (was pretty desperate at this point..)
I've also tried many different versions of TWRP, I can boot into them just fine but none of them stick when I flash them to the recovery partition.
It always says it's successful when I try to flash it, I reboot into recovery, and it boots into the piece of crap EmUI stock recovery screen every time
Anyone have any pointers here? It's not the end of the world but it's pretty aggravating having a completely useless recovery if I'm not near a computer,.
Try using Flashify or Flashfire.
Sadly didn't work. It doesn't seem to matter how I flash the recovery, the bootloader replaces it with the stock recovery when it boots. I'll update the OP to clarify, but thank you
I am having same issue have you found a fix
Have you tried starting completely over? Like, downloading the official MM build (b331, C564D003) from Huawei (Assuming you're on L24)?
On the new, freshly installed ROM, make sure that USB Debugging is and enable OEM Unlock are on in the developer settings.
Then, try flashing this build of TWRP again.
Before rebooting, do a Cache/Dalvik Wipe.
Boot up into the stock rom, then use 'adb reboot recovery' to see what happens next. It should work...
Hi mate,
It'd be easier to help you if you could post a screenshot of your FASTBOOT screen. There will be a line that will say FRP=LOCKED/UNLOCKED something like this.
if it is locked,
you have to install stock rom & enable OEM unlock from setting.
Then relock the boot loader. Then again unlock the boot loader.
For myself, I unlocked my BL unofficially, & this problem occurred . I solved it this way...
Hope it helps.
Cheers!
Hey!
I Have a Kate running latest global developer that i unlocked officially through the mi unlock program.
I have been trying to install TWRP ( unoffical twrp, Alka, coffee) through ADB ( fastboot flash recovery twrp.img) for some days now but i wont work!!
ADB dont displays any errors and says everything finished but when i try to boot to recovery it's still stock xiaomi recovery??
What might be the problem and how do i fix it?
BTW, adb reports that the phone is unlocked (fastboot oem device-info).
Are you trying to boot TWRP straight after flashing it. If your booting the official rom first, then that is restoring stock recovery.
After flashing TWRP, manually boot the device with Vol + and Power button.
Alternatively boot TWRP with "fastboot boot <twrp.img>" and from TWRP reboot to recovery again so you actually boot the version on the device.
the newest dev rom has "feature" to revert your recovery back to stock when you boot the OS. so be prepared. after you flash your twrp, immediately boot to TWRP and wipe /system to install other OS.
corkiejp said:
Are you trying to boot TWRP straight after flashing it. If your booting the official rom first, then that is restoring stock recovery.
After flashing TWRP, manually boot the device with Vol + and Power button.
Alternatively boot TWRP with "fastboot boot <twrp.img>" and from TWRP reboot to recovery again so you actually boot the version on the device.
Click to expand...
Click to collapse
IvanKurnia said:
the newest dev rom has "feature" to revert your recovery back to stock when you boot the OS. so be prepared. after you flash your twrp, immediately boot to TWRP and wipe /system to install other OS.
Click to expand...
Click to collapse
THANKS! That was the problem. Now everything works.
Cross-post from here
I have a frustrating issue.
After booting into fastboot mode, I type the following commands where recovery.img is the TWRP mido image. I also have lazyflasher and SuperSU on my SD card, but onto that later...
I type :
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
The phone boots into TWRP perfectly. I then flash the lazyflasher zip file. However when I try to boot back into recovery, the Mi logo briefly appears, then nothing... black screen.
So at the moment, I don't care about what is on internal storage. I went to wipe-->format data, then rebooted straight into bootloader to try and flash TWRP again. However this also gives me a black screen when I try and boot into recovery after installing Lazyflasher. I tried again, however I also flashed SuperSU immediately after lazyflasher. Rebooting into recovery from TWRP gives me a black screen again.
Should I perhaps try to flash a custom kernel? I am lost for other solutions.
TLDR: TWRP unsuccessful after: fastboot flash recovery, then fastboot boot recovery.img, then flashing lazyflasher, followed by flashing SuperSU, then choosing Reboot-->Recovery.
bigpavmate said:
Cross-post from here
I have a frustrating issue.
After booting into fastboot mode, I type the following commands where recovery.img is the TWRP mido image. I also have lazyflasher and SuperSU on my SD card, but onto that later...
I type :
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
The phone boots into TWRP perfectly. I then flash the lazyflasher zip file. However when I try to boot back into recovery, the Mi logo briefly appears, then nothing... black screen.
So at the moment, I don't care about what is on internal storage. I went to wipe-->format data, then rebooted straight into bootloader to try and flash TWRP again. However this also gives me a black screen when I try and boot into recovery after installing Lazyflasher. I tried again, however I also flashed SuperSU immediately after lazyflasher. Rebooting into recovery from TWRP gives me a black screen again.
Should I perhaps try to flash a custom kernel? I am lost for other solutions.
TLDR: TWRP unsuccessful after: fastboot flash recovery, then fastboot boot recovery.img, then flashing lazyflasher, followed by flashing SuperSU, then choosing Reboot-->Recovery.
Click to expand...
Click to collapse
Also, once just flash lazyflasher.zip /super su from twrp > next reboot into system from twrp! Do not choose reboot to recovery for the first time. Boot to system..
Okay guys, I have found the solution, although I would still like to know WHY this happened!
I used fastboot + Xiaomi Flash Tool to flash the latest stable ROM. I then enabled USB Debugging, and did all the same steps which resulted in being able to boot into recovery normally! I didn't flash lazyflasher this time because I flashed SuperSU instead, apparently it patches the dm-verity thing too. This was a suggestion from this post
Hello! This is my first thread on the forum;
I'm writing because I think I soft bricked my Xiaomi Mi Pad 4 LTE, let me explain from the very beginning.
It's a brand new device, bought today, and with a custom italian ROM which was sold with.
I just wanted to root it, and the bootloader was already unlocked because it was a custom ROM, so I tried to install TWRP (mocha version for Mi Pad) with Fastboot and then I wanted to install Magisk.
The issue is that, when I tried to flash TWRP to recovery with fastboot flash recovery twrp.img, it all went "OK" but then TWRP was not actually flashed and couldn't boot it with key combinations, it just looked like it wasn't there. I also tried to boot it without flashing, with fastboot boot twrp.img but it gave me
"Failed to load/authenticate boot image: 00000050" error
Looking on the web, I found someone who told to try fastboot flash boot twrp.img and so, without even thinking, I did it.
That's the main issue. I rebooted, and found that TWRP started, but now I couldn't boot my device anymore, because the default boot.img file was replaced by twrp.img. So, practically, TWRP replaced my device's default system (I think?).
Then, I tried to find a stock firmware for Mi Pad 4 (Clover) on the web, and I found it, so I flashed the stock firmware boot.img, fastboot flash boot boot.img, but when I rebooted, the device was stuck in the loading screen with three dots loading over a "Powered by Android" logo. I waited 20 minutes, nothing, it looks stuck, so this stock boot.img doesn't seem to work.
I can actually flash TWRP and that stock boot image both whenever I want and switch between them; the first works, the latter doesn't.
So, in poor words: I flashed twrp.img as boot.img and now I can't boot normally, but TWRP starts when turning on my device.
But I just want to get my default boot.img or system, or any other way to reaccess to my device. That's fine even if I have to hard reset or wipe everything, it's fine even if I am going to lose data, but please, just help me.
Can someone help me? I'm just a newbie in this world, please help me unbricking my device.
Thanks in advance.
Try installing twrp again and boot to it
Download custom rom.of your choice ( im using hovac and it been great for a year now )
Move it to your mipad via comouter
Format everything in twrp and install the rom and gapps
--- I just remembered havin same issue u having and if im not mistaking : u should reboot to recovery right after installing twrp ( you dont reboot to system )
Im not really sure about it cause it happened long time ago
@DanielVipx
Sorry, seems you tried that already. Did you try the mi flash tool?
This might help:
https://osdn.net/projects/xiaomifirmwareupdater/storage/Stable/V10/clover/
My TWRP was not loading (just a logo) and I forgot to root my device. I tried other versions and OrangeFox instead, and then "swipe to unlock" appeared, but touches are not working at all. Only side buttons are working.
*Everything works fine in MIUI
Twrp recovery works without root. That's why you can install magisc to root your phone using twrp. Try more twrp project and try to enter multiple times to recovery. I had the same problem and after 2-3 attempts it works. I'm using pitch black recovery And I recommend it with confidence
You can find this recovery here :
https://forum.xda-developers.com/t/...crypted_data-v2-9-0-base-twrp-v3-3-1.4000857/
As I tryed a loot of twrp project this was the most stable for me. Just flash it using fast boot. Or you can boot it Instead of flashing.
Code for boot : fastboot boot twrp.img
You can use this if you have problems on flashing the recovery.. So after you boot on it you can flash the zip file using twrp if it won't flash using your pc / cmd.
INFO:
If you want root and you got boot loop after flashing Magisk with TWRP(Phone stuck at boot process up to 2-3minutes ) boot twrp and format your DATA. DON'T WIPE! FORMAT!
**WIPE/FORMAT DATA**
*Restart your phone and be patient the boot may take some time after perform data format*
Now you should have the Magisk installed! (The data format does not wipe Magisk Manager from the system (!). It will be there.)
-------------
(!) If something goes wrong you can flash again the stock rom downloaded and repeat the process (!)
------------------