Question Phone doesn't boot after flashing Custom recovery

Search This thread

ssamurai

Senior Member
Dec 29, 2012
177
16
Hello Everyone

I have a redmi note 11 Spes, I had TWRP installed and working and the phone was rooted.
Until the last system update 13.0.5.0.SGCINXM that removed the custom recovery and root.
I had to flash it back but the phone didn't boot and keep going back to recovery, I had the pull the boot.img from the latest stock rom and flash it with adb so the phone can boot.
but after trying all the TWRP I found on the internet for redmi note 11 Spes I also tried orange fox too and SHRP no1 worked either it stucks on MI logo or boot directly to recovery or bootloader.

When I try to flash an old stock Rom with miFlash and choose clean all or save user data it always ends with this error "error:Not catch checkpoint (\$fastboot -s .* lock),flash is not done" ,the rom is flashed and work but still can't install a custom recovery the same problem stuck in MI logo or boot to recovery or bootloader.
But when I choose clean all and lock the operation ends with no error I just need to unlock the bootloader again after that still cant make any custom recovery works.
when I try to flash a stock rom, same error when I choose clean all or save user data .

Testing any of those custom recovery with a custom ROM they work with no issue.

Anyone has an Idea what can be the issue.


Regard
 

V0latyle

Forum Moderator
Staff member
Hello Everyone

I have a redmi note 11 Spes, I had TWRP installed and working and the phone was rooted.
Until the last system update 13.0.5.0.SGCINXM that removed the custom recovery and root.
I had to flash it back but the phone didn't boot and keep going back to recovery, I had the pull the boot.img from the latest stock rom and flash it with adb so the phone can boot.
but after trying all the TWRP I found on the internet for redmi note 11 Spes I also tried orange fox too and SHRP no1 worked either it stucks on MI logo or boot directly to recovery or bootloader.

When I try to flash an old stock Rom with miFlash and choose clean all or save user data it always ends with this error "error:Not catch checkpoint (\$fastboot -s .* lock),flash is not done" ,the rom is flashed and work but still can't install a custom recovery the same problem stuck in MI logo or boot to recovery or bootloader.
But when I choose clean all and lock the operation ends with no error I just need to unlock the bootloader again after that still cant make any custom recovery works.
when I try to flash a stock rom, same error when I choose clean all or save user data .

Testing any of those custom recovery with a custom ROM they work with no issue.

Anyone has an Idea what can be the issue.


Regard
I'm not very familiar wtih Redmi devices, but I think they are pretty close to Pixels in the partition layout, meaning they don't have a separate recovery partition. Since the recovery kernel lives in the boot image, flashing a custom recovery image to /boot overwrites the existing kernel and ramdisk. Your device is doing what it's supposed to - loading what's in /boot, which happens to only be the custom recovery.

There does not seem to be a way to permanently install a custom recovery on these devices, because the recovery kernel is compressed, and most custom recoveries do not support the compression needed. Instead, you'd want to "live boot" your recovery image - fastboot boot twrp.img - which sends the image to your phone to temporarily load WITHOUT writing it to the partition.
 

Sheist!

Senior Member
Oct 7, 2009
556
139
Redmi Note 10 Pro
Redmi Note 11
I'm not very familiar wtih Redmi devices, but I think they are pretty close to Pixels in the partition layout, meaning they don't have a separate recovery partition. Since the recovery kernel lives in the boot image, flashing a custom recovery image to /boot overwrites the existing kernel and ramdisk. Your device is doing what it's supposed to - loading what's in /boot, which happens to only be the custom recovery.

There does not seem to be a way to permanently install a custom recovery on these devices, because the recovery kernel is compressed, and most custom recoveries do not support the compression needed. Instead, you'd want to "live boot" your recovery image - fastboot boot twrp.img - which sends the image to your phone to temporarily load WITHOUT writing it to the partition.
Interesting perspective. I've seen this behavior beyond just the lack of a recovery partition, all the way to finding no way to permanently install a custom recovery on this device via ramdisk within TWRP, etc. Some instructions exist on how to install it permanently to ramdisk from within the custom recovery, but none of those attempts worked, at least not on crDroid 9.3 for me. I posted a question about trying a method of flashing a custom recovery to ramdisk directly from fastboot to this forum and the ROM developer, but neither produced any responses. This suggests that it would not be recommended or even possible (I am loath to risking potential data loss), since apparently it has not worked for anyone yet. All my attempts to permanently install a custom recovery on this recovery partition-free phone from recovery send me back to fastboot only.

The installed recovery with crDroid 9.3 is basic and I really want to replace it.

EDIT: I was successful in replacing the stock with TWRP 3.7.0_12-0.img to "ramdisk." Before, it was repeatedly dumping me back to fastboot regardless of choosing system or recovery target. Yay! :geek:(y)
 
Last edited:

ssamurai

Senior Member
Dec 29, 2012
177
16
thank you for our replies
It's fixed i
the rick was in miflash tool atfer doing many research in the internet, the rick was to check verbose and erase all in miflash tool config also removing what's in checkpoint
1686159097898.png


in the config file inside the rom folder I edited flash_all.bat file and removed all the lines that have Antirollback, flashing an old rom worked and the phone booted after flashing TWRP and root
 

barantas0147

New member
Jun 7, 2023
2
1
i am using the same device as you (spes) and i flashed twrp using android platform tools
and i used the following command to boot into twrp then install it from the twrp advanced menu

fastboot boot (twrp.img)

i am using a custom rom and i installed magisk root and i dont have any issues/bootlooping hope this helps
 

Sheist!

Senior Member
Oct 7, 2009
556
139
Redmi Note 10 Pro
Redmi Note 11
i am using the same device as you (spes) and i flashed twrp using android platform tools
and i used the following command to boot into twrp then install it from the twrp advanced menu

fastboot boot (twrp.img)

i am using a custom rom and i installed magisk root and i dont have any issues/bootlooping hope this helps
Please identify which Android version and custom ROM name and version you are using, the step you used to "install it from the twrp advanced menu", and what version of TWRP you are using. Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system."
 

barantas0147

New member
Jun 7, 2023
2
1
Please identify which Android version and custom ROM name and version you are using, the step you used to "install it from the twrp advanced menu", and what version of TWRP you are using. Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system."
1.) i use crDroid 9.3 (Android 13)

2.)after booting into twrp (using the "fastboot boot twrp.img" command) in the advanced menu there is an option called "flash current twrp" which makes the twrp recovery permanent

3.) i use twrp 3.6.1 (unofficial)

i didnt understand the following:
" Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system." "

but this link could help you out:

forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/
 
  • Like
Reactions: Sheist!

Sheist!

Senior Member
Oct 7, 2009
556
139
Redmi Note 10 Pro
Redmi Note 11
1.) i use crDroid 9.3 (Android 13)

2.)after booting into twrp (using the "fastboot boot twrp.img" command) in the advanced menu there is an option called "flash current twrp" which makes the twrp recovery permanent

3.) i use twrp 3.6.1 (unofficial)

i didnt understand the following:
" Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system." "

but this link could help you out:

forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/
What is the source for the TWRP 3.6.1? What name is it? i.e. Nebrassy, Jabiyeff, kewl, etc
Please provide your source link. (important)

To clarify my last question for you, reboot/recovery and then reboot/system within TWRP, did it reboot to recovery/system, or did you get sent to fastboot?
 

Sheist!

Senior Member
Oct 7, 2009
556
139
Redmi Note 10 Pro
Redmi Note 11
1.) i use crDroid 9.3 (Android 13)

2.)after booting into twrp (using the "fastboot boot twrp.img" command) in the advanced menu there is an option called "flash current twrp" which makes the twrp recovery permanent

3.) i use twrp 3.6.1 (unofficial)

i didnt understand the following:
" Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system." "

but this link could help you out:

forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/
Is this your link for the 3.6.1 TWRP?: https://forum.xda-developers.com/t/recovery-twrp-3-6-1-spes-android-11-only-stable-shared.4557149/ (this one looks like the dblenk9 TWRP 3.6.1)

That states this: "Decrypted (Does not support encryption,so format data is necessary to use recovery for A12)" - (which means if you install your ROM encrypted, this recovery will NOT work for you! I am decrypted already, since the always-format step is necessary most of the time anyway with ROM installs, but not everyone may be aware of this.)

Also notice it explicitly says "Android 11 only" at the top (I am on A13), and the following at the end:

"Do not replace the recovery or try to update recovery that comes with roms. This can cause problems such as reboots, apps crashing,etc as recovery is integrated into boot partition in which kernel is also integrated."

crDroid DOES provide its own recovery! It is not nearly as powerful as TWRP or Orangefox, which is why I want to move off it.
 

Sheist!

Senior Member
Oct 7, 2009
556
139
Redmi Note 10 Pro
Redmi Note 11
1.) i use crDroid 9.3 (Android 13)

2.)after booting into twrp (using the "fastboot boot twrp.img" command) in the advanced menu there is an option called "flash current twrp" which makes the twrp recovery permanent

3.) i use twrp 3.6.1 (unofficial)

i didnt understand the following:
" Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system." "

but this link could help you out:

forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/
This finally worked for me to "ramdisk." I used the 3.7.0_12-0.img. (y)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hello Everyone

    I have a redmi note 11 Spes, I had TWRP installed and working and the phone was rooted.
    Until the last system update 13.0.5.0.SGCINXM that removed the custom recovery and root.
    I had to flash it back but the phone didn't boot and keep going back to recovery, I had the pull the boot.img from the latest stock rom and flash it with adb so the phone can boot.
    but after trying all the TWRP I found on the internet for redmi note 11 Spes I also tried orange fox too and SHRP no1 worked either it stucks on MI logo or boot directly to recovery or bootloader.

    When I try to flash an old stock Rom with miFlash and choose clean all or save user data it always ends with this error "error:Not catch checkpoint (\$fastboot -s .* lock),flash is not done" ,the rom is flashed and work but still can't install a custom recovery the same problem stuck in MI logo or boot to recovery or bootloader.
    But when I choose clean all and lock the operation ends with no error I just need to unlock the bootloader again after that still cant make any custom recovery works.
    when I try to flash a stock rom, same error when I choose clean all or save user data .

    Testing any of those custom recovery with a custom ROM they work with no issue.

    Anyone has an Idea what can be the issue.


    Regard
    I'm not very familiar wtih Redmi devices, but I think they are pretty close to Pixels in the partition layout, meaning they don't have a separate recovery partition. Since the recovery kernel lives in the boot image, flashing a custom recovery image to /boot overwrites the existing kernel and ramdisk. Your device is doing what it's supposed to - loading what's in /boot, which happens to only be the custom recovery.

    There does not seem to be a way to permanently install a custom recovery on these devices, because the recovery kernel is compressed, and most custom recoveries do not support the compression needed. Instead, you'd want to "live boot" your recovery image - fastboot boot twrp.img - which sends the image to your phone to temporarily load WITHOUT writing it to the partition.
    2
    I'm not very familiar wtih Redmi devices, but I think they are pretty close to Pixels in the partition layout, meaning they don't have a separate recovery partition. Since the recovery kernel lives in the boot image, flashing a custom recovery image to /boot overwrites the existing kernel and ramdisk. Your device is doing what it's supposed to - loading what's in /boot, which happens to only be the custom recovery.

    There does not seem to be a way to permanently install a custom recovery on these devices, because the recovery kernel is compressed, and most custom recoveries do not support the compression needed. Instead, you'd want to "live boot" your recovery image - fastboot boot twrp.img - which sends the image to your phone to temporarily load WITHOUT writing it to the partition.
    Interesting perspective. I've seen this behavior beyond just the lack of a recovery partition, all the way to finding no way to permanently install a custom recovery on this device via ramdisk within TWRP, etc. Some instructions exist on how to install it permanently to ramdisk from within the custom recovery, but none of those attempts worked, at least not on crDroid 9.3 for me. I posted a question about trying a method of flashing a custom recovery to ramdisk directly from fastboot to this forum and the ROM developer, but neither produced any responses. This suggests that it would not be recommended or even possible (I am loath to risking potential data loss), since apparently it has not worked for anyone yet. All my attempts to permanently install a custom recovery on this recovery partition-free phone from recovery send me back to fastboot only.

    The installed recovery with crDroid 9.3 is basic and I really want to replace it.

    EDIT: I was successful in replacing the stock with TWRP 3.7.0_12-0.img to "ramdisk." Before, it was repeatedly dumping me back to fastboot regardless of choosing system or recovery target. Yay! :geek:(y)
    1
    Please identify which Android version and custom ROM name and version you are using, the step you used to "install it from the twrp advanced menu", and what version of TWRP you are using. Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system."
    1.) i use crDroid 9.3 (Android 13)

    2.)after booting into twrp (using the "fastboot boot twrp.img" command) in the advanced menu there is an option called "flash current twrp" which makes the twrp recovery permanent

    3.) i use twrp 3.6.1 (unofficial)

    i didnt understand the following:
    " Also, please describe what you ultimately see when you choose "recovery" as your reboot target from TWRP, and again with choosing "system." "

    but this link could help you out:

    forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/
    1
    You can use the "Install Recovery Ramdisk" option in the custom recovery of your choice, after booting it with "fastboot boot <recovery.img>" ( no quotation marks )

    EDIT: The one I use: https://forum.xda-developers.com/t/...p-3-7-0-for-redmi-note-11-spes-spesn.4507819/
    1
    You can use the "Install Recovery Ramdisk" option in the custom recovery of your choice, after booting it with "fastboot boot <recovery.img>" ( no quotation marks )

    EDIT: The one I use: https://forum.xda-developers.com/t/...p-3-7-0-for-redmi-note-11-spes-spesn.4507819/
    This finally worked for me to "ramdisk!" Woo hoo. (y)