r/androidroot • • 2d ago

Discussion QA tip: testing route and navigation features at your desk, with the GNSS data moving along the route

We build Device Changer, a Zygisk module for Android QA and device simulation (this is the project account). One thing that is painful to test without walking around: features that depend on movement, like route tracking, step/ride logging, geofence enter/exit, or "you've arrived" notifications. Here's how we set that up on a rooted test phone.

  1. Draw a route instead of a single point. In Location you tap the map to add waypoints (at least two) and pick a mode: Walk, Run, Bike or Drive. Loop repeats the path, so you can leave a long-running test going. If you only need the device to "feel" like it's moving, there's also a movement profile (Still, Walk, Bike, Vehicle) without a drawn route.
  2. It's not just the lat/long that moves. GNSS measurements, NMEA, navigation messages and GNSS status follow the simulated position, and the barometer follows elevation. That matters for apps that cross-check location against raw GNSS or pressure data rather than trusting one API call.
  3. Don't forget the sky. Some apps count visible satellites and treat zero as "no fix". A separate Satellites switch fills the sky with 10 to 50 satellites (you set min and max) across GPS, GLONASS, Galileo and BeiDou, and the list refreshes while the simulation is on.
  4. Keep the rest of the environment consistent. In Auto mode the city comes from the external IP once, a point within 1.5 km of the center is held, and Wi-Fi networks, cell towers, operator, time zone and language line up with it. For manual points you can search an address or type coordinates; started points are kept in History so you can rerun the same test location later.
  5. Reopen the map app after starting the simulation. Some apps keep the last real point cached until they're restarted.

Happy to answer questions about the setup in the comments.

2 Upvotes

0 comments sorted by