• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

"Invalid partition name boot" error

Search This thread

baigun

New member
Jun 12, 2021
4
0
I'm currently on a bootloop on a rooted device that was working fine, and trying to flash a firmware so it can reset (tried factory reset to no deal)

When I try to flash the boot.img I get:

C:\adb\update>fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (32768 KB)...
OKAY [ 1.048s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 1.054s

I also tried to flash lineage 17.1 but get "erase permission denied"
 

sd_shadow

Recognized Contributor
Sep 21, 2011
17,852
1
8,422
South Dakota
goo.gl
Moto X4
Moto G7 Power
I'm currently on a bootloop on a rooted device that was working fine, and trying to flash a firmware so it can reset (tried factory reset to no deal)

When I try to flash the boot.img I get:

C:\adb\update>fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (32768 KB)...
OKAY [ 1.048s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 1.054s

I also tried to flash lineage 17.1 but get "erase permission denied"
What does getvar all say? (remove the imei before posting)
Code:
fastboot getvar all
 
  • Like
Reactions: Ko Min Min Soe

baigun

New member
Jun 12, 2021
4
0
What does getvar all say? (remove the imei before posting)
Code:
fastboot getvar all
C:\Users\Kon>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-lima_32_retail-613092d79-210317
(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 UNKNOWN LP4 DIE=4Gb M5=00 M6=00 M7=00 M8=00
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: 0066225513
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: C4BECDAB9137B413000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 268435456
(bootloader) reason: Volume down key pressed
(bootloader) imei: 355555112592799
(bootloader) imei2: 355555112592807
(bootloader) meid:
(bootloader) date: 05-13-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C55376
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Wed Jan 2 21:46:38 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32/lima:10/QMDS30.47
(bootloader) ro.build.fingerprint[1]: -19-4/71fae:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.mtk: alps-mp-q0.mp1.tc2sp-V1.53
(bootloader) version-baseband: MT6771_V70.02.01.108R
(bootloader) kernel.version[0]: Linux version 4.14.141+ ([email protected]
(bootloader) kernel.version[1]: build) (gcc version 4.9.x 20150123 (prer
(bootloader) kernel.version[2]: elease) (GCC)) #1 SMP PREEMPT Mon Jan 25
(bootloader) kernel.version[3]: 04:26:14 CST 2021
(bootloader) frp-state: protected (144)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: yes
(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: SB28C73269
all: listed above
finished. total time: 0.126s
 

sd_shadow

Recognized Contributor
Sep 21, 2011
17,852
1
8,422
South Dakota
goo.gl
Moto X4
Moto G7 Power
C:\Users\Kon>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-lima_32_retail-613092d79-210317
(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 UNKNOWN LP4 DIE=4Gb M5=00 M6=00 M7=00 M8=00
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: 0066225513
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: C4BECDAB9137B413000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 268435456
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) imei2:
(bootloader) meid:
(bootloader) date: 05-13-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C55376
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Wed Jan 2 21:46:38 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32/lima:10/QMDS30.47
(bootloader) ro.build.fingerprint[1]: -19-4/71fae:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.mtk: alps-mp-q0.mp1.tc2sp-V1.53
(bootloader) version-baseband: MT6771_V70.02.01.108R
(bootloader) kernel.version[0]: Linux version 4.14.141+ ([email protected]
(bootloader) kernel.version[1]: build) (gcc version 4.9.x 20150123 (prer
(bootloader) kernel.version[2]: elease) (GCC)) #1 SMP PREEMPT Mon Jan 25
(bootloader) kernel.version[3]: 04:26:14 CST 2021
(bootloader) frp-state: protected (144)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: yes
(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: SB28C73269
all: listed above
finished. total time: 0.126s
I don't see anything wrong there.
Try a different USB port or PC
See if there is an update to the SDK platform-tools
 

baigun

New member
Jun 12, 2021
4
0
Tried an older stock rom, android 9, it worked, tried to update and now I get
"dm-verity corruption

This device can't be trusted,
please press the power button to boot or the phone will power off in 5s."

Did I brick my phone? :c

new 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 UNKNOWN LP4 DIE=4Gb M5=00 M6=00 M7=00 M8=00
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: 0066225513
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: C4BECDAB9137B413000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 268435456
(bootloader) reason: Volume down key pressed
(bootloader) imei: 355555112592799
(bootloader) imei2: 355555112592807
(bootloader) meid:
(bootloader) date: 05-13-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C55376
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jun 14 1: 4:28 UTC 2021"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32/lima:9/PMD29.70-3
(bootloader) ro.build.fingerprint[1]: 7-1/5022a:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.41.1.lima_32.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.mtk: alps-mp-p0.mp1.tc2sp-V1.47
(bootloader) version-baseband: MT6771_V9.04.01.79R
(bootloader) kernel.version[0]: Linux version 4.4.146 ([email protected]
(bootloader) kernel.version[1]: 54) (gcc version 4.9.x 20150123 (prerele
(bootloader) kernel.version[2]: ase) (GCC) ) #1 SMP PREEMPT Fri Sep 6 07
(bootloader) kernel.version[3]: :50:09 CDT 2019
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: yes
(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: SB28C73269
all: listed above
finished. total time: 0.129s
 
Last edited:

sd_shadow

Recognized Contributor
Sep 21, 2011
17,852
1
8,422
South Dakota
goo.gl
Moto X4
Moto G7 Power
Tried an older stock rom, android 9, it worked, tried to update and now I get
"dm-verity corruption

This device can't be trusted,
please press the power button to boot or the phone will power off in 5s."

Did I brick my phone? :c

new 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 UNKNOWN LP4 DIE=4Gb M5=00 M6=00 M7=00 M8=00
(bootloader) cpu: MT6771V/WL
(bootloader) serialno: 0066225513
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: C4BECDAB9137B413000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 268435456
(bootloader) reason: Volume down key pressed
(bootloader) imei: 355555112592799
(bootloader) imei2: 355555112592807
(bootloader) meid:
(bootloader) date: 05-13-2020
(bootloader) sku: XT2015-2
(bootloader) carrier_sku: XT2015-2
(bootloader) battid: SB18C55376
(bootloader) iccid:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jun 14 1: 4:28 UTC 2021"
(bootloader) ro.build.fingerprint[0]: motorola/lima_32/lima:9/PMD29.70-3
(bootloader) ro.build.fingerprint[1]: 7-1/5022a:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.41.1.lima_32.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.mtk: alps-mp-p0.mp1.tc2sp-V1.47
(bootloader) version-baseband: MT6771_V9.04.01.79R
(bootloader) kernel.version[0]: Linux version 4.4.146 ([email protected]
(bootloader) kernel.version[1]: 54) (gcc version 4.9.x 20150123 (prerele
(bootloader) kernel.version[2]: ase) (GCC) ) #1 SMP PREEMPT Fri Sep 6 07
(bootloader) kernel.version[3]: :50:09 CDT 2019
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-bootable:_a: yes
(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: SB28C73269
all: listed above
finished. total time: 0.129s
It's never a good idea to downgrade a Moto and then install an OTA update.
Try LMSA's Rescue option
 

baigun

New member
Jun 12, 2021
4
0
I used an up to date stock and it resolved, thank you sd_shadow for the support, I dunno what exactly was causing both problems, but it went good eventually
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I'm currently on a bootloop on a rooted device that was working fine, and trying to flash a firmware so it can reset (tried factory reset to no deal)

    When I try to flash the boot.img I get:

    C:\adb\update>fastboot flash boot boot.img
    target reported max download size of 268435456 bytes
    sending 'boot' (32768 KB)...
    OKAY [ 1.048s]
    writing 'boot'...
    (bootloader) Invalid partition name boot
    FAILED (remote failure)
    finished. total time: 1.054s

    I also tried to flash lineage 17.1 but get "erase permission denied"
    What does getvar all say? (remove the imei before posting)
    Code:
    fastboot getvar all