[Moto G Q&A, Help & Troubleshooting] lknr:
Hello,

TL;DR: My question: where can I find a stock 4.4 GPe firmware compatible with XT1032 devices? (cid: 0x00DE

I had a rooted Moto G GPe 4.4, which prompted me yesterday about updating to Lollipop (OTA update, is that right?). Of course, it didn't work. Seriously, for newbies like me reading this, don't accept this, wait for something stable to be available.

So, yesterday, it downloaded everything and started updating. It hanged right in the middle with an error screen. I tried a reboot, same thing (in french it was written "Aucune commande". I guess the proper translation would be no command available or something). I tried a recovery, I had the little android logo lying on the ground with a scary warning on his belly. I tried a factory reset, same thing.

So, I went on this forum, started following this guide, however I was on Linux so I didn't use his .bat script, instead I manually used fastboot and mfastboot.

I downloaded the image named XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip (the CID don't match but it worked) available at this address. For information, the link http://sbf.droid-developers.org/phone.php?device=14 is dead since yesterday at least, which is annoying given the bandwidth of filefactory.

Using mfastboot, I launched these commands:

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot reboot

Everything was fine. My phone booted, prompted me to install the device and download my apps. Aside from the fugly Motorola boot animation and stock apps, great. However, I couldn't get the Lollipop update, since apparently it is only available to 4.4 GPe edition. I thus got even dumber than normally and started to follow this guide. Beware, the sound is very loud on this video, and doing a video for this kind of info is pretty dumb anyway. The process is written down in the description.

I downloaded the 4.4 GPe firmware linked and started to flash it using mfastboot, same process as above. However, upon rebooting I had only a prompt to decrypt my data. WTF? I used my Google Account password to no avail. Rebooted in fastboot mode, tried recovery and factory reset. Nope. So, I flashed again the XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF firmware. I booted fine, and it is currently restoring my system.

Anyone could explain exactly why it did it? Do I have to worry about anything (I don't care about my data, everything is backed up securely. But I critically need my phone and can't afford to brick it).

I am unable to find a stock 4.4 GPe firmware. Anyone got a link? If possible from a reputable source? I'd like to stay on a GPe phone, I hate bloated and ugly designs. And I'd like to update to Lollipop.

Edit: Okay, the flashing did work, however the CID mismatch is more of a problem than I thought. My CID as printed by fastboot is 0x00DE (and NOT 0x000DE as sometimes indicated in some guides). My image CID is 0x0007. I can't speak on the microphone and I don't have any tone when I call. It is a problem. FFS, is there any ROM I can flash working with this CID?