Need to Re-Lock Bootloader on my friends XT1572 - X Style (Pure) Q&A, Help & Troubleshooting

So the only thing that has been done with this phone, is that the bootloader has been unlocked, officially with a code from Motorola. No custom recovery, ROM, or anything were installed on it.
I need to re-lock the bootloader so he can return it to warranty as his screen sometimes goes crazy and starts clicking everywhere. So I just download the latest firmware for Vodafone Australia, which I believe is:
XT1572_CLARK_RETASIA_6.0_MPHS24.49-20-8_cid7_subsidy-DEFAULT_CFC.xml
from:
https://firmware.center/firmware/Motorola/Moto%20X%20Style/Stock/XT1572/
And then follow the commands from this thread in the OP for the XT1575 (*should be the same codes, right?*).
https://forum.xda-developers.com/moto-x-style/general/guide-return-to-stock-relock-bootloader-t3489110
Also one final note, is the firmware I posted above the latest one for vodafone Australia? Just for confirmation, I am not sure, but according to this guide, it belongs to vodafone Australia:
https://forum.xda-developers.com/moto-x-style/general/australian-xt1572-guide-to-restore-t3292794

Qustion is what firmware on phone do you have?
Relock is possible by flashing the same or upper version only. @Blackfyre

dzidexx said:
Qustion is what firmware on phone do you have?
Relock is possible by flashing the same or upper version only. @Blackfyre
Click to expand...
Click to collapse
In the Bootloader it says:
Baseband: M8992_1255331.29.01.88.07R CLARK_APAC_CUST
Product/Variant: clark XT1572 32GB PC3
In the Phone Settings:
Build Number: NPH25.200-15
Any way to find out exactly if that's the same firmware as in the OP?
EDIT: His phone is running Nougat, I can't find a Nougat ROM for Clark ASIA or APAC (at all) from the link of firmwares above.

Blackfyre said:
In the Bootloader it says:
Baseband: M8992_1255331.29.01.88.07R CLARK_APAC_CUST
Product/Variant: clark XT1572 32GB PC3
In the Phone Settings:
Build Number: NPH25.200-15
Any way to find out exactly if that's the same firmware as in the OP?
EDIT: His phone is running Nougat, I can't find a Nougat ROM for Clark ASIA or APAC (at all) from the link of firmwares above.
Click to expand...
Click to collapse
There is no Nougat factory firmware image available, or even the "latest" Marshmallow version. Sorry, but without those it is no possible to lock the booloader. In order to lock the bootloader, you must flash a complete, signed image that is the same or a newer version than what you have.
Remember that relocking the bootloader will NOT remove the Unlocked Bootloader boot splash screen, nor will it hide the device has ever been unlocked (it is still plainly visibile on the bootloader screen and in a getvar all).
TBH, I have doubts we will ever see more factory firmware images... relocking the bootloader will probably never be possible.

@Blackfyre
This is Nougat, no flashable firmware.
Flash modified logo.bin and try warranty repair.

@acejavelin and @dzidexx
Thank you for the replies. I have a few questions.
If I root the device, can I install an old ROM on it, then update to the latest firmware available that is above, then lock OEM?
Would doing that result in Software = Modified? Because currently it's still Unmodified.
Flashing the modified logo.bin you mentioned above I am guessing will remove that warning that shows up at boot stating that the bootloader has been unlocked. Would flashing this .bin file result in Software = Modified or not?
And if not, then where can I find this modified logo.bin?
Thank you guys again for your help and replies.

https://forum.xda-developers.com/mo...e-unlocked-bootloader-warning-t3201141/page22
fastboot flash logo NameOfFile.bin
If after flashing still will be unmodified you can try relock:
fastboot oem lock begin
fastboot erase userdata
fastboot erase cache
fastboot oem lock @Blackfyre

dzidexx said:
https://forum.xda-developers.com/mo...e-unlocked-bootloader-warning-t3201141/page22
fastboot flash logo NameOfFile.bin
If after flashing still will be unmodified you can try relock:
fastboot oem lock begin
fastboot erase userdata
fastboot erase cache
fastboot oem lock @Blackfyre
Click to expand...
Click to collapse
Does that work though without flashing full firmware images?

quakeaz said:
Does that work though without flashing full firmware images?
Click to expand...
Click to collapse
No, you must flash a full, signed image... In some newer Moto devices you can get by with flashing only the signed system sparce_chunks and wiping data, in 3rd gen and older devices flashing a full signed image, even if already stock, is required.

acejavelin said:
No, you must flash a full, signed image... In some newer Moto devices you can get by with flashing only the signed system sparce_chunks and wiping data, in 3rd gen and older devices flashing a full signed image, even if already stock, is required.
Click to expand...
Click to collapse
Previous post - It was only my hope.
In Europe, Moto/Lenovo can not refuse to repair the components for two years.

dzidexx said:
Previous post - It was only my hope.
In Europe, Moto/Lenovo can not refuse to repair the components for two years.
Click to expand...
Click to collapse
Eh... Yeah, they can and do, often saying that what was done while unlocked is the cause of the problem... And then you have to fight it, by the time it's all said and done many people just give up as the process can take many months.

Related

Downgrade from 6.0 Indian Firmware to 5.1 EU Firmware. Is it possible?

Hi everyone,
I would like to know if is possible to dowgrande to a different country firmware (I'm not interested in the dual sim option). Anyone know if this is possible? I have a locked and non rooted moto x play. I've tried to follow this thread REMINDER HOW TO DOWNGRADE from 6.0 to 5.1.1, but the installation fail with this error:
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Click to expand...
Click to collapse
lollo64 said:
Hi everyone,
I would like to know if is possible to dowgrande to a different country firmware (I'm not interested in the dual sim option). Anyone know if this is possible? I have an unlocked and non rooted moto x play. I've tried to follow this thread REMINDER HOW TO DOWNGRADE from 6.0 to 5.1.1, but the installation fail with this error:
Click to expand...
Click to collapse
Yes, downgrading is possible with unlocked bootloader (locked bootloader doesn't allow downgrading). The first 2 commands ("fastboot flash partition gpt.bin" and "fastboot flash bootloader bootloader.img") always fail when downgrading, and can be skipped without any issues, so if the error you got was for one of the first 2 commands just continue with the rest of the commands.
panart said:
Yes, downgrading is possible with unlocked bootloader (locked bootloader doesn't allow downgrading). The first 2 commands ("fastboot flash partition gpt.bin" and "fastboot flash bootloader bootloader.img") always fail when downgrading, and can be skipped without any issues, so if the error you got was for one of the first 2 commands just continue with the rest of the commands.
Click to expand...
Click to collapse
Thanks, I was start to supposing that the locked bootloader was the problem and you just confirmed. Unluckily right now I can't unlock the bootloader so I think I must wait for the release of the complete EU 6.0 Firmware.
lollo64 said:
Thanks, I was start to supposing that the locked bootloader was the problem and you just confirmed. Unluckily right now I can't unlock the bootloader so I think I must wait for the release of the complete EU 6.0 Firmware.
Click to expand...
Click to collapse
In your post you mentioned "unlocked" so i assumed you had unlocked the bootloader already. I'm afraid that downgrading is only possible if you unlock the bootloader, or you can wait for EU 6.0 full stock ROM to become available and try installing that (it might work as you'll be going from 6.0 ROM to 6.0 ROM).
panart said:
In your post you mentioned "unlocked" so i assumed you had unlocked the bootloader already. I'm afraid that downgrading is only possible if you unlock the bootloader, or you can wait for EU 6.0 full stock ROM to become available and try installing that (it might work as you'll be going from 6.0 ROM to 6.0 ROM).
Click to expand...
Click to collapse
Ooops, sorry. It was a typo, I've just fixed it. Yes, right now I'm waiting for the release of EU 6.0 full stock rom and then I'm going to retry to flash it!
lollo64 said:
Ooops, sorry. It was a typo, I've just fixed it. Yes, right now I'm waiting for the release of EU 6.0 full stock rom and then I'm going to retry to flash it!
Click to expand...
Click to collapse
Have you tried what panart said, about skipping the first 2 fastboot commands ?
I also downgraded to 5.1 skipping the first 2 lines and it was working fine.Only I had an unlocked bootloader at that moment ,but maybe it wil also works with a locked bootloader, not sure.
Sickaxis79 said:
Have you tried what panart said, about skipping the first 2 fastboot commands ?
I also downgraded to 5.1 skipping the first 2 lines and it was working fine.Only I had an unlocked bootloader at that moment ,but maybe it wil also works with a locked bootloader, not sure.
Click to expand...
Click to collapse
Yes, I've tried both. With and without the first two commands (fastboot flash partition gpt.bin / fastboot flash bootloader bootloader.img), but it fails in every case. Purposely I get the errors when I launch this commands:
Code:
- fastboot flash boot boot.img
- fastboot flash system system.img_sparsechunk.*
All the other instructions work fine.
http://forum.xda-developers.com/showpost.php?p=65423306&postcount=475
24.65-33 Full EU
You can flash it directly On any XT1562

My Moto G4 won't update!

So recently I bricked my deviced and I had to flash the original image that the phone came with - I have moto G4 XT1625.
My phone is unlocked although I have unsuccessfully tried to relock it.
Problem: Once I flashed the original version of android which was Marshmallow 6.0 I am unable to update to 7.0 as I had before I bricked my device.
How can I update to Nougat 7.0 and relock it. I cannot find any image for Nougat 7.0 anywhere as that is not the original for the Moto G4. Any ideas?
Edit: I tried relocking it the 2 ways -
1. fastboot oem lock
2. fastboot oem lock begin and then reflashing all the firmware and then locking
Nougat stock image
https://androidfilehost.com/?fid=673368273298955218
Sure?
zonggestsu said:
Nougat stock image
https://androidfilehost.com/?fid=673368273298955218
Click to expand...
Click to collapse
Do you know if this would be an official ROM or is this a custom copy where I wont get updates?
*XAOS* said:
Do you know if this would be an official ROM or is this a custom copy where I wont get updates?
Click to expand...
Click to collapse
Its the the official image. You should be able to flash it then remove your bootloader if you feel like it. Word of warning, it looks like, at least from my experience, that the g4 bootloader doesn't properly check the images properly unless you invoke
Code:
fastboot oem lock
twice. Then you can start flashing over the images such as oem.img and system.img_sparsechunck.0
The bootloader.img and gpt.bin need to be flashed before this though.
Thank you!!

Relock bootloader problem - Still require signed boot.img? [QUALCOMM]

I'm trying to get one of my E4's ready to sell (I have two of them) and need to relock the bootloader so that the N/A message goes away. I reinstalled the stock firmware provided here using fastboot (and followed the appropriate oem locking steps) but at the very end I get:
Code:
Still require signed boot.img
I am assuming nobody has found a workaround for this as Lenovo hasn't provided official stock firmware and I haven't seen any posts about a solution? Would appreciate any insight.
Not possible currently, just let the buyer know that the bootloader is unlocked and it's root ready lol.
Is it still currently not possible to relock the bootloader?
AZImmortal said:
Is it still currently not possible to relock the bootloader?
Click to expand...
Click to collapse
fastboot oem lock_bootloader
Then go to Motorola.com grab a stock image
Fastboot flash boot boot.img and everything else too.
Fastboot flash
bootloader
oem
Boot
Logo
system
Etc....
I did this and had to use my code that they emailed me to unlock the boot loader again.

[HELP] Return to stock before selling G5 Plus!

Hi! I could really need some help over here!
I have a G5 Plus that i bought in Sweden, Europe. I unlocked bootloader, and flashed a ROM.
But now i´m going to sell it, so i need to reflash the stock image (ROM). Also i need to relock bootloader.
Can someone help me find the latest, working firmware, and also with the right commands to use with fastboot to do this?
Modell is: X1685.
Why would you need to relock the bootloader? I guess you will sell the device warning the person that it doesn't have warranty, right?
I was going to type this but then found this post....
lvvine said:
NPN25.137-35
https://drive.google.com/file/d/0B3G...ew?usp=sharing
Watch the Video which will help you to flash the firmware.
https://www.youtube.com/watch?v=blYQ28DZJQk
Use FastBoot Command to flash the firmware (Backup you data as it would erase the internal Memory)
Fastboot command:
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
Click to expand...
Click to collapse
eemgee said:
I was going to type this but then found this post....
Click to expand...
Click to collapse
Be careful, it will flash the bootloader. If you have a newer version of the bootloader than th one you sumbitted, you will harfbrick your device.
M1810 said:
Be careful, it will flash the bootloader. If you have a newer version of the bootloader than th one you sumbitted, you will harfbrick your device.
Click to expand...
Click to collapse
If the stock ROM is older than what you have on your device, then the bootloaders usually prevent you from downgrading.
Hard bricks usually do not happen when you downgrade, they happen if you've downgraded and then take OTA updates (mismatches between the bootloader patch level and system patch level are a culprit). Best way to avoid this is to not downgrade.
At any rate, you cannot lock a bootloader with a build older than your existing stock firmware, regardless of custom ROMs flashed. You need a firmware of the same or newer build than your device stock firmware to relock. To the best of my knowledge, NPNS25.137-33-11 appears to be the newest or nearly newest firmware for EU devices. You can download from here https://firmware.center/firmware/Motorola/Moto G5 Plus/Stock/ please confirm that this firmware is suitable before flashing.
You could try re-locking with other firmware, however NPN25.137-35 is for US devices, so would not likely receive OTA updates if flashed onto EU devices. As for warranty, the warranty isn't transferable as far as I know and as Motorola's got a record of the device being unlocked, the warranty is void. However, under EU consumer laws, you or the buyer could still get repairs if you're both resident in the territory. Would be wise to check this and let the buyer know.
Do not do this! I lost my IMEI flashing that ROM on my XT1685, UK model.
syl0n said:
Do not do this! I lost my IMEI flashing that ROM on my XT1685, UK model.
Click to expand...
Click to collapse
Original current gb version is as screenshot, anything else may screw up you phone.
syl0n said:
Do not do this! I lost my IMEI flashing that ROM on my XT1685, UK model.
Click to expand...
Click to collapse
hi, i have similar issue. can you tell me how you fixed it?
Smeagal192 said:
Original current gb version is as screenshot, anything else may screw up you phone.
Click to expand...
Click to collapse
There appears to be no fastboot flashable file for this version available anywhere on the internet. I've searched for days and had absolutely no luck!
Looks like both the OP and I are stuck on custom ROMs. Why Lenovo don't make these available I don't know...
If anyone knows of anywhere to get this please help us.
EDIT: Oh, also mine is XT1684 which I've seen virtually nothing about on XDA.
darkglobe87 said:
There appears to be no fastboot flashable file for this version available anywhere on the internet. I've searched for days and had absolutely no luck!
Looks like both the OP and I are stuck on custom ROMs. Why Lenovo don't make these available I don't know...
If anyone knows of anywhere to get this please help us.
EDIT: Oh, also mine is XT1684 which I've seen virtually nothing about on XDA.
Click to expand...
Click to collapse
Mines a 1684, seems moto made 2 models for UK with same specs.
Regarding fastboot did you extract download zipped archive into fastboots folder.
When I say download follow the link above to firmware centre, if using phone to browse you need phone in landscape otherwise you cannot get name.
Smeagal192 said:
Mines a 1684, seems moto made 2 models for UK with same specs.
Regarding fastboot did you extract download zipped archive into fastboots folder.
When I say download follow the link above to firmware centre, if using phone to browse you need phone in landscape otherwise you cannot get name.
Click to expand...
Click to collapse
Thing is, there's no xt1684 version or retgb version. I fear it could be the wrong one, can't afford to replace phone so can't risk hard bricking it. Thanks though.

Super Stucked, Nothing Helps now.

I had hardbricked my devices while installing an OTA update and the device was Hardbricked .
I blank flashed the device and it booted and bootloader.
Now the problem starts here.
I flashed the OEM_Lock.bat as I wanted to relock the bootloader. I'm not sure what went wrong but the flash didn't complete and stuck in middle.
The problem remains here is it shows
Fastboot Reason: Failed to initialize partition table
I am unable to flash anything now. Recovery.img fails, bootloader.img fails, twrp flashing fails.
Nothing flashes as Bootloader is locked.
I went to Motorola Service Centre. They also couldn't do anything and simply said that their software doesnt read the phone.
Is there anyone whoe can really help me out with anything left to do?
Any method to force flash recovery, even twrp?
Phone is detected as Fastboot athene_16mp S in computer. It doesnt detect as "Qualcomm HS-USB QDLoader 9008".
What firmware are you attempting to flash?
Your device looks like it's still on the blank flash provided bootloader, which means you have to flash at least the GPT and bootloader. The lack of a serial number and the generic identifier implies you have not been able to flash an actual GPT and bootloader. Also, OEM_locked is normal until you get an actual bootloader flashed over the blank flash bootloader, which usually means trying to flash a GPT and bootloader at least as new as the latest version you had on your device (regardless of downgrades).
I'd suggest downloading the latest Nougat stock ROM we have from here. Do not use any of the scripts at this time.
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Unzip the file, delete any old stock ROMs from your ADB folder and copy over the new stock ROM. Try to flash just the GPT and bootloader then reboot to fastboot. See if you reboot into a fastboot screen with details.
If you do, I would proceed to flash the rest of the new ROM without locking your bootloader. If your device boots then, then you can reflash with the locking commands.
Edit - also, this post probably is better suited to the Q and A section...
echo92 said:
What firmware are you attempting to flash?
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Unzip the file, delete any old stock ROMs from your ADB folder and copy over the new stock ROM. Try to flash just the GPT and bootloader then reboot to fastboot. See if you reboot into a fastboot screen with details.
If you do, I would proceed to flash the rest of the new ROM without locking your bootloader. If your device boots then, then you can reflash with the locking commands.
Click to expand...
Click to collapse
The files in mentioned firmware did the trick. It flashed GPT and Bootloader and showed the needed info.:highfive: After that I flashed the same firmware via fastboot commands and device has booted to the stock 7.0 - Bootloader Unlocked. How crazy was I to ignore the proper files to flash? I probably tried 100 times to flash files (wrong once for sure). Thanks alot though for providing the link and instructions. :silly:
Now one last thing, should I flash OEM_Lock file to lock the bootloader so that I can get the lastest Oreo update? I might even think fo selling the device after locking the bootloader. Need your genuine opinion on this as well.
mysteryno46 said:
The files in mentioned firmware did the trick. It flashed GPT and Bootloader and showed the needed info.:highfive: After that I flashed the same firmware via fastboot commands and device has booted to the stock 7.0 - Bootloader Unlocked. How crazy was I to ignore the proper files to flash? I probably tried 100 times to flash files (wrong once for sure). Thanks alot though for providing the link and instructions. :silly:
Now one last thing, should I flash OEM_Lock file to lock the bootloader so that I can get the lastest Oreo update? I might even think fo selling the device after locking the bootloader. Need your genuine opinion on this as well.
Click to expand...
Click to collapse
Eh, you live and learn. Besides, you've now got your device running now!
Honestly, it's up to you. Having a locked or unlocked bootloader will not affect your ability to receive OTA updates - you should still receive updates so long as your firmware matches your software channel (and since your device was XT1643, the NPJS25.93-14-18 April 2018 security update should be the correct firmware). At this moment in time, you'll have to use the NPJS25.93-14-18 firmware to re-lock your bootloader - we don't have the stock Oreo firmware at this time. Thus, if you update to stock Oreo, you will not be able to re-lock your bootloader until you can get a leak of the Oreo firmware.
If you're selling, I'd choose to re-lock the bootloader. Else, a potential buyer who is not used to flashing custom ROMs might wonder if there's any tampering with the device (the bootloader unlocked warning, to someone not used to flashing custom firmware, might scare off potential buyers).
Back to Locked Bootloader, complete stock.
echo92 said:
Eh, you live and learn. Besides, you've now got your device running now!
If you're selling, I'd choose to re-lock the bootloader. Else, a potential buyer who is not used to flashing custom ROMs might wonder if there's any tampering with the device (the bootloader unlocked warning, to someone not used to flashing custom firmware, might scare off potential buyers).
Click to expand...
Click to collapse
I am back to Locked Bootloader as feel the same as you said that anyone buying might get scared by looking the warning sign. Thanks for helping out. :highfive:
Oreo Update via OTA has already started rolling out as per the news I've been reading. I just wanted to see the oreo 8.1 before I sell the phone.
Anyways I got a new device now, Realme C1, 3|32GB as my smartphone usage has declined a lot recently and might remain similar. This device will suffice my requirements.
Thanks for the help and support. :victory:

Categories

Resources