====== Redmi 2 Pro ======
This phone:
* 2014813 TD-LTE = WT86047 (China)
* CMIT ID: 2014CP6138
HM2014811 = WT88047 (Global)
eMMC is SAMSUNG R311MB 16 GB
* Recovery - VOL DOWN + VOL UP + POWER
* Fastboot - VOL DOWN + POWER
fastboot devices
fastboot reboot-bootloader
fsatboot reboot emergency
===== TWRP =====
==== Flashing ====
[[https://twrp.me/wingtech/wingtechredmi2.html]]
Fastboot flash recovery TWRP.img
==== error: device unauthorized ====
[[https://stackoverflow.com/questions/42765900/adb-devices-says-unauthorized-in-twrp/48528833]]
TWRP contains wrong props. Should be:
getprop
ro.secure=0
ro.adb.secure=0
ro.debuggable=1
===== broken eMMC flash =====
* [[https://forum.xda-developers.com/redmi-2/how-to/wt86047-redmi-2-2014813-2-16-emmc-failed-t4006343|wt86047 Redmi 2 (2014813) 2/16 EMMC Failed]]
* [[https://forum.xda-developers.com/redmi-2/help/boot-sd-card-emmc-memory-dead-t3693638|Boot from SD card. EMMC memory is dea]]
* [[https://forum.xda-developers.com/android/help/how-to-boot-sd-card-qmobile-z8-bricked-t3712171|[HOW TO] BOOT FROM SD CARD [SUCCESSFULLY] on QMobile Z8 with BRICKED/DEAD eMMC]]
Make dump of main flash region to SD card using TWRP:
dd if=/dev/block/mmcblk0p30 of=/external_sd/dump1.bin bs=1M count=4000
dd if=/dev/block/mmcblk0p30 of=/external_sd/dump2.bin bs=1M count=4000 skip=4000
dd if=/dev/block/mmcblk0p30 of=/external_sd/dump3.bin bs=1M count=4000 skip=8000