[FIX] Fastboot bootloop fix for Xiaomi Mi Pad 1 (Mocha)

Search This thread

adi4u4882

Senior Member
May 7, 2011
216
66
Chennai
I have flashed so many custom roms on this device and usually never encountered a problem, but just a few days ago,
I flashed a Android 8.1 ROM, with Gapps , Shield Blobs and TOS.
After this my device was stuck in a bootloop and it could never boot into recovery, the Volume + and Power button never really respond,
the only mode working was Fastboot,

But funnily enough, when i entered fastboot, i tried flashing all versions of the Stock Fastboot ROMs, but it never booted into the system, it just stayed in the MI logo screen and continued to either boot again into the MI logo or again to the Fastboot screen.
I tried using all versions of the MI flash tool, thinking maybe it was something wrong with the tool, and since im on Windows 10, tried multiple compatibility modes, such as Windows 7 and 8 but nothing worked.
I thought i had screwed up the partitions in the system since i merged the system 1 and 2 partitions for installing custom roms, but it was not possible to flash a zip file using only fastboot,
Since i was not able to enter recovery i couldnt use ADB.

But today morning,
I was looking at some of the documentations for the Nvidia SOC and found some very valuable instructions, will post them down below,


  1. fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash userdata userdata.img
    fastboot flash staging blob
    fastboot flash dtb tegra<version>.dtb

The stock ROMs do NOT contain the stock blob file which is needed to actually flash and boot the ROM properly,

So, i downloaded the stock blob file for MI Pad 1 mocha and tried doing it manually by using CMD in fastboot,

Below are the steps which i did,
Firstly, Erase the existing partitions using these commands(order is not important)

  • fastboot erase boot

    fastboot erase system

    fastboot erase cache

    fastboot erase userdata

    fastboot erase bootloader

    fastboot erase recovery

    fastboot erase tos

Then installing the fastboot rom which you can get online, download them and extract them, then go to the image folder inside the ROM folder, and you'll find all the files necessary for the commands below EXCEPT the stock blobs, for which ill add a link here or attach the file.


  • fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash userdata userdata.img
    fastboot flash staging blob
    fastboot flash tos tos.img
    fastboot flash dtb tegra124-mocha.dtb

For the last command, just copy and paste the name of dtb file which you're going to flash and continue normally.

Of all the steps only the 5th and 7th step are really important, which is highlighted.

After finishing flashing all these commands ONE BY ONE ,

Boot your device back into fastboot mode and use the available MI flash tool and continue to flash the fastboot rom again,

After all these steps, if you're lucky, you can successfully boot into your new stock rom,

If you're still experiencing boot loops, as a last resort you can try to short your device using the memory card slot, but be careful you have to disassemble the battery first.

I'll attach all the sources at the end of this thread.

Good luck!

Sources:-
https://docs.nvidia.com/gameworks/content/devices/shield_flashing_from_image.htm
https://forum.xda-developers.com/shield-tablet/general/adb-fastboot-shield-recovery-image-t2860340
https://forum.xda-developers.com/mi-pad/how-to/tut-how-to-unbrick-revive-totally-t3417604
https://forum.xda-developers.com/mi-pad/how-to/mi-pad-1-hard-brick-revival-how-t3878311
 

Attachments

  • BootBlobs-STOCK-mocha.zip
    13.7 MB · Views: 1,389

Arsenious

Senior Member
May 26, 2016
53
14
Hi, it feels so good to see that I'm not the only one suffering (suffered in your case) with this problem. I just have a doubt.
We are erasing bootloader in your steps but while again installing all these files we are neither installing any bootloader img nor it is there in the rom package. Now I that that if your bootloader is gone, your device is as good as a brick, for real. Could you shed some light on this?
Awaiting your reply.
Thanks and regards.

EDIT:
I think my tab just died, while flashing tos from minimal adb and fastboot, I noticed the screen was pulsing, fastboot logo was still there but like flickering and fastboot message came back that it failed to write. I disconnected usbcable and reconnected and tab isnt detected, fastboot says target didnt report max download size and windows doesnt see the tab.
I switched off and tried to reboot to fastboot but the tab wont respond anymore. Screen doesnt come on. :(
What to do?
 
Last edited:

Guy.brush

Member
Jun 28, 2017
6
1
It is working

The guide was working, although flashing the dtb file wasn't succesfull its working. Later I will update to Custom ROM.
 

C4DXYZ-XDA

Member
Apr 3, 2018
5
0
Failed Flashing DTB

I got this error flashing dtb:
C:\adb>fastboot flash dtb C:\adb\mipad\tegra124-mocha.dtb
target reported max download size of 645922816 bytes
sending 'dtb' (82 KB)...
OKAY [ 0.016s]
writing 'dtb'...
FAILED (remote: (BadParameter))
finished. total time: 0.031s

---------- Post added at 03:31 PM ---------- Previous post was at 03:01 PM ----------

I got this error flashing dtb:
C:\adb>fastboot flash dtb C:\adb\mipad\tegra124-mocha.dtb
target reported max download size of 645922816 bytes
sending 'dtb' (82 KB)...
OKAY [ 0.016s]
writing 'dtb'...
FAILED (remote: (BadParameter))
finished. total time: 0.031s

but it still work.. my mipad is back to life..
 

mmm286

Senior Member
Jun 27, 2010
352
29
I have flashed so many custom roms on this device and usually never encountered a problem, but just a few days ago,
I flashed a Android 8.1 ROM, with Gapps , Shield Blobs and TOS.
After this my device was stuck in a bootloop and it could never boot into recovery, the Volume + and Power button never really respond,
the only mode working was Fastboot,

But funnily enough, when i entered fastboot, i tried flashing all versions of the Stock Fastboot ROMs, but it never booted into the system, it just stayed in the MI logo screen and continued to either boot again into the MI logo or again to the Fastboot screen.
I tried using all versions of the MI flash tool, thinking maybe it was something wrong with the tool, and since im on Windows 10, tried multiple compatibility modes, such as Windows 7 and 8 but nothing worked.
I thought i had screwed up the partitions in the system since i merged the system 1 and 2 partitions for installing custom roms, but it was not possible to flash a zip file using only fastboot,
Since i was not able to enter recovery i couldnt use ADB.

But today morning,
I was looking at some of the documentations for the Nvidia SOC and found some very valuable instructions, will post them down below,


  1. fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash userdata userdata.img
    fastboot flash staging blob
    fastboot flash dtb tegra<version>.dtb

The stock ROMs do NOT contain the stock blob file which is needed to actually flash and boot the ROM properly,

So, i downloaded the stock blob file for MI Pad 1 mocha and tried doing it manually by using CMD in fastboot,

Below are the steps which i did,
Firstly, Erase the existing partitions using these commands(order is not important)

  • fastboot erase boot

    fastboot erase system

    fastboot erase cache

    fastboot erase userdata

    fastboot erase bootloader

    fastboot erase recovery

    fastboot erase tos

Then installing the fastboot rom which you can get online, download them and extract them, then go to the image folder inside the ROM folder, and you'll find all the files necessary for the commands below EXCEPT the stock blobs, for which ill add a link here or attach the file.


  • fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash userdata userdata.img
    fastboot flash staging blob
    fastboot flash tos tos.img
    fastboot flash dtb tegra124-mocha.dtb

For the last command, just copy and paste the name of dtb file which you're going to flash and continue normally.

Of all the steps only the 5th and 7th step are really important, which is highlighted.

After finishing flashing all these commands ONE BY ONE ,

Boot your device back into fastboot mode and use the available MI flash tool and continue to flash the fastboot rom again,

After all these steps, if you're lucky, you can successfully boot into your new stock rom,

If you're still experiencing boot loops, as a last resort you can try to short your device using the memory card slot, but be careful you have to disassemble the battery first.

I'll attach all the sources at the end of this thread.

Good luck!

Sources:-
https://docs.nvidia.com/gameworks/content/devices/shield_flashing_from_image.htm
https://forum.xda-developers.com/shield-tablet/general/adb-fastboot-shield-recovery-image-t2860340
https://forum.xda-developers.com/mi-pad/how-to/tut-how-to-unbrick-revive-totally-t3417604
https://forum.xda-developers.com/mi-pad/how-to/mi-pad-1-hard-brick-revival-how-t3878311
Thanks, where could I find rom to get dtb file? Thanks
 

anvinth

New member
May 31, 2020
1
0
Wow it is working

Even i got the same error

"sending 'dtb' (82 KB)...
OKAY [ 0.016s]
writing 'dtb'...
FAILED (remote: (BadParameter))"


then I did flash ,using Mi flash tool..
Now it is working fine..

after (2015-2019)so many years.. Today 31st May 2020 device came back to normal..

I tried many methods.. Nothing works..

Thank you so much for this post..

I went to three different MI service center..and many other mobile repair shop..no one did..

You did big help..

Thank you so much..
 

NBMiPad

New member
Jul 14, 2020
1
0
I followed all the instructions one by one. The process was completed successfully too, except dtb (which error many others have faced). Rebooted. Then flashed the same ROM using MiFlash tool. BUT still my tab is stuck in mi logo. I don't know what to do. Is there anything I am missing during following the instructions? I can still enter into fastboot mode and also recovery; so the tab isn't completely hardbricked though. Please help. I am just stuck in the mi logo.
 

[email protected]

New member
Apr 29, 2019
3
0
While flashing I found that recovery.img and tos.img exists in both the fastboot file and the blobs file. Which one should I use? I tried using the fastboot files but it didn't work out and i'm stuck on the mi logo.

Also while flashing via miflash, got an error :
error:Not catch checkpoint (\$fastboot -s .* lock),flash is not done.

which I found out is to be ignored and the flash will still work. It is just a checkpoint fail because the device wasn't locked during the flashing process. Could it be the issue ?
 

mipadadi16

Member
Aug 25, 2021
10
0
My Mipad is bricked now,,so I'm working on short mydevice using the memory card slot,.. its kind of tricky to get it back to life again,,hihihihhi,,
 
Last edited:

thanbaiks

New member
Oct 15, 2021
1
0
Just registered an account to say thank you. I tried flashing original fastboot rom thousands times but no luck. Your guide helped.
 

mipadadi16

Member
Aug 25, 2021
10
0
IMG-20210909-WA0001.jpg


I'm trying like this,, and it worked..
 

ccarol90

Member
Oct 25, 2019
8
1
It worked for me.

The "tegra124-mocha.dtb" file can be found within the fastboot rom package that I downloaded named "Xiaomi_Mi_Pad_V8.1.2.0.KXFCNDI_20161128_China_4.4_XFT"
via:

Intend to move onto custom rom LOS15 or later...
Wish me luck, read that camera is broken in LOS15-16 for mocha


Now to reinstall TWRP
via:

Then re-merge the partitions.
"Repartition_MI_Pad_1_2GB_zardMi3.zip"
via:



 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    I have flashed so many custom roms on this device and usually never encountered a problem, but just a few days ago,
    I flashed a Android 8.1 ROM, with Gapps , Shield Blobs and TOS.
    After this my device was stuck in a bootloop and it could never boot into recovery, the Volume + and Power button never really respond,
    the only mode working was Fastboot,

    But funnily enough, when i entered fastboot, i tried flashing all versions of the Stock Fastboot ROMs, but it never booted into the system, it just stayed in the MI logo screen and continued to either boot again into the MI logo or again to the Fastboot screen.
    I tried using all versions of the MI flash tool, thinking maybe it was something wrong with the tool, and since im on Windows 10, tried multiple compatibility modes, such as Windows 7 and 8 but nothing worked.
    I thought i had screwed up the partitions in the system since i merged the system 1 and 2 partitions for installing custom roms, but it was not possible to flash a zip file using only fastboot,
    Since i was not able to enter recovery i couldnt use ADB.

    But today morning,
    I was looking at some of the documentations for the Nvidia SOC and found some very valuable instructions, will post them down below,


    1. fastboot flash recovery recovery.img
      fastboot flash boot boot.img
      fastboot flash system system.img
      fastboot flash userdata userdata.img
      fastboot flash staging blob
      fastboot flash dtb tegra<version>.dtb

    The stock ROMs do NOT contain the stock blob file which is needed to actually flash and boot the ROM properly,

    So, i downloaded the stock blob file for MI Pad 1 mocha and tried doing it manually by using CMD in fastboot,

    Below are the steps which i did,
    Firstly, Erase the existing partitions using these commands(order is not important)

    • fastboot erase boot

      fastboot erase system

      fastboot erase cache

      fastboot erase userdata

      fastboot erase bootloader

      fastboot erase recovery

      fastboot erase tos

    Then installing the fastboot rom which you can get online, download them and extract them, then go to the image folder inside the ROM folder, and you'll find all the files necessary for the commands below EXCEPT the stock blobs, for which ill add a link here or attach the file.


    • fastboot flash recovery recovery.img
      fastboot flash boot boot.img
      fastboot flash system system.img
      fastboot flash userdata userdata.img
      fastboot flash staging blob
      fastboot flash tos tos.img
      fastboot flash dtb tegra124-mocha.dtb

    For the last command, just copy and paste the name of dtb file which you're going to flash and continue normally.

    Of all the steps only the 5th and 7th step are really important, which is highlighted.

    After finishing flashing all these commands ONE BY ONE ,

    Boot your device back into fastboot mode and use the available MI flash tool and continue to flash the fastboot rom again,

    After all these steps, if you're lucky, you can successfully boot into your new stock rom,

    If you're still experiencing boot loops, as a last resort you can try to short your device using the memory card slot, but be careful you have to disassemble the battery first.

    I'll attach all the sources at the end of this thread.

    Good luck!

    Sources:-
    https://docs.nvidia.com/gameworks/content/devices/shield_flashing_from_image.htm
    https://forum.xda-developers.com/shield-tablet/general/adb-fastboot-shield-recovery-image-t2860340
    https://forum.xda-developers.com/mi-pad/how-to/tut-how-to-unbrick-revive-totally-t3417604
    https://forum.xda-developers.com/mi-pad/how-to/mi-pad-1-hard-brick-revival-how-t3878311