Recycling sensors from a broken android device using adb
问题 I just broke my s3. 3 years ago it was one of the best smartphones. Question How can I get the values of the inertial sensors of the phone via usb? I would like to use the accelerometer, gyroscope, magnetometer, barometer and gps sensors of the device. Let's say that we want to get: the raw acceleration's data along the three axes. I connected the usb cable and ran adb root and adb shell . Ok. root@android:/ # find / -type d -iname "sensors" /sys/devices/virtual/sensors /sys/class/sensors The