A group of hikers was rescued after they got lost descending a mountain trail with dying cellphones, New York rangers say.