How to re-lock bootlader

shiffty_dnb

Senior Member
Aug 8, 2009
50
8
0
yes, there is a change.... only if you have a full image from 7.1.1 last security patch.... what patch do you have?
NPLS26.118-20-5 (1. september security patch)
Do you mean full image via TWRP recovery?I bought it already unlocked - I need re-lock bootloader due to use Android Pay (and warranty ofc) in my country.
 
Last edited:

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
NPLS26.118-20-1 (August 2017) XT1650-03 reteu with unlocked second SIM
with this firmware, you can relock bootloader
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

with this commands via fastboot or mfastboot (reeplace fastboot with mfastboot)

Code:
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
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system system.img_sparsechunk.8
mfastboot flash system system.img_sparsechunk.9
mfastboot flash system system.img_sparsechunk.10
mfastboot flash system system.img_sparsechunk.11
mfastboot flash system system.img_sparsechunk.12
mfastboot flash system system.img_sparsechunk.13
mfastboot flash system system.img_sparsechunk.14
mfastboot flash system system.img_sparsechunk.15
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
NPLS26.118-20-5 (1. september security patch)
Do you mean full image via TWRP recovery?I bought it already unlocked - I need re-lock bootloader due to use Android Pay (and warranty ofc) in my country.
No, only via fastboot, this procedure remove twrp and leave the phone totally stock with lock bootloader
 
Last edited:

shiffty_dnb

Senior Member
Aug 8, 2009
50
8
0
Ok, it's same codes as for apocalypse_bg right? When i extract XT1650-03_GRIFFIN_RETUS_7.0_NPLS25.86-30-12_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml they are in the folder only system.img 1-12, so that will not be a problem?
 

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
Ok, it's same codes as for apocalypse_bg right? When i extract XT1650-03_GRIFFIN_RETUS_7.0_NPLS25.86-30-12_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml they are in the folder only system.img 1-12, so that will not be a problem?
no, only depends of the ammount of system.img_sparsechunk in the file
 

Dëmön_1

Member
Jul 9, 2014
29
8
0
For me its still not possible to lock the bootloader.
While flashing it this message appears while flashing: "Image signed with key bad key".
On boot the message of the open bootloader appears but as key there is only "n/a" shown, can this be the problem?
 

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
Thank you for the info! Any mirror on the image, I'm getting an access denied :mad:
yes,

https://androidfilehost.com/?fid=745425885120763874

For me its still not possible to lock the bootloader.
While flashing it this message appears while flashing: "Image signed with key bad key".
On boot the message of the open bootloader appears but as key there is only "n/a" shown, can this be the problem?
hello.... what security patch do you have?
 
  • Like
Reactions: apocalypse_bg

Dëmön_1

Member
Jul 9, 2014
29
8
0
that's the problem...... we have to wait to the september full image to be available...
After I have answered I tried something out and I think I had August yesterday.
Because the error with the bad key doesnt appear anymore while flashing - now it says its security downgrade.
Im not sure if I had the newest update installed.
 
Last edited:

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
After I have answered I tried something out and I think I had August yesterday.
Because the error with the bad key doesnt appear anymore while flashing - now it says its security downgrade.
Im not sure if I had the newest update installed.
can you post a "about phone" screenshot?
 

Dëmön_1

Member
Jul 9, 2014
29
8
0
can you post a "about phone" screenshot?
Sure.


Now I have the newest update installed, thats for sure.
I beginning to think that I maybe did something wrong long time ago that I have now this problems.
The good thing is it is my 2nd phone and I am using it only at the moment to test things out.
 
  • Like
Reactions: srs007

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
Sure.


Now I have the newest update installed, thats for sure.
I beginning to think that I maybe did something wrong long time ago that I have now this problems.
The good thing is it is my 2nd phone and I am using it only at the moment to test things out.
don't worry, when the update comes out, i'll post it here... in the morning mine get the update... only have to wait the full image
 

x-geo

Senior Member
Jan 20, 2011
277
78
58
Bogota
  • Like
Reactions: nouriassafi