I would suggest ditching the idea of a on-the-bike charger and just spend $150 for a Garmin Edge 200 head unit and get much better GPS accuracy. Or get the Edge 500 with all the bells and whistles. Those things will run 12++ hours on a charge. Use your phone for a music player only.
Plus one on the dedicated GPS unit. Add a speed/cadence sensor, and it will even keep your speed and distance if you lose signal in the woods.
And, if you're riding out in the woods solo, your phone will be your lifeline after a crash or other emergency. I make sure my phone is fully charged and in a crash safe place (not on a handle bar mount). Using it as a GPS/music player/do-it-all and draining your battery could be bad juju if you get hurt 15 miles out on a trail.