Thank you for contacting us.
Regarding your project, I haven’t done anything similar before, however I have found some other threads in a different Community that might be of help.
Let us know if helps you.
Thank you for the reply.
I have tried the suggestions in link you have shared, sadly It did not work.
Could you please provide the whole log of the error? I would like to know if there’s some more information related to the usb-modeswitch error you’re getting, maybe some information on its dependencies.