dhinakg / phone-registration-provider

A small service that generates iMessage registration data on a jailbroken iPhone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

beepserv

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

Setup

You'll need:

  1. A jailbroken iPhone of iOS 10 or greater, with a hooking library installed (such as ellekit, libhooker, mobilesubstitute, or mobilesubstrate). This is usually installed during jaibreak.
  2. An Android phone with latest version of Beeper Mini installed

Tested with default palera1n settings (rootless jailbreak required)

To install:

  1. Add the beeper repo https://apt.beeper.com to the package manager (Cydia/Sileo) on your jailbroken phone
  2. Install the package beepserv (identifier com.beeper.beepserv) with your package manager

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 as an iPhone.

To start this registration process, open the Settings App, navigate to Messages, and read off the registration code stated underneath the 'iMessage' switch. Enter this codoe into Beeper Mini, and it should automatically start the registration process.

If this code does not appear, SSH into the iPhone and run cat /var/jb/var/mobile/.beepserv_state to view the code.

Building

  1. You need some hooking library installed on the target device, such as ellekit, libhooker, mobilesubstitute, or mobilesubstrate installed
  2. Make sure you have ssh access to root on your device (the default password is alpine, you may need to log in to mobile over ssh first to change the password)
  3. Install theos
  4. Set the environment variable $THEOS_DEVICE_IP to the IP Address of the device you want to install it to (e.g. with export THEOS_DEVICE_IP=<IP of phone>)
  5. Optional: install oslog (not the default one, but specifically the one from noisyflake, as it works on the latest versions of iOS) to watch logs from ssh
  6. Install with make package install

About

A small service that generates iMessage registration data on a jailbroken iPhone

License:GNU Affero General Public License v3.0


Languages

Language:Logos 88.8%Language:Makefile 5.7%Language:Objective-C 4.3%Language:Shell 1.2%