[Moto G4 Plus Guides, News, & Discussion] sakhura:
Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.

This firmware can be flashed on Both locked and Unlocked Bootloaders

Moto G4 Plus [XT1640/XT1641/XT1642/XT1643/XT1644] ATHENE NPJ25.93-14 FASTBOOT + Relock Bootloader

Requirements:

1. Download the Minimal ADB and Fastboot = https://www.androidfilehost.com/?fid=745425885120698566

2. Install Minimal ADB and Fastboot = https://xdaforums.com/showthread.php?t=2317790

3. Moto Drivers

For Windows: http://www.devfiles.co/download/5eExXq3a/MotorolaDeviceManager_2.5.4.exe

For Mac:http://www.devfiles.co/download/i51GYJjz/MDM_Installer_2.2.9.dmg

4. Download Fastboot ROM Zip : https://drive.google.com/file/d/0Bx6eXSiwEdFFWXZyYjB5S0xlZWs/view :good:

Firmware via FASTBOOT:

1. Download the rar file and unzip it.

2.Extract all the files to your fasboot folder.

3.Restart the Moto G4 in fastboot mode.

4. Make sure that usb debugging is on.

5.Connect the Phone in fastboot mode to the computer

Run the "OEM Flash.bat" script that is inside the folder that is created when you unzip the file.(If you want to lock your bootloader Use "OEM lock.bat")

You Can also do it Manually In adb fastboot folder shift+right click and then in the pop up click open command window here

fastboot oem lock begin

fastboot oem lock begin

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 dsp adspso.bin

fastboot flash oem oem.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 modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize (optional: will erase any customizations if ordered through motomaker)

fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)

fastboot oem lock

fastboot reboot

NOTE:

1. If you dont want to lock your bootloader just skip the "fastboot oem lock" and "fastboot oem lock begin" Commands

2. Since this file was compressed using 7zip you need 7zip to extract it using Winrar or Winzip will give you an error you can download 7zip from http://www.7-zip.org/download.html

3.Using the "OEM Flash.bat" or "OEM lock.bat" will wipe your data and all the Customizations like Root and Xposed and get it to Factory Condition if You are Reverting back to Stock from a Custom Rom Or Upgrading Stock it is Strongly Advised to Wipe your Data to avoid bugs and crashes(system/app)

In any case if you don't want to wipe data just remove this command "fastboot erase userdata" from the bat file or skip it if your flashing manually

HIT THANKS IF I HELPED YOU !

FOR FURTHER ASSISTANCE JOIN THE TELEGRAM GROUP FOR OUR G4 FAMILY https://telegram.me/g4plus