Going back full stock after unlocking the bootloader

t-shock

Recognized Contributor
Nov 22, 2011
2,295
4,543
203
Thessaloniki
Hi.
The last couple days, I unlocked my bootloader to install the phh-treble rom and experiment with this phone but the *unlocked bootloader* message every time that I power up my phone, is very annoying.
So I ask if anyone knows which firmware to install to my phone so I can lock the bl and receive otas as normal

Thanks
 

Pretoriano80

Senior Member
Jun 9, 2010
3,181
2,871
253
Hi.
The last couple days, I unlocked my bootloader to install the phh-treble rom and experiment with this phone but the *unlocked bootloader* message every time that I power up my phone, is very annoying.
So I ask if anyone knows which firmware to install to my phone so I can lock the bl and receive otas as normal

Thanks
It's just a guess, but i think that you should flash an original "system. img" with fastboot and then reset you device.
You can use Huawei Unpacker to get your system.img from a FullOTA firmware (you can download it with Firmware Finder).
 
  • Like
Reactions: t-shock

t-shock

Recognized Contributor
Nov 22, 2011
2,295
4,543
203
Thessaloniki

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Thanks for that
But having used this guide ( https://forum.xda-developers.com/mate-10/how-to/guide-mate-10-flash-oreo-update-package-t3716814 ) I guess it changes more that the system
When you go to recovery now, is it Huawei recovery or some aosp recovery?

If Huawei you should be able to use that same guide to go back to stock. You just need to download the Firmware your phone came with (Ex. L29 C432), then update using the guide. Or you could rebrand and install fw.
 

t-shock

Recognized Contributor
Nov 22, 2011
2,295
4,543
203
Thessaloniki
When you go to recovery now, is it Huawei recovery or some aosp recovery?

If Huawei you should be able to use that same guide to go back to stock. You just need to download the Firmware your phone came with (Ex. L29 C432), then update using the guide. Or you could rebrand and install fw.
It is the Huawei recovery but the weird thing is that it flashes another recovery and kernel before at the fastboot mode.

Anyhow, I just wonder, if I go back to the 127 (following the method above) which is verified thru IMEI, will I be able to get OTAs?
Or
Which is the correct method of restoring the full stock rom in order to have OTAs and lock the BL
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
It is the Huawei recovery but the weird thing is that it flashes another recovery and kernel before at the fastboot mode.

Anyhow, I just wonder, if I go back to the 127 (following the method above) which is verified thru IMEI, will I be able to get OTAs?
Or
Which is the correct method of restoring the full stock rom in order to have OTAs and lock the BL
Yes, you will get OTA.
If you install a full firmware everything will be replaced (though you can keep bootloader unlocked, but you're asked when you run repack so select yes ("Lock bootloader?").

The "correct" ways would be: HWOTA8, Dload (if available for your firmware), FunkyHuawei (paid).
 
  • Like
Reactions: t-shock

t-shock

Recognized Contributor
Nov 22, 2011
2,295
4,543
203
Thessaloniki
Yes, you will get OTA.
If you install a full firmware everything will be replaced (though you can keep bootloader unlocked, but you're asked when you run repack so select yes ("Lock bootloader?").

The "correct" ways would be: HWOTA8, Dload (if available for your firmware), FunkyHuawei (paid).
Thanks a lot

Just one last question, if I only have unlocked bootloader and no root , will AI "brake"?
Thanks
 
Last edited:

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Thanks a lot

Just one last question, if I only have unlocked bootloader and no root , will AI "brake"?
Thanks
It shouldn't. And it works again with root. Apparently something broke in SEPolicy, but mankindtw fixed it in his pre-rooted ramdisk. Though, we can install Magisk "normally" now (as a package through recovery) so it shouldn't be a problem anyway :) SuperSU should install in a similar way too, if one would take the time to make it. I prefer Magisk though :)