Back to stock after unlocking bootloader? - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hey there,
I've read about GooglePay not working after unlocking bootloader. I don't know if I will ever use GooglePay but I want to know if I can go back to stock (lock bootloader?) some day after unlocking to start using GooglePay.
Cheers

Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.

Schnedi said:
Google Pay works even with Magisk.
But yes, you can lock your bootloader again with adb/fastboot ot Mi Flash, when you want.
Click to expand...
Click to collapse
Can you lock your bootloader again after installing Lineage?

bicalov said:
Can you lock your bootloader again after installing Lineage?
Click to expand...
Click to collapse
You can relock BL only if you first go back to stock
Locking BL pulls low-level Factory reset (not sure would it even work if you are on LN or other custom ROM and/or custom Recovery or would it simply brick your phone that you will need then paid assistance with EDL account to unbrick)
(Besides, what would you do then in future if you lock BL when you have LN - you would never be able to unlock again because you must be on stock for unlocking. And with relocked BL you would not be able to flash anything anymore)

Thank you for this explenation,

Related

Updates through custom recovery with a locked bootloader possible?

If I locked my bootloader, can I update SuperSU (zip) or TWRP (img) using TWRP --> Install?
I'm already aware that it won't allow me to flash custom ROMs, custom recoveries or use fastboot commands.
What does having a locked bootloader prevent me from doing?
Thank you
AndrewDam said:
If I locked my bootloader, can I update SuperSU (zip) or TWRP (img) using TWRP --> Install?
I'm already aware that it won't allow me to flash custom ROMs, custom recoveries or use fastboot commands.
What does having a locked bootloader prevent me from doing?
Thank you
Click to expand...
Click to collapse
The better question is why would you have a locked bootloader? If you have any kind of boot loop or error you will end up with a paper weight that will have to be sent off for repairs when its easily fixed with an unlocked bootloader.
murphyjasonc said:
The better question is why would you have a locked bootloader? If you have any kind of boot loop or error you will end up with a paper weight that will have to be sent off for repairs when its easily fixed with an unlocked bootloader.
Click to expand...
Click to collapse
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
AndrewDam said:
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
Click to expand...
Click to collapse
I would say it's much more likely you brick your phone due to having a locked bootloader than someone else getting their hands on your phone and actually having the knowledge to cause trouble for you.
to relock your bootloader you must have FULLY STOCK firmware back on your device, relocking with anything in the phone being custom can result in a paperweight
Having a rooted phone is more vulnerable than a unlocked bl phone. Dont lock bl back unless you are full stock (I would still say dont though)
AndrewDam said:
You're right about having a boot loop problem but isn't the phone more secure with a locked bootloader though? I read that it's recommended that you relock the bootloader if you're done making modifications so that no one can do anything malicious with your phone (to some extent).
Click to expand...
Click to collapse
It's more secure, sure. But if you take care of your phone it doesn't fall into the wrong hands. Plus, if you have TWRP installed still a tech savvy thief (one who understands what a locked bootloader means) can easily flash a ROM and boot into the phone. As sometime else pointed out, the chances of you ending up with a brick are higher than the chances of someone getting your phone.
Sent from my Nexus 6P
Ok that makes sense to not lock the bootloader. Thanks for the information everyone!

Relocking Bootloader

Is there a way to relock bootloader? I tried flashing stock rom via TWRP but the prompt still shows that Device cannot be trusted blalbla unlocked.
Can anyone give me a way how to relock my BL? I also tried SRK tool with relock bootloader with my Unlock code, but it doesnt work.
Thanks
EDIT: Please lock thread. I tried locking via eRecovery and it worked. Thanks
Update your device. Use the full update rom like b161, 201 or whatever you like. That will remove the unlocked bootloader and root as well.
​
ErvinSoliven said:
Update your device. Use the full update rom like b161, 201 or whatever you like. That will remove the unlocked bootloader and root as well.
Click to expand...
Click to collapse
are u tested it?
mi.alkhamis said:
​
are u tested it?
Click to expand...
Click to collapse
Yes is tested: at any update (via dialer or three key pressed) with stock firmware, you lose root, twrp and unlocked bootloader (if you have root, twrp and bootloader unlocked).
gtdaniel said:
Yes is tested: at any update (via dialer or three key pressed) with stock firmware, you lose root, twrp and unlocked bootloader (if you have root, twrp and bootloader unlocked).
Click to expand...
Click to collapse
thanks for quick reply/
another question .
i have vns-l21c900b140 .Which ROM root and boot loader problem solved ?
and i download vns-l21c432b160 can i flash this file without any problem such as Antenna ؟i
You have to debrand your phone to make it C432 from C900. Read around forum...

Relock Bootloader with Nexus Root Toolkit

I have a 6P running 7.1.1 that has never been rooted or modified in anyway other than unlocking the bootloader. When I first got the phone I unlocked the bootloader so I could root the phone later if I wanted to without wiping the contents. I never rooted it.
Now Android Pay doesn't work with an unlocked bootloader. I would like to relock it. I understand that this will wipe my device. My question is, can I just press the button in NRT that says "OEM Lock" and it will take care of any flashing or resetting that needs to be done? I was more up to speed on all this when I had my Nexus 5, but the 6P hasn't really required me to get that involved.
Thank you for any help or advice.
Yes, OEM Lock will work, it just sends the ADB commands to your phone. Yes it will (unfortunately) factory reset the phone so to be sure to backup what you need, or at least be sure the Google backup feature is enabled for your apps.
Couldn't you just flash a custom kernel to get AP working again? For example, ElementalX has the bootloader check removed from the kernel. Use fastboot to boot into latest official TWRP without flashing it to the device and use that to flash EX kernel.
v12xke said:
Yes, OEM Lock will work, it just sends the ADB commands to your phone. Yes it will (unfortunately) factory reset the phone so to be sure to backup what you need, or at least be sure the Google backup feature is enabled for your apps.
Click to expand...
Click to collapse
Thanks for the feedback. I knew I was going to lose everything, I just didn't want to brick it someway because it was 7.1.1.

Freshly bought Mi A1 - to OTA or not to OTA?

Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?
zroice said:
Hey guys,
want to mod my freshly bought Mi A1 to the max, but I'm not sure if i should OTA first or better start modding right away?
I already unlocked the bootloader and it didnt wipe it - it also has 7.1 installed still. Generally I'm usually reluctant to do official updates because they usually make modding harder - but I tried booting the treble TWRP installer .img through fastboot (without installing it) and it failed because some partition was missing it said.. so I just want to hear if OTA is necessary to use the latest custom roms or if i can keep the old bootloader etc?
Would be cool if someone who knows could say smth about that.
Or is updating through OTA actually recommended even when not planning to ever use stock roms?
Click to expand...
Click to collapse
If security matters for you yes
The only thing you'll share with a custom ROM is the bootloader
Since may update locking or relocking the bootloader will wipe your data
It's your choice
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
You have to enable it in Developer settings.
zroice said:
but it will still work as easy as before to unlock/lock with just a fastboot command, right?
and will a custom rom work with a locked bootloader? Like first unlock, install custom rom + kernel, then relock?
Click to expand...
Click to collapse
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader
Dead-neM said:
It will always be that easy to unlock and relock the bootloader
No don't relock on anything that is out of stock (custom kernel , magisk, custom ROM etc) this will lead to a softbrick and you'll have to be on edl more to reflash a stock rom
What's the interest of having a locked bootloader with a custom ROM? You won't pass the safety net anyway
Just keep it unlock
You can do ota with an unlocked bootloader
Click to expand...
Click to collapse
alright. thanks very much for explaining in details - exactly what i was looking for.
What's the use of your android one device if you will not update it, that's what you pay for.
HidekiRyuga said:
What's the use of your android one device if you will not update it, that's what you pay for.
Click to expand...
Click to collapse
hahahaaa exactly the point :laugh:
well once you have everything "perfectly set up" updates can ruin it. but yea relocking the bootloader really was a stupid idea - it was the idea to make it tamper proof but since custom kernels wont boot with locked bootloader that wouldnt work.

TWRP, Root, Xposed

My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?
For root or install a custom rom you will need unlock the bootloader and that requires an unlock code, you can get the code with DC Unlocker but it cost you some money.
VALYYYY said:
My last android was a lollipop version and I guess there are a lot of changes and security "improvements".
On my Huawei P10 Lite (WAS-LX1 8.0.0.367 C02 / EMUI 8.0.0) I want to flash TWRP, root the stock ROM. I want also to use Xposed, but i'm afraid to not brick the phone, I also saw something regarding FRP, bootload unlock.
If it's not possible and you consider that it's more simple to install directly a custom rom, then which one?
Somebody can guide me?
Click to expand...
Click to collapse
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Does the DC-UNLOCKED read huawei p10 8.0.0.367?
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
You can't flash nothing with locked bootloader. You need to pay for dc phoenix credit.
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash
Dejvid50 said:
DC have "backdoors" try search on their site something about bl codes.. It is your one solution because with locked bl you can't flash nothing..So pay for bl code --> unlock it --> do flash
Click to expand...
Click to collapse
Okay thanks,
So I decided their is an Universal Code(Key Gen.)for All Huawei/&other devices to generate an Unlock Code with the Imei Nummbers I think.
With the Right Knowing everyone could generate his Own Unlock Code.
Thanks for your Help now I Understand a bit more about Flashing and Bootloaders.
DeathBell said:
First you need to use DC-Unlocker to get a bootloader code. It will cost you 4€. Then unlock your bootloader. Then install this TWRP. It works perfectly in stock EMUI 8, but in custom roms it doesn't even boot and also make sure to use "fastboot flash recovery_ramdisk" and not "fastboot flash recovery". Then flash the latest magisk. And for Xposed you'll have to use v90 beta 4 version on stock EMUI 8 otherwise you'll get a bootloop. And it's not for magisk, you'll have to flash it in TWRP.
Click to expand...
Click to collapse
Thanks for your advices! Already done everything you said. Everything is working well, except one thing: GravityBox seems that it does no effect on my stock rom. Any idea how to make these tweaks work?
Overload87 said:
How can Dc_Unlocker made an Bootloader Unlock Code? HUAWEI doesn't give any Bootloader Unlock Codes for anyone Out!
I would really like to Flash Costum Recovery and Root my P10Lite(WAS_LX1) android&emui 8!
Or can I flash With Stock Recovery Magisk and later Root Device and Flash Costum Recovery/Rom with locked Bootloader? Or Unlock Bootloader other Option?
Thanks a lot for every tip
Click to expand...
Click to collapse
they encrypting the unlock code from the imei...thats all

Categories

Resources