56 Commits

Author SHA1 Message Date
Yaya4 f073b3137a Fix libintl8 error #2 2021-03-17 22:53:23 +01:00
Yaya4 42cdf774e7 Fix libintl error 2021-03-17 22:51:15 +01:00
Yaya4 5e3fd0816d Remove zstd-support folder. 2021-03-16 23:08:13 +01:00
Yaya4 5c3c2c6246 Workaround for zstd
The procursus team decided to use zstd as a compression for their deb to make deb unusable on unc0ver so i made the migration part first install zstd support before doing the migration.
2021-03-16 23:07:12 +01:00
Yaya4 95e0b3e92c Workaround for zsdt
The procursus team decided to use zstd as a compression for their deb to make deb unusable on unc0ver so i fixed it migration to support it with a workaround.
2021-03-16 22:40:51 +01:00
Yaya4 3dc260c5c6 Remove unused dependencies. 2021-03-04 15:13:13 +01:00
Yaya4 bf4b7c3417 Some Fixes. 2021-03-03 16:12:37 +01:00
Yaya4 607f75eacb Fix and update. 2021-03-01 23:01:55 +01:00
Yaya4 59ae9fbc65 Fixed and updated. 2021-03-01 22:55:34 +01:00
Yaya4 d8edc66bbf Merge pull request #17 from Yaya48/procursus2-support
Procursus 2 support
2020-10-16 23:45:21 +02:00
Yaya4 b309aa7a81 Add new dummy. 2020-10-16 23:45:03 +02:00
Yaya4 afbb34b908 Procursus 2 Support. 2020-10-16 23:07:33 +02:00
Yaya4 5da0828ecd Procursus 2 Support. 2020-10-16 22:47:35 +02:00
Yaya4 a6505830b7 Procursus 2 Support. 2020-10-16 22:46:42 +02:00
Yaya4 f234812027 Procursus 2 Support. 2020-10-16 21:50:31 +02:00
Yaya4 531098d89d Procursus 2 Support. 2020-10-16 20:27:21 +02:00
Yaya4 afd3d53d01 Add new dummy. 2020-10-16 20:21:18 +02:00
Yaya4 dec1390145 Procursus 2 Support. 2020-10-16 20:20:49 +02:00
Yaya4 a0b99e1fda Added new dummy auto install. 2020-10-16 19:52:24 +02:00
Yaya4 3411160233 Code reformat. 2020-10-16 19:44:20 +02:00
Yaya4 0f615dad45 Procursus 2 Support. 2020-10-16 19:39:07 +02:00
Yaya4 6187841465 Procursus 2 Support. 2020-10-16 19:26:01 +02:00
Yaya4 763c6e3d4f Procursus 2 support. 2020-10-16 18:57:01 +02:00
Yaya4 16b95ae355 Procursus 2 Support. 2020-10-16 18:39:21 +02:00
Yaya4 98f347d1f0 Procursus 2 Support 2020-10-16 18:33:35 +02:00
Yaya4 ef93e1bf10 Procursus 2 Support. 2020-10-16 16:49:39 +02:00
Yaya4 46d1fb5d21 Procursus 2 Support. 2020-10-16 16:07:48 +02:00
Yaya4 bc101f48ea Update procursus-migration.sh 2020-10-16 16:07:19 +02:00
Yaya4 051c65279f Procursus 2 Support. 2020-10-16 15:42:30 +02:00
Yaya4 0a13b7ea59 Procursus 2 Support. 2020-10-16 15:36:20 +02:00
Yaya4 d904f739e0 Procursus 2 Support. 2020-10-16 15:22:46 +02:00
Yaya4 2438a1f3ec Procursus 2 Support. 2020-10-16 15:18:47 +02:00
Yaya4 7222558edb Update README.md 2020-09-14 00:35:57 +02:00
Yaya4 8c832efeb1 Update README.md 2020-09-14 00:35:35 +02:00
Yaya4 c24246ed1b Fix repo bug 2020-09-06 01:45:46 +02:00
Yaya4 99c29a703c add some check 2020-09-05 20:37:19 +02:00
Yaya4 71e7926448 add some dependencies check 2020-09-05 20:32:50 +02:00
Yaya4 b7e13aa864 add some dependencies check 2020-09-05 20:29:34 +02:00
Yaya4 0a6d9ff9e2 add some dependencies check 2020-09-05 20:26:57 +02:00
Yaya4 c7c302cced add some dependencies check 2020-09-05 20:26:08 +02:00
Yaya4 4d1e27b54a Remove unused dependencies 2020-09-05 20:23:01 +02:00
Yaya4 ec91a6e101 Update procursus-migration.sh 2020-09-04 16:46:59 +02:00
Yaya4 7206838756 Update procursus-migration.sh 2020-09-04 16:40:54 +02:00
Yaya4 8f6066eecc Update procursus-migration.sh 2020-09-04 16:38:55 +02:00
Yaya4 fa3238a348 Dumb 2020-09-04 16:37:00 +02:00
Yaya4 2eede2743f Added dependencies checker for sileo removal tool 2020-09-04 16:32:49 +02:00
Yaya4 736c93cfee Fix issues for iOS 13 2020-09-04 14:11:59 +02:00
Yaya4 0990a404b7 Fix issues for iOS 13 2020-09-04 14:10:58 +02:00
Yaya4 009ac7915d Fix issues 2020-09-04 14:10:45 +02:00
Yaya4 8901d53ed9 Fix issues for ios 2020-09-04 14:10:22 +02:00
Yaya4 b0b204569a Fix issues for iOS 13 2020-09-04 14:10:06 +02:00
Yaya4 81bd626fe0 Dumb 2020-09-03 01:03:45 +02:00
Yaya4 e61b040f09 Add sileo for checkrain remover 2020-09-03 00:24:06 +02:00
Yaya4 dd2a833562 Some changes 2020-09-02 04:27:27 +02:00
Yaya4 11ab5da0cb Added Plutil Checker 2020-09-02 03:45:42 +02:00
Yaya4 ea56026562 Fix iOS 13 Bugs (Hope it work) 2020-09-01 00:39:04 +02:00
3 changed files with 168 additions and 126 deletions
+1 -1
View File
@@ -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.
+11 -12
View File
@@ -3,13 +3,11 @@ 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 plutil >/dev/null 2>&1 || need+="com.bingner.plutil "
command -v curl >/dev/null 2>&1 || need+="curl " command -v curl >/dev/null 2>&1 || need+="curl "
command -v wget >/dev/null 2>&1 || need+="wget " command -v wget >/dev/null 2>&1 || need+="wget "
clear clear
echo "Copyright (c) 2020, Yaya4 All rights reserved." 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 -e "\e[31mWelcome to Uncursus Installation Script.\e[0m"
echo "Checking if this script is running on ARM Darwin" echo "Checking if this script is running on ARM Darwin"
if [ $(uname) = "Linux" ]; then if [ $(uname) = "Linux" ]; then
if [ $(uname -p) = "x86_64" ]; then if [ $(uname -p) = "x86_64" ]; then
@@ -33,7 +31,7 @@ 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..."
@@ -41,15 +39,15 @@ 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/
@@ -57,21 +55,22 @@ 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
apt install essential-dummy -y lzma -y ncurses -y libidn2 -y
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 /tmp/uncursus/ rm -rf /tmp/uncursus/
rm -rf /tmp/procursus-migration/ rm -rf /tmp/procursus-migration/
rm -rf /tmp/zstd-support/
echo "All Done." echo "All Done."
touch /.installed_odyssey
touch /.procursus_strapped touch /.procursus_strapped
uicache -p /Applications/Cydia.app uicache -p /Applications/Cydia.app
sbreload sbreload
+76 -33
View File
@@ -4,50 +4,93 @@ 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"
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 exit 1
fi }
COREUTILSVER=8.32-4 checkDependencies(){
echo -e "\e[32mStarting Migration....\e[0m" echo "Checking Dependencies ..."
need2=""
command -v wget >/dev/null 2>&1 || need2+="wget "
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
if [[ $need2 != "" ]]; then
echo "Installing Dependencies..."
apt update apt update
apt install wget -y --allow-unauthenticated apt install $need2 -y
fi
}
checkiOSVersion(){
echo "Checking iOS Version ..."
echo "1 for *OS 14"
echo "2 for *OS 13"
echo "3 for *OS 12"
read version
if [ "1" = $version ]; then
CFVER=1700
elif [ "2" = $version ]; then
CFVER=1600
elif [ "3" = $version ]; then
CFVER=1500
fi
}
ProcursusMigration(){
echo "Migrating..."
rm /etc/apt/sources.list.d/cydia.list 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 echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
rm -rf /tmp/procursus-migration rm -rf /tmp/procursus-migration
mkdir /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 cd /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 wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/procursus-keyring_2020.05.09_iphoneos-arm.deb --no-check-certificate
dpkg -i /tmp/procursus-migration/procursus-keyring_2020.05.09_iphoneos-arm.deb dpkg -i procursus-keyring_2020.05.09_iphoneos-arm.deb
apt update apt update
apt install xz-utils -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1 rm -rf /tmp/zstd-support/
apt full-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1 mkdir /tmp/zstd-support/
apt install ncurses-bin -y cd /tmp/zstd-support/
dpkg -i --force-all /tmp/procursus-migration/coreutils_${COREUTILSVER}_iphoneos-arm.deb apt download libintl8 liblzma5 lz4 xz liblz4-1 xz-utils
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 dpkg -r apt1.4
apt update apt update
apt purge libplist-utils -y libplist3 -y apt purge libplist-utils -y libplist3 -y
apt autoremove -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 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 apt reinstall libintl8 -y
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 checkDependencies || ErrorHandler
echo "Components: main" >> /etc/apt/sources.list.d/procursus.sources checkiOSVersion || ErrorHandler
echo -e "\e[32mStarting Migration On $CFVER ....\e[0m"
ProcursusMigration || ErrorHandler
ProcursusSourcesSetup || ErrorHandler
MigrationCleanUp || ErrorHandler
echo -e "\e[32mMigration Finished!\e[0m" echo -e "\e[32mMigration Finished!\e[0m"
echo -e "\e[32mBack to Uncursus Script...\e[0m"
fi fi