(bootloader) Permission denied - X 2014 Q&A, Help & Troubleshooting

I tried installing the stock ROM from my Motorola Moto X 2014, when gave this error
target reported max download size of 536870912 bytes
sending 'partion' (32 KB)...
OKAY [ 0.008s]
writing 'partion'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
Any help will be welcome, sorry English or at least google translator.

This topic must not be here but in help and troubleshooting forum.
Now to your question, do you have unlocked bootloader or not? Be sure that you try to install the right rom for your phone. If your phone is xt1092, you must install xt1092 rom etc. And be careful DON'T DOWNGRADE from Marshmallow to Lollipop because of hard brick danger.

Jim_C30 said:
This topic must not be here but in help and troubleshooting forum.
Now to your question, do you have unlocked bootloader or not? Be sure that you try to install the right rom for your phone. If your phone is xt1092, you must install xt1092 rom etc. And be careful DON'T DOWNGRADE from Marshmallow to Lollipop because of hard brick danger.
Click to expand...
Click to collapse
the bootloader is unlocked, I'm trying to rom lollipop XT1097 is the model of my Moto X²

If your in fastboot mode does it say Device is unlocked. Make sure you use the right ROM. Also make sure you use the fastboot commands in the right order:
WARNING: If you're downgrading skip the partition gpt.bin and the motoboot motoboot.img commands, otherwise this will hardbrick your device.
fastboot oem fb_mode_set oem
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
It should work then.

Related

Moto XT1071 Bootloader Files needed

Hi,
My Moto G phone was running really slow for a month or so, so i wanted to upgrade my phone to custom firmware.
I unlocked bootloader from motorolas official website without no hassle.
I installed recovery, fine.
But when it came down to installing the rom, i got an error saying my bootloader version was below the required one. I tried to update it but couldn't find
the one for my model, stupidly, very very very stupidly i flashed one from a different version of a moto g 2014, don't ask me why, Im thick, i know.
So now all i have is a phone what hangs on the Motorola BootUnlocker warning screen and what boots into recovery with very very limited usable options.
I can still enter fastboot mode.
What are my options here, if maybe I could get the right bootloader files for my phone, could that fix the problem?
If so, does anyone know how to obtain them or maybe have them what they can upload.
Thanks.
Any help or suggestions greatly appreciated
mawigg2015 said:
Hi,
My Moto G phone was running really slow for a month or so, so i wanted to upgrade my phone to custom firmware.
I unlocked bootloader from motorolas official website without no hassle.
I installed recovery, fine.
But when it came down to installing the rom, i got an error saying my bootloader version was below the required one. I tried to update it but couldn't find
the one for my model, stupidly, very very very stupidly i flashed one from a different version of a moto g 2014, don't ask me why, Im thick, i know.
So now all i have is a phone what hangs on the Motorola BootUnlocker warning screen and what boots into recovery with very very limited usable options.
I can still enter fastboot mode.
What are my options here, if maybe I could get the right bootloader files for my phone, could that fix the problem?
If so, does anyone know how to obtain them or maybe have them what they can upload.
Thanks.
Any help or suggestions greatly appreciated
Click to expand...
Click to collapse
Try to see here:
http://forum.xda-developers.com/moto-g-2014/general/guide-restore-moto-e-2015-stock-firmware-t3054303
Surely I would need the files for a moto g not a moto e?
mawigg2015 said:
Surely I would need the files for a moto g not a moto e?
Click to expand...
Click to collapse
No it's for your phone.
Try also here for your firmware:
http://forum.xda-developers.com/moto-g-2014/development/stock-firmware-images-4g-3g-variants-t3065433/
thank you very much,
would you tell me how would I get this on my phone, my phone doesn't even boot up and doesn't act as a usb storage device so I can't transfer the file.
Could you tell me how to do via fast boot please,
Also would this sort the bootloader out as well because i installed the wrong one for the phone,
thanks again
mawigg2015 said:
thank you very much,
would you tell me how would I get this on my phone, my phone doesn't even boot up and doesn't act as a usb storage device so I can't transfer the file.
Could you tell me how to do via fast boot please,
Also would this sort the bootloader out as well because i installed the wrong one for the phone,
thanks again
Click to expand...
Click to collapse
You said that you are able to enter in fastboot mode.
So, go in fastboot mode (power button + vol -) and then you can flash your proper firmware.
Make sure you have installed the drivers and mfastboot works (this is motorola's fastboot command, so you need this for flashing the firmware).
On fastboot mode you must type these commands:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
Anyway on the first link that a posted you there's a good description and you can find also the drivers
hi, i get this error
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash partition gp
t.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.028s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.374s
and this one
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash bootloader b
ootloader.img
target max-sparse-size: 256MB
error: cannot load 'bootloader.img': No error
dani.galla said:
You said that you are able to enter in fastboot mode.
So, go in fastboot mode (power button + vol -) and then you can flash your proper firmware.
Make sure you have installed the drivers and mfastboot works (this is motorola's fastboot command, so you need this for flashing the firmware).
On fastboot mode you must type these commands:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
Anyway on the first link that a posted you there's a good description and you can find also the drivers
Click to expand...
Click to collapse
hi, i get this error
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash partition gp
t.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.028s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.374s
and this one
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash bootloader b
ootloader.img
target max-sparse-size: 256MB
error: cannot load 'bootloader.img': No error
mawigg2015 said:
hi, i get this error
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash partition gp
t.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.028s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.374s
and this one
C:\Users\MAWiggKTA\Desktop\Minimal ADB and Fastboot>mfastboot flash bootloader b
ootloader.img
target max-sparse-size: 256MB
error: cannot load 'bootloader.img': No error
Click to expand...
Click to collapse
Have you restarted it?
What do you mean by restart? Thanks
Sent from my ASUS_T00P using XDA Free mobile app
mawigg2015 said:
What do you mean by restart? Thanks
Sent from my ASUS_T00P using XDA Free mobile app
Click to expand...
Click to collapse
Have you tried to boot the phone?
I didn't complete the flash due to errors so it still won't work. Thanks. Any help regarding the errors. Thank you
mawigg2015 said:
I didn't complete the flash due to errors so it still won't work. Thanks. Any help regarding the errors. Thank you
Click to expand...
Click to collapse
The prevalidation it's not an important error. The other one is the first time I read it.
If you want try to flash everything and try booting, or wait someone else answer you.
dani.galla said:
The prevalidation it's not an important error. The other one is the first time I read it.
If you want try to flash everything and try booting, or wait someone else answer you.
Click to expand...
Click to collapse
thanks for your help but i have ran into a few issues:
1. there is no bootloader.img in the zip file
2. when i "fastboot flash system system.img_sparsechunk.0" it fails and IMAGE TOO LARGE comes up on my phone, i know its something to do with mfastboot, could you tell me how to setup mfastboot please
mawigg2015 said:
thanks for your help but i have ran into a few issues:
1. there is no bootloader.img in the zip file
2. when i "fastboot flash system system.img_sparsechunk.0" it fails and IMAGE TOO LARGE comes up on my phone, i know its something to do with mfastboot, could you tell me how to setup mfastboot please
Click to expand...
Click to collapse
Probably those command lines, are not good. Let me verify what's in the stock firmware.
Which is your right model and region?
Anyway, for mfastboot if type command: fastboot devices, and your phone is listed, this means that works properly.
dani.galla said:
Probably those command lines, are not good. Let me verify what's in the stock firmware.
Which is your right model and region?
Anyway, for mfastboot if type command: fastboot devices, and your phone is listed, this means that works properly.
Click to expand...
Click to collapse
Hi it's a xt1072 gb
Sorry that's xt1071
mawigg2015 said:
Sorry that's xt1071
Click to expand...
Click to collapse
Are you sure? On google there's no xt1071.
See the right model under the backcover
Sorry yh xt1072 thanks
Anyway,
I downloaded the stock firmware of xt1072 eu, and the command that I posted you are not right.
So the right commands on mfastboot should be:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata

Unable to Relock Bootloader and SIM card NOT READING error on MOTO X 2014 AT&T XT1097

Unable to Relock Bootloader and SIM card NOT READING error on MOTO X 2014 AT&T XT1097
i have unlocked bootloader on my moto X 2014 (canada variant) XT1097 and status code : 3
after flashing stock roms & many attempts to relock the bootloader but no luck to lock my phone bootloader
with this cmd in the fastboot mode.
{
fastboot oem lock
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
} (this statment also shows to flash any signed img (i dont know what it means))
as well as while i am flashing rom i got this errors
{
hab check failed for recovery
hab check failed for boot
} in pink colour
my phone is unable to read sim card (NO Network)
can anyone suggest any solution.
maninder.email said:
i have unlocked bootloader on my moto X 2014 (canada variant) XT1097 and status code : 3
after flashing stock roms & many attempts to relock the bootloader but no luck to lock my phone bootloader
with this cmd in the fastboot mode.
{
fastboot oem lock
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
} (this statment also shows to flash any signed img (i dont know what it means))
as well as while i am flashing rom i got this errors
{
hab check failed for recovery
hab check failed for boot
} in pink colour
my phone is unable to read sim card (NO Network)
can anyone suggest any solution.
Click to expand...
Click to collapse
If you're using your ATT XT1097 with a Canadian carrier, then you need to flash the VICTARA_RETCA_XT1097_6.0 firmware:
https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!IkEVHRxS
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
Every single line, so that ALL files are stock. There's no advantage to relocking the bootloader, you won't get warranty back. But try relocking it after flashing the full factory firmware.
Gus Ghanem said:
If you're using your ATT XT1097 with a Canadian carrier, then you need to flash the VICTARA_RETCA_XT1097_6.0 firmware:
https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!IkEVHRxS
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
Every single line, so that ALL files are stock. There's no advantage to relocking the bootloader, you won't get warranty back. But try relocking it after flashing the full factory firmware.
Click to expand...
Click to collapse
yahoo! Phone is able to read my Wind sim card and i am able to make phone calls.
Thanks Gus Ghanem
I really appreciate your help
i followed your instructions.
maninder.email said:
yahoo! Phone is able to read my Wind sim card and i am able to make phone calls.
Thanks Gus Ghanem
I really appreciate your help
i followed your instructions.
Click to expand...
Click to collapse
You're welcome! I'm glad it's working

Return to Stock? XT1097 RETCA

I was wondering how I would return my moto x to stock firmware. Am I just able to flash the stock firmware files? If so, can anyone provide the latest retca 6.0 firmware files for xt1097 as I don't want to FUBAR my device. If it counts for anything, I was on MPE24.49-18 marshmallow.
Kevin_Desousa said:
I was wondering how I would return my moto x to stock firmware. Am I just able to flash the stock firmware files? If so, can anyone provide the latest retca 6.0 firmware files for xt1097 as I don't want to FUBAR my device. If it counts for anything, I was on MPE24.49-18 marshmallow.
Click to expand...
Click to collapse
Download it:
https://firmware.center/firmware/Motorola/Moto X (2nd gen-2014)/Stock/XT1097/
Extract it, and flash it with Fastboot:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot

Moto X 2nd Gen XT1092 Bricked after OTA

Dear All,
Need your advice and help!!!
My cousin bro's Moto X just got bricked after OTA update to Marshmallow.
During the Android Update and error occurs and everything when blank (that's what he said)
Now when you boot the device it goes directly to AP Fastboot Flash Mode (S)
When you select Recovery from the list and error occurs and says "failed to validate system image" Boot Up Failed.
Device is locked, Status code: 0 (cant unlock Bootloader, Already try the Motorola site to get unlock key)
Software status: Official.
Fastboot works but cannot write system partition, recovery and boot getting error when trying to write using mfastboot.
ADB doesnt connect. "adb devices" show no connected devices.
RSD lite doesnt detect the phone
and Motorola Device manager say current version "23.16.3.victara_reteu_reteuall.en.eu"
What should i try next so that i can get back to factory or if we can get the bootloader to open then surely Custom Rom right now we are stuck at the fastboot/bootloader page.
Try https://firmware.center/firmware/Motorola/Moto%20X%20%282nd%20gen-2014%29/Stock/XT1092/VICTARA_RETEU_XT1092_6.0_MPE24.49-18_cid7_CFC.xml.zip using fastboot.
Follow the flashing steps in the .xml file that was included in the package.
A typical flashing sequence includes all these partitions, but might vary depending on your product - so please use the sequence in the .xml file in your package.
E.g:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set oem
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
It make your Moto to 6.0 stock rom.
Good luck.
K will give it a shot.
Sent from my SM-T310 using XDA Free mobile app
Avolyte said:
K will give it a shot.
Sent from my SM-T310 using XDA Free mobile app
Click to expand...
Click to collapse
http://www.filefactory.com/file/5w6...ARA_RETEU_6.0_MPES24.49-18-3_cid7_CFC.xml.zip
this is the one you need. its the latest image, it includes the may security patch and latest kernel / bootloader.
moto dosent like to downgrade, so, newest is always the safest
edit: its for europe, if that matters
I have download and tried line by line but these steps contain errors.
fastboot flash partition gpt.bin
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
This is the message that i got from fastboot
C:\Users\Acer\Desktop\fastboot>fastboot flash system system.img_sparsechunk.9
target reported max download size of 536870912 bytes
sending 'system' (130272 KB)...
OKAY [ 5.406s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.457s
danielcepa said:
http://www.filefactory.com/file/5w6...ARA_RETEU_6.0_MPES24.49-18-3_cid7_CFC.xml.zip
this is the one you need. its the latest image, it includes the may security patch and latest kernel / bootloader.
moto dosent like to downgrade, so, newest is always the safest
edit: its for europe, if that matters
Click to expand...
Click to collapse
Buddy is there any way to flash Bootloader?, cause i just lost Bootloader and it doesn't show up!! Srry for this idiotic ques.
shobint7 said:
Buddy is there any way to flash Bootloader?, cause i just lost Bootloader and it doesn't show up!! Srry for this idiotic ques.
Click to expand...
Click to collapse
Do you mean that you get a blank screen when pressing power and vol down together?
Flipz77 said:
Do you mean that you get a blank screen when pressing power and vol down together?
Click to expand...
Click to collapse
Yaa exactly it shows blank and boots up automatically after few seconds to homescreen! So I'm in great trouble I can't even flash anything!
For me I still cant flash anything after the OTA Update...stuck at Flashmode page
You said that you "couldn't unlock the bootloader", but what do you mean exactly? I have a xt1092 as well and I didn't have problems with the Moto code.
Sorry if I only ask questions but I know nothing below bootloader level, for me it's always been a lifesaver, never a headache. So I'm only trying to gather information for someone more experienced than me.
Avolyte said:
I have download and tried line by line but these steps contain errors.
fastboot flash partition gpt.bin
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
This is the message that i got from fastboot
C:\Users\Acer\Desktop\fastboot>fastboot flash system system.img_sparsechunk.9
target reported max download size of 536870912 bytes
sending 'system' (130272 KB)...
OKAY [ 5.406s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.457s
Click to expand...
Click to collapse
try danielcepa's link
danielcepa said:
http://www.filefactory.com/file/5w6...ARA_RETEU_6.0_MPES24.49-18-3_cid7_CFC.xml.zip
this is the one you need. its the latest image, it includes the may security patch and latest kernel / bootloader.
moto dosent like to downgrade, so, newest is always the safest
edit: its for europe, if that matters
Click to expand...
Click to collapse
Thank you very much its working an booted. Sorry I tried to download it like so many times but the connection got interrupted and finally one day i manage to download the 1.3 gib file and flash it now its working fine...
This case is solved!!!
Congrats

Moto E5 bootloader relock

anyone know how to relock the bootloader and start from stock via adb commands (without the moto assistant software)?
EDIT:
ok this works for me:
download the stock img files for YOUR PHONE VERSION (XT1924-1, XT1924-4, XT1921-6 or whatever you have...) !!!
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 logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
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 oem oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase DDR
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
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 oem oem.img
fastboot flash vendor vendor.img
fastboot flash logo logo.bin
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
For the MetroPCS Variant (1924-7), I keep getting the following error when flashing GPT.bin
"target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.004s]
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.067s"
Any help on this? No amount of Google searching has gotten me far.
DragonfireEX402 said:
For the MetroPCS Variant (1924-7), I keep getting the following error when flashing GPT.bin
"target reported max download size of 535822336 bytes
sending 'partition' (45 KB)...
OKAY [ 0.004s]
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.067s"
Any help on this? No amount of Google searching has gotten me far.
Click to expand...
Click to collapse
Are you trying to relock the bootloader?
Sent from my PH-1 using Tapatalk
sd_shadow said:
Are you trying to relock the bootloader?
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
Yes I am. Thanks for the response.
DragonfireEX402 said:
Yes I am. Thanks so much for responding here. I tried to get help on Discord, but I was subject to personal attacks and a mod banned me for defending myself.
Click to expand...
Click to collapse
I would skip the gpt.bin and skip the relock step
Run the other commands, reboot if flash seems to work, retry the process from the beginning.
If not may need to find a different firmware version or the copy you have may be corrupt.
Sent from my PH-1 using Tapatalk
sd_shadow said:
I would skip the gpt.bin and skip the relock step
Run the other commands, reboot if flash seems to work, retry the process from the beginning.
If not may need to find a different firmware version or the copy you have may be corrupt.
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
Thanks again, man. Will try the T-Mobile Roms.
For the record, this is where I got it from. https://mirrors.lolinet.com/firmware/moto/hannah/official/Metropcs/
Tried both links listed and neither of these worked.
DragonfireEX402 said:
Thanks again, man. Will try the T-Mobile Roms.
For the record, this is where I got it from. https://mirrors.lolinet.com/firmwar...ubsidy-TMO_RSU_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Of course Motorola devices are notoriously bad at relocking bootloaders.
I recommend leaving the bootloader unlocked
Sent from my PH-1 using Tapatalk
sd_shadow said:
Of course Motorola devices are notoriously bad at relocking bootloaders.
I recommend leaving the bootloader unlocked
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
That would be more convenient if nothing else.
EDIT: Bootloader relocked now. All good.
Some duplicated commands near the bottom of the list. Are you saying that all those commands need to be issued and in that order just to re-lock the bootloader?
THANKS
It works. Thanks man, after a few months of search i finally found something that works. :good: :good:
I can't do it
C:\Users\\Desktop\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.005s]
finished. total time: 0.006s
in the developer menu cannot be activate
Could someone please help me?
caruro said:
I can't do it
C:\Users\\Desktop\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.005s]
finished. total time: 0.006s
in the developer menu cannot be activate
Could someone please help me?
Click to expand...
Click to collapse
Firmware is stock, not rooted?
Sent from my Pixel XL using Tapatalk
caruro said:
I can't do it
C:\Users\\Desktop\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.005s]
finished. total time: 0.006s
in the developer menu cannot be activate
Could someone please help me?
Click to expand...
Click to collapse
It's likely your phone cannot be unlocked if the unlock bootloader is grayed out. You can go to Motorola's site and enter the code from the phone and they will either give you an unlock code or tell you it's ineligible to be unlocked. Here's how to do it:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
sd_shadow said:
Firmware is stock, not rooted?
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
Thx, phone have stock rom and not root, but it is a E5 plus hannah maybe that is the wrong model.
that's why it doesn't work
bouuman said:
anyone know how to relock the bootloader and start from stock via adb commands (without the moto assistant software)?
EDIT:
ok this works for me:
download the stock img files for YOUR PHONE VERSION (XT1924-1, XT1924-4, XT1921-6 or whatever you have...) !!!
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 logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
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 oem oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase DDR
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
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 oem oem.img
fastboot flash vendor vendor.img
fastboot flash logo logo.bin
fastboot oem lock XXXXXXXXXXXXXXXXXX (XXX... is your unlock key which you used to unlock the bootloader)
Click to expand...
Click to collapse
love you amasing

Categories

Resources