I modelled this holder so I can be programming apps for front camera and having the phone connected at the same time. Works like a charm even for multiple sizes of phones, even editing the model should be fairly simple if you need to adjust size
Easy to 3d print, just lay it on side withsome 10-20% infill and there you go
If you are happy with the model, you can buy me a coffee* Cheers!
https://www.buymeacoffee.com/oxoo