Git Product home page Git Product logo

beepserv-rewrite's Introduction

beepserv

A tweak for jailbroken iPhones that can be connected with Beeper Mini to provide phone number registration functionality

Note

This is a rewrite of the original beepserv with some code from the original.

There is also JJTech's ValidationRelay now which allows you to use non-jailbroken iOS devices and can be more reliable if you're having issues with this tweak.

Joshua Higgins' blog has a great guide on how to get iMessage working with Beeper.

The tweak is now split into 4 parts:

  • Application: An app that shows the registration code, logs, and allows state notifications to be turned on or off
  • Controller: A launch daemon that manages basically everything, including the relay connection
  • NotificationHelper: This hooks into SpringBoard and sends local notifications
  • IdentityServices: The part that hooks into identityservicesd and handles the generation of validation data

The app is pretty simple and does not have an icon yet.

Building

You need to have Theos installed.

Also make sure Theos is up-to-date by running $THEOS/bin/update-theos (or make update-theos).

Rootful

make clean package FINALPACKAGE=1

The Makefiles currently assume you have Xcode 11.7 installed at /Applications/Xcode_11.7.app when packaging for rootful to ensure compatibility with A12+ devices on iOS 12.0-13.7 (more here). You can either download this version from Apple or edit the Makefiles if you want to build with a different version.

Rootless

make clean package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1

Usage

This tweak should automatically run in the background, connected to Beeper's relay service, available to facilitate registering your Android's phone number with Apple.

To start this registration process, open the beepserv app, and enter the displayed registration code into Beeper Mini, and it should automatically start the registration process.

If you cannot find the code, SSH into the device and run cat /var/mobile/.beepserv_state (rootful) or cat /var/jb/var/mobile/.beepserv_state (rootless) to view the registration code.

Using a self-hosted relay

If you are hosting your own registration relay server instead of using the default one, run the commands below on your device (replacing the URL with the one you want to use).

Rootful

  1. launchctl unload /Library/LaunchDaemons/com.beeper.beepservd.plist
  2. echo "https://registration-relay.beeper.com/api/v1/provider" > /var/mobile/.beepserv_relay_url
  3. rm -f /var/mobile/.beepserv_state
  4. launchctl load /Library/LaunchDaemons/com.beeper.beepservd.plist

Rootless

  1. launchctl unload /var/jb/Library/LaunchDaemons/com.beeper.beepservd.plist
  2. echo "https://registration-relay.beeper.com/api/v1/provider" > /var/jb/var/mobile/.beepserv_relay_url
  3. rm -f /var/jb/var/mobile/.beepserv_state
  4. launchctl load /var/jb/Library/LaunchDaemons/com.beeper.beepservd.plist

beepserv-rewrite's People

Contributors

thatmarcel avatar maclean-d 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.