├── README.md ├── SOURCE_URL └── SUMMARY /README.md: -------------------------------------------------------------------------------- 1 | # Hide Mock Location 2 | **Prevents detection of mock location** 3 | **Supported Android 6~15** 4 | Testapp: **[MockLocationDetector](https://github.com/auag0/MockLocationDetector)** 5 | ## usage 6 | - Download the APK([here](https://github.com/auag0/HideMockLocation/releases/latest)) and install APK on device 7 | - Enable the module in xposed 8 | - if use lsposed, choose the app from which to hide mock location 9 | - owari! 10 | 11 | ## hooked methods 12 | - android.location.Location 13 | - isFromMockProvider() 14 | - isMock() 15 | - setIsFromMockProvider() 16 | - setMock() 17 | - getExtras() 18 | - setExtras() 19 | - set() 20 | - android.provider.Settings 21 | - Secure.getStringForUser(name="mock_location") 22 | - System.getStringForUser(name="mock_location") 23 | - Global.getStringForUser(name="mock_location") 24 | - NameValueCache.getStringForUser(name="mock_location") 25 | 26 | ## how to set MockLocation app from Adb [(stackoverflow)](https://stackoverflow.com/questions/40414011/how-to-set-the-android-6-0-mock-location-app-from-adb/43747384#43747384) 27 | ### Allowing app for mock locaiton 28 | `adb shell appops set android:mock_location allow` 29 | ### Removing app for mock location 30 | `adb shell appops set android:mock_location deny` 31 | #### for root device, remove `adb shell` in terminal and run 32 | 33 | ## super thanks (reference) 34 | [ThePieMonster#HideMockLocation](https://github.com/ThePieMonster/HideMockLocation) 35 | -------------------------------------------------------------------------------- /SOURCE_URL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xposed-Modules-Repo/io.github.auag0.hidemocklocation/4c5915dc69e74cae496ba7231d08a44851e1bab0/SOURCE_URL -------------------------------------------------------------------------------- /SUMMARY: -------------------------------------------------------------------------------- 1 | hide mock location 2 | 位置情報偽装アプリを非表示にします --------------------------------------------------------------------------------