Relocking bootloader - Huawei P20 Lite Guides, News, & Discussion

Hello,
It has been a while since I unlocked bootloader using code provided fom Huawei, but I no longer have that code or lock code, and I would like to restore my phone to factory like conditions ( so locked bootloader, ROM was always stock).
What is the best method to lock bootloader back again without code from Huawei?

Flash a stock firmware

Related

Help!!! I can't enter to the recovery mode to install a custom ROM

Hay
I have a Sony Xperia M Single SIM and I download a cyanogen custom ROM. The problem is I can't enter to the bootloader or the recovery mode to install the ROM. I did this process:
I shut-down the phone, then i get pressing and holding the power button until the phone get on, and i pressed quikcly the button volum up too. And the phone doesn't response, it take me to the "Enter your pin" normal mode.
One more thing:
the phone is blocked on Orange here in Spain, and i searched if does exist any method to unlock the bootloader or something like that, and I found in the sony website some procedures to know if your phone can get unlocked, and i entered the following number *#*#7378423#*#*, then to: Service info > Configuration > Rooting Status. And the Bootloader unlock says No!!!!
If any one can help me to install a custom ROM I'll appreciate that. I have no idea how I can do it, specially on Sony's phones, on Samsung's phone I didn't had any problem.
I'm sorry for my English is very bad
Your bootloader is locked (and it's not unlockable), so, no way of using custom ROMs in your phone ate the moment...
mbc07 said:
Your bootloader is locked (and it's not unlockable), so, no way of using custom ROMs in your phone ate the moment...
Click to expand...
Click to collapse
So why it is Locked. The is a several phones has it unlocked. Why the mine ???
Can you explain me why is locked and no unlocked?
You should unlock it manually check the forums to unlock the bootloader
Just to make clear, Xperia devices has two types of lock: SIM Lock and Bootloader Lock. The SIM Lock prevent you from using SIM cards from other carriers, and you can remove your SIM lock in any device by paying to your carrier or to a service center (in some countries the carrier removes the SIM lock for free in some cases).
Then comes the bootloader lock. With a locked bootloader, you can't boot in recovery mode because there isn't a recovery mode in stock ROM (trying to do so will just start the phone normally). You also can't flash custom recoveries or kernels (needed to use custom ROMs) with a locked bootloader. All Xperia devices comes with the bootloader locked from factory, but in most of them they're unlockable...
If you bought your Xperia device directly from a retail store, your bootloader is certainly unlockable and you can proceed with the method you tried (go to Sony website, input your IMEI, get your unlock code, etc.). If you bought your Xperia from a carrier (Orange, in your case) then your bootloader is very likely to be not unlockable, and that's your case, your bootloader isn't unlockable, as you already checked by going into Service Menu with *#*#7378423#*#*. If your bootloader isn't unlockable, you are out of luck, you can't do anything, there isn't any other method...
And further info if you get an unlockable Xperia device in future: by unlocking your bootloader, your warranty is void and your DRM keys get wiped, because of that, some proprietary Sony apps won't work anymore (Mobile BRAVIA Engine, TrackID, "Download Music Info", PlayStation Certified features,etc). So, if your bootloader is unlockable, you should to a TA backup before unlocking it, so, in future, if you want, you can relock your bootloader and get your DRM keys back, so the proprietary Sony apps works again...
Also, removing your SIM lock doesn't unlock your bootloader as well as unlocking your bootloader doesn't remove your SIM lock. They're two different things, completely independent of each other...
asdcxz1 said:
You should unlock it manually check the forums to unlock the bootloader
Click to expand...
Click to collapse
Read the OP, its bootloader can't be unlocked

Bootloader Unlock Allowed: No and CWM Question

Hi Everybody,
I have a Xperia M C1904 on JB 4.3 [15.4.A.1.9] on Vodafone Australia
My bootloader unlock status is no i was wondering if it is possible to
A) Unlock the bootloader
B) install Custom roms (KitKat Possibly?)
C) get some form of custom recovery whether it be TWRP or CWM etc.
and also i would like to know step by step how to check whether the sim is locked and if possible how to unlock for free (if locked)
i know its alot to ask
Thanks
Andrew
I'll tell you everything I know.
Unlocking the bootloader unlocks the full capacity of the phone. This means you will be able to flash a custom recovery, and within the custom recovery, you can flash ROMs and everything else. But if "Bootloader unlock allowed" says no, then you won't be able to unlock your bootloader, thus not being able to flash a custom recovery. The only way to flash these is to implement a custom recovery for locked bootloaders, which is not yet available for Xperia M.
To determine whether your SIM is locked, the phone won't read it and would request for a SIM Unlock PIN.
SonyXperiaM said:
Hi Everybody,
I have a Xperia M C1904 on JB 4.3 [15.4.A.1.9] on Vodafone Australia
My bootloader unlock status is no i was wondering if it is possible to
A) Unlock the bootloader
B) install Custom roms (KitKat Possibly?)
C) get some form of custom recovery whether it be TWRP or CWM etc.
and also i would like to know step by step how to check whether the sim is locked and if possible how to unlock for free (if locked)
i know its alot to ask
Thanks
Andrew
Click to expand...
Click to collapse
A) we will never be able to unlock the bootloader if it says bootloader unlock Allowed: no.
B) possibly in the near future, if we get a custom recovery working on LB
C) some devs are working on it, but nothing yet. We could be getting it in the near future.
To see if your phone is sim locked, go to the phone app and enter the code *#*#7378423#*#* and a service menu should open up. Click on service info, then sim lock. If you have a 3 beside network then you are sim locked. If you have a 0 then you are sim unlocked.

Flashing stuff with locked b loader ?

• Purpose of this thread is Just to know
• What would be the consequences to take if I flashed a custom recovery with locked bootloader
• eMMC of my old LG G3 had gone to techiy heaven when I didn't unlock the bootloader
no its not possible to flash custom stuff with locked BL how ever its possible to switch between openbeta rom and stable oos rom ( stock )
With a locked bootloader, the phone will refuse to flash any file not signed with OnePlus's key. The bootloader only prevents you flashing an image through fastboot thought, so you could technically still flash images if you manage to load a custom recovery on the phone while the bootloader is locked. Certain phones with unlockable bootloaders may have exploits that allow users to install a custom recovery, though this is highly unadvisable as there is a real chance that you'll brick your phone. If you try to flash a custom recovery while the bootloader is locked, you'll just get an error message.
Thanks Lads !
Quite couraged me to get back to work

Questions about carrier unlock and re-lock the bootloader

Deear All,
I just bought my z2 force (t-mobile) from internet. It is an unlocked version and i can use it with my own sim card. However, i found that it cannot update via OTA as the bootloader is unlocked. I have heard that after i re-flash the firmware, the bootloader will be relocked. I am wondering, will the flashing re-activate the carrier lock?
Also, is it correct that after I flash via Lenovo Moto Smart Assistant. the bootloader will be locked again?
Is there other method to allow the phone to get OTA again?
Thanks a lot for your help.
hkguy80 said:
Deear All,
I just bought my z2 force (t-mobile) from internet. It is an unlocked version and i can use it with my own sim card. However, i found that it cannot update via OTA as the bootloader is unlocked. I have heard that after i re-flash the firmware, the bootloader will be relocked. I am wondering, will the flashing re-activate the carrier lock?
Also, is it correct that after I flash via Lenovo Moto Smart Assistant. the bootloader will be locked again?
Is there other method to allow the phone to get OTA again?
Thanks a lot for your help.
Click to expand...
Click to collapse
Unlocked bootloder won't stop an ota, but a custom logo.bin will. Chances are that the seller has also flashed a logo. When you boot you should see a warning about your bootloader being unlocked, if you don't and you just see a moto logo (or any stationary image really) then you have a custom logo which will fail otas. The easiest way to remedy this is to follow Uzephi's "How to Return to Stock' thread. Then you should get otas again. It is advised never to relock your bootloader. A good example of why would be that you have a custom logo, you relock, your phone fails to boot and you can't flash anything because you locked it. There is no real valid reason to relock your phone. As for losing carrier unlock, you shouldn't, those are usually permanent. Unless it was some hack which I doubt since I believe that is only for Spring variants. Just follow Uzephi's guide and you should be back to good.
41rw4lk said:
Unlocked bootloder won't stop an ota, but a custom logo.bin will. Chances are that the seller has also flashed a logo. When you boot you should see a warning about your bootloader being unlocked, if you don't and you just see a moto logo (or any stationary image really) then you have a custom logo which will fail otas. The easiest way to remedy this is to follow Uzephi's "How to Return to Stock' thread. Then you should get otas again. It is advised never to relock your bootloader. A good example of why would be that you have a custom logo, you relock, your phone fails to boot and you can't flash anything because you locked it. There is no real valid reason to relock your phone. As for losing carrier unlock, you shouldn't, those are usually permanent. Unless it was some hack which I doubt since I believe that is only for Spring variants. Just follow Uzephi's guide and you should be back to good.
Click to expand...
Click to collapse
Thanks a lot for your help. I will follow Uzephi's to reflash my phone. :good::good::good:

Moto Z2 force custom firmware make eom_locked

I have such problem.
xt1789-04 with TMobile. Bootloader unloccked. Was unlocked sim to use not in USA. After that i cann't flash any custom. After intaling firmware from trwp oem became locked. Also cann't donwgrade modem firmware. Also try to flash customs from adb - got anther oem_locked
You can check the Tmo carrier unlock policy. But I think the carrier can not be relocked (I've use ATT àn VRZ before). It seems the modem fw had problem (maybe its own firmware) if it had not recognized the sim card. If you have the EFS backup, you can restore it.
If you're bootloader is relock, no, the custom roms do not relock the bootloader. The unlocked bootloader can be relocked but can not be relocked as stock.

Categories

Resources