New smartphones provide real-time access to GNSS pseudorange, Doppler, or carrier-phase measurement data at 1 Hz. Simultaneously, they can receive corrections broadcast by GNSS reference stations to perform real-time kinematic (RTK) positioning. This study aims at the real-time positioning capabilities of smartphones using raw GNSS measurements as a conventional method and proposes an improvement to the positioning through the integration of Inertial Navigation System (INS) measurements. A U-Blox GNSS receiver, model ZED-F9R, was used as a benchmark for comparison. We propose an enhanced ambiguity resolution algorithm that integrates the traditional LAMBDA method with an adaptive thresholding mechanism based on real-time quality metrics. The RTK/INS fusion method integrates RTK and INS measurements using an extended Kalman filter (EKF), where the state vector x includes the position, velocity, orientation, and their respective biases. The innovation here is the inclusion of a real-time weighting scheme that adjusts the contribution of the RTK and INS measurements based on their current estimated accuracy. Also, we use the tightly coupled (TC) RTK/INS fusion framework. By leveraging INS data, the system can maintain accurate positioning even when the GNSS data are unreliable, allowing for the detection and exclusion of abnormal GNSS measurements. However, in complex urban areas such as Qazvin City in Iran, the fusion method achieved positioning accuracies of approximately 0.380 m and 0.415 m for the Xiaomi Mi 8 and Samsung Galaxy S21 Ultra smartphones, respectively. The subsequent detailed analysis across different urban streets emphasized the significance of choosing the right positioning method based on the environmental conditions. In most cases, RTK positioning outperformed Single-Point Positioning (SPP), offering decimeter-level precision, while the fusion method bridged the gap between the two, showcasing improved stability accuracy. The comparative performance between the Samsung Galaxy S21 Ultra and Xiaomi Mi 8 revealed minor differences, likely attributed to variations in the hardware design and software algorithms. The fusion method emerged as a valuable alternative when the RTK signals were unavailable or impractical. This demonstrates the potential of integrating RTK and INS measurements for enhanced real-time smartphone positioning, particularly in challenging urban environments.