It may be your computer or the USB cable that is the problem, not iOS. You haven't even mentioned the iOS that you have on your device.
Many users who have updated to iOS 16 and above must have a similar issue if the issues stated by you is due to the iOS.
Unless you state what the issue is many in this forum may not be able to respond positively to the issue you are facing.Â
With the limited information that you have provided, It is hard to even guess the problems faced by you.Â
You may get faster and better responses to your query by --> Writing an effective Apple Support Commun… - Apple ...
Please re-post with detail so that someone else can help.