Giter VIP home page Giter VIP logo

magisk-supl-replacer's Introduction

Magisk SUPL replacer

Magisk module to replace the SUPL (Secure User-Plane Location) provider in Android's gps.conf.

Background

SUPL is used as part of the A-GPS (Assisted GPS) system to get a faster Time to First Fix. The problem is that Android's implementation automatically sends the IMSI (ID of the SIM card) to the SUPL provider for no apparent reason. And because Google is the default provider it's a big breach of privacy.

This module replaces the SUPL provider with a proxy server provided by GrapheneOS. The non-profit open source project is known for its security and privacy involvement.

The other active alternative providers with port 7275 accessible that I know of are:

  • Orange: agpss.orange.fr
  • Telstra: agps.supl.telstra.com
  • T-Mobile: lbs.geo.t-mobile.com
  • Qianxun SI (China based): supl.qxwz.com

Another solution would simply be to disable SUPL altogether by replacing supl.google.com with localhost, but then the Time to First Fix can increase a lot, going from a couple of seconds to a couple of minutes.

If you want to learn more about the subject here's some reading material:

This module also replaces the NTP server specified in the same configuration file with europe.pool.ntp.org which when resolved returns the IP of the closest european NTP server.

Installation

Simply download the latest build from the Release section and install it with Magisk Manager!

You can also flash it in a custom recovery like TWRP but using Magisk Manager is definitely recommended.

Contributing

Contributions are welcome if you see any area of improvement!

Acknowledgments

  • John Wu for the creation of the wonderful tool that is Magisk.
  • The persons that have done analysis and written the blog posts linked above.

License

This project is released under the BSD 3-Clause License. A copy of the license is available in this project folder.

magisk-supl-replacer's People

Contributors

d3sox avatar plqnk avatar girlbossceo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.