简体   繁体   English

如何在有根 Android 7.1 电话中编辑 GPS 位置

[英]How to Edit GPS Location in a Rooted Android 7.1 Phone

I searched many solutions from web, like: using Magisk, using Xposed, FakeGPS, etc.我从 web 中搜索了许多解决方案,例如:使用 Magisk、使用 Xposed、FakeGPS 等。

What I have tried is:我尝试过的是:

  1. For FakeGPS, I install it as system app, enable developer mode and choose it as the GPU location provider.对于 FakeGPS,我将其安装为系统应用程序,启用开发者模式并选择它作为 GPU 位置提供程序。 Result: no working, other apps still go through WIFI/GPS provider.结果:没有工作,其他应用程序仍然通过 WIFI/GPS 提供商 go。
  2. For Magisk, it requires installation through TWRP, but I am not allowed to rewrite recovery partition of my android phone.对于 Magisk,它需要通过 TWRP 安装,但我不能重写我的 android 手机的恢复分区。 All I have is su command to get root access for system partition.我所拥有的只是su命令来获取系统分区的 root 访问权限。

Any other solution that helps?任何其他有帮助的解决方案? I don't care how basic functionality the solution can support, as long as it really works for my case.我不在乎解决方案可以支持多少基本功能,只要它真的适用于我的情况。 I even accept the solution to dis-asm the critical library, change the value of Longitude/Latitude to hardcode values, re-compile and overwrite the corresponding library.我什至接受解散关键库的解决方案,将经度/纬度的值更改为硬编码值,重新编译并覆盖相应的库。

Mock GPS is an app you can you use with or without root.模拟 GPS 是一个应用程序,您可以在有或没有 root 的情况下使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM