Table of Contents

Redmi 2 Pro

This phone:

HM2014811 = WT88047 (Global)

eMMC is SAMSUNG R311MB 16 GB

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

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