Related
Hey guys
I have a Moto X XT1052- The Indian Version.
I rooted my phone a few weeks back and I've decided that I don't want root access anymore.
I have unrooted my phone from the SuperSU app by clicking the clean up button.
Now I can't find anything as to how to relock the bootloader. I don't really need the warranty to be active again but if there is a way to do that it would be appreciated.
Also I need help to remove the bootloader unlocked warning message to be removed as well.
Please be clear in your explanations as I'm new to all this.
I have attached details about my phone to this post.
Thanks in advance
If you are already unrooted than there is no need to go further. The bootloader can be relocked with fastboot like you unlocked the bootloader but its getting back to the state relocked and not locked. That means your warranty's is still voided and the warning message keeps there. To remove the warning there was a tutorial here in the forum. Basically it's just changing the bootlogo.
bronko15344 said:
If you are already unrooted than there is no need to go further. The bootloader can be relocked with fastboot like you unlocked the bootloader but its getting back to the state relocked and not locked. That means your warranty's is still voided and the warning message keeps there. To remove the warning there was a tutorial here in the forum. Basically it's just changing the bootlogo.
Click to expand...
Click to collapse
It is possible to unroot from the SuperSU app isn't it? That's what I did.
But I want to relock the bootloader.
Does it erase data on the phone?
Will it lead to bricking or any other problems?
And could you explain the procedure in detail please?
And could you give me a link to the guide you mentioned?
Thanks
RohanAditya said:
It is possible to unroot from the SuperSU app isn't it? That's what I did.
But I want to relock the bootloader.
Does it erase data on the phone?
Will it lead to bricking or any other problems?
And could you explain the procedure in detail please?
And could you give me a link to the guide you mentioned?
Thanks
Click to expand...
Click to collapse
Relocking the bootloader will erase your data. There are serveral threads on XDA about it... here is one -> http://forum.xda-developers.com/moto-x/general/noob-guide-unroot-relock-bootloader-vzw-t2571786 while it says VZW (Verizon Wireless) in the subject, the same steps and info apply to all 2013 Moto X's.
No it will not lead to bricking, as long as you are re-flashing the EXACT same rom that is on your phone, and your battery is 100% charged before starting. In other words,as always, if the battery goes dead during the process, there is a potential to brick, and DOWNGRADING your ROM is not good.
As for changing the logo.bin to remove the unlock warning... see -> http://forum.xda-developers.com/moto-x/themes-apps/moto-x-boot-logos-t2417961/post53098892 or see the LOGO.BIN info at -> http://mark.cdmaforums.com/MotoX-Bootlogo.htm
As @bronko15344 has already said, your bootloader status will change to "Relocked."
There are 3 states to the bootloader.
1. Locked Status Code 0 (as it ships from the factory)
2. Unlocked Status Code 3 (when the bootloader is unlocked)
3. Locked Status Code 2 (aka RELOCKED, after you use fastboot oem lock command)
If the status is Unlocked or Relocked (code 3 or 2), you'll get the unlocked bootloader warning at boot up. While you can replace the Logo.bin to hide or remove the message, any subsequent flash or ota that replaces logo.bin will cause the warning to return.
We do not have a way to toggle back to LOCKED Status Code: 0 as it came out of the box.
In other words, even relocking doesn't take you back to 100% completely stock.
Keep in mind, I have NOT tried flashing a custom logo.bin to remove the unlocked warning on a phone set as "Locked Status Code 2" (aka relocked). I don't know if you need to be Unlocked Status Code 3 to flash it.
KidJoe said:
Relocking the bootloader will erase your data. There are serveral threads on XDA about it... here is one -> http://forum.xda-developers.com/moto-x/general/noob-guide-unroot-relock-bootloader-vzw-t2571786 while it says VZW (Verizon Wireless) in the subject, the same steps and info apply to all 2013 Moto X's.
No it will not lead to bricking, as long as your battery is 100% charged before starting. (in other words,as always, if the battery goes dead during the process, there is a potential to brick)
As for changing the logo.bin to remove the unlock warning... see -> http://forum.xda-developers.com/moto-x/themes-apps/moto-x-boot-logos-t2417961/post53098892 or see the LOGO.BIN info at -> http://mark.cdmaforums.com/MotoX-Bootlogo.htm
As @bronko15344 has already said, your bootloader status will change to "Relocked."
There are 3 states to the bootloader.
1. Locked Status Code 0 (as it ships from the factory)
2. Unlocked Status Code 3 (when the bootloader is unlocked)
3. Locked Status Code 2 (aka RELOCKED, after you use fastboot oem lock command)
If the status is Unlocked or Relocked (code 3 or 2), you'll get the unlocked bootloader warning at boot up. While you can replace the Logo.bin to hide or remove the message, any subsequent flash or ota that replaces logo.bin will cause the warning to return.
We do not have a way to toggle back to LOCKED Status Code: 0 as it came out of the box.
In other words, even relocking doesn't take you back to 100% completely stock.
Keep in mind, I have NOT tried flashing a custom logo.bin to remove the unlocked warning on a phone set as "Locked Status Code 2" (aka relocked). I don't know if you need to be Unlocked Status Code 3 to flash it.
Click to expand...
Click to collapse
Thank you so much
RohanAditya said:
It is possible to unroot from the SuperSU app isn't it? That's what I did.
But I want to relock the bootloader.
Does it erase data on the phone?
Will it lead to bricking or any other problems?
And could you explain the procedure in detail please?
And could you give me a link to the guide you mentioned?
Thanks
Click to expand...
Click to collapse
If you used the "Full Unroot" option in the app it should revert all changes which are made during the root process. To be sure that your system partition is completely stock you can flash it with fast boot (this won't delete your installed apps and data)
To do this look into this guide
guide-moto-x-return-to-100-stock
Short version:
1.
Download and extract the sbf flies matching your phone and carrier from here:
http://www.filefactory.com/folder/dd05c058d3ff8dbe/?sort=created&order=DESC&show=100&page=1
To decide which file you need to download:
info-tip-web-sites-official-leaked-roms
2. (this step is necessary to remove your warning message)
ghost-original-bootanimations-unlocked
download the standard boot animation and extract the logo.bin and overwrite the logo.bin from the sfb files.
3.
now flash the system partition, kernel, recovery and the new logo (without the warning) with the following commands: (Note: For flashing system.img you MUST use mfastboot instead of fastboot. It's to big for the normal fast boot. So no typo here)
Code:
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img
Don't execute the following command as this will delete all your data/installed apps etc.
Code:
fastboot erase userdata
That should be sufficient to revert everything what was changed during the root process. Check if everything looks like it was was on stock rom (including the recovery and the bootlogo)
Now you can relock your boot loader using one of the these commands (I'm not sure which one it was but it should be the first one. If that is giving you a error than try the second one)
Code:
fastboot oem lock
fastboot oem relock
But actually I would not relock your boot loader since you gain nothing and if you want to unlock it again all your data will be erased during the unlock process. and since you are not rooted you can't backup everything before...
Edit: Like @KidJoe said. If you accepting an OTA than the warning comes back. so if you relock your bootloader you can't hide that message without unlocking (and loosing all your data) again. Just stay on the unlocked bootloader
bronko15344 said:
Now you can relock your boot loader using one of the these commands (I'm not sure which one it was but it should be the first one. If that is giving you a error than try the second one)
Code:
fastboot oem lock
fastboot oem relock
.
Click to expand...
Click to collapse
On the 2013 X, if you just do Fastboot OEM LOCK, it will prompt you with "ready to flash signed images."
The info in the thread I posted a link to are accurate. You must fastboot oem lock begin, flash full stock rom (using mfastboot), erase cache and user data, then fastboot oem lock.
KidJoe said:
On the 2013 X, if you just do Fastboot OEM LOCK, it will prompt you with "ready to flash signed images."
The info in the thread I posted a link to are accurate. You must fastboot oem lock begin, flash full stock rom (using mfastboot), erase cache and user data, then fastboot oem lock.
Click to expand...
Click to collapse
Oh wasn't aware that you directly have to flash a firmware to relock the bootloader. Thank you
hey how u do u unlock ur moto x t1052 .
Hey,
I would like to go back to stock from unlocked + root.
What is the correct way to do it?
Little tutorial would be awesome also for other users I think.
Regards,
H.
dodjob said:
Hey,
I would like to go back to stock from unlocked + root.
What is the correct way to do it?
Little tutorial would be awesome also for other users I think.
Regards,
H.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
Tool has a revert to stock option. You can also download the latest fastboot image and flash via MIFlash.
https://forum.xda-developers.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445
Daha3ker said:
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
Tool has a revert to stock option. You can also download the latest fastboot image and flash via MIFlash.
https://forum.xda-developers.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445
Click to expand...
Click to collapse
will that lock bootloader again?
To lock the bootloader you can either use the tool (which has the option to lock) or do it manually with the commands
Fastboot oem lock
Fastboot flashing lock
And finally
Fastboot flashing lock_critical
Be sure to flash stock before locking the bootloader, otherwise you may end in a bootloop.
Daha3ker said:
To lock the bootloader you can either use the tool (which has the option to lock) or do it manually with the commands
Fastboot oem lock
Fastboot flashing lock
And finally
Fastboot flashing lock_critical
Be sure to flash stock before locking the bootloader, otherwise you may end in a bootloop.
Click to expand...
Click to collapse
Hi, thanks for the help
Fastboot oem lock is not enough?
Why should i do more this, Fastboot flashing lock And Fastboot flashing lock_critical ?
thx
pack21 said:
Hi, thanks for the help
Fastboot oem lock is not enough?
Why should i do more this, Fastboot flashing lock And Fastboot flashing lock_critical ?
thx
Click to expand...
Click to collapse
You only need to lock the last two if you unlocked them.
Hello,
Im trying to relock my bootloader again, did i just have to use the "fastboot oem lock" command? Because i read it somewhere that i have to flash stock rom before locking the bootloader, if yes can someone give me the link for stock rom and how to flash it, FYI when unlocking im only using "fastboot oem unlock' command, not doing "fastboot unlock critical blablabla".
Any help would be appreciated, thank you
as far as i know, you need to flash stock bootloader of your current android build then uninstall magisk (if you have it) and just use fastboot oem unlock and you're done (note! backup all your data cause it will make a full wipe)
DiesFrae said:
as far as i know, you need to flash stock bootloader of your current android build then uninstall magisk (if you have it) and just use fastboot oem unlock and you're done (note! backup all your data cause it will make a full wipe)
Click to expand...
Click to collapse
I stopped after unlock bootloader only, i didnt root it at all, so you mean after flash just run fastboot oem lock command?
prayogasp said:
I stopped after unlock bootloader only, i didnt root it at all, so you mean after flash just run fastboot oem lock command?
Click to expand...
Click to collapse
Then you don't need to flash anything at all. Just run fastboot oem lock command.
prayogasp said:
I stopped after unlock bootloader only, i didnt root it at all, so you mean after flash just run fastboot oem lock command?
Click to expand...
Click to collapse
[email protected] said:
Then you don't need to flash anything at all. Just run fastboot oem lock command.
Click to expand...
Click to collapse
Exactly, you don't need to flash anything. Just put phone into fastboot and run fastboot oem lock
[email protected] said:
Then you don't need to flash anything at all. Just run fastboot oem lock command.
Click to expand...
Click to collapse
DiesFrae said:
Exactly, you don't need to flash anything. Just put phone into fastboot and run fastboot oem lock
Click to expand...
Click to collapse
Will it wipe data again just like unlocking?
Yes. It will wipe your data. Please becareful.
Oh. Please sure that you have back to original boot image before relock or your device will brick.
Hi, can someone provide stock boot image for 10.0.1.0 build (Android 9.0)
av2032 said:
Hi, can someone provide stock boot image for 10.0.1.0 build (Android 9.0)
Click to expand...
Click to collapse
https://sourceforge.net/projects/xioami/files/Mi A2/
ckpv5 said:
https://sourceforge.net/projects/xioami/files/Mi A2/
Click to expand...
Click to collapse
Can I simply flash boot_a boot.img / boot_b boot.img and then do
fastboot oem lock?
av2032 said:
Can I simply flash boot_a boot.img / boot_b boot.img and then do
fastboot oem lock?
Click to expand...
Click to collapse
I never relock bootloader .. what I know is you must have fully stock ROM installed then only advisable to lock bootloader. Never do on rooted stock & custom ROM.
Maybe someone else can advise you better.
ckpv5 said:
I never relock bootloader .. what I know is you must have fully stock ROM installed then only advisable to lock bootloader. Never do on rooted stock & custom ROM.
Maybe someone else can advise you better.
Click to expand...
Click to collapse
I have fully stock ROM. Done it anyway... restoring from Google backup right now. Thanks.
Can anyone provide stock boot img for 10.0.3
---------- Post added at 04:55 AM ---------- Previous post was at 04:10 AM ----------
Can I use 10.0.2 boot image for 10.0.3
av2032 said:
I have fully stock ROM. Done it anyway... restoring from Google backup right now. Thanks.
Click to expand...
Click to collapse
Did you lose data after relocking? I mean lock bootloader causes a data wipe like unlocking?
prayogasp said:
Hello,
Im trying to relock my bootloader again, did i just have to use the "fastboot oem lock" command? Because i read it somewhere that i have to flash stock rom before locking the bootloader, if yes can someone give me the link for stock rom and how to flash it, FYI when unlocking im only using "fastboot oem unlock' command, not doing "fastboot unlock critical blablabla".
Any help would be appreciated, thank you
Click to expand...
Click to collapse
here is the link for fastboot rom
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
for your sugestion, if your device is arb2, flash 9690 fastboot rom.
saran, jika masih arb2, flash ke rom 9690..ane pas pertama beli mia2, dapet rom 9690 arb 2..
alibr said:
Did you lose data after relocking? I mean lock bootloader causes a data wipe like unlocking?
Click to expand...
Click to collapse
Yes... it erases everything
Lock while using miui
Can I relock my bootloader while using official MIUI rom?
Aside from
Fastboot oem lock
Do i need this?
fastboot flashing lock
fastboot flashing lock_critical
amnher said:
Aside from Fastboot oem lock
Do i need this?
fastboot flashing lock
fastboot flashing lock_critical
Click to expand...
Click to collapse
"Fastboot oem lock" seems to be depreciated for Mi A2, better use "fastboot flashing lock" instead of "OEM unlock" (though probably these are still equivalent).
And yes, full unlock is achieved when after general unlock you are unlocking critical (once more approve on phone, once more user data erased).
For your information. I've just bricked my Redmi 10S with stock ROM with the command ""Fastboot oem lock" :-(
ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
ibb.co/QmnK1cB)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
pyschodelicbros said:
ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
Click to expand...
Click to collapse
You should download the stock firmware from here and following this guide to restore to stock firmware. Even if the rest of the commands don't work, the first two should reset the bootloader and partition tables and make it bootable or maybe unlockable again. You can also maybe try to boot TWRP but I don't know if that'll work because the boorloader is acting odd
pyschodelicbros said:
ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
Click to expand...
Click to collapse
You should be able to flash official firmware even if the bootloader is locked. Do you still have the original unlock key you received from Motorola to unlock the bootloader? You'll have to use that to re-unlock your bootloader.
Code:
fastboot oem unlock UNIQUE_KEY
Replace UNIQUE_KEY with the unlock key you received.
EDIT: It just occurred to me that "OEM unlocking" is probably toggled off since you re-locked the bootloader. That's why it says "feature disabled".
You could also try to restore stock firmware using Lenovo Moto Smart Assistant. It has a Rescue option that does that.
https://support.lenovo.com/us/en/downloads/ds101291
AgentICS said:
You should download the stock firmware from here and following this guide to restore to stock firmware. Even if the rest of the commands don't work, the first two should reset the bootloader and partition tables and make it bootable or maybe unlockable again. You can also maybe try to boot TWRP but I don't know if that'll work because the boorloader is acting odd
Click to expand...
Click to collapse
I heard that once u relock bootloader, your unlock feature gets disabled for a few days. Anyone know if that is true?
pyschodelicbros said:
I heard that once u relock bootloader, your unlock feature gets disabled for a few days. Anyone know if that is true?
Click to expand...
Click to collapse
I'm pretty sure it's because the bootloader can't contact the OS correctly and therefore can't validate the request
AgentICS said:
I'm pretty sure it's because the bootloader can't contact the OS correctly and therefore can't validate the request
Click to expand...
Click to collapse
mfastboot oem lock
mfastboot oem lock
mfastboot 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 boot boot.img
mfastboot oem lock
I did this to lock the bootloader, not knowing my OS wasnt installed properly so theres no OS and my bootloader is locked.
"fastboot oem unlock"
says bootloader feature disabled
Picture of my bootloader log
[Copy link and past without the )]
ibb.co/QmnK1cB)
Ragarianok said:
You should be able to flash official firmware even if the bootloader is locked. Do you still have the original unlock key you received from Motorola to unlock the bootloader? You'll have to use that to re-unlock your bootloader.
Code:
fastboot oem unlock UNIQUE_KEY
Replace UNIQUE_KEY with the unlock key you received.
EDIT: It just occurred to me that "OEM unlocking" is probably toggled off since you re-locked the bootloader. That's why it says "feature disabled".
You could also try to restore stock firmware using Lenovo Moto Smart Assistant. It has a Rescue option that does that.
https://support.lenovo.com/us/en/downloads/ds101291
Click to expand...
Click to collapse
Lenovo Moto Smart assistant says device isnt recognize, it might be USB debugging due to not being able to get into the OS.
I tried getting the unique key using "fastboot oem get_unlock_data" but i get this in my CMD
[Copy link and past without the )]
ibb.co/QHD0ZcS)
I do have my orginal unique key saved in a file from when i first unlocked my bootloader and when I tried to flash it I get bootloader feature disabled.
[Copy link and past without the )]
ibb.co/0MPsZrp)
I heard that the oem unlock gets disabled for 7 days after relocking wondering if that is true???
Hey all, just going to sell my Pixel 4 XL and wanted re-lock the bootloader before prepping for sale. In an effort not to mess the phone up I would:
Flash December 2020 FULL Image with wipe. (alternatively, flash stock boot and uninstall Magisk)
Boot to Bootloader, run "fastboot oem lock"
Is that correct? Also, anyone know if the boot process will still flag the phone as being previously unlocked? (Just want to be honest for potential buyers.)
*** EDIT: #2 may be "fastboot flashing lock" ??
fastboot flashing lock
Ok, so that did it, and no more warning at bootup!