Can I run Android from an SD Card? The eMMC in my phone is dead
I'm having a kind of related issue with my Moto G5s (xt1794) right now. I hard-bricked it and now it won't boot. There are some guides about flashing a fully functional image onto a sd card. After pressing the power button for 1-2 minutes the phone boots. If I switch it off and remove the sd card it won't boot again, so i guess it is really booting from sd card, not just installing the software into emmc or something (which would be more useful in my case). Anyway I think this could solve your problem.
Forum post: https://forum.xda-developers.com/showpost.php?p=76747247&amp;postcount=258