IMHO, a smartphone is not a good tool for this job. The screen is not transflective (bad with sunlight, and eats battery), it gets hot (which means it will shorten its life as heat dosen't get well with electronics and batteries), has a GPS precission that is crap compared to a Garmin, usually is not rugged (you have to carry it in a bag in case it rains), and it's battery life is crap.
If your budget is around 200$, I'd buy an Etrex Touch 35. That's what I did, not only for budget reasons, but for battery reasons. With a couple of rechargeable AA batteries I can ride for 15h in summer or 12 in winter. And can carry spares if needed. When the batteries start to fail, it's just 6 or 7€ to buy a couple of new ones.