Compare commits
56 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f073b3137a | |||
| 42cdf774e7 | |||
| 5e3fd0816d | |||
| 5c3c2c6246 | |||
| 95e0b3e92c | |||
| 3dc260c5c6 | |||
| bf4b7c3417 | |||
| 607f75eacb | |||
| 59ae9fbc65 | |||
| d8edc66bbf | |||
| b309aa7a81 | |||
| afbb34b908 | |||
| 5da0828ecd | |||
| a6505830b7 | |||
| f234812027 | |||
| 531098d89d | |||
| afd3d53d01 | |||
| dec1390145 | |||
| a0b99e1fda | |||
| 3411160233 | |||
| 0f615dad45 | |||
| 6187841465 | |||
| 763c6e3d4f | |||
| 16b95ae355 | |||
| 98f347d1f0 | |||
| ef93e1bf10 | |||
| 46d1fb5d21 | |||
| bc101f48ea | |||
| 051c65279f | |||
| 0a13b7ea59 | |||
| d904f739e0 | |||
| 2438a1f3ec | |||
| 7222558edb | |||
| 8c832efeb1 | |||
| c24246ed1b | |||
| 99c29a703c | |||
| 71e7926448 | |||
| b7e13aa864 | |||
| 0a6d9ff9e2 | |||
| c7c302cced | |||
| 4d1e27b54a | |||
| ec91a6e101 | |||
| 7206838756 | |||
| 8f6066eecc | |||
| fa3238a348 | |||
| 2eede2743f | |||
| 736c93cfee | |||
| 0990a404b7 | |||
| 009ac7915d | |||
| 8901d53ed9 | |||
| b0b204569a | |||
| 81bd626fe0 | |||
| e61b040f09 | |||
| dd2a833562 | |||
| 11ab5da0cb | |||
| ea56026562 |
@@ -11,6 +11,7 @@
|
|||||||
***Note: I recommend that you know what you're doing***<br/>
|
***Note: I recommend that you know what you're doing***<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/>
|
***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/>
|
||||||
***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/>
|
***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/>
|
||||||
|
***Note: If you install sileo from odyssey repo make sur to not update preference loader to 3.0.1 and to have 2.2.5 else tweak settings will not show***<br/>
|
||||||
1) You don't need to restore rootfs anymore, Tweaks/Apps are saved<br/>
|
1) You don't need to restore rootfs anymore, Tweaks/Apps are saved<br/>
|
||||||
2) Refresh sources in Cydia and install `OpenSSH` and `Curl`<br/>
|
2) Refresh sources in Cydia and install `OpenSSH` and `Curl`<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/>
|
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/>
|
||||||
@@ -19,7 +20,6 @@
|
|||||||
5) Once your device resprings, launch Cydia and you're good to go.<br/>
|
5) Once your device resprings, launch Cydia and you're good to go.<br/>
|
||||||
|
|
||||||
***For all users that don't 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/>
|
||||||
***Disclaimer: This is still in beta***<br/>
|
|
||||||
1) You don't need to restore rootfs anymore, Tweaks/Apps are saved
|
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` come with MTerminal as a dependency, newterm isn't supported.
|
3) Install `Uncursus Installer` come with MTerminal as a dependency, newterm isn't supported.
|
||||||
|
|||||||
+66
-67
@@ -1,80 +1,79 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
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=""
|
need=""
|
||||||
command -v unzip >/dev/null 2>&1 || need+="unzip "
|
command -v curl >/dev/null 2>&1 || need+="curl "
|
||||||
command -v plutil >/dev/null 2>&1 || need+="com.bingner.plutil "
|
command -v wget >/dev/null 2>&1 || need+="wget "
|
||||||
command -v curl >/dev/null 2>&1 || need+="curl "
|
clear
|
||||||
command -v wget >/dev/null 2>&1 || need+="wget "
|
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
||||||
clear
|
echo -e "\e[31mWelcome to Uncursus Installation Script.\e[0m"
|
||||||
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
echo "Checking if this script is running on ARM Darwin"
|
||||||
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.8-2 (Stable) By @Yaya4_4 on Twitter.\e[0m"
|
if [ $(uname) = "Linux" ]; then
|
||||||
echo "Checking if this script is running on ARM Darwin"
|
|
||||||
if [ $(uname) = "Linux" ]; then
|
|
||||||
if [ $(uname -p) = "x86_64" ]; then
|
if [ $(uname -p) = "x86_64" ]; then
|
||||||
PC=yes
|
PC=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "${PC}" = yes ]]; then
|
if [[ "${PC}" = yes ]]; then
|
||||||
echo "Use this script with SSH over an IP session on your iDevice. Thanks."
|
echo "Use this script with SSH over an IP session on your iDevice. Thanks."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "ARM Darwin detected, running..."
|
echo "ARM Darwin detected, running..."
|
||||||
echo "Checking if you're using unc0ver..."
|
echo "Checking if you're using unc0ver..."
|
||||||
if [[ -f "/.installed_unc0ver" ]]; then
|
if [[ -f "/.installed_unc0ver" ]]; then
|
||||||
u0=yes
|
u0=yes
|
||||||
else
|
else
|
||||||
u0=no
|
u0=no
|
||||||
fi
|
fi
|
||||||
if [[ "${u0}" = no ]]; then
|
if [[ "${u0}" = no ]]; then
|
||||||
echo "Use unc0ver, thanks"
|
echo "Use unc0ver, thanks"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "unc0ver detected"
|
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 DM Me"
|
||||||
echo "Checking Dependencies..."
|
echo "Checking Dependencies..."
|
||||||
if [[ $need != "" ]]; then
|
if [[ $need != "" ]]; then
|
||||||
echo "Installing Dependencies..."
|
echo "Installing Dependencies..."
|
||||||
apt update
|
apt update
|
||||||
apt install $need -y
|
apt install $need -y
|
||||||
fi
|
fi
|
||||||
echo "Pulling and executing the Procursus Migration Script..."
|
echo "Pulling and executing the Procursus Migration Script..."
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-migration.sh)"
|
/bin/bash /usr/bin/procursus-migration
|
||||||
echo "Creating a custom directory for the required files. Path (/tmp/uncursus)."
|
echo "Creating a custom directory for the required files. Path (/tmp/uncursus)."
|
||||||
rm -rf /tmp/uncursus
|
rm -rf /tmp/uncursus
|
||||||
mkdir /tmp/uncursus
|
mkdir /tmp/uncursus
|
||||||
mkdir /tmp/uncursus/u0
|
mkdir /tmp/uncursus/u0
|
||||||
echo "Done. Setuping Uncursus Repo...."
|
echo "Done. Setting Up Uncursus Repo...."
|
||||||
echo "Types: deb" > /etc/apt/sources.list.d/uncursus.sources
|
echo "Types: deb" > /etc/apt/sources.list.d/uncursus.sources
|
||||||
echo "URIs: https://uncursus.yaya48.gq" >> /etc/apt/sources.list.d/uncursus.sources
|
echo "URIs: https://repo.yaya48.gq/uncursusrepo/" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
echo "Suites: iphoneos-arm64/uncursus" >> /etc/apt/sources.list.d/uncursus.sources
|
echo "Suites: iphoneos-arm64/all" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
echo "Components: main" >> /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
|
echo "" >> /etc/apt/sources.list.d/uncursus.sources
|
||||||
mkdir -p /etc/apt/preferences.d/
|
mkdir -p /etc/apt/preferences.d/
|
||||||
echo "Package: *" > /etc/apt/preferences.d/uncursus
|
echo "Package: *" > /etc/apt/preferences.d/uncursus
|
||||||
echo "Pin: release l=Uncursus" >> /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 "Pin-Priority: 1001" >> /etc/apt/preferences.d/uncursus
|
||||||
echo "" >> /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/
|
wget -q https://repo.yaya48.gq/uncursusrepo/pool/main/iphoneos-arm64/com.yaya4.repokeyring.deb --directory-prefix=/tmp/uncursus/
|
||||||
dpkg -i /tmp/uncursus/Yaya4Keyring.deb
|
dpkg -i /tmp/uncursus/com.yaya4.repokeyring.deb
|
||||||
apt update
|
apt update
|
||||||
echo "Done. Installing Procursus Cydia..."
|
echo "Done. Installing Procursus Cydia..."
|
||||||
apt purge cydia -y --allow-remove-essential
|
apt purge cydia -y --allow-remove-essential
|
||||||
apt install cydia -y essential -y
|
apt install cydia -y essential -y
|
||||||
echo "Done. Installing necessities..."
|
echo "Done. Installing necessities..."
|
||||||
apt install essential-dummy -y lzma -y ncurses -y
|
apt update
|
||||||
echo "Done. Running Firmware Configuration (./firmware.sh)"
|
apt install essential-dummy -y lzma -y ncurses -y libidn2 -y
|
||||||
/usr/libexec/firmware
|
echo "Done. Running Firmware Configuration (./firmware.sh)"
|
||||||
echo "Bootstrap installation complete. Cleaning up..."
|
/usr/libexec/firmware
|
||||||
rm -rf /tmp/uncursus/
|
echo "Bootstrap installation complete. Cleaning up..."
|
||||||
rm -rf /tmp/procursus-migration/
|
rm -rf /tmp/uncursus/
|
||||||
echo "All Done."
|
rm -rf /tmp/procursus-migration/
|
||||||
touch /.installed_odyssey
|
rm -rf /tmp/zstd-support/
|
||||||
touch /.procursus_strapped
|
echo "All Done."
|
||||||
uicache -p /Applications/Cydia.app
|
touch /.procursus_strapped
|
||||||
sbreload
|
uicache -p /Applications/Cydia.app
|
||||||
fi
|
sbreload
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
+92
-49
@@ -1,53 +1,96 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
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
|
||||||
clear
|
clear
|
||||||
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
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 -e "\e[31mUncursus Migration Part\e[0m"
|
||||||
echo "Checking iOS Version"
|
ErrorHandler(){
|
||||||
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
|
echo -e "\e[31mSomething went wrong.\e[0m"
|
||||||
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
|
echo -e "\e[31mPlease report the issues with a pastebin.\e[0m"
|
||||||
echo "iOS 12 detected, setting the CFVER to 1500"
|
exit 1
|
||||||
CFVER=1500
|
}
|
||||||
elif [[ "${VER%.*}" -ge 13 ]]; then
|
checkDependencies(){
|
||||||
echo "iOS 13 detected, setting the CFVER to 1600"
|
echo "Checking Dependencies ..."
|
||||||
CFVER=1600
|
need2=""
|
||||||
elif [[ "${VER%.*.*}" -ge 13 ]]; then
|
command -v wget >/dev/null 2>&1 || need2+="wget "
|
||||||
echo "iOS 13 detected, setting the CFVER to 1600"
|
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
|
||||||
CFVER=1600
|
if [[ $need2 != "" ]]; then
|
||||||
elif [[ "${VER%.*.*}" -ge 12 ]]; then
|
echo "Installing Dependencies..."
|
||||||
echo "iOS 12 detected, setting the CFVER to 1500"
|
apt update
|
||||||
CFVER=1500
|
apt install $need2 -y
|
||||||
else
|
fi
|
||||||
echo "Your iOS Version Is Under iOS 12 Or Either Than 13"
|
}
|
||||||
exit 1
|
checkiOSVersion(){
|
||||||
fi
|
echo "Checking iOS Version ..."
|
||||||
COREUTILSVER=8.32-4
|
echo "1 for *OS 14"
|
||||||
echo -e "\e[32mStarting Migration....\e[0m"
|
echo "2 for *OS 13"
|
||||||
apt update
|
echo "3 for *OS 12"
|
||||||
apt install wget -y --allow-unauthenticated
|
read version
|
||||||
rm /etc/apt/sources.list.d/cydia.list
|
if [ "1" = $version ]; then
|
||||||
echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
|
CFVER=1700
|
||||||
rm -rf /tmp/procursus-migration
|
elif [ "2" = $version ]; then
|
||||||
mkdir /tmp/procursus-migration
|
CFVER=1600
|
||||||
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
|
elif [ "3" = $version ]; then
|
||||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/coreutils_${COREUTILSVER}_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
CFVER=1500
|
||||||
dpkg -i /tmp/procursus-migration/procursus-keyring_2020.05.09_iphoneos-arm.deb
|
fi
|
||||||
apt update
|
}
|
||||||
apt install xz-utils -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
ProcursusMigration(){
|
||||||
apt full-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
echo "Migrating..."
|
||||||
apt install ncurses-bin -y
|
rm /etc/apt/sources.list.d/cydia.list
|
||||||
dpkg -i --force-all /tmp/procursus-migration/coreutils_${COREUTILSVER}_iphoneos-arm.deb
|
echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
|
||||||
dpkg -r apt1.4
|
rm -rf /tmp/procursus-migration
|
||||||
apt update
|
mkdir /tmp/procursus-migration
|
||||||
apt purge libplist-utils -y libplist3 -y
|
cd /tmp/procursus-migration
|
||||||
apt autoremove -y
|
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/procursus-keyring_2020.05.09_iphoneos-arm.deb --no-check-certificate
|
||||||
apt install libplist-utils -y libplist++-dev -y libplist++-dev -y libplist++3v5 -y libplist-dev -y libplist3 -y ldid -y
|
dpkg -i procursus-keyring_2020.05.09_iphoneos-arm.deb
|
||||||
echo "Types: deb" > /etc/apt/sources.list.d/procursus.sources
|
apt update
|
||||||
echo "URIs: https://apt.procurs.us/" >> /etc/apt/sources.list.d/procursus.sources
|
rm -rf /tmp/zstd-support/
|
||||||
echo "Suites: iphoneos-arm64/${CFVER}" >> /etc/apt/sources.list.d/procursus.sources
|
mkdir /tmp/zstd-support/
|
||||||
echo "Components: main" >> /etc/apt/sources.list.d/procursus.sources
|
cd /tmp/zstd-support/
|
||||||
echo -e "\e[32mMigration Finished!\e[0m"
|
apt download libintl8 liblzma5 lz4 xz liblz4-1 xz-utils
|
||||||
echo -e "\e[32mBack to Uncursus Script...\e[0m"
|
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/libzstd1_1.4.7_iphoneos-arm.deb --no-check-certificate
|
||||||
|
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/zstd_1.4.7_iphoneos-arm.deb --no-check-certificate
|
||||||
|
dpkg -i --force-all *.deb
|
||||||
|
cd /tmp/procursus-migration
|
||||||
|
apt download libzstd1 apt libapt-pkg6.0 xz-utils liblzma5 libncursesw6 ncurses-term libxxhash0 libxxhash-dev libgcrypt20 libgpg-error0 dpkg
|
||||||
|
dpkg -i --force-all /tmp/procursus-migration/libncursesw6*.deb
|
||||||
|
if [ ! -f "/usr/lib/libncurses.6.dylib" ]; then
|
||||||
|
echo "Fixing ..."
|
||||||
|
ln -s /usr/lib/libncursesw.6.dylib /usr/lib/libncurses.6.dylib
|
||||||
|
else
|
||||||
|
echo "Nothing To Do!"
|
||||||
|
fi
|
||||||
|
dpkg -i --force-all dpkg*.deb
|
||||||
|
dpkg -i --force-all *.deb
|
||||||
|
apt download coreutils
|
||||||
|
dpkg -r --force-all libidn2
|
||||||
|
apt --fix-broken install -y -u -o APT::Force-LoopBreak=1
|
||||||
|
apt install diskdev-cmds -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||||
|
apt dist-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||||
|
dpkg -i --force-all /tmp/procursus-migration/coreutils*.deb
|
||||||
|
}
|
||||||
|
ProcursusSourcesSetup(){
|
||||||
|
echo "Settings Up Procursus Source ..."
|
||||||
|
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
|
||||||
|
}
|
||||||
|
MigrationCleanUp(){
|
||||||
|
echo "Cleaning Up ..."
|
||||||
|
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
|
||||||
|
apt reinstall libintl8 -y
|
||||||
|
}
|
||||||
|
checkDependencies || ErrorHandler
|
||||||
|
checkiOSVersion || ErrorHandler
|
||||||
|
echo -e "\e[32mStarting Migration On $CFVER ....\e[0m"
|
||||||
|
ProcursusMigration || ErrorHandler
|
||||||
|
ProcursusSourcesSetup || ErrorHandler
|
||||||
|
MigrationCleanUp || ErrorHandler
|
||||||
|
echo -e "\e[32mMigration Finished!\e[0m"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user