Flash ROM -> Lock Bootloader - Huawei P9 Lite Questions & Answers

Hello,
I'm still pretty new at this. Basically, I just want to update to vanilla Nougat.
When you unlock your bootloader, when restarting the device you always get a warning screen warning you that the device has been modified.
Can you unlock -> twrp -> root -> flash -> lock?
This way, you're on an updated/custom rom and you don't have the warning / error message?
Thank you in advance!

BraveZA said:
Hello,
I'm still pretty new at this. Basically, I just want to update to vanilla Nougat.
When you unlock your bootloader, when restarting the device you always get a warning screen warning you that the device has been modified.
Can you unlock -> twrp -> root -> flash -> lock?
This way, you're on an updated/custom rom and you don't have the warning / error message?
Thank you in advance!
Click to expand...
Click to collapse
i think it will only go away when you flash a stock rom, if you manually relock your bootloader the message will stay. but flashing a stock rom will lock the bootloader instead of relock

mjz2cool said:
i think it will only go away when you flash a stock rom, if you manually relock your bootloader the message will stay. but flashing a stock rom will lock the bootloader instead of relock
Click to expand...
Click to collapse
Unlocking bootloader will losse the warranty right? after flashing stock rom it will lock the bootloader again. but the warranty is still voided?

franzyanga said:
Unlocking bootloader will losse the warranty right? after flashing stock rom it will lock the bootloader again. but the warranty is still voided?
Click to expand...
Click to collapse
i'm not sure, but i think you have your warranty back if you flash the stock rom.
it seems you even keep your warranty after unlocking the bootloader, as long as there are no problems to be found related to software modifications. so you should be fine as long as the phone is running a stock rom

Related

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...

How to re unlock bootloader

If go to stock and relock bootloader for OTA, what is procedure to unlock again? Do you go back to the Moto site for a new code, or will they expect you to have the original unlock code (thus you could be outta luck if you bought the phone used , with an unlocked bootloader.)
The procedure is the same as when you first unlocked, although if you have the original unlock code you can skip getting a new one from Moto's site (it's the same code anyway), same rules apply, it will wipe everything and you must have OEM Unlocking in Developer options enabled as when the bootloader is relocked this option is turned off and must be turned on again manually.
Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc).
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
hometech99 said:
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
Click to expand...
Click to collapse
Here ya go..
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
hometech99 said:
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
Click to expand...
Click to collapse
Just look in my sig... if you read there are links to firmware, and instructions to lock and flash, or just flash the factory image. I would recommend flashing the complete system image though, not just the pieces.
acejavelin said:
I would recommend flashing the complete system image though, not just the pieces.
Click to expand...
Click to collapse
..but your flashboot instructions show the pieces. Did you modify the process, and get the whole system image?
Thanks!
hometech99 said:
..but your flashboot instructions show the pieces. Did you modify the process, and get the whole system image?
Thanks!
Click to expand...
Click to collapse
No, I meant each piece of the full image, don't skip any parts.

Void Warranty?

I'm confused as to what voids my warranty and what does not. I know rooting and custom recovery does not but would a custom os or kernel?
No, not on the OP5. You can always return it to stock and lock the bootloader and there's be no way of telling it had been altered. As long as you flash the original recovery and Rom you can unlock the bootloader and install custom Roms and kernels and recoveries and noone would ever know.
B3501 said:
No, not on the OP5. You can always return it to stock and lock the bootloader and there's be no way of telling it had been altered. As long as you flash the original recovery and Rom you can unlock the bootloader and install custom Roms and kernels and recoveries and noone would ever know.
Click to expand...
Click to collapse
But most of the phone comes with DRM KEYS.when bootloader is unlocked drm key is wiped of completly.
PrakashGD said:
But most of the phone comes with DRM KEYS.when bootloader is unlocked drm key is wiped of completly.
Click to expand...
Click to collapse
You can easily reset those tamper flags too , google it. I DID IT ON my oneplus one!!
PrakashGD said:
But most of the phone comes with DRM KEYS.when bootloader is unlocked drm key is wiped of completly.
Click to expand...
Click to collapse
Not the OP5.

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.

Back to stock after unlocking bootloader?

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,

Categories

Resources