yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] Bobgraton200:
Hi I Have a little question.

I have a Moto g 4g first gen Xt-1040 and the OTA upgrade does not work. In fact I never receive any update for my phone. There is a bug somewhere.... Rogers said me that : Considering that device still has Rogers channel ID but not Rogers SW, any OTA update is not possible.

If I flash with a stock frimware will I be able to get OTA update in the future (like the few there is left after the flash) or it is gonna be what it is gonna be?

Or should I flash with another rom?

Thank you
[Moto G 4G Android Development] 0lafa:
Gracias

Muy buen aporte
[Moto G 4G Android Development] lost101:
You can flash the latest available Retail Canada Firmware Image from here:

https://xdaforums.com/showpost.php?p=60793911&postcount=2​

OTA Updates will then work. However for the best experience, unlock Bootloader and flash this ROM:

[ROM][PEREGRINE][6.0][STOCK] Identity Crisis 6 LTE v1.5​
[Moto G 4G Android Development] Bobgraton200:
Hi, Thank you for your replie.

I have a few question again if you don't mind.

I understand wich firmware to take with your first link (5.1 the newer build) but do I need to unlock the bootloader for this one too or I need to unlock it only in the case of the rom in your second link? And in fact it is a rom retail, so a copy of the one by motorola?

And finaly. On your second link. it is a stock (I don't know what it mean) does it mean custumiz? and it is for a XT-1072 is it gonna be dangerous for my phone since it is not for the same model? And if I want to instal this one. Wich one do I need to choose? I supposed I have to choose the last one between the Pure and Deviant?

After I'm gonna lear how to flash it well

Thank you for your help!
[Moto G 4G Android Development] lost101:
You do not need to unlock Bootloader to flash factory firmware images. You need an unlocked bootloader and custom Recovery to flash ROM zips.

Please Google search for tutorials and watch videos on YouTube to learn about flashing ROMs. There is no danger to your phone from that ROM. It's best to flash the 'Deviant' version. If you have any more questions about the Identity Crisis ROM, please ask in that thread.
[Moto G 4G Android Development] Bobgraton200:
Hi All,

(and special thank to lost101 who helped me)

I have one last question. I just learn how to flash a phone. I understande the fact that if I downgrade the Rom I could hardbrick my phone. But I'm curently on android 4.4.4. (with bug and bug...) If I flash my phone to another 4.4.4 is it like a downgrade or I follow the rule like if it is an upgrade of the Rom?

Because I wonder if it is best if I download directly android 5.1 or if I put back a 4.4.4 and do an OTA upgrade to get 5.1.

Thank all!
[Moto G 4G Android Development] lost101:
Don't accept OTA Updates, clean install latest version of Android is best.
[Moto G 4G Android Development] Bobgraton200:
Hi

If I try to flash with the 5.1 untouched and after I flash to an optimized 5.1 does is count as a downgrade or an update? (or 4.4.4 to another 4.4.4)

Do I need to take care of the two sted to avoid being bricked?
[Moto G 4G Android Development] lost101:
It's only a downgrade or update if you change Android version. Don't downgrade unless you know how to disable OTA Updates; otherwise you will destroy your phone beyond repair. Flash the Identity Crisis 6 ROM and you will have no problems.

I don't know what you are saying in that last sentence.
[Moto G 4G Android Development] Bobgraton200:
by that i mean this step that I found in a lot of tutorial when someone downgrade his phone, they said: If you are downgrading your Moto G’s firmware, do not flash gpt.bin and bootloader.img/motoboot.img file.

It is why i ask if I need to do that (or other thing) if I want to only reflash a kitkat 4.4.4 on my phone that already have 4.4.4 (because I would like my phone going to 5.1 normaly).
[Moto G 4G Android Development] lost101:
I made these threads so you do not have to take any risks. Forget about fastboot and firmware images completely.

[ROM][PEREGRINE][5.1][STOCK] Stock Motorola 4G Lollipop ROM Collection​

[ROM][PEREGRINE][4.4.4][STOCK][FLASHABLE ZIP] Stock Motorola 4G KitKat ROM Collection​

Again, avoid OTA Updates and you will have no problems. Optimized ROMs have OTA Updates disabled.
[Moto G 4G Android Development] Bobgraton200:
You said yesterday That I dont need an Unlock Bootloader to flash a factory firmware. But in your link it use Twrp. Many people tell me to instal Twrp on my phone I need an Unlocked Bootload. So I dont know anymore how to flash the 5.1 from you link.

I was goind to follow what this link said : http://www.droidorigin.com/restore-stock-firmware-on-moto-devices/

But I dont found the right files to do it on this 5.1. It does not look the files like in other tutorial.

Do you recommende me to unlock my bootload to use twrp like in your link. Or can you give me a litle more information please.
[Moto G 4G Android Development] lost101:
Those collections are not Factory Firmware Images. They are custom ROMs based on Firmware Images. You need an unlocked Bootloader and TWRP to flash them.

At this point in the life of your device, I highly recommend you unlock bootloader and flash a custom Stock ROM. Those ROMs offer a far superior experience to simply flashing a Factory Firmware Image - which are bloated and not optimized fully.

The Identity Crisis 6 ROM is based on Marshmallow and offers you the best security and performance of all Stock ROMs.
[Moto G 4G Android Development] Bobgraton200:
Thank you very much, now I understand very well the difference between them. I was confuse between Stock Rom and factory Firmware Images.

Thank you very Much for your help I appreciate it
[Moto G 4G Android Development] manfredo16:
I need de OTA Update Lollipop from Moto C Cricket XT1045
[Moto G 4G Android Development] irfang0349:
plz help

i have xt1045 me was flashing it but unfortunately during flashing flash failed with the error of boot.img now me try to flash all files from firmware center but not luck fail on boot and this model"s bootloader unlock not supported plz help
[Moto G 4G Android Development] s_alfter:
faster download source

I thought I'd try switching my old Moto G LTE over to /e/ before fooling around with my Moto Z Play (which at this point hasn't even been rooted, though I just got the bootloader unlock code for it today). I already had stock 4.4.4, rooted, bootloader-unlocked, and with the latest TWRP, but the procedure for installing /e/ complained that the bootloader was too old. Meanwhile, the phone wants to update to 5.1. Maybe this'll have a newer bootloader, but I need to revert the phone to stock (no root or custom recovery) to safely do that, so I wound up here.

The firmware links in the original post are to an exceedingly slow filehost...took two tries and the better part of 6 hours to download the firmware image I needed.

While waiting for it to download, I found this:

https://drive.google.com/uc?export=download&id=0Bw_NsGJYGFyVUnpsNGwzaFhGSGs

It downloaded in less than a minute, and SHA-1 sums of it and the file from the slow filehost were identical.

(This is for the XT1045 US retail version of v4.4.4 firmware.)
[Moto G 4G Android Development] juanodj79:
probando
[Moto G 4G Android Development] eteles:
If they've got the same model number, the differences are just software related...
[Moto G 4G Android Development] zackwire:
Anyone able to post the 4.4.4 for Retail BR XT1040?
[Moto G 4G Android Development] eteles:
It was already posted... (Retail BR - KXB21.14-L1.56 CID12)

But it seems file factory servers are out right now...

---------- Post added at 05:06 PM ---------- Previous post was at 04:32 PM ----------

If you need the OTA update file only, you can download it here:

https://docs.google.com/file/d/0B70vEW5xjd35enJvb0o1bXRMVmc/edit?usp=docslist_api
[Moto G 4G Android Development] zackwire:
so, it's the same firmware for XT1040 and XT1039 variants?
[Moto G 4G Android Development] eteles:
No... I think they made a mistake in the description... The firmware version I told you is for XT1040 only...

Where you see (Retail Brazil) is for XT1040 and where you see (Nextel Brazil) is for XT1039.

PS: just checked and file factory servers are OK now...
[Moto G 4G Android Development] zackwire:
Oh, nice...thanks buddy! :)
[Moto G 4G Android Development] DeLaLuz22:
As [MENTION=4804571]eteles[/MENTION] said, the firmware for XT1040 is the Retail Brazil. I flashed it yesterday in my phone.
[Moto G 4G Android Development] kdbrown5:
Anyone have firmware for xt1045 4.4.4 cid9 (USA) yet?
[Moto G 4G Android Development] mooms:
See this post. That should means this ROM is not for XT1039.
[Moto G 4G Android Development] demolition23:
Has anyone got .56 update that fixes the sd problems on en.uk retail?
[Moto G 4G Android Development] eteles:
He probably made a mistake... I think he flashed the 4.4.4 update for brazilian XT1039 over the EU firmware version... Or he didn't flash the complete firmware.

There is no meaning on having 2 different phones (hardware wise) with the same model number... Never happened before and I don't think this is the case now...

With Samsung, they always put at least a letter after the model number to show the difference, like the I5500 and the I5500B (only the modem is different)
[Moto G 4G Android Development] mooms:
That was me, and I

do

have made a complete flash with mfastboot. The ROM is labeled RETAIL-BR-EU-SS by the way.

Me neither, this is why I think now the ROM is not for XT1039 (maybe XT1040).
[Moto G 4G Android Development] eteles:
Ohh... Got your point now... I think that's the case...
[Moto G 4G Android Development] charesa39:
I'm curious about this as well...
[Moto G 4G Android Development] kykemejia:
Some news of update for XT1040?
[Moto G 4G Android Development] eteles:
4.4.4 for XT1040 Retail BR is already available for download...
[Moto G 4G Android Development] kykemejia:
But this version is for XT1039, not is the original for XT1040. I'm already in that version without flashing the Modem.
[Moto G 4G Android Development] eteles:
It is for XT1040. See my build number... It's the same from the download link and I've updated from official Motorola OTA.
[Moto G 4G Android Development] kykemejia:
Thanks, I'll try again. :good:
[Moto G 4G Android Development] Schrotty35:
How can i flash this?
[Moto G 4G Android Development] mooms:
You need mfastboot-v2.zip

See this post.

You can run the commands in a cmd file

Also, mfastboot erase userdata is optional, don't execute it if you want to make an update.
[Moto G 4G Android Development] lost101:
New Moto G LTE firmware image available:

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_retlatam.retlatam.en.01 (Retail Latin America) (XT1040)

Filename: XT1040_RETAIL-LA-SS_4.4.3_KXB21.14-L1.31_cid12_CFC_1FF.xml.zip

[Download]

--

Firmware images provided by Firmware Team, post your appreciation and requests here:

http://www.firmware-team.com/forumdisplay.php?f=14​
[Moto G 4G Android Development] bkr32:
just a question if device is carrier locked, does the device reject new sim cards and allow normal system to be used or is whole system locked when carrier sim card is unavilable
[Moto G 4G Android Development] kykemejia:
What is the "SS" of this firmware?
[Moto G 4G Android Development] lost101:
Single-SIM.
[Moto G 4G Android Development] daljitbanga:
I would like to make a humble request to anyone if they can possibly upload a XT1039 deodexed stock rom 4.4.4.

I've tried to deodexed stock rom myself, but tell you the truth past my computer skills.

Thank You
[Moto G 4G Android Development] lost101:
It's actually incredibly easy and only takes a few basic steps.

1) Extract the 'system' folder from the firmware you want to use as a base. This thread has everything you need:

http://xdaforums.com/showthread.php?t=2663029​

2) Set up Android Kitchen:

http://xdaforums.com/showthread.php?t=633246​

3) Deodexing:

(i) Update smali / baksmali in 'tools\deodex_files' of your Kitchen. Latest version (2.0.3) here:

https://bitbucket.org/JesusFreke/smali/downloads​

(ii) Choose the deodexing option in Kitchen. It will not be prepared for '/system/priv-app' - so after deodexing once, rename /system/app to app2 and rename 'system/priv-app' to app. Run deodexing again and afterwards rename folders back to original titles. Now all you do is build the ROM.

EDIT: I forgot I have customized my own Kitchen - to make things easier I will upload a zip of it and a tutorial shortly.

EDIT2: Kitchen and Tutorial added to this thread: http://xdaforums.com/moto-g/develop...collection-t2854688/post54969242#post54969242
[Moto G 4G Android Development] FoneWatcher:
No, the phone isn't locked down. The network lock screen doesn't even come up unless you insert a foreign SIM and you can operate all other functions.
[Moto G 4G Android Development] bkr32:
thanks btw my canadian version seems to be xt1040 not 1045
[Moto G 4G Android Development] howipig:
XT1040 vs XT1045 in Canada

vpnair,

Greetings. Thank you for sharing the resources here.

I have the Moto G LTE XT1040 (Global GSM) from Rogers in Canada. While you have listed the link to the 4.4.4 firmware, the filename itself indicates it is for the XT1045 i.e. the US GSM model. Though both firmware are also indicating the correct CID, any mean you can help to sort out discrepancy? Thanks again.
[Moto G 4G Android Development] vpnair:
The listed firmware is CA for Canada with CID14, which I believe is accurate. The model number (XT10XX) doesn't seem to be accurate all the time. I've changed it to XT1040 for Canada based on feedback by Canadian users. If I am mistaken, I will change it back to XT1045.
[Moto G 4G Android Development] howipig:
vpnair,

Thanks for your rapid response. I concur XT1040 is the model offered in Canada. In fact, I could not find any XT1045 certification in the Industry Canada database. The significant difference between the two models is the LTE Band 7 (2600) support with the XT1040, which we have such network footprints here in Canada.

Either way, I am downloading the firmware image and will find out if it works next week.
[Moto G 4G Android Development] Schrotty35:
I have install for my XT1039 but i see only the blue M Logo and nothing more. I have make a full wipe but also not help. I use latet cmw, How can i restore now?
[Moto G 4G Android Development] vpnair:
I see you figured it out by using the correct mfastboot commands.
[Moto G 4G Android Development] Sailor spinach:
Hello

So when I look at my ro.boot.cid it only says [0xE] Where E should be some value of somesort?

[ro.build.description] is KXB21.14-L1.54.55

Not sure what to download but the closest one to match those. For Canada.

Anyone wanna lend a hand?
[Moto G 4G Android Development] Menelkir:
It's hexadecimal, 0xE=14
[Moto G 4G Android Development] Sailor spinach:
Thank you
[Moto G 4G Android Development] howipig:
vpnair,

Just follow up... I have flashed my XT1040 last night with the XT1045_RETAIL-CA-SS_4.4.4_KXB21.14-L1.54_cid14_CFC_1FF.xml firmware package, it seems everything works. With the CID specifies 14, I think it is intended for XT1040 after all. Thank you once again.

---------- Post added at 06:33 PM ---------- Previous post was at 06:31 PM ----------

Sailor spinach,

Greetings.

If yours is also a Canadian model XT1040, use the one I have mentioned in http://xdaforums.com/showpost.php?p=55416866&postcount=112
[Moto G 4G Android Development] vpnair:
Hey could you tell me your model version? Just to check if it is XT1040 or XT1045. Easiest way (if you dont know commands) is to download System Info Droid or CPU-Z from Playstore. It will be under System --> Model.
[Moto G 4G Android Development] howipig:
vpnair,

As I have already mentioned before, it is a XT1040.
[Moto G 4G Android Development] Somcom3X:
You might want to hide that serial number ;)
[Moto G 4G Android Development] Menelkir:
Please, correct OP:

Where it says:

XT1040 (Brazil)

Android 4.4.3 (Retail Brazil) KXB21.14-L1.23-4 CID12 + Mirror #1

Android 4.4.4 (Retail Brazil) KXB21.14-L1.56 CID12

Is in fact:

XT1040 (Brazil)

Android 4.4.3 (Retail Brazil) KXB21.14-L1.23-4 CID12 + Mirror #1

XT1039 (Brazil)

Android 4.4.4 (Retail Brazil) KXB21.14-L1.56 CID12
[Moto G 4G Android Development] lost101:
New Moto G LTE firmware image available:

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_niibr.niibr.en.BR (Nextel Brazil) (XT1039)

Filename: XT1039_NII-BR-SS_4.4.4_KXB21.14-L1.56_cid12_CFC_1FF.xml.zip

[Download]

--

Firmware images provided by Firmware Team, post your appreciation and requests here:

http://www.firmware-team.com/forumdisplay.php?f=14​
[Moto G 4G Android Development] eteles:
This is not correct... This build number is for XT1040, not for XT1039. Here's the screenshot of my XT1040 updated by official Motorola OTA:
[Moto G 4G Android Development] Menelkir:
I've flashed the two ones, and they give me different models to every single flash.
[Moto G 4G Android Development] vpnair:
Can u post a screenshot of ur model and system info? Just to clear up the confusion. Thanks.
[Moto G 4G Android Development] Menelkir:
I'm back on cm11, I was testing some things here and I realize that (I dont have screenshots), but I see the difference in about (only the model, everything else was working fine, nothing was wrong or working different, except the model number so nothing really bad happened).
[Moto G 4G Android Development] eteles:
Model here says only "Moto G" there's nothing about XT1040 or XT1039 inside "about phone".

And here's the screenshot from cpu-z that clearly states XT1040 and the build number (I have 4 XT1040 phones and they all have the same build number for 4.4.4 official update):
[Moto G 4G Android Development] vpnair:
[MENTION=4804571]eteles[/MENTION] [MENTION=2794850]Menelkir[/MENTION]

Correct, there isn't model number info in 'About Phone'. Because CID is same, you wont notice any difference between XT1039/40 in Brazil except (possibly) the LTE bands that it connects to. Thanks for the help guys.
[Moto G 4G Android Development] eteles:
Brazil uses only 2600 LTE band... I think only the XT1040 works on this frequency.

I think that after my cpu-z screenshot it's clear that this build number is for XT1040 and not for XT1039, so the first post is correct... Am I wrong?
[Moto G 4G Android Development] howipig:
eteles,

Greetings.

Though I am not living in Brazil, I can confirm with you that the XT1040 DOES support LTE Band 7 (2600). We also have LTE networks in Canada in the Band 7 (2600).

http://www.ic.gc.ca/app/sitt/reltel...geTitle=REL_SEARCH_RESULTS&STTyp=REL&lang=eng
[Moto G 4G Android Development] hacktrix2006:
XT1039 GB just got a ota to 21.11.56.peregrine_retgb.retgball.en.GB it had fsg.mbn and gpt.bin changes would it possible to see if full image is available as current list will no longer work.

There was also changes to boot recovery and system.
[Moto G 4G Android Development] vpnair:
Yeah 21.11.56 seeded to en.EU too. Patience for full image to come out. OTA is available in Moto General. If you are having trouble installing (e.g. /system modified through root/busybox/xposed). Flash the system.img chunks for your current version through mfastboot and try OTA update again.
[Moto G 4G Android Development] hacktrix2006:
I am already updated via OTA.

After uninstalling the Xposed and just reflashing back the boot.img and recovery.img i was able to send the OTA via adb sideload on the stock recovery as i captured the OTA before hand.

I can wait for the full image no problem on that one as with the new OTA the device on stock really shines performance wise on the SDcard transfers.
[Moto G 4G Android Development] lost101:
New Moto G LTE firmware image available: (New build of the Retail Canada firmware)

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_retca.retca.en.CA (Retail Canada) (XT1040)

Filename: XT1040_RETAIL-CA-SS_4.4.4_KXB21.14-L1.61_cid14_CFC_1FF_SVC.xml.zip

[Download]

--

Firmware images provided by Firmware Team, post your appreciation and requests here:

http://www.firmware-team.com/forumdisplay.php?f=14​
[Moto G 4G Android Development] mooms:
Any news on 21.11.56.en.EU for XT1039 ?
[Moto G 4G Android Development] vpnair:
Not as far as a I know. Best to flash previous firmware and OTA update. It's not a huge update anyway.
[Moto G 4G Android Development] Fiscelan:
Awesome, many thanks!! Moto G XT1039 bricked following an incompatible kernel flash, and now I'm back in business!
[Moto G 4G Android Development] lost101:
New 4.4.4 Moto G LTE firmware images available: (Looks like very minor build update)

Previously the XT1039 firmware did not work with EU handset, I'll assume this is the case unless proven otherwise.

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_umts.Retail.en.01 (Retail Brazil) (XT1039) (BRAZIL ONLY)

Filename: XT1039_RETAIL-BR-EU-SS_4.4.4_KXB21.14-L1.56-1_cid12_CFC_1FF.xml.zip

[Download]

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_umts.Retail.en.01 (Retail Brazil) (XT1040)

Filename: XT1040_RETAIL-BR-SS_4.4.4_KXB21.14-L1.56-1_cid12_CFC_1FF.xml.zip

[Download]

--

Firmware images provided by Firmware Team, post your appreciation and requests here:

http://www.firmware-team.com/forumdisplay.php?f=14​
[Moto G 4G Android Development] lost101:
New 4.4.4 Moto G LTE firmware image available:

Title: Android 4.4.4 - Blur_Version.*.*.*.peregrine_*.*.en.US (Cricket Wireless (AT&T) US) (XT1045)

Filename: CRICKET_XT1045_4.4.4_KXB21.14-L1.45_cid16_CFC.xml.zip

[Download]

--

Firmware images provided by Firmware Team, post your appreciation and requests here:

http://www.firmware-team.com/forumdisplay.php?f=14​
[Moto G 4G Android Development] rodsayd:
The only thing I have to check for installing is the CID number? Mine is C (I guess it means 12), so I can install any firmware with CID 12 regarding where I bought my phone?

I want to install a retail one, my phone is from Chile. Which firmware should I flash?
[Moto G 4G Android Development] jmcollis:
OK so this is for a XT1045. Now my phone is a XT1045 but is a ret_us model (which doesn't seem to have a 4.4.4 full firmware image available). Can I use this image to restore my phone to stock firmware or should the CID match?? The CID of the Cricket image is CID16 whereas the ret_us model is CID9.

If the CID has to match, could I therefore use the XT1040 image that is for CID9?? or is that likely not to work??

Has anyone got a clear definition of what actually will work??
[Moto G 4G Android Development] lost101:
My experience with non-LTE Moto G has been that it is possible to flash any CID on any model, you just may need to skip flashing the modem / radio (NON-HOLS.bin) - in other words, retain your existing radio.

Commands to ommit:

mfastboot flash modem NON-HLOS.bin

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash fsg fsg.mbn​
[Moto G 4G Android Development] bkr32:
willing to give this a try i just dont want to be carrier locked again, so which img is carrier unlocked
[Moto G 4G Android Development] lost101:
I don't believe its possible to become carrier locked again, even if you did flash a Sim-Locked firmware image.
[Moto G 4G Android Development] bkr32:
i got my peregrine overseas and its locked to carrier
[Moto G 4G Android Development] baxtex:
Okay I havent installed any custom recovery or rooted my phone, yet. I want to be sure I can flash the stock kernel so I can get Lollipop when it comes out. However, I can't seem to find the recovery for my device. This is the firmware I'm on:

21.11.56pergerine_reteu.teteuall.en.EU reteu KXB21.14L1.56 ||| XT1039 bought in Sweden, Europe.

Anyone know which Recovery would work for me? I guess the Android 4.4.4 (Retail Europe) KXB21.14-L1.46 CID7 for the XT1039 recovery would work fine? I just want to be sure I can revert And to install the Recovery, all I have to do is pushing and installning the recovery.img via adb&fastboot with the computer as usual?