To solve the problem of vibration motor fault detection accuracy and inefficiency in smartphone components, this paper proposes a fault diagnosis method based on the wavelet packet and improves long and short-term memory network. First, the voltage signal of the vibration motor is decomposed by a wavelet packet to reconstruct the signal. Secondly, the reconstructed signal is input into the improved three-layer LSTM network as a feature vector. The memory characteristics of the LSTM network are used to fully learn the time-series fault feature information in the unsteady state signal, and then, the model is used to diagnose the motor fault. Finally, the feasibility of the proposed method is verified through experiments and can be applied to engineering practice. Compared with the existing motor fault diagnosis method, the improved WP-LSTM diagnosis method has a better diagnosis effect and improves fault diagnosis.