[Moto X Q&A] 0bser:
I had bought used Moto X XT1049 on e-bay

I use it in Georgia (Caucasus) so, outside US :)

Story in short:

Phone (XT1049) was working on 4.4.2, flashed it to stock XT1053 Lollipop 5.1 with RTWP, still worked without issues, but got StageFright fix OTA notification, since there was TRWP I couldn't install it with OTA, found guide, followed it, installed new Lollipop, everything was OK, just it was not detecting SIM card, I blame the code from the guide, I might have flashed someto XT1049 hardware incompatible software, tried flashing XT1049 and XT1056 radio/modem from kitkat roms, "No sim card" still persists.

I don't think it is hardware problem, as I hadn't physically touched the sim card in between when it was working and wasn't, it might be that hardware "fried" due to software incompatibility,but I doubt it too, because the SIM card clearly survived if there was any cooking going on :), it works in my old phone without problems right now. Tried other sim cards too, none of them detected by this device.

Full Story:

I don't remember exactly what firmware was it running when I got it, because when I turned it on and connected to WiFi OTA popped up and I installed update right away. Update quickly installed 4.4.2, I put sim card of local network and it worked all fine. It was not rooted, not Bootloader unlocked.

Two days later I found out that XT1049 was not getting any further OTA update and I wanted lollipop on my phone, having very little experience, I started searching for ways to manually flash lollipop to my device. As I was unable to find XT1049 lollipop rom (I knew already it didn't exist) and read somewhere that it was possible to flash XT1053 rom on XT1056 and XT1049, decided to give it a try.

So I unlocked the bootloader from moto site, installed TWRP recovery, downloaded XT1053 5.1 Lollipop rom from this thread and flashed it, IRRC (I'm 90% sure) I just flashed it and rebooted, without any of these code:

......
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
....

So XT1053 Lollipop 5.1 (222.21.15) was installed, everything worked fine, system, calling, wifi etc. The only thing was that I got OTA for StageFright fix. I tried to let OTA install itself but it didn't work, as after update rebooting RTWP was booting, preventing OTA update.

Than I found this thread and fallowed the first guide, under name: "Official Update Procedure", I did everything as was written there, new lollipop update was installed, but when the phone booted it was not detecting sim card, displaying error in the notification bar: "No SIM card - Emergency calls only". After that I tried everything, reflashed XT1053 Lollipop 5.1 (222.21.15), flashed CM12 without luck.

Then I found out it might have been caused by flashing wrong modem (I was following the guide blindly and didn't even know about existence of modem/radio roms then) with this code from the guide:

mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn

So I started searching and flashing modems from XT1049 and XT1056 roms of original 4.4.2 and 4.4.4 images, still without luck. Tried wiping, unrooted, tried 2nd(restore) method from stagefright guide (which if I had used instead of the first one with codes, I think I'd save myself all these troubles) nothing worked. Now I have installed XT1053 Lollipop 5.1 (222.21.15), am still getting Stagefright OTA notification and everything works fine except I can't use the device as the phone, it does not detect sim card at all.

My nearest guess is still around those codes from the Stagefright guide, it should be modem or bootloader or some other files that got flashed by those codes and might have been incompatible with XT1049 hardware.

So is there anyone with any ideas I might try out?

Suggest what can I try to revive the sim please.

At some point I decided to give a try and flash Kitkat images, in hope that they might have worked, but then read lots of warnings about downgrading, so decided not to hurry.

Right now my XT1049 has:

Bootloader - version30.BE

Baseband version - MSM8960PRO_BP_2323.031.111.00R

System Version (XT1053 Lollipop 5.1) - 222.21.15.ghost_row.Retail.en.US ntelos

Additional info:

XT1056 and XT1049 have the same FFC ID, XT1053 has different, but it's the nearest unlocked version with lollipop, that's why people flash XT1053 Lollipop to XT1056/49, as I have written above, I did the same and it worked without issues, until I installed StageFright update.

Thanks for your time and help in advance.