• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide] Using Fastboot.exe with Motorola devices

Search This thread

sd_shadow

Recognized Contributor
Sep 21, 2011
18,191
2
8,737
South Dakota
goo.gl
Motorola Droid X
Moto X4
Last edited:

Jack_731

Member
Apr 2, 2020
22
1
Hey @sd_shadow

this is what I get on my Moto One Power (fastboot getvar all)

Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-chef_retail-38523c9-200122
(bootloader) product: chef
(bootloader) board: chef
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: APAC
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SAMSUNG DH6DMB RV=08 PV=05 FV=0000000000000005
(bootloader) ufs: N/A
(bootloader) ram: 4GB SAMSUNG LP4x DIE=16Gb M5=01 M6=06 M7=10 M8=12
(bootloader) cpu: SDM636 1.0 (1)
(bootloader) serialno: ZF6223TFLL
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: FDF7898C
(bootloader) verity-state: enforcing (0)

No more info from bootloader.

BL = Locked
USB Debug = Locked
Unrooted

Is there anything I should do?
Thanks
 

cowb0y

Member
Apr 23, 2020
16
0
HELP ASAP

Hi, thanks for the tutorial, i follow all your steps, the phone is working, but i get baseband <not found>, the imei is fine still show me the numbers.

The phone boots up, enter the google wizard, but didnt read my sim, and dont have wifi, i mean didnt search wifi, and i cant skip the google wizard because of this.
Any clue on this?

sorry for my bad english, its not my native language.

Im so desesperate bc my g4 plus is slowly dying.

EDIT: i forgot to paste my getvar info.

C:\Users\cowb0y>fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-evert_retail-8e93af8-200102
(bootloader) product: evert
(bootloader) board: evert
(bootloader) secure: yes
(bootloader) hwrev: PVT1
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SKHYNIX HCG8a4 RV=08 PV=A2 FV=00000000000000A2
(bootloader) ufs: N/A
(bootloader) ram: 4GB SKHYNIX LP4x DIE=16Gb M5=06 M6=04 M7=00 M8=11
(bootloader) cpu: SDM630 1.0 (6)
(bootloader) serialno: ZY3232R25R
(bootloader) cid: 0x0032
(bootloader) channelid: 0x1a
(bootloader) uid: B6D17C90
(bootloader) securestate: oem_locked
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: ICENSOREDIT
(bootloader) meid:
(bootloader) date: 12-05-2018
(bootloader) sku: XT1926-6
(bootloader) carrier_sku: XT1926-6
(bootloader) battid: SB18C208
(bootloader) battery-voltage: 3947
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/evert_n/evert_n:9/PPWS29.
(bootloader) ro.build.fingerprint[1]: 116-11-16/5555b:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.361.26.evert.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.2.r1-05300-sdm660.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 4.4.153-perf-gf134223-0256
(bootloader) kernel.version[1]: 0-g4e158e0 ([email protected]) (gcc ve
(bootloader) kernel.version[2]: rsion 4.9.x 20150123 (prerelease) (GCC)
(bootloader) kernel.version[3]: ) #1 SMP PREEMPT Thu Jan 2 01:06:09 CST
(bootloader) kernel.version[4]: 2020
(bootloader) git:abl: MBM-3.0-evert_retail-8e93af8-200102
(bootloader) git:xbl: MBM-3.0-evert_retail-b872199-200102
(bootloader) git:pmic: MBM-3.0-evert_retail-b872199-200102
(bootloader) git:rpm: MBM-3.0-evert_retail-718b013-200102
(bootloader) git:tz: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:hyp: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:devcfg: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:cmnlib: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:cmnlib64: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:keymaster: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:prov: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) git:storsec: MBM-3.0-evert_retail-763d5fe-200102
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retar
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 0
all: listed above
finished. total time: 0.237s
 
Last edited:

killerBRs

Senior Member
Nov 1, 2011
417
78
25
São Paulo, SP
The Firmware folder will likely have a couple of .xml files
like servicefile.xml or flashfile.xml
These are formatted to be used with RSD Lite.
But as I wrote in post #1 RSD Lite hasn't been updated in several years, and not compatible with most Windows 10 PCs

Here is a video about getting the flashing commands from the .xml
so they can be used with fastboot.exe


easy way
Motorola Firmware XML to Bat Converter Tool for Windows by RootJunky
Link to RSD_Lite_Motorola_XML_To_Batch_Script.zip

Create your own bat file
How to Firmware Restore your Motorola Device on Windows 10 without RSDlite




flashfile.xml
Code:
<?xml version="1.0" ?>
<flashing>
  <header>
    <phone_model model="ocean"/>
    <software_version version="ocean-user 9 PPOS29.114-134-2 0d27 release-keysM632_26.100.01.120.01R"/>
    <subsidy_lock_config MD5="d41d8cd98f00b204e9800998ecf8427e" name="slcf_rev_d_default_v1.0.nvm"/>
    <regulatory_config SHA1="da39a3ee5e6b4b0d3255bfef95601890afd80709" name="regulatory_info_default.png"/>
    <sparsing enabled="true" max-sparse-size="268435456"/>
    <interfaces>
      <interface name="AP"/>
    </interfaces>
  </header>
  <steps interface="AP">
    <step operation="getvar" var="max-sparse-size"/>
    <step operation="oem" var="fb_mode_set"/>
    <step MD5="98eca8bc38d323f27f9ac1739569ac53" filename="gpt.bin" operation="flash" partition="partition"/>
    <step MD5="8776ac7f36d4dc86809b434a0b4ef297" filename="bootloader.img" operation="flash" partition="bootloader"/>
    <step MD5="82f9f67795c85f7a4197034d2715fcdd" filename="NON-HLOS.bin" operation="flash" partition="modem"/>
    <step MD5="acdc347a755f73a757b40cf15dbd81a0" filename="fsg.mbn" operation="flash" partition="fsg"/>
    <step operation="erase" partition="modemst1"/>
    <step operation="erase" partition="modemst2"/>
    <step MD5="330051cf4bad4a337b30cbbf90439f90" filename="adspso.bin" operation="flash" partition="dsp"/>
    <step MD5="1fb161f1a3af4576cf67269049796afe" filename="logo.bin" operation="flash" partition="logo"/>
    <step MD5="aa337fafc827722ce13d535e2d40604a" filename="boot.img" operation="flash" partition="boot"/>
    <step MD5="c487a9cd3f57ae8b80a631e3fb3dd105" filename="dtbo.img" operation="flash" partition="dtbo"/>
    <step MD5="a09bdbad7490fa9fa9123d3d928cb1af" filename="system.img_sparsechunk.0" operation="flash" partition="system"/>
    <step MD5="629ad8460d94d50080757b3f1261f7a8" filename="system.img_sparsechunk.1" operation="flash" partition="system"/>
    <step MD5="038947128c77a4b458ceb8026ace2d30" filename="system.img_sparsechunk.2" operation="flash" partition="system"/>
    <step MD5="6a8dc58ece97231239e699aa2eb95601" filename="system.img_sparsechunk.3" operation="flash" partition="system"/>
    <step MD5="31ed22694383c85f26d9e89efef09efc" filename="system.img_sparsechunk.4" operation="flash" partition="system"/>
    <step MD5="e4f7243e65dc6df1a79ad5f71e3bf938" filename="system.img_sparsechunk.5" operation="flash" partition="system"/>
    <step MD5="80aaa96d64637575f88dc4daa131123b" filename="system.img_sparsechunk.6" operation="flash" partition="system"/>
    <step MD5="bcde37037afb3ccb66e7b47427af9229" filename="system.img_sparsechunk.7" operation="flash" partition="system"/>
    <step MD5="afa92c57f8402cd7223c777cf1de5f44" filename="system.img_sparsechunk.8" operation="flash" partition="system"/>
    <step MD5="1cd02b2893144cf069a23f6b1c3b6c96" filename="system.img_sparsechunk.9" operation="flash" partition="system"/>
    <step MD5="c18a83c64aaf741df0c6ed10935348b8" filename="system_b.img_sparsechunk.0" operation="flash" partition="system_b"/>
    <step MD5="ad7f6a528952be93f26faaebfd1bf83d" filename="system_b.img_sparsechunk.1" operation="flash" partition="system_b"/>
    <step MD5="0046992361c02076555c97cec8f29a53" filename="system_b.img_sparsechunk.2" operation="flash" partition="system_b"/>
    <step MD5="b7a1f1b1af66182476230d69fd2ad752" filename="vendor.img_sparsechunk.0" operation="flash" partition="vendor"/>
    <step MD5="0ffd0cec1719a75ecb54fa17b24ad4d4" filename="vendor.img_sparsechunk.1" operation="flash" partition="vendor"/>
    <step MD5="1097de93ede575d7dcb33fda3a1a6776" filename="oem.img" operation="flash" partition="oem"/>
    <step MD5="1834a559d2b7d9a09feae082e1586068" filename="oem_other.img" operation="flash" partition="oem_b"/>
    <step operation="erase" partition="userdata"/>
    <step operation="erase" partition="DDR"/>
    <step operation="oem" var="fb_mode_clear"/>
  </steps>
</flashing>


Service .xml
Code:
<?xml version="1.0" ?>
<flashing>
  <header>
    <phone_model model="ocean"/>
    <software_version version="ocean-user 9 PPOS29.114-134-2 0d27 release-keysM632_26.100.01.120.01R"/>
    <sparsing enabled="true" max-sparse-size="268435456"/>
    <interfaces>
      <interface name="AP"/>
    </interfaces>
  </header>
  <steps interface="AP">
    <step operation="getvar" var="max-sparse-size"/>
    <step operation="oem" var="fb_mode_set"/>
    <step MD5="98eca8bc38d323f27f9ac1739569ac53" filename="gpt.bin" operation="flash" partition="partition"/>
    <step MD5="8776ac7f36d4dc86809b434a0b4ef297" filename="bootloader.img" operation="flash" partition="bootloader"/>
    <step MD5="82f9f67795c85f7a4197034d2715fcdd" filename="NON-HLOS.bin" operation="flash" partition="modem"/>
    <step MD5="acdc347a755f73a757b40cf15dbd81a0" filename="fsg.mbn" operation="flash" partition="fsg"/>
    <step operation="erase" partition="modemst1"/>
    <step operation="erase" partition="modemst2"/>
    <step MD5="330051cf4bad4a337b30cbbf90439f90" filename="adspso.bin" operation="flash" partition="dsp"/>
    <step MD5="1fb161f1a3af4576cf67269049796afe" filename="logo.bin" operation="flash" partition="logo"/>
    <step MD5="aa337fafc827722ce13d535e2d40604a" filename="boot.img" operation="flash" partition="boot"/>
    <step MD5="c487a9cd3f57ae8b80a631e3fb3dd105" filename="dtbo.img" operation="flash" partition="dtbo"/>
    <step MD5="a09bdbad7490fa9fa9123d3d928cb1af" filename="system.img_sparsechunk.0" operation="flash" partition="system"/>
    <step MD5="629ad8460d94d50080757b3f1261f7a8" filename="system.img_sparsechunk.1" operation="flash" partition="system"/>
    <step MD5="038947128c77a4b458ceb8026ace2d30" filename="system.img_sparsechunk.2" operation="flash" partition="system"/>
    <step MD5="6a8dc58ece97231239e699aa2eb95601" filename="system.img_sparsechunk.3" operation="flash" partition="system"/>
    <step MD5="31ed22694383c85f26d9e89efef09efc" filename="system.img_sparsechunk.4" operation="flash" partition="system"/>
    <step MD5="e4f7243e65dc6df1a79ad5f71e3bf938" filename="system.img_sparsechunk.5" operation="flash" partition="system"/>
    <step MD5="80aaa96d64637575f88dc4daa131123b" filename="system.img_sparsechunk.6" operation="flash" partition="system"/>
    <step MD5="bcde37037afb3ccb66e7b47427af9229" filename="system.img_sparsechunk.7" operation="flash" partition="system"/>
    <step MD5="afa92c57f8402cd7223c777cf1de5f44" filename="system.img_sparsechunk.8" operation="flash" partition="system"/>
    <step MD5="1cd02b2893144cf069a23f6b1c3b6c96" filename="system.img_sparsechunk.9" operation="flash" partition="system"/>
    <step MD5="c18a83c64aaf741df0c6ed10935348b8" filename="system_b.img_sparsechunk.0" operation="flash" partition="system_b"/>
    <step MD5="ad7f6a528952be93f26faaebfd1bf83d" filename="system_b.img_sparsechunk.1" operation="flash" partition="system_b"/>
    <step MD5="0046992361c02076555c97cec8f29a53" filename="system_b.img_sparsechunk.2" operation="flash" partition="system_b"/>
    <step MD5="b7a1f1b1af66182476230d69fd2ad752" filename="vendor.img_sparsechunk.0" operation="flash" partition="vendor"/>
    <step MD5="0ffd0cec1719a75ecb54fa17b24ad4d4" filename="vendor.img_sparsechunk.1" operation="flash" partition="vendor"/>
    <step MD5="1097de93ede575d7dcb33fda3a1a6776" filename="oem.img" operation="flash" partition="oem"/>
    <step MD5="1834a559d2b7d9a09feae082e1586068" filename="oem_other.img" operation="flash" partition="oem_b"/>
    <step operation="erase" partition="DDR"/>
    <step operation="oem" var="fb_mode_clear"/>
  </steps>
</flashing>


I Can´t found Moto XML to BATCH Script in RootJunky, not opening correct link to Script, Redirect to RootJunky Site. I Tried to search but nothing..
 

Kelison

Member
Jul 8, 2017
29
35

there is an online tool to extract the commands from the XML file flashfile.xml
 
  • Like
Reactions: sd_shadow

TEXASTRYKER

Member
Jan 13, 2017
12
1
Hello I have the same problem here !!!!!!!!!
Can you please helps with this please.:oops::oops::oops:


Microsoft Windows [Versión 6.3.9600]
(c) 2013 Microsoft Corporation. Todos los derechos reservados.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-lima_32_retail-dd9cedf-190906
(bootloader) product: lima
(bootloader) board: lima
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: 2
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB SAMSUNG 4X6KMB RV=08 PV=00 FV=0000000000000003
(bootloader) ram: 2GB SAMSUNG LP4x DIE=16Gb M5=01 M6=07 M7=01 M8=12
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: ZY22794JWZ
(bootloader) cid: 0x0032
(bootloader) channelid: 0x06
(bootloader) uid: 6266242951D52C59000000000000
(bootloader) securestate: oem_locked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 268435456
(bootloader) reason: No bootable A/B slot
(bootloader) imei: ***************
(bootloader) imei2:
(bootloader) meid:
(bootloader) date: 01-21-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C51712
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 1 5:35:58 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32_amx/lima:9/PMDS29
(bootloader) ro.build.fingerprint[1]: .70-85-3/fdb84:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.201.4.lima_32_amx
(bootloader) ro.build.version.full[1]: .amx.en.US
(bootloader) ro.build.version.mtk: alps-mp-p0.mp1.tc2sp-V1.47
(bootloader) version-baseband: MT6771_V1.P1.01.91R
(bootloader) kernel.version[0]: Linux version 4.4.146+ ([email protected]
(bootloader) kernel.version[1]: 162) (gcc version 4.9.x 20150123 (prerel
(bootloader) kernel.version[2]: ease) (GCC) ) #1 SMP PREEMPT Wed Oct 28
(bootloader) kernel.version[3]: 00:21:25 CDT 2020
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: amxla
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: no
(bootloader) slot-bootable:_b: no
(bootloader) slot-retry-count:_a: 0
(bootloader) slot-retry-count:_b: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) pcb-part-no: SB28C72550
all: listed above
finished. total time: 0.172s

C:\Program Files (x86)\Minimal ADB and Fastboot>
 
Last edited:

sd_shadow

Recognized Contributor
Sep 21, 2011
18,191
2
8,737
South Dakota
goo.gl
Motorola Droid X
Moto X4
Hello I have the same problem here !!!!!!!!!
Can you please helps with this please.:oops::oops::oops:


Microsoft Windows [Versión 6.3.9600]
(c) 2013 Microsoft Corporation. Todos los derechos reservados.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-lima_32_retail-dd9cedf-190906
(bootloader) product: lima
(bootloader) board: lima
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: 2
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB SAMSUNG 4X6KMB RV=08 PV=00 FV=0000000000000003
(bootloader) ram: 2GB SAMSUNG LP4x DIE=16Gb M5=01 M6=07 M7=01 M8=12
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: ZY22794JWZ
(bootloader) cid: 0x0032
(bootloader) channelid: 0x06
(bootloader) uid: 6266242951D52C59000000000000
(bootloader) securestate: oem_locked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 268435456
(bootloader) reason: No bootable A/B slot
(bootloader) imei: ***************
(bootloader) imei2:
(bootloader) meid:
(bootloader) date: 01-21-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C51712
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 1 5:35:58 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32_amx/lima:9/PMDS29
(bootloader) ro.build.fingerprint[1]: .70-85-3/fdb84:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.201.4.lima_32_amx
(bootloader) ro.build.version.full[1]: .amx.en.US
(bootloader) ro.build.version.mtk: alps-mp-p0.mp1.tc2sp-V1.47
(bootloader) version-baseband: MT6771_V1.P1.01.91R
(bootloader) kernel.version[0]: Linux version 4.4.146+ ([email protected]
(bootloader) kernel.version[1]: 162) (gcc version 4.9.x 20150123 (prerel
(bootloader) kernel.version[2]: ease) (GCC) ) #1 SMP PREEMPT Wed Oct 28
(bootloader) kernel.version[3]: 00:21:25 CDT 2020
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: amxla
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: no
(bootloader) slot-bootable:_b: no
(bootloader) slot-retry-count:_a: 0
(bootloader) slot-retry-count:_b: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) pcb-part-no: SB28C72550
all: listed above
finished. total time: 0.172s

C:\Program Files (x86)\Minimal ADB and Fastboot>
You saw this?
 

TEXASTRYKER

Member
Jan 13, 2017
12
1
You saw this?
Thaks for your reply.
i just dont know how to do it
Rescue and Smart Assistant doesnt work on my motorola g8 play
i just dont know how to flash it
i try with some firmwares but no luck
they come with flashfile.bat
i already have minimal adb and fast boot installed on my pc win 8.1
can you help me how to do it?
 

sd_shadow

Recognized Contributor
Sep 21, 2011
18,191
2
8,737
South Dakota
goo.gl
Motorola Droid X
Moto X4
Thaks for your reply.
i just dont know how to do it
Rescue and Smart Assistant doesnt work on my motorola g8 play
i just dont know how to flash it
i try with some firmwares but no luck
they come with flashfile.bat
i already have minimal adb and fast boot installed on my pc win 8.1
can you help me how to do it?
You downloaded this version?
https://mirrors.lolinet.com/firmware/moto/lima_32/official/AMXLA/
XT2015-2_LIMA_32_AMX_9.0_PMDS29.70-85-3_subsidy-CLALASL_regulatory-XT2015_2_SUTEL_SS_CFC.xml.zip
 
  • Like
Reactions: csgoisepic

TEXASTRYKER

Member
Jan 13, 2017
12
1
You downloaded this version?
https://mirrors.lolinet.com/firmware/moto/lima_32/official/AMXLA/
XT2015-2_LIMA_32_AMX_9.0_PMDS29.70-85-3_subsidy-CLALASL_regulatory-XT2015_2_SUTEL_SS_CFC.xml.zip


How do i flash this firmware?
i just copy and paste this files :
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
cmd-here.exe
fastboot.exe
flashfile.bat
and after i extract the content of :
XT2015-2_LIMA_32_AMX_9.0_PMDS29.70-85-3_subsidy-CLALASL_regulatory-XT2015_2_SUTEL_SS_CFC.xml


or im doing wrong?

do i need a diferent blankflash ?
 
Last edited:

sd_shadow

Recognized Contributor
Sep 21, 2011
18,191
2
8,737
South Dakota
goo.gl
Motorola Droid X
Moto X4
How do i flash this firmware?
i just copy and paste this files :
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
cmd-here.exe
fastboot.exe
flashfile.bat
and after i extract the content of :
XT2015-2_LIMA_32_AMX_9.0_PMDS29.70-85-3_subsidy-CLALASL_regulatory-XT2015_2_SUTEL_SS_CFC.xml


or im doing wrong?

do i need a diferent blankflash ?
How do i flash this firmware?
i just copy and paste this files :
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
cmd-here.exe
fastboot.exe
flashfile.bat
and after i extract the content of :
XT2015-2_LIMA_32_AMX_9.0_PMDS29.70-85-3_subsidy-CLALASL_regulatory-XT2015_2_SUTEL_SS_CFC.xml


or im doing wrong?

do i need a diferent blankflash ?
Blankflash is a whole different thing, that is not an option for your device.
Your device would need to already in EDL mode or have an unlocked bootloader.

If you had enabled dev options and enabled OEM unlocking, before it stopped booting, you should unlock the bootloader, otherwise it's not a option now.

Let's go back a bit.
Did you try LMSA's Flash rescue option?
That is the best option for Moto devices with a locked bootloader.

Next best is RSD Lite, but you need Windows 7or XP, not 8 or 10.

With the bootloader locked, there isn't much hope for flashing.

Watch Root junkie's video on creating a flash.bat
 

TEXASTRYKER

Member
Jan 13, 2017
12
1
Blankflash is a whole different thing, that is not an option for your device.
Your device would need to already in EDL mode or have an unlocked bootloader.

If you had enabled dev options and enabled OEM unlocking, before it stopped booting, you should unlock the bootloader, otherwise it's not a option now.

Let's go back a bit.
Did you try Flash rescue option?
That is the best option for Moto devices with a locked bootloader.

Next best is RSD Lite, but you need Windows 7or XP, not 8 or 10.

With the bootloader locked, there isn't much hope for flashing.

Watch Root junkie's video on creating a flash.bat



Yes already try LMSA's

i got this error
 

Attachments

  • 20210219_040630.jpg
    20210219_040630.jpg
    10.8 MB · Views: 15
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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
    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
    3
    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?
    2
    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
    2
    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.