[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
What firmware are you on currently?

The reason it ends in Error 1 is because TWRP 3.1.0 can't flash PHH Superuser. You'd have to use TWRP 3.0.2.

However, if you're on B182+ you can flash SuperSU or Magisk. And even if you're not on B182+ you can still flash SuperSU (Though not official version).

If you're on B182+ and encrypted flash either of these:

SuperSU 2.82SR4: https://mega.nz/#!x1FDHYza!g1pEHshv6AbJfwQywcQL3eU_CvhMXD_CultnDS92si4

Magisk v14: https://mega.nz/#!xodxlKQa!9GDQBy8w9QXrImQRejsHST0Y2lFLTVxrLH9vq2cwae4

If you're decrypted or want to decrypt (Decrypting means you remove encryption of /data partition, and makes it able to back up in TWRP. If you're encrypted you won't be able to back it up):

First backup anything you have/want to keep in your internal SD card.

Download official Magisk v14 (https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) or official SuperSU 2.82 SR4, the non-beta won't work. (https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133),

Next download public and data zips for your firmware (Use the picture I made as reference https://i.imgur.com/e95yjOM.png).

I use my firmware, MHA-L09C432B194 as reference here (though I use L29, copied the wrong link and am lazy):

Go to http://hwmt.ru/hwmtsite/firmware-database/.

Enter your full firmware in the search bar, hit enter or click on Find Model.

You should now see 2 of your firmware in the list below, rightclick on the 'filelist' link in the FullOTA-MF row and copy link, paste into notepad.

Click on the filelist link.

Now take your link in notepad (mine is http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1027/g223/v96177/f2/full/filelist.xml) and remove filelist.xml from it.

Check filelist.xml in your browser.

Append 'public/' to your link. (http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1027/g223/v96177/f2/full/public/).

Append 'update_data_full_public.zip' to your link (http://update.hicloud.com:8180/TDS/...77/f2/full/public/update_data_full_public.zip).

Now you have the full link to your public zip, copy and paste into browser and download.

Next for data, look in filelist.xml again but this time at the line under name="public" and copy the text in the subpath="" (mine is MHA-L09_hw_eu).

Append to your link (http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1027/g223/v96177/f2/full/MHA-L09_hw_eu/).

Next copy the text in package="", mine says update_full_MHA-L09_hw_eu.zip.

Append to your link (http://update.hicloud.com:8180/TDS/...l/MHA-L09_hw_eu/update_full_MHA-L09_hw_eu.zip).

And now you have a full link of update_data. Copy and paste into browser and download.

Now copy public, data and Magisk/SuperSU zips to your external sd card (If you have one, else you'll have to use adb to transfer after you've formatted data).

Go to TWRP, tap on Format then on Format Data. This will wipe your /data partition.

When it's done, go back to TWRP start and tap on Reboot then on Reboot Recovery.

When you're booted back into TWRP, flash the public zip and then the data zip (The data zip will give errors but installs anyway).

After you're done with that flash SuperSU 2.82 or Magisk v14.

If you're on a firmware prior to B182, you can flash this SuperSu 2.82 instead of PHH (Works in TWRP 3.1.0 too.):

Encrypted: https://mega.nz/#!QtFGFITT!uZOUjYbRO0FP1szggNevwP8-okZkIqV5KQC2L0lUkg0

Decrypted: https://mega.nz/#!81lxgbBY!EN4mJQfKScQG34Wny3iIlB5EgVVvu9bkeciLSUHzm5s