With people nowadays spending an increasing amount of time indoors, smartphone-based indoor positioning technology holds significant practical value. However, existing Pedestrian Dead Reckoning (PDR) algorithms typically require smartphones to maintain specific attitudes, severely limiting their practicality.