Question Phone-Root boots into the Miui recovery with root (NON-TWRP) - Xiaomi Mi 11 Ultra

Hi,
Im testing my phone without, NON-TWRP.
After root, and shutdown/restart the phone, the phone boots automaticly to Miui recovery instead of starting the phone normally...
After 10 min, the phone starts in the normall mode with root.
How to fix this that the phone that the phone doesnt boot into recovery mode of Miui?

Reflash tje boot.img from the rom.

krepsz said:
Reflash tje boot.img from the rom.
Click to expand...
Click to collapse
If I flash the orginal boot.img of the current rom, then its unrooted. But If I patch the current/boot.img of the current rom and flash it with the modified_magisk_boot.img file, it boot into the bootloop recovery; MUIU Recover 5.0

Ok. Than you have to reflash the rom. I mean its helps.

krepsz said:
Ok. Than you have to reflash the rom. I mean its helps.
Click to expand...
Click to collapse
What do you mean to reflash the rom?
I flashed now the orginal boot.img and now the phone boots but without ROOT.
Now, If i take the orginal boot.img to magisk_modified_boot.img (fastboot flash boot magisk_patched-25200_MSizj.img) then the phone gets in the recovery-MUIU 5.0 Bootloop.
So what am doing wrong?

Patch again the boot.img and flash it trough fastboot.

krepsz said:
Patch again the boot.img and flash it trough fastboot.
Click to expand...
Click to collapse
Same result... the next boot is into the MUIU Recovery bootloop.

Related

Fresh root, recovery not booting

Finally decided to root my own device to find out that the recovery is not working when I try going into it on the bootloader mode. It is a rooted device and I've tried flashing the twrp recovery through the command prompt and also through the flashify app. It only works when I try booting in from the flashify app but doesn't work through the bootloader, when trying it through the bootloader i select the recovery and the phone turns off. Anyone have a clue of how I could try to make it work, I would appreciate any help. Thanks
Blue.F150 said:
Finally decided to root my own device to find out that the recovery is not working when I try going into it on the bootloader mode. It is a rooted device and I've tried flashing the twrp recovery through the command prompt and also through the flashify app. It only works when I try booting in from the flashify app but doesn't work through the bootloader, when trying it through the bootloader i select the recovery and the phone turns off. Anyone have a clue of how I could try to make it work, I would appreciate any help. Thanks
Click to expand...
Click to collapse
Looks like a system error which can be solved only if you flash the factory image again
which command did yu use "fastboot flash recovery (twrp File name ).img
If it didn't work, flash cwm and then twrp 8.6.0. Maybe it'll work Or flash twrp img while ur in twrp itself. Or download advanced reboot if ur using stock rom.
james11705 said:
Looks like a system error which can be solved only if you flash the factory image again
which command did yu use "fastboot flash recovery (twrp File name ).img
If it didn't work, flash cwm and then twrp 8.6.0. Maybe it'll work Or flash twrp img while ur in twrp itself. Or download advanced reboot if ur using stock rom.
Click to expand...
Click to collapse
Yea it was the fastboot flash recovery trwp.... then tried it and didnt work. Thanks I'll try out the other options you gave me. I tried reflashing stock everything and booting into recovery now it didnt work again with the stock recovery.
Blue.F150 said:
Yea it was the fastboot flash recovery trwp.... then tried it and didnt work. Thanks I'll try out the other options you gave me. I tried reflashing stock everything and booting into recovery now it didnt work again with the stock recovery.
Click to expand...
Click to collapse
Like flashing the full firmware? It should work, because something is wrong with ur recovery system.
james11705 said:
Like flashing the full firmware? It should work, because something is wrong with ur recovery system.
Click to expand...
Click to collapse
I have the same problem. Flashed the stock firmware. Then flashed TWRP in fastboot, but whenever i select recovery from the fastboot menu, the phone just shuts off. Only way to get into recovery is by Flashify app too...

.236 stock LP rom with Offical Twrp

Can I use the stock rom with the offical twrp?
If I can somebody could tell me how to boot the system because If I install twrp as a Kernel image It can t boot.
in order to use Official TWRP Recovery, you should unlock your Z1 to access the Recovery partition and after that you can do it.
lm/\/trix said:
in order to use Official TWRP Recovery, you should unlock your Z1 to access the Recovery partition and after that you can do it.
Click to expand...
Click to collapse
I have root and my bootloader unlocked so If u have time can you help me a little bit? How to install twrp?
so if you have Unlocked Bootloader on your Z1 just boot your Sony into Fast Boot mode and flash TWRP recovery image by these commands.
fastboot flash recovery [RECOVERY FILE ADDRESS]
nemes480 said:
Can I use the stock rom with the offical twrp?
If I can somebody could tell me how to boot the system because If I install twrp as a Kernel image It can t boot.
Click to expand...
Click to collapse
Obviously if you put recovery image in boot partition . How will the system boot ??
Put recovery in recovery partition
fastboot flash recovery insertrecoveryname.img
lm/\/trix said:
so if you have Unlocked Bootloader on your Z1 just boot your Sony into Fast Boot mode and flash TWRP recovery image by these commands.
fastboot flash recovery [RECOVERY FILE ADDRESS]
Click to expand...
Click to collapse
Jeah I know that but i get a message back :tmp-mksh:fastboot: not found . And i tryed to install it with NUT s recovery's twrp but if I install it to FOTAkernel just the recovery boot. Maybe fastboot driver what I should have but I installed that long time ago. Sorry for my english.
in the other side of the coin you should reinstall fastboot and drivers.
lm/\/trix said:
in the other side of the coin you should reinstall fastboot and drivers.
Click to expand...
Click to collapse
I did it. Same things when I try to install the twrp. I tryed it after clean flash the stock rom but it not solve my problem. any idea?
try it on another pc!
It will be okay just I need to take the phone to fastboot mode. But I installed again the nuts so tomorrow I will try it. Thanks everyone.
Well, I can t solve the problem. Still cannot install twrp. Please somebody help me. Stock rom support twrp?
Just flash the latest .236 stock rom and boot into fastboot and flash twrp recovery as RECOVERY not KERNEL!
Look, I tryed to flash stock after do this process but It never worked.

Fix boot

So I was restoring the stock boot image so I could flash magisk, and I ran into a bit of a problem. I tried booting it up after flashing, and it's stuck on the boot screen so I'm assuming I flashed a bad boot. This wouldn't normally be a problem, except that my volume up button doesnt work meaning I can't boot back into recovery mode/bootloader. Is there a way to get to the bootloader or recovery screen without using the volume up button?
I think you might have accidentally flashed the stock boot image to your recovery. Have you checked the option to flash the boot image and not recovery?
frosted.efizzle said:
I think you might have accidentally flashed the stock boot image to your recovery. Have you checked the option to flash the boot image and not recovery?
Click to expand...
Click to collapse
I'm pretty sure I flashed to boot, I can turn it on and it just shows the blu logo. Before I had a custom boot image though and it's not showing that anymore though.
I'm assuming that custom boot image came prerooted right? You might need to flash the rom that came with the custom image to boot. An easier way to get Magisk which I've done is to flash rom, then flash the unSU zip to remove traces of root then you can flash Magisk like normal.
frosted.efizzle said:
I'm assuming that custom boot image came prerooted right? You might need to flash the rom that came with the custom image to boot. An easier way to get Magisk which I've done is to flash rom, then flash the unSU zip to remove traces of root then you can flash Magisk like normal.
Click to expand...
Click to collapse
I would do that, except with the volume up button broken I'm unable to get to recovery mode, and without being able to boot into the system I can't use adb

Accidentally flashed TWRP in the boot partition

Hello,
So I did a mistake by flashing TWRP into the boot partition... Now whenever I reboot my phone it enters TWRP. How can I fix that or is it bricked? I can't find anywhere on the Internet stock boot images, only some modded kernels or something like that. Can anyone tell me how can I get stock boot.img and flash it so that I can use my phone again?
Aspect13 said:
Hello,
So I did a mistake by flashing TWRP into the boot partition... Now whenever I reboot my phone it enters TWRP. How can I fix that or is it bricked? I can't find anywhere on the Internet stock boot images, only some modded kernels or something like that. Can anyone tell me how can I get stock boot.img and flash it so that I can use my phone again?
Click to expand...
Click to collapse
Downllad zip or tgz file for your extract firmware, ectract boot img and then flash by fastboot to boot

Stuck In Fastboot Mode

I was on stock 12.1 (rooted, bootloader unlocked) and wanted to try out this ROM e/OS.
Went through the first step of flashing the recovery, after which it is now stuck in Fastboot mode.
I did try to boot into TWRP to install a ROM or do a factory wipe via Fastboot but any command just takes me back to Fastboot.
Any ideas on how to fix this?
Thanks.
bluegrass55 said:
I was on stock 12.1 (rooted, bootloader unlocked) and wanted to try out this ROM e/OS.
Went through the first step of flashing the recovery, after which it is now stuck in Fastboot mode.
I did try to boot into TWRP to install a ROM or do a factory wipe via Fastboot but any command just takes me back to Fastboot.
Any ideas on how to fix this?
Thanks.
Click to expand...
Click to collapse
What happens when you try to boot TWRP?
Is there an error message at the bottom of the bootloader screen?
V0latyle said:
What happens when you try to boot TWRP?
Is there an error message at the bottom of the bootloader screen?
Click to expand...
Click to collapse
It returns back to fastboot.
Just noticed the error message "error boot prepare"
bluegrass55 said:
It returns back to fastboot.
Just noticed the error message "error boot prepare"
Click to expand...
Click to collapse
Ah, this usually happens when you are trying to use a custom ROM with the stock boot image. Extract the boot image from the ROM you're trying to install then flash it to /boot.
Otherwise, use a GSI.
V0latyle said:
Ah, this usually happens when you are trying to use a custom ROM with the stock boot image. Extract the boot image from the ROM you're trying to install then flash it to /boot.
Otherwise, use a GSI.
Click to expand...
Click to collapse
Thanks for the quick reply.
I'll try flashing the custom ROM boot image first. By GSI do you mean the stock boot image?
bluegrass55 said:
Thanks for the quick reply.
I'll try flashing the custom ROM boot image first. By GSI do you mean the stock boot image?
Click to expand...
Click to collapse
Managed to sort it out from the instructions on this website to unbrick Pixel4.
Restore Pixel 4/XL/4a to Stock Firmware via Fastboot | Unbrick it
In this tutorial, we will show you how to restore Pixel 4, 4 XL, and 4a to Stock Firmware via Fastboot Commands and then unbrick it.
satus.keystoneuniformcap.com
bluegrass55 said:
Thanks for the quick reply.
I'll try flashing the custom ROM boot image first. By GSI do you mean the stock boot image?
Click to expand...
Click to collapse
No, Generic System Image. May not be available for the custom ROM you're trying to use.
bluegrass55 said:
Flashing stock boot didn't work.
I hadn't flashed the custom ROM. Just the custom ROM recovery, with which you install the ROM.
Click to expand...
Click to collapse
I would suggest asking in the ROM thread, but make sure you read back as the question may have been answered before.
To get your device working for now, just flash back to stock

Categories

Resources