Compare commits
126 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e13fad39f | |||
| ef7d8eff18 | |||
| e8b5454c9a | |||
| b683c62956 | |||
| 13d270186e | |||
| d2f19d3b4c | |||
| 0aef607453 | |||
| 5a0ed6e0f4 | |||
| 4029563dbb | |||
| 076e6e8109 | |||
| df0058b966 | |||
| dff431b42e | |||
| 79f56be303 | |||
| ffc6fd96e9 | |||
| 2cd628b58e | |||
| 4891658249 | |||
| b593d142d7 | |||
| d2804a219c | |||
| f391a8dca1 | |||
| 32fb3a379e | |||
| c18bc6093e | |||
| 551a8ffd31 | |||
| 4c83345029 | |||
| 38c21358c1 | |||
| 40b7bff6f8 | |||
| 5c59461784 | |||
| 525a8f59e0 | |||
| 478bd48007 | |||
| b6867f8a5e | |||
| 4998e0d467 | |||
| b32f63add6 | |||
| 894477cf5f | |||
| c6382b7e11 | |||
| a2cf0326c9 | |||
| 51e9803ebc | |||
| 9e7ccc9609 | |||
| b0a83222b7 | |||
| 716cda1f5d | |||
| 192166bfa7 | |||
| 9d1ef3b617 | |||
| 9b20d34907 | |||
| 1030b496c7 | |||
| 93cd4ba803 | |||
| 8cf1a1fd08 | |||
| b203cc627c | |||
| 6f055764e5 | |||
| 0ea384734a | |||
| dd81f03ffd | |||
| 16fe010f42 | |||
| 5a8a690a6f | |||
| fe7b43ab6b | |||
| eb1fc5fc6b | |||
| 822bc567dc | |||
| 408cf51597 | |||
| debca342dc | |||
| 0ffd33caad | |||
| bc08a33c4a | |||
| 59783a4df1 | |||
| 9332d54c5b | |||
| 97d9b493ce | |||
| ccf294bcb8 | |||
| 0a6cb074a2 | |||
| 943b748f25 | |||
| c5834d7c44 | |||
| ad2517dd6c | |||
| 21b215b983 | |||
| 25b9c66bcb | |||
| 1ffb7b331b | |||
| 24bb8b1657 | |||
| 814e767d90 | |||
| 2736c38b50 | |||
| c4cd8d067a | |||
| 725d3be73d | |||
| 0148e46113 | |||
| c65a4f7248 | |||
| 71c0589cfb | |||
| 035abbdd58 | |||
| 21c4fd7942 | |||
| d46bca50e9 | |||
| 885a7046b0 | |||
| 986ba1a924 | |||
| a85c9b18c6 | |||
| 81a2fa9bac | |||
| 7dc197db97 | |||
| 13c747a422 | |||
| e81042500c | |||
| 3f45b83dab | |||
| f6366b9bda | |||
| f955b99ce5 | |||
| 8a1960325c | |||
| 9b50d9c75c | |||
| 5229737ce5 | |||
| c6d970fe3a | |||
| 7776e5a113 | |||
| f61845c456 | |||
| 0ec1294021 | |||
| c996c0a223 | |||
| 0b825cdc27 | |||
| 21278f7b20 | |||
| f18f1a5260 | |||
| 12775b4abf | |||
| ff5db2ce74 | |||
| 5e1fc0f34b | |||
| 61db5237fa | |||
| 779569abf4 | |||
| 7647720cda | |||
| 9f3314cb67 | |||
| 11c2f75a2b | |||
| 44317fbe2e | |||
| 847713990c | |||
| a9953913d6 | |||
| 787b2e3ffe | |||
| 2502c71178 | |||
| 56f6eb8424 | |||
| 4bfb3047e5 | |||
| b652d88e51 | |||
| 512e9694c9 | |||
| 9f724d9c6d | |||
| 472ed6dc6e | |||
| 2a927a1ab8 | |||
| 1489a44f32 | |||
| 6cd7acab7e | |||
| f5db777e17 | |||
| 552a7ed1d1 | |||
| 8834c3c631 | |||
| 9f18e25d4a |
@@ -0,0 +1,29 @@
|
|||||||
|
BSD 3-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2020, Yaya4
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
3. Neither the name of the copyright holder nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@@ -9,30 +9,32 @@
|
|||||||
***Disclaimer: I am not held responsible for any damage done to your device.***<br/>
|
***Disclaimer: I am not held responsible for any damage done to your device.***<br/>
|
||||||
***Note: you must have a computer to launch the script via SSH, you cannot use NewTerm.***<br/>
|
***Note: you must have a computer to launch the script via SSH, you cannot use NewTerm.***<br/>
|
||||||
***Note: I recommend that you know what you're doing***<br/>
|
***Note: I recommend that you know what you're doing***<br/>
|
||||||
1) Restore rootfs with unc0ver<br/>
|
***Note: After The installtion You Will have Procursus Cydia By Default Free to you to Keep Cydia or install zebra,sileo,installer or other package manager PS : For sileo use odyssey repo, PS: You can uninstall cydia after installed another package manager***<br/>
|
||||||
2) Rejailbreak with unc0ver<br/>
|
***Note: That will not give you libhooker please dont install it or that will break your unc0ver install if you really want it use odyssey***<br/>
|
||||||
3) Refresh sources in Cydia and install `OpenSSH` and `Curl`<br/>
|
1) You don't need to restore rootfs anymore, Tweaks/Apps are saved<br/>
|
||||||
4) Find the IP of your iDevice and connect via SSH on your computer.<br/>
|
2) Refresh sources in Cydia and install `OpenSSH` and `Curl`<br/>
|
||||||
5) Use the following command in your SSH session for installation:<br/>
|
3) Find the IP of your iDevice and connect to it via SSH on your computer. Don't know what SSH is or how to use it? Refer to: https://www.hostinger.com/tutorials/ssh-tutorial-how-does-ssh-work<br/>
|
||||||
|
4) Use the following command in your SSH session for installation:<br/>
|
||||||
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/installuncursus.sh)"`<br/>
|
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/installuncursus.sh)"`<br/>
|
||||||
6) Once your device resprings, launch Sileo and you're good to go.<br/>
|
5) Once your device resprings, launch Cydia and you're good to go.<br/>
|
||||||
|
|
||||||
***For All Users Cannot Have A Pc I Made a Non-Computer Version***<br/>
|
***For all users that don't have a PC, I made a Non-Computer version.***<br/>
|
||||||
***Note: Disclimer This still in beta***<br/>
|
***Disclaimer: This is still in beta***<br/>
|
||||||
1) Restore Rootfs
|
1) You don't need to restore rootfs anymore, Tweaks/Apps are saved
|
||||||
2) Add https://repo.yaya48.gq in cydia
|
2) Add https://repo.yaya48.gq in cydia
|
||||||
3) Install Uncursus Installer
|
3) Install `Uncursus Installer` come with MTerminal as a dependency, newterm isn't supported.
|
||||||
4) Enter In Terminal And Log In As Root With Default Passworld Type: su after alpine
|
4) Open MTerminal and login as root with your password. Type `su`, then `alpine` (or your root password)
|
||||||
5) Run uncursus-installer and wait
|
5) Type `uncursus-installer`, then run it and wait
|
||||||
6) When Is Finished Your Device Will Respring After Open Sileo Do Update And Enjoy
|
6) When finished, your device will respring.
|
||||||
|
7) Open Cydia, update your packages and enjoy
|
||||||
|
|
||||||
### Questions & Support:
|
### Questions & Support:
|
||||||
- Discord: Yaya4#1989
|
- Discord: Yaya4#1989
|
||||||
- Twitter: [@Yaya4_4](https://twitter.com/Yaya4_4)
|
- Twitter: [@Yaya4_4](https://twitter.com/Yaya4_4)
|
||||||
|
|
||||||
***Note: The support is not made for install help but for bug reports or ask questions all install steps is here***<br/>
|
***Note: Support is not for installation help, but for bug reports or asking questions. All installation steps are here***<br/>
|
||||||
|
|
||||||
### Credits:
|
### Credits:
|
||||||
[Procursus Team](https://github.com/ProcursusTeam/) - for the bootstrap<br/>
|
[Procursus Team](https://github.com/ProcursusTeam/) - for the bootstrap<br/>
|
||||||
[CoolStar](https://github.com/coolstar/) - for the deploy script<br/>
|
[CoolStar](https://github.com/coolstar/) - Previously for the deploy script (that not used anymore)<br/>
|
||||||
knuckles approver#1119 (on Discord) - for the testing and name of the project<br/>
|
knuckles approver#1119 (on Discord) - for the testing and name of the project<br/>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+64
-46
@@ -2,61 +2,79 @@
|
|||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo You need to run this script as root.
|
echo You need to run this script as root.
|
||||||
else
|
else
|
||||||
|
need=""
|
||||||
|
command -v unzip >/dev/null 2>&1 || need+="unzip "
|
||||||
|
command -v plutil >/dev/null 2>&1 || need+="com.bingner.plutil "
|
||||||
|
command -v curl >/dev/null 2>&1 || need+="curl "
|
||||||
|
command -v wget >/dev/null 2>&1 || need+="wget "
|
||||||
clear
|
clear
|
||||||
echo -e "\e[31mWelcome to Uncursus Installation Script V1.3.2 (Stable) By @Yaya4_4 on Twitter.\e[0m"
|
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
||||||
|
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.8-2 (Stable) By @Yaya4_4 on Twitter.\e[0m"
|
||||||
|
echo "Checking if this script is running on ARM Darwin"
|
||||||
|
if [ $(uname) = "Linux" ]; then
|
||||||
|
if [ $(uname -p) = "x86_64" ]; then
|
||||||
|
PC=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ "${PC}" = yes ]]; then
|
||||||
|
echo "Use this script with SSH over an IP session on your iDevice. Thanks."
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "ARM Darwin detected, running..."
|
||||||
|
echo "Checking if you're using unc0ver..."
|
||||||
|
if [[ -f "/.installed_unc0ver" ]]; then
|
||||||
|
u0=yes
|
||||||
|
else
|
||||||
|
u0=no
|
||||||
|
fi
|
||||||
|
if [[ "${u0}" = no ]]; then
|
||||||
|
echo "Use unc0ver, thanks"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "unc0ver detected"
|
||||||
echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG"
|
echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG"
|
||||||
echo "If you've found any bugs, please create an issue in GitHub."
|
echo "If you've found any bugs, please create an issue in GitHub."
|
||||||
|
echo "Checking Dependencies..."
|
||||||
|
if [[ $need != "" ]]; then
|
||||||
echo "Installing Dependencies..."
|
echo "Installing Dependencies..."
|
||||||
apt update
|
apt update
|
||||||
apt install unzip -y
|
apt install $need -y
|
||||||
apt install com.bingner.plutil -y
|
|
||||||
apt install zsh -y
|
|
||||||
apt install curl -y
|
|
||||||
echo "Pulling and executing the Procursus deployment script..."
|
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-deploy-u0.sh)"
|
|
||||||
echo "Pulling and installing official Procursus debians..."
|
|
||||||
rm -rf /User/Documents/uncursus
|
|
||||||
mkdir /User/Documents/uncursus
|
|
||||||
apt update
|
|
||||||
apt install wget -y --allow-unauthenticated
|
|
||||||
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
|
|
||||||
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
|
|
||||||
echo "cock"
|
|
||||||
elif [[ "${VER%.*}" -ge 13 ]]; then
|
|
||||||
echo "iOS 13 Dectected Installing iOS 13 Procursus Deb"
|
|
||||||
wget https://github.com/Yaya48/Uncursus/blob/new/debprocursussystem-1600.zip?raw=true --directory-prefix=/User/Documents/uncursus/
|
|
||||||
unzip /User/Documents/uncursus/debprocursussystem-1600.zip?raw=true -d /User/Documents/uncursus/
|
|
||||||
dpkg -i /User/Documents/uncursus/debprocursussystem/*.deb
|
|
||||||
else
|
|
||||||
echo "iOS 12 Dectected Installing iOS 12 Procursus Deb"
|
|
||||||
wget https://github.com/Yaya48/Uncursus/blob/new/debprocursussystem-1500.zip?raw=true --directory-prefix=/User/Documents/uncursus/
|
|
||||||
unzip /User/Documents/uncursus/debprocursussystem-1500.zip?raw=true -d /User/Documents/uncursus/
|
|
||||||
dpkg -i /User/Documents/uncursus/debprocursussystem1500/*.deb
|
|
||||||
fi
|
fi
|
||||||
echo "Done. Creating a custom directory for the required files. Path (/User/Documents/)."
|
echo "Pulling and executing the Procursus Migration Script..."
|
||||||
mkdir /User/Documents/uncursus/u0
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-migration.sh)"
|
||||||
wget https://github.com/Yaya48/Uncursus/blob/new/debpatch.zip?raw=true --directory-prefix=/User/Documents/uncursus/
|
echo "Creating a custom directory for the required files. Path (/tmp/uncursus)."
|
||||||
unzip /User/Documents/uncursus/debpatch.zip?raw\=true -d /User/Documents/uncursus/debpatch
|
rm -rf /tmp/uncursus
|
||||||
rm -rf /usr/bin/cynject
|
mkdir /tmp/uncursus
|
||||||
wget https://apt.bingner.com/debs/1443.00/com.ex.substitute_0.1.14_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0
|
mkdir /tmp/uncursus/u0
|
||||||
wget https://apt.bingner.com/debs/1443.00/com.saurik.substrate.safemode_0.9.6003_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0
|
echo "Done. Setuping Uncursus Repo...."
|
||||||
|
echo "Types: deb" > /etc/apt/sources.list.d/uncursus.sources
|
||||||
|
echo "URIs: https://uncursus.yaya48.gq" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
|
echo "Suites: iphoneos-arm64/uncursus" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
|
echo "Components: main" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
|
echo "" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
|
mkdir -p /etc/apt/preferences.d/
|
||||||
|
echo "Package: *" > /etc/apt/preferences.d/uncursus
|
||||||
|
echo "Pin: release l=Uncursus" >> /etc/apt/preferences.d/uncursus
|
||||||
|
echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/uncursus
|
||||||
|
echo "" >> /etc/apt/preferences.d/uncursus
|
||||||
|
wget -q https://github.com/Yaya48/uncursusrepov2/raw/master/pool/main/iphoneos-arm64/Yaya4Keyring.deb --directory-prefix=/tmp/uncursus/
|
||||||
|
dpkg -i /tmp/uncursus/Yaya4Keyring.deb
|
||||||
|
apt update
|
||||||
|
echo "Done. Installing Procursus Cydia..."
|
||||||
|
apt purge cydia -y --allow-remove-essential
|
||||||
|
apt install cydia -y essential -y
|
||||||
echo "Done. Installing necessities..."
|
echo "Done. Installing necessities..."
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/us.diatr.sileorespring_1.1_iphoneos-arm.deb
|
apt install essential-dummy -y lzma -y ncurses -y
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/coreutils-bin.deb
|
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/libssl.deb
|
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/lzma.deb
|
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/ncurses5-libs.deb
|
|
||||||
dpkg -i --force-all /User/Documents/uncursus/debpatch/xz.deb
|
|
||||||
dpkg -i --force-all /User/Documents/uncursus/u0/*.deb
|
|
||||||
echo "Done. Running Firmware Configuration (./firmware.sh)"
|
echo "Done. Running Firmware Configuration (./firmware.sh)"
|
||||||
/usr/libexec/firmware
|
/usr/libexec/firmware
|
||||||
echo "Bootstrap installation complete. Cleaning up..."
|
echo "Bootstrap installation complete. Cleaning up..."
|
||||||
rm -rf /User/Documents/uncursus/
|
rm -rf /tmp/uncursus/
|
||||||
echo "Uninstalling Cydia..."
|
rm -rf /tmp/procursus-migration/
|
||||||
apt update
|
|
||||||
apt install cydia -y --allow-unauthenticated
|
|
||||||
apt purge cydia -y
|
|
||||||
uicache -a
|
|
||||||
echo "All Done."
|
echo "All Done."
|
||||||
killall SpringBoard
|
touch /.installed_odyssey
|
||||||
|
touch /.procursus_strapped
|
||||||
|
uicache -p /Applications/Cydia.app
|
||||||
|
sbreload
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,113 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
if [ $(uname) = "Darwin" ]; then
|
|
||||||
if [ $(uname -p) = "arm" ] || [ $(uname -p) = "arm64" ]; then
|
|
||||||
echo "It's recommended this script be ran on macOS/Linux with a clean iOS device running checkra1n attached unless migrating from older bootstrap."
|
|
||||||
ARM=yes
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "odysseyra1n deployment script"
|
|
||||||
echo "(C) 2020, CoolStar. All Rights Reserved"
|
|
||||||
echo "Uncursus Version"
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Before you begin: This script includes experimental migration from older bootstraps to Procursus/Odyssey."
|
|
||||||
echo "If you're already jailbroken, you can run this script on the checkra1n device."
|
|
||||||
echo "If you'd rather start clean, please Reset System via the Loader app first."
|
|
||||||
|
|
||||||
if ! which curl >> /dev/null; then
|
|
||||||
echo "Error: curl not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [[ "${ARM}" = yes ]]; then
|
|
||||||
if ! which zsh >> /dev/null; then
|
|
||||||
echo "Error: zsh not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if which iproxy >> /dev/null; then
|
|
||||||
iproxy 4444 44 >> /dev/null 2>/dev/null &
|
|
||||||
else
|
|
||||||
echo "Error: iproxy not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -rf odyssey-tmp
|
|
||||||
mkdir odyssey-tmp
|
|
||||||
cd odyssey-tmp
|
|
||||||
|
|
||||||
echo '#!/bin/zsh' > odyssey-device-deploy.sh
|
|
||||||
if [[ ! "${ARM}" = yes ]]; then
|
|
||||||
echo 'cd /var/root' >> odyssey-device-deploy.sh
|
|
||||||
fi
|
|
||||||
echo 'if [[ -f "/.bootstrapped" ]]; then' >> odyssey-device-deploy.sh
|
|
||||||
echo 'mkdir -p /odyssey && mv migration /odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'chmod 0755 /odyssey/migration' >> odyssey-device-deploy.sh
|
|
||||||
echo '/odyssey/migration' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'else' >> odyssey-device-deploy.sh
|
|
||||||
echo 'VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)' >> odyssey-device-deploy.sh
|
|
||||||
echo 'if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then' >> odyssey-device-deploy.sh
|
|
||||||
echo 'CFVER=1500' >> odyssey-device-deploy.sh
|
|
||||||
echo 'elif [[ "${VER%.*}" -ge 13 ]]; then' >> odyssey-device-deploy.sh
|
|
||||||
echo 'CFVER=1600' >> odyssey-device-deploy.sh
|
|
||||||
echo 'else' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "${VER} not compatible."' >> odyssey-device-deploy.sh
|
|
||||||
echo 'exit 1' >> odyssey-device-deploy.sh
|
|
||||||
echo 'fi' >> odyssey-device-deploy.sh
|
|
||||||
echo 'gzip -d bootstrap_${CFVER}-ssh.tar.gz' >> odyssey-device-deploy.sh
|
|
||||||
echo 'mount -uw -o union /dev/disk0s1s1' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/profile' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/profile.d' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/alternatives' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/apt' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/ssl' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/ssh' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /etc/dpkg' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /Library/dpkg' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /var/cache' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm -rf /var/lib' >> odyssey-device-deploy.sh
|
|
||||||
echo 'tar --preserve-permissions -xkf bootstrap_${CFVER}-ssh.tar -C /' >> odyssey-device-deploy.sh
|
|
||||||
echo '/Library/dpkg/info/openssh.postinst || true' >> odyssey-device-deploy.sh
|
|
||||||
echo 'launchctl load -w /Library/LaunchDaemons/com.openssh.sshd.plist || true' >> odyssey-device-deploy.sh
|
|
||||||
echo 'fi' >> odyssey-device-deploy.sh
|
|
||||||
echo '/usr/libexec/firmware' >> odyssey-device-deploy.sh
|
|
||||||
echo 'mkdir -p /etc/apt/sources.list.d/' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Types: deb" > /etc/apt/sources.list.d/odyssey.sources' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "URIs: https://yaya48.github.io/uncursusrepo" >> /etc/apt/sources.list.d/odyssey.sources' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Suites: ./" >> /etc/apt/sources.list.d/odyssey.sources' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Components: " >> /etc/apt/sources.list.d/odyssey.sources' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "" >> /etc/apt/sources.list.d/odyssey.sources' >> odyssey-device-deploy.sh
|
|
||||||
echo 'mkdir -p /etc/apt/preferenced.d/' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Package: *" > /etc/apt/preferenced.d/odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Pin: release n=uncursus-ios" >> /etc/apt/preferenced.d/odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "Pin-Priority: 1001" >> /etc/apt/preferenced.d/odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo "" >> /etc/apt/preferenced.d/odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games dpkg -i org.coolstar.sileo_1.8.1_iphoneos-arm.deb' >> odyssey-device-deploy.sh
|
|
||||||
echo 'uicache -p /Applications/Sileo.app' >> odyssey-device-deploy.sh
|
|
||||||
echo 'echo -n "" > /var/lib/dpkg/available' >> odyssey-device-deploy.sh
|
|
||||||
echo '/Library/dpkg/info/profile.d.postinst' >> odyssey-device-deploy.sh
|
|
||||||
echo 'touch /.mount_rw' >> odyssey-device-deploy.sh
|
|
||||||
echo 'touch /.installed_odyssey' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm bootstrap*.tar*' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm org.coolstar.sileo_1.8.1_iphoneos-arm.deb' >> odyssey-device-deploy.sh
|
|
||||||
echo 'rm odyssey-device-deploy.sh' >> odyssey-device-deploy.sh
|
|
||||||
|
|
||||||
echo "Downloading Resources..."
|
|
||||||
curl -L -O https://github.com/coolstar/odyssey-bootstrap/raw/master/bootstrap_1500-ssh.tar.gz -O https://github.com/coolstar/odyssey-bootstrap/raw/master/bootstrap_1600-ssh.tar.gz -O https://github.com/coolstar/odyssey-bootstrap/raw/master/migration -O https://github.com/coolstar/odyssey-bootstrap/raw/master/org.coolstar.sileo_1.8.1_iphoneos-arm.deb
|
|
||||||
clear
|
|
||||||
if [[ ! "${ARM}" = yes ]]; then
|
|
||||||
echo "Copying Files to your device"
|
|
||||||
echo "Default password is: alpine"
|
|
||||||
scp -P4444 -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" bootstrap_1500-ssh.tar.gz bootstrap_1600-ssh.tar.gz migration org.coolstar.sileo_1.8.1_iphoneos-arm.deb odyssey-device-deploy.sh root@127.0.0.1:/var/root/
|
|
||||||
clear
|
|
||||||
fi
|
|
||||||
echo "Installing Procursus bootstrap and Sileo on your device"
|
|
||||||
if [[ "${ARM}" = yes ]]; then
|
|
||||||
zsh ./odyssey-device-deploy.sh
|
|
||||||
else
|
|
||||||
echo "Default password is: alpine"
|
|
||||||
ssh -p4444 -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" root@127.0.0.1 "zsh /var/root/odyssey-device-deploy.sh"
|
|
||||||
echo "All Done!"
|
|
||||||
killall iproxy
|
|
||||||
fi
|
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
echo You need to run this script as root.
|
||||||
|
else
|
||||||
|
clear
|
||||||
|
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
||||||
|
echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.1 (Stable)\e[0m"
|
||||||
|
echo "Checking iOS Version"
|
||||||
|
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
|
||||||
|
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
|
||||||
|
echo "iOS 12 detected, setting the CFVER to 1500"
|
||||||
|
CFVER=1500
|
||||||
|
elif [[ "${VER%.*}" -ge 13 ]]; then
|
||||||
|
echo "iOS 13 detected, setting the CFVER to 1600"
|
||||||
|
CFVER=1600
|
||||||
|
elif [[ "${VER%.*.*}" -ge 13 ]]; then
|
||||||
|
echo "iOS 13 detected, setting the CFVER to 1600"
|
||||||
|
CFVER=1600
|
||||||
|
elif [[ "${VER%.*.*}" -ge 12 ]]; then
|
||||||
|
echo "iOS 12 detected, setting the CFVER to 1500"
|
||||||
|
CFVER=1500
|
||||||
|
else
|
||||||
|
echo "Your iOS Version Is Under iOS 12 Or Either Than 13"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
COREUTILSVER=8.32-4
|
||||||
|
echo -e "\e[32mStarting Migration....\e[0m"
|
||||||
|
apt update
|
||||||
|
apt install wget -y --allow-unauthenticated
|
||||||
|
rm /etc/apt/sources.list.d/cydia.list
|
||||||
|
echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
|
||||||
|
rm -rf /tmp/procursus-migration
|
||||||
|
mkdir /tmp/procursus-migration
|
||||||
|
wget -q http://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/procursus-keyring_2020.05.09_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||||
|
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/coreutils_${COREUTILSVER}_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||||
|
dpkg -i /tmp/procursus-migration/procursus-keyring_2020.05.09_iphoneos-arm.deb
|
||||||
|
apt update
|
||||||
|
apt install xz-utils -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||||
|
apt full-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||||
|
apt install ncurses-bin -y
|
||||||
|
dpkg -i --force-all /tmp/procursus-migration/coreutils_${COREUTILSVER}_iphoneos-arm.deb
|
||||||
|
dpkg -r apt1.4
|
||||||
|
apt update
|
||||||
|
apt purge libplist-utils -y libplist3 -y
|
||||||
|
apt autoremove -y
|
||||||
|
apt install libplist-utils -y libplist++-dev -y libplist++-dev -y libplist++3v5 -y libplist-dev -y libplist3 -y ldid -y
|
||||||
|
echo "Types: deb" > /etc/apt/sources.list.d/procursus.sources
|
||||||
|
echo "URIs: https://apt.procurs.us/" >> /etc/apt/sources.list.d/procursus.sources
|
||||||
|
echo "Suites: iphoneos-arm64/${CFVER}" >> /etc/apt/sources.list.d/procursus.sources
|
||||||
|
echo "Components: main" >> /etc/apt/sources.list.d/procursus.sources
|
||||||
|
echo -e "\e[32mMigration Finished!\e[0m"
|
||||||
|
echo -e "\e[32mBack to Uncursus Script...\e[0m"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user