Hardware, behavior, and physical context
Your phone measures your daily habits.
Accelerometers, gyroscopes, microphones, magnetometers, barometers, and light sensors do more than orient a screen. The generated telemetry can distinguish hardware, classify posture and movement, recognize a gait, and turn repeated behavior into a map of places and routines.
Overview
Sensor tracking has three different targets.
Hardware fingerprinting measures stable imperfections in the device itself. Behavioral biometrics models how a person walks, types, holds, tilts, or moves with the device. Context inference estimates what is happening around the device: whether it is on a bed, in a pocket, climbing floors, riding a train, or returning to the same room.
All three begin with ordinary measurements. The identifying information emerges from calibration bias, timing, repetition, and correlation with other records.
Try the motion demo ↓x · y · z · timeDevicestable bias and manufacturing variation
Personcadence, handling, posture, gait
Place + routinerepeated context across time
Local demo
Watch posture inference change based on how you hold your phone.
Enable live sensors on a compatible phone, or run the simulation. This demo keeps samples inside the current tab and uses a deliberately simple classifier.
Waiting for a sensor stream
0.000.000.00Production systems analyze windows rather than single samples. They extract frequency, variance, periodicity, transitions, and cross-sensor features, then associate the resulting labels with an account or device history.
Sensor atlas
Each channel describes a different part of the scene.
A single sensor is useful. Fused sensors reduce ambiguity: tilt plus angular velocity separates posture from movement; pressure adds floors; magnetic and acoustic signatures add place.
Accelerometer
- Measures
- linear acceleration + gravity
- Can reveal
- posture, steps, gait, handling, vibration, calibration bias
Gyroscope
- Measures
- angular velocity
- Can reveal
- rotation, gestures, gait, tap motion, low-frequency acoustic energy
Magnetometer
- Measures
- magnetic field on three axes
- Can reveal
- heading, nearby structures, indoor magnetic signatures
Barometer
- Measures
- air pressure
- Can reveal
- floor changes, elevation, weather-linked movement, travel mode
Microphone + speaker
- Measures
- sound and frequency response
- Can reveal
- room acoustics, nearby media, ultrasonic beacons, hardware response
Light + proximity
- Measures
- illumination and nearby surfaces
- Can reveal
- pocket state, indoor context, screen handling, recurring environments
From posture to place
“Lying down” can become “this is the bedroom.”
Accelerometer and gyroscope data can classify static postures and movement. A widely used UCI dataset labels walking, stairs, sitting, standing, and lying from phone motion. Add time, duration, recurrence, and location anchors, and a posture label becomes spatial context.
- 01Classify posture
Gravity across three axes separates upright, tilted, face-up, and side-on orientations.
- 02Measure dwell
A few seconds is handling. Hours of repeated stillness at night is a routine.
- 03Anchor the pattern
GPS, IP, Wi-Fi, Bluetooth, magnetic field, light, audio, or user activity can attach the routine to a place.
- 04Infer the room
The longest recurring lying interval is a strong bed candidate; repeated paths and environmental signatures separate nearby spaces.
Audio is larger than the microphone
The phone can hear through several physical channels.
A speaker and microphone have a device-specific frequency response that can become a hardware fingerprint. A microphone can recognize room acoustics, nearby media, and ultrasonic markers. Even a MEMS gyroscope can react to low-frequency acoustic energy: the Gyrophone research recovered speaker information and partial speech features from gyroscope output.
Compare browser audio rendering →What becomes identifiable
Sensor telemetry can expose hardware or behavior and drive inference.
Calibration fingerprint
Manufacturing and factory-calibration differences create stable offsets and scale factors. SensorID showed that calibration data could be recovered from motion output and used as a device fingerprint.
bias + scale + noise floorBehavioral biometric
Walking cycles, tap force, typing rhythm, dominant-hand posture, and recurring gestures can form a model of the person carrying the phone.
cadence + timing + motionEnvironmental signature
Pressure, magnetic anomalies, light, acoustics, motion transitions, and network anchors can distinguish floors, rooms, routes, and travel modes.
place + time + recurrenceCollection paths
The same hardware has several access points.
Access depends on platform, sensor, API, foreground state, sampling rate, and permission model. A visible prompt for one derived service does not describe every raw or fused sensor path.
Core Motion, Android Sensor Framework, microphone, platform SDKs
app account · device ID · telemetry sessionDeviceMotion, DeviceOrientation, Generic Sensor APIs where supported
cookie · login · fingerprint · IPanalytics, fraud, advertising, engagement, crash and performance libraries
vendor IDs · publisher account · cross-app recordsactivity recognition, fitness, safety, diagnostics, accessibility, system services
platform account · OS identifiers · service historyReduce the stream
Control access, duration, and linkage separately.
No single switch covers native sensors, browser events, embedded SDKs, platform telemetry, and data already associated with an account.
- 01Review Motion, Fitness, Microphone, and Location access
Remove access from apps that do not need the corresponding physical measurement.
- 02Limit background execution
Short foreground samples and continuous histories expose different levels of routine.
- 03Separate identities and environments
A sensor pattern becomes more useful when joined to a durable account, device ID, IP history, or precise location.
- 04Keep the sensor out of sensitive spaces
For the strongest boundary, remove or power down the device rather than relying on an application-layer promise.
Continue reading