This repository has been archived on 2023-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Uncursus/installall.sh

56 lines
3.4 KiB
Bash
Raw Normal View History

2020-06-13 18:20:17 +02:00
#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo Please run this script as root.
else
2020-06-13 21:04:06 +02:00
echo -e "\e[31mWelcome to Uncursus Install Script V0.4.2 (Alha) By @Yaya4_4 Follow Me On Twitter Pls.\e[0m"
2020-06-13 20:23:55 +02:00
echo "WARNING : THIS IS IN ALPHA A9-A11 IS ONLY SUPPORTED IM NOT RESPONSABLE IF ANYTHING GOES WRONG"
2020-06-13 18:20:17 +02:00
echo "If you found bug pls create an issues in github ;)"
echo "Enjoy :)"
2020-06-13 21:05:57 +02:00
echo "Starting..."
2020-06-13 18:20:17 +02:00
echo "Installing Dependency For The Installer"
apt update
apt install unzip -y
2020-06-13 18:23:24 +02:00
apt install com.bingner.plutil -y
2020-06-13 18:20:17 +02:00
apt install zsh -y
2020-06-13 18:37:15 +02:00
apt install curl -y
2020-06-13 18:20:17 +02:00
echo "Downloading And Executing Offical Procurus Script From Coolstar"
2020-06-13 20:42:31 +02:00
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/master/procursus-deploy-u0.sh)"
2020-06-13 18:20:17 +02:00
echo "Downloading And Installing Offical Procurus Deb"
2020-06-13 20:42:31 +02:00
rm -rf /User/Documents/Uncursus
mkdir /User/Documents/Uncursus
2020-06-13 18:47:21 +02:00
apt update
2020-06-13 18:57:28 +02:00
apt install wget -y --allow-unauthenticated
2020-06-13 20:42:31 +02:00
wget https://github.com/Yaya48/Uncursus/blob/master/DebProcurusSystem.zip?raw=true --directory-prefix=/User/Documents/Uncursus/
unzip /User/Documents/Uncursus/DebProcurusSystem.zip?raw=true -d /User/Documents/Uncursus/
2020-06-13 20:23:08 +02:00
dpkg -i /User/Documents/Uncursus/DebProcurusSystem/*.deb
2020-06-13 18:37:15 +02:00
echo "Done. Create Custom Directory For Download All Files Requied. Path (/User/Documents/)."
2020-06-13 20:42:31 +02:00
mkdir /User/Documents/Uncursus/DebPatch
mkdir /User/Documents/Uncursus/u0
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/coreutils.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/xz-utils.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/coreutils-bin_8.31-1_all.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/libssl.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/lzma.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/ncurses5-libs_5.9-1_all.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://github.com/Yaya48/Uncursus/blob/master/DebPatch/xz_5.2.4-4_all.deb --directory-prefix=/User/Documents/Uncursus/DebPatch
wget https://apt.bingner.com/debs/1443.00/com.ex.substitute_0.1.14_iphoneos-arm.deb --directory-prefix=/User/Documents/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
2020-06-13 18:20:17 +02:00
echo "Done. Installing necessary debs for patch."
2020-06-13 21:04:06 +02:00
rm -rf /usr/bin/cyinject
2020-06-13 20:42:31 +02:00
dpkg -i --force-all /User/Documents/Uncursus/DebPatch/coreutils.deb
dpkg -i --force-all /User/Documents/Uncursus/DebPatch/xz-utils.deb
dpkg -i --force-all /User/Documents/Uncursus/DebPatch/coreutils-bin_8.31-1_all.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_5.9-1_all.deb
dpkg -i --force-all /User/Documents/Uncursus/DebPatch/xz_5.2.4-4_all.deb
dpkg -i --force-all /User/Documents/Uncursus/u0/*.deb
2020-06-13 18:20:17 +02:00
echo "Done. Running Firmware Configuration (./firmware.sh)"
bash /usr/libexec/firmware.sh
2020-06-13 21:04:06 +02:00
eecho "BootStrap Installions Done. The Installer Clean The Installions"
rm -rf /User/Documents/Uncursus/
2020-06-13 18:20:17 +02:00
rm /etc/apt/source.list.d/odyssey.sources
echo "All Done."
killall SpringBoard
fi