Fastboot Stuck with locked bootloader - Moto X Q&A

My problem is much similar to a guy on this post:
http://forum.xda-developers.com/moto-x/moto-x-qa/solved-bootloader-bricked-recovered-t2634982/page5
I've tried to upgrade my ROM (Retail) from 4.4.4 to 5.1
I had my bootloader unlocked before doing that.
When i did, my phone was unable to finish the update and I got stuck on fastboot. But know it behaves and states that its "Locked". When I try to unlock it, I get that error:
Code:
c:\motox\adb>fastboot oem unlock XXXXXXXXXX
...
(bootloader) fastboot oem unlock disabled!
FAILED (remote failure)
finished. Total time: 0.278s
I already tried flashing both the 4.4.4 version I was using, and the version I updated.
I gives me the following error:
Code:
c:\motox\adb>fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.932s]
writing 'recovery'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 1.035s
I'm unnable to boot into recovery and anything else, except the fastboot.
Please, help me solving it.

When I use the getvar all command, I get this information:
Code:
version-bootloader: 30BE(*)
version: 0.5
cpu: MSM8960 Pro CS
ram: 2048MB Elpida S4 SDRAM DIE=4Gb
emmc: 16GB Toshiba REV=06 PRV=01 TYPE=17
product: ghost
revision-hardware: 0x8300
radio: 0x1
secure: yes
mid: 026b
serialno: 1f51d81c
qe:
unlocked: Not supported
iswarrantyvoid: Not supported
max-download-size: 805306368
uid: 41928C040C000100000000000000
imei: 000000000000000
meid:
sku: 000000000000000
cid: 0xdead
iccid:
date: 01-01-1970
cust_md5:
reason: Invalid CID
ro.build.date:
ro.build.id:
ro.build.tags:
ro.build.type:
ro.build.user:
ro.build.version.codename:
ro.build.version.incremental:
ro.build.version.release:
ro.mot.build.customerid:
ro.product.name:
ro.build.fingerprint:
ro.build.version.full:
kernel.version:
all:
finished. total time: 0.195s

If you guys can help me on finding a way to "hard brick" it, maybe I can blankflash and solve the problem.
Please guys, help me out

IcaroAlesana said:
If you guys can help me on finding a way to "hard brick" it, maybe I can blankflash and solve the problem.
Please guys, help me out
Click to expand...
Click to collapse
Just solved the entire problem.
Soon I'll create a post about how I did it, the easiest way possible.

Related

moto g 2014 stuck at logo

dear i have moto g 2014 usa
yesterday the battery was dead and after recharging it, the phone stuck at the logo and reboot
and when i boot to fast boot and choose any option like normal powerup, recovery,factory it reboot and stuck again
at the moto logo.
my device is locked and i tried to flash it using the mfastboot v2 with many official rom
XT1063_TITAN_RETLA_5.0.2_LXB22.99-16.3_cid12_CFC.xml
RETLA_XT1063_4.4.4_KXB21.85-23_cid12_CFC_SVC.xml
adb didn't detect my device as connected, but mfastboot did.
mfastboot.exe oem lock begin> run okay
mfastboot.exe flash partition gpt.bin > run okay
mfastboot.exe flash motoboot motoboot.img > run okay
mfastboot.exe flash logo logo.bin > run okay
mfastboot.exe flash boot boot.img > give me this error
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 0.341s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.793s
and on the phone screen it say hab check failed for boot , failed to verify hab image boot.
i need your help
douha-it said:
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.793s
and on the phone screen it say hab check failed for boot , failed to verify hab image boot.
i need your help
Click to expand...
Click to collapse
If you're trying to install an older version of Android this error can happen.
Danilo-Sanchez said:
If you're trying to install an older version of Android this error can happen.
Click to expand...
Click to collapse
i don't know what was installed on it, is there is any way to know with fastboot, also i tried kit kat and lollipop, and nothing worked, if you have working link for lollipop or newer rom kindly send me the link
here is the details form fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 4883(*)
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x1
(bootloader) emmc: 8GB Toshiba REV=06 PRV=51 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D323RBX
(bootloader) cid: 0x0009
(bootloader) channelid: 0x8d
(bootloader) uid: 754DBA060F000000000000000000
(bootloader) unlocked: no
(bootloader) securestate: locked
(bootloader) iswarrantyvoid: no
(bootloader) mot_sst: 0
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) imei: 359297052726493
(bootloader) meid:
(bootloader) date: 10-24-2014
(bootloader) sku: XT1063
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Jun 19 13:11:50 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retuglb/titan_umts:
(bootloader) ro.build.fingerprint[1]: 4.4.4/KXB21.85-23/21:user/release-
(bootloader) ro.build.fingerprint[2]: keys
(bootloader) ro.build.version.full[0]: Blur_Version.21.11.23.titan_retug
(bootloader) ro.build.version.full[1]: lb.retuglb.en.US
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-g668a77b ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.7 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Tue Aug 26 20:21:50 CDT 2014
(bootloader) sdi.git: git=MBM-NG-V48.83-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.83-0-g22c58e4
(bootloader) rpm.git: git=MBM-NG-V48.83-0-g20516c3-dirty
(bootloader) tz.git: git=MBM-NG-V48.83-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.83-0-g67407e2
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D323RBX
(bootloader) sutinfo:
(bootloader) ro.carrier: retus
all: listed above
finished. total time: 0.073s
douha-it said:
i don't know what was installed on it, is there is any way to know with fastboot, also i tried kit kat and lollipop, and nothing worked, if you have working link for lollipop or newer rom kindly send me the link
here is the details form fastboot getvar all
(bootloader) sku: XT1063
Click to expand...
Click to collapse
Try to install this rom: http://forum.xda-developers.com/showpost.php?p=58585477&postcount=2
Danilo-Sanchez said:
Try to install this rom: http://forum.xda-developers.com/showpost.php?p=58585477&postcount=2
Click to expand...
Click to collapse
thanks it did work

Help Moto G2 XT1063

Hey guys, to me see if you could help me have a xt1063 on and stays stuck on the logo warning unlocked, I can get into fastboot mode but not the recovery, when I enter recovery out a picture of andy with this sign! No commands, then there, fix 5sec power and volume up and enters the recovery of android but when trying to reset factory tells me an error message!
Android Recovery
motorola/tita_retuglb/titan_umts
6.0/MPB24.65-34/29
user/release-keys
Code:
Formatting /data
E:
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/userdata failed
Formatting /cache
E:
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/cache failed
Code:
type mfastboot -w
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>mfastboot -w
erasing 'userdata'...
OKAY [ 0.020s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.030s]
erasing 'cache'...
OKAY [ 0.040s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.040s]
finished. total time: 0.130s
Code:
mfastboot getvar all
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>mfastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 4886
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x1
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D322BFG
(bootloader) cid: 0x0009
(bootloader) channelid: 0x8d
(bootloader) uid: 438B6B040F000000000000000000
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 359297050307452
(bootloader) meid:
(bootloader) date: 08-27-2014
(bootloader) sku: XT1063
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Mar 11 21:49:10 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retuglb/titan_umts:
(bootloader) ro.build.fingerprint[1]: 6.0/MPB24.65-34/29:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) ro.build.version.full[0]: Blur_Version.24.41.34.titan_retug
(bootloader) ro.build.version.full[1]: lb.retuglb.en.US
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband[0]: MSM8626BP_1032.3116.99.00R RETUSA_GLB_
(bootloader) version-baseband[1]: CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-gef77327 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Wed Jan 6 16:52:48 CST 2016
(bootloader) sdi.git: git=MBM-NG-V48.86-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.86-0-g9e1afac
(bootloader) rpm.git: git=MBM-NG-V48.86-0-gbe53f43
(bootloader) tz.git: git=MBM-NG-V48.86-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.86-0-g54975c4
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D322BFG
(bootloader) sutinfo:
(bootloader) ro.carrier: retus
all: listed above
finished. total time: 0.071s
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>
The recovery you are using is stock one...try using twrp recovery just flash via fastboot....also u need to unlock your bootloader first use this https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a to unlock ur bootloader then just download the flashable file for twrp moto g2014 nd jst flash using fastboot
bootloader is unlocked
[email protected] said:
The recovery you are using is stock one...try using twrp recovery just flash via fastboot....also u need to unlock your bootloader first use this https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a to unlock ur bootloader then just download the flashable file for twrp moto g2014 nd jst flash using fastboot
Click to expand...
Click to collapse
Bootloader is unlocked
nelgarciac said:
Bootloader is unlocked
Click to expand...
Click to collapse
Then you just flashing twrp using fastboot
Sent from my Moto G 2014 using XDA Labs
[email protected] said:
Then you just flashing twrp using fastboot
Sent from my Moto G 2014 using XDA Labs
Click to expand...
Click to collapse
I've done it but then nothing happens as if not installed
Code:
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>fastboot flash recovery recovery.im
g
target reported max download size of 536870912 bytes
sending 'recovery' (8092 KB)...
OKAY [ 0.281s]
writing 'recovery'...
OKAY [ 0.167s]
finished. total time: 0.452s
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>
Code:
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>fastboot -w
erasing 'userdata'...
OKAY [ 0.020s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.017s]
erasing 'cache'...
OKAY [ 0.024s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.021s]
finished. total time: 0.087s
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>
Team Stockpiling this How reading alone will not let me or write ELIMINATE anything , so when I installed the TWRP recovery by not install , like when I start flashing and fastboot boot recovery.img enters the recovery but It does not perform the deletion , and even I can also enter the internal storage from the pc and from the recovery but not eliminate anything

Moto G5s Plus hard brick - help needed

Hi all,
So I have well and truly hardbricked my XT1803. Most probably arose as I foolishly flashed a Potter firmware to my Sanders phone. Teaches me for not reading everything carefully before going ahead to flash firmware.
Anyway, I'm now in the situation where I have hard bricked my device completely. No OS, no recovery, no bootloader. Strangely the device can be found if install the device on my PC as "Android ADB interface" and I can run fastboot commands in cmd (however nothing appears on the phones screen). I've detailed my getvar all details below if that helps!
I've tried re-flashing NPS26.116-61 on the device and this gives me an error at the first hurdle as per the below.
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)
finished. total time: 0.096s
I've tried blank flash based on the G5 forums to see if this can boot some life into it, however the phone is not recognising as QUALCOMM HS-USB QDLoader 9008
If I force install of the QUALCOMM HS-USB QDLoader 9008 drivers, this just gives me the < waiting for device > if I run blank flash.
Fastboot getvar all as per the below - I've added some in bold as these have been purposely hidden.
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C1.07
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG GX6BMB RV=08 PV=03 FV=0000000000000003
(bootloader) ram: 3GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: XXXXXXX
(bootloader) cid: 0x0032
(bootloader) channelid: 0x41
(bootloader) uid: XXXXXXXXX
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 3xxxxxxxxxxx
(bootloader) meid:
(bootloader) date: 01-08-2018
(bootloader) sku: XT1803
(bootloader) battid: SB18C15118
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Jan 1 0: 2:46 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_n/sanders_n:7.1.1
(bootloader) ro.build.fingerprint[1]: /NPS26.116-61/74:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.26.231.74.sanders.re
(bootloader) ro.build.version.full[1]: tail.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 3.18.31-Resurrected-Kernel
(bootloader) kernel.version[1]: ([email protected]) (gcc version 4.9.x 2
(bootloader) kernel.version[2]: 0150123 (prerelease) (GCC) ) #1 SMP PREE
(bootloader) kernel.version[3]: MPT Thu Jan 11 23:42:06 EST 2018
(bootloader) sbl1.git: git=MBM-NG-VC1.07-0-g3b15bb0
(bootloader) rpm.git: git=MBM-NG-VC0.C0-1-g202d600
(bootloader) tz.git: git=283f623
(bootloader) devcfg.git: git=283f623
(bootloader) keymaster.git: git=283f623
(bootloader) cmnlib.git: git=283f623
(bootloader) cmnlib64.git: git=283f623
(bootloader) prov.git: git=283f623
(bootloader) aboot.git: git=MBM-NG-VC1.07-0-g9d7f987
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
all: listed above
finished. total time: 0.211s
If anyone has any thoughts on bringing this back to life I'd great appreciate it!
Bro try flashing this firmware
https://androidfilehost.com/?fid=673956719939831738
Ur using old version
Hi there,
Thanks for your advice. I tried this and got the following errors on flashing the firmware. All steps were successful other than the below.
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot: partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.007s]
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)
finished. total time: 0.101s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.143s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.445s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.457s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.428s]
finished. total time: 0.888s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.579s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.609s
i have same problem please give me the solution please
kooljim45 said:
Hi there,
Thanks for your advice. I tried this and got the following errors on flashing the firmware. All steps were successful other than the below.
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot: partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.007s]
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)
finished. total time: 0.101s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.143s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.445s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.457s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.428s]
finished. total time: 0.888s
C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.579s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.609s
Click to expand...
Click to collapse
u need to download new firmware or try skipping gpt if ur bootloader is unlocked
Try flash twrp and flashable stock
When 61-5 no work
Sent from my Moto G5S Plus using XDA Labs
Adi5 said:
Try flash twrp and flashable stock
When 61-5 no work
Sent from my Moto G5S Plus using XDA Labs
Click to expand...
Click to collapse
Seriously? How can he flash twrp flashable zip without accessing twrp
Sri Datta said:
Seriously? How can he flash twrp flashable zip without accessing twrp
Click to expand...
Click to collapse
My bad
I didn't say error while flashing recovery
Fastboot boot twrp.img maybe will work but it won't help
Sent from my Moto G5S Plus using XDA Labs
I have tried the latest firmware. The biggest issue is that my PC can see the device through fastboot, however nothing appears on the phone screen.
Do ...U have twrp . Working???..try a custom ROM bro ....
TWRP is not working. The bootloader doesn't start. There is no recovery mode.
Fast boot mode??
Bro try unlocking bootloader then flash bootloader
Image primary_gpt failed validation
Hi! Sorry about my language, im from Argentina. I'm trying to flash a rom on Moto G5S Plus, and i catch this error:
Image primary_gpt failed validation.
Log is here:
fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.016s]
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)
finished. total time: 0.154s
I'm Flashing: SANDERS_NPSS26.116-61-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
Anybody can help me please? I cant install Magisk anyway!
XT1800. Nougat 7.1.1
Thks
damansilla said:
Hi! Sorry about my language, im from Argentina. I'm trying to flash a rom on Moto G5S Plus, and i catch this error:
Image primary_gpt failed validation.
Log is here:
fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.016s]
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)
finished. total time: 0.154s
I'm Flashing: SANDERS_NPSS26.116-61-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
Anybody can help me please? I cant install Magisk anyway!
XT1800. Nougat 7.1.1
Thks
Click to expand...
Click to collapse
U need flash newest software..... Which software channel u have?
Adi5 said:
U need flash newest software..... Which software channel u have?
Click to expand...
Click to collapse
Hi! What do you refer with software channel? Sorry i dont understand.
I did some research on this.. Your out of luck. Best is to sell it for parts not working. Or take it to a shop that specialize in phone repair.. Might cost you a $100, but it is better than buying a new one, which is costly.
damansilla said:
Hi! What do you refer with software channel? Sorry i dont understand.
Click to expand...
Click to collapse
Every region has a Software channel, you can check the name of your region's channel in the About Phone section
thippu46 said:
Every region has a Software channel, you can check the name of your region's channel in the About Phone section
Click to expand...
Click to collapse
Hi! My channel Is retar.
Thanks!
damansilla said:
Hi! My channel Is retar.
Thanks!
Click to expand...
Click to collapse
Which version u have now?

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

[Recovery] Moto g7 Plus with blocked bootloader.

Recently I went to update the rom of my moto G7 +, but during the update process the bootloader blocked ... I tried to perform the unlock again however the unlock option is disabled, and to make it worse it does not start, it is only on the recovery mode screen .
I already downloaded a more current firmware, but the bootloader does not allow installation.
Best to try the LMSA tool to reflash back to stock..
Download https://support.lenovo.com/ca/en/downloads/ds101291
Guide https://support.lenovo.com/us/en/solutions/HT102605
Thanks for the answer.
Thanks for the answer.
When I try to connect the LMSA to the phone it gives an error.
"failed to match the connected device reconnect device then try again"
I tried several times, connecting the device after selecting the model, and vice versa, however the error persists.
wfsmnt said:
Recently I went to update the rom of my moto G7 +, but during the update process the bootloader blocked ... I tried to perform the unlock again however the unlock option is disabled, and to make it worse it does not start, it is only on the recovery mode screen .
I already downloaded a more current firmware, but the bootloader does not allow installation.
Click to expand...
Click to collapse
Bootloader screen => get your model (XT19XX)=> download the current firmware
WoKoschekk said:
Bootloader screen => get your model (XT19XX)=> download the current firmware
Click to expand...
Click to collapse
XT1965-2
Thanks for the answer.
WoKoschekk said:
Bootloader screen => get your model (XT19XX)=> download the current firmware
Click to expand...
Click to collapse
Even downloading the latest firmware version the bootloader gives access denied
wfsmnt said:
Even downloading the latest firmware version the bootloader gives access denied
Click to expand...
Click to collapse
Could you post the output of "fastboot getvar all" here? Furthermore it would be helpful to know the build no of your downloaded firmware.
Thanks for the answer.
WoKoschekk said:
Could you post the output of "fastboot getvar all" here? Furthermore it would be helpful to know the build no of your downloaded firmware.
Click to expand...
Click to collapse
============================================================
GETVAR ALL
D:\Users\Wilian\Downloads\>fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-lake_retail-38523c9-191220
(bootloader) product: lake
(bootloader) board: lake
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SAMSUNG DH6DAB RV=08 PV=02 FV=0000000000000002
(bootloader) ufs: N/A
(bootloader) ram: 4GB SAMSUNG LP4x DIE=16Gb M5=01 M6=06 M7=10 M8=12
(bootloader) cpu: SDM636 1.0 (1)
(bootloader) serialno: ###############
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: CEE77785
(bootloader) securestate: flashing_locked
(bootloader) verity-state: disabled (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: #####################
(bootloader) meid:
(bootloader) date: 01-30-2019
(bootloader) sku: XT1965-2
(bootloader) carrier_sku: XT1965-2
(bootloader) battid: ###################
(bootloader) battery-voltage: 4281
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/lake_n/lake_n:10/QPW30.61
(bootloader) ro.build.fingerprint[1]: -21/cb81e:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full: <not found>
(bootloader) ro.build.version.qcom: LA.UM.8.2.r1-04300-sdm660.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 4.4.192-perf+ ([email protected]
(bootloader) kernel.version[1]: oid-build) (gcc version 4.9.x 20150123 (
(bootloader) kernel.version[2]: prerelease) (GCC) ) #1 SMP PREEMPT Fri A
(bootloader) kernel.version[3]: pr 10 06:08:41 CDT 2020
(bootloader) git:abl: MBM-3.0-lake_retail-38523c9-191220
(bootloader) git:xbl: MBM-3.0-lake_retail-923e768-191220
(bootloader) gitmic: MBM-3.0-lake_retail-923e768-191220
(bootloader) git:rpm: MBM-3.0-lake_retail-50d7845-dirty-191220
(bootloader) git:tz: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:hyp: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:devcfg: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:cmnlib: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:cmnlib64: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:keymaster: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) gitrov: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:storsec: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(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
finished. total time: 0.109s
====================================================================
Follows the build of the downloaded rom.
BUILD REQUEST INFO:
SW Version: lake-user 10 QPWS30.61-21-3 0f1d7 release-keysM636_13.45.02.60R
MBM Version: MBM-3.0-lake_retail-923e768-200214
Modem Version: M636_13.45.02.60R
FSG Version: FSG-660-10.98
Build Fingerprint: motorola/lake/lake:10/QPWS30.61-21-3/0f1d7:user/release-keys
=================================================================
I tried to install using the latest rom released too.
BUILD REQUEST INFO:
SW Version: lake-user 10 QPWS30.61-21-9 664a release-keysM636_13.45.02.60R
Modem Version: M636_13.45.02.60R
FSG Version: FSG-660-10.98
MBM Version: MBM-3.0-lake_retail-efaf0cccb-200410
Build Fingerprint: motorola/lake/lake:10/QPWS30.61-21-9/664a:user/release-keys
wfsmnt said:
(bootloader) ro.build.fingerprint[0]: motorola/lake_n/lake_n:10/QPW30.61
(bootloader) ro.build.fingerprint[1]: -21/cb81e:user/release-keys
Click to expand...
Click to collapse
As you can see in your output the current installed version is motorola/lake_n/lake_n:10/QPW30.61-21/cb81e:user/release-keys.
You should try to flash exactly the same build matching to your current firmware. (download here)
Maybe the error occured due to trying to "update" your firmware (current: 30.61-21 => new: 30.61-21-3/-9) while the bootloader is locked.
Hope this solves your problem!
---------- Post added at 01:10 AM ---------- Previous post was at 01:02 AM ----------
And don't forget to use the flashing commands of the inside flashfile.xml!! Sometimes the number of the system.img_sparsechunks is different.
DO NOT USE ANY FLASH COMMANDS FROM OTHER USERS!!
Thanks for the answer.
WoKoschekk said:
As you can see in your output the current installed version is motorola/lake_n/lake_n:10/QPW30.61-21/cb81e:user/release-keys.
You should try to flash exactly the same build matching to your current firmware. (download here)
Maybe the error occured due to trying to "update" your firmware (current: 30.61-21 => new: 30.61-21-3/-9) while the bootloader is locked.
Hope this solves your problem!
---------- Post added at 01:10 AM ---------- Previous post was at 01:02 AM ----------
And don't forget to use the flashing commands of the inside flashfile.xml!! Sometimes the number of the system.img_sparsechunks is different.
DO NOT USE ANY FLASH COMMANDS FROM OTHER USERS!!
Click to expand...
Click to collapse
Even if you apply the rom you sent me permission is denied.
===============================================================
Microsoft Windows [versão 10.0.18363.900]
(c) 2019 Microsoft Corporation. Todos os direitos reservados.
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.006s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
...
OKAY [ 0.010s]
finished. total time: 0.013s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (37 KB)...
OKAY [ 0.008s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.145s]
finished. total time: 0.159s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.291s]
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.361s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76484 KB)...
OKAY [ 2.164s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 2.183s
wfsmnt said:
Even if you apply the rom you sent me permission is denied.
Click to expand...
Click to collapse
I'm running out of ideas... The bootloader.img and its signature is matching completely with your output of getvar all.
On some older devices of the Moto G series the mfastboot tools were helpful in your case. The binaries may be old but this is the latest version of the tool...
The next step would be a blank flash.
mfastboot tools
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
WoKoschekk said:
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
Click to expand...
Click to collapse
Unfortunately the same result.
WoKoschekk said:
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
Click to expand...
Click to collapse
How can we perform the blank-flash
wfsmnt said:
How can we perform the blank-flash
Click to expand...
Click to collapse
Sorry, I can't help you with that.
Are you using Motorola's original cable, or another one? I just had problems flashing with 'custom' cable. Just connect directly by USB-C (I'm hoping that's possible for you to try).
sado1 said:
Are you using Motorola's original cable, or another one? I just had problems flashing with 'custom' cable. Just connect directly by USB-C (I'm hoping that's possible for you to try).
Click to expand...
Click to collapse
He gets "permission denied" and that's not a connection error.
Besides the first command runs without an error.

Categories

Resources