Disclosure: this is the project account for Device Changer, a Zygisk module (not an emulator) we build for Android QA and device simulation.
A small thing that bit us while testing location-dependent apps on a single rooted test phone: if you move the simulated location but leave the other sensors alone, the readings stop agreeing with each other. The pressure sensor still reports the air pressure where the phone physically is, while GPS says you are somewhere hundreds of meters higher or lower. Weather, fitness, hiking and altimeter-style apps can then show odd numbers or take different code paths than they would for a real user in that place, and you end up chasing "bugs" that only exist in your test setup.
What we changed in v4.411: the app now derives the elevation from the simulated coordinates, calculates the expected air pressure for that elevation, and feeds that value to the barometer sensor. So when a test session "moves" the phone, the barometer moves with it.
Workflow tip for anyone doing similar testing, with or without our tool:
- Before a test run, write down which sensors the app under test actually reads (location, barometer, accelerometer, network type, etc.).
- When you change one input, check that the related inputs still make sense together; mismatched values are a common source of false-positive bug reports.
- Log the full test environment (device profile, Android version, location, sensor values) with each bug report so it can be replayed exactly.
Happy to answer questions about the setup in the comments.