[New 2021 - iOS 12/13/14] How To Install Theos & SDK on your iDevice!

admin

Administrator
Staff member
Master
Aug 29, 2021
27
1
3
HXU7Axr.png
An official tutorial to install theos is already , I will just be expanding it a bit more with this topic.
:)



Requirements:
- Jailbroken iDevice
- Add Repo to Cydia:


Easy Install Instructions (works on iOS 11, 12, 13, and 14!):
On iOS 11+, the easiest way to install theos is using ' theosinstaller.
1. First of all, add to your sources in Cydia.
2. Now install the "Theos Installer" package from the repo you just added.
3. Open PuTTY or NewTerm2, run this command as root:

theosinstaller 9.3
Replace "9.3" with the SDK version of your choice.
4. Once you run that command, everything will start installing automatically and once it's all done, you can run theos using: /var/theos/bin/nic.pl

TIP If the above is broken or does not work for you, there is also a new way to automatically install theos called "Theos Auto Installer" found on the BigBoss repo. .



All iOS Versions Instructions:
1.
Using any (iOS) Terminal (we'll be using PuTTY for this tutorial), login as root and install theos dependencies using these commands:
Code:
theosinstaller 9.3
Replace "9.3" with the SDK version of your choice.
4. Once you run that command, everything will start installing automatically and once it's all done, you can run theos using: /var/theos/bin/nic.pl

TIP If the above is broken or does not work for you, there is also a new way to automatically install theos called "Theos Auto Installer" found on the BigBoss repo. .



All iOS Versions Instructions:
1.
Using any (iOS) Terminal (we'll be using PuTTY for this tutorial), login as root and install theos dependencies using these commands:
Code:
apt-get install -y --force-yes org.theos.dependencies
2. Now we need to setup THEOS variable and install location. We will be installing theos into /var but you can choose any other location. If you are using Odyssey Jailbreak then you will need to change the .profile to .zprofile since they use ZSH
Code:
touch ~/.profile
echo 'export THEOS=/var/theos' >>~/.profile
echo 'alias theos="$THEOS/bin/nic.pl"' >>~/.profile
source ~/.profile
3. Downloading theos & sdks:
Code:
git clone --recursive https://github.com/theos/theos.git $THEOS

git clone https://github.com/theos/sdks $THEOS/sdks
And you're done! You now have installed theos & theos dependencies on your device. To start a new project, cd into the folder you want to store your projects in and run:
Code:
$THEOS/bin/nic.pl
or
theos
Additional Information:
- If you want to use a different SDK, go to your /theos/sdks directory and remove the iPhoneOSx.y.sdk you do not need. By default, iOS 9 SDK is used at the time of writing this. This may change if gets updated.
- To update theos, see the official GitHub Instructions:
- You can add extra helpful aliases by running commands like: echo 'alias mpi="make package install"' >>~/.profile && source ~/.profile so when you want to make and install your package, you can simply run 'mpi' command.
- If your SDK is failing to install, try deleting the sdks folder in your theos directory and then run the git command.
- If you use a different terminal and you get errors about missing .mk files, you will need set up the THEOS variable for that terminal.
- To install theos on your Windows 10, see this topic.