Skip to content

Instantly share code, notes, and snippets.

@Bios597407
Bios597407 / install_libimobiledevice.sh
Created July 22, 2020 15:44 — forked from matteyeux/install_libimobiledevice.sh
Script to install libimobiledevice
#!/bin/bash
#######################################################################
#
# Project......: install_libimobiledevice.sh
# Creator......: Dev-Jam remasterized by matteyeux on 27/12/15
#######################################################################
echo -e "\033[31mDev-Jam 12/01/2015 - Script to build & install Libimobiledevice\033[0m"
echo -e "\033[32m\033[1m\033[4m\033[5m\033[7mCreated by Dev-Jam, improved by @matteyeux on 27/12/15\033[0m"

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable

Installing SSHPASS

SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on OS X

@Bios597407
Bios597407 / idevicerestore.sh
Created April 2, 2023 01:42 — forked from Duy-Thanh/idevicerestore.sh
idevicerestore on linux (Debian-based)
sudo apt update
# sudo apt upgrade
sudo apt install -y libcurl4-openssl-dev libplist-dev libzip-dev openssl libssl-dev libusb-1.0-0-dev libreadline-dev build-essential git make automake libtool pkg-config
git clone https://github.com/libimobiledevice/libirecovery
git clone https://github.com/libimobiledevice/idevicerestore
git clone https://github.com/libimobiledevice/usbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice
git clone https://github.com/libimobiledevice/libusbmuxd
git clone https://github.com/libimobiledevice/libplist
@Bios597407
Bios597407 / idevicerestore.sh
Created April 2, 2023 01:42 — forked from stek29/idevicerestore.sh
idevicerestore on linux (Debian-based)
sudo apt update
# sudo apt upgrade
sudo apt install -y libcurl4-openssl-dev libplist-dev libzip-dev openssl libssl-dev libusb-1.0-0-dev libreadline-dev build-essential git make automake libtool pkg-config
git clone https://github.com/libimobiledevice/libirecovery
git clone https://github.com/libimobiledevice/idevicerestore
git clone https://github.com/libimobiledevice/usbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice
git clone https://github.com/libimobiledevice/libusbmuxd
git clone https://github.com/libimobiledevice/libplist
@Bios597407
Bios597407 / idevicerestore.sh
Created April 2, 2023 01:46 — forked from theoparis/idevicerestore.sh
idevicerestore.sh
#!/bin/sh
set -oux
git clone https://github.com/libimobiledevice/libirecovery -j$(nproc)
git clone https://github.com/libimobiledevice/idevicerestore -j$(nproc)
git clone https://github.com/libimobiledevice/libimobiledevice-glue -j$(nproc)
git clone https://github.com/libimobiledevice/usbmuxd -j$(nproc)
git clone https://github.com/libimobiledevice/libimobiledevice -j$(nproc)
git clone https://github.com/libimobiledevice/libusbmuxd -j$(nproc)
git clone https://github.com/libimobiledevice/libplist -j$(nproc)