I would think the best way to stop reaching for your phone when you're bored is to put it away and find something else to do.
You have an urge for something. Stop and think about the root cause for that urge. Try to satisfy the root cause with a healthier option. For me… keep your hands busy. I knit and craft and cook and type and read and origami. Fill the void instead of trying to practice suffering with it empty