How about this: completely turn your phone off. Stick it in a bag. Not your pocket.
Don’t say “oh, but my boarding pass”. Get a paper one.
I assume that’s still a choice.
Surely you can read that paperback long enough to get boarded.
What is wrong with people? This is not that hard.
Plus, maybe don’t take pix or talk about your criminal behavior. That is just stupid.