!Disclaimer! READ EVERYTHING... and then read everything again... If you do/don't follow everything and brick your phone oops, don't know what to tell you.
Started on Android 9.0 When building this guide.
1.) Make sure you have no SIM in your device
2.) Factory Reset your device
3.) In the setup wizard, skip !EVERYTHING!
4.) Enable Developer Options in settings and then enable USB debugging
5.) Connect your phone to PC
6.) Open Powershell in adb directory (shift right click) and type: .\adb shell pm uninstall --user 0 com.android.phone
7.) Restart your device
8.) Connect to WiFi, Open Chrome and go to google.com (or any other website)
9.) You can now Enable OEM unlocking in Developer Options
10.) Open Powershell in adb directory (shift right click) and type: .\adb reboot bootloader
11.) In Powershell type .\fastboot oem unlock
You are now ready to Push via adb
**Because of so many getting, .img Missing Errors" trying to install using the Flash-All Scripts**
The easiest way to move foward from here is to extract your Android OS image into a folder. Afterwards, extract your image zip within that folder. Rename any files that need to be Pushed to something simple without removing the file type .img. Open PowerShell in this folder containing ALL the files you need with (shift right click)
The order of installation is Important so please Read Carefully!
1.) .\fastboot flash bootloader <bootloader file name here>.img
2.) .\fastboot flash radio <radio file name here>.img
After flashing the Bootloader/Radio, you Need! to reboot the bootloader as shown below, Don't Skip This Step!
3.) .\fastboot reboot-bootloader
!Now! You can move on to the rest of the files
4.) .\fastboot flash recovery recovery.img (If Exists)
5.) .\fastboot flash boot boot.img
6.) .\fastboot flash system system.img
7.) .\fastboot flash system_other system_other.img (If Exists)
8.) .\fastboot flash vendor vendor.img (If Exists)
*****************SeeBelow*******************
9.) .\fastboot reboot
You Should now be running your choice of Android!!
**If you are installing 8.1 and older pls follow these additional steps**
8.5) .\fastboot reboot-bootloader
.\fastboot flash aboot aboot.img
.\fastboot flash apdp apdp.img
.\fastboot flash bootlocker bootlocker.img
.\fastboot flash cmnlib32 cmnlib32.img
.\fastboot flash cmnlib64 cmnlib64.img
.\fastboot flash devcfg devcfg.img
.\fastboot flash hosd hosd.img
.\fastboot flash hyp hyp.img
.\fastboot flash keymaster keymaster.img
.\fastboot flash modem modem.img
.\fastboot flash pmic pmic.img
.\fastboot flash rpm rpm.img
.\fastboot flash tz tz.img
.\fastboot flash xbl xbl.img
Side Notes:
Going from Android Q to 8.1 I got a Black Screen after the Non moving google logo screen on boot. Afterwards, the phone seemed completely dead and would not turn on. I held Volume Down+Power for almost a minute and it finally booted into Fastboot. I went through the steps again and this time I noticed the Non moving google logo screen had a lock at the bottom. I tapped it a few times and it then told me my install had an issue and I needed to do a factory reset. I chose to do so and it completed and rebooted with no issues.
I've just bought myself a brand new Pixel 1 XL - 128GB Factory Unlocked. Sadly I wasn't aware of all these issues with OEM unlocking via the Developer Menu. Not knowing the drawbacks, I casually breezed through all the upgrades and reached 10.0 (QP1A.191005.007.A3) state. It was then I realised I cocked up...:crying: because no matter what combination of instructions I try in this (and other) threads, I simply cannot get the greyed out menu to budge! I have tried at least a dozen factory resets, countless adb removals, with/without WiFi, with/without SIM, with/without Google sign in, with/without Safe Mode, with/without Guest User Profile delete and so on.... all to no avail:crying:
I am lost at the moment... I'm sure there's other in the same boat as me. I really do hope there is a solution for all of us out there.. any one have any ideas?
sidhaarthm said:
I've just bought myself a brand new Pixel 1 XL - 128GB Factory Unlocked. Sadly I wasn't aware of all these issues with OEM unlocking via the Developer Menu. Not knowing the drawbacks, I casually breezed through all the upgrades and reached 10.0 (QP1A.191005.007.A3) state. It was then I realised I cocked up...:crying: because no matter what combination of instructions I try in this (and other) threads, I simply cannot get the greyed out menu to budge! I have tried at least a dozen factory resets, countless adb removals, with/without WiFi, with/without SIM, with/without Google sign in, with/without Safe Mode, with/without Guest User Profile delete and so on.... all to no avail:crying:
I am lost at the moment... I'm sure there's other in the same boat as me. I really do hope there is a solution for all of us out there.. any one have any ideas?
Click to expand...
Click to collapse
Have you tried adb pm uninstall android.phone?
djared704 said:
Have you tried adb pm uninstall android.phone?
Click to expand...
Click to collapse
Yes, tried that method too - nothing works. I just sold my Pixel XL and bought a Pixel 2 instead
recently im using arrows os today im trying to flash stock rom and it fails then try to reset all from rcoververy and try again but the next time i try my phone trun of now my phone not even charging mybe bootloader also deleted ...anyone know? how to fix it
abir zzzz said:
recently im using arrows os today im trying to flash stock rom and it fails then try to reset all from rcoververy and try again but the next time i try my phone trun of now my phone not even charging mybe bootloader also deleted ...anyone know? how to fix it
Click to expand...
Click to collapse
please help mee
Related
Hi!
I'm trying to go back to stock+locked rom.
I have seen instructions with a lot of steps, but when I downloaded the rom from googe developers page, i noticed there is a flash-all.sh file that seems to do all the process...
Is this safe?
Code:
fastboot flash bootloader bootloader-mako-makoz10o.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.48.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-occam-jdq39.zip
I don't want to brick the phone
Guide by efrant:
D. Type in the commands into the command prompt
1) Make sure your computer recognizes your device by typing: fastboot devices
2) Unlock your bootloader (if you have not already done so): fastboot oem unlock
3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept. Note: you use the volume keys to change the option and the power button to accept. You cannot use the touch screen.
4) Reboot by typing: fastboot reboot-bootloader
5) Flash the bootloader: fastboot flash bootloader bootloader-mako-makoz10l.img (or whatever the name of the bootloader image that you downloaded).
6) Reboot: fastboot reboot-bootloader
7) Flash the radio: fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.33.img (or whatever the name is of the radio image that you downloaded).
8) Reboot: fastboot reboot-bootloader
9) Flash the system partition: fastboot flash system system.img
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
11) Flash the kernel/ramdisk: fastboot flash boot boot.img
12) Optional (NOT optional for n00bs) -- Flash the recovery partition: fastboot flash recovery recovery.img
13) Erase the cache partition: fastboot erase cache
14) Reboot: fastboot reboot
15) Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the Dalvik cache.
Now you have a fully stock image on your device. The only thing that is different from out-of-the-box condition is that your bootloader is unlocked. See the notes section at the end of this post for information on re-locking the bootloader.
You have to unpack the system.image file as you can only flash .img files in fastboot. What`s with the sleep 5?
Good luck.
I've seen some youtube tutos that use that .sh file and it does flash the .zip with fastboot......
That's why I ask, I mean: The previous thread, which i already read before, is like a step-by-step process, when this .sh file would do it all for you!!
The sleep command gives 5 seconds of grace time for the device to reboot.....
GFXi0N said:
I've seen some youtube tutos that use that .sh file and it does flash the .zip with fastboot......
That's why I ask, I mean: The previous thread, which i already read before, is like a step-by-step process, when this .sh file would do it all for you!!
The sleep command gives 5 seconds of grace time for the device to reboot.....
Click to expand...
Click to collapse
Haven`t used that method myself, but if you think it will work go ahead
WOrst case scenario, the console woud throw me out to the command prompt and I would have to do it by hand......
PROBLEM SOLVED! I used another pc, my usb ports were the problem! I recently got my Nexus 7 (2012), wi-fi only , I unlocked it's bootloader, installer TWRP recovery, and rooted it. For all these operations i used the N7 toolkit , because back then, I was a noob. The rooted tablet (4.2.2) worked Perfectly! But, after about 3 months, it's "volume down" button stopped working. I rebooted it, but it went in bootloader, instead of normal system. So I just select "Start" and it was in Safe Mode! OK, my "volume down" didn't work in Safe Mode (and bootloader mode) neither! And every time I reboot it, it goes to bootloader! I thought that it was a software problem confused , so I began flashing a new ROM. I didn't want to use the toolkit because everyone says that it's bad . I downloaded AndroidSDK, I re-downloaded the ADB and Fastboot drivers, and I downloaded the newer version of the bootloader (4.23, .img) . Tablet was already in bootloader and I connected it to the PC. In platform-tools folder I ran the "fastboot devices" command, and It was able to see it . So I copied the bootloader img to the same folder, and I ran "fastboot flash bootloader bootloader-grouper-4.23.img" . Then I rebooted it into bootloader again. IT WORKED! But, it didn't solve the "volume down" problem. My rooted 4.2.2 and TWRP were still on the system. Everytime I power off the tablet, and then hold the "Power" button, it goes into bootloader. It was that button issue causing that. Then I decided to take it to the service (same place where I bought iw the unloct) , but I couldn't because if they saked bootloader, non-stock recovery and the root, the wouldn't accept the warranty . I decided to download the latest 4.3 stock android, and stock recovery, flash them, and lock the bootloader. I downloaded 4.3 stock from google's official site, (nakasi-jwr66y) and I used the flash-all.bat command that came with it.
.bat command looks like this:
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot oem unlock
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
ping -n 10 127.0.0.1 >nul
fastboot -w update image-nakasi-jwr66y.zip
echo Press any key to exit...
pause >nul
exit
I ran it. It successfully did the oem unlock (it was already unlocked) , all the erase commands, and flash bootloader command. But it was stuck on
"fastboot -w update image-nakasi-jwr66y.zip" . It stays steady for about 30secs , and than it says
"sending 'system' (x-kb)"
After some time it just says Data transfer failure(too manly links) ...
I tried the same process billion more times, but same error :/
I tried
-Re-downloading and installing the drivers
-Changing the usb ports, and microUSB cables,
-Restarting the pc (of course)
-Re-downloading the nakasi-jwr66y
-Downloading the twrp recovery (it successfully flashes it)
-Re-downloading the whole SDK
But it DOESN'T WORK? What should I do? Is the volume-down issue hardware or software ?
Sorry for my bad English :////////
P.S. What is the difference between "fastboot flashall" and "fastboot update" ?
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> fastbootf) 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.
I have used cynogenmod on my moto pure. After a while i have tried to turn it back to the stock rom following this thread: "https://forum.xda-developers.com/moto-x-style/development/firmware-moto-x-style-pure-stock-t3272486" and while doing so my phone has failed in the "fastboot flash bootloader bootloader.img" command. Now my device is soft bricked. It is stuck on boot loops.
I have tried going to fastboot by pressing the buttons but the phone only restarts, i have tried adb commands and fastboot commands but both don't recognize the device. my pc makes noise as it recognized my device yet i cant use adb nor fastboot. i suspect that while doing "fastboot flash bootloader bootloader.img" my bootloader was removed. how can i return it? please help.
I also read about using SP flash tool, but i'm having a hard time in getting the scatter loading file for the moto pure. I can't find it anywhere.
Thanks, Eden
What firmware did you use to flash your phone?
I always had good luck with Autoscript. Never failed me.
So your phone restarts, when you try to go on fastboot?
Sent from my Portable
PassatSport15 said:
What firmware did you use to flash your phone?
I always had good luck with Autoscript. Never failed me.
So your phone restarts, when you try to go on fastboot?
Sent from my Portable
Click to expand...
Click to collapse
Well i used Minimal ADB and Fastboot. which worked for me when i rooted the device and installed the cyno rom.
and yes. it just skips the fastboot. when i press vol down and power together my device shows the bootloader unlocked screen and then goes to the cyno loading screen and keeps there.
PassatSport15 said:
What firmware did you use to flash your phone?
I always had good luck with Autoscript. Never failed me.
So your phone restarts, when you try to go on fastboot?
Sent from my Portable
Click to expand...
Click to collapse
I just tried your autoscript and yet it is stuck on "waiting for device"
edenah said:
I just tried your autoscript and yet it is stuck on "waiting for device"
Click to expand...
Click to collapse
Can you send that script?
You should be able to see where the issue went wrong.
Is the bootloader unlocked? Take a shot of the phone, in fastboot mode.
Sent from my Portable
PassatSport15 said:
Can you send that script?
You should be able to see where the issue went wrong.
Is the bootloader unlocked? Take a shot of the phone, in fastboot mode.
Sent from my Portable
Click to expand...
Click to collapse
i must say. my device manager shows my android phone as a portable device "mtp usb device" and not as "other device" "android". so maybe thats why it cant find the device? Just to make you sure: i have installed the correct drivers for adb and fastboot, my brother's phone works with my pc.
and for the script you asked:
"@echo off
:WARNING
echo Created by ScardracS for the Moto X Pure.
echo I am not responsible for any damage, you're been warned!
echo You will be able to quit the installer simply press K on any question.
pause
:START
cls
echo Have You already installed ADB and Fastboot? (Yes/No/Kill the script)
set /p a=
if /i "%a%"=="Y" GOTO ROM
if /i "%a%"=="N" GOTO INSTALLER
if /i "%a%"=="K" GOTO END
echo Wrong Answer!
GOTO START
:INSTALLER
cls
echo This is the ADB and Fastboot's installer.
echo You have to install both ADB, Fastboot and Drivers.
echo It's better to install it System Wide.
pause
start adbinstaller.exe
pause
:ROM
cls
echo Have You already downloaded the Stock ROM? (Yes/No/Kill the script)
set /p b=
if /i "%b%"=="Y" GOTO STARTINSTALL
if /i "%b%"=="N" GOTO DOWNLOAD
if /i "%b%"=="K" GOTO END
echo Wrong answer!
GOTO ROM
OWNLOAD
cls
echo I'll open GitHub where You will be able to choose your preferred Stock version.
start https://firmware.center/firmware/Motorola/Moto X Pure (XT1575)/Stock/
echo WHEN THE DOWNLOAD IS FINISHED PLEASE UNZIP AND MOVE HERE ALL THE FILES.
pause
:STARTINSTALL
cls
echo Are You ready to intall STOCK ROM? (Yes/No/Kill the script)
set /p c=
if /i "%c%"=="Y" GOTO READY
if /i "%c%"=="N" GOTO START
if /i "%c%"=="K" GOTO END
echo Wrong answer!
GOTO STARTINSTALL
:READY
cls
echo Do you want to delete user data? (Yes/No/Kill the script)
set /p d=
if /i "%d%"=="Y" GOTO WIPE
if /i "%d%"=="N" GOTO NOWIPE
if /i "%d%"=="K" GOTO END
echo Wrong answer!
GOTO READY
:WIPE
cls
echo WIPE SUBSCRIPT
echo DO NOT STOP THE FLASHING PROCESS!!
adb reboot-bootloader
echo FOLLOW THE INSTRUCTIONS ON WATCH ME FOLDER AND THAN HIT ENTER
pause
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
GOTO LOOK
:NOWIPE
cls
echo NOWIPE SUBSCRIPT
echo DO NOT STOP THE FLASHING PROCESS!!
adb reboot-bootloader
echo FOLLOW THE INSTRUCTIONS ON WATCH ME FOLDER AND THAN HIT ENTER
pause
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 customize
fastboot erase clogo
fastboot oem fb_mode_clear
:LOOK
echo Do you want to lock your device? (Yes/No)
set /p e=
if /i "%d%"=="Y" GOTO LOCK
if /i "%d%"=="N" GOTO END
echo Wrong answer!
GOTO READY
:LOCK
echo Locking device
fastboot oem lock
echo Device locked
:END
fastboot reboot
cls
echo Enjoy!
pause
"
and for the logcat:
"@echo off
:WARNING
echo This script is made and tested by me (ScardracS).
echo You can use and/or modify it, but please give me proper credit.
:START
echo.
echo Have You installed ADB? (Yes/No/Kill the script)
set /p a=
if /i "%a%"=="Y" GOTO LOGCAT
if /i "%a%"=="N" GOTO INSTALLER
if /i "%a%"=="K" GOTO END
echo Wrong Answer!
GOTO START
:INSTALLER
cls
echo I'll install ADB
echo Please install both ADB, Fatsboot and Drivers.
start adbinstaller.exe
pause
:LOGCAT
cls
echo Do you want to overwrite previous file? (Yes/No/Kill the script)
set /p b=
if /i "%b%"=="Y" GOTO OVER
if /i "%b%"=="N" GOTO NOVER
if /i "%b%"=="K" GOTO END
echo Wrong Answer!
GOTO LOGCAT
VER
cls
adb logcat > logact.txt
GOTO END
:NOVER
cls
adb logcat >> logcat.txt
:END
cls
pause
"
Never use a script to flash Moto firmware... Period, don't do it.
OP... What state is you phone in now? Can you get to the fastboot/bootloader screen?
acejavelin said:
Never use a script to flash Moto firmware... Period, don't do it.
OP... What state is you phone in now? Can you get to the fastboot/bootloader screen?
Click to expand...
Click to collapse
idk then how to flash the moto frimware... that all the web is about.
and i cannot. i cant get to fastboot not by buttons not by adb not by fastboot command. That is my problem. dont have recovey no nothing. my device just skips it all and sticks to the os loading screen.
right now its out of power. if i charge it and turn it on it will get stuck on boot loop for the cynogen.
edenah said:
idk then how to flash the moto frimware... that all the web is about.
and i cannot. i cant get to fastboot not by buttons not by adb not by fastboot command. That is my problem. dont have recovey no nothing. my device just skips it all and sticks to the os loading screen.
right now its out of power. if i charge it and turn it on it will get stuck on boot loop for the cynogen.
Click to expand...
Click to collapse
Plug it in and let it charge a while, then disconnect cable from phone. Plug USB end of cable into computer and hold both Volume buttons... Continue to hold them and connect USB to phone, the bootloader should appear.
The bootloader has to be there or you would never get the OS to start loading.
acejavelin said:
Plug it in and let it charge a while, then disconnect cable from phone. Plug USB end of cable into computer and hold both Volume buttons... Continue to hold them and connect USB to phone, the bootloader should appear.
The bootloader has to be there or you would never get the OS to start loading.
Click to expand...
Click to collapse
ok i got it he might have not factory reset aka hard reset while coming to stock and now he has overwritten the both cyno and stock over... i also had done same thing but didn't made my bootloader vanished
ps: if there is no bootloader then u even can't see the offline charging happening
acejavelin said:
Plug it in and let it charge a while, then disconnect cable from phone. Plug USB end of cable into computer and hold both Volume buttons... Continue to hold them and connect USB to phone, the bootloader should appear.
The bootloader has to be there or you would never get the OS to start loading.
Click to expand...
Click to collapse
well the fact i still have a bootloader is comforting at least.
but i have tried what you said. but when i charge my device it does a charging screen, and it keeps stuck on this screen, so when i try the button series it doesn't work. wish i could remove the battery...
* Well i have played with it for a while and made the screen off after it is charged. when i do what you said. i see that charging screen and then it disappears as like i launched to bootloader, yet there is no bootloader, after a few seconds the charging screen comes back, and then again there is a loop between the black screen and the charging screen.
Sagar_1401 said:
ok i got it he might have not factory reset aka hard reset while coming to stock and now he has overwritten the both cyno and stock over... i also had done same thing but didn't made my bootloader vanished
ps: if there is no bootloader then u even can't see the offline charging happening
Click to expand...
Click to collapse
i see a charging screen but i cant see the precentage of the battery. and even when i remove the charging it still stuck on that screen.
as long as the phone has battery the screen will be kept on . i cant enter fastboot since its allways open. cant turn the phone on as fastboot as it cant be turned off before that! or the screen stuck on loading cynogen or the screen stuck on the charging screen. Please help!
Press and hold Vol Dn + Power for 15-30 seconds... Anything?
acejavelin said:
Press and hold Vol Dn + Power for 15-30 seconds... Anything?
Click to expand...
Click to collapse
phone restarts. skips the fastboot and goes to cynogen loading screen.
it shows the bootloader unlocked screen and the next thing i see is cynogen.
well as acejavelin said i have a bootloader so i guess i should make it an other post about the fact i can't get too fastboot. Thanks all!
edenah said:
well as acejavelin said i have a bootloader so i guess i should make it an other post about the fact i can't get too fastboot. Thanks all!
Click to expand...
Click to collapse
Don't make another post. Just keep this one up as your problem is being addressed. It is just not what you anticipated.
Jessooca said:
If possible, can you borrow another phone or a camera and make a video of the phone rebooting, as well as you holding the buttons etc etc.... Anything more you can do, can help us help you.
Upload the video to YouTube and share the link if you can do that
Click to expand...
Click to collapse
well i will upload the video soon.
But i think i should explain it more.
my device can't get now into fastboot! i have tried using adb commands but the adb doesn't recognize the device. I have tried fastboot commands but again it doesn't recognize the device. I also tried button combinations, but it didn't work.
Until the incidence i have used to press the power button+ vol down keys to get into fastboot mode, but now it doesn't work. I suspect that it doesn't work since in order to get into fastboot with the button combination i need to first get the device turned off. But when i connect my device to the charger it shows the battery charging screen and the device is stuck on that screen even if it has disconnected from the charger, and it will keep on that screen until the battery has depleted. I have tried shutting it down using the power button but then my phone gets into a loop with the cyanogenmod loading screen, and even if i turn it off it restarts instead.
Jessooca said:
Leave your phone out until it's fully dead, battery is dead dead dead.... then hold down the proper button combo to get into fastboot (hold VOLUME DOWN & Power button until it boots into fastboot) I know you said you've tried this however, I am suggesting you let the phone fully die, and while holding that button combo plug the phone in (just keep on holding those buttons until it at least powers up; you'll have to wait a couple minutes as it won't boot without at least 1% battery) however this suggestion may work, then again, it may keep rebooting as you've stated previously.
Let us know how this goes tomorrow.
Click to expand...
Click to collapse
well. when i do what you said my device instead of getting to fastboot it gets turned of while charging, its a step up. But when i try the button combination for fastboot it doesn't get into fastboot.
No vid yet, bud?
Sent from my Portable
Just download the Zip
Uncompress and install via Fastboot.
https://rsdsecure-cloud.motorola.co...190729&Signature=b98aq6ZhoCermo9Do/FI1FpK0cg=
Grom9A said:
Just download the Zip
Uncompress and install via Fastboot.
https://rsdsecure-cloud.motorola.co...190729&Signature=b98aq6ZhoCermo9Do/FI1FpK0cg=
Click to expand...
Click to collapse
Link is expired.
Spaceminer said:
Link is expired.
Click to expand...
Click to collapse
works fine here
dougdoindaia said:
works fine here
Click to expand...
Click to collapse
Definitely not working for me. Still says expired. It started to download but failed after a few seconds saying "forbidden".
Spaceminer said:
Definitely not working for me. Still says expired. It started to download but failed after a few seconds saying "forbidden".
Click to expand...
Click to collapse
ok for me, and still downloading
dougdoindaia said:
ok for me, and still downloading
Click to expand...
Click to collapse
It's weird. I tried using Firefox and got the same error. If I try to start the download on my mobile data it starts, but fails saying forbidden, and if I try on WiFi it doesn't even pull up the link.
Spaceminer said:
It's weird. I tried using Firefox and got the same error. If I try to start the download on my mobile data it starts, but fails saying forbidden, and if I try on WiFi it doesn't even pull up the link.
Click to expand...
Click to collapse
try use some download manager.
Im using free download manager
dougdoindaia said:
try use some download manager.
Im using free download manager
Click to expand...
Click to collapse
I think it has something to do with my network. I just tried Android Download Manager and got the forbidden error again. It looks like it'll download over LTE but not WiFi. I'm not about to use all my data trying to grab it though. I'll wait on a mirror I guess.
Working using desktop browser
I finally managed to grab it. Network was the problem. To anyone with the Jeter, this is also a no go. The bootloader won't accept the Pie boot.img. We're still waiting.
Spaceminer said:
I finally managed to grab it. Network was the problem. To anyone with the Jeter, this is also a no go. The bootloader won't accept the Pie boot.img. We're still waiting.
Click to expand...
Click to collapse
Try installing the last Oreo ROM for aljeter and then this rom
ok so i posted something here that was cause by a complete mess i made cus i mistakenly flashed oreo instead of pie, hahahhaha... i dont know how it didnt hard brick my phone but everything's ok now
---------- Post added at 03:01 AM ---------- Previous post was at 02:21 AM ----------
ok but now i have flashed the Pie stock and my phone only boot into bootloader. and baseband not found. everything is not ok at all...
blowingoff said:
ok so i posted something here that was cause by a complete mess i made cus i mistakenly flashed oreo instead of pie, hahahhaha... i dont know how it didnt hard brick my phone but everything's ok now
---------- Post added at 03:01 AM ---------- Previous post was at 02:21 AM ----------
ok but now i have flashed the Pie stock and my phone only boot into bootloader. and baseband not found. everything is not ok at all...
Click to expand...
Click to collapse
So this message goes out to you and all wanting Stock 9.0 Pie on Moto G6 Play.
I went looking for this update / flash for my G6. After a bit of searching, found it with great help from XDA forums
DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
I recommend creating a backup of all your important files before beginning with this process.
I also recommend removing your Google account in the phone settings prior to doing all of this...
STOCK FIRMWARE MOTO G6 PLAY LINK HERE
Find appropriate one for your phone and region. For example - mine was in Official --> Retail --> ALJETER_RETAIL_9.0_PPP29.55-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip <-- this is the file I downloaded.
Your firmware MAY NOT be for download. It is upto you to find the correct one for your phone and region. I do not know all the codes for different regions. I know that aljeter = MOTO G6 Play. I have the Retail UK version - hence I used the Retail firmware. You may need to find somewhere other than the provided link for your firmware...
Please bear in mind that once you upgrade, you cant go back. So please make sure this is what you want to do.
Some notes;
1 - You can only flash a firmware that either exactly matches or exceeds your version. You cannot downgrade flash.
2 - the bit thats says _PPP indicates it is Pie 9.0. Look at different available downloads and you can see in contrast _OPP which means Oreo.
3 - Pie 9.0 fixed my problems I had with Oreo, namely the fingerprint scanner not working in Banking apps.
Install Motorola Driver - I used Motorola_Mobile_Drivers_v6.4.0 from HERE.
You will need adb and fastboot installed. A quick and easy way to sort is to install minimal_adb_fastboot_v1.4.3 - Download HERE or Google minimal_adb_fastboot_v1.4.3_setup.exe and you will find elsewhere to download.
Once you have downloaded your .zip firmware and have Moto Drivers and adb / fastboot all setup, you need to extract the contents of the zip file to the folder where minimal_adb_fastboot_v1.4.3_setup.exe was installed. For me this was C:\Program Files (x86)\Minimal ADB and Fastboot.
Download flash_rom_fixed.zip Attachment at the end of this post - Kudos / All thanks to the user vortrum, here on XDA.
Extract the flash_rom_fixed.bat from inside the zip file and place it into the same folder you extracted your .zip firmware into.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Hopefully - on connection of the USB cable you will hear the Windows ding (or whatever noise you have) that lets you know USB device connected.
TIP!: To fully confirm - you can open a Admin (elevated) CMD window, navigate to C:\Program Files (x86)\Minimal ADB and Fastboot folder, and type in Fastboot devices -if USB connection is successful, then your phones Serial will be displayed. If nothing is shown, I would reboot Windows machine and try again.. Also, so you know, you can continue with the instructions below without USB connection confirmation. If there is no connection, then the below will fail anyway, without harm..
Run / open / double click the file flash_rom_fixed.bat and the firmware will be flashed to your phone - this will totally wipe your phone and reboot it once finished.
Alternative / similar instructions for install;
HOW TO INSTALL STOCK ROM IN MOTO G6:
Download Moto G6 Play Stock Firmware.
Install Motorola Driver and ADB Fastboot Driver on your PC.
Now extract stock firmware in ADB Fastboot install folder. (C:\Program Files (x86)\Minimal ADB and Fastboot or wherever you installed it if different)
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt window and type the following commands (you can copy paste it all and then press Enter OR copy and paste a line at a time, then press Enter after each line, once each operation is complete. I highly recommend using the flash_rom_fixed.bat file to do this for you quickly and easily ):
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash boot boot.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 oem oem.img
fastboot flash vendor vendor.img
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
Hoped there will be one for reteu so still either wait or root and install GSI like treble or somethimg.
Dead link
alchemist83 said:
So this message goes out to you and all wanting Stock 9.0 Pie on Moto G6 Play.
I went looking for this update / flash for my G6. After a bit of searching, found it with great help from XDA forums
DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
I recommend creating a backup of all your important files before beginning with this process.
I also recommend removing your Google account in the phone settings prior to doing all of this...
STOCK FIRMWARE MOTO G6 PLAY LINK HERE
Find appropriate one for your phone and region. For example - mine was in Official --> Retail --> ALJETER_RETAIL_9.0_PPP29.55-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip <-- this is the file I downloaded.
Your firmware MAY NOT be for download. It is upto you to find the correct one for your phone and region. I do not know all the codes for different regions. I know that aljeter = MOTO G6 Play. I have the Retail UK version - hence I used the Retail firmware. You may need to find somewhere other than the provided link for your firmware...
Please bear in mind that once you upgrade, you cant go back. So please make sure this is what you want to do.
Some notes;
1 - You can only flash a firmware that either exactly matches or exceeds your version. You cannot downgrade flash.
2 - the bit thats says _PPP indicates it is Pie 9.0. Look at different available downloads and you can see in contrast _OPP which means Oreo.
3 - Pie 9.0 fixed my problems I had with Oreo, namely the fingerprint scanner not working in Banking apps.
Install Motorola Driver - I used Motorola_Mobile_Drivers_v6.4.0 from HERE.
You will need adb and fastboot installed. A quick and easy way to sort is to install minimal_adb_fastboot_v1.4.3 - Download HERE or Google minimal_adb_fastboot_v1.4.3_setup.exe and you will find elsewhere to download.
Once you have downloaded your .zip firmware and have Moto Drivers and adb / fastboot all setup, you need to extract the contents of the zip file to the folder where minimal_adb_fastboot_v1.4.3_setup.exe was installed. For me this was C:\Program Files (x86)\Minimal ADB and Fastboot.
Download flash_rom_fixed.zip Attachment at the end of this post - Kudos / All thanks to the user vortrum, here on XDA.
Extract the flash_rom_fixed.bat from inside the zip file and place it into the same folder you extracted your .zip firmware into.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Hopefully - on connection of the USB cable you will hear the Windows ding (or whatever noise you have) that lets you know USB device connected.
TIP!: To fully confirm - you can open a Admin (elevated) CMD window, navigate to C:\Program Files (x86)\Minimal ADB and Fastboot folder, and type in Fastboot devices -if USB connection is successful, then your phones Serial will be displayed. If nothing is shown, I would reboot Windows machine and try again.. Also, so you know, you can continue with the instructions below without USB connection confirmation. If there is no connection, then the below will fail anyway, without harm..
Run / open / double click the file flash_rom_fixed.bat and the firmware will be flashed to your phone - this will totally wipe your phone and reboot it once finished.
Alternative / similar instructions for install;
HOW TO INSTALL STOCK ROM IN MOTO G6:
Download Moto G6 Play Stock Firmware.
Install Motorola Driver and ADB Fastboot Driver on your PC.
Now extract stock firmware in ADB Fastboot install folder. (C:\Program Files (x86)\Minimal ADB and Fastboot or wherever you installed it if different)
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt window and type the following commands (you can copy paste it all and then press Enter OR copy and paste a line at a time, then press Enter after each line, once each operation is complete. I highly recommend using the flash_rom_fixed.bat file to do this for you quickly and easily ):
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash boot boot.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 oem oem.img
fastboot flash vendor vendor.img
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
Click to expand...
Click to collapse
actually i forgot to mention, i somehow got confusex and on that day i tried to flash Oreo stock rom and that was the problem hahanaja
G6 play Jeter OTA update to Pie is out. Finally!!!
Thanks!!
i had my moto g6 play RETLA stored, finally with your instructions i have android 9.0
alchemist83 said:
So this message goes out to you and all wanting Stock 9.0 Pie on Moto G6 Play.
I went looking for this update / flash for my G6. After a bit of searching, found it with great help from XDA forums
DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
I recommend creating a backup of all your important files before beginning with this process.
I also recommend removing your Google account in the phone settings prior to doing all of this...
STOCK FIRMWARE MOTO G6 PLAY LINK HERE
Find appropriate one for your phone and region. For example - mine was in Official --> Retail --> ALJETER_RETAIL_9.0_PPP29.55-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip <-- this is the file I downloaded.
Your firmware MAY NOT be for download. It is upto you to find the correct one for your phone and region. I do not know all the codes for different regions. I know that aljeter = MOTO G6 Play. I have the Retail UK version - hence I used the Retail firmware. You may need to find somewhere other than the provided link for your firmware...
Please bear in mind that once you upgrade, you cant go back. So please make sure this is what you want to do.
Some notes;
1 - You can only flash a firmware that either exactly matches or exceeds your version. You cannot downgrade flash.
2 - the bit thats says _PPP indicates it is Pie 9.0. Look at different available downloads and you can see in contrast _OPP which means Oreo.
3 - Pie 9.0 fixed my problems I had with Oreo, namely the fingerprint scanner not working in Banking apps.
Install Motorola Driver - I used Motorola_Mobile_Drivers_v6.4.0 from HERE.
You will need adb and fastboot installed. A quick and easy way to sort is to install minimal_adb_fastboot_v1.4.3 - Download HERE or Google minimal_adb_fastboot_v1.4.3_setup.exe and you will find elsewhere to download.
Once you have downloaded your .zip firmware and have Moto Drivers and adb / fastboot all setup, you need to extract the contents of the zip file to the folder where minimal_adb_fastboot_v1.4.3_setup.exe was installed. For me this was C:\Program Files (x86)\Minimal ADB and Fastboot.
Download flash_rom_fixed.zip Attachment at the end of this post - Kudos / All thanks to the user vortrum, here on XDA.
Extract the flash_rom_fixed.bat from inside the zip file and place it into the same folder you extracted your .zip firmware into.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Hopefully - on connection of the USB cable you will hear the Windows ding (or whatever noise you have) that lets you know USB device connected.
TIP!: To fully confirm - you can open a Admin (elevated) CMD window, navigate to C:\Program Files (x86)\Minimal ADB and Fastboot folder, and type in Fastboot devices -if USB connection is successful, then your phones Serial will be displayed. If nothing is shown, I would reboot Windows machine and try again.. Also, so you know, you can continue with the instructions below without USB connection confirmation. If there is no connection, then the below will fail anyway, without harm..
Run / open / double click the file flash_rom_fixed.bat and the firmware will be flashed to your phone - this will totally wipe your phone and reboot it once finished.
Alternative / similar instructions for install;
HOW TO INSTALL STOCK ROM IN MOTO G6:
Download Moto G6 Play Stock Firmware.
Install Motorola Driver and ADB Fastboot Driver on your PC.
Now extract stock firmware in ADB Fastboot install folder. (C:\Program Files (x86)\Minimal ADB and Fastboot or wherever you installed it if different)
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt window and type the following commands (you can copy paste it all and then press Enter OR copy and paste a line at a time, then press Enter after each line, once each operation is complete. I highly recommend using the flash_rom_fixed.bat file to do this for you quickly and easily ):
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash boot boot.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 oem oem.img
fastboot flash vendor vendor.img
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
Click to expand...
Click to collapse