Question relock bootloader - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

is there possible to lock the bootloader after flashing custom rom ?

feel2death said:
is there possible to lock the bootloader after flashing custom rom ?
Click to expand...
Click to collapse
NEVER lock bootloader on Custom Rom, there is no reason why.

DenisCZ said:
NEVER lock bootloader on Custom Rom, there is no reason why.
Click to expand...
Click to collapse
There are valid reasons to lock your bootloader, but it shouldn't be done with unofficial software (a Custom ROM).
When the bootloader is locked, only signed software is allowed to boot, so only official ROMs can boot.

cyanGalaxy said:
There are valid reasons to lock your bootloader, but it shouldn't be done with unofficial software (a Custom ROM).
When the bootloader is locked, only signed software is allowed to boot, so only official ROMs can boot.
Click to expand...
Click to collapse
so u cant boot with custom rom when the bootloader locked even it already installed with custom rom ?

feel2death said:
so u cant boot with custom rom when the bootloader locked even it already installed with custom rom ?
Click to expand...
Click to collapse
Correct

why would you want to loick the boot loader after a custom rom is installed to begin with?

Related

[Q] About unlock the bootloader.

hi guys .I have a V500,and I had flashed the TWRP on my device. And then I flashed a custom rom such as cm11. But ,in my opinion ,many phones flash roms must unlock the bootloader first . and then flash the recovery etc. But why our v500 don't have to unlcok the bootloader ?
Does LG provide the offical bootloader unlock service? Thanks.:angel:
monkey1860 said:
hi guys .I have a V500,and I had flashed the TWRP on my device. And then I flashed a custom rom such as cm11. But ,in my opinion ,many phones flash roms must unlock the bootloader first . and then flash the recovery etc. But why our v500 don't have to unlcok the bootloader ?
Does LG provide the offical bootloader unlock service? Thanks.:angel:
Click to expand...
Click to collapse
Lg make their devices with locked bootloaders in contrary to asus nexus for example who allow you very easily to unlock the bootloader. Developers use a hack named loki to bypass the bootloader and allow us to flash custom roms and recoveries. Thats why you see a message if you re on a custom rom everytime you open your tablet, it means that loki is working fine at that moment. If we had unlocked bootloaders we wouldnt see that message as there would be no need for loki.
katsika said:
Lg make their devices with locked bootloaders in contrary to asus nexus for example who allow you very easily to unlock the bootloader. Developers use a hack named loki to bypass the bootloader and allow us to flash custom roms and recoveries. Thats why you see a message if you re on a custom rom everytime you open your tablet, it means that loki is working fine at that moment. If we had unlocked bootloaders we wouldnt see that message as there would be no need for loki.
Click to expand...
Click to collapse
Oh,I see. Thank you very much.:good:

Guide for Safe installation of any custom rom on your stock rom mobile

Installation Steps (Warranty can be restored whenever you wish)
-------------------------
Before starting your rom flashing journey it is always better to have Flashtool (latest -by androxyde) installed in your PC and your stock rom handy ; incase of any mishappenings.
Type *#*#7378423#*#* in your phone and see if your bootloader status is unlockable under service-->Configuration. Procede with below steps, only if your device is unlockable.
It is important that you follow the steps in order
1) First step for installing a custom rom over a mobile with stock rom is to backup the existing state of bootloader .Usually warranty will get void if any modification is done to bootloader. The below tool ensures that it takes the backup of existing state of bootloader when device is under warranty.
Goto
Backup TA for Sony Xperia (This tool helps you to have a )
http://forum.xda-developers.com/showthread.php?t=2292598.
Download the tool.This tool will backup your DRM Securtiy keys . Successful backup can only be taken after the existing stock rom is rooted (Use towelroot application if your device is not already rooted) .Root it first then follow the process given in above link .
Once this is over , u will have a backup of the existing state of bootloader/TA partition (If you later wish to move back to stock rom from custom rom use the same tool to restore the backup you have just created.This means you will get your Warranty back);
2) Goto this website , follow the steps and get your unlock code via e mail.
Use fastboot mode to unlock your bootloader (Make sure that you have already backuped your existing DRM keys-Step 1).Follow it fully to unlock your bootloader
http://unlockbootloader.sonymobile.com/unlock/step1
3)Download any custom rom zips with recovery, for your mobile from xda developers forum and have fun.Extract boot.img using winrar or winzip .
Flash boot.img via fastboot mode
fastboot flash boot boot.img
fastboot reboot
4)As the device reboots, when you see your LED glow press volume up or down. It will take you to CWM Recovery or TWRP recovery based on the rom that you have downloaded.
5)Just install the custom rom(*.zip ) from within the recovery.
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
yes.
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
gokukaushik said:
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
Click to expand...
Click to collapse
Can i backup my app on stock rom then restore it to a custom rom?
AndreIrawan97 said:
Can i backup my app on stock rom then restore it to a custom rom?
Click to expand...
Click to collapse
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
gokukaushik said:
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
Click to expand...
Click to collapse
And one think left.... How to know if my bootloader is unlocked or not?
AndreIrawan97 said:
And one think left.... How to know if my bootloader is unlocked or not?
Click to expand...
Click to collapse
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
foomanjackel said:
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
Click to expand...
Click to collapse
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
AndreIrawan97 said:
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Click to expand...
Click to collapse
Thanks to @ foomanjackel for answering your questions.Regarding your 2nd question, 'Experience is the mother of invention'.Why don't you try and see what happens...just kidding.Couldn't resist it. Practically speaking of you install a custom rom with an custom kernel on a locked bootloader you will hard brick it.It will not boot and chances are that you might not be able to goto flashmode or fastbootmode anymoreto repair it.Reason this happens is that both your recovery and bootloader resides in the same partition in your mobile.If you try to install custom kernel on a locked bootloader in every probability, it not only corrupts your existing stocks kernel but also might corrupt your recovery leaving u helpless.
Theoretically, You should be able to install any custom-stock based rom on a locked bootloader (which runs exactly on ur stock kernel).In other words a custom rom which doesn't come up with a custom kernel but based on your existing stock kernel should be able to run on a locked bootloader.But my advice is you do not risk it.
foomanjackel said:
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
Click to expand...
Click to collapse
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
AndreIrawan97 said:
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
Click to expand...
Click to collapse
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
gokukaushik said:
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
Click to expand...
Click to collapse
Is unlocking bootloader can make me lose my root?
AndreIrawan97 said:
Is unlocking bootloader can make me lose my root?
Click to expand...
Click to collapse
I suppose it won't.I don't see the reason why u want to unlock the bootloader unless you want to install a new custom rom.

[Q] What ROMs can I flash on locked bootloader?

Evening XDA,
I have recently got this phone but unfortunately it has a locked bootloader.
Are there any ROMs I can install on locked bootloader? E.g. stock based.
How can I tell if a ROM is safe to flash?
I'm pretty sure that you can only flash ROMS through a custom recovery (CWM, TWRP) and to be able to get in your recovery you need boot loader unlocked. Unlocking it and getting a custom recovery isn't hard though and it comes with bonuses like making nandroids?. And regarding the safety of ROMs I recommend downloading from places that look official. Just Google what ROMs there are for your phone and choose what sounds best (cyanogenmod is pretty good?)
Sent from my HTC One_M8 using XDA Free mobile app
ILIVE4HEAD said:
I'm pretty sure that you can only flash ROMS through a custom recovery (CWM, TWRP) and to be able to get in your recovery you need boot loader unlocked. Unlocking it and getting a custom recovery isn't hard though and it comes with bonuses like making nandroids?. And regarding the safety of ROMs I recommend downloading from places that look official. Just Google what ROMs there are for your phone and choose what sounds best (cyanogenmod is pretty good?)
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
That's wrong, you don't need to unlock bootloader in order to install a custom recovery. Rooting the phone is enough. Then the correct install file from Nut's database and you have more than one recovery.
"Z1C-lockeddualrecovery2.7.XXX-BETA.installer.zip (XX.XXMB)" would be your choice after rooting. More information HERE.
einfachgaer said:
That's wrong, you don't need to unlock bootloader in order to install a custom recovery. Rooting the phone is enough. Then the correct install file from Nut's database and you have more than one recovery.
"Z1C-lockeddualrecovery2.7.XXX-BETA.installer.zip (XX.XXMB)" would be your choice after rooting. More information HERE.
Click to expand...
Click to collapse
This is correct. I have already rooted and installed recovery on my locked bootloader device. :good:
I cannot unlock my bootloader, unfortunately I get "Bootloader unlock allowed: no"
superste2201 said:
This is correct. I have already rooted and installed recovery on my locked bootloader device. :good:
I cannot unlock my bootloader, unfortunately I get "Bootloader unlock allowed: no"
Click to expand...
Click to collapse
To answer you previous question. You can flash any ROM that uses the stock kernel to run. Most of them are labeled stock based or based on stock firmware XYZ.
And as long as you have a recovery and made a backup beforehand, almost every ROM is safe to flash.
Sent from my D5503 using XDA Free mobile app
einfachgaer said:
To answer you previous question. You can flash any ROM that uses the stock kernel to run. Most of them are labeled stock based or based on stock firmware XYZ.
And as long as you have a recovery and made a backup beforehand, almost every ROM is safe to flash.
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
Can you set CWM to warn when a ROM tries to write boot image? Cause that would be ideal for people with locked bootloaders.
You can just check if there's a boot.img in the zip file I guess. Anyway, it'll simply fail and you have to restore an official rom, no big deal. There aren't many stock based roms anyway.
Does candyrom or the amg rom work with a locked bootloader?
325i. said:
Does candyrom or the amg rom work with a locked bootloader?
Click to expand...
Click to collapse
AMG yes.
Instructions are on ROM page.

Locking bootloader with a custom ROM installed.

Is it possible to lock bootloader with a custom ROM installed ? I mean I don't want to loose the custom ROM after locking bootloader. Is it possible ? If it is then how ?
no, that's impossible
Kuch_Bhi said:
Is it possible to lock bootloader with a custom ROM installed ? I mean I don't want to loose the custom ROM after locking bootloader. Is it possible ? If it is then how ?
Click to expand...
Click to collapse
Sure, You can, with the help of 'All in One Tool'. But then you'll left with inaccessible device... What's the fun of making your device inaccessible. ??

Question Is no PC required flashing possible?

Is there away to unlock the bootloader, flash TWRP recovery and flash custom ROMs without needing a PC on this device?
itsmarklesterb said:
Is there away to unlock the bootloader, flash TWRP recovery and flash custom ROMs without needing a PC on this device?
Click to expand...
Click to collapse
I don't think there is. For starter, you'll need the official Xiaomi program to unlock bootloader.
itsmarklesterb said:
Is there away to unlock the bootloader, flash TWRP recovery and flash custom ROMs without needing a PC on this device?
Click to expand...
Click to collapse
No.

Categories

Resources