mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 23:31:48 +01:00
Small update for depends install
- Removed libplist and libusbmuxd (they get installed as dependencies anyway) - Only symlink libraries for Fedora 32 and below (33 now uses latest so no symlinking)
This commit is contained in:
parent
8783eda5b8
commit
be4fcb5a70
12
restore.sh
12
restore.sh
@ -249,9 +249,9 @@ function kDFU {
|
|||||||
echo "nvram wifiaddr=$WifiAddrDecr" >> tmp/pwn.sh
|
echo "nvram wifiaddr=$WifiAddrDecr" >> tmp/pwn.sh
|
||||||
chmod +x tmp/pwn.sh
|
chmod +x tmp/pwn.sh
|
||||||
|
|
||||||
Echo "* Make sure OpenSSH/Dropbear is installed on the device!"
|
|
||||||
Log "Copying stuff to device via SSH..."
|
Log "Copying stuff to device via SSH..."
|
||||||
Echo "* (Enter root password of your iOS device when prompted, default is 'alpine')"
|
Echo "* Make sure OpenSSH/Dropbear is installed on the device!"
|
||||||
|
Echo "* Enter root password of your iOS device when prompted, default is 'alpine'"
|
||||||
scp -P 2222 resources/tools/$kloader tmp/pwnediBSS tmp/pwn.sh root@127.0.0.1:/
|
scp -P 2222 resources/tools/$kloader tmp/pwnediBSS tmp/pwn.sh root@127.0.0.1:/
|
||||||
[ $? == 1 ] && Error "Cannot connect to device via SSH. Please check your ~/.ssh/known_hosts file and try again" "You may also run: rm ~/.ssh/known_hosts"
|
[ $? == 1 ] && Error "Cannot connect to device via SSH. Please check your ~/.ssh/known_hosts file and try again" "You may also run: rm ~/.ssh/known_hosts"
|
||||||
Log "Entering kDFU mode..."
|
Log "Entering kDFU mode..."
|
||||||
@ -477,7 +477,7 @@ function InstallDependencies {
|
|||||||
# Ubuntu
|
# Ubuntu
|
||||||
sudo add-apt-repository universe
|
sudo add-apt-repository universe
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y bsdiff curl git libimobiledevice-utils libplist3 libusbmuxd-tools openssh-client usbmuxd usbutils
|
sudo apt install -y bsdiff curl git libimobiledevice-utils libusbmuxd-tools openssh-client usbmuxd usbutils
|
||||||
SavePkg
|
SavePkg
|
||||||
cp libcurl.so.4.5.0 ../resources/lib/libcurl.so.3
|
cp libcurl.so.4.5.0 ../resources/lib/libcurl.so.3
|
||||||
if [[ $UBUNTU_CODENAME == "bionic" ]]; then
|
if [[ $UBUNTU_CODENAME == "bionic" ]]; then
|
||||||
@ -486,8 +486,8 @@ function InstallDependencies {
|
|||||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_bionic.zip tools_linux_bionic.zip 2fb44dbb6c167ba6f7782521454503998a285751
|
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_bionic.zip tools_linux_bionic.zip 2fb44dbb6c167ba6f7782521454503998a285751
|
||||||
unzip tools_linux_bionic.zip -d ../resources/tools
|
unzip tools_linux_bionic.zip -d ../resources/tools
|
||||||
else
|
else
|
||||||
sudo apt install -y libusbmuxd6 libzip5 python2
|
sudo apt install -y libzip5 python2
|
||||||
sudo dpkg -i libssl1.0.0.deb libpng12.deb libzip4.deb
|
sudo dpkg -i libpng12.deb libssl1.0.0.deb libzip4.deb
|
||||||
fi
|
fi
|
||||||
if [[ $UBUNTU_CODENAME == "focal" ]]; then
|
if [[ $UBUNTU_CODENAME == "focal" ]]; then
|
||||||
ln -sf /usr/lib/x86_64-linux-gnu/libimobiledevice.so.6 ../resources/lib/libimobiledevice-1.0.so.6
|
ln -sf /usr/lib/x86_64-linux-gnu/libimobiledevice.so.6 ../resources/lib/libimobiledevice-1.0.so.6
|
||||||
@ -502,9 +502,11 @@ function InstallDependencies {
|
|||||||
ar x libssl1.0.0.deb data.tar.xz
|
ar x libssl1.0.0.deb data.tar.xz
|
||||||
tar xf data.tar.xz
|
tar xf data.tar.xz
|
||||||
cp usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 ../resources/lib
|
cp usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 ../resources/lib
|
||||||
|
if (( $VERSION_ID <= 32 )); then
|
||||||
ln -sf /usr/lib64/libimobiledevice.so.6 ../resources/lib/libimobiledevice-1.0.so.6
|
ln -sf /usr/lib64/libimobiledevice.so.6 ../resources/lib/libimobiledevice-1.0.so.6
|
||||||
ln -sf /usr/lib64/libplist.so.3 ../resources/lib/libplist-2.0.so.3
|
ln -sf /usr/lib64/libplist.so.3 ../resources/lib/libplist-2.0.so.3
|
||||||
ln -sf /usr/lib64/libusbmuxd.so.6 ../resources/lib/libusbmuxd-2.0.so.6
|
ln -sf /usr/lib64/libusbmuxd.so.6 ../resources/lib/libusbmuxd-2.0.so.6
|
||||||
|
fi
|
||||||
ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4
|
ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4
|
||||||
|
|
||||||
elif [[ $OSTYPE == "darwin"* ]]; then
|
elif [[ $OSTYPE == "darwin"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user