Did you install Magisk by any chance? Remove it.File transfer doesn't work when USB debugging gets enabled on Huawei P Smart. It always reverts back to USB charging this device option, no matter which option I choose.
Magisk causes issues with USB connectivity on Phh ROMs, at least on Huawei devices - they simply don't appear over USB at all, regardless of how you configure the port.