[Xiaomi Mi Pad Guides, News, & Discussion] adi4u4882:
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,

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://xdaforums.com/shield-tablet/general/adb-fastboot-shield-recovery-image-t2860340

https://xdaforums.com/mi-pad/how-to/tut-how-to-unbrick-revive-totally-t3417604

https://xdaforums.com/mi-pad/how-to/mi-pad-1-hard-brick-revival-how-t3878311