[Huawei P10 Guides, News, & Discussion] Jannomag:
Hi,

in this tutorial I will guide you how to upgrade from Nougat to Oreo and updating Oreo to newer version, when they are released.

NEW! Update Oreo to Pie - in testing now, please report!

ANNOUNCEMENT - 06 March 2019: Since I fried my phone with wrong update files, I don't own a P10 anymore. I'm still active on XDA but can't give as much support as usual for the P10. If you find any issues or have any suggestions, please post it here and qoute me. Everyone is free to use and edit my script and release it in a new threat. If someone needs help with that, let me know.

Special thank are going to [MENTION=1097168]mankindtw[/MENTION] who wrote the script and [MENTION=477335]Blackball[/MENTION] who released something similar for the P10Plus.

I just edited the script for working with the P10 to make it easier for you.

DISCLAIMER: I don't give any warranty. I tested this on 5 devices without any problems.

This Tutorial ist just for the Huawei P10 (VTR).

This tutorial has two versions:

Tutorial 1: Upgrading your P10 from Nougat to Oreo

Tutorial 2: Updating to a newer Oreo version.

Prerequisites: You need a sd card with minimum 4gb free space, formatted in FAT32.

Also you need an unlocked bootloader and TWRP installed.

Read first, then do it.

Backup, backup, backup - please, don't blame me when you notice data loss.

For everyone who don't know how to unlock bootloader and install TWRP, here's a short tutorial:

Unlocking bootloader (will void warranty!):

The site is down at the moment. There's no official statement from Huawei if they shut it down completely or if there's just an error on this site. Fact is, at this moment you can only get an unlock code by sending Huawei support an E-Mail or using DC Phoenix (costs around US$5)!

If you found another solution, tell it here for everyone, please!

- Go to settings app and write down you IMEI, Build-Number and Model-Number. VERY IMPORTANT!

- Open phone app and dial *#*#1357946#*#* - write down the Product-ID and Serial Number. VERY VERY IMPORANT!

- Go back to settings, open developer options and activate OEM-Unlock and USB-Debugging.

- Go to this site, login or create account, follow the steps and fill out the forms to get your unlock code.

- VERY VERY VERY IMPORTANT: Write it down on paper, pc, laptop, tablet - everything you have. If you lost it and brick your phone with locked bootloader, you'll not be able to unbrick it without payed services like FunkyHuawei!

- ALSO VERY IMPORTANT: Do a backup of everything you need! Unlocking the bootloader will cause a factory reset, all data will be removed!

- Now turn off your phone.

- Connect it to USB and turn it on while holding the volume-down button.

- You should see the fastboot screen with green FRP Lock and Bootloader Lock.

- AGAIN: BACKUP! Do you have your unlock code save?

- Type following command into your cmd or terminal: "fastboot oem unlock CODE"

- Confirm the unlock with volume-up and power button.

- Done, phone will do a factory reset and the bootloader is unlocked.

Install TWRP:

- Open the developer settings and enable the the "OEM Unlock" and "USB Debugging" if you haven't done it already.

- Download the right TWRP version: TWRP 3.1.1-0 for Nougat by [MENTION=4960686]OldDroid[/MENTION] - TWRP 3.1.1 for Oreo by [MENTION=477335]Blackball[/MENTION].

- Boot into fastboot mode by turning off the phone, connect it via usb to you pc and power it on while holding down Volume-Down until you see the white fastboot screen.

- Flash the TWRP version - there are two different commands for Nougat and Oreo:

Nougat:

fastboot flash recovery TWRP.IMG

Oreo:

fastboot flash recovery_ramdisk TWRP.IMG

- Test it by turning off the phone with holding the power buttong until it's off and boot the phone with DISCONNECTED usb while holding Volume-Up.

Now the real thing:

Tutorial 1 - Upgrade Nougat to Oreo

Do not use this to unbrick your P10 or REinstall Oreo! This works only, if you're on Nougat! Otherwise you can full brick your P10!

Mention: I didn't loose any data after upgrading from Nougat to Oreo with this method. None of the guys who tested it noticed any data loss. BUT, no warranty for this!

BACKUP BEFORE YOU UPGADE!

- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!

Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.

- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". Only tested with B360 FullOTA-MF, one guy bricked his phone using B365 Full-OTA-MF-PV, I think it's because B365 is an update from B360, but I really don't know if B1xx to B365 alway bricks your phone! Just use B360 and then use oreoupdate.zip for updating to a newer version - this method is tested on multiple devices without any problems.

- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).

- When you downloaded all three files rename it after this:

update.zip stays.

update_data_full_public.zip stays.

update_full_MODEL_hw_[].zip to update_full_hw.zip.

- Download this rar archive (alternative link without ads if you don't want to support me ;) ) - Version 060518, MD5 0637269f1dc9b9a509de97ff14559f4a.

- Extract the archive on your sd card - you should have a folder named "oreoupgrade" on it. This folder contains three files: oreoupgrade.zip, VTR_RECOVERY_NoCheck.img and VTR_RECOVERY2_NoCheck.img.

- Put the three update zips you downloaded before inside the "oreoupgrade" folder on sd card.

- Your SD card has to look like this:

- Insert the sd into your phone and boot into TWRP.

- AGAIN: DO A BACKUP!

- Tap on Install, navigate to your sd card and into the oreoupgrade directory.

- Tap on oreoupgrade.zip and install it.

- The phone will restart by itself - don't press any button!

- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.

- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).

That's it - you should have Oreo installed.

The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.

Tutorial 2 - Updating Oreo version

Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!

BACKUP BEFORE YOU UPDATE!

I tested it on 24.03.2018 with my VTR-L29C432. I updated from B360 to B365 without any problems. No data loss, no bugs notices. Update process took around 4 minutes.

- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!

Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.

- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". BFullOTA-MF-PV seems to mean "Public Version". I tested it on three devices without any problems but one guy notified me that B365 FullOTA-MF-PV bricked his phone after using this to upgrade from Nougat. For me it works fine.

- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).

- When you downloaded all three files rename it after this:

update.zip stays.

update_data_full_public.zip stays.

update_full_MODEL_hw_[].zip to update_full_hw.zip.

- Download this rar archive (alternative Link without ads if you don't want to support me ;) ) - version 040518, MD5 c4c7b33d104b696a6132f8be1f36ba0b

- Extract the archive on your sd card - you should have a folder named "oreoupdate" on it. This folder contains three files: oreoupdate.zip, VTR_RECOVERY_OREO_NoCheck.img.

- Put the three update zips you downloaded before inside the "oreoupdate" folder on sd card.

- Your SD card has to look like this:

- Insert the sd into your phone and boot into TWRP.

- AGAIN: DO A BACKUP!

- Tap on Install, navigate to your sd card and into the oreoupdate directory.

- Tap on oreoupdate.zip and install it.

- The phone will restart by itself - don't press any button!

- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.

- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).

That's it - you should have updated Oreo to a newer version.

The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.

If there are any issues with this notify me so we can work together to find a solution!

Please post the TWRP log and a screenshot of your oreoupgrade / oreoupdate directory on your sd card with file sizes. With this information it's easier to help.

Tutorial 3 - Updating Oreo version with official EMUI updater

Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!

This Method is only if there's an official update released for your device by Huawei. You'll get a system update notification. If there's no such notification use Tutorial #2!

MENTION: I tested it on my device from B365 to B369 without any problems. If there are any issues, please notify me. Brick risk is barely 0 because it's using offical update files downloaded by EMUI.

BACKUP BEFORE YOU UPDATE!

- Check if there's an official update available in system settings. You should also get a notification. DO NOT INSTALL, YET!

- Download this rar archive (alternative Link without ads if you don't want to support me ;) ) - version 130618, MD5 52cb33d74055f01a2fb4425d5b918b18.

- You can choose two different places where you extract it:

- 1. Without root: SD card: Just extract the archive on SD card, so you'll have a directory on it called "officialupdate". Inside this directory are two files: "officialupdate.zip" and "VTR_RECOVERY_OREO-NoCheck.img".

- 2. With root: /cust directory. Extract the archive with a file manager of your choise and put the "officialupdate" directory into /cust.

- Now boot into TWRP and install the officialupdate.zip on SD or in /cust - /cust needs to be mounted. Go to "Mount" and just check "cust". Then go to "Install" and navigate to the .zip file.

- TWRP will install the modified recovery - it's the same one as in Tutorial #2.

- Reboot into system

- Install the update and the update process will start.

Note: The reboot after the update can take a few minutes (my phone took around 5 minutes!). Don't abort the reboot process!

You also need to install the root again after this update!

Note #2: I need testers for it. Please write here in this threat if it worked for your or not with phone information (model, version, etc.).

Tutorial 4 - Upgrading Oreo to Pie - IN TESTING NOW!

Do not use this if you're on Nougat! This Tutorial is only to upgrade EMUI 8 to 9! Don't use it to unbrick, if you don't know what you do!

BACKUP BEFORE YOU UPDATE!

I tested it on 24.03.2018 with my VTR-L29C432. I updated from 8.0.0.381 to 9.0.1.157 without any problems. No data loss, no bugs notices. Update process took around 5 minutes + 5 minutes for booting.

- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!

Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.

- When you found your version find the row which containts "FullOTA-MF" and click on "filelist".

- You need three files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).

- When you downloaded both files rename them after this:

update.zip stays.

update_full_MODEL_hw_[].zip to update_full_hw.zip.

- Download this rar archive - version 190219 MD5 37b51e19f70af6a896cadd522342e213

- Extract the archive on your sd card - you should have a folder named "pieupgrade" on it. This folder contains two files: pieupgrade.zip, VTR_RECOVERY_OREO_NoCheck.img.

- Put the three update zips you've downloaded before inside the "pieupgrade" folder on sd card.

- Insert the sd into your phone and boot into TWRP.

- AGAIN: DO A BACKUP!

- Tap on Install, navigate to your sd card and into the pieupgrade directory.

- Tap on pieupgrade.zip and install it.

- The phone will restart by itself - don't press any button!

- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.

- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).

That's it - you should have updated to EMUI 9 / Pie.

The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.

Please note, that there's no TWRP for Pie at the moment. You may not be able to install Magisk! If you find a working TWRP, let me know!

Please note that this is too new to know everything. If you have any issues, let me know. I can't guarantee that this script works for you.

Only use your model region, only use it with B376++, only install the Pie-Beta if you know about the risk to brick your phone.

Be also aware that installing not official released version can cause a not certified play protect status! I noticed this on my P10 after updating to 9.0.1.157. I didn't notice any issues with that, yet, but I can be.

Tutorial 5 - Updating Pie and downgrading to Oreo - IN TESTING NOW!

Do not use this with Nougat or Oreo! This script is for Pie, only!

BACKUP BEFORE UPDATING / DOWNGRADING!

This script will work for updating Pie version and also for downgrading back to Oreo, with the right files.

Read the tutorial first before you do anything! BRICK RISK IS HIGH!

Special thanks to [MENTION=2532456]lukaso[/MENTION]b, who helped me with this script.

- First you need to find your correct firmware for your model on the Huawei Firmware Database.

- ATTENTION FOR DOWNGRADING: There are downgrade updates available, mostly to version 384. Those downgrades are containing only 2 files instead of 3:

- "update.zip"

- "update_full_MODEL_hw_[].zip"

If there's also a "update_data_full_public.zip", it's the wrong downgrade! DON'T USE THIS!

THIS WILL CAUSE FULL HARD BRICK!

- When you downloaded both files rename them after this:

update.zip stays.

update_full_MODEL_hw_[].zip to update_full_hw.zip.

- Download this rar achive - version 180319 MD5 e53284141f1d93ac2e6ab9d1f528db08

- Extract the archive on your sd card - you should have a folder named "pieupdate" on it. This folder contains four files: pieupdate.zip, VTR_RECOVERY_OREO_NoCheck.img, pie_stock_recovery.img.

- Put the TWO update zips you've downloaded before inside the "pieupdate" folder on sd card.

- Inser the sd into your phone and boot into TWRP (flash the Oreo TWRP which you can find here on XDA. It'll work with this).

- AGAIN: DO A BACKUP!

- Tap on Install, navigate to your sd card and into the pieupdate directory.

- Tap on pieupdate.zip and install it.

- The phone will restart by itself - don't press any button!

- eRecovery will start and install the update - if you didn't to anything wrong, it should take around 2 minutes and the phone will do a reboot.

That's it. You either did an update or a downgrade, depending on which files you've used.

It's really important to flash the correct downgrade files, otherwise you'll brick your phone totally! I did this and even with DC Phoenix I couldn't recover my phone yet.

Flash stock recovery with Pie - TWRP or Root needed

- Download Pie update.zip and extract the UPDATE.APP.

- With Huawei Update Extractor (Google it, please) extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img (you need to disable the file verification in the settings of HUE)

ROOT METHOD (all commands without qoutes):

- Put the two files in the root directory of your phone's internal memory without any directory

- Use a terminal emulator or adb shell on your pc.

- Enter following command to find out which device you're on: "/dev/block/platform/"

- You should see either "ff3b0000.ufs" or "hi_mci.0" after confirm the command with enter - remember it, I call it TYPE in the following commands.

- Access root privileges with "su" --> ENTER

- Now enter two commands and confirm with enter after each:

"dd if=./RECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/recovery_ramdisk" --> ENTER

"dd if=./ERECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/erecovery_ramdisk" --> ENTER

- Done, if there are no error outputs.

TWRP METHOD:

Download this file and put it on external sd in a directory called "flashrecovery". (used zippyshare, because mega is slow at the moment)

Extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img from UPDATE.APP and put it into flashrecovery on sd (file names are important and also case sensitive!).

Install the flashrecovery_pie.zip with TWRP. The phone will reboot after flashing the recovery.

Magisk installation - NOUGAT AND OREO ONLY! NOT WORKING ON PIE

It's a bit more complicated to install Magisk with EMUI 9 than it was before.

Instructions can be found here.

I didn't try it, yet. Please report if this works.

EDIT_MAGISK:

I tried to patch recovery image with Magisk but with this the phone doesn't boot with enabled root.

Let me know, if you find any solution.

Thanks for testing [MENTION=7140687]tangoalfa[/MENTION]

Addition: Root with Magisk by [MENTION=477335]Blackball[/MENTION]

Special thanks to [MENTION=9062037]mleczan[/MENTION] who provided the code for eMMC devices!

KNOWN ISSUES

- [MENTION=8331336]SwiftingDuster[/MENTION] got is bootloader loggeg with VTR-L29C636B362 coming from B162. It can be produced by the firmware files, I really don't know.

- eMMC version of P10 can be bricked! Thanks [MENTION=9062037]mleczan[/MENTION] for notice. If possible I will release an eMMC version, but without testers I can't do it.

--- U P D A T E - C H A N G E L O G ---

UPDATE 130618 - Only officialupdate

- Fixed an issue with the script, should work know (theoretically - can't test it at the moment!)

UPDATE 020618 - Only officialupdate

- Added a third guide for using official update method by EMUI.

Testers needed!

UPDATE 060518 - Only oreoupgrade

- Added support for eMMC devices

Thanks to [MENTION=9062037]mleczan[/MENTION] who provided me information about eMMC devices!

Testers for both versions are still welcome and wanted - I need information if it's working or not (I can't provide any warranty for safety!)

UPDATE 040518 - Only oreoupdate

- Added support for eMMC devices.

Special thanks to [MENTION=9062037]mleczan[/MENTION] who provided the code for eMMC devices!

Testers with eMMC devices are needed! Please read post #219!

UPDATE 080418

- Fixed oreoupdate - should work now!

UPDATE 050418

- Added comments to TWRP output

- Added security and fail safety

(check if all files are present and in the right directory, if not, it stops)

IF YOU FIND ANY ERRORS OR TYPOS PLEASE REPORT !!

UPDATE 130318

- Fixed a typo on oreoupdate, sorry for this guys!

UPDATE 120318

- Fixed the script for oreoupdate.

- Added version number 120318 for better overview of updates.

- Added MD5.

- Added firmware links for VTR-L09 and VTR-L29 version B360 provided from hwmt firmware database.

- Added screenshots of sd card directory.

- Edited the tutorial for unlocking bootloader and installing TWRP.

UPDATE 180319

- Added spoilers, for better overview

- Added pieupdate, for updating pie and downgrading to oreo

Greetings,

Jannomag