Unknown model stuck on fastboot, can't flash Stock Image

SonicoXD

Member
Mar 26, 2017
34
4
0
Salta
About a year ago, a friend gave me his Moto G so that I rooted it for him. On the system settings it showed as "falcon", XT1032. Everything was working fine. Then, he got a Moto G3, and gave his old Moto G to his young brother. After about two months, my friend told me that the old Moto G was in a bootloop, so I fixed it. Two weeks later, he told me the phone was no longer booting (it could barely boot into fastboot) and gave it to me again. Obviously, his young brother did something, but I don't know what, oh and also both times the battery was completely discharged when I received it.
So, I thought "Easy, just flash stock image and it will boot again". So I downloaded XT1032's stock image (5.1, as that was the version installed) and tried to flash it. Got many errors, both on PC fastboot/mfastboot and phone's fastboot. Also I couldn't boot or flash TWRP recovery, everything was broken. So I checked the model number on the battery, and it said it was XT1039, the 4G, peregrine version. So I downloaded peregrine's stock, and tried to flash it. Still got lots of errors (image size is too large, boot hab failed or something like that, I can't remember it clearly) but at least now I was able to boot TWRP recovery, but I still couldn't permanently flash it. There I checked the partitions, and they were corrupted, so I fixed them. Tried to flash again with no luck. Booted TWRP, tried to flash LineageOS, and got an error saying that the phone is the Falcon version! So, downloaded Falcon's Lineage, flashed it successfully, but the system won't boot, instead it will default to stock recovery (which was previously not working). AGAIN tried to flash Falcon's stock, now I'm back to the begining...
A solution I thought was intentionally bricking the phone completely and blank flash it, but I'm unsure how to do it, and I don't think is the best option...