Change the WIDTH and THICKN variables to match your phone. You may want to provide 0.5mm or so of clearance, that's up to you, I assume you know what you're doing.
The author marked this model as their own original creation.