[Android Q&A, Help & Troubleshooting] camp04:
I have the P10 VTR-L09C432B179 (Europe/Germany) and I would like to use the 2nd SIMcard slot so start to update it to L29C432B179.

First I was stucked with the script several times so decided to do 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

Sadly I am stucked here to at step 5. Till there I did everything as it says.

I have unlocked the bootloader, have TWRP installed and copied the complett HWOTA folder with the 3 zips (HWOTA/update/update.zip, update_all_hw.zip, update_data_public.zip).

Now when I try to flash update.zip or update_all_hw.zip in TWRP I receive and ERROR: 9 message.

If I flash the update_data_public.zip it seems to be good to me and TWRP says "Success".

from the logs:

"script aborted: update_huawei_pkg_from_ota_zip: update package from zip failed

check_write_data_to_partition,write data error

update_huawei_pkg_from_ota_zip: update package from zip failed

Func: hw_create_verify_and_update_thread, Line: 463, result = 9.

Func: main, Line: 439, result = 9, verify failed.

open nv file error

read nv VMODE failed, retNv = -1

set verift mode as logging failed.

E:unknown command [errno]

Updater process ended with ERROR: 9

I:Legacy property environment disabled.

I:Install took 0 second(s).

Error installing zip file '/external_sd/HWOTA/update/update.zip'

Updating partition details...

I:Data backup size is 888MB, free: 51959MB.

I:Can't probe device /dev/block/sda

I:Unable to mount '/usbotg'

I:Actual block device: '/dev/block/sda', current file system: 'auto'

...done"

Thank you in advance for any help.

More from logs here:

Updater process ended with ERROR: 9

I:Legacy property environment disabled.

I:Install took 23 second(s).

Error installing zip file '/external_sd/HWOTA/update/update_all_hw.zip'

Updating partition details...

I:Data backup size is 1918MB, free: 50925MB.

I:Can't probe device /dev/block/sda

I:Unable to mount '/usbotg'

I:Actual block device: '/dev/block/sda', current file system: 'auto'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

Installing zip file '/external_sd/HWOTA/update/update_data_public.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

[2018-01-10 10:48:00 130] failed to read /etc/recovery.fstab

[2018-01-10 10:48:00 131] unknown volume for path [/data]

mount data failed, error: No such file or directory.

/data/hota_pkg_stat is not exist.

This is the first or the last hota package, no need to unlink it in update-binary

there is no file cust.new.dat in package.

there is no file cust.patch.dat in package.

there is no file system.new.dat in package.

there is no file system.patch.dat in package.

there is no file product.new.dat in package.

there is no file product.patch.dat in package.

there is no file vendor.new.dat in package.

there is no file vendor.patch.dat in package.

there is no file:full_mainpkg.tag in package,it's diff mainpkgthere is no file UPDATE.APP in package.

ext4_percent = 0.000000.

there is no file cust.transfer.list in package.

there is no file system.transfer.list in package.

there is no file product.transfer.list in package.

there is no file vendor.transfer.list in package.

total_blks = 0.

[2018-01-10 10:48:00 131] unknown volume for path [/data]

mount data partition fail!

File META-INF/com/google/android/pre-script is not exist in package.

script = META-INF/com/google/android/verify-script, script_count = 1.

[2018-01-10 10:48:00 131] unknown volume for path [/data]

mountencrypt: failed to mount /data: Success

mountencrypt: failed to mount /data: Success

File META-INF/com/google/android/mid-script is not exist in package.

script succeeded: result was []script = META-INF/com/google/android/updater-script, script_count = 1.

Verifying current userdata...

Removing unneeded files...

Patching userdata files...

Removing empty directorys...

Unpacking data new files...

I:[MTP] MtpServer::run fd: 17

add link type file...

script succeeded: result was []File META-INF/com/google/android/post-script is not exist in package.

I:Updater process ended with RC=0

I:Legacy property environment disabled.

I:Install took 6 second(s).

Updating partition details...

I:Data backup size is 888MB, free: 51959MB.

I:Can't probe device /dev/block/sda

I:Unable to mount '/usbotg'

I:Actual block device: '/dev/block/sda', current file system: 'auto'

...done

I:Set page: 'flash_done'

I:operation_end - status=0

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 17

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing zip file '/external_sd/HWOTA/update/update.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

[2018-01-10 10:48:36 803] failed to read /etc/recovery.fstab

[2018-01-10 10:48:36 803] unknown volume for path [/data]

mount data failed, error: No such file or directory.

/data/hota_pkg_stat is not exist.

This is the first or the last hota package, no need to unlink it in update-binary

there is no file cust.new.dat in package.

there is no file cust.patch.dat in package.

there is no file system.new.dat in package.

there is no file system.patch.dat in package.

there is no file product.new.dat in package.

there is no file product.patch.dat in package.

there is no file vendor.new.dat in package.

there is no file vendor.patch.dat in package.

[2018-01-10 10:48:36 803] unknown volume for path [/data]

mount data partition fail!

File META-INF/com/google/android/pre-script is not exist in package.

script = META-INF/com/google/android/verify-script, script_count = 1.

set zip_file_size = 4294967295.

[2018-01-10 10:48:36 804] failed to read /etc/recovery.fstab

[2018-01-10 10:48:36 804] get_partition_info,line=1350: begin

[2018-01-10 10:48:36 804] get_lun_nums,line=445: ufs node name:/dev/block/sda

[2018-01-10 10:48:36 804] is_file_exist,line=1188: /dev/block/sda is exist

[2018-01-10 10:48:36 806] partition_verify_mbr_signature,line=397: MBR signature does not match.

[2018-01-10 10:48:36 806] mmc_boot_read_mbr,line=573: partition_verify_mbr_signature failure

[2018-01-10 10:48:36 806] get_lun_nums,line=445: ufs node name:/dev/block/sdb

[2018-01-10 10:48:36 806] is_file_exist,line=1188: /dev/block/sdb is exist

[2018-01-10 10:48:36 806] partition_verify_mbr_signature,line=397: MBR signature does not match.

[2018-01-10 10:48:36 806] mmc_boot_read_mbr,line=573: partition_verify_mbr_signature failure

[2018-01-10 10:48:36 806] get_lun_nums,line=445: ufs node name:/dev/block/sdc

[2018-01-10 10:48:36 806] is_file_exist,line=1188: /dev/block/sdc is exist

[2018-01-10 10:48:36 806] mmc_boot_read_mbr,line=590: (dtype == MBR_PROTECTED_TYPE),gpt_partition_exist

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=883: buff = 16384

, Length = 6

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=885: sector = 0x00004000

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=887: emmc_capacity = 0x800000

[2018-01-10 10:48:36 806] mmc_get_device_blocksize,line=270: ufs_node:/dev/block/sdc

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=883: buff = 16384

, Length = 6

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=885: sector = 0x00004000

[2018-01-10 10:48:36 806] mmc_get_device_capacity,line=887: emmc_capacity = 0x800000

[2018-01-10 10:48:36 807] get_lun_nums,line=445: ufs node name:/dev/block/sdd

[2018-01-10 10:48:36 807] is_file_exist,line=1188: /dev/block/sdd is exist

[2018-01-10 10:48:36 807] mmc_boot_read_mbr,line=590: (dtype == MBR_PROTECTED_TYPE),gpt_partition_exist

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=883: buff = 124928000

, Length = 10

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=885: sector = 0x07724000

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=887: emmc_capacity = 0xee4800000

[2018-01-10 10:48:36 807] mmc_get_device_blocksize,line=270: ufs_node:/dev/block/sdd

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=883: buff = 124928000

, Length = 10

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=885: sector = 0x07724000

[2018-01-10 10:48:36 807] mmc_get_device_capacity,line=887: emmc_capacity = 0xee4800000

[2018-01-10 10:48:36 807] parse_args,line=796: This phone is secureboot phone.

[2018-01-10 10:48:36 862] get_receiving_property_buf,line=218: oeminfo get OEMINFO_OEMSBL_VER_TYPE error

[2018-01-10 10:48:36 862] get_receiving_property_buf,line=225: oeminfo get OEMINFO_AMSS_VER_TYPE error

[2018-01-10 10:48:36 862] set_platform_type,line=262: curr_type:1

[2018-01-10 10:48:36 862] get_lun_nums,line=445: ufs node name:/dev/block/sde

[2018-01-10 10:48:36 862] is_file_exist,line=1193: /dev/block/sde not exist

[2018-01-10 10:48:36 862] ufs_ptable_init_to_ram,line=1684: init to ram OK

[2018-01-10 10:48:36 862] get_partition_info,line=1368: end

[2018-01-10 10:48:36 862] vrlinfo_init_to_ram,line=1191: Begin to initialize vrlinfo to ram

[2018-01-10 10:48:36 862] get_partition_vrlinfo_from_ram,line=1155: i=49, break

[2018-01-10 10:48:36 862] vrlinfo_init_to_ram,line=1193: Initialize vrlinfo to ram end

[2018-01-10 10:48:36 862] get_partition_info,line=1372: in common partition,Contains in source code:

.

.

.

[2018-01-10 10:48:36 876] crcmbn_post_write_func,line=1304: check Success : CRC

[2018-01-10 10:48:36 876] newapp_send_cmd_to_recovery,line=119: 0 == total_pkg!

[2018-01-10 10:48:36 876] get_update_type,line=2072: get cur_ptr_receiving_buf_property->update_type=2

[2018-01-10 10:48:36 876] get_update_type,line=2072: get cur_ptr_receiving_buf_property->update_type=2

[2018-01-10 10:48:36 876] void usb_ota_update_message(int, char *),line=737: update_mode = 2

skip data:2

module name:CURVER

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=625:

========Module name:CURVER,module ID:FFFFFFF0 ========

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=626: dwMagicNum :A55AAA55

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=627: szDispName :CURVER

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=628: UnlockCode :HW7x27ÿÿðÿÿÿ

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=629: dwDataStartAddr :0xFFFFFFF0

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=630: dwDataLen :0x00000018

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=631: dwBlockSize_hw :0x00

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=632: dwBlockSize :0x1000

[2018-01-10 10:48:36 876] get_part_property,line=2444: Finding: CURVER,0xfffffff0

[2018-01-10 10:48:36 876] get_part_property,line=2484: common table Find by Name : 0xfffffff0, CURVER

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=724: module_offset_in_emmc_or_nand : 0x00000000

[2018-01-10 10:48:36 876] one_write_pre_write_func,line=936: Pre Write CURVER ...

[2018-01-10 10:48:36 876] cmd_unit_write_post_func,line=796: cmd_unit_write_post_func()...

[2018-01-10 10:48:36 876] crc_mbn_check_32k,line=288: crc_mbn_offset = 0,crc0_length=297034

[2018-01-10 10:48:36 876] dload_vendor_country_info_get,line=1356: read vendor/country error!

[2018-01-10 10:48:36 876] curver_check_pkg_validate,line=1854: get vendor info failed.

[2018-01-10 10:48:36 876] curver_check_pkg_validate,line=1858: dataptr is:Victoria_Global_C999B000.

tmp_str is:DATA_.

[2018-01-10 10:48:36 876] curver_write_func,line=1902: this image ok

[2018-01-10 10:48:36 876] default_post_func_no_action,line=844: Attention:No Action!

skip data:0

module name:VERLIST

[2018-01-10 10:48:36 876] cmd_unit_write_begin_func,line=625:

========Module name:VERLIST,module ID:FFFFFFF1 ========

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=626: dwMagicNum :A55AAA55

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=627: szDispName :VERLIST

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=628: UnlockCode :HW7x27ÿÿñÿÿÿ.

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=629: dwDataStartAddr :0xFFFFFFF1

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=630: dwDataLen :0x0000002E

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=631: dwBlockSize_hw :0x00

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=632: dwBlockSize :0x1000

[2018-01-10 10:48:36 877] get_part_property,line=2444: Finding: VERLIST,0xfffffff1

[2018-01-10 10:48:36 877] get_part_property,line=2484: common table Find by Name : 0xfffffff1, VERLIST

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=724: module_offset_in_emmc_or_nand : 0x00000000

[2018-01-10 10:48:36 877] one_write_pre_write_func,line=936: Pre Write VERLIST ...

[2018-01-10 10:48:36 877] cmd_unit_write_post_func,line=796: cmd_unit_write_post_func()...

[2018-01-10 10:48:36 877] crc_mbn_check_32k,line=288: crc_mbn_offset = 2,crc0_length=297034

[2018-01-10 10:48:36 877] amss_version_list_write_func,line=1789: amss version list check Begin!

[2018-01-10 10:48:36 877] amss_version_list_write_func,line=1793: version checked ok

[2018-01-10 10:48:36 877] default_post_func_no_action,line=844: Attention:No Action!

skip data:2

module name:PACKAGE_TYPE

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=625:

========Module name:PACKAGE_TYPE,module ID:FFFFFFF2 ========

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=626: dwMagicNum :A55AAA55

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=627: szDispName :PACKAGE_TYPE

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=628: UnlockCode :HW7x27ÿÿòÿÿÿ

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=629: dwDataStartAddr :0xFFFFFFF2

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=630: dwDataLen :0x0000000E

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=631: dwBlockSize_hw :0x00

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=632: dwBlockSize :0x1000

[2018-01-10 10:48:36 877] get_part_property,line=2444: Finding: PACKAGE_TYPE,0xfffffff2

[2018-01-10 10:48:36 877] get_part_property,line=2484: common table Find by Name : 0xfffffff2, PACKAGE_TYPE

[2018-01-10 10:48:36 877] cmd_unit_write_begin_func,line=724: module_offset_in_emmc_or_nand : 0x00000000

[2018-01-10 10:48:36 877] one_write_pre_write_func,line=936: Pre Write PACKAGE_TYPE ...

[2018-01-10 10:48:36 877] cmd_unit_write_post_func,line=796: cmd_unit_write_post_func()...

[2018-01-10 10:48:36 877] crc_mbn_check_32k,line=288: crc_mbn_offset = 4,crc0_length=297034

[2018-01-10 10:48:36 877] package_type_write_func,line=1966: package type check Begin!

[2018-01-10 10:48:36 877] package_type_write_func,line=1974: package type online,need check

[2018-01-10 10:48:36 877] AuthErrCode getAuthResult(),line=74: update auth result failed[14]

[2018-01-10 10:48:36 877] package_type_write_func,line=1976: auth result is 14!

[2018-01-10 10:48:36 877] package_type_write_func,line=1979: package auth check fail!

[2018-01-10 10:48:36 877] check_write_data_to_partition,line=525: push SD_WRITE_FAIL_L4

[2018-01-10 10:48:36 877] cmd_unit_write_post_func,line=822: ERROR,write_func

[2018-01-10 10:48:36 877] update_from_zip_module_post,line=201: cmd_unit_write_begin_func failure

error:update_device_func,line:312, all_module_func[1]

minzip: Process function elected to fail (in inflate)

minzip: ### result: -1 vs pEntry->uncompLen: 4294967295, ignore...

[2018-01-10 10:48:36 877] all_data_32K_checked_ok,line=2536: ( cur_ptr_receiving_buf_property->crc_mbn_offset != cur_ptr_receiving_buf_property->rec_crc_length )

script aborted: update_huawei_pkg_from_ota_zip: update package from zip failed

check_write_data_to_partition,write data error

update_huawei_pkg_from_ota_zip: update package from zip failed

Func: hw_create_verify_and_update_thread, Line: 463, result = 9.

Func: main, Line: 439, result = 9, verify failed.

open nv file error

read nv VMODE failed, retNv = -1

set verift mode as logging failed.

E:unknown command [errno]

Updater process ended with ERROR: 9

I:Legacy property environment disabled.

I:Install took 0 second(s).

Error installing zip file '/external_sd/HWOTA/update/update.zip'

Updating partition details...

I:Data backup size is 888MB, free: 51959MB.

I:Can't probe device /dev/block/sda

I:Unable to mount '/usbotg'

I:Actual block device: '/dev/block/sda', current file system: 'auto'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 17

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 17

I:Set page: 'copylog'

I:Set page: 'action_page'

I:operation_start: 'Copy Log'

I:Copying file /tmp/recovery.log to /external_sd/recovery.log

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

I have tried it 3 times.

From here http://pro-teammt.ru/firmware-database/?firmware_model=vtr-l09c432B179&firmware_page=0 2 times the FULLOTA-MF versions and once the zip given at P10 debrand/rebrand forum.