Skip to content

Instantly share code, notes, and snippets.

@dreymonde
Last active January 23, 2021 16:46
Show Gist options
  • Save dreymonde/88300821731427053ede325b8be6f376 to your computer and use it in GitHub Desktop.
Save dreymonde/88300821731427053ede325b8be6f376 to your computer and use it in GitHub Desktop.

How to extract iMessage stickers from a jaibroken iPhone

  1. Jailbreak your iPhone (as of Jan 2021, https://checkra.in is a good option if you have a pre iOS 14 device). I advice you to not use your main device for this
  2. Make sure Cydia is installed on your jailbroken iPhone
  3. Open Cydia (performing any neccessary updates if needed), tap "Search", and install "OpenSSH" (from apt.bingner.com) and "IPA Installer" (from BigBoss). This should install "IPA Installer Console" package as well.
  4. Make sure your iPhone is connected to the same Wi-Fi as your Mac.
  5. On your iPhone, open "Settings" -> "Wi-Fi", then tap on the info button (ℹ) next to the connected wi-fi network, and note down your IP Address. You will use it for SSH connection.
  6. Use this guide to get access to your jailbroken iPhone via SSH with your Mac.

(TL;DR for SSH:)

SSH -p <PORT> root@<ip_address>

PORT is either 22 or 44, see what works.

For freshly jailbroken device, password is "alpine".

After being connected succesfully, make sure to change your password using passwd command.

  1. Make sure that the iMessage sticker pack you're interested in is installed.
  2. While being connected by SSH, use ipainstaller -l command and find the bundle identifier of the sticker pack.
  3. To make an exportable IPA file, use
ipainstaller -b <app_bundle>

It will create an .IPA file. Note down the path to the extracted file.

  1. In a separate terminal tab, use scp to transfer the IPA file from your iPhone to your Mac.
scp -r root@<ip_address>:/private/var/mobile/Documents/<filename> ~/Downloads/

In this case, it will put the file into the "Downloads" folder on your Mac, but you can use a different folder if you want, of course.

  1. Open "Downloads" folder in Finder. Find your IPA file; rename it from .ipa to .zip and unarchive it.
  2. Open unarchived folder -> "Payload" -> you'll see <stickerpack_name>.app. Right click -> "Show Package Contents".
  3. Open "Plugins" -> you'll see .appex. Right click -> "Show Package Contents".
  4. You'll find sticker images in the "Sticker Pack.stickerpack" folder.
  5. Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment