The folding procedure is in the attached pdf.It's a good idea to use washers everywhere on the M5 bolts.
Version 2:
https://www.printables.com/cs/model/529125-variable-mobile-phone-holder-with-clamp-v2
The author marked this model as their own original creation.