Would it be possible to re-lock the bootloader if I changed the rom and recovery - OnePlus Nord Questions & Answers

I've been thinking of unlocking the bootloader and changing the rom to Pixel experience. If I eventually decide to revert back to OOS would it be possible to also re-lock the bootloader?

Yes. You can do that via cmd or use the restore tool here: https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4148415/
Be warned, do not try to relock bootloader untill you are full stock because you might brick the phone and be forced to use the tool i linked above ( i did it once )

a-regular-pear said:
I've been thinking of unlocking the bootloader and changing the rom to Pixel experience. If I eventually decide to revert back to OOS would it be possible to also re-lock the bootloader?
Click to expand...
Click to collapse
I re locked the bootloader when I was on Pixel Experience Rom A11 using avb_custom key .img file. It was optional but I still did it successfully. However, I have not tried to lock bootloader on custom ROM since the 12 ROMs came as it is not mentioned anywhere so it might brick the device. If you want to re lock the BL then you'll have to go back to stock OOS. Try using the unbrick or MSM tool for OP Nord (Specific model/region).

Related

New in MI4C

Hello everyone.
I live in Brazil and I bought at the Aliexpress MI4C Xiaomi. I haven't received it yet, but I've already started researching ways to use it with another ROM than the original. The seller sends the device with google apps and multilanguage option. So, he makes some modification in the ROM, and says to not update the ROM officially on Xiaomi servers.
I see a lot of complaints about the Chinese bloatwares in ROM and so I wanted to install one that was good, but nothing with applications in Chinese or unnecessary ones.
My question is: in this case the bootloader is already unlocked?
In the meantime, I sent my request for unlocking bootloader to Xiaomi and received the SMS containing a link. As soon as I get the cellphone I intend to do the procedure. There is a risk of bricking the phone?
I’ll do appreciate good links with how-to and good ROM to daily use.
Thank you.
The seller shipping a modified ROM and telling you not to update the official would suggest your bootloader will not be locked. For now only flashing the latest official China dev builds will lock your bootloader.
Getting pre-approved for unlocking couldn't hurt though I guess.. just in case. You might need to have a working Xiaomi framework in your ROM to register your phone once though. If your ROM does not have the xiaomi services, I would suggest either Xiaomi.eu or sMiUI as a ROM, both are pretty much stock MIUI with some chinese bloat trimmed.
But most likely you will not need to unlock your bootloader anyway. You will need to check your bootloader through adb anyway before doing the steps to flashing a new ROM. You will best be flashing your recovery through adb, the instructions can be found through most ROM pages or simply searching TWRP Mi 4C. The command to check if it's unlocked is
Code:
fastboot oem device-info
A very extensive directory can be found in the INDEX thread, first in this forum.
Logic_ said:
The seller shipping a modified ROM and telling you not to update the official would suggest your bootloader will not be locked. For now only flashing the latest official China dev builds will lock your bootloader.
Getting pre-approved for unlocking couldn't hurt though I guess.. just in case. You might need to have a working Xiaomi framework in your ROM to register your phone once though. If your ROM does not have the xiaomi services, I would suggest either Xiaomi.eu or sMiUI as a ROM, both are pretty much stock MIUI with some chinese bloat trimmed.
But most likely you will not need to unlock your bootloader anyway. You will need to check your bootloader through adb anyway before doing the steps to flashing a new ROM. You will best be flashing your recovery through adb, the instructions can be found through most ROM pages or simply searching TWRP Mi 4C. The command to check if it's unlocked is
Code:
fastboot oem device-info
A very extensive directory can be found in the INDEX thread, first in this forum.
Click to expand...
Click to collapse
you cannot check the bootloader locked or not by that way. My phone when checking this, gets the input "bootloader unlocked: false" but I can flash other recovery freely.
in his case, he is using a modified rom, it means his bootloader is not yet unlocked. Right now, if he wants to come back to chinese rom, he should use Mi flash to flash his phone. If he wants other rom like CM13, he should download the latest TWRP and the rom, put the rom into his phone storage. Then try to go to fastboot to flash the recovery, then go to the recovery and flash the rom.
tuanhung303 said:
you cannot check the bootloader locked or not by that way. My phone when checking this, gets the input "bootloader unlocked: false" but I can flash other recovery freely.
in his case, he is using a modified rom, it means his bootloader is not yet unlocked. Right now, if he wants to come back to chinese rom, he should use Mi flash to flash his phone. If he wants other rom like CM13, he should download the latest TWRP and the rom, put the rom into his phone storage. Then try to go to fastboot to flash the recovery, then go to the recovery and flash the rom.
Click to expand...
Click to collapse
Ah, that might be incorrectly reporting indeed. In any case when trying to flash recovery, if you're locked it'll simply fail and won't be harmful.
But why would you think his bootloader is not unlocked? If he's using a modified rom, it was probably flashed through fastboot or a custom recovery, both require the bootloader to be unlocked.
But even if he was not on a modified rom, stock Mi 4c have always come bootloader unlocked. Someone would have to have gone out of their way to lock the bootloader and I doubt any reseller would do that, they would risk a lot of refunds from angry customers.
I strongly advise against using miflash to flash any official rom unless you have no choice, since then there's a chance you WILL lock your bootloader. For now only dev builds are locking it, but the next stable release might very well too.
The first step should be to flash TWRP
The second step to stay away from Official China build
The third step to keep away from Official China build
The fourth st...
^ sorry my bad.... I was not focused. Actually I mean his bootloader is unlocked .
The safest way is flashing via computer, using mi flash or flash twrp image. You are right
1. Ur phone not lock bootloader
2. U can flash custom recovery...(TWRP)
3. "MUST" Stay away from official MIUI ROM
4. Flash whatever u want...sMiui, CM13, etc,etc
5. Remember Point No.3
***Btw, download official Fastboot ROM and keep it to ur drive, for just in case if u want to sell it again
Hello. Thank you all. I just received my phone. Great, btw. I'll read again and again all instructions and try. Thanks again!
Cadimarco said:
Hello. Thank you all. I just received my phone. Great, btw. I'll read again and again all instructions and try. Thanks again!
Click to expand...
Click to collapse
Even as a last resort to getting your phone working if you did something wrong, please don't install the newer official roms, it's the mistake I did this weekend now I have a locked phone with a rom that has force-closes everywhere and absolutely no way back.
vletrmx21 said:
Even as a last resort to getting your phone working if you did something wrong, please don't install the newer official roms, it's the mistake I did this weekend now I have a locked phone with a rom that has force-closes everywhere and absolutely no way back.
Click to expand...
Click to collapse
yes, or the safer way is always flash the latest chinese rom via miflash. twrp does not like Chinese roms
tuanhung303 said:
yes, or the safer way is always flash the latest chinese rom via miflash. twrp does not like Chinese roms
Click to expand...
Click to collapse
No
No No
No No No
No No
No
No.
Don't flash the latest chinese rom.
No.
The only scenario where you would want to use miflash to flash a chinese rom would be as a last resort to flash the fastboot version of V7.1.6.0.LXKCNCK to restore your phone. Any later version will lock your bootloader.
If you don't care about locking your bootloader and the arduous process of unlocking it, you're easier off just taking all the latest updates OTA via the updater.
Hello everyone. Thanks for the help. In fact my bootloader was unlocked. I flashed twrp 3.0.0.3 and flashed the CM13 teamluminial, Android 6.0.1. Excellent. Thank you.
Hi!
Same scenario here..
I will receive Mi 4c with the Bootloader Unlocked, Rooted and the Multilanguage ROM.
But I have already received from Xiaomi after my request also the number for the official unlock procedure but now I'm a bit confused..
Do I have to unlock the bootloader once and for good with the official way?
Because I've read that the unofficial way isn't so secure in long term.
Do I have to install from the Updater the latest Cina Dev ROM and after that to proceed with the official unlock? Or it is better to use the Fastboot ROM?
Please could some one tell me in any case what to do ?
Thanks !
If you don't flash something that will lock your BL, no need to Unlock.
Ok first I must check the status of the bootloader to be sure that it is unlocked (via cmd control or cpu-z)
And after that can I choose an unofficial weekly miui.eu international ROM and install it?
Can I download and also update every week via Updater this ROM without issues?
At the moment my problem with flashing is that I don't have my pc (the one I have now runs win xp) and I don't want to stuck with the eventually malware or fully spammed modified rom of the reseller..
Which options do I have?
How does TWRP nandroid work with no sd card?
stillsober said:
How does TWRP nandroid work with no sd card?
Click to expand...
Click to collapse
TWRP works perfectly. The backup is simply stored in your internal storage。

Going back to stock and relock bootloader

Hi guys, I rooted my op8t but I haven't installed custom recovery yet. I wanted to use cyberpunk modules(my phone version is KB2001 INDIA 12GB 256GB). After installing it I felt some flaws and I was thinking of flashing it over my secondary phone(Le max2) and keeping op8T as stock as possible. When I asked about this issue to my friends, they suggested not to relock the bootloader as it will corrupt the persist.img and I will loose the fingerprint unlock. Is there any way I can revert to full stock with bootloader locked without any problems?
Use the MSM tool. It'll convert it to stick and relock the bootloader. I have the US TMobile version and I have unlocked and relocked (when reverting to stock using MSM tool) ans I did not have any issues with fingerprint or any other issues.
androidbuff123 said:
Use the MSM tool. It'll convert it to stick and relock the bootloader. I have the US TMobile version and I have unlocked and relocked (when reverting to stock using MSM tool) ans I did not have any issues with fingerprint or any other issues.
Click to expand...
Click to collapse
I heard it will give problem to persist file resulting in fp scanner failure. I can understand what you are saying. I am bit worried as I installed some modules on magisk. Will it be ok?.
Also, I'm believing in you. Can u please tell me the procedure on how to do so

Question Relocking Bootloader via Mi Tools

Greetings Poco users, I just decided to relock my bootloader, but from my experience, on my last Redmi 7 when I did it, my phone turned to "Lock Mode" and after all I had to unlock it again. Is it completely alright, or you have any idea how I can do it?
Thank you in advance.
KlimoCZ said:
Greetings Poco users, I just decided to relock my bootloader, but from my experience, on my last Redmi 7 when I did it, my phone turned to "Lock Mode" and after all I had to unlock it again. Is it completely alright, or you have any idea how I can do it?
Thank you in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
I mean you can re-lock without worry as long as you are running the stock OS and configs. If you try the same while running a custom ROM it would just hard brick your device. As suggested by the user above, Mi Flash Tool (the one you use to flash fastboot ROM's) has an option to lock the bootloader as well, very simple process.
Naveenthemi said:
I mean you can re-lock without worry as long as you are running the stock OS and configs. If you try the same while running a custom ROM it would just hard brick your device. As suggested by the user above, Xiaomi Flash Tool (the one you used to unlock the bootloader) has an option to lock the bootloader as well, very simple process.
Click to expand...
Click to collapse
Xiaomi flash tool and Miflash unlock are two different software.
When you relock the bootloader with Miflash tool you flash a rom and relock.
Miflash unlock as its name suggests is only used for unlocking.
You can use Mi Flash tool with any Miui rom by relocking or not.
obviously does not work with an AOSP rom.
NOSS8 said:
Xiaomi flash tool and Miflash unlock are two different software.
When you relock the bootloader with Miflash tool you flash a rom and relock.
Miflash unlock as its name suggests is only used for unlocking.
You can use Mi Flash tool with any Miui rom by relocking or not.
obviously does not work with an AOSP rom.
Click to expand...
Click to collapse
My bad, messed the names up.
Thank you, I will try it when they release new build for EU version which is my stock ROM.

oneplus 8t unroot + get back to stock

Hi,
I am currently on A11 with Oneplus 8T and unlocked bootloader + rooted stock rom.
What is the proper process to lock the bootloader and to get back the stock rom? What are the options?
Can I just factory reset the device?
Thanks,
2019registered said:
Hi,
I am currently on A11 with Oneplus 8T and unlocked bootloader + rooted stock rom.
What is the proper process to unlock the bootloader and to get back the stock rom? What are the options?
Can I just factory reset the device?
Thanks,
Click to expand...
Click to collapse
You're confusing us
You're already unlock+root
Then again ask for unlock BL!
If you want just stock then flash boot from stock that's it nothing else to do
@Mr Hassan sorry, I have just edited the first post. I want to LOCK the bootloader and get fully back to an unrooted stock rom.
2019registered said:
@Mr Hassan sorry, I have just edited the first post. I want to LOCK the bootloader and get fully back to an unrooted stock rom.
Click to expand...
Click to collapse
That's simple just flash stock rom or boot and relock it
2019registered said:
@Mr Hassan sorry, I have just edited the first post. I want to LOCK the bootloader and get fully back to an unrooted stock rom.
Click to expand...
Click to collapse
Install the latest rom for your phone from the OnePlus support site using local install. That will overwrite the Magisk patched boot you currently have installed.
After the phone reboots (you'll see that Magisk shows it's not installed) then boot into bootloader and use fastboot oem lock
Then select NO (yes, this is a bug in the OOS bootloader) and that should wipe your phone and bring it up with the bootloader locked.
if you want the easiest fastest way, just use the msm tool for the correct model.
ps. if you dont care about losing your data

Will I get a brick if I lock bootloader with an old stock ROM?

I want to relock bootloader, but will I get brick if I lock bootloader with old stock ROM installed on device?
Look inside here:
Lock BootLoader after Rooting?
Thanks for taking time to read my query. I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero) and before looking can I take everything backup on titanium backup and then restore everything after locking ? I'm I...
forum.xda-developers.com
jwoegerbauer said:
Look inside here:
Lock BootLoader after Rooting?
Thanks for taking time to read my query. I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero) and before looking can I take everything backup on titanium backup and then restore everything after locking ? I'm I...
forum.xda-developers.com
Click to expand...
Click to collapse
I know that if I install modified ROM and lock bootloader I will get a brick. But will I get a brick if i install official (stock) ROM but old version and then lock bootloader? For example, I installed stock ROM (not modified) with Android 10, but the latest is Android 11 then I locked bootloader. Will I get a brick?
jwoegerbauer said:
Look inside here:
Lock BootLoader after Rooting?
Thanks for taking time to read my query. I was wondering if I've to lock boot-loader after rooting ( I just rooted my Oero) and before looking can I take everything backup on titanium backup and then restore everything after locking ? I'm I...
forum.xda-developers.com
Click to expand...
Click to collapse
The question is, can I lock the bootloader with the old version of the official firmware installed without getting a brick. Because the old version of the firmware works smoother.
Locking a bootloader doesn't affect ROM actually installed: Lock or Unlock will wipe your data, that's all.
jwoegerbauer said:
Locking a bootloader doesn't affect ROM actually installed: Lock or Unlock will wipe your data, that's all.
Click to expand...
Click to collapse
So can I install old version of fw? I heard something about rollback protection.
Oybek78 said:
So can I install old version of fw? I heard something about rollback protection.
Click to expand...
Click to collapse
You still, or I didn´t find, that you mention the model of your device, that´s matter to have the right answer.
Also, it depends on which method you used to flash the ROM, if you officially, flashed the ROM, and the rollback didn´t affect your device, then it won´t do, locking or unlocking it.
Oybek78 said:
So can I install old version of fw? I heard something about rollback protection.
Click to expand...
Click to collapse
The stock ROM can be installed on the phone at any time. Mostly via ADB / Fastboot tools.
SubwayChamp said:
You still, or I didn´t find, that you mention the model of your device, that´s matter to have the right answer.
Also, it depends on which method you used to flash the ROM, if you officially, flashed the ROM, and the rollback didn´t affect your device, then it won´t do, locking or unlocking it.
Click to expand...
Click to collapse
My phone is Sony Xperia 1 J9110. I flashed it officially to the latest ROM through settings. Then I unlocked the bootloader and flashed the old stock ROM via newflasher. Then I decided to relock the bootloader with old stock ROM installed. Does this mean that I will get my phone bricked if I lock the bootloader with old stock ROM actually installed?
jwoegerbauer said:
The stock ROM can be installed on the phone at any time. Mostly via ADB / Fastboot tools.
Click to expand...
Click to collapse
But can I lock the bootloader with old stock ROM installed?
I saw somewhere that if you lock the bootloader with the old firmware version, you may get brick. But I'm not sure about that.
Why steadily repeat your posts?
FYI: I hereby opt out of this thread.
jwoegerbauer said:
Why steadily repeat your posts?
FYI: I hereby opt out of this thread.
Click to expand...
Click to collapse
Because you answered me
Oybek78 said:
My phone is Sony Xperia 1 J9110. I flashed it officially to the latest ROM through settings. Then I unlocked the bootloader and flashed the old stock ROM via newflasher. Then I decided to relock the bootloader with old stock ROM installed. Does this mean that I will get my phone bricked if I lock the bootloader with old stock ROM actually installed?
Click to expand...
Click to collapse
Yes, always that you flash a stock ROM, you can re-lock it, fastboot will erase the data as a security measurement.

Categories

Resources