Home>Programming related>JAVA source code
Shadowsock - a virtual positioning APP for Android 8.0+ that does not require ROOT permissions

Introduction

Shadowsock is an Android positioning modification tool based on Android debugging API + Baidu Map and Positioning SDK, and also implements a joystick that can freely control movement. Using Shadow Shuttle, you can modify your current position and simulate movement at will without ROOT permissions.

  1. Source code repository: Github (recommended), Gitee (mirror)
  2. Download address: Github (recommended), Gitee (mirror)

Warning one

Recently, some netizens directly used Yingsuo for free and then renamed it Javelin Positioning, and then added advertisements (except for adding advertisements, the function has not changed). However, it was not open sourced in accordance with the requirements of the GPLv3 agreement (I have contacted the netizen for a reminder. But no reply was received), here’s a reminder:

  1. Open source ≠ free prostitution, please follow the open source agreement
  2. There are many domestic litigation cases related to the legal effect of GPL. Please search by yourself and weigh the pros and cons. Shadowsocks reserves all rights to pursue legal liability of relevant infringers!
  3. Open source is not easy, but it must be done and cherished

Warning 2

Recently, many people have used Shadowsock to cheat in campus sports apps (including but not limited to Flash Campus, TakeTwo, Sports World Campus, etc.). The developers have also received many questions about why Shadowsock positioning does not work or Looking for improvements to Shadow Shuttle, here’s a reminder:

  1. Shadowsocks does not support cheating in any campus sports APP
  2. Shadowsock developers also do not approve of any form of cheating in school sports.

background

I was playing a VR game before: let’s catch monsters together. To save trouble, I was wondering if there is an APP that can change the location. After some exploration, I found that there are indeed many apps that can modify the location. However, most of these APPs are paid and extremely expensive!

I am more interested in how such technology is implemented, so I decided to research and write one myself! Now the game has been abandoned, but the technology cannot be discarded. Therefore, the research results are open sourced so that everyone can learn together! But please note (say important things three times! Otherwise, there will be consequences at your own risk):

  1. This APP is only for learning how to implement Android + Baidu Maps, please do not use it for game cheating!
  2. This APP is only for learning how to implement Android + Baidu Maps, please do not use it for game cheating!
  3. This APP is only for learning how to implement Android + Baidu Maps, please do not use it for game cheating!

Function

  1. Positioning modification
  2. Joystick controls movement
  3. History
  4. location search
  5. Enter coordinates directly

screenshot

joystick.jpgsearch_history.jpgmap.jpg

usage

  1. Download APK and install directly
  2. Start Shadow Shuttle and grant relevant permissions
  3. Click on the map location and then click on the launch button

document

Since I am not engaged in mobile development, many functional codes are poorly written. It is also my first time to write an Android APP, and I am still learning. . . In addition, for a simple APP, there should be no need for any documentation. I usually record some problems encountered during the development process in my personal blog. For details, see: https://blog.csdn.net/zcshoucsdn/category_10559121. html

If you have any questions, you can directly search ISSUE or submit a question directly above.

refer to

Since I am also a novice and am just messing around as an amateur, I referred to many technical articles, sample codes, etc. shared by netizens during the process of sketching. Including but not limited to the following:

  1. https://github.com/Hilaver/MockGPS
  2. https://github.com/bxxfighting/together-go
  3. https://github.com/P72B/Mocklation

There are also some articles on CSDN, but I can’t remember the address at the moment. If you find any direct references or references to you, please contact me and I will deal with them as soon as possible. Thank you!

FAQ

Q: Why is it not supported for versions below Android 8.0?

A: Because I don’t have a machine in hand and I can’t adapt it. . .

Q: Why is the positioning not very stable and occasionally drifting back to the true position?

A: This is due to the implementation principle and an inherent problem of the Android debugging API. To be precise, it should be caused by other positioning methods (such as base station positioning, wifi positioning, etc.) enabled on the phone itself.

Q: Does it support Hongmeng system?

A: After testing, Shadowsock can run normally on the Hongmeng system.

Q: Why doesn’t positioning work on Tencent applications such as WeChat?

A: I suggest you ask Tencent.

Q: Does Java report an error during compilation?

A: The java version used by Gradle is inconsistent with that used by Android Studio. By default, Gradle searches for JAVA_HOME in the environment variable to determine the Java location.

How to contribute

  1. FORK -> PR
  2. Join Shadowsuo Development and improve together

license

GPL-3.0-only © ZCShou

Expand
Additional Information