A:Answer I do not know about hp127. If it has a USB-C, and your phone has a micro-USB. Then you can use this cable. Connection:
HP127 -> this cable -> USB-A to micro USB -> phone
If HP127 has USB-A/B and your phone has a USB-C, then the connection is:
HP127 -> USB-A cable -> this cable -> phone
If neither of the above cases, then you do not need this cable.