twrpme: recovery flashing way for (recovery in boot) xiaomi mediatek A/B devices.
since fastboot boot doesn't works , use fastboot flash boot
fastboot boot doesn't works checked on:
• Redmi Note 11s / Poco M4 Pro 4g
• Redmi 10x 4g / Redmi Note 9
• Redmi Note 10s
• Poco M3 Pro 5g
• Redmi Note 11T
• Redmi Note 11 5g / Poco M4 Pro 5g
• Poco M5 / M5s
(And Maybe More Xiaomi mtk A/B devices )
* Also use 'fleur' only for code name since both devices code is fleur by default with nfc & miel without nfc , to stop confusion about this (device is more commonly known as fleur)
Change-Id: Ib770f4183790236d5b1f8e22bba3e21a6058770b
Signed-off-by: ShazuxD <shazuxd7@gmail.com>
diff --git a/_includes/fastbootxiaomiabmtk.html b/_includes/fastbootxiaomiabmtk.html
new file mode 100644
index 0000000..5e2bcac
--- /dev/null
+++ b/_includes/fastbootxiaomiabmtk.html
@@ -0,0 +1,23 @@
+<div class='page-heading'>Installation:</div>
+WARNING: If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.
+
+<p class="text"><a href="https://developer.android.com/studio/releases/platform-tools">You will need the platform-tools from the Android SDK on your computer.</a> Download the platform-tools as per your operating system.</p>
+
+Windows users will need proper drivers installed on their computer. You can try the <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>simple FWUL adb/fastboot ISO</a> or the <a href="http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/">Naked ADB drivers</a> or the <a href="https://adb.clockworkmod.com/">Universal ADB drivers</a> if you don't already have a working driver installed
+
+Download the correct image file and copy the file into the same folder as your platform-tools as well as device's storage. Rename the image to twrp.img.
+
+Now reboot to fastboot/bootloader mode by using adb or manual key combos (Use Google to find that if you are not sure). To use adb to reboot, use the following command:
+
+<code>adb reboot bootloader</code>
+
+Flash the downloaded image using the following command:
+
+<code>fastboot flash boot twrp.img</code>
+
+Reboot to recovery (you can use key combinations also)
+
+<code>fastboot reboot recovery</code>
+
+Preferred Installation Method:
+Once booted, put your stock boot image in Internalstorage , MicroSdcard or Usb-Otg then Flash stock boot image in boot partition and tick (Flash to both slots) , after that navigate to the Advanced > Flash Current TWRP option. This will install the TWRP image you just booted permanently to the device.