if i relock my bootlader with cmd flashing stock rom and oem lock than i get error your device has failed verification and may not work properly
than i tried with moto tool than it says device unlock and annot be trusted
pls help me i want to relock bootloader
Try the following commands, they worked for me. On my device no more bootloader unlocked warning-
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
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 lock
Related
Does anyone have a copy of the RW firmware? I'm seeing it as ATHENE_RETUSA_CUST
To answer my own question
XT1625-XT1644_ATHENE_RETUS_MPJ24.139-64_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml with running a full system reload, this reloaded my system and still allowed me to connect to RW
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
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 lock
fastboot reboot
Click to expand...
Click to collapse
Yeah, the RW component is pre-loaded in the XT16344 firmware that you mentioned.
I installed and rooted with TWRP in June. I thought it just installs updates via bootloader, but it needs stock recovery. So, I'm stuck with a update waiting, and it's required to update to Naugat. I tried installing Naugat from a zip, but I kept getting errors. Help?
http://www.filefactory.com/file/x59...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
This is the link ,
Install commands are
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin mfastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0 fastboot flash system system.img_sparsechunk.1 fastboot flash system system.img_sparsechunk.2 fastboot flash system system.img_sparsechunk.3 fastboot flash system system.img_sparsechunk.4 fastboot flash system system.img_sparsechunk.5 fastboot flash system system.img_sparsechunk.6 fastboot flash system system.img_sparsechunk.7 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
Extract the file where you have twrp copy. So you dont have to install any driver.
Then run command prompt type "fastboot devices"
It will show som3 id if you device should be detected. Befor doing this you must be in bootloader state
Akash Sharma123 said:
http://www.filefactory.com/file/x59...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
This is the link ,
Install commands are
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin mfastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0 fastboot flash system system.img_sparsechunk.1 fastboot flash system system.img_sparsechunk.2 fastboot flash system system.img_sparsechunk.3 fastboot flash system system.img_sparsechunk.4 fastboot flash system system.img_sparsechunk.5 fastboot flash system system.img_sparsechunk.6 fastboot flash system system.img_sparsechunk.7 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
Extract the file where you have twrp copy. So you dont have to install any driver.
Then run command prompt type "fastboot devices"
It will show som3 id if you device should be detected. Befor doing this you must be in bootloader state
Click to expand...
Click to collapse
I keep getting errors where it cant find it.
lometon said:
I keep getting errors where it cant find it.
Click to expand...
Click to collapse
Im stupid. I was putting it in the wrong folder... I had to put it in Program Files. *facepalm*
Hi, I need help since 1 week ago I unlocked my bootloader and install HavocOS, but in the end I did not like it and decided to go back to the Stock ROM and block my Bootloader (All for ADB) but when I try, the Bootloader does not block, before if it worked for me but in this last situation, no, does anyone know what it could be? The Stock version that I try to install is 8.1.0, February patch. I want to block my Bootloader to be calmer. Thank you.
JuanM28 said:
Hi, I need help since 1 week ago I unlocked my bootloader and install HavocOS, but in the end I did not like it and decided to go back to the Stock ROM and block my Bootloader (All for ADB) but when I try, the Bootloader does not block, before if it worked for me but in this last situation, no, does anyone know what it could be? The Stock version that I try to install is 8.1.0, February patch. I want to block my Bootloader to be calmer. Thank you.
Click to expand...
Click to collapse
Why? What's the advantage of a locked bootloader?
If you want to lock it:
Commands to flash stock (Oreo!) ROM:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Commands to relock the bootloader:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash boot boot.img
fastboot oem lock
Sent from my Moto G5 Plus using XDA Labs
Hi guys. I've tried going locking my bootloader and going back to stock but I get this error after running:
Code:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash boot boot.img
fastboot oem lock
I get: "Still require signed system.img and/or oem.img"
Then I run:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash 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
And when I send the last command I get the warning screen about my phone being locked and it goes back to bootloader.
I'm on the XT1680 variant, using this firmware: https://mirrors.lolinet.com/firmware/moto/potter/official/RETAR/
Has anyone had better luck doing this?
The correct commands are here: https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
Hello Folks,
To be honest i wanted to remove the ID : NA on the first boot as i wanted to run Google Pay to work as it doesn't work on Unlocked bootloader.
So after a lot of research and with the help of a fellow XDA member i could lock the booloader with CTS showing as Pass
I have done the method myself and it worked
You need to be on unlocked bootloader
The steps i did :
1. Download the rom from this thread : https://forum.xda-developers.com/moto-z-play/development/rom-nov-patch-npns26-118-22-2-8-t3717037
2. Boot in to TWRP
3. Wipe everything except internal storage
4. Flash the above rom via TWRP
5. Boot and dont set up any security or account
6. Enable Developer options
7. In developer options enable Allow OEM unlocking
8. Now boot to fastboot mode
9. Download the latest OREO RAW zip from the below links
https://mirrors.lolinet.com/firmware/moto/addison/official/RETAIL/
Run the below commands once the device is in fastboot mode (OREO only)
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash boot boot.img
fastboot oem lock
fastboot reboot
exit
Thanks to @dachau for this trick and help