Originally Posted by Aionism
(according to SBF site, this rom is listed as Rogers CA)
I got the phone from a relative, the box imei matches the phone.
The back of the phone has the AT&T logo (a ball), and it says Model: XT1058 and fcc id blah blah
The carrier I'm using currently Ufone (Pakistan).
Says Device is Locked.
Rom is stock I guess? Loaded with Google Bloatware..
A couple of things...
I am not 100% sure about the ability to flash the ROM for your model phone from a different carrier when the bootloader is locked... i.e. can you flash an ATT XT1058 with Rogers XT1058 rom SAFELY and successfully. I know, for example, that flashing roms between models (say XT1052 with XT1053) does require unlocked bootloader or it will immediately fail, plus is risky when you try and flash back.
Therefore i don't want to give you the wrong advice on flashing anything and will wait for someone else to jump in.
Until then.. some info you'll need to understand for removing "bloat"
The Moto X is a Google Certified device, so it will contain all the Google Apps, like Chrome, GMail, Google+, Google Play, Google Calendar, Google Maps, etc.That typical isn't considered bloat because most people buying an Android phone want to use Google's services. In the USA, wireless carriers like Verizon add their own bloat like VZNavigator, VZ Tones, VZ Protect, NFL Mobile, IMDB, VZ Cloud, etc., things MOST of their customers don't use, so it is considered bloat. The ATT ROM is filled with bloat of their own.
Moto freely gives out the bootloader unlock code for the Rogers XT1058 on their web site. BUT for the ATT XT1058, the bootloader is locked, and Moto DOES NOT give out the bootloader unlockcode. The only way to get it is the China Middleman (see the thread in the general section).
Unlocking the bootloader makes the difference in how you can root. Once you unlock the bootloader you have write protection disabled. So after you root, you can modify, delete, rename, etc files in /System and the like, and those changes will survive reboot.
If you can't unlock your bootloader, and are on Roms with Android version 4.4 (aka 4.4.0) and below, you can use SlapMyMoto and MotoWpNoMo to root and disable write protection. But once you get on Android 4.4.2, you lose the ability to disable write protection so options like Pie, Towel or TowelPieRoot, are temporary, don't survive reboot, don't allow write access to /system, etc. And once you have 4.4.4 you can't even root. In other words, if you have a locked bootloader and really want to root and disable write protection, you want to stay on 4.4.0, and never upgrade.