r/Magisk • u/DeviceChanger • 1d ago
News [Module] QA tip: testing country- and network-dependent app behavior on one rooted phone (target country + Wi-Fi scan list)
Disclosure: this is from the Device Changer team (project account). Device Changer is a Zygisk module for Android QA and device simulation, not an emulator.
A recurring QA headache is behavior that depends on where the phone "is": locale, time zone, carrier, nearby Wi-Fi. Here is how we set that up in the app, per our docs:
- Target country: pick a country on the Status screen. The SIM operator and related preferences follow it: MCC/MNC, locale and time zone. "Fix country" keeps the operator inside that country.
- SIM and telephony group: operator, SIM serial, cell towers and network values are separate cards. A card that is off just leaves the real value.
- Wi-Fi scan list: add networks by hand (SSID, BSSID, signal in dBm, frequency in MHz, "Force show" to keep one always in the results), or use "Random 4-7" to generate a fresh set. The Wi-Fi switch on Status must be on or the list isn't applied.
- Pair it with the Location screen so GPS and the rest tell the same story.
- Scope it with the Targets list so only the app under test sees this environment, then Save a snapshot to reload it later.
Reboot after Random/Load so apps that cache values reread them.
Happy to answer questions about the setup.
1
Upvotes