Relocking bootloader !! - Xiaomi Redmi Note 7 Questions & Answers

How do i lock the bootloader because im most probably gonna sell this device ..

H3M3L said:
How do i lock the bootloader because im most probably gonna sell this device ..
Click to expand...
Click to collapse
Just flash MIUI with a Fastboot ROM via Fastboot Method, It will do a clean install as if you device is new. Remember to pick the same version (Globlal, EEA, CN, etc)
Link: Fastboot Method

Related

Strange problem with Re-Locking bootloader

Hi guyz, i've a little problem here.
I've to Lock my bootloader. Now i did it several times, with different tools too. Now:
If i use correct droidboot version (lollipop one) and flash it, the bootloader is not (secure), so not locked.
But if i try with a tool and it flashes the KK fastboot, it works, it's relocked.
Can you tell me why? Thanks!
steakhutzeee said:
Hi guyz, i've a little problem here.
I've to Lock my bootloader. Now i did it several times, with different tools too. Now:
If i use correct droidboot version (lollipop one) and flash it, the bootloader is not (secure), so not locked.
But if i try with a tool and it flashes the KK fastboot, it works, it's relocked.
Can you tell me why? Thanks!
Click to expand...
Click to collapse
Seems the Lollipop fastboot doesn't have the signature check that kitkat fastboot has.
But, even you can flash custom files with locked bootloader and lollipop fastboot, the system don't boot, stucks at USB logo, so it means the bootloader is locked.
leonardohenrique10 said:
Seems the Lollipop fastboot doesn't have the signature check that kitkat fastboot has.
But, even you can flash custom files with locked bootloader and lollipop fastboot, the system don't boot, stucks at USB logo, so it means the bootloader is locked.
Click to expand...
Click to collapse
Thanks! You sure about this? I've to return the phone to amazon, and i would to be sure of this :silly:
steakhutzeee said:
Thanks! You sure about this? I've to return the phone to amazon, and i would to be sure of this :silly:
Click to expand...
Click to collapse
Yes, I tested in my phone, flashed custom kernel with locked bootloader and fastboot from Lollipop .87, flash sucessfully, but when I try to boot... USB logo.
Only KitKat fastboot has signature check.
leonardohenrique10 said:
Yes, I tested in my phone, flashed custom kernel with locked bootloader and fastboot from Lollipop .87, flash sucessfully, but when I try to boot... USB logo.
Only KitKat fastboot has signature check.
Click to expand...
Click to collapse
Ok, thank you
In fastboot (lollipop) i've an (?) next to signature and other values i don't remeber. You too?
steakhutzeee said:
Ok, thank you
In fastboot (lollipop) i've an (?) next to signature and other values i don't remeber. You too?
Click to expand...
Click to collapse
Yes, same on my device. I think it's normal.
Yes, fastboot mode of lollipop firmware on ZenFone 5 / 6 is able to flash custom kernel / recovery, but it won't boot until bootloader unlocked.

Is it possible to relock the bootloader?

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.

Possible to Relock Bootloader w/o Wipe?

I have Lineage OS 14.1 on my phone and need to use Duo Mobile for 2 factor authentication. In spite of the fact that I have "unrooted" the system is still detecting that I a have tampered with my device. I will assume it's because the bootloader is unlocked.
I really, really don't want to wipe the phone and reconfigure all my apps (yes, it's easier than it used to be). Getting into fastboot and doing the fast relock commands is pretty clear to me, but how to get my device back to exactly where it is, but just with the bootloader locked?
Not possible.
Sent from my ZTE A2017U using Tapatalk
kendoori said:
I have Lineage OS 14.1 on my phone and need to use Duo Mobile for 2 factor authentication. In spite of the fact that I have "unrooted" the system is still detecting that I a have tampered with my device. I will assume it's because the bootloader is unlocked.
I really, really don't want to wipe the phone and reconfigure all my apps (yes, it's easier than it used to be). Getting into fastboot and doing the fast relock commands is pretty clear to me, but how to get my device back to exactly where it is, but just with the bootloader locked?
Click to expand...
Click to collapse
You can't relock unless you are fully stock (actually you can, but you'll have a brick for life)
Choose an username... said:
You can't relock unless you are fully stock (actually you can, but you'll have a brick for life)
Click to expand...
Click to collapse
I have the a2017 model. Can I flash G or U stock firmware keeping the Chinese firmware modem and relock the bootloader. Do you know whether this is possible or would work without bricking.
FuzzyDunlop9 said:
I have the a2017 model. Can I flash G or U stock firmware keeping the Chinese firmware modem and relock the bootloader. Do you know whether this is possible or would work without bricking.
Click to expand...
Click to collapse
To relock the bootloader you will need fastboot. None of the newer stock firmwares have fastboot asides from Chinese B19. You will need to EDL Flash B19 and use the Axon 7 Tool to relock the bootloader. After that, you can flash any Axon 7 firmware you'd like. Any A7 firmware works on any A7 model.
Make sure to replace the NONHLOS.bin in the files of the EDL package with the NONHLOS.bin from the Chinese firmware. This file is the modem, and so if you live in China, you will need to replace the US/EU modem file inside the package with the Chinese one.
It won't brick your phone, but it's not possible to relock the bootloader without wiping. I'd suggest a backup app such as Titanium Backup or something else (not too sure about non-root backup apps).
runninghamster said:
To relock the bootloader you will need fastboot. None of the newer stock firmwares have fastboot asides from Chinese B19. You will need to EDL Flash B19 and use the Axon 7 Tool to relock the bootloader. After that, you can flash any Axon 7 firmware you'd like. Any A7 firmware works on any A7 model.
Make sure to replace the NONHLOS.bin in the files of the EDL package with the NONHLOS.bin from the Chinese firmware. This file is the modem, and so if you live in China, you will need to replace the US/EU modem file inside the package with the Chinese one.
It won't brick your phone, but it's not possible to relock the bootloader without wiping. I'd suggest a backup app such as Titanium Backup or something else (not too sure about non-root backup apps).
Click to expand...
Click to collapse
Thanks for replying. So I flashed the A2017_B15_FULL_EDL Android: 6.0.1 onto my a2017 axon 7. I replaced the NONHLOS.bin (modem) in the edl file with the Chinese modem which I took from A2017_B15_FULL_EDL Android: 6.0.1. I'm able to get network signal and works as expected.
I can't seem to lock the bootloader. Fastboot works on this firmware but the fastboot oem lock command does nothing, I keep getting failed.
Are you suggesting I flash stock firmware, one that has fastboot commands working, designed for a2017, lock the bootloader and then using a tool like djkuz Axon 7 EDL Tool flash a2017g firmware.
The reason why I need a2017g firmware is I'm tryna sell my axon at CEX and they won't accept it cos it has Chinese software. If it has European firmware with locked bootloader it'll pass their software check.
FuzzyDunlop9 said:
Thanks for replying. So I flashed the A2017_B15_FULL_EDL Android: 6.0.1 onto my a2017 axon 7. I replaced the NONHLOS.bin (modem) in the edl file with the Chinese modem which I took from A2017_B15_FULL_EDL Android: 6.0.1. I'm able to get network signal and works as expected.
I can't seem to lock the bootloader. Fastboot works on this firmware but the fastboot oem lock command does nothing, I keep getting failed.
Are you suggesting I flash stock firmware, one that has fastboot commands working, designed for a2017, lock the bootloader and then using a tool like djkuz Axon 7 EDL Tool flash a2017g firmware.
The reason why I need a2017g firmware is I'm tryna sell my axon at CEX and they won't accept it cos it has Chinese software. If it has European firmware with locked bootloader it'll pass their software check.
Click to expand...
Click to collapse
Yeah, that's basically it.
runninghamster said:
Yeah, that's basically it.
Click to expand...
Click to collapse
Ooh so it's possible to edl flash even with a locked bootloader?
FuzzyDunlop9 said:
Ooh so it's possible to edl flash even with a locked bootloader?
Click to expand...
Click to collapse
Yep.

relock bootloader

I have Mi 9T Global version Rom ; i unlocked the bootloader and flash Rom EEA european
all work fine now i need help relockin bootloader
If you relock your bootloader, it will format all your data.
You only have to type this fastboot command:
Code:
fastboot oem lock
And if the phone doesn't reboot itself:
Code:
fastboot reboot
REDOTHELLO said:
I have Mi 9T Global version Rom ; i unlocked the bootloader and flash Rom EEA european
all work fine now i need help relockin bootloader
Click to expand...
Click to collapse
Please share here whether EEA ROM still works on Global device after bootloader re-lock.
YuraBY said:
Please share here whether EEA ROM still works on Global device after bootloader re-lock.
Click to expand...
Click to collapse
Ok
May you provide an explanation for your process of installing the ROM starting from twrp please ??
No trwp unlock the bootloader.
Flash fastboot flash clean all adb command
Thats is it i received update miui 11.
there's no way to relock bootloader i tested many ways but. Not work.
If any?
REDOTHELLO said:
there's no way to relock bootloader i tested many ways but. Not work.
If any?
Click to expand...
Click to collapse
What error you are getting when trying to relock?

I can't manually install any ota update after locking the bootloader on 12.0.9

I don't want to unlock the bootloader again and i don't like this update because it doesn't have google discover.. what can i do?
You can just stay on current version.
Or just install via fastboot and fastboot ROM
yaro666 said:
You can just stay on current version.
Or just install via fastboot and fastboot ROM
Click to expand...
Click to collapse
Without unlocking the bootloader? How?
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
yaro666 said:
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
Click to expand...
Click to collapse
I did exactly that. Thank you.

Categories

Resources