Police: Broken phone used to simulate gun before deadly shooting