[GUIDE] Sideload Snapchat, Instagram, WhatsApp and YouTube tweaks on non-jailbroken devices

By | April 7, 2016

Hi Guys, in this guide (Step By Step) I’ll show you how to sideload Snapchat, WhatsApp, Instagram and YouTube (thanks to Fernandeep for his Reddit post, and iMokhles for the delis that we will use).

Sideloaded WhatsApp

The applications that we’ll install NOT replace the existing ones in the iPhone. This means that you will have TWO copies of the same app, an original and not. Obviously one of the two can be deleted.

Addons description:

WhatsApp:
  • Freeze Last Seen
  • Disable Read Mark (blue check)
  • Support iPad
Snapchat:
  • Save Snaps (images and videos)
Instagram:
  • Save/share photos
  • Save/share videos
  • Share comments
YouTube:
  • Download videos
  • Extract audio from a video

Requirements:

Install optool binaries (only first time)

To install optool (only for first time), open Terminal (/Applications/Utilities/Terminal) and digit this command: cd /usr/bin && sudo curl -OL https://github.com/alexzielenski/optool/releases/download/0.1/optool.zip && sudo unzip /usr/bin/optool.zip -d /usr/bin && sudo rm -rf optool.zip

At the beginning, Terminal will ask you Administrator’s password. Enter it and continue (while you write it you will not see anything, but you’ll be writing correctly!).

To check if optool is installed correctly, digit optool on Terminal, and it will show you this:

optool_terminal

Install ideviceinstaller (only first time)

You need Command Line Tools (if you haven’t it, open Terminal and digit xcode-select –install) and Homebrew (digit ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” on Terminal).

To install ideviceinstaller, digit on a new Terminal window: brew install ideviceinstaller

Let’s start

Once time you have downloaded Xcode, open it and create a new project. Choose iOS Application, Single View Application and click Next. (image)

  • Product name: [Product name, what do you want];
  • Organization name: [Organization name, what do you want];
  • Organization Identifier: com.[Organization name];
  • Language: Objective-C;
  • Devices: Universal;
  • Use Core Data: no;
  • Include Unit Tests: yes;
  • Include UI Tests: yes.

Xcode, create app

Click Next and choose a directory, then click Create.

Now you have to fix the provisioning profile.FixErrorProvisioningProfile

On Team, select Add Account, and add an account. Then select it and press “Fix Issue” button. (video tutorial by iDownloadBlog)

Download decrypted version of Snapchat, WhatsApp, Instagram and Youtube (apps you care, not all). (N.B: WhatsApp tweak works with WhatsApp 2.12.13; Instagram tweak works on Instagram 7.17.1).

Create a folder (named, for example, Sideload), and put downloaded application(s) on this, and rename it only with the name of the application, for example Snapchat.ipa.

Right click on IPA file, choose Open With and select Archive Utility.

unpack_IPA

On Tweaks folder (download link in the requirements ↑) copy the dylib of the application you want to modify (in precompiled folder) in the folder created previously.

Now open Terminal and digit the following codes:

  • cd [folder you created, simple Drag&Drop)
  • optool install -c load -p @executable_path/[NameOfDylib].dylib -t [AppName]/Payload/[AppName].app/[AppName]

For example:

  • cd /Users/Leonardo/Desktop/Sideload
  • optool install -c load -p @executable_path/SCFeaturesLite.dylib -t Snapchat/Payload/Snapchat.app/Snapchat

Schermata 2016-04-07 alle 16.42.21

Now open iOS App Signer, and get the code near the email in Signing Certificate (in my case ADSRC6ZXP5).Schermata 2016-04-07 alle 16.24.54

In the same Terminal window, digit: codesign -fs “iPhone Developer: [[email protected]] ([CODE THAT WE GOT])” [NameOfDylib].dylib

For example, in my case: codesign -fs “iPhone Developer: [email protected] (ADSRC6ZXP5)” SCFeaturesLite.dylib

Open folder you created, and copy [NameOfDylib].dylib. Then go on [AppName]/Payload. Right click on [AppName].app, click Show package content and paste the file previously copied here.

Now turn back in the [Folder]/[AppName], here there are two files and one/two folders; select all, right click and press Compress [3/4] Items.

compressfilesYou should end up with a file called Archive.zip. Rename it in [Name].ipa. It will prompt if you want to keep it as a ZIP file or IPA… Choose IPA.

Open iOS App Signer;

  • Input file: Drag&Drop IPA file just created;
  • Signing Certificate: your certificate;
  • Provisioning Profile: iOS Team Provisioning Profile: com.[Organization name].[Product name] (a code of Provisioning Profile);
  • New Application ID: leave it empty;
  • App Display Name: complete it only if you want to change the name of the app on your Home Screen.

Schermata 2016-04-07 alle 17.09.21

Click Start, choose a directory and a name, then Save.

Wait a little bit of time, and the application should say Done, output at [OutputDir]/[OutputFileName].ipa

Open a new Terminal window, and write ideviceinstaller -i [Drag&Drop IPA just created].

Troubleshooting with Instagram application

When you try install Instagram, you will get this error:

Schermata 2016-04-09 alle 23.58.28

 

It is a “normal” error. To resolve it, unzip the IPA; go in Payload/Instagram.app (right click>Show package content)/PlugIns/InstagramWatchKitExtension.appex (right click>Show package content) and open file named Info.plist with Xcode.

Schermata 2016-04-10 alle 00.03.45

 

Modify the voice WKAppBundleIdentifier with the first part of Bundle Identifier (in my case com.suenaj.apppatches-588274FA-C2EB-4510-BC71-F978AECF954B).whatchkitapp

Schermata 2016-04-10 alle 00.13.52

 

Then save the file (File>Save), repack the IPA and resign it as before; after this you can install the app without errors.

 

If you have questions about the procedure write a comment! 🙂

Leave a Reply

Your email address will not be published.