• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE][UNBRICK] How unbrick your bootloop in MERLIN after flashing TWRP (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)

Search This thread

VD171

Senior Member
Jun 21, 2012
1,922
2
1,593
127.0.0.1
LG K10
Samsung Galaxy J7
hi got a problem:
1. phone bootloops (only Redmi written) then restarts
2. cannot enter fastboot nor recovery, just restarts
tried edl with test point, didn't work
pc doesn't recognise any adb
when vol - and power button pressed, pc fast notificates plug and unplug (guess it means pc recognises phone)
What is your device?
 
  • Like
Reactions: RN9_G85

definitelynotgeddd

New member
Jul 21, 2021
3
0
If you try to boot your device and it keeps in a black screen because outdated TWRP, please follow this guide.

It works with:
- Xiaomi Redmi Note 9
- Xiaomi Redmi 10X 4G

Method 1:

Once your device is on the black screen, plug it on USB (try USB3.0 first).

And then check if it is detected in adb recovery mode:
Code:
adb devices

If you can see your device in adb recovery mode, you have to erase misc partition:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p2

After it is done, you can reboot your device to system or fastboot again.

Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

Method 2:


Once your device is on the black screen, plug it on USB (try USB3.0 first).

And then check if it is detected in adb recovery mode:
Code:
adb devices

And then reboot to bootloader:
Code:
adb reboot bootloader

And then check if it is detected in fastboot mode:
Code:
fastboot devices

If you can see your device in fastboot mode, you have to erase misc partition:
Code:
fastboot erase misc

Keep attention, if you try to format misc partition, you will get this error: Formatting is not supported for file system with type 'raw data'.

After it is done, you can reboot your device to system or fastboot again.

Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

Good luck !



:unsure: Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
cant detect the device and cant access the recovery or the fast boot either
 

manfred0912

New member
Jul 25, 2021
2
0
hello, so I did install a not updated TWRP and I have the issue of this post, but my computer cannot detect my phone after I get into fastbootmode using the adb reboot bootloader command, I've been trying to install the drivers but at this point idk if that is the problem, so I installed TWRP after I unlocked the bootloader and I didn't activate the programming tools, the debugging usb and the OEM feature, could that be the problem?
sorry for my bad english
PD: maybe I could flash the original rom with SPflashtool, but I cannot get to EDL mode due to the bootloop, is there any command to get into it? like adb reboot EDL or something like that?
 

VD171

Senior Member
Jun 21, 2012
1,922
2
1,593
127.0.0.1
LG K10
Samsung Galaxy J7
hello, so I did install a not updated TWRP and I have the issue of this post, but my computer cannot detect my phone after I get into fastbootmode using the adb reboot bootloader command, I've been trying to install the drivers but at this point idk if that is the problem, so I installed TWRP after I unlocked the bootloader and I didn't activate the programming tools, the debugging usb and the OEM feature, could that be the problem?
sorry for my bad english
PD: maybe I could flash the original rom with SPflashtool, but I cannot get to EDL mode due to the bootloop, is there any command to get into it? like adb reboot EDL or something like that?
Did you flash patched vbmeta together TWRP ?
 

acharyvinod52

New member
May 13, 2020
3
0
If you try to flash the file misc.bin your device can be in bootloop forever, please follow this guide to fix it.

It works with:
- Xiaomi Redmi Note 9
- Xiaomi Redmi 10X 4G

Method 1:

Once your device is on the black screen, plug it on USB (try USB3.0 first).

And then check if it is detected in adb recovery mode:
Code:
adb devices

If you can see your device in adb recovery mode, you have to erase misc partition:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p2

After it is done, you can reboot your device to system or fastboot again.

Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

Method 2:


Once your device is on the black screen, plug it on USB (try USB3.0 first).

And then check if it is detected in adb recovery mode:
Code:
adb devices

And then reboot to bootloader:
Code:
adb reboot bootloader

And then check if it is detected in fastboot mode:
Code:
fastboot devices

If you can see your device in fastboot mode, you have to erase misc partition:
Code:
fastboot erase misc

Keep attention, if you try to format misc partition, you will get this error: Formatting is not supported for file system with type 'raw data'.

After it is done, you can reboot your device to system or fastboot again.

Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

Good luck !



:unsure: Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
My adb is not detecting plzz help mee
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    If you try to flash the file misc.bin your device can be in bootloop forever, please follow this guide to fix it.

    It works with:
    - Xiaomi Redmi Note 9
    - Xiaomi Redmi 10X 4G

    Method 1:

    Once your device is on the black screen, plug it on USB (try USB3.0 first).

    And then check if it is detected in adb recovery mode:
    Code:
    adb devices

    If you can see your device in adb recovery mode, you have to erase misc partition:
    Code:
    dd if=/dev/zero of=/dev/block/mmcblk0p2

    After it is done, you can reboot your device to system or fastboot again.

    Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

    Method 2:


    Once your device is on the black screen, plug it on USB (try USB3.0 first).

    And then check if it is detected in adb recovery mode:
    Code:
    adb devices

    And then reboot to bootloader:
    Code:
    adb reboot bootloader

    And then check if it is detected in fastboot mode:
    Code:
    fastboot devices

    If you can see your device in fastboot mode, you have to erase misc partition:
    Code:
    fastboot erase misc

    Keep attention, if you try to format misc partition, you will get this error: Formatting is not supported for file system with type 'raw data'.

    After it is done, you can reboot your device to system or fastboot again.

    Keep atention, if you execute this command wrong, you will ERASE any other partition and it can brick your device forever and cause more damages.

    Good luck !



    :unsure: Do you need help with your MERLIN device ?
    Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
    2
    12.0.5.0
    thank you so much for the interest man
    You need to flash in EDL mode.
    Just bypass the authentication: https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229679/
    1
    I flashed the entire ROM,

    So yes,

    Every single partition, except misc since it's gone now,
    When i say "Every Single Partition", I mean every single one,
    this includes,

    Scp1/2
    super
    ..etc.
    Misc partition is not present in original stock rom.
    It contains a variable data/parameter for boot.
    Did you solve the bootloop after flash full rom?
    1
    No,
    Here are the full details:

    1. I tried flashing the recovery partition, Nothing.
    2. I used an unnofficial TWRP ROM that hard bricked my device, this includes the following partitions:
    Misc Opt Vbmeta Recovery
    3. I managed to get into ADB recovery, i got into fastboot, then flashed the stock rom.
    4. Boot loop
    You need to avoid the misc partition.
    If you've flashed it, you REALLY need to erase it.
    Or, it will make your device to enter in recovery forever.

    Vbmeta needs to be flashed with disababled verification.
    Here you can find safe and secure vbmeta with disabled verification: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/
    Or, it will detect modification on partitions and will reboot the device forever.

    I think Opt doesn't change anything.
    I'm not sure, but I think it only matter for devices without vbmeta partition. (I'M NOT SURE.)
    Because it modifies the system, and obviously you will get in a bootloop.
    If you want to modify the system, you need to debloat your system before.

    Try to flash the whole system again.
    Or just try to flash the whole rom again.
    1
    can someone help me it stuck on redmi logo and restart all the time, cant go into fast boot or recovery.
    i did this tuturial but it bricked. help please
    Try to flash the MIUI rom again using spflashtool.