nappingnoodle wrote:
I tried both SMC and NVRAM reset but the issue persists. Can it be a hardware issue? Still no data output from the 2 ports, just charging.
Try rotating the USB-C connector 180º upside down to see if it makes any difference. This is not a fix, but just a possible temporary work around to access your devices. If this works, then it means the USB-C ports are damaged. For the 2017 non-touchbar model, this means the Logic Board is bad since the USB-C ports are integrated into the Logic Board.
I do not recommend spending any money on repairs for any Intel USB-C Macs for multiple reasons especially since the money spent on repairs is better put towards a new laptop. FYI, this laptop has a lot of known design & manufacturing issues as well as some lesser known issues and it uses an OS (Ventua) that will lose official support in a few months.