The driver assistance system (DAS) is important to assist drivers with driving safety and efficiency. The lane departure warning system (LDWS), being an essential portion within the DAS, aims at providing warning messages under irregular driving behaviors due to distraction, drowsiness, or driver negligence. As the developments of mobile devices are boosted vigorously, it becomes more feasible to integrate sensing, photographing and displaying components within the LDWS. In this paper, the pitch-aided lane tracking (PALT) algorithm is proposed to detect and track the lanes on the roadways base on the particle filter. A pitch model is proposed to track the lane attributes associated with the pitch angle of a mobile device in order to conquer the effects from bumpy road and loosely-equipped of a mobile device. Moreover, the proposed PALT scheme can compensate the influences of insufficient observations from the display. Numerical results show that proposed PALT scheme can provide better lane-tracking performance compared to both original observations and the model without considering pitch angle.