RE: knocking the phone off, you said you have an idea requiring a machinist.
If instead of that magnetic foot, what if you had a permanently attached, hard plastic pocket, with a nice magnet glued outside it?
Bump the affixed pocket, and it can fall off, and it secures the phone with its magnet.