Bootloader locked again after update - Huawei P9 Plus Questions & Answers

Hi, i'm new on huawei phones, always had samsung before, i buy a p9 vie-al10c00 from china.
Last week i unlock the bootloader of my phone and made root.
yesterday i receive an update and install it.
After that my bootloader is locked again!
Is it normal? Because to unlock it again it needs a factory reset again right?

If you update with the "full" package then BL will be locked again...and that seems to be the only way to update the official packages for rooted phones now (first flash Full 192 then OTA 195).
Before unlock the BL do a full backup on the phone, once unlocked immediately install TWRP and do a full restore on the phone...
Of course if you don't care about root, then just leave the BL locked...
I remembered some people also mentioned before you can just flash back the official Recovery and run the update and flash back TWRP after, that way BL won't be locked, however I am not sure how I can save a copy of the official recovery first for flashing back.

Stock recovery, found in another thread
P9 Plus Stock Recovery
zhuanyi said:
If you update with the "full" package then BL will be locked again...and that seems to be the only way to update the official packages for rooted phones now (first flash Full 192 then OTA 195).
Before unlock the BL do a full backup on the phone, once unlocked immediately install TWRP and do a full restore on the phone...
Of course if you don't care about root, then just leave the BL locked...
I remembered some people also mentioned before you can just flash back the official Recovery and run the update and flash back TWRP after, that way BL won't be locked, however I am not sure how I can save a copy of the official recovery first for flashing back.
Click to expand...
Click to collapse

so if i unlock the bootloader and install twrp and then do a regular ota update will the bootloader be locked forever again since you can't unlock it on newer emui, or will i be safe from it relocking in any way once twrp has been flashed?

Related

Root Question

I have the Spint version of the X and have already taken the OTA update that contains the camera fix. Is it possible for me to install a custom recovery and root after unlocking the bootloader using the method shown in this video? http://www.youtube.com/watch?v=2fzih8xkki0
It is never made clear on what software version you have to be on
Yes you can. I did it that way. Got phone, updated it, unlocked boot loader through Motorola, fastboot flashed TWRP, then auto rooted via TWRP. Normally I manually root/flash superSU zip, but this time I decided to try the TWRP auto root method.

HELP! Verizon Moto X 2014 Stuck on Bootloader Unlocked Screen

Note, this is my first attempt at rooting and flashing a custom rom.
I unlocked the bootloader and attempted to flash cm. Also used SuperSU and twsp to backup. The flash did not go through, as far as I could tell. The phone would still boot, with the warning, however once I attempted an OTA update from 4.4 to 5.0 the phone is now stuck on the unlocked bootloader warning. HELP!!!
naboyd32cp said:
Note, this is my first attempt at rooting and flashing a custom rom.
I unlocked the bootloader and attempted to flash cm. Also used SuperSU and twsp to backup. The flash did not go through, as far as I could tell. The phone would still boot, with the warning, however once I attempted an OTA update from 4.4 to 5.0 the phone is now stuck on the unlocked bootloader warning. HELP!!!
Click to expand...
Click to collapse
When in fastboot mode, device is UNLOCKED, Status Code 3, Software Status Modified. Any help would be appreciated!

Couple of questions about rooting

Hi there, I am currently running B383 on my P9, and really want to root it. However when I do, will I still be able to get future updates to the software? Do I need to unroot and lock bootloader first?
Also when the bootloader is unlocked, a message is displayed at boot about your phone being unsecured and non-trustworthy, is it possible to remove this message? (I used to have a moto g with an unlocked bootloader, and I flashed some file to remove the warning).
Thanks
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
..
benjamen50 said:
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
Click to expand...
Click to collapse
Thanks for the quality answer, I have no doubts anymore!

Update b357

Hi,
Today I received ota update to b357 for my nem L51.
Could not install it since I have custom recovery + root + unlocked bootloader.
How can I update?
My idea would be:
Flash stock recovery + recovery2 from fastboot
Install ota
Flash again TWRP
Will it work? Don't know if my bootloader will lock again after ota update...
Thanks in advance
Unroot first, Flash stock boot.img and stock recovery then download ota and reboot.
Thanks shashank1320!
I flashed stock boot + recovery and then updated my phone.
Unfortunately OTA update restored my bootloader and I had to unlock it again.
Anyway after unlocking I flashed TWRP recovery and rooted with Magisk with no issues.
deframat said:
Thanks shashank1320!
I flashed stock boot + recovery and then updated my phone.
Unfortunately OTA update restored my bootloader and I had to unlock it again.
Anyway after unlocking I flashed TWRP recovery and rooted with Magisk with no issues.
Click to expand...
Click to collapse
Hi @deframat,
I'm in the same situation as you were: from B350 I have to update to B357 and I will go the same route you did. However, since you stated that the OTA update restored your bootloader, this means you had to install all over again all your apps and settings. I wonder if I make a Titanium backup of everything, will I be able to restore the phone as it was before the update? Any drawbacks I'm unaware of?
Thank you
Hi Wallace108,
I don't use Titanium backup because I prefer a fully fresh install when flashing new fw.
Anyway since this update is quite light (only security patch and other small improvements) I think you will have no problem if you restore some backed up apps.

OTA update over Magisk? What's gonna happen?

If I have a P9 on Nougat B391, I receive an OTA, am currently rooted on Magisk v14. If I install the OTA anyway? What will happen? I know I will lose root, but will my bootloader be relocked? Am I going to lose any data?
Would like to know what will happen next as I am thinking of installing it. thanks!
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
thanks, this roughly gives me an idea on what would happen and the risks it contains! thanks a lot!
zgfg said:
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Click to expand...
Click to collapse
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
roottree said:
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
Click to expand...
Click to collapse
Magisk Uninstaller does not wipe your phone.
However, unlocking or relocking Bootloader (from Fastboot) triggers Factory restore

Categories

Resources