Several outlets have been reporting on an apparent hardware bug in the iPhone 5s accelerometer/gyroscope. The defect manifests itself in accelerometer-based apps and Apple’s Compass app, which show discrepancies of as much as 8 to 10 degrees compared to the iPhone 5.
In the gifimation above, Gizmodo discovered that EA’s Real Racing 3 (running on a level plane) immediately registers a phantom leftward tilt when you start a new race on the iPhone 5s.
RealityCap, a developer of 3D APIs, theorizes that the bug may be in the new Bosch Sensortech accelerometer, a new part supplier in the iPhone 5s. In a blog post RealityCap CEO Eagle Jones points to the Chipworks teardown of the iPhone 5s, which identifies a Bosch Sensortech BMA220 accelerometer in the new flagship iPhone 5s. The iPhone 5 uses a STMicroelectronics LIS331DLH part according to iFixit.