A tweak for jailbroken iPhones that can be connected with Beeper Mini to provide phone number registration functionality
Note
beepserv is not entitled to the usual level of customer support on Beeper. If you need help with beepserv, please join [#beepserv:beeper.com] instead of asking in your support room.
You'll need:
- 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.
- An Android phone with latest version of Beeper Mini installed
Tested with default palera1n settings (rootless jailbreak required)
To install:
- Add the beeper repo https://apt.beeper.com to the package manager (Cydia/Sileo) on your jailbroken phone
- Install the package
beepserv
(identifiercom.beeper.beepserv
) with your package manager
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.
- You need some hooking library installed on the target device, such as ellekit, libhooker, mobilesubstitute, or mobilesubstrate installed
- Make sure you have ssh access to root on your device (the default password is
alpine
, you may need to log in tomobile
over ssh first to change the password) - Install theos or make sure it's up-to-date by running
$THEOS/bin/update-theos
ormake update-theos
- Set the environment variable
$THEOS_DEVICE_IP
to the IP Address of the device you want to install it to (e.g. withexport THEOS_DEVICE_IP=<IP of phone>
) - Set the environment variable
$THEOS_PACKAGE_SCHEME
torootless
if you're using a rootless jailbreak (e.g. withexport THEOS_PACKAGE_SCHEME=rootless
) - 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
- Install with
make package install
The Makefiles currently assume you have Xcode 11.7 installed at /Applications/Xcode_11.7.app
when not packaging for rootless 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.
We are very interested in working with jailbreak developers to help improve this! Please join us in #beepserv:beeper.com Matrix channel. In particular, we would love some help converting this from being a tweak (with very complex UI that only shows up in Settings -> Messages) to being a normal app that shows up on home screen with UI to show logs etc.