2022-10-07 07:25:20 +08:00
# Installation through TrollInstaller 2
2022-10-07 15:17:36 +08:00
**Supported devices:** A12 - A15, 14.0 - 15.4.1 (15.5b4)
2022-10-07 07:25:20 +08:00
2022-10-07 17:16:08 +08:00
## Compiling pwned IPA (currently requires a Mac) (Needs [THEOS](https://theos.dev/docs/installation-macos) and [14.5 sdk](https://github.com/theos/sdks) installed)
2022-10-07 07:25:20 +08:00
2022-10-07 17:16:08 +08:00
0. Make sure Xcode and Command Line Tools are installed.
2022-10-07 07:25:20 +08:00
2022-10-07 17:16:08 +08:00
1. Do `git clone https://github.com/opa334/TrollStore`
2022-10-07 07:25:20 +08:00
2022-10-08 00:34:06 +08:00
2. Get ANY encrypted AppStore IPA using [ipatool ](https://github.com/majd/ipatool/releases/tag/v1.1.4 )
2022-10-07 17:16:08 +08:00
- Unzip, then do `chmod +x ~/Downloads/ipatool`
- `sudo mv ~/Downloads/ipatool /usr/local/bin`
- `ipatool auth login`
- `ipatool download -b developer.apple.wwdc-Release`
2022-10-07 07:25:20 +08:00
2022-10-08 00:34:06 +08:00
> For iOS 14 please make sure to use an app that still supports iOS 14
2022-10-07 07:25:20 +08:00
2022-10-08 00:34:06 +08:00
3. Rename the output ipa to `InstallerVictim.ipa` , and put it into ~/TrollStore/_compile/InstallerVictim.ipa
2022-10-07 07:25:20 +08:00
2022-10-07 20:52:42 +08:00
4. Grab pwnify_compiled from Fugu14 repo (https://github.com/LinusHenze/Fugu14/blob/master/tools/pwnify_compiled), sign it using codesign (`codesign -f -s - < path / to / pwnify_compiled > `) and put it at ~/TrollStore/_compile/pwnify_compiled
2022-10-07 17:16:08 +08:00
5. Make sure you have Procursus ldid installed and added to your path! (https://github.com/ProcursusTeam/ldid)
- `brew uninstall ldid` (brew ldid is bad ldid if you have it)
- Rename the Procursus ldid for your arch to `ldid` , then do `chmod +x ~/Downloads/ldid`
- `sudo mv ~/Downloads/ldid /usr/local/bin`
6. cd into _compile and run `./build_trollinstaller2.sh` (`chmod +x ./build_trollinstaller2.sh` if you get a permission error)
2022-10-08 00:34:06 +08:00
7. Wait a bit, when done, there will be a `TrollInstaller2.ipa` in ~/TrollStore/_compile/out
2022-10-07 07:25:20 +08:00
2022-10-07 07:38:46 +08:00
## Using compiled IPA (does not neccessarily require a Mac if you obtained the IPA from non orthodox ways)
2022-10-07 07:25:20 +08:00
2022-10-08 00:34:06 +08:00
8. You can install that to a device using e.g. ideviceinstaller(do `brew install ideviceinstaller` then do `ideviceinstaller -i TrollInstaller2.ipa` )
Alternatively, you can use Sideloadly if you select "Normal Installation".
2022-10-07 17:16:08 +08:00
(Other methods may also work, but make sure you don't use a signing cert, you can also use an enterprise plist or something to install it via Safari as shown in Fugu15 demo, something like iFunBox may also work)
2022-10-07 07:25:20 +08:00
2022-10-08 00:34:06 +08:00
9. After installation, you can use the newly installed app on your device to install TrollStore