[Huawei P10 Guides, News, & Discussion] camp04:
Finally Done

After 4 day I have managed to update my phone from L09 to L29 (C432B179) using the script. (update.bat)

On the way I have found many many problems and solutions which I would like to share.

First... I have started it as a rookie with no idea what am I doin so dont worry.

The script works but there are many things to take care.

Steps and what to avoid or check are highlighted in RED!

STEP 1

1. Unlock your bootloader: (There´s no way around it (unfortnuately), but after the procedure your device will be locked again, so don´t worry!)

The device will make a factory reset, so once again, BACKUP your files!!!!!!!!!!

If you already unlocked your bootloader with installed twrp you can go to step 2. Thats almost true... but really imporant to install HiSuite so you have the right drivers!!! You don´t have to install TWRP in the following miniguide. the script installs it automatically.

But if you want to backup your system or the OEMinfo you have to do this step.

1. Download Hisuite and install: HiSuite

2. Enable ‘USB debugging’ and ‘OEM Unlock’ option from setting>developer option>. To enable Developer Options, go to About phone and tap the Build Number 7 times.

3. Install the ADB Minimal Installer or ADB and Fastboot for Mac and then restart if you already have the driver installed then skip this step.

4. Download TWRP for the P10

5. Now create a Huawei id from this page: Register for Unlock Code

6. After creating a Huawei id, fill out the detail on this page to get your unlockcode.

7. It will ask for a product identification code, (to get that dial *#*#1357946#*#*) and copy the MEI code and submit.

8. Save your code somewhere (in a textfile for instance).

9. Now go to ADB and Fastboot installation directory open ADB folder and open the command window as an administrator

10. Connect your phone to PC and reboot the device into fastboot mode by typing “adb reboot bootloader”.

11. Type “fastboot devices” in command prompt and hit enter, it gives you serial numbers in return means your phone connected properly.

12. To unlock bootloader, type fastboot oem unlock yourunlockkey. Here replace unlock key with the key you got. For example “fastboot oem unlock 1234567890″.

13. If you want TWRP at this point you have to copy the downloaded twrp.img-file into the adb directory and type fastboot flash recovery twrpimage.img <.--type in the exact filename you´ve downloaded.

14. To restart the system type “fastboot reboot”

15. Boot into TWRP and make a Backup of the "OEMinfo" and/or the system. You should be able to that without any guide, otherwise it´s a big mistake keep reading and following this guide!!!

STEP 2.

1. Depending on your variant (You can check with the app firmwarefinder and imei, if the update is approved) use:

HWOTA_P10_B179 (MD5-Hash: 7D133B7484E7B4AABA84BA1284D148EC )

or

HWOTA_P10_B180 (MD5-Hash: 7E11EE56E83AB98DA4DE03273A6A7633 )

and extract it on your PC or your device SD Card. I recommend using 7zip.

some older versions of the hwota:

HWOTA_P10_B164

HWOTA_P10_B130

2. Run the update.bat file from a preopended CMD with adminrights, It will ask you if you copied the files. Press any key to continue.

3. Now connect your device and Reboot into Bootloader mode using “Volume Down + Power” or just use “adb reboot bootloader” then press any key.

4. The above step will install TWRP in your device.

5. Now Disconnect USB Cable and turn off your device and use “Volume Up + Power” to enter TWRP.

6. Once you’re in TWRP mode, plug in the USB cable again and press the Enter key on your computer. If it stacks then you dont have the right driver so again install HiSuite and disconnecting + connecting the phone will do the job.

7. If your files are saved in the HWOTA folder on the SD card, type 1 and press ENTER and if files are saved in the HWOTA/Update folder on your PC, type 2 and press ENTER. I recommend using the sdcard, cause you avoid problems with cheap cables, driverproblems, etc. Make sure you sdcard is fully working and has no errors. Forget the SDCard copy... let the script copy the files from the PC, with SDCard I have tried 3 times with no result.

8. It’ll ask you the update type, again type 1 and press the Enter button twice. Here is an another catch coz I did it and it gave me back a totally "different phone" like:

ONYX D188

D188-L09

NRD90M test-keys

EMUI 3.1, Android 5.1

So if you have this dont worry there is a way out... :) just next time instead of 1 use the option 2 here with *Rebrand and then chose L29C432. It can stuck again but you have to repeat the script untill it goes through. (For me that was the 3rd try...) Then you have OEM update so just wait till the files are also copied to the phone.

Ah and before I forget it... with ONYX D188 it can happen that the script stucks around the 6th point... Dont worry/dont panic/dont press 100 Enter, just check the driver installed on your PC and if its ONYX just delete the driver and disconnect + connect the phone again. -> Driver will be good again and the script can go to the copy part.

9 Done! Be patient an let it do it thing. Here is quite normal that the script seems to be stopped, but just wait 5-6 mins and you can disconnect the phone. Also with ctrl+c end the script to start again. :) After disconnecting the phone if you have waited the 5-6 mins then it will start to install the update.

10. If you have any problems booting, i recommend doing an low-level factory reset after. For me there was a low level factory reset all the time when I have finished the script and the update. But what is really important here to check your phone settings and allow again the USB debugging! Also you have to unlock your bootloader, which from now on can be done by the script too.

From now on if you have the L29 which you have wanted just chose at the 17th point the 1. option and let it do again if you dont then repeat to chose the option 2 and * Rebrand untill you have it!!!

11. Run the update.bat file as an administrator, It will ask you if you copied the files. Press any key to continue.

12. Now connect your device and Reboot into Bootloader mode using “Volume Down + Power” or just use “adb reboot bootloader” then press any key.

13. The above step will install TWRP in your device.

14. Now Disconnect USB Cable and turn off your device and use “Volume Up + Power” to enter TWRP.

15. Once you’re in TWRP mode, plug in the USB cable again and press the Enter key on your computer.

16. If your files are saved in the HWOTA folder on the SD card, type 1 and press ENTER and if files are saved in the HWOTA/Update folder on your PC, type 2 and press ENTER. I recommend using the harddrive of the pc

17. It’ll ask you the update type, again type 1 and press the Enter button twice.

18. Done! Be patient an let it do it´s thing.

19. If you have any problems booting, i recommend doing an low-level factory reset after.

AND THAT WAS ALL! Thank you for the script and good luck!

As for this STEP:

STEP 3 (Optional Update Method 1)

If you have already unlocked your bootloader und installed TWRP, you can also use this method to install the new system update:

1. Make a complete backup of your current system via twrp and save the backup to sd or your pc.

2. Download one of the Huawei P10_HWOTA files from above, save it on your device and unzip it

3. Navigate to the update folder in the HWOTA-folder and copy the 3 files to your device (sdcard recommended)

4. Now Boot your device into TWRP

5. In TWRP flash "update.zip" and don´t reboot!!!

6. Flash "update_all_hw.zip" and don´t reboot!!!

7. Flash "update_data_public.zip"

6. Wait until all files are flashed

7. Done! Reboot TWRP

I have recieved and ERROR: 9 message which you can find here too: https://xdaforums.com/android/help/error-9-flashing-update-zip-t3732838

Sadly I am not sure about the solution, but I think it has something to do with the copy from PC to SDCard so on page 3 I have a theory which can be also the solution. Still waiting for test result.