"One" substitutes for "a new phone."
"I need a new phone. I will buy tomorrow." ellipsis and substitution grammar exercises pdf
Ellipsis means omitting words from a sentence because the context makes them clear. We use it to avoid sounding robotic or overly formal. "One" substitutes for "a new phone