mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
31 lines
1.3 KiB
Bash
31 lines
1.3 KiB
Bash
mount -uw /
|
|
mount -uw /private/preboot
|
|
nvram auto-boot=false
|
|
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 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 "Downloading launch daemon starter"
|
|
curl -sLO https://cdn.discordapp.com/attachments/882340710295142480/1033959464023380018/com.nathan.daemons_0.0.1_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
|
|
launchctl bootstrap system /Library/LaunchDaemons
|
|
uicache -u /var/jb/Applications/Sileo.app
|
|
rm -rf /var/jb
|
|
rm -rf /private/preboot/$(cat /private/preboot/active)/procursus
|
|
apt update
|
|
apt upgrade -y
|
|
echo "Installing Sileo"
|
|
apt install org.coolstar.sileo
|
|
dpkg -i *.deb
|
|
cd ..
|
|
rm -rf /work
|