Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

Reukix/Reloc

System Tools

Simulates iOS device locations by injecting NMEA GPS data as a virtual MFi accessory.

232
37
Swift
AGPL-3.0
new today

What it does

Reloc runs on an iPhone and makes the system believe a standard external MFi GPS accessory is reporting coordinates. It connects through a local loopback (10.7.0.1) to com.apple.carkit.service, performs Remote Pairing / Lockdown negotiation, iAP2 link sync, MFi-v3 authentication, and streams NMEA-0183 $GPGGA / $GPRMC sentences. The result is a device-level location change rather than a per-app hook.

Main capabilities include picking points on a map, keyword search, manual WGS-84 input, reverse geocoding, live updates while running, GCJ-02 ↔ WGS-84 correction for mainland China maps, optional ±0.6 m drift, favorites and the last 30 usage records. Background keep-alive uses navigation-level location plus silent audio, and the app can re-establish its background assertion after location services are toggled. A built-in CoreLocation panel shows isSimulatedBySoftware / isProducedByAccessory so you can verify whether the accessory source is active.

Quick start

  1. Enable the loopback mapping to 10.7.0.1 in an external proxy tool. Reloc does not create a VPN itself; this mapping is required.
  2. Get a pairing file. On iOS 27.0+, open Device Connection and tap Pair this iPhone, then finish pairing in Settings → Privacy & Security → Developer Mode using the 6-digit code shown in the picture-in-picture overlay. On iOS 17.0–26.x, export a pairing file over USB first: pip3 install -U pymobiledevice3, run pymobiledevice3 lockdown pair and pymobiledevice3 lockdown wifi-connections on, then copy the system pairing plist (macOS: /var/db/lockdown/<UDID>.plist; Windows: C:\ProgramData\Apple\Lockdown\<UDID>.plist).
  3. Import the .rppairing, .mobiledevicepairing or .plist file via Import existing pairing file, or place it in Files → On My iPhone → Reloc.
  4. Tap Check device connection until the status reads Device loopback ready, then switch to the Location tab and choose a point.

For builds from source: macOS with Xcode 15+, XcodeGen, and optional Rust toolchains if you recompile RelocDeviceBridge.xcframework. Place your own MFi credentials at Reloc/Resources/MFi/certificate.p7b and Reloc/Resources/MFi/identity.pk8, run xcodegen generate, then xcodebuild build -project Reloc.xcodeproj -scheme Reloc -configuration Release -sdk iphoneos CODE_SIGNING_ALLOWED=NO, and zip the Payload folder into an unsigned IPA for your own signing. See the quick-start section and build steps.

Constraints

  • Requires iOS 17.0+ and an external proxy that provides the 10.7.0.1 loopback; without it the connection check cannot succeed.
  • The external proxy is not included. Its source and configuration are left to the user, so it affects whether and how the tool works.
  • MFi-v3 credentials are not bundled. Using the protocol path and source builds requires legally obtained certificate and identity files.
  • On iOS 17–26 a computer is needed once over USB to export a pairing file; wireless first pairing from an unknown host is blocked. Only iOS 27+ supports on-device pairing.
  • Background survival depends on location permission set to Always with Precise Location on, and on the silent-audio fallback. Switching to apps like WeChat can otherwise suspend the app and restore real GPS.
  • iOS may keep using real GNSS for a while when a signal exists; toggling location services for about 10 seconds is the documented workaround. Local Network permission is also needed for discovery and pairing.
  • Licensed AGPL-3.0-only; modified versions that are distributed or offered over a network must publish the corresponding source.

HotRepo's take

This repository appeared on HotRepo's new-project board on 2026-11-26 with 120 stars and 16 forks, all gained within its roughly 14-hour observation window, and has no recorded GitHub daily rank. That is a single early snapshot, so it shows initial attention but says little about sustained adoption or reliability. The project's distinguishing point is technical: it targets the iOS accessory GPS path (iAP2 / MFi-v3 / NMEA) via a local loopback instead of hooking a single app. The practical caveat is that this path depends on an external proxy and user-supplied MFi credentials, so anyone evaluating it should look at those two dependencies first.

Project source and documentation

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.