Hi, I really hope you can help me with this. ( sorry if my English is not the best, I know I need to improve it... ) I have a Moto G XT1064 and some months ago I installed Minimal OS to upgrade to 5.1.1 After a while I a friend gifted me a new phone so I decided to give the moto g to my mom, so I went to Minimal settings and selected factory data reset. After that, the phone went into a bootloop and I tried to solve it by reinstalling the ROM and even by installing a stock ROM and it took to me several hours to make it work. But then it didn't recognize sim nor sd cards. I used TWRP to check if it was a problem with the sd partition and apparently it is not present and I don't know what to do with this.