[Guide] Using Fastboot.exe with Motorola devices

Search This thread

Kodize

Member
Nov 28, 2018
40
5
Saltillo
What does Getvar all say? Remove imei before posting.
Code:
fastboot getvar all
Hi! here is
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-deen_retail-c30fda147aa-210831
(bootloader) product: deen
(bootloader) board: deen
(bootloader) secure: yes
(bootloader) hwrev: PVT1
(bootloader) radio: 2
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SKHYNIX HCG8a4 RV=08 PV=A2 FV=00000000000000A2
(bootloader) ram: 4GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY323GQ98X
(bootloader) cid: 0x0032
(bootloader) channelid: 0x29
(bootloader) uid: 8F62865900000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 534773760
(bootloader) reason: Fall-through from charger boot mode
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 11-20-2018
(bootloader) sku: XT1941-5
(bootloader) carrier_sku: XT1941-5
(bootloader) battid: SB18C30735
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jul 4 19:42:24 UTC 2022"
(bootloader) ro.build.fingerprint[0]: motorola/deen/deen_sprout:10/QPKS3
(bootloader) ro.build.fingerprint[1]: 0.54-22-27/92b8a:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full: <not found>
(bootloader) ro.build.version.qcom: LA.UM.8.6.r1-02600-89xx.0
(bootloader) version-baseband: M8953_42.00.02.35R DEEN_LATAM_CUST
(bootloader) kernel.version[0]: Linux version 3.18.124-perf-gc02fb4e3ca0
(bootloader) kernel.version[1]: b-dirty ([email protected]) (gcc vers
(bootloader) kernel.version[2]: ion 4.9.x 20150123 (prerelease) (GCC) )
(bootloader) kernel.version[3]: #1 SMP PREEMPT Wed Sep 22 11:46:47 CDT 2
(bootloader) kernel.version[4]: 021
(bootloader) sbl1.git: MBM-2.1-deen_retail-9b8802abdb-210831
(bootloader) rpm.git: MBM-2.1-deen_retail-e3b1ee08-210831
(bootloader) tz.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) devcfg.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) keymaster.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) cmnlib.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) cmnlib64.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) prov.git: MBM-2.1-deen_retail-b37c6eba3b-210831
(bootloader) aboot.git: MBM-2.1-deen_retail-c30fda147aa-210831
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: openmx
(bootloader) current-slot: b
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _b
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: No
(bootloader) slot-successful:_b: No
(bootloader) slot-bootable:_a: No
(bootloader) slot-bootable:_b: Yes
(bootloader) slot-retry-count:_a: 0
(bootloader) slot-retry-count:_b: 0
all: listed above
finished. total time: 0.059s
 

Kodize

Member
Nov 28, 2018
40
5
Saltillo
What does Getvar all say? Remove imei before posting.
Code:
fastboot getvar all
PD stucked here
290119598_442678477399602_7866769058706374802_n.jpg
 

sd_shadow

Recognized Contributor / XDA Welcome Team
Sep 21, 2011
18,613
2
9,236
South Dakota
goo.gl
Motorola Droid X
Amazon Fire
product: deen
securestate: oem_locked
iswarrantyvoid: no
date: 11-20-2018
sku: XT1941-5
ro.build.fingerprint[0]: motorola/deen/deen_sprout:10/QPKS30.54-22-27/92b8a:user/release-keys
version-baseband: M8953_42.00.02.35R DEEN_LATAM_CUST
ro.carrier: openmx
First I would try LMSA's Rescue Option

If you don't have a windows PC try this firmware.
https://mirrors.lolinet.com/firmware/moto/deen/official/OPENMX/
XT1941-5_DEEN_OPENMX_10_QPKS30.54-22-27_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

 

Kodize

Member
Nov 28, 2018
40
5
Saltillo
First I would try LMSA's Rescue Option

If you don't have a windows PC try this firmware.
https://mirrors.lolinet.com/firmware/moto/deen/official/OPENMX/
XT1941-5_DEEN_OPENMX_10_QPKS30.54-22-27_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

i tried both methods none worked
 

Kodize

Member
Nov 28, 2018
40
5
Saltillo
First I would try LMSA's Rescue Option

If you don't have a windows PC try this firmware.
https://mirrors.lolinet.com/firmware/moto/deen/official/OPENMX/
XT1941-5_DEEN_OPENMX_10_QPKS30.54-22-27_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

maybe i need try blankflash but is only for unlocked bl right? i have locked... or with a box maybe work? idk
 

sd_shadow

Recognized Contributor / XDA Welcome Team
Sep 21, 2011
18,613
2
9,236
South Dakota
goo.gl
Motorola Droid X
Amazon Fire
maybe i need try blankflash but is only for unlocked bl right? i have locked... or with a box maybe work? idk
Unless you can find the pins to short on the board to force EDL mode, the blankflash is no use.
If you have tried my posted troubleshooting options including for locked bootloaders
Honestly I don’t think it’s fixable.
 

arsradu

Senior Member
Apr 28, 2011
3,456
3,361
Motorola One Action
Moto G40 / G60
Is there a way to set get_unlock_ability to 1 (from fastboot or adb...with/without root)?

For some reason, my Moto G60 refuses to allow OEM Unlocking again. Option is greyed out and in the OFF position (get_unlock_ability=0).

Bootloader is unlocked. But I'm trying to avoid bricking the device when locking the bootloader, so I want to make sure the bootloader is still unlockable, even after locking it. So that option needs to be checked (get_unlock_ability=1).

I saw some posts about using Magisk and root to reset some build properties (on other phones). Problem is...those properties don't seem to be available with stock ROM on Motorola devices. Or could be somewhere else.

So, simple question is: how do I set that toggle to ON?

What's interesting is that I locked the bootloader on a Moto One Action today, with no issues.

And the toggle was already ON after flashing back stock.img on slot B (I had Pixel Experience recovery there) and rebooting. It made a few cycles, then "realised" it can't boot from slot B, switched to A and booted successfully. And when I checked, the OEM unlocking option was ON (still greyed out, still inactive, still saying "bootloader is already unlocked"), but that check was ON. After that, I just locked the bootloader, and it booted up just fine.

I just cannot get my G60 to do the same. I don't know why.
 

arsradu

Senior Member
Apr 28, 2011
3,456
3,361
Motorola One Action
Moto G40 / G60
Flashing the Radio Firmware

Are you see this?
IMEI and Baseband are missing/ not available

Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn


Use these commands if you have trouble after flashing a custom Rom
or trying to add carrier compatibility from a different Software Channel.

Can something like this be done if you want to have the same reception and features as you did with your stock ROM?

I'm guessing these are files from the stock ROM, right? But I've got none of them on my G60's stock ROM.

Also, if let's say you're on an Android 13 ROM, can you still use whatever corresponding files are to achieve the desired result, from the Android 12 stock ROM? Would they still work?

What are the files needed for VoLTE and VoWIFI for example? Or for better signal reception? Cause, I've noticed this thing with most/all custom ROMs. They rarely offer the same exact signal performance as stock ROM. And even less times (except for some ROMs) they offer VoLTE and VoWIFI.

So...how do I know which files I need for my case?
 

sd_shadow

Recognized Contributor / XDA Welcome Team
Sep 21, 2011
18,613
2
9,236
South Dakota
goo.gl
Motorola Droid X
Amazon Fire
Can something like this be done if you want to have the same reception and features as you did with your stock ROM?

I'm guessing these are files from the stock ROM, right? But I've got none of them on my G60's stock ROM.

Also, if let's say you're on an Android 13 ROM, can you still use whatever corresponding files are to achieve the desired result, from the Android 12 stock ROM? Would they still work?

What are the files needed for VoLTE and VoWIFI for example? Or for better signal reception? Cause, I've noticed this thing with most/all custom ROMs. They rarely offer the same exact signal performance as stock ROM. And even less times (except for some ROMs) they offer VoLTE and VoWIFI.

So...how do I know which files I need for my case?
Can you post a screenshot of the firmware folder with Snip & Sketch?
like this
Screenshot 2022-08-28 170032.jpg
 
Last edited:

arsradu

Senior Member
Apr 28, 2011
3,456
3,361
Motorola One Action
Moto G40 / G60
Try
Code:
fastboot erase modemst1
fastboot erase modemst2
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
You can also look at the servicefile.xml
Thank you very much! :)

Looks like, for this device, when you're flashing radio, it also flashes everything else, and erases modemst1 and modemst2.

This is the output from Terminal:

Sending 'radio' (107645 KB) OKAY [ 2.905s] Writing 'radio' (bootloader) Validating 'radio.default.xml' (bootloader) Committing 'radio.default.xml' (bootloader) - flashing 'NON-HLOS.bin' to 'modem' (bootloader) - flashing 'fsg.mbn' to 'fsg' (bootloader) - erasing 'modemst1' (bootloader) - erasing 'modemst2' OKAY [ 0.430s]

Cool! I've learned something new today.

Thank you!

By the way, do you know any trick to get back NFC? Looks like it's missing from this ROM (Pixel Experience, Android 12, for G60). Or is this something that needs to be fixed on the ROM side?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Sure! :) Here's what mine looks like.

    View attachment 5699059

    Try
    Code:
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash radio radio.img 
    fastboot flash bluetooth BTFM.bin 
    fastboot flash dsp dspso.bin
    You can also look at the servicefile.xml
  • 10
    Guide: Using Fastboot.exe with Motorola Devices

    If your device has its own section please post in that section.​
    You can ping me with @sd_shadow


    MediaTek or Qualcomm Chip?
    • Do I have a MediaTek Device? see post #26
    • Info: If you have a MediaTek Chip see post #24
    • MediaTek and Fastboot.exe see post #17
    • Most Moto devices are Qualcomm See options below

    • Warning:
      • Know what software version is on your device before flashing see Post #2
      • Do not downgrade firmware with a locked bootloader, it may make the device unusable.
      • If you flash firmware for a different model, even if it is similar, it may make the device unusable.
    Notice: Some devices on Android 10 and above now require fastbootd mode​



    Flashing with fastboot.exe
    First, watch this video, it's a bit old, but Root Junkie covers the steps very well.​
    There are a few things you need.​

    Batch script for Flashing firmware

    Flashing Radio Only
    Changing Software Channel (ro.carrier)​
    Downgrading Moto Firmware​

    Other Flashing Options​
    GSI: Generic System Images

    Can not see File Extensions in Window File Manager
    5
    Flashing the Radio Firmware

    Are you see this?
    IMEI and Baseband are missing/ not available

    Code:
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn


    Use these commands if you have trouble after flashing a custom Rom
    or trying to add carrier compatibility from a different Software Channel.
    4
    Device Model #, codename and software channel.

    How to find the Device Model #, codename and software channel.

    Motorola has different Firmware based on the Model/codename and Software Channel.

    There are a few different ways to find the device codename and software channel.
    • Settings/About phone
    • DevCheck
      • System tab: Device= codename, SKU = model #
    • List of Motorola Codenames
    • bootloader info (This isn't always real clear)

      Preferred Method
    • Fastboot getvar all method (Device must be in AP Fastboot Flash Mode)
      Code:
      fastboot getvar all
      • Product = codename
      • securestate = bootloader locked or unlocked
      • carrier_sku = Model #
      • ro.carrier = Software Channel
      • ro.build.fingerprint = Software version See post #7
      • ro.build.version.full = Software version See post #7
    • Other flashing concerns
    • Dual or Single Sim version
    • Memory size Versions 32gb, 64gb....


    • Example of a Device with a/b system
      Code:
      (bootloader) kernel: uefi
      (bootloader) version-bootloader: MBM-3.0-payton_retail-eca8056-191031
      (bootloader) product: payton
      (bootloader) board: payton
      (bootloader) secure: yes
      (bootloader) hwrev: P4
      (bootloader) radio: NA
      (bootloader) storage-type: eMMC
      (bootloader) emmc: 32GB MICRON S0J97Y RV=08 PV=10 FV=4E5630304D483333
      (bootloader) ufs: N/A
      (bootloader) ram: 3GB MICRON LP4 DIE=12Gb M5=FF M6=02 M7=10 M8=0C
      (bootloader) cpu: SDM630 1.0 (2)
      (bootloader) serialno: ZY22584W3J
      (bootloader) cid: 0x0032
      (bootloader) channelid: 0x8d
      (bootloader) uid: 2BD6548F
      (bootloader) securestate: flashing_unlocked
      (bootloader) verity-state: disabled (0)
      (bootloader) iswarrantyvoid: yes
      (bootloader) max-download-size: 536870912
      (bootloader) reason: Volume down key pressed
      (bootloader) imei: 
      (bootloader) meid:
      (bootloader) date: 11-20-2018
      (bootloader) sku: XT1900-1
      (bootloader) carrier_sku: XT1900-1
      (bootloader) battid: SNN5994A
      (bootloader) battery-voltage: 4006
      (bootloader) iccid:
      (bootloader) cust_md5:
      (bootloader) max-sparse-size: 268435456
      (bootloader) ro.build.fingerprint[0]: motorola/payton/payton:9/PPWS29.69
      (bootloader) ro.build.fingerprint[1]: -39-6-2/d2226:user/release-keys
      (bootloader) poweroffalarm: 0
      (bootloader) ro.build.version.full[0]: Blur_Version.29.461.11.payton.ret
      (bootloader) ro.build.version.full[1]: ail.en.US
      (bootloader) ro.build.version.qcom: LA.UM.7.2.r1-04900-sdm660.0
      (bootloader) version-baseband: M660_7045.36.01.100R PAYTON_NA_CUST
      (bootloader) kernel.version[0]: Linux version 4.4.153-perf-g496fe5a (hud
      (bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 2015
      (bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
      (bootloader) kernel.version[3]: Thu Oct 31 07:27:03 CDT 2019
      (bootloader) git:abl: MBM-3.0-payton_retail-eca8056-191031
      (bootloader) git:xbl: MBM-3.0-payton_retail-dec7b7c-191031
      (bootloader) git:pmic: MBM-3.0-payton_retail-dec7b7c-191031
      (bootloader) git:rpm: MBM-3.0-payton_retail-b0c6622-191031
      (bootloader) git:tz: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:hyp: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:devcfg: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:cmnlib: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:cmnlib64: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:keymaster: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:prov: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) git:storsec: MBM-3.0-payton_retail-fa205ea-dirty-191031
      (bootloader) frp-state: no protection (77)
      (bootloader) ro.carrier: retus
      (bootloader) current-slot: b
      (bootloader) running-bl-slot: _b/_b
      (bootloader) running-boot-lun: 0
      (bootloader) slot-count: 2
      (bootloader) slot-successful:_a: yes
      (bootloader) slot-successful:_b: yes
      (bootloader) slot-unbootable:_a: no
      (bootloader) slot-unbootable:_b: no
      (bootloader) slot-retry-count:_a: 6
      (bootloader) slot-retry-count:_b: 6
      all: listed above
      Finished. Total time: 0.250s

      Older Device

      Code:
      C:\platform-tools_r28.0.0-windows\platform-tools>fastboot getvar all
      (bootloader) version: 0.5
      (bootloader) version-bootloader: moto-msm8917-BA.09(*)
      (bootloader) product: perry
      (bootloader) board: perry
      (bootloader) secure: yes
      (bootloader) hwrev: P3B
      (bootloader) radio: 1
      (bootloader) storage-type: emmc
      (bootloader) emmc: 16GB SKHYNIX HAG4a2 RV=08 PV=A5 FV=00000000000000A5
      (bootloader) ram: 2GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=1F
      (bootloader) cpu: MSM8917
      (bootloader) serialno: ZY224PF863
      (bootloader) cid: 0x0032
      (bootloader) channelid: 0x8b
      (bootloader) uid: 079D50CD00000000000000000000
      (bootloader) securestate: flashing_unlocked
      (bootloader) iswarrantyvoid: yes
      (bootloader) max-download-size: 536870912
      (bootloader) reason: Volume down key pressed
      (bootloader) imei: 
      (bootloader) meid:
      (bootloader) date: 12-06-2017
      (bootloader) sku: XT1768
      (bootloader) battid:
      (bootloader) iccid: 89015809000153536508
      (bootloader) cust_md5:
      (bootloader) max-sparse-size: 268435456
      (bootloader) current-time:
      (bootloader) ro.build.fingerprint[0]: motorola/perry_f/perry_f:7.1.1/NPQ
      (bootloader) ro.build.fingerprint[1]: S26.69-41-3/3:user/release-keys
      (bootloader) poweroffalarm: 0
      (bootloader) ro.build.version.full[0]: Blur_Version.26.206.3.perry.retai
      (bootloader) ro.build.version.full[1]: l.en.US
      (bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
      (bootloader) version-baseband: M8917_18.08.04.09R PERRY_NA_CUST
      (bootloader) kernel.version[0]: Linux version 3.18.31-perf-g9acc907-0004
      (bootloader) kernel.version[1]: 4-gbf03e3f ([email protected]) (gcc ver
      (bootloader) kernel.version[2]: sion 4.8 (GCC) ) #1 SMP PREEMPT Fri Sep
      (bootloader) kernel.version[3]: 22 01:08:15 CDT 2017
      (bootloader) sbl1.git: git=MBM-NG-VBA.09-0-ge2011ab
      (bootloader) rpm.git: git=MBM-NG-VBA.09-0-gc6ac81e
      (bootloader) tz.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) devcfg.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) keymaster.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) cmnlib.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) cmnlib64.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) prov.git: git=MBM-NG-VBA.09-0-g2883cde
      (bootloader) aboot.git: git=MBM-NG-VBA.09-0-gcae5764-dirty
      (bootloader) qe: qe 1/1
      (bootloader) frp-state: no protection (343)
      (bootloader) ro.carrier: usc


      another
      Code:
      (bootloader) version: 0.5
      (bootloader) version-bootloader: MBM-2.1-ocean_retail-8caffde-191202
      (bootloader) product: ocean
      (bootloader) board: ocean
      (bootloader) secure: yes
      (bootloader) hwrev: PVT1
      (bootloader) radio: 1
      (bootloader) storage-type: emmc
      (bootloader) emmc: 32GB SAMSUNG GD6BMB RV=08 PV=01 FV=0000000000000001
      (bootloader) ram: 3GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=5F
      (bootloader) cpu: SDM632
      (bootloader) serialno: ZY326BF4Z5
      (bootloader) cid: 0x0032
      (bootloader) channelid: 0x8d
      (bootloader) uid: E00B2DA900000000000000000000
      (bootloader) securestate: flashing_unlocked
      (bootloader) iswarrantyvoid: yes
      (bootloader) max-download-size: 536870912
      (bootloader) reason: Volume down key pressed
      (bootloader) imei: 
      (bootloader) meid:
      (bootloader) date: 06-29-2019
      (bootloader) sku: XT1955-5
      (bootloader) carrier_sku: XT1955-5
      (bootloader) battid: SB18C28957
      (bootloader) iccid:
      (bootloader) cust_md5:
      (bootloader) max-sparse-size: 268435456
      (bootloader) current-time: "Tue Jan 28 17:58:47 UTC 2020"
      (bootloader) ro.build.fingerprint[0]: motorola/ocean/ocean:9/PPOS29.114-
      (bootloader) ro.build.fingerprint[1]: 134-7-1/0ec93:user/release-keys
      (bootloader) poweroffalarm: 0
      (bootloader) ro.build.version.full[0]: Blur_Version.29.201.1.ocean.retai
      (bootloader) ro.build.version.full[1]: l.en.US
      (bootloader) ro.build.version.qcom: LA.UM.7.6.2.r1-04600-89xx.0
      (bootloader) version-baseband: M632_26.100.01.120.02R OCEAN_NA_CUST
      (bootloader) kernel.version[0]: Linux version 4.9.112-perf+ ([email protected]
      (bootloader) kernel.version[1]: clbld110) (gcc version 4.9.x 20150123 (p
      (bootloader) kernel.version[2]: rerelease) (GCC) ) #1 SMP PREEMPT Mon De
      (bootloader) kernel.version[3]: c 2 12:51:31 CST 2019
      (bootloader) sbl1.git: MBM-2.1-ocean_retail-b508f3a-191202
      (bootloader) rpm.git: MBM-2.1-ocean_retail-22daab3-191202
      (bootloader) tz.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) devcfg.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) keymaster.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) cmnlib.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) cmnlib64.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) prov.git: MBM-2.1-ocean_retail-d9613e6-dirty-191202
      (bootloader) aboot.git: MBM-2.1-ocean_retail-8caffde-191202
      (bootloader) frp-state: no protection (277)
      (bootloader) ro.carrier: retus
      (bootloader) current-slot: a
      (bootloader) running-boot-lun: 0
      (bootloader) running-slot: _a
      (bootloader) slot-suffixes: _a,_b
      (bootloader) slot-count: 2
      (bootloader) slot-successful:_a: Yes
      (bootloader) slot-successful:_b: Yes
      (bootloader) slot-bootable:_a: Yes
      (bootloader) slot-bootable:_b: Yes
      (bootloader) slot-retry-count:_a: 6
      (bootloader) slot-retry-count:_b: 6
    4
    Online FlashFile Converter

    MediaTek notice
    • https://kfhost.net/flashfile
    • It's in Portuguese, but google translate works.
    • Find the Service.xml or flashfile.xml in a Firmware.zip
    • open the XML from firmware.zip with a text editor like Notepad++
    • Copy the commands from the .XML
    • On website scroll down to the flashfile.xml box, paste commands, click Gerar Comandos (Generate Commands)
    • Copy the new commands


    Create a flashall.bat
    • Create a text file
    • paste commands from online convertor to text file
    • Option: Remove the erase userdata line if you don't want to factory reset.
    • Save
    • edit file extension to .bat
    • Move bat file to the platform-tools folder (adb/fastboot.exe)
    • execute bat file by double-clicking on it

    Also, see What is fastbootd?
    3
    Motorola Firmware Mirrors
    Firmware can also be pulled from LMSA
    Look for downloaded Firmware in
    Code:
     C:\ProgramData\LMSA\Download\RomFiles

    You may need to uncheck
    Code:
    Hide protected operating system files
    in View/Options/Change Folder and Search options/View
    Direct link
    Code:
    download.lenovo.com/lsa/Rescue/Smartphone/model#/firmwarename
    Like this
    Code:
    download.lenovo.com/lsa/Rescue/Smartphone/XT1650/GRIFFIN_OPL27.76-71-2-3_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

    Related
    https://forum.xda-developers.com/showpost.php?p=82204141&postcount=29