Add TrollInstaller2 installation method for all arm64e devices 14.0-15.5b4

This commit is contained in:
opa334
2022-10-07 01:25:20 +02:00
parent 7dcc863f2b
commit f75e1f3450
48 changed files with 550 additions and 54 deletions
+4 -1
View File
@@ -50,7 +50,7 @@ rm -rf ./TrollStore.app
cd -
if [[ $1 == "installer" ]]; then
# Step five: compile installer
# Step five: compile TrollInstaller
xcodebuild -project ../Installer/TrollInstaller/TrollInstaller.xcodeproj -scheme TrollInstaller -destination generic/platform=iOS -archivePath ./out/Installer.xcarchive archive
if [[ -f "./out/Installer.xcarchive/Products/Applications/TrollInstaller.app/embedded.mobileprovision" ]]; then
@@ -65,4 +65,7 @@ if [[ $1 == "installer" ]]; then
cd -
rm -rf ./out/Payload
rm -rf ./out/Installer.xcarchive
# Step six: compile TrollInstaller 2
./build_trollinstaller2.sh
fi
+20
View File
@@ -0,0 +1,20 @@
cd ../TrollInstaller2
make clean
make package
cd -
lipo -thin arm64e ../TrollInstaller2/.theos/obj/debug/TrollInstaller2.app/TrollInstaller2 -output ./out/pwn_arm64e
ldid -S -M -Kcert.p12 ./out/pwn_arm64e
mkdir ./out/devpwn
unzip target/Developer.ipa -d ./out/devpwn
./pwnify_compiled ./out/devpwn/Payload/Developer.app/Developer ./out/pwn_arm64e
rm ./out/pwn_arm64e
cd ./out/devpwn
zip -mvr devpwn.ipa *
cd -
cp ./out/devpwn/devpwn.ipa ./out/DeveloperInstaller.ipa
rm -rf ./out/devpwn