how to re-lock bootloader anyone know how to do this ?
fastwon said:
how to re-lock bootloader anyone know how to do this ?
Click to expand...
Click to collapse
Use fastboot and follow section 10 of this guide:
http://forum.xda-developers.com/showthread.php?t=3206928
Sent from my Nexus 5X using Tapatalk
In terminal Command type fastboot flashing unlock
Related
Hey, I want to upgrade my N7 bootloader from 3.41.3 to a newer vesion because I want to install M kernel.
How do you upgrade it?
Daniel120201 said:
Hey, I want to upgrade my N7 bootloader from 3.41.3 to a newer vesion because I want to install M kernel.
How do you upgrade it?
Click to expand...
Click to collapse
With very considerable care!
Hi, Daniel120201...
The method I use is via fastboot... I don't know if the various toolkits that are available can flash a bootloader, as I've never used them.
So, using fastboot, the command line syntax is...
Code:
fastboot flash bootloader bootloader-grouper-4.23.img
...for flashing bootloader-grouper-4.23.img on a WiFi only 'grouper' Nexus 7.
The bootloader for the WiFi+3G Nexus 7 ('tilapia') will have a different bootloader name.
** (Edit & addendum: just checked, and as expected, it's called bootloader-tilapia-4.23.img) **
So for a WiFi & 3G Nexus 7, the bootloader flash command would be...
Code:
fastboot flash bootloader bootloader-tilapia-4.23.img
-----------------------------------------
IT'S VITALLY IMPORTANT YOU FLASH THE CORRECT BOOTLOADER FOR YOUR SPECIFIC NEXUS 7. Fastboot flashing an incorrect bootloader to the bootloader partition WILL HARDBRICK the device.
And on that note... and before you do anything... it's important you read the following first...
[WARNING][URGENT] N7 grouper (2012 WiFi) bootloader .img files from Google.
Hope this helps... and good luck.
Rgrds,
Ged.
Ty but I upgraded it before seeing this
You still deserve a thanks
GedBlake said:
With very considerable care!
Hi, Daniel120201...
The method I use is via fastboot... I don't know if the various toolkits that are available can flash a bootloader, as I've never used them.
So, using fastboot, the command line syntax is...
Code:
fastboot flash bootloader bootloader-grouper-4.23.img
...for flashing bootloader-grouper-4.23.img on a WiFi only 'grouper' Nexus 7.
The bootloader for the WiFi+3G Nexus 7 ('tilapia') will have a different bootloader name.
** (Edit & addendum: just checked, and as expected, it's called bootloader-tilapia-4.23.img) **
So for a WiFi & 3G Nexus 7, the bootloader flash command would be...
Code:
fastboot flash bootloader bootloader-tilapia-4.23.img
-----------------------------------------
IT'S VITALLY IMPORTANT YOU FLASH THE CORRECT BOOTLOADER FOR YOUR SPECIFIC NEXUS 7. Fastboot flashing an incorrect bootloader to the bootloader partition WILL HARDBRICK the device.
And on that note... and before you do anything... it's important you read the following first...
[WARNING][URGENT] N7 grouper (2012 WiFi) bootloader .img files from Google.
Hope this helps... and good luck.
Rgrds,
Ged.
Click to expand...
Click to collapse
Hi mate ,
really good information , i been looking for something like that for a while...
Where do i get the bootloader from? factory images? if so i have to unlock them and root them again.....
And besides fastboot can i use tools like NRT to flash them?
So many questions...
MAX 404 said:
Hi mate ,
really good information , i been looking for something like that for a while...
Where do i get the bootloader from? factory images? if so i have to unlock them and root them again.....
And besides fastboot can i use tools like NRT to flash them?
So many questions...
Click to expand...
Click to collapse
You download the factory image, extract it and it should be one of the files. The just fastboot flash bootloader bootloadername.img
kilometers4 said:
You download the factory image, extract it and it should be one of the files. The just fastboot flash bootloader bootloadername.img
Click to expand...
Click to collapse
Thanks.
then i should unlock it and root again? also newer is better i am on 4.21 now
MAX 404 said:
Thanks.
then i should unlock it and root again? also newer is better i am on 4.21 now
Click to expand...
Click to collapse
Is it already unlocked? If it is I'm pretty sure it will stay unlocked. But if it isn't, yes you can unlock and root it. Just keep in mind that unlocking the bootloader will wipe your data
kilometers4 said:
Is it already unlocked? If it is I'm pretty sure it will stay unlocked. But if it isn't, yes you can unlock and root it. Just keep in mind that unlocking the bootloader will wipe your data
Click to expand...
Click to collapse
It is already unlocked , thanks for the support , you are number 1.
Firstly if this is already mentioned somewhere I apologize and moderator please delete this thread. I was on 5.0.2 lollipop and had my boot loader unlocked with root and I just got back my stock recovery and I'm also on the official marshmallow through ASUS but I'm wanting to know if I'm still unlocked and how if possible I can re-root my phone? Thanks in advance
@corybucher
Bootloader should be unlocked.
To confirm it you can run this command:
Code:
fastboot oem device-info
Output should be 'device unlocked: true'. If not then you know how to unlock it.
saurav007 said:
@corybucher
Bootloader should be unlocked.
To confirm it you can run this command:
Output should be 'device unlocked: true'. If not then you know how to unlock it.
Click to expand...
Click to collapse
Is there anyway to check this from the phone itself?
corybucher said:
Is there anyway to check this from the phone itself?
Click to expand...
Click to collapse
I think no. Fastboot is only option.
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.
What does OEM Unlock do on this phone? Just wondering?
Sent from my [device_name] using XDA-Developers Legacy app
If you have full fastboot commands (which none do unless you flash them with an octopus), it let's you unlock the bootloader.
bacon612 said:
If you have full fastboot commands (which none do unless you flash them with an octopus), it let's you unlock the bootloader.
Click to expand...
Click to collapse
Oh ok. I see. I've been out of the flashing and rooting game a while. Trying to get reoriented. Thanks
Hi,
I'm thinking.
To unlock the bootloader I need to wait 180h.
After that I decide to relock the bootloader.
If I want to unlock it again I will have to wait 180h again?
Nope. Only first time
Can I use the "fastboot oem unlock" command to re-unlock the bootloader without the mi tool?
dedraks said:
Can I use the "fastboot oem unlock" command to re-unlock the bootloader without the mi tool?
Click to expand...
Click to collapse
Not sure that work.
but if you install fastboot rom via Miflash and have lock bootloader case ticked does the job.
Caution: Flash the same rom your phone model is from. China/global or india.
dedraks said:
Hi,
I'm thinking.
To unlock the bootloader I need to wait 180h.
After that I decide to relock the bootloader.
If I want to unlock it again I will have to wait 180h again?
Click to expand...
Click to collapse
You have to wait as been to this situation or you can use another account if have permission .