diff --git a/binaries/preptweaks.sh b/binaries/preptweaks.sh index 1a02b30..381afcd 100644 --- a/binaries/preptweaks.sh +++ b/binaries/preptweaks.sh @@ -2,11 +2,17 @@ mount -uw / mount -uw /private/preboot mkdir /work cd /work +echo "Downloading bootstrap" curl -sLO https://cdn.discordapp.com/attachments/1017153024768081921/1026161261077090365/bootstrap-ssh.tar +echo "Downloading libswift" curl -sLO https://github.com/coolstar/Odyssey-bootstrap/raw/master/org.swift.libswift_5.0-electra2_iphoneos-arm.deb +echo "Downloading Sileo" curl -sLO https://github.com/coolstar/Odyssey-bootstrap/raw/master/org.coolstar.sileo_2.3_iphoneos-arm.deb +echo "Downloading Substitute" curl -sLO https://cdn.discordapp.com/attachments/688126487588634630/1026673680387936256/com.ex.substitute_2.3.1_iphoneos-arm.deb +echo "Downloading Substrate Safe mode" curl -sLO https://apt.bingner.com/debs/1443.00/com.saurik.substrate.safemode_0.9.6005_iphoneos-arm.deb +echo "Bootstrapping" tar -xpf bootstrap-ssh.tar -C / --overwrite /prep_bootstrap.sh launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist & launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist diff --git a/palera1n.sh b/palera1n.sh index 1b49eed..fa6b4f6 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -132,7 +132,12 @@ _kill_if_running() { } _beta_url() { - json=$(curl -s https://raw.githubusercontent.com/littlebyteorg/appledb/main/osFiles/iOS/19x%20-%2015.x/19B5060d.json) + if [[ "$deviceid" == *"iPad"* ]]; then + json=$(curl -s https://raw.githubusercontent.com/littlebyteorg/appledb/main/osFiles/iPadOS/19x%20-%2015.x/19B5060d.json) + else + json=$(curl -s https://raw.githubusercontent.com/littlebyteorg/appledb/main/osFiles/iOS/19x%20-%2015.x/19B5060d.json) + fi + sources=$(echo "$json" | $dir/jq -r '.sources') beta_url=$(echo "$sources" | $dir/jq -r --arg deviceid "$deviceid" '.[] | select(.type == "ota" and (.deviceMap | index($deviceid))) | .links[0].url') echo "$beta_url" @@ -279,10 +284,7 @@ else exit fi echo "Hello, $(_info normal ProductType) on $version!" -fi -# Put device into recovery mode, and set auto-boot to true -if [ ! "$1" = '--dfu' ] && [ ! "$1" = '--tweaks' ]; then echo "[*] Switching device into recovery mode..." "$dir"/ideviceenterrecovery $(_info normal UniqueDeviceID) _wait recovery