UnmockGPS is a Xposed/LSPatch module written in Kotlin designed to bypass mock location detection.
- Flag Suppression: Forces
isMock()andisFromMockProvider()to returnfalse. - Hardware Metadata Injection: Injects realistic accuracy and altitude data (Accuracy: 5.0f, Altitude: 35.0).
- Bundle Scrubbing: Automatically removes hidden
mockLocationflags ingetExtrasleft by common spoofing apps.
To successfully bypass modern detection, follow this workflow:
- Activate: Enable the UnmockGPS module via LSPosed or embed it using LSPatch, then launch the target app.
- Mock Location: Set your desired location in a standard "Fake GPS" app.
- Language: Kotlin
- Xposed API: v82
- Targeting: Android 9.0 (API 28) and above
This project is for educational and research purposes only. The developers are not responsible for any misuse or violations of third-party Terms of Service.