I've got xiomi redmi 5 with stock rom and all settings. It doesn't boot. I tried many ways to fix it but all failed. It's not unlocked and doesn't have adb enabled so I couldn't get data from it. I can however boot into recovery but there I can only perform hard reset.
I pulled out EMMC chip and was able to pull all the raw data. Unfortunately userdata partition is encrypted so I was not able to get data from it when chip is outside the phone.
My question is therefore - Can I: 1. Replace default miui recovery partition with twrp directly on EMMC 2. Put chip back into the phone 3. Boot into twrp 4. Back up user data with twrp