Important
As of 06/02/24, Vendetta and related projects have been discontinued.
A rootful/rootless tweak to inject Vendetta into Discord.
- Install Orion runtime via your preferred package manager, by adding
https://repo.chariz.com/to your sources, then findingOrion Runtime. - Install Vendetta by downloading the appropriate
.debfile (or by building your own, see Building VendettaTweak locally). Use the file ending inarm.debfor rootful jailbreaks, and the file ending inarm64.debfor rootless jailbreaks.
- Download Orion from here. You will need the
debfile ending inarm.debNOTarm64.deb. - Download the rootful Vendetta
.debfile (file ending inarm.deb) or build your own by following the Building VendettaTweak locally steps. - Clone azule into a folder and
cdinto it. - Extract or obtain a decrypted Discord IPA. To extract the IPA from a jailbroken iDevice, we recommend bagbak.
- Run
./azule -i <path to decrypted IPA> -o <path to output folder> -f <path to Orion deb> <path to Vendetta deb>. Make sure to provide the full paths to the files (you cannot use relative paths unfortunately). Example:./azule -i /Users/vendetta/IPA/Discord.ipa -o /Users/vendetta/IPA/VendettaDiscord -f /Users/vendetta/IPA/dev.theos.orion14_1.0.1_iphoneos-arm.deb /Users/vendetta/IPA/dev.beefers.vendetta_0.0.2_iphoneos-arm.deb - Install the generated IPA using your preferred sideloading method (at the time of writing this, only Sideloadly works).
Note These steps assume you use MacOS.
- Install Xcode from the App Store. If you've previously installed the
Command Line Utilitiespackage, you will need to runsudo xcode-select -switch /Applications/Xcode.app/Contents/Developerto make sure you're using the Xcode tools instead.
If you want to revert the
xcode-selectchange, runsudo xcode-select -switch /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-
Install the required dependencies. You can do this by running
brew install make ldidin your terminal. If you do not have brew installed, follow the instructions here. -
Setup your path accordingly. We recommend you run the following before running the next commands, as well as any time you want to build VendettaTweak.
export PATH="$(brew --prefix make)/libexec/gnubin:$PATH"
# feel free to set whatever path you want, but it needs to be a direct path, without relative parts
export THEOS="/Users/vendetta/IPA/theos"- Setup theos by running the script provided by theos.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"If you've already installed theos, you can run $THEOS/bin/update-theos to make sure it's up to date.
-
Clone this repository with
git clone [email protected]:vendetta-mod/VendettaTweak.git --recurse-submodulesandcdinto it. Replace the URL with your fork if you've forked this repository. -
To build VendettaTweak, you can run
rm -rf packages && make clean && make package FINALPACKAGE=1 && make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless. The first command will remove any previous packages, the second will clean the project, the third will build the rootful package (which is denoted by thearm.debending), and the fourth will build the rootless package (which is denoted by thearm64.debending).
The first time you run this, it might take a bit longer, but subsequent builds should be much faster.
The resulting .deb files will be in the packages folder. As a reminder, *arm.deb is for rootful jailbreaks and sideloading, and *arm64.deb is for rootless jailbreaks.
If you want to contribute, you will basically need to follow the steps for Building VendettaTweak locally, as well as run make spm for the Swift LSP to work.