[Guide][Newbie-Friendly] Know your Device: Moto G(2014) || The AIO Thread - G 2014 General

Welcome to the Moto G 2014 All In One Thread
Here you can find all stuff for your beloved device,from Unlocking BL to Restoring Stock,Lets start by knowing this device
The 2014 Moto G is the successor to Motorola's best selling phone of the same name. It features a 5" 720p IPS LCD display, 1.2GHZ quad-core Cortex-A7, 1GB of RAM and either 8GB or 16GB or internal storage. It has an 8MP primary camera and 2MP secondary camera. The Moto G is powered by a non-removable 2070mAh battery. Software-wise, the Moto G runs on pure Android, with no custom launcher to be seen. There's also an optional dual-SIM device variant for those are regular travellers.Also known as Motorola Moto G (2nd Gen.), Motorola Moto G2, Motorola Moto G+1
Motorola Moto G (2nd Gen.) with Digital TV
Specifications
Device Name: Motorola Moto G (2014)
Manufacturer: Motorola
Series : Moto
2G Network GSM 850 / 900 / 1800 / 1900
CDMA 800 / 1900 - CDMA version
3G Network HSDPA 850 / 900 / 1900 / 2100
HSDPA 850 / 1700 / 1900 / 2100 - for T-Mobile, AT&T
HSDPA 850 / 900 / 1700 / 1900 / 2100 - USA version
CDMA2000 1xEV-DO - CDMA version
SIM Micro-SIM
Camera Primary 8 MP, 3264 x 2448 pixels, autofocus, LED flash
Features Geo-tagging, touch focus, face detection, HDR, panorama
Video [email protected], stereo sound rec., HDR
Secondary 2 MP
Features
Android OS, v4.4.4 (KitKat), upgradable to Android L
Chipset:Qualcomm MSM8226 Snapdragon 400
CPU:Quad-core 1.2 GHz Cortex-A7
GPU:Adreno 305
Click to expand...
Click to collapse
For more info,visit here
Compare the Moto G (2013) with Moto G (2014)
Key Combination
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
Unlocking Bootloader
On your computer you need to have both ADB and fastboot installed.
Then, you need to place the fastboot file on the same folder as ADB.
You can download Fastboot from here.
Turn off your phone.
Reboot it in fastboot mode.
For fastboot mode press and hold power and volume down button at the same time.
Good, now connect your Moto G with your computer.
Plug in the USB cable in order to establish the connection.
On your computer go to the fastboot folder.
There open a command prompt window (press shift key on your keyboard and while pressing the shift key, right click on any blank space from the mentioned folder and select “open command prompt here”).
Now, on the cmd window type the command “fastboot oem get_unlock_data”.
Perfect; up next go to this page.
Register on Motorola’s official web page.
Read what’s on Motorola’s official page, agree and click on “next”.
Now, on the cmd window you will have something like this displayedbootloader) 0A40040192024205#4C4D3556313230; (bootloader) 30373731363031303332323239#BD00; (bootloader) 8A672BA4746C2CE02328A2AC0C39F95; (bootloader) 1A3E5#1F53280002000000000000000; (bootloader) 0000000.
You need to copy these lines (without the “bootloader” word) on the Motorola web site – place them on step 6. Check if your device can be unlocked…
Just select the “can my device be unlocked” option.
Press the “request unlock key” button and select “I agree”.
A unique code (20 character alpha numeric code) will be sent to your email.
Go to the cmd window from your computer and type the command (replace code with the received code): “fastboot oem unlock [here you will enter the 20 character long code with the right button of your mouse.]”
Good, now your Motorola Moto G2's bootloader will be unlocked.
Click to expand...
Click to collapse
To relock the bootloader:
Go to Fastboot and give the command
Code:
fastboot oem lock
Remove the unlocked bootloader message
Download the zip.
Extract all the files
Reboot to fastboot mode (power + vol down)
Now open cmd and use cd command to go to the directory where you placed the file.
Now Type the command: fastboot flash logo logo.bin
Reboot from the recovery (use vol up to select and vol down to navigate)
Now your bootlogo should be restored back to the normal version
Click to expand...
Click to collapse
How to Install/Switch Firmwares
Please Note that this method was tested on the Moto G (2013). But this should work for the 2014 version too.
Pre-requisites:
a) Download and install Motorola Drivers:
http://www.mymotocast.com/download/MDM?platform=windows
b) Download and extract the stock firmware of your choosing from:
http://www.firmware-team.com/forumdisplay.php?f=14
d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc
Disclaimer:
Follow these instructions at your own risk. If something goes wrong don't blame me!
Steps to restore stock firmware:
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
You should see the Moto G bootloader screen with the following options:
Code:
Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.
In my case:
Code:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB
3a) If you downloaded and extracted a firmware in .tar.gz format
Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
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 system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Downgrading:
The 1st command "mfastboot flash partition gpt.bin" will fail on 4.4.2 to 4.3 downgrade. Skip this command if you are downgrading and continue with the other commands, which should work.​
4) Wait, you should now be rebooted into a fully stock Moto G firmware.
Click to expand...
Click to collapse
Alternate method can be found here Thanks to archies20
Root Your Moto G 2nd Gen and Install Recovery
Root with Recovery can be found here
​

Some Important Links
Index thread
Useful Info Codes
The Moto G 2014 Indian Thread
Moto G FAQ Thread
[APP]Motorola Boot Logo Maker​

Android Developments
[Recovery][Titan] TWRP 2.8.0.1 for Moto G 2014
[ROM][ALPHA][XT1068][PORT] CyanogenMod 11 -Alpha
[Recovery][Titan] CWM PhilZ Touch 6 for Moto G 2014
[ROM] [STOCK] [XT1068] Andro X - First FlashableROM for Moto G (2nd gen)
TOOL][WINDOWS] FLASH boot and recovery​

DC07 said:
Welcome to the Moto G 2014 All In One Thread
Here you can find all stuff for your beloved device,from Unlocking BL to Restoring Stock,Lets start by knowing this device
The 2014 Moto G is the successor to Motorola's best selling phone of the same name. It features a 5" 720p IPS LCD display, 1.2GHZ quad-core Cortex-A7, 1GB of RAM and either 8GB or 16GB or internal storage. It has an 8MP primary camera and 2MP secondary camera. The Moto G is powered by a non-removable 2070mAh battery. Software-wise, the Moto G runs on pure Android, with no custom launcher to be seen. There's also an optional dual-SIM device variant for those are regular travellers.Also known as Motorola Moto G (2nd Gen.), Motorola Moto G2, Motorola Moto G+1
Motorola Moto G (2nd Gen.) with Digital TV
Specifications
For more info,visit here
Compare the Moto G (2013) with Moto G (2014)
Key Combination
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
Unlocking Bootloader
To relock the bootloader:
Go to Fastboot and give the command
Code:
fastboot oem lock
Remove the unlocked bootloader message
How to Install/Switch Firmwares
Please Note that this method was tested on the Moto G (2013). But this should work for the 2014 version too.
Alternate method can be found here Thanks to archies20
Root Your Moto G 2nd Gen and Install Recovery
Root with Recovery can be found here
Click to expand...
Click to collapse
I have XT1068 Model and there are 4 flashable system files (0, 1, 2,3). After flashing recovery I have to flash
Code:
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
. This is the correct order else you phone won't boot saying "Failed to boot". Please update your instructions... remaining steps are ok..

Dhamukanna said:
I have XT1068 Model and there are 4 flashable system files (0, 1, 2,3). After flashing recovery I have to flash
Code:
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
. This is the correct order else you phone won't boot saying "Failed to boot". Please update your instructions... remaining steps are ok..
Click to expand...
Click to collapse
Updated
Thanks for pointing it out mate. :good:

There already is a Sticky guide here
 @DC07 please check your PMs
Thread closed

Related

[GUIDE] Moto G - Restore stock firmware

Pre-requisites:
a) Download and install Motorola Drivers:
http://forum.xda-developers.com/showthread.php?t=2550635
b) Download and extract the stock firmware of your choosing from:
Looks like this link is now broken :'-( http://sbf.droid-developers.org/phone.php?device=14
The firmwares with '_umtsds' in the file name are for the 'dual-sim' versions of the Moto G, it's probably not a good idea to flash these onto single sim phones, or vice-versa.
Edit: More firmwares for international retail and carrier devices can be found here:
http://www.filefactory.com/folder/c6cdedc45a775d27
Edit: The firmware files have been updated most of the firmware archives are now in .tar.gz archives which include Motorola fastboot and flashing scripts for OSX, Linux and Windows.
On windows the .tar.gz archives need to be opened and extracted using a 3rd party archive manager. e.g. 7-zip, or PeaZip, Windows cannot extract these files natively, Linux and OSX can.
I used the retail British firmware (fastboot_falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB.tar.gz), extracted to c:\
c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment mfastboot-v2.zip (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.
d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
https://drive.google.com/file/d/0B1S0LCuXCnnmOWhnUk1ZWVdQakE
Disclaimer:
Follow these instructions at your own risk. If something goes wrong don't blame me!
I have only tested this on a UK Retail Moto G with an unlocked bootloader, however as these are the original stock signed image files from Motorola it should work on all devices.
See notes at the bottom of this post for downgrading from 4.4.2 to 4.3.
Edit: tkm89 reports that he was able to use this guide to restore Stock Retail British firmware on a bootloader locked Tesco-mobile Moto G
Steps to restore stock firmware:
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
You should see the Moto G bootloader screen with the following options:
Code:
Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.
In my case:
Code:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB
3a) If you downloaded and extracted a firmware in .tar.gz format
In windows, run the 'flashall.bat' script Type:
Code:
flashall.bat /eu
The "/eu" switch forces userdata to be erased from the device, this is the same as a factory reset or wipe this is recommended when restoring stock firmware.
In Linux/OSX run the flashall.sh script. Type:
Code:
chmod +x flashall.sh
./flashall.sh
Downgrading:
The scripts will fail with an error on downgrading from 4.4.2 to 4.3. Open the script in a text editor (notepad) and delete (or comment) the following:
Lines 89-90 in the flashall.bat file:
Code:
CALL :fastboot_flash partition gpt.bin
IF %errorlevel% NEQ 0 EXIT /b 1
Lines 120-121 in the flashall.sh file:
Code:
run $fastboot -s "$serial_number" flash partition gpt.bin
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
3b) If you downloaded and extracted a firmware in .xml.zip format.
Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
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_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Downgrading:
The 1st command "mfastboot flash partition gpt.bin" will fail on 4.4.2 to 4.3 downgrade. Skip this command if you are downgrading and continue with the other commands, which should work.​
4) Wait, you should now be rebooted into a fully stock Moto G firmware.
t-bon3 said:
[...]
Click to expand...
Click to collapse
added to FAQ
matmutant said:
added to FAQ
Click to expand...
Click to collapse
Can you please remove it temporarily, it's not working at the moment! Sorry about that.
t-bon3 said:
Can you please remove it temporarily, it's not working at the moment! Sorry about that.
Click to expand...
Click to collapse
ok
any news? rsd lite still not see Moto G on windows 8.
Bart123 said:
any news? rsd lite still not see Moto G on windows 8.
Click to expand...
Click to collapse
Guide is updated and working now. :fingers-crossed:
At the moment the flashing needs to be done one partition at a time using a specific motorola version of fastboot. Hopefully a new version of RSD lite will be released that simplifies the whole process.
I was having problems with RSD Lite, when trying to flash the retail British ROM (mine came with the Tesco ROM pre-installed). This worked perfectly on my Moto G with a locked bootloader!
thanks for the guide, ive also just flashed stock firmware over preinstalled tesco firmware with a locked bootloader.
Worked flawlessly on my Tesco Mobile Moto G. Many thanks for the guide fella
Is the bootloader warning Logo also removed?
Gesendet von meinem XT1032 mit Tapatalk
Wich of these stock rooms are the Brazilian XT1033 for the 16gb dual chip???
fastboot_falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-Brasil_BR.tar.gz
fastboot_falcon_retbr_user_4.3_14.10.0Q3.X-76-LCG-8_41_release-keys-cid12-Brasil_BR.tar.gz
alex1301 said:
Is the bootloader warning Logo also removed?
Click to expand...
Click to collapse
If you just follow the guide above then no, your unlocked bootloader and warning will remain after flashing.
The procedure for relocking the bootloader is to issue the following command in fastboot before flashing:
Code:
mfastboot oem lock begin
then after flashing but before rebooting enter the following:
Code:
mfastboot oem lock
This should lock the bootloader BUT I have seen reports that even after re-locking there is still a warning screen saying that the bootloader has been previously unlocked!
Allewar said:
Wich of these stock rooms are the Brazilian XT1033 for the 16gb dual chip???
fastboot_falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-Brasil_BR.tar.gz
fastboot_falcon_retbr_user_4.3_14.10.0Q3.X-76-LCG-8_41_release-keys-cid12-Brasil_BR.tar.gz
Click to expand...
Click to collapse
first one with ds 'dual-sim' in the name
C:\Motorola\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-
Brasil_BR>mfastboot flash system system.img_sparsechunk.0
error: cannot load 'system.img_sparsechunk.0'
I had this message when I try, the previous commands worked right!
Daniel
moto g 16gb dual chip
djmgermanos said:
C:\Motorola\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-
Brasil_BR>mfastboot flash system system.img_sparsechunk.0
error: cannot load 'system.img_sparsechunk.0'
I had this message when I try, the previous commands worked right!
Daniel
moto g 16gb dual chip
Click to expand...
Click to collapse
The south american firmwares do not have multi-part /system images. In that case use this command instead:
Code:
mfastboot flash system system.img
t-bon3 said:
The south american firmwares do not have multi-part /system images. In that case use this command instead:
Code:
mfastboot flash system system.img
Click to expand...
Click to collapse
Tanks
djmgermanos said:
Tanks
Click to expand...
Click to collapse
Now I have this message
C:\Motorola\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-
Brasil_BR>mfastboot flash system system.img
sending 'system' (524288 KB)...
OKAY [ 18.111s]
writing 'system'...
Multi-Flash is not supported any more!
Please download latest fastboot from: xxxxxx
the link don´t work
Daniel
some of the lines show errors for me:
Sparsechunk2: Failed to validate sparse image
Sparsechunk0: Invalid signed image
other wise, it seems to work fine
thanks,
djmgermanos said:
Now I have this message
C:\Motorola\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-
Brasil_BR>mfastboot flash system system.img
sending 'system' (524288 KB)...
OKAY [ 18.111s]
writing 'system'...
Multi-Flash is not supported any more!
Please download latest fastboot from: xxxxxx
the link don´t work
Click to expand...
Click to collapse
Can you try mfastboot.exe from the attached zip. This is taken from the south american firmware release.
Now it works
Thanks
Daniel
Moto G 16gb dual chip Brazil
XT1033
---------- Post added at 12:25 PM ---------- Previous post was at 12:13 PM ----------
Allewar said:
Wich of these stock rooms are the Brazilian XT1033 for the 16gb dual chip???
fastboot_falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-Brasil_BR.tar.gz
fastboot_falcon_retbr_user_4.3_14.10.0Q3.X-76-LCG-8_41_release-keys-cid12-Brasil_BR.tar.gz
Click to expand...
Click to collapse
Esta
fastboot_falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-Brasil_BR.tar.gz

[GUIDE] Restore Moto E (2015) Stock Firmware

Pre-requisites:
a) Download and install Motorola Moto EDrivers
b) Download and extract the stock Firmware of your choosing
c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment 2427667 (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.
d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
Direct Download
Disclaimer:
Follow these instructions at your own risk. If something goes wrong don't blame me!
These are the original stock signed image files from Motorola it should work on all Moto E Variants.
Steps to restore stock firmware:
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto E (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
You should see the Moto E bootloader screen with the following options:
Code:
Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.
In my case:
Code:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB
3)
Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.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 system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot oem config carrier vzw
mfastboot oem fb_mode_clear
​If you want to skip typing these commands one by one use MOTOEFLASHALL.bat. Place the .bat file inside the extracted firmware folder and run it.
4) Wait, you should now be rebooted into a fully stock Moto E firmware.
Original Thread
Creditstbon3
@lohanbarth for instructions and firmware images
FAQ
Q1: Will this work on locked bootloaders?
Ans: Yes as stock firmwares are digitally signed by Motorola.
Reserved
nice job!,
edit
iB4STiD said:
nice job!, but links aren't working
Click to expand...
Click to collapse
Are stock images even available yet?
iB4STiD said:
nice job!, but links aren't working
Click to expand...
Click to collapse
qbking77 said:
Are stock images even available yet?
Click to expand...
Click to collapse
The stock firmware aren't up yet
Lucas Eugene said:
The stock firmware aren't up yet
Click to expand...
Click to collapse
ah, thought they were thats why u made the thread.. this will come in handy tho in the future thanks :good:
good evening here Rom stock
XT1524_RETEUALL_MOTOE2 (4G-LTE) _5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml >>>> here <<<<
lohanbarth said:
good evening here Rom stock
XT1524_RETEUALL_MOTOE2 (4G-LTE) _5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml >>>> here <<<<
Click to expand...
Click to collapse
Hi thanks for the link I've created a new thread to manage Firmware
any stock firmware for the XT1527?
Stock firmware, non carrier
I tried following the steps to restore the firmware, but no luck since I got Preflash validation failed, which I take it to mean the boot.img is not the right one for the moto e2 (bought it from motorola online store). I had everything working, but decided to re-lock the phone, and forgot to check allow oem unlock. When i ran fastboot oem lock it sat there, and then on reboot it didn't start up, just stayed on fastboot screen. No matter what I do I can't get it past it and trying again to unlock it it says:
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
So now I am stuck in a fastboot loop. Any suggestions for things to would be great.
Thanks.
Useful subject
https://www.youtube.com/watch?v=S1myrGuMCQg
lohanbarth said:
good evening here Rom stock
XT1524_RETEUALL_MOTOE2 (4G-LTE) _5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml >>>> here <<<<
Click to expand...
Click to collapse
@lohanbarth
can you provide stock rom for moto e 2015 3g variant
has moto released source or the firmware from the US lte gsm varient? what you have posted is for the EU model.
i'm wondering if the EU model is maybe the international version? which could in fact be used in the US.
Hi all
Stocks firmwares repository:
http://forum.xda-developers.com/showpost.php?p=60154569&postcount=21
Thanks if you help
With the Verizon model still having a locked bootloader, is there a possible chance that restoring the stock images from Motorola would allow you past that, or even the bootloader from the same model with a different carrier, this is my only device right now but I would like to test it but can't. Has anyone else thought of this?
Edit: Figured this out... made new post.
Dangerous waters ... and questions
Hi, I own a currently unlocked/rooted XT1524 (LTE/4G) which came with stock rom LXI22.50-24.1 (retde = German retail version).
At the moment I'm running @scritch007's latest rom (cm-12-20150418-UNOFFICIAL-surnia) on it and I'm thrilled to bits that someone made this happen so soon on the device. - Boundless joy, thank you so much.
But now, I'm wondering:
Lucas Eugene said:
[...] Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
mfastboot oem fb_mode_set
[...]
mfastboot oem config carrier vzw
[...]
Click to expand...
Click to collapse
1. Carrier VZW
What does the "... config carrier vzw" line exactly trigger/do when being applied on an European model?
Isn't VZW = Verizon Wireless?
Shouldn't this line read something like "... config carrier gsm"?
Couldn't we omit this line?
What were the consequences?
2. Risks
After unlocking/rooting I made a TWRP Backup (mfastboot boot <twrp>, didn't touch the original recovery) and also did I dd'ing all partitions living in /dev/block/platform/soc.0/by-name/ via adb root shell.
But regarding the soft-brick issues (oem re-lock) described by @Top_Quark and @squid2 here, I'm not sure (and feeling very uncomfortable with my limited knowledge) if I could re-lock the device without problems without my/any fitting original firmware (which one?). - There is only the one mentioned in the start posting (reteuall but with older LXI22.50-13, same cid 7). - So, can I re-lock my device after a TWRP restore/adb dd ... without flashing the mentioned original signed firmware (euretall)? - Or will I being "surprised" by a nice brick?
Checklist of preconditions to re-lock and go back:
Developer options: active
USB-Debugging: active
Enable OEM unlock: active
TWRP, adb, (m)fastboot set up and working
reteuall firmware: downloaded and at hand (retde firmware still has to show up somewhere yet)
_
Then processing @Lucas Eugene's flashing list
Is this right or am I missing something?
Thank you for your time reading and your replies.
Regards
Hi! I need your help... I bought a moto e xt1524 .... This phone isn't compatible with the frequencies using in Argentina... In my country works the xt1527 version... The question is if I can flash the 1527 firmware in the 1524...

[GUIDE] Restore Moto G (2015) Stock Firmware

Pre-requisites:
a) Download and install Motorola Moto GDrivers
b) Download and extract the stock Firmware of your choosing
c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment 2427667 (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.
d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
Direct Download
Disclaimer:
Follow these instructions at your own risk. If something goes wrong don't blame me!
These are the original stock signed image files from Motorola it should work on all Moto G (2015) Variants.
Steps to restore stock firmware:
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
You should see the Moto G bootloader screen with the following options:
Code:
Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.
In my case:
Code:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB
3)
Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.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 system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
​Please make sure to verify the system.img parts from your corresponding firmware before flashing
4) Wait, you should now be rebooted into a fully stock Moto G firmware.[/FONT][/SIZE]
Original Thread
Creditstbon3
@lohanbarth for instructions and firmware images
FAQ
Q1: Will this work on locked bootloaders?
Ans: Yes as stock firmwares are digitally signed by Motorola.
RESERVED
The link to stock Firmware are broke.
Firmware link is broken
Your're link is broken can't download.
Can I flash this firmware on Moto G 2nd LTE XT1079 (buy from China)?
Gustavo47 said:
The link to stock Firmware are broke.
Click to expand...
Click to collapse
cagechen said:
Your're link is broken can't download.
Can I flash this firmware on Moto G 2nd LTE XT1079 (buy from China)?
Click to expand...
Click to collapse
The links aren't up yet
work
it will work on moto g 2014
Lucas Eugene said:
The links aren't up yet
Click to expand...
Click to collapse
you know when will be available for download?
aditya rockzz said:
it will work on moto g 2014
Click to expand...
Click to collapse
Yes it will but make sure you flash the right firmwares from your thread.
mtkpunisher said:
you know when will be available for download?
Click to expand...
Click to collapse
I don't know. It generally is uploaded within a month. But I could be wrong.
Firmware images are now uploaded for both 4g and 3g variants
Will this re-enable further OTA updates from Motorola?
Ashwin Prasad said:
Will this re-enable further OTA updates from Motorola?
Click to expand...
Click to collapse
In combination with a full un-root yes.
I updated my moto g 2 to lollipop through ota I want to downgrade to kk. Can I try this method to downgrade ? BTW I'm on stock
The XT1079(Buy from China) can flash the firmware?
thanks!
Noob question, the XT1072 ROMs you offer are fine for both 8GB and 16GB ? becouse i have the 8GB
Hi Lucas,
Am quite new at this so will try to be as clear as I can.
Got a new Moto G (4G) from China Model XT 1079 that is unlocked and has got TWRP already installed on it.
Since it has a lot of Chinese stuff on it which I dont need/cant understand I want to do either one fo the following
1) Install a good custom Rom (Either Cyanagen mod or Titan if any compatiblke custom ROMS for this model is available)
2) Get back to the original stock firmware
Your help is gratefully needed
Cheers
For me it said: "The image is too large"
How i can fix?
im stuck on the warning bootloader unlocked page??
any ideas?
it won't boot up
though i can get into bootloader
I flashed the EU firmware, and I changed 2° command 'fastboot flash bootloader bootloader.img' with 'fastboot flash motoboot motoboot.img' and i restored successfully the firmware.
Sorry for my english
Really work
successful!!!

[GUIDE][Osprey] Fastboot Flashing Factory Firmware Images

Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.​
Based on existing tutorial by @t-bon3. This guide has been created as a hard-brick occurred using the old Moto G (1st Gen) tutorial. Please exercise extreme care with Fastboot, and only use the commands mentioned here. Experimenting with Fastboot commands can seriously damage your phone.
How to Fastboot Flash Moto G (3rd Gen) Factory Firmware Images​
Required Files:
Motorola Drivers: Download
Latest Fastboot | ADB (Windows | Linux): Download (Windows 10 users may need this pack for Drivers to work.)
Factory Firmware Images: [INDEX][Osprey] Moto G Factory Firmware Images​
WARNING: You must perform a 'Factory data reset' in Stock Recovery before flashing any Firmware Image - instructions here.​
Instructions:
1) Extracting Fastboot and Firmware Images:
Extract zip for chosen Firmware Image to a folder with a simple directory structure. For example: C:\motog_firmware\
Extract the adb-fastboot-latest_win_linux.zip into this folder.​
2) Reboot the phone into 'Bootloader mode' and preparing PC for flashing
Windows:
Entering Fastboot mode:
------------------------------------
i) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.
ii) The 'software' way.
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open Command Prompt, navigate to the Firmware / ADB folder (i.e CD C:\motog_firmware ) and type:
Code:
adb reboot-bootloader
Linux:
Entering Fastboot mode:
------------------------------------
i) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.
ii) The 'software' way. (Requires ADB to be already installed - see below)
a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB
d) Navigate to the Firmware folder, right-click and open terminal and type:
Code:
adb reboot-bootloader
Installing ADB / Fastboot:
-------------------------------------
Flashing via Linux LiveCD: (Put factory firmware files on an external usb drive / pen)
--------------------------------
a) Download Ubuntu LiveCD
b) Burn to DVD or write to USB pen
c) Restart PC, Boot from DVD into Ubuntu
d) Open Terminal and type the following:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot​
e) Test fastboot by typing: sudo fastboot devices
You should see:
<serial number> fastboot​f) You are now ready to flash the fastboot files
​
3) Fastboot Commands:
Do commands manually, one at a time - checking that each one returns an [OKAY].​
NOTE: Do not simply copy and paste these commands! - system.img_sparsechunks may differ in number and name.
Always check contents of folder you're working with. You must flash all of the sparsechunk files you have.​
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot​
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE​
Frequently Asked Questions:
Can I restore Factory Firmware if my Bootloader is locked?
Yes. However attempting to downgrade to an older version of Android may fail - 'Preflash validation' error. Even with an unlocked Bootloader, downgrading cannot be guaranteed. It's also important to be aware that flashing the wrong Bootloader (bootloader.img) for your model can have serious consequences. Always establish your model of Moto G before flashing.
I get a 'Preflash validation' error when flashing a Firmware Image
The Firmware Image you are trying to flash is too old. You can only flash a firmware image that matches, or is newer than the most recent system version you have had on your phone. However the former scenario can also sometimes return the error. In which case, your options are to wait for an even newer firmware image or unlock Bootloader and flash a ROM zip.
After flashing Firmware Image files phone gets stuck during boot-up | will not load Android?
Check you are naming the files correctly, and make sure you are flashing all of the 'sparsechunk' files - not just those mentioned in the tutorial. The 'sparsechunk' commands listed there are not to be copied exactly, different firmware images may have different files.
How to flash Radio Firmware only?
Use the following fastboot commands:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn​
How do I downgrade to an older Firmware?
Downgrading carries risks, and may result in constant nagging notifications to update Android. Decide carefully if this is really what you want. With earlier generations of Moto G flashing bootloader.img and gpt.bin has resulted in a hard-brick. Avoid flashing these files if you are trying to downgrade. The safer option is to find a custom Stock ROM with OTA Updates disabled.
Fastboot in Linux is not working?
In Linux, root access is required for Fastboot and/or ADB to work.
sudo fastboot devices​
Hi @lost101
Need a clarification in the 3rd point (fastboot commands),
Whether it's
fastboot flash bootloader bootloader.img
OR
fastboot flash motoboot bootloader.img
==vj== said:
Hi @lost101
Need a clarification in the 3rd point (fastboot commands),
<snip>
Click to expand...
Click to collapse
From the Firmware Images I've checked; the file is called: bootloader.img and the partition: bootloader
EDIT: This information is based on the servicefile.xml included with many of these firmware images.
Hey im new here and with rooting
i recently rooted my phone but now when i try to start up the screen goes black.
im downloading the file now can someone tell my how to flash the firmware succesfully?
model: xt1541 moto g 2015
pleas reply thanks
Help to change my firmaware
Dear Lost101,
First at all, thanks for your post.
I was trying to change the firmware of my phone, because I live in Argentina and use a different band for 4G LTE Spain (where I bought the phone).
My Moto G3 is XT1541, and I need the XT1540.
When I was changing the firmare, I had problems when I wrote "fastboot flash boot boot.img"... The command shows "FAILED". Then, I change the model, put again the firmare XT1541, and everything will be right again.
Do you know why I couldn't flash with XT1540?
Best regards and thanks in advance!
Demians1 said:
I was trying to change the firmware of my phone, because I live in Argentina and use a different band for 4G LTE Spain (where I bought the phone).
My Moto G3 is XT1541, and I need the XT1540.
When I was changing the firmare, I had problems when I wrote "fastboot flash boot boot.img"... The command shows "FAILED". Then, I change the model, put again the firmare XT1541, and everything will be right again.
Do you know why I couldn't flash with XT1540?
Click to expand...
Click to collapse
Flashing a different Model Firmware will not magically unlock or change Band support. Maybe with an unlocked Bootloader you can flash another Model's Firmware, but proceed with caution as you could end up with a dead phone.
Thanks Lost101.
Really I dont looking for change my firmware, but I suppuose that this could be a way to change the cell band....
Do you know or you heard about some way to change band support?
Demians1 said:
Really I dont looking for change my firmware, but I suppuose that this could be a way to change the cell band....
Do you know or you heard about some way to change band support?
Click to expand...
Click to collapse
There is this guide for Moto G (1st Gen) and this universal guide - however I don't know if either will work for you or what damage trying them might cause.
Thnak you very much Lost101!
just a small tip you can copy all text and flash then paste it in CMD it will flash all the partitions no need to enter manually one by one
Dear all,
I have a XT1541, and flash my Moto G3 with a XT1540 and XT1543 firmwares without problems. However I had to unblock the phone before flash it.
Lost101 I can confirm you that replace the model firmware DO NOT change the band frequencies... Thanks again for your warnings!
Very useful guide. Everything is working fine.
lost101 i have an error wit xt1544
see:
Code:
c:\celular>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing ´partition´...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.432s
douglaswfranciscon said:
lost101 i have an error wit xt1544
see:
Code:
c:\celular>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing ´partition´...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.432s
Click to expand...
Click to collapse
This usually occurs when attempting to Flash a Firmware Image older than the one currently installed. Unlocking Bootloader will often remove this error.
You can normally skip this command and still successfully flash Android.
lost101 said:
This usually occurs when attempting to Flash a Firmware Image older than the one currently installed. Unlocking Bootloader will often remove this error.
You can normally skip this command and still successfully flash Android.
Click to expand...
Click to collapse
Hello Lost101. I was download de Rom in other Site. The site is a clone for your site, but the rom is diferente.
Today I was downloades the rom in your site and have success...
Thanks!!!
My motoG are live again!
is it possible to just upgrade my phone without wiping everything? if so, what commands are required just to upgrade it?
krsmit0 said:
is it possible to just upgrade my phone without wiping everything? if so, what commands are required just to upgrade it?
Click to expand...
Click to collapse
Skip the following command: fastboot erase userdata
can i skip bootloader and recovery so they dont overright my custom recovery?
krsmit0 said:
can i skip bootloader and recovery so they dont overright my custom recovery?
Click to expand...
Click to collapse
Yes.

[GUIDE][SCREENSHOT][VERIFIED XT1052asia][UPDATE (MOTO X DOWNGRADED TO 4.4.4) TO 5.1 ]

I am very sorry if you died by my English
Hello guys this guide is for those who downgraded from 5.1 to 4.4.4 using the method described in XDA.
I am not responsible for Bricked(Soft&Hard) mobiles (If you ask at me I can only give you another hard bricked mobile. Because I am having Many)
NOTE (For those who don't know what is happening )This is just for understanding​while downgrading we are skipping flashing of the files (gtp.bin & motoboot.img) because those are the files causing Hard brick.
Because Bootloader(motoboot.img) of 5.1 lollipop does not allow downgrading.​Ok lets start the guide
[GUIDE] Perform the steps carefully​Before proceeding further Backup your precious files because updating via fastboot will wipe your internal memory
Step 1
Download the required files
1. adb tools with mfastboot.exe (search in your laptop or PC because you downloaded that while performing the downgrade
2. Motorola device manager (Driver)
3. fastboot firmware files for your model (links will be posted soon but you can search in google with the phrase "resource yandex moto x")
step 2
Install Motorola device manager driver
step 3
Extract adb tools.zip and firmware.zip in the same folder
step 4
Enable USB Debugging in the mobile then connect it to pc via USB cable
Step 5
Open the folder where you extracted the zip's and right click while pressing the shift key and choose "Open command window here"
Step 6
Enter this command to make your mobile into fastboot mode​command: adb reboot boot-loader
Step 7
After your mobile rebooted to fastboot mode enter the following commands {flashing system takes some time be patient}
commands (verify the screenshots below) (one by one without this " ") (you can copy and past)​mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot erase clogo
mfastboot reboot
You can also use this same method for downgrading from 5.1 to 4.4.4.
The only thing you have to do is replace the 5.1 firmware with 4.4.4​
bat file will be uploaded soon (No need to copy and paste each and every commands)
Press thanks if i helped
gowtham nkg said:
bat file will be uploaded soon (No need to copy and paste each and every commands)
Press thanks if i helped
Click to expand...
Click to collapse
Does this require Boot loader unlock?
wildblade64 said:
Does this require Boot loader unlock?
Click to expand...
Click to collapse
Yes. You should have an unlocked bootloader
How to download from lollipop to KitKat,

Categories

Resources