Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DFU restore using idevicerestore
- # adopted from:
- # https://tg.st/u/idevicerestore_quickstart.txt
- # step 0: clean debian install on host
- # step 1: download ipsw from:
- # https://ipsw.me/product/Mac
- # do this NOW bc it takes forever
- IPSW_PATH="~/Downloads/UniversalMac_12.3_21E230_Restore.ipsw"
- # step 2: install idevicerestore:
- # bc libimobiledevice can't be bothered to package
- sudo apt install build-essential checkinstall \
- git autoconf automake libtool-bin \
- libreadline-dev libusb-1.0-0-dev libplist-dev libcurl4-openssl-dev \
- libssl-dev libzip-dev zlib1g-dev libusbmuxd-dev \
- python python3 python3-distutils cython3 python-dev
- for name in usbmuxd libplist libimobiledevice-glue libimobiledevice libirecovery idevicerestore; do
- git clone https://github.com/libimobiledevice/$name.git && \
- cd $name && ./autogen.sh && make && sudo make install && cd ..
- done
- # make sure everything works
- sudo ldconfig && idevicerestore --version
- # step 4: put mac in DFU mode
- # for 2020 M1s: follow the counts @ 2:25
- # https://www.youtube.com/watch?v=i5xmA3lDz3g
- # step 5:
- sudo idevicerestore --debug "$IPSW_PATH"
- # caveats: i ended up doing
- # sudo idevicerestore --latest
- # which forced me to upgrade to ventura
- # idk why but it doesn't seem to like downgrades "ios-style"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement