简介
影梭是一款基于 Android 调试 API 和百度地图及定位 SDK 实现的安卓定位修改工具,同时还实现了一个可自由控制移动的摇杆。使用影梭,无需 ROOT 权限即可随意修改当前位置并模拟移动。
警告一
**近期,有网友直接盗用影梭并更名为标枪定位,添加广告(除广告外功能未作任何改变),但未按 GPLv3 协议要求开源(已联系该网友并提醒,但未收到回复)。在此提醒:**
- 开源不等于盗用,请遵守开源协议
- GPL 在国内有众多相关诉讼案例,请自行搜索,权衡利弊。影梭保留追究相关侵权人员法律责任的一切权利!
- 开源不易,请珍惜
警告二
**近期,许多人将影梭用于校园运动类应用(包括但不限于闪动校园、TakeTwo、运动世界校园等)中作弊,开发者也收到了许多询问影梭定位为何无效或寻求改进的问题。在此提醒:**
- 影梭不支持任何校园运动类应用的作弊行为
- 影梭开发者也不赞同以任何形式在校园运动中作弊
背景
之前在玩一款 VR 游戏:一起来捉妖。为了省事,就想是否有可以更改位置的应用。经过一番探索,确实发现了不少可以修改位置的应用。但是,绝大多数这类应用都是收费的,而且价格昂贵!
What I'm particularly interested in is how such technology is implemented. Therefore, I decided to study and write one myself! Although the game has been abandoned, the technology shouldn't be lost. So, I'm open-sourcing the research results for everyone to learn together! But please note (important things need to be said three times, otherwise you'll be responsible for the consequences):
- This APP is solely for learning Android + Baidu Map implementation methods, please do not use it for game cheating!
- This APP is solely for learning Android + Baidu Map implementation methods, please do not use it for game cheating!
- This APP is solely for learning Android + Baidu Map implementation methods, please do not use it for game cheating!
Features
- Location modification
- Joystick control movement
- History records
- Location search
- Direct coordinate input
Screenshots
Usage
- Download and install the APK directly
- Start Shadowsocks and grant relevant permissions
- Click on a map location, then click the start button
Documentation
As I'm not a mobile developer, much of the feature code is poorly written. This is also my first time writing an Android APP, and I'm still learning... Besides, for a simple APP like this, there shouldn't be much need for documentation. I usually record any issues encountered during development on my personal blog, which can be found at: https://blog.csdn.net/zcshoucsdn/category_10559121.html
If you have any questions, you can directly search the ISSUES or submit a question there.
References
As I'm also a beginner, purely an amateur dabbling, I referred to many technical articles and sample codes shared by netizens while writing Shadowsocks. These include, but are not limited to, the following:
- https://github.com/Hilaver/MockGPS
- https://github.com/bxxfighting/together-go
- https://github.com/P72B/Mocklation
There are also some articles on CSDN that I can't remember the addresses of now. If you find any direct quotes or references to your work, please contact me, and I will address it immediately. Thank you!
FAQ
Q: Why doesn't it support Android versions below 8.0?
A: Because I don't have the devices to adapt it...
Q: Why is the location not very stable, occasionally drifting back to the real location?
A: This is due to the implementation principle, an inherent issue with Android debugging API. More specifically, it's probably because the phone itself has other location methods enabled (e.g., base station positioning, WiFi positioning, etc.)
Q: Is HarmonyOS supported?
A: After testing, Shadowsocks can run normally on HarmonyOS.
Q: Why doesn't the location work on WeChat and other Tencent applications?
A: I suggest you ask Tencent about that.
Q: Java error when compiling?
A: The Java version used by Gradle is inconsistent with that used by Android Studio. Gradle will by default search for JAVA_HOME in environment variables to determine the Java location.
How to Contribute
- FORK -> PR
- Join Shadowsocks development to improve it together