Hello, I am also facing the similar issue.

When I try to deply the USB Gadget setting, I receive the following error message

rpc error: code = Unknown desc = Deploying new gadget settings...