Moto E5 Plus Stuck in Bootloader - Moto E5 Questions & Answers

I have an xt1924-3 that is stuck on the bootloader menu.
Lenovo Rescue and Smart Assistant fails to identify the device and gives me no options of recovery. If I manually select Moto e5 plus and xt1924-3 it says the version doesn't match since the device displays 000000000000000 as the product variant.
I tried downloading and flashing the stock rom but I get errors about failing to write or reset partition.
Anything I try to access from the bootloader does not go through. I get the error "Failed to pass validation, backup to fastboot" & "Boot up failed"
Basically I'm not able to get past the bootloader no matter what I try. The only thing that works is the phone is able to load into and restart bootloader.
Adding an image of what I see on the bootloader.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any help would be appreciated! Thanks.

Woahqin said:
I have an xt1924-3 that is stuck on the bootloader menu.
Lenovo Rescue and Smart Assistant fails to identify the device and gives me no options of recovery. If I manually select Moto e5 plus and xt1924-3 it says the version doesn't match since the device displays 000000000000000 as the product variant.
I tried downloading and flashing the stock rom but I get errors about failing to write or reset partition.
Anything I try to access from the bootloader does not go through. I get the error "Failed to pass validation, backup to fastboot" & "Boot up failed"
Basically I'm not able to get past the bootloader no matter what I try. The only thing that works is the phone is able to load into and restart bootloader.
Adding an image of what I see on the bootloader.
Any help would be appreciated! Thanks.
Click to expand...
Click to collapse
LMSA won't work if baseband is missing.
What does getvar all say?
Code:
fastboot getvar all
Sent from my Moto E (4) using Tapatalk

sd_shadow said:
LMSA won't work if baseband is missing.
What does getvar all say?
Code:
fastboot getvar all
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
Hey thanks for replying. I get this..
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8937-BF.55(*)
(bootloader) product: hannah
(bootloader) board: hannah
(bootloader) secure: yes
(bootloader) hwrev: P3
(bootloader) radio: 4
(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: MSM8937
(bootloader) serialno: 9144079b
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: BB8BDFDA00000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: n/a
(bootloader) max-download-size: 535822336
(bootloader) reason: Fall-through from charger boot mode
(bootloader) imei: 000000000000000
(bootloader) meid:
(bootloader) date: 01-01-1970
(bootloader) sku: 000000000000000
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint:
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version:
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) devcfg.git: devcfg.git
(bootloader) keymaster.git: keymaster.git
(bootloader) cmnlib.git: cmnlib.git
(bootloader) cmnlib64.git: cmnlib64.git
(bootloader) prov.git: prov.git
(bootloader) aboot.git: git=MBM-NG-VBF.55-0-g4e3d3ac
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier:
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
finished. total time: 0.065s

Woahqin said:
LMSA won't work if baseband is missing.
What does getvar all say?
Hey thanks for replying. I get this..
Click to expand...
Click to collapse
Doesn't look good, most of the info from getvar is missing.
Do you know which software channel it is on?
Is it carrier branded?
Sent from my ocean using XDA Labs

sd_shadow said:
Doesn't look good, most of the info from getvar is missing.
Click to expand...
Click to collapse
Oh crap ok
It's funny how sometimes a simple software update can brick your phone hehe.
sd_shadow said:
Do you know which software channel it is on?
Is it carrier branded?
Sent from my ocean using XDA Labs
Click to expand...
Click to collapse
Not carrier branded (I bought it in India via Amazon).
I don't know what channel it is on since the only way I know to check that is via settings within android but this phone won't boot.

Woahqin said:
Oh crap ok
It's funny how sometimes a simple software update can brick your phone hehe.
Not carrier branded (I bought it in India via Amazon).
I don't know what channel it is on since the only way I know to check that is via settings within android but this phone won't boot.
Click to expand...
Click to collapse
I would try to flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
From
https://mirrors.lolinet.com/firmware/moto/ahannah/official/RETIN/
XT1924-3_AHANNAH_RETIN_8.0.0_OPPS27.91-179-8-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Sent from my ocean using XDA Labs
---------- Post added at 01:22 AM ---------- Previous post was at 01:16 AM ----------
Then check to see if bootloader shows baseband again
Sent from my ocean using XDA Labs

sd_shadow said:
I would try to flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
From
https://mirrors.lolinet.com/firmware/moto/ahannah/official/RETIN/
XT1924-3_AHANNAH_RETIN_8.0.0_OPPS27.91-179-8-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Sent from my ocean using XDA Labs
---------- Post added at 01:22 AM ---------- Previous post was at 01:16 AM ----------
Then check to see if bootloader shows baseband again
Sent from my ocean using XDA Labs
Click to expand...
Click to collapse
When I try to flash I get this
Code:
C:\adb>fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (68730 KB)...
OKAY [ 2.883s]
writing 'modem'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 2.887s
C:\adb>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.003s
C:\adb>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.003s
C:\adb>fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (5668 KB)...
OKAY [ 0.235s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.248s
Is my assumption that the partition table is destroyed/damaged correct? If so, do you know what I can do to attempt recovery?
If not, what else do you think I could try?

Woahqin said:
I would try to flash
When I try to flash I get this
Is my assumption that the partition table is destroyed/damaged correct? If so, do you know what I can do to attempt recovery?
If not, what else do you think I could try?
Click to expand...
Click to collapse
Try
Code:
fastboot oem fb_mode_set
fastboot reboot bootloader
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
fastboot reboot bootloader
If that doesn't flash I'm out of ideas.
Edit: doesn't
Sent from my perry_f using XDA Labs

sd_shadow said:
Try
Code:
fastboot oem fb_mode_set
fastboot reboot bootloader
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
fastboot reboot bootloader
If that does flash I'm out of ideas.
Sent from my perry_f using XDA Labs
Click to expand...
Click to collapse
It doesn't flash. Thanks for helping.
I'll try different things and see if something works.

Try with RSD Lite, be sure that you have all the necessary drivers

If you try RSD lite use windows 7 or xp
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my Moto E (4) using Tapatalk

I've tried RSD Lite already.
It fails to flash too.
This is the error I get
Code:
Failed flashing process. 2/23 oem fb_mode_set -> Phone returned FAIL.

Related

Super Mega Hard Bricked

Guys
I had unlocked the bootloader and was using the Ressuration Remix a few days ago.
Yesterday i went to install the Stock PAYTON_OPW28.46-13. I made fastboot -w and run the script.
But there was an error and my script had the command: oem lock.
It happened that he did not pass the rom and blocked the bootloader. After that I can not install any ROMs.
I tried them all.
PAYTON_OPWS27.57-25-6-10
PAYTON_OPWS27.57-40-14
PAYTON_OPW28.46-13
PAYTON_OPWS27.57-40-17
I did not succeed. The message I have is:
sending 'bootloader' (9520 KB) ...
OKAY [0.278s]
writing 'bootloader' ...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0
I noticed something different in the bootloader.
The message is: flashing_locked.
- I do not have access to TWRP
- I do not have access to recovery stock
- I do not have access to the previous ROM (deleted everything)
I have access to fastboot
I have access to the option to unlock the bootloader, but when I put the code, the following message is:
Enable USB USB debbuguing <in development option> but I can not do it because I do not have a system!
https://drive.google.com/open?id=1SuJjDUcSPgfy7uzxkcTQYRA4jhQU2TL4
Anyone know what to do?
see if this helps.
https://forum.xda-developers.com/moto-x4/help/hard-bricked-how-enter-emergency-t3757472
What about reapplying for an unlock code, and re-unlocking the bootloader? I did that on my z2 Force when it happened.
slaytanic said:
What about reapplying for an unlock code, and re-unlocking the bootloader? I did that on my z2 Force when it happened.
Click to expand...
Click to collapse
When I try to unlock it, it asks me to enable the USb Debugging option in the developer settings ...
munchy_cool said:
see if this helps.
https://forum.xda-developers.com/moto-x4/help/hard-bricked-how-enter-emergency-t3757472
Click to expand...
Click to collapse
It sounds a bit tricky but what I realized is that my phone is recognized as Fastboot Payton S and I can not install it as a Qualcomm driver
IVANWB said:
It sounds a bit tricky but what I realized is that my phone is recognized as Fastboot Payton S and I can not install it as a Qualcomm driver
Click to expand...
Click to collapse
try flashing factory firmware from fastboot?
munchy_cool said:
try flashing factory firmware from fastboot?
Click to expand...
Click to collapse
I've tried all the images, I always receive (bootloader) flash permission denied
success when installing the qualcomm drivers.
When I run blank-flash script, i get the message:
"Waiting for device"
If I try,
fastboot flashing unlock
(bootloader) Check 'OEM unlocking' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.013s]
finished. total time: 0.014s
I dont know what else to say.
you locked the bootloader with developer settings turned off.
I personally dont have a solution for this. let's hope someone else has.
you locked the bootloader with developer settings turned off.[/QUOTE said:
Exactly, I've tried everything ...
Click to expand...
Click to collapse
munchy_cool said:
I dont know what else to say.
you locked the bootloader with developer settings turned off.
I personally dont have a solution for this. let's hope someone else has.
Click to expand...
Click to collapse
Exactly, I've tried everything ...
IVANWB said:
I've tried all the images, I always receive (bootloader) flash permission denied
success when installing the qualcomm drivers.
When I run blank-flash script, i get the message:
"Waiting for device"
Click to expand...
Click to collapse
Have you already tried the emergency fastboot?
This worked for me when my x4 bricked.
jonathangrag said:
Have you already tried the emergency fastboot?
This worked for me when my x4 bricked.
Click to expand...
Click to collapse
Hello everyone, friend what are the commands to enter this mode?
pauloreducinobr said:
Hello everyone, friend what are the commands to enter this mode?
Click to expand...
Click to collapse
It's the same mode, but you use a different software version. Here it is.
try entering in the "cmd" command console this:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot reboot-bootloader
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot bluetooth flash BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr
If the error still appears remove "mfastboot flash oem oem.img"..who knows, maybe it works !
I sent my device yesterday for the warranty.
They said it was necessary to change the plate and the guarantee will cover.
Thanks for the help.
IVANWB said:
I sent my device yesterday for the warranty.
They said it was necessary to change the plate and the guarantee will cover.
Thanks for the help.
Click to expand...
Click to collapse
Wow, they will really cover it? Que sorte! I would not expect that
(saw your post on G+ haha)
Daaaaniel said:
try entering in the "cmd" command console this:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot reboot-bootloader
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot bluetooth flash BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr
If the error still appears remove "mfastboot flash oem oem.img"..who knows, maybe it works !
Click to expand...
Click to collapse
Can you send me the stock boot.img? I need it to examine how it works, and the full firmware will take ages to download. Thank you.
Broadcasted from Zeta Reticuli
Softbricked
So, I have a similar problem, but I can't access anything, because Motorola says "untrusted device" and this bla bla bla. The problem is the ROM, I can't found the original ROM of this phone is in use (XT1900-6). The flashing state is set to locked, and is no possible to unlock OEM. The Qualcomm drivers don't worked here, maybe I need a fresh install of Windows 10.
Anybody have a ideia to fix that?
variables:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-641a15b-171216
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB SAMSUNG DD68MB RV=08 PV=02 FV=0000000000000002
(bootloader) ufs: N/A
(bootloader) ram: 3GB SAMSUNG LP4x DIE=12Gb M5=01 M6=06 M7=00 M8=0E
(bootloader) cpu: SDM630 1.0 (6)
(bootloader) serialno: 004294------
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: 0E141779
(bootloader) securestate: flashing_locked
(bootloader) verity-state: logging (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: --------------------------
(bootloader) meid:
(bootloader) date: 01-25-2018
(bootloader) sku: XT1900-6
(bootloader) carrier_sku:
(bootloader) battid: SNN5995A
(bootloader) battery-voltage: 3843
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.0.0/OPW27
(bootloader) ro.build.fingerprint[1]: .57-40/52:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.31.52.payton.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: <not found>
(bootloader) version-baseband: M660_7036.16.01.69R PAYTON_LATAMDSDS_CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-ge3f7ffe (huds
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Sat Dec 16 07:34:49 CST 2017
(bootloader) git:abl: MBM-3.0-uefi-641a15b-171216
(bootloader) git:xbl: MBM-3.0-uefi-dfccc3a-171216
(bootloader) gitmic: MBM-3.0-uefi-dfccc3a-171216
(bootloader) git:rpm: MBM-3.0-uefi-245b046-171216
(bootloader) git:tz: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:hyp: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:devcfg: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:cmnlib: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:cmnlib64: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:keymaster: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) gitrov: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) git:storsec: MBM-3.0-uefi-eee7f2d-dirty-171216
(bootloader) qe: "qe 0/0"
(bootloader) frp-state: protected (343)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: _a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 7
(bootloader) slot-retry-count:_b: 0
Click to expand...
Click to collapse
Edit: Removed smiles on text.

Fastboot flashing_locked, but system modified?

Hi friends,
I have a new Moto X4 1900-1 that I picked up several weeks ago (standard unlocked version, not Amazon), been working beautifully. Stock aside from magisk flashed/bootloader unlocked, still on stock ROM w/stock recovery.
Been having unrelated hardware trouble with it lately, and was trying to restore it to factory settings prior to sending it in for warranty work...but I fear I've bricked it somehow.
Steps taken:
USB debugging disabled in dev settings
OEM unlock disabled in dev settings
Developer options switched off in dev settings
Magisk completely uninstalled within app
Device rebooted via magisk uninstall
On device reboot, I've got the dreaded "Your device is corrupt. It can't be trusted and will not boot." screen, as if the system is still somehow modified. So, I'm now in a state where the bootloader is locked, but the phone won't boot, not even to recovery.
On trying to boot it to TWRP from fastboot, I get the same "Device is corrupt" screen, and if I try to flash partitions (boot, recovery), I get a "(bootloader) flash permission denied" message. I'm unable to unlock the bootloader again via fastboot oem unlock (unlock code) or fastboot flashing unlock, both of which give me this message: "(bootloader) Check 'OEM unlocking' in Android Settings > Developer Options".
I really did like this phone when it was working, which was for all of a couple weeks. I backed up what I needed before starting all of this, so I don't care about data loss, just want to restore it to factory fresh.
taloras said:
Hi friends,
I have a new Moto X4 1900-1 that I picked up several weeks ago (standard unlocked version, not Amazon), been working beautifully. Stock aside from magisk flashed/bootloader unlocked, still on stock ROM w/stock recovery.
Been having unrelated hardware trouble with it lately, and was trying to restore it to factory settings prior to sending it in for warranty work...but I fear I've bricked it somehow.
Steps taken:
USB debugging disabled in dev settings
OEM unlock disabled in dev settings
Developer options switched off in dev settings
Magisk completely uninstalled within app
Device rebooted via magisk uninstall
On device reboot, I've got the dreaded "Your device is corrupt. It can't be trusted and will not boot." screen, as if the system is still somehow modified. So, I'm now in a state where the bootloader is locked, but the phone won't boot, not even to recovery.
On trying to boot it to TWRP from fastboot, I get the same "Device is corrupt" screen, and if I try to flash partitions (boot, recovery), I get a "(bootloader) flash permission denied" message. I'm unable to unlock the bootloader again via fastboot oem unlock (unlock code) or fastboot flashing unlock, both of which give me this message: "(bootloader) Check 'OEM unlocking' in Android Settings > Developer Options".
I really did like this phone when it was working, which was for all of a couple weeks. I backed up what I needed before starting all of this, so I don't care about data loss, just want to restore it to factory fresh.
Click to expand...
Click to collapse
fastboot flash your factory FW
bcrichster said:
fastboot flash your factory FW
Click to expand...
Click to collapse
That's a negative, ghost rider.
https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348 on following this guide, downloading/extracting the stock image and using the included batch file to flash all, every partition tried returns the following error in Fastboot:
sending 'x'
writing (x)
(bootloader) flash permission denied
FAILED (remote failure)
taloras said:
That's a negative, ghost rider.
https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348 on following this guide, downloading/extracting the stock image and using the included batch file to flash all, every partition tried returns the following error in Fastboot:
sending 'x'
writing (x)
(bootloader) flash permission denied
FAILED (remote failure)
Click to expand...
Click to collapse
Try without Window's batch file thing..?? The new FW may have files of a different name that the cmds may need adjusting for..
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Try without Window's batch file thing..?? The new FW may have files of a different name that the cmds may need adjusting for..
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
No joy. The batch file starts with "fastboot flash partition gpt.bin" (which works), but the next one, "fastboot flash bootloader bootloader.img" fails thusly:
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.218s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.272s
taloras said:
No joy. The batch file starts with "fastboot flash partition gpt.bin" (which works), but the next one, "fastboot flash bootloader bootloader.img" fails thusly:
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.218s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.272s
Click to expand...
Click to collapse
Can you post a screenshot of the file listing of extracted FW? I'd like to do a file-name comparison, maybe helpful
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Can you post a screenshot of the file listing of extracted FW? I'd like to do a file-name comparison, maybe helpful
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
Firmware download: PAYTON_OPW28.46-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Files:
boot.img
bootloader.img
BTFM.bin
dspso.bin
flashfile.xml
fsg.mbn
gpt.bin
logo.bin
NON-HLOS.bin
oem.img
PAYTON_OPW28.46-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info.txt
regulatory_info_default.png
servicefile.xml
slcf_rev_d_default_v1.0.nvm
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
system.img_sparsechunk.4
system.img_sparsechunk.5
system.img_sparsechunk.6
system.img_sparsechunk.7
system_other.img
Strange.. I usually just use Linux & add "sudo" to the beginning of flash cmd for perms issues. They may have changed something else, somewhere
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Strange.. I usually just use Linux & add "sudo" to the beginning of flash cmd for perms issues. They may have changed something else, somewhere
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
Let me try this from Linux, then. Though, this does seem to be a permissions issue being squawked back at me from Fastboot and not from Windows...
Definitely not a Windows problem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
taloras said:
Definitely not a Windows problem.
Click to expand...
Click to collapse
Any possibility there isn't a bootloader partition or maybe it has different name..??
Sent from my Moto E (4) Plus using Tapatalk
Do you remember your latest installed rom? The bootloader you want to flash has to be newer or at least the same, furthermore you can try it on a older machine with USB 2.0 ports, I had the same problem with "permission denied" on USB 3.0/3.1 ports and new mainboards
bcrichster said:
Any possibility there isn't a bootloader partition or maybe it has different name..??
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
How can I check for partitions from Fastboot? As I can't even boot to recovery, I'm limited in what I can do to fastboot commands, which unfortunately doesn't include any adb shell use.
Zokhii said:
Do you remember your latest installed rom? The bootloader you want to flash has to be newer or at least the same, furthermore you can try it on a older machine with USB 2.0 ports, I had the same problem with "permission denied" on USB 3.0/3.1 ports and new mainboards
Click to expand...
Click to collapse
I've never touched the ROMS on the device beyond what it came with out of the box, it's using whatever the latest October OTA version is (there was an 11/1 OTA update which I saw a notification for but didn't apply).
fastboot getvar all gives me the following:
Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-2d29a27-181010
(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: ZY2257LBZP
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: 662200ED
(bootloader) securestate: flashing_locked
(bootloader) verity-state: logging (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: xxxxxxxxxxxx
(bootloader) meid:
(bootloader) date: 09-19-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 4284
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.1.0/OPWS2
(bootloader) ro.build.fingerprint[1]: 8.46-21-15/ec37:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.261.23.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.4.r1-06900-8x98.0
(bootloader) version-baseband: M660_7042.27.01.74.02R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-gf993b65 (huds
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Oct 10 02:52:24 CDT 2018
(bootloader) git:abl: MBM-3.0-uefi-2d29a27-181010
(bootloader) git:xbl: MBM-3.0-uefi-455afa3-181010
(bootloader) git:pmic: MBM-3.0-uefi-455afa3-181010
(bootloader) git:rpm: MBM-3.0-uefi-f14962c-181010
(bootloader) git:tz: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:hyp: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:devcfg: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib64: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:keymaster: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:prov: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:storsec: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retus
(bootloader) current-slot: _a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 5
(bootloader) slot-retry-count:_b: 0
all: listed above
28.261.23 and 8.46-21-15 look sort of like build numbers; that plus a pretty recent Oct 10th kernel build date leads me to think I'm looking for a 28.46-21-15 or later firmware download, which I'll try to track down. Know of anywhere I could find firmwares that recent?
I have an older desktop with a bunch of usb 2.0 ports on it, I'll give that a whirl too.
taloras said:
I've never touched the ROMS on the device beyond what it came with out of the box, it's using whatever the latest October OTA version is (there was an 11/1 OTA update which I saw a notification for but didn't apply).
fastboot getvar all gives me the following:
Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-2d29a27-181010
(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: ZY2257LBZP
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: 662200ED
(bootloader) securestate: flashing_locked
(bootloader) verity-state: logging (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: xxxxxxxxxxxx
(bootloader) meid:
(bootloader) date: 09-19-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 4284
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.1.0/OPWS2
(bootloader) ro.build.fingerprint[1]: 8.46-21-15/ec37:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.261.23.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.4.r1-06900-8x98.0
(bootloader) version-baseband: M660_7042.27.01.74.02R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-gf993b65 (huds
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Oct 10 02:52:24 CDT 2018
(bootloader) git:abl: MBM-3.0-uefi-2d29a27-181010
(bootloader) git:xbl: MBM-3.0-uefi-455afa3-181010
(bootloader) git:pmic: MBM-3.0-uefi-455afa3-181010
(bootloader) git:rpm: MBM-3.0-uefi-f14962c-181010
(bootloader) git:tz: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:hyp: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:devcfg: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib64: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:keymaster: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:prov: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:storsec: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retus
(bootloader) current-slot: _a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 5
(bootloader) slot-retry-count:_b: 0
all: listed above
28.261.23 and 8.46-21-15 look sort of like build numbers; that plus a pretty recent Oct 10th kernel build date leads me to think I'm looking for a 28.46-21-15 or later firmware download, which I'll try to track down. Know of anywhere I could find firmwares that recent?
I have an older desktop with a bunch of usb 2.0 ports on it, I'll give that a whirl too.
Click to expand...
Click to collapse
Firmwares can be found here (but unfortunately I can't find a 28.46-21-15 build):
https://mirrors.lolinet.com/firmware/moto/payton/official/RETAIL/
https://androidfilehost.com/?w=files&flid=229118&sort_by=date&sort_dir=DESC (official motorola account)
Use these commands:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
If you get an error with something like "partition not found", change the "fastboot flash modem NON-HLOS.bin" command to "fastboot flash modem_a NON-HLOS.bin" for all commands where you get this error.
Zokhii said:
Firmwares can be found here:
https://mirrors.lolinet.com/firmware/moto/payton/official/RETAIL/
https://androidfilehost.com/?w=files&flid=229118&sort_by=date&sort_dir=DESC (official motorola account)
Hmm but unfortunately I can't find a 28.46-21-15 build...
Click to expand...
Click to collapse
Yeah, the most recent I see is 21-12, with a 10-09 upload date on androidfilehost (earlier than the kernel build date of whatever firmware I'm currently running). Might have to wait a few days until some kind soul uploads something more recent. I'll try this one on that other PC, just to dot my Is and cross my Ts.
taloras said:
Yeah, the most recent I see is 21-12, with a 10-09 upload date on androidfilehost (earlier than the kernel build date of whatever firmware I'm currently running). Might have to wait a few days until some kind soul uploads something more recent. I'll try this one on that other PC, just to dot my Is and cross my Ts.
Click to expand...
Click to collapse
Good luck man, I hope it works
Zokhii said:
Good luck man, I hope it works
Click to expand...
Click to collapse
No luck. flash partition gpt.bin works, but flashing anything after that fails with either "invalid partition name" or "permission denied".
Code:
C:\Users\Paul\Desktop\Peyton>fastboot flash partition gpt.bin
Sending 'partition' (37 KB) OKAY [ 0.000s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.141s]
Finished. Total time: 0.281s
C:\Users\Paul\Desktop\Peyton>fastboot flash bootloader bootloader.img
Sending 'bootloader' (9520 KB) OKAY [ 0.687s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
Finished. Total time: 0.766s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (94843 KB) OKAY [ 4.970s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote: '')
Finished. Total time: 5.157s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem_a NON-HLOS.bin
Sending 'modem_a' (94843 KB) OKAY [ 2.612s]
Writing 'modem_a' (bootloader) flash permission denied
FAILED (remote: '')
Finished. Total time: 2.643s
taloras said:
No luck. flash partition gpt.bin works, but flashing anything after that fails with either "invalid partition name" or "permission denied".
Code:
C:\Users\Paul\Desktop\Peyton>fastboot flash partition gpt.bin
Sending 'partition' (37 KB) OKAY [ 0.000s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.141s]
Finished. Total time: 0.281s
C:\Users\Paul\Desktop\Peyton>fastboot flash bootloader bootloader.img
Sending 'bootloader' (9520 KB) OKAY [ 0.687s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
Finished. Total time: 0.766s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (94843 KB) OKAY [ 4.970s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote: '')
Finished. Total time: 5.157s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem_a NON-HLOS.bin
Sending 'modem_a' (94843 KB) OKAY [ 2.612s]
Writing 'modem_a' (bootloader) flash permission denied
FAILED (remote: '')
Finished. Total time: 2.643s
Click to expand...
Click to collapse
Damn.. well then let's wait till someone uploads a newer fw and hope that it will work, I am running out of ideas for now..
Are you using the latest version of fastboot?
https://developer.android.com/studio/releases/platform-tools
latest build PAYTON_OPWS28.46-21-16:
https://moto.netlib.re/payton/

Flashed incorrect region firmware - Not able to lock the bootloader again - Bricked?

Hi guys,
I have Moto G5S Plus Indian variant phone - XT1804. I was trying to unlock the bootloader and root the phone. The phone already had stock firmware 8.1. During the process, I used the following firmware - SANDERS_OPS28.65-36_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.
The phone was able to unlock successfully, but during the boot, it is giving the following message:
Your device has been unlocked and can't be trusted again.
ID: bad key
Your device will boot in 5 seconds.
Although it says your device will boot in 5 seconds, nothing happens after 5 seconds. I am not to boot into the OS, but can into the fastboot mode by pressing volume down and power button. Below are my current getvar details:
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.12
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 2
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SAMSUNG RC14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: DC7B4C3F00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) meid:
(bootloader) date: 10-17-2017
(bootloader) sku: XT1804
(bootloader) carrier_sku:
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue May 12 16:16:19 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_n/sanders_n:8.1.0
(bootloader) ro.build.fingerprint[1]: /OPS28.65-36/9fea:user/release-key
(bootloader) ro.build.fingerprint[2]: s
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.31.40.sanders.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8953_27.36.07.41R SANDERS_INDIADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-gd0e0d1a (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]: Fri Aug 10 22:52:41 CDT 2018
(bootloader) sbl1.git: git=MBM-NG-VC2.12-0-g698fb2f
(bootloader) rpm.git: git=MBM-NG-VC2.11-0-g92e5e21-dirty
(bootloader) tz.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) devcfg.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) keymaster.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib64.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) prov.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) aboot.git: git=MBM-NG-VC2.12-0-g07ff23c
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
I need help with three things.
1. Relock the bootloader and get back to Indian stock oreo 8.1 firmware. If you can provide the correct download link to restore stock firmware to Oreo 8.1.
2. Unlock the bootloader again with the correct stock ROM to get rid of the bad key message.
3. Possibly install twrp (not able to flash it right now) and PixelExperience ROM
I have tried the restore process with following commands on below firmwares, but does not help with locking the bootloader again.
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
I have tried with following steps to lock the bootloader with following commands, but still not working.
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash boot boot.img
fastboot oem lock
I tried the above steps with the following firmware - SANDERS_RETAIL_8.1.0_OPSS28.65-36-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml, none of the steps are producing any errors except last. It is giving the following error in the last step.
(bootloader) Still require signed system.img and/or oem.img
Please help. :crying:
Did you give it 10 minutes?
---------- Post added at 05:43 AM ---------- Previous post was at 05:43 AM ----------
jacecrobinson said:
Did you give it 10 minutes?
Click to expand...
Click to collapse
It's quite normaly for it to say that but take up to five minutes on the first boot
---------- Post added at 05:45 AM ---------- Previous post was at 05:43 AM ----------
jacecrobinson said:
Did you give it 10 minutes?
Click to expand...
Click to collapse
It's quite normaly for it to say that but take up to five minutes on the first boot
Yesterday morning my phone stuck on dummy bootloader and showing oem locked ..
I can't flash any stock rom
And twrp coz oem is locked
When I want to flash stock rom via fastboot it shows
Unable to initialise partition table remote failure ..
I checked barcode .. there I see my imie no gone 000000..
Please help ..
I think my bootloader is bricked ... ..
If anyone developed blank flash zip for our xt1804 please help me...
Motocare says u have to change motherboard cost around 14 k
Please help me ...
Thank you in advance
jacecrobinson said:
Did you give it 10 minutes?
It's quite normaly for it to say that but take up to five minutes on the first boot
Click to expand...
Click to collapse
Thank you so much for the tip. I am now able to boot into the OS now, but then I am stuck with the following:
1. Unlocked bootloader - I would to relock it and unlock properly in order to install twrp bootloader
2. I am stuck with non-Indian firmware, hence will not receive OTA updates
3. I would like to install custom ROMs, which I can't since #1 - not able to install twrp.
Any workarounds or solutions are highly appreciated.
chiaotzu said:
Thank you so much for the tip. I am now able to boot into the OS now, but then I am stuck with the following:
1. Unlocked bootloader - I would to relock it and unlock properly in order to install twrp bootloader
2. I am stuck with non-Indian firmware, hence will not receive OTA updates
3. I would like to install custom ROMs, which I can't since #1 - not able to install twrp.
Any workarounds or solutions are highly appreciated.
Click to expand...
Click to collapse
You can't receive ota to my knowledge with a unlocked and modified boot..also if you relock your loader you have to be back to stock which defeats the port pose of a unlocked boot.
What version of twrp did you try and install? Did you use fast boot?and do you have USB dev enabled in settings before trying
Solved the issue, thanks.
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
Please document your solution, in case other users have this problem
Sent from my Alcatel 5041C using XDA Labs
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
have xt1802, I installed the firmware SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
but when using adb commands it presents error writing 'partition' ...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6
target reported max download size of 534773760 bytes
sending 'system' (262139 KB) ...
OKAY [5.623s]
is left without infinite loop, how to solve?
incorrect firmware Moto G5S Plus
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
What you do it for solve??
I have the same poblem here

Unable to flash any file, or go anywhere past Fastboot on Moto G5s Plus XT1800

Hi guys, this is my first post here in XDA, and i'm kinda desperate... a couple of weeks ago my Moto G5s Plus (rooted, but with official Nougat firmware) turned itself off overnight, and ever since won't turn on except on Fastboot mode. Every time I try to Start the device normally, the Bootloader Logs appear with the message "Start up failed; failed to validate boot image". The same thing happens when I try to go into Factory or even Recovery mode (instead of failed to validate boot image, it says, failed to validate recovery image).
When I plug it into my PC, it is recognized but only as Android Bootloader Mode. I've tried different files of official firmware in order to flash them via fastboot, but it's no use... it just says "Preflash validation failed", and so on.
When I enter the command getvar_all, this is what it shows:
C:\Users\IVAN\Sanders\Stock\Third>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.06(*)
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 3
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX1BMB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8953
(bootloader) serialno: 229d978d
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: 881733DA00000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: n/a
(bootloader) max-download-size: 536870912
(bootloader) reason: Last time flashing failed
(bootloader) imei: 000000000000000
(bootloader) meid:
(bootloader) date: 01-01-1970
(bootloader) sku: 000000000000000
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint:
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version:
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) devcfg.git: devcfg.git
(bootloader) keymaster.git: keymaster.git
(bootloader) cmnlib.git: cmnlib.git
(bootloader) cmnlib64.git: cmnlib64.git
(bootloader) prov.git: prov.git
(bootloader) aboot.git: git=MBM-NG-VC2.06-0-g1e22c44
(bootloader) qe:
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier:
all: listed above
Finished. Total time: 0.250s
I've noticed that both the CID and the IMEI are gonners, but as I can't flash anything, there's no way of trying the "Validus" method to restore the IMEI (which I've already done a couple of months ago, after the first root).
I've tried by setting my PC into Test Mode, so as to "skip" the validation of the flash images, but it shows the exact same message. RSD Lite won't even show my device when plugged. I couldn't erase user data, cache or even system partitions, because it says "Permission denied".
These are some of the fastboot commands i've tried to reflash stock (I looked for the latest Oreo firmware, so as to be sure that I wasn't downgrading):
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
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 system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
exit
...always answering "REMOTE failure". I've tried to describe the problem as thoroughly as I could; I hope someone can gimme a hand :good:
Iv_Milh said:
Hi guys, this is my first post here in XDA, and i'm kinda desperate... a couple of weeks ago my Moto G5s Plus (rooted, but with official Nougat firmware) turned itself off overnight, and ever since won't turn on except on Fastboot mode. Every time I try to Start the device normally, the Bootloader Logs appear with the message "Start up failed; failed to validate boot image". The same thing happens when I try to go into Factory or even Recovery mode (instead of failed to validate boot image, it says, failed to validate recovery image).
When I plug it into my PC, it is recognized but only as Android Bootloader Mode. I've tried different files of official firmware in order to flash them via fastboot, but it's no use... it just says "Preflash validation failed", and so on.
When I enter the command getvar_all, this is what it shows:
C:\Users\IVAN\Sanders\Stock\Third>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.06(*)
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 3
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX1BMB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8953
(bootloader) serialno: 229d978d
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: 881733DA00000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: n/a
(bootloader) max-download-size: 536870912
(bootloader) reason: Last time flashing failed
(bootloader) imei: 000000000000000
(bootloader) meid:
(bootloader) date: 01-01-1970
(bootloader) sku: 000000000000000
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint:
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version:
(bootloader) sbl1.git: sbl1.git
(bootloader) rpm.git: rpm.git
(bootloader) tz.git: tz.git
(bootloader) devcfg.git: devcfg.git
(bootloader) keymaster.git: keymaster.git
(bootloader) cmnlib.git: cmnlib.git
(bootloader) cmnlib64.git: cmnlib64.git
(bootloader) prov.git: prov.git
(bootloader) aboot.git: git=MBM-NG-VC2.06-0-g1e22c44
(bootloader) qe:
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier:
all: listed above
Finished. Total time: 0.250s
I've noticed that both the CID and the IMEI are gonners, but as I can't flash anything, there's no way of trying the "Validus" method to restore the IMEI (which I've already done a couple of months ago, after the first root).
I've tried by setting my PC into Test Mode, so as to "skip" the validation of the flash images, but it shows the exact same message. RSD Lite won't even show my device when plugged. I couldn't erase user data, cache or even system partitions, because it says "Permission denied".
These are some of the fastboot commands i've tried to reflash stock (I looked for the latest Oreo firmware, so as to be sure that I wasn't downgrading):
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
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 system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
exit
...always answering "REMOTE failure". I've tried to describe the problem as thoroughly as I could; I hope someone can gimme a hand :good:
Click to expand...
Click to collapse
friend I have the same problem, I think it is the firmware that is used, the one that should be used is the NPSS26.116-26-4
Matiasnck said:
friend I have the same problem, I think it is the firmware that is used, the one that should be used is the NPSS26.116-26-4
Click to expand...
Click to collapse
Hi Matias, thanks for answering. I've already tried with several firmware files, the latest one being SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml, always getting the same errors. Do you think that by using a specific file, the "Preflash valitation failed" errors should stop? I'll try again with that file you suggested, and see what happens... I hope it works; I'm not sure, but I think I've already tried that one.
The Moto drivers are allegedly ok, and I've downloaded again Minimal ADB, so I'm trying to convince myself those aren't the ones keeping me from reflashing.
Iv_Milh said:
Hi Matias, thanks for answering. I've already tried with several firmware files, the latest one being SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml, always getting the same errors. Do you think that by using a specific file, the "Preflash valitation failed" errors should stop? I'll try again with that file you suggested, and see what happens... I hope it works; I'm not sure, but I think I've already tried that one.
The Moto drivers are allegedly ok, and I've downloaded again Minimal ADB, so I'm trying to convince myself those aren't the ones keeping me from reflashing.
Click to expand...
Click to collapse
I still have the same problem, I will try a new computer, maybe that's it?
Matiasnck said:
I still have the same problem, I will try a new computer, maybe that's it?
Click to expand...
Click to collapse
The only way that by using another computer the error would stop, would be that the drivers in your current pc aren't the ones you're supposed to have, in my opinion. Try it, anyways... there's nothing to lose.
Hi , please try this and let me know if it works or not, thanks
https://github.com/laginimaineb/Alohamora?files=1
whodat711 said:
Hi , please try this and let me know if it works or not, thanks
https://github.com/laginimaineb/Alohamora?files=1
Click to expand...
Click to collapse
Can you explain what I should do with that?
Could you solve it?
Try lenovo smart assistant
https://support.lenovo.com/us/en/downloads/ds101291
whodat711 said:
Try lenovo smart assistant
https://support.lenovo.com/us/en/downloads/ds101291
Click to expand...
Click to collapse
I am new to this thread, but I found this and THANK YOU! I hope this will save my day!
whodat711 said:
Hi , please try this and let me know if it works or not, thanks
https://github.com/laginimaineb/Alohamora?files=1
Click to expand...
Click to collapse
Hi, thanks for the reply; could you please explain what I should do with that? I see the python files, but i'm not sure on how to use them.
whodat711 said:
Try lenovo smart assistant
https://support.lenovo.com/us/en/downloads/ds101291
Click to expand...
Click to collapse
I've already tried it, but so far it has failed to whether recognize my device, or just got stuck in the process of reading it. Motorola Device Manager, Software Upgrade Assistant, RSD Lite, Wondershare... none of them have worked for me.

i softbricked moto g6 :(

so here i am, after 2 days of scrutinizing every corner of the internet, looking for solution. i had my moto g6 on pie but out of curiosity i wanted try out different roms and here is what happened:
- after ive successfully unlocked the oem lock, installed twrp and tried to install different roms just to run into error 255 and such i gave up and thought **** it lets go back to original rom, so i fired up fastboot and put back oreo that i downloaded from here, the splashscreen however was still bearing the 'device has been unlocked and cant be trusted' message, so i thought i would put back the oem lock and then formatted the device... ooops and thats when i started having these problems.
- since then i cant install any rom - stock or mod (i was however successful in flashing twrp back on the phone)
- fastboot says FLASHING_LOCKED and having tried maybe 6 different stock roms i noticed that i can flash these two lines without problems:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
but anything after that is giving me (bootloader) flash permission denied FAILED (remote failure) in powershell
so to sum it up: i can boot into fastboot or twrp but i cant do much anything else
ive seemed to exhaust every remote advice out there and really dont know what to do anymore
any of you guys could point me in the right direction? or is the phone done and done?
here is the fastboot var list
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) meid:
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sun May 26 14: 4:32 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (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]: Fri Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
thx
Peter
You have locked bootloader you cant flash anything ....unlock it, flash rom (optionaly flash stock rom and lock booloader)
mybea you can try "fastboot flashing unlock"
najjannajS650 said:
You have locked bootloader you cant flash anything ....unlock it, flash rom (optionaly flash stock rom and lock booloader)
mybea you can try "fastboot flashing unlock"
Click to expand...
Click to collapse
thanks, i think ive already tried that already before,
here is a recap of what happens when i type in fastboot flashing unlock
- (bootloader) WARNING: This command erases all user data. (bootloader) Please re-run this command to continue.
- (bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer (bootloader) Options.
i dont have any rom installed so i cant get into developers options and allow OEM unlock
edited: and if i try ./fastboot oem unlock
i get
... (bootloader) invalid boot state
:crying:
nobody has solution to this? really????
delosanto said:
nobody has solution to this? really????
Click to expand...
Click to collapse
You don't need to unlock the bootloader to flash the stock firmware. The reason gpt.bin and the bootloader won't flash is because you're attempting to downgrade them. Flash everything in your firmware in order and if something fails to flash, then just skip it and go to the next item in line. It should still work.
Spaceminer said:
You don't need to unlock the bootloader to flash the stock firmware. The reason gpt.bin and the bootloader won't flash is because you're attempting to downgrade them. Flash everything in your firmware in order and if something fails to flash, then just skip it and go to the next item in line. It should still work.
Click to expand...
Click to collapse
thanks man but those two files are the only files that seem to flash.. the rest is giving flashing denied error
after digging around xda even more ive realized im in the same situation as the guy: https://forum.xda-developers.com/moto-x4/help/fastboot-flashinglocked-modified-t3872215
ive managed to brick it real good this time, quoting a nice chap who tried to help him: "You DID lock the keys... not so much in a car with bulletproof windows... but in a nuclear-resistant TANK"
im really sad at this point, i didnt even have the phone for a week and even being it a budget phone i really really liked it..
RIP moto g6 you were my first... bricked... phone :crying:
delosanto said:
thanks man but those two files are the only files that seem to flash.. the rest is giving flashing denied error
after digging around xda even more ive realized im in the same situation as the guy: https://forum.xda-developers.com/moto-x4/help/fastboot-flashinglocked-modified-t3872215
ive managed to brick it real good this time, quoting a nice chap who tried to help him: "You DID lock the keys... not so much in a car with bulletproof windows... but in a nuclear-resistant TANK"
im really sad at this point, i didnt even have the phone for a week and even being it a budget phone i really really liked it..
RIP moto g6 you were my first... bricked... phone :crying:
Click to expand...
Click to collapse
I don't think you're bricked just yet. From fastboot try the following commands;
fastboot oem fb_mode_set
fastboot format -w
fastboot erase userdata
fastboot erase cache
fastboot erase DRR
Then try flashing your firmware again. Also, something would help is running the command;
fastboot getvar all
And posting what that says. DO NOT include your MEID number. I don't need it and it should never be given out.
Spaceminer said:
I don't think you're bricked just yet. From fastboot try the following commands;
fastboot oem fb_mode_set
fastboot format -w
fastboot erase userdata
fastboot erase cache
fastboot erase DRR
Then try flashing your firmware again. Also, something would help is running the command;
fastboot getvar all
And posting what that says. DO NOT include your MEID number. I don't need it and it should never be given out.
Click to expand...
Click to collapse
ok, here goes nothing
fastboot oem fb_mode_set returns OKAY [ 0.002s] finished. total time: 0.003s
fastboot format -w returns fastboot: usage: expected argument
fastboot erase userdata returns (bootloader) Permission denied FAILED (remote failure) finished. total time: 0.004s
fastboot erase cache returns (bootloader) Permission denied FAILED (remote failure)
fastboot erase DRR returns (bootloader) Permission denied FAILED (remote failure)
getvarall info:
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Fall-through from charger boot mode
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 22 19:25:37 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (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]: Fri Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
delosanto said:
ok, here goes nothing
fastboot oem fb_mode_set returns OKAY [ 0.002s] finished. total time: 0.003s
fastboot format -w returns fastboot: usage: expected argument
fastboot erase userdata returns (bootloader) Permission denied FAILED (remote failure) finished. total time: 0.004s
fastboot erase cache returns (bootloader) Permission denied FAILED (remote failure)
fastboot erase DRR returns (bootloader) Permission denied FAILED (remote failure)
getvarall info:
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Fall-through from charger boot mode
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 22 19:25:37 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (hud
(bootloader) kernel.version[1]: son[email protected]) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Fri Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
Click to expand...
Click to collapse
What country are you in? You have a software mismatch going on. It says your carrier is RETGB which is Great Britain, but your Blur version is saying Retail US.
Spaceminer said:
What country are you in? You have a software mismatch going on. It says your carrier is RETGB which is Great Britain, but your Blur version is saying Retail US.
Click to expand...
Click to collapse
im in the uk, please dont say there is still hope
delosanto said:
im in the uk, please dont say there is still hope
Click to expand...
Click to collapse
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Spaceminer said:
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Click to expand...
Click to collapse
i did exactly as you said, getting the same results as before
the first two files gpt and bootloader seem to flash fine but the rest is giving me the same error (bootloader) flash permission denied FAILED (remote failure)
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.078s]
finished. total time: 0.078s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.212s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.417s]
finished. total time: 0.630s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (62664 KB)...
OKAY [ 1.660s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 1.665s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (7972 KB)...
OKAY [ 0.219s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.219s
i tried to flashed the files exactly in the order they appear in .info file
./fastboot oem fb_mode_set
./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 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 system system.img_sparsechunk.9
./fastboot flash vendor vendor.img_sparsechunk.0
./fastboot flash vendor vendor.img_sparsechunk.1
./fastboot flash oem oem.img
./fastboot erase cache
./fastboot erase userdata
./fastboot erase ddr
./fastboot oem fb_mode_clear
./fastboot reboot
delosanto said:
i did exactly as you said, getting the same results as before
the first two files gpt and bootloader seem to flash fine but the rest is giving me the same error (bootloader) flash permission denied FAILED (remote failure)
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.078s]
finished. total time: 0.078s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.212s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.417s]
finished. total time: 0.630s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (62664 KB)...
OKAY [ 1.660s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 1.665s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (7972 KB)...
OKAY [ 0.219s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.219s
Click to expand...
Click to collapse
It looks like you have the correct firmware. If you didn't then the bootloader shouldn't be able to flash. You aren't being blocked by frp either, so that's not the problem. I'll do some research and see if I can find a way to fix this. It should allow you to flash stock firmware since it's signed by Motorola. This is a tough one.
If you're using Windows and have not tried this already, try opening the command prompt with administrator privileges. If you happen to be using Windows 10, make sure that you're using the older cmd and not powershell. If you have not tried using a different usb port, this might be worth a shot. I'd try ports that are directly connected to the motherboard. Try USB 2.0 and 3.0 if you have both. Also be sure to use the original USB cord that it came with if you have it. I'll see what I can dig up in the meantime.
---------- Post added at 07:09 PM ---------- Previous post was at 06:57 PM ----------
@delosanto
Are you able to boot or flash twrp?
Spaceminer said:
It looks like you have the correct firmware. If you didn't then the bootloader shouldn't be able to flash. You aren't being blocked by frp either, so that's not the problem. I'll do some research and see if I can find a way to fix this. It should allow you to flash stock firmware since it's signed by Motorola. This is a tough one.
If you're using Windows and have not tried this already, try opening the command prompt with administrator privileges. If you happen to be using Windows 10, make sure that you're using the older cmd and not powershell. If you have not tried using a different usb port, this might be worth a shot. I'd try ports that are directly connected to the motherboard. Try USB 2.0 and 3.0 if you have both. Also be sure to use the original USB cord that it came with if you have it. I'll see what I can dig up in the meantime.
Click to expand...
Click to collapse
thank you! i think i must have read and tried everything there is out there trying to bring the poor little fella back to life.. ive tried different ports, methods, ROMs, different cables, tomorrow im gonna try what youre suggesting - the older cmd but i doubt it will make any difference, since i was able to flash and re-flash this phone just fine before i somehow managed to **** up the oem lock with no possibility to unlock it since there is no OS.
yes, im able to totally erase twrp (pic of android with red triangle and NO COMMAND) and then bring it back by booting twrp and consequently flashing twrp so it's there back under recovery mode
Spaceminer said:
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Click to expand...
Click to collapse
I haven't seen the encrypting screen on Pie... I've only seen it on Oreo.
Ragarianok said:
I haven't seen the encrypting screen on Pie... I've only seen it on Oreo.
Click to expand...
Click to collapse
the last OS that was successfully flashed was Oreo
delosanto said:
the last OS that was successfully flashed was Oreo
Click to expand...
Click to collapse
I'm not sure if I was reading that correctly, but are you able to boot twrp? If so, try formatting /data and running fix permissions. If you can only boot the stock recovery (red triangle), try factory resetting. You can pull up the menu in stock recovery by pressing Power+Volume Up at the "no command" screen. If you can reset the phone through either method, then try flashing the firmware again. Maybe a stupid question, but have you tried flashing the last Oreo RETGB xt1925-4 firmware already? (There's a few different RETGB firmwares.)
Spaceminer said:
I'm not sure if I was reading that correctly, but are you able to boot twrp? If so, try formatting /data and running fix permissions. If you can only boot the stock recovery (red triangle), try factory resetting. You can pull up the menu in stock recovery by pressing Power+Volume Up at the "no command" screen. If you can reset the phone through either method, then try flashing the firmware again. Maybe a stupid question, but have you tried flashing the last Oreo RETGB xt1925-4 firmware already? (There's a few different RETGB firmwares.)
Click to expand...
Click to collapse
twrp runs fine, what i cant get rid of is the flashing_locked message in fastboot..
this i think prevents flashing ANYTHING onto the phone except two files:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
flashing any other file returns permission denied
and ive tried at least 6 different roms
delosanto said:
twrp runs fine, what i cant get rid of is the flashing_locked message in fastboot..
this i think prevents flashing ANYTHING onto the phone except two files:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
flashing any other file returns permission denied
and ive tried at least 6 different roms
Click to expand...
Click to collapse
Try flashing this boot.img in fastboot. If it fails, try using TWRP.
Spaceminer said:
Try flashing this boot.img in fastboot. If it fails, try using TWRP.
Click to expand...
Click to collapse
but when i try to flash the stock rom, again i get past the first two files gpt.bin and bootloader.bit but the rest is giving me the same error
(bootloader) flash permission denied
FAILED (remote failure)
but then it crashes back to fastboot
and i even did a clean windows installation today

Categories

Resources