What does the unlocking of the bootloader do? - Nexus S Q&A, Help & Troubleshooting

As the topic says, what does the unlocking of the bootloader do and why do you have to do it? Also does unlocking the bootloader void the warranty?
Sent from my Nexus S using Tapatalk 2

All your answers are here:
http://www.addictivetips.com/mobile...-bootloader-on-android-phones-complete-guide/
And yes, unlocking the bootloader voids your warranty. But on Nexus is really easy to relock it with fastboot oem lock command.

DeuXGod said:
All your answers are here:
http://www.addictivetips.com/mobile...-bootloader-on-android-phones-complete-guide/
And yes, unlocking the bootloader voids your warranty. But on Nexus is really easy to relock it with fastboot oem lock command.
Click to expand...
Click to collapse
Personally, this confuses me more than before. I understand the concept of a bootloader, but not that a customer rom cannot be loaded without it being unlocked. I'm using an ATT Galaxy S5, which as I understand cannot be unlocked. However, my device is rooted and has a custom rom loaded (Dynamic KAT 4.0 NI2 build).
So what exactly does unlocking the bootloading gain over simply rooting and loading a custom rom such as I have done?
Thanks!
Edit: Crap, just realized this is a really old thread. I'll search further...

Different devices have different methods of rooting, the nexus s is one that you need to unlock the bootloader first, then you can root and/or flash a custom ROM, recovery, kernel, etc
Yes some phone don't need you to unlock bootloader and yes some bootloaders can't be unlocked so you're question is device specific in the sense that every device is different

Related

[Q] Relocking Nexus S bootloader

Hello guys, I'm not a super noob but I can certainly use some advise and suggestions. I was trying to be all smart and try to put CM7 on my phone by rooting the nexus S without having to unlock the bootloader. I've read around and realized that I could do so if my phone is on 2.3.2 or 2.3.1.
So I search around and the following thread:
http://forum.xda-developers.com/showthread.php?t=947950
suggested using Odin to downgrade from 2.3.4 to 2.3.1. After doing the steps I realized that it also unlocked my bootloader. Now does anyone know if there is a way to relock my bootloader if I used the Odin?
I've done some reading and as far as I can tell you can relock your phone using the "fastboot oem relock". but this method only works if you originally used the "fastboot oem unlock" in the first place.
Any suggests?
hamidsani said:
Hello guys, I'm not a super noob but I can certainly use some advise and suggestions. I was trying to be all smart and try to put CM7 on my phone by rooting the nexus S without having to unlock the bootloader. I've read around and realized that I could do so if my phone is on 2.3.2 or 2.3.1.
So I search around and the following thread:
http://forum.xda-developers.com/showthread.php?t=947950
suggested using Odin to downgrade from 2.3.4 to 2.3.1. After doing the steps I realized that it also unlocked my bootloader. Now does anyone know if there is a way to relock my bootloader if I used the Odin?
I've done some reading and as far as I can tell you can relock your phone using the "fastboot oem relock". but this method only works if you originally used the "fastboot oem unlock" in the first place.
Any suggests?
Click to expand...
Click to collapse
The command is actually "fastbook oem lock" and I would think it would work now matter how the bootloader was unlocked. You should at least try it. You just have to make sure you have Android SDK installed and your device drivers installed.
fastboot oem unlock to unlock and wipe your phone, flash cwm recovery, flash cm7.
turn off phone, turn it back on to bootloader and do fastboot oem lock.
Done.
Other than removing the unlock icon from showing what is/are the added benefit(s) of relocking the phone? I am just curious as I unlocked my Nexus S by ADB using the fastboot oem unlock command. Thanks.
Sent from my Nexus S using Tapatalk

[Q] Will an unlocked bootloader remain unlocked after Lollipop update?

Hi all,
I have a rooted and unlocked Nexus 5. Just wondering if my bootloader will remain unlocked after Lollipop update, either through OTA or factory image. I need the bootloader to remain unlocked in case an unlocked bootloader becomes the prerequisite for rooting forever.
Thanks!
matthew01202 said:
Hi all,
I have a rooted and unlocked Nexus 5. Just wondering if my bootloader will remain unlocked after Lollipop update, either through OTA or factory image. I need the bootloader to remain unlocked in case an unlocked bootloader becomes the prerequisite for rooting forever.
Thanks!
Click to expand...
Click to collapse
The bootloader will only lock if you specifically lock it using fastboot or an app. No other way
rootSU said:
The bootloader will only lock if you specifically lock it using fastboot or an app. No other way
Click to expand...
Click to collapse
So a locked bootloader remains locked and an unlocked one stays unlocked if I don't change anything in the OTA zip or Factory Image when flashing? Or don't specify it in adb?
matthew01202 said:
So a locked bootloader remains locked and an unlocked one stays unlocked if I don't change anything in the OTA zip or Factory Image when flashing? Or don't specify it in adb?
Click to expand...
Click to collapse
Yes. Though fastboot is not adb. two different things
Thanks!

bootloader relock

hello guys, im new here.
anybody tried relocking their bootloader by using this command?
fastboot oem lock
and does it work and restores warranty conditions?
That command has been tried since the original Moto G and no, contrary to what some people think you can't reset the internal unlock counter. They will always know you unlocked it. If nothing else, they know because you got the unlock code from them. I'm not sure why people overlook this clearly posted sentence when they request the unlock code from Motorola.
"Unless you have a Developer Edition device, once you get the unlock code, your device is no longer covered by the Motorola warranty; in other words, please don't blame us if things go wrong, even if they appear unrelated to unlocking the bootloader."
Sent from my SM-T530NU using Tapatalk
creative21 said:
hello guys, im new here.
anybody tried relocking their bootloader by using this command?
fastboot oem lock
and does it work and restores warranty conditions?
Click to expand...
Click to collapse
That command will lock your bootloader again. However, locking and unlocking will wipe your device.
Upon receiving your unlock code from Motorola, your warranty is void; regardless if you unlock it or not. The sheer act of asking for and receiving the code voids your warranty.
Of course, if there is a true hardware issue that is not caused by software tinkering, you can still use that piece of the warranty.
Sent from my MotoG3 using Tapatalk
nikon120 said:
That command will lock your bootloader again. However, locking and unlocking will wipe your device.
Upon receiving your unlock code from Motorola, your warranty is void; regardless if you unlock it or not. The sheer act of asking for and receiving the code voids your warranty.
Of course, if there is a true hardware issue that is not caused by software tinkering, you can still use that piece of the warranty.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
after relocking, warning bootlogo is removed or can be replaced?
creative21 said:
after relocking, warning bootlogo is removed or can be replaced?
Click to expand...
Click to collapse
I think I can be replaced !, I'm not sure!
I will test and send feedback!
Jeconias Santos said:
I think I can be replaced !, I'm not sure!
I will test and send feedback!
Click to expand...
Click to collapse
but I think after reflashing stock, boot logo will be return to normal.
I tried that command and relock the bootloader several times as i didnt got the same battery backup as stock... So my question is after relocking and flahing stock rom... Do i get the OTA? and will it get flashed sucessfully?
sagar27691 said:
I tried that command and relock the bootloader several times as i didnt got the same battery backup as stock... So my question is after relocking and flahing stock rom... Do i get the OTA? and will it get flashed sucessfully?
Click to expand...
Click to collapse
Yes you will be able to get over the air updates after relocking bootloader if necessary system apps and files are not modified.
If you are not able to get ota you could also flash stick firmware images.
Thanks man... I flashed the whole stock rom from xda here only...
Even though I've run the commands to re-lock, going into the fastboot (bootloader) mode shows it's unlocked.
Anyone figure out a way to actually re-lock it?
JWhipple said:
Even though I've run the commands to re-lock, going into the fastboot (bootloader) mode shows it's unlocked.
Anyone figure out a way to actually re-lock it?
Click to expand...
Click to collapse
No, once it's unlocked, the counter will always show an unlocked bootloader. Best you can do is hide the opening unlocked bootloader screen.
In the 1st Moto G i have sucessfully relocked the bootloader.
You can use the command 'fastboot oem lock begin', then flash all files from fastboot firmware changing the logo file to logo-mod.bin (File that have removed the unlocked warning image, because flashing custom logo.bin doesn't check crc or hash when relocking the bootloader), then finish with 'fastboot oem lock' command.
Example:
fastboot oem lock begin
fastboot flash partition gpt.bin
- - - rest of commands
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
I don't have tested because i don't have unlocked my g3 bootloader yet.
Just try
jmadotme said:
In the 1st Moto G i have sucessfully relocked the bootloader.
You can use the command 'fastboot oem lock begin', then flash all files from fastboot firmware changing the logo file to logo-mod.bin (File that have removed the unlocked warning image, because flashing custom logo.bin doesn't check crc or hash when relocking the bootloader), then finish with 'fastboot oem lock' command.
Example:
fastboot oem lock begin
fastboot flash partition gpt.bin
- - - rest of commands
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
I don't have tested because i don't have unlocked my g3 bootloader yet.
Just try
Click to expand...
Click to collapse
Been there, done that, got the T-Shirt, doesn't stop the banner from saying the bootloader is unlocked.
JWhipple said:
Been there, done that, got the T-Shirt, doesn't stop the banner from saying the bootloader is unlocked.
Click to expand...
Click to collapse
Have you flashed moded logo.bin?
I still don't understand the point of all this... why are people trying to go through all the work of relocking the bootloader?!?! There is ZERO benefit to it... your warranty is still void (you don't even have to unlock, just agree to the terms and get the unlock token), it doesn't enhance resale value, it doesn't change the performance, so why all the effort to try to do it?!?!
acejavelin said:
I still don't understand the point of all this... why are people trying to go through all the work of relocking the bootloader?!?! There is ZERO benefit to it... your warranty is still void (you don't even have to unlock, just agree to the terms and get the unlock token), it doesn't enhance resale value, it doesn't change the performance, so why all the effort to try to do it?!?!
Click to expand...
Click to collapse
to get the new official OTA... if bootloader is locked and have stock rom we are able to get the OTA and can flash successfully with it... though it shows bootloader unlocked warning.
sagar27691 said:
to get the new official OTA... if bootloader is locked and have stock rom we are able to get the OTA and can flash successfully with it... though it shows bootloader unlocked warning.[emoji14]
Click to expand...
Click to collapse
Hmm... Are you sure? If you are unlocked but otherwise pure stock, you should still get OTAs, if your not then they are most likely blocked server-side not client-side. In other words just accepting the T&C of a Motorola bootloader unlock could not only void your warranty, but also blacklist your IMEI from OTAs as well.
I could be wrong, but I think your "barking up the wrong tree" here... I can tell you for sure that Huawei does it this way since Lollipop, if you unlock the bootloader your IMEI is blacklisted server-side... They are very straightforward about it.
Sent from my MotoG3 using Tapatalk
acejavelin said:
Hmm... Are you sure? If you are unlocked but otherwise pure stock, you should still get OTAs, if your not then they are most likely blocked server-side not client-side. In other words just accepting the T&C of a Motorola bootloader unlock could not only void your warranty, but also blacklist your IMEI from OTAs as well.
I could be wrong, but I think your "barking up the wrong tree" here... I can tell you for sure that Huawei does it this way since Lollipop, if you unlock the bootloader your IMEI is blacklisted server-side... They are very straightforward about it.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
not at all... already flashed official firmware 3 times after experiencing the less battery backup on custom roms. in this 3 times i flashed the modified bootlogo so didnt got the warning of bootloader unstlocked and not able to get the OTA but then again i flashed the official firmware 4th time and without that modified bootlogo in hope to get the latest OTA build no. LPI23.72-65 and it worked i got that update next day... and still its show bootloader unlocked warning... so that warnling doesn't affect the OTA is you have everything stock with locked bootloder.
Can anyone post a modified logo without the unlocked warning? My bootlock is relocked but i wanna get rid of this message. Thanks!
Just to clear up any confusion. There is no need to relock the bootloader. In fact it seems like a waste of time to me...
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/91999/p/1449,8620
After I unlock my device bootloader, am I still eligible to receive software upgrades from Motorola?
Unlocking your bootloader does not affect your eligibility to receive over-the-air (OTA) upgrades from Motorola. Upgrade packages to new versions of Android will be pushed to all eligible devices, regardless of their bootloader locking status.
Click to expand...
Click to collapse

Does rooting your phone void your warranty?

I want to root my honor 8 L04 but I was wondering if it will void my warranty.
Thanks,
Thinh
Yes it does and the current method for rooting is kinda sketchy at this time. I'm waiting untill the lineage ROM is done and hopefully by then we will have a better rooting method.
droidboy29 said:
Yes it does and the current method for rooting is kinda sketchy at this time. I'm waiting untill the lineage ROM is done and hopefully by then we will have a better rooting method.
Click to expand...
Click to collapse
Ok thanks for the reply!
Is it possible to relock bootloader after unlock? I've read a lot of opposing opinions about this :/
Madden91 said:
Is it possible to relock bootloader after unlock? I've read a lot of opposing opinions about this :/
Click to expand...
Click to collapse
Yes you can relock the bootloader, however it will say relocked bootloader and not locked bootloader like it originally said so you can still see that the bootloader had been unlocked at some point.
Madden91 said:
Is it possible to relock bootloader after unlock? I've read a lot of opposing opinions about this :/
Click to expand...
Click to collapse
To get the status "locked" back you have to downgrade to emui 4.1
droidboy29 said:
Yes you can relock the bootloader, however it will say relocked bootloader and not locked bootloader like it originally said so you can still see that the bootloader had been unlocked at some point.
Click to expand...
Click to collapse
I have one question, if I had unlocked bootloader, installed TWRP and rooted my phone, then unrooted it, reverted to stock recovery and relocked bootloader, can I still receive OTA updates?
droidboy29 said:
Yes it does and the current method for rooting is kinda sketchy at this time. I'm waiting untill the lineage ROM is done and hopefully by then we will have a better rooting method.
Click to expand...
Click to collapse
no its not , the latest version of twrp posted in the dev section fix's all the issues before
now its as simple as Unlock / Flash TWRP / Flash the version of supersu in the twrp post / Profit !

Few questions about relocking bootloader

I am considering relocking the bootloader for my HTC U12+. I unlocked it a long time ago (out of habit I guess). So my phone is completely running stock without any modifications. I want to relock the phone to get widewine back to L1, so I'll get Netflix updates and such.
A few questions about relocking that I couldn't find an answer to.
1. When I relock the bootloader will it do a factory reset to the phone? I'm asking because unlocking did.
2. If later on I decide to unlock the relocked bootloader again, do I have to get another unlock-code from HTC? Or is unlocking a relocked bootloader a simpler procedure?
So I decided to do the relocking. During the relocking procedure I was being told on the screen that the phone will be wiped if I continue. It remains to be seen how I'll unlock it later on if I want to.
lvl3 said:
I am considering relocking the bootloader for my HTC U12+. I unlocked it a long time ago (out of habit I guess). So my phone is completely running stock without any modifications. I want to relock the phone to get widewine back to L1, so I'll get Netflix updates and such.
A few questions about relocking that I couldn't find an answer to.
1. When I relock the bootloader will it do a factory reset to the phone? I'm asking because unlocking did.
2. If later on I decide to unlock the relocked bootloader again, do I have to get another unlock-code from HTC? Or is unlocking a relocked bootloader a simpler procedure?
Click to expand...
Click to collapse
2. You have to to go through the HTCDev website procedure (not sure if you can reuse the previous Unlock_code.bin file).
is it possible to get "locked bootloader" instead of "relocked bootloader" and get rid of system status modified?
maslaq said:
is it possible to get "locked bootloader" instead of "relocked bootloader" and get rid of system status modified?
Click to expand...
Click to collapse
No.

Categories

Resources