2022-10-03 16:45:06 -04:00
|
|
|
mount -uw /
|
2022-10-03 16:52:15 -04:00
|
|
|
mount -uw /private/preboot
|
2022-10-08 16:14:29 -04:00
|
|
|
nvram auto-boot=false
|
2022-10-03 21:27:06 -04:00
|
|
|
mkdir /work
|
|
|
|
|
cd /work
|
2022-10-08 15:53:39 -04:00
|
|
|
echo "Downloading bootstrap"
|
2022-10-03 20:23:21 -04:00
|
|
|
curl -sLO https://cdn.discordapp.com/attachments/1017153024768081921/1026161261077090365/bootstrap-ssh.tar
|
2022-10-08 15:53:39 -04:00
|
|
|
echo "Downloading libswift"
|
2022-10-03 20:23:21 -04:00
|
|
|
curl -sLO https://github.com/coolstar/Odyssey-bootstrap/raw/master/org.swift.libswift_5.0-electra2_iphoneos-arm.deb
|
2022-10-08 15:53:39 -04:00
|
|
|
echo "Downloading Substitute"
|
2022-10-03 22:08:25 -04:00
|
|
|
curl -sLO https://cdn.discordapp.com/attachments/688126487588634630/1026673680387936256/com.ex.substitute_2.3.1_iphoneos-arm.deb
|
2022-10-08 15:53:39 -04:00
|
|
|
echo "Downloading Substrate Safe mode"
|
2022-10-03 20:23:21 -04:00
|
|
|
curl -sLO https://apt.bingner.com/debs/1443.00/com.saurik.substrate.safemode_0.9.6005_iphoneos-arm.deb
|
2022-10-23 23:54:17 -04:00
|
|
|
echo "Downloading launch daemon starter"
|
2022-10-24 00:26:21 -04:00
|
|
|
curl -sLO https://cdn.discordapp.com/attachments/882340710295142480/1033959464023380018/com.nathan.daemons_0.0.1_iphoneos-arm.deb
|
2022-10-08 15:53:39 -04:00
|
|
|
echo "Bootstrapping"
|
2022-10-03 20:05:59 -04:00
|
|
|
tar -xpf bootstrap-ssh.tar -C / --overwrite
|
2022-10-03 17:55:40 +02:00
|
|
|
/prep_bootstrap.sh
|
2022-10-03 20:23:21 -04:00
|
|
|
launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist & launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
|
2022-10-04 05:42:33 -04:00
|
|
|
launchctl bootstrap system /Library/LaunchDaemons
|
2022-10-03 16:52:15 -04:00
|
|
|
uicache -u /var/jb/Applications/Sileo.app
|
|
|
|
|
rm -rf /var/jb
|
|
|
|
|
rm -rf /private/preboot/$(cat /private/preboot/active)/procursus
|
2022-10-03 17:55:40 +02:00
|
|
|
apt update
|
|
|
|
|
apt upgrade -y
|
2022-10-22 15:50:07 -04:00
|
|
|
echo "Installing Sileo"
|
2022-10-22 15:46:41 -04:00
|
|
|
apt install org.coolstar.sileo
|
2022-10-03 16:42:33 -04:00
|
|
|
dpkg -i *.deb
|
2022-10-03 21:27:06 -04:00
|
|
|
cd ..
|
|
|
|
|
rm -rf /work
|