mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +01:00
Add Linux arm64 bins and fix some things
This commit is contained in:
parent
ecfd71c851
commit
c4f3e60f27
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -40,7 +40,15 @@ jobs:
|
||||
|
||||
- name: Move linux binaries and other files
|
||||
run: |
|
||||
rm -r ./bin/linux/x86_64 ./resources/lib/*
|
||||
rm -r ./bin/linux/x86_64
|
||||
cp -R ./exclude/bin/linux/arm64 ./bin/linux
|
||||
|
||||
- name: Zip linux arm64 files
|
||||
run: zip -r ${{ github.event.repository.name }}_linux_arm64_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip bin/ LICENSE resources/ restore.sh README.md
|
||||
|
||||
- name: Move linux arm64 binaries and other files
|
||||
run: |
|
||||
rm -r ./bin/linux/arm64 ./resources/lib/*
|
||||
cp -R ./exclude/bin/linux/arm ./bin/linux
|
||||
|
||||
- name: Zip linux arm files
|
||||
@ -73,5 +81,6 @@ jobs:
|
||||
${{ github.event.repository.name }}_complete_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
${{ github.event.repository.name }}_macos_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
${{ github.event.repository.name }}_linux_arm_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
${{ github.event.repository.name }}_linux_arm64_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
${{ github.event.repository.name }}_linux_x86_64_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
${{ github.event.repository.name }}_windows_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip
|
||||
|
BIN
bin/linux/arm64/futurerestore_new
Executable file
BIN
bin/linux/arm64/futurerestore_new
Executable file
Binary file not shown.
BIN
bin/linux/arm64/futurerestore_old
Executable file
BIN
bin/linux/arm64/futurerestore_old
Executable file
Binary file not shown.
BIN
bin/linux/arm64/hfsplus
Executable file
BIN
bin/linux/arm64/hfsplus
Executable file
Binary file not shown.
BIN
bin/linux/arm64/ideviceenterrecovery
Executable file
BIN
bin/linux/arm64/ideviceenterrecovery
Executable file
Binary file not shown.
BIN
bin/linux/arm64/ideviceinfo
Executable file
BIN
bin/linux/arm64/ideviceinfo
Executable file
Binary file not shown.
BIN
bin/linux/arm64/idevicererestore
Executable file
BIN
bin/linux/arm64/idevicererestore
Executable file
Binary file not shown.
BIN
bin/linux/arm64/idevicerestore
Executable file
BIN
bin/linux/arm64/idevicerestore
Executable file
Binary file not shown.
BIN
bin/linux/arm64/iproxy
Executable file
BIN
bin/linux/arm64/iproxy
Executable file
Binary file not shown.
BIN
bin/linux/arm64/ipsw
Executable file
BIN
bin/linux/arm64/ipsw
Executable file
Binary file not shown.
BIN
bin/linux/arm64/ipwnder
Executable file
BIN
bin/linux/arm64/ipwnder
Executable file
Binary file not shown.
BIN
bin/linux/arm64/irecovery
Executable file
BIN
bin/linux/arm64/irecovery
Executable file
Binary file not shown.
BIN
bin/linux/arm64/irecovery2
Executable file
BIN
bin/linux/arm64/irecovery2
Executable file
Binary file not shown.
@ -1 +0,0 @@
|
||||
|
BIN
bin/linux/arm64/partialzip
Executable file
BIN
bin/linux/arm64/partialzip
Executable file
Binary file not shown.
BIN
bin/linux/arm64/powdersn0w
Executable file
BIN
bin/linux/arm64/powdersn0w
Executable file
Binary file not shown.
BIN
bin/linux/arm64/ticket
Executable file
BIN
bin/linux/arm64/ticket
Executable file
Binary file not shown.
BIN
bin/linux/arm64/tsschecker
Executable file
BIN
bin/linux/arm64/tsschecker
Executable file
Binary file not shown.
BIN
bin/linux/arm64/validate
Executable file
BIN
bin/linux/arm64/validate
Executable file
Binary file not shown.
BIN
bin/linux/arm64/xpwntool
Executable file
BIN
bin/linux/arm64/xpwntool
Executable file
Binary file not shown.
13
restore.sh
13
restore.sh
@ -29,7 +29,10 @@ clean_and_exit() {
|
||||
input "Press Enter/Return to exit."
|
||||
read -s
|
||||
fi
|
||||
rm -rf "$(dirname "$0")/tmp/"* "$(dirname "$0")/iP"*/ "$(dirname "$0")/tmp/" /tmp/futurerestore
|
||||
if [[ $device_sudoloop == 1 ]]; then
|
||||
rm -rf /tmp/futurerestore /tmp/*.json
|
||||
fi
|
||||
rm -rf "$(dirname "$0")/tmp/"* "$(dirname "$0")/iP"*/ "$(dirname "$0")/tmp/"
|
||||
kill $iproxy_pid $httpserver_pid $sudoloop_pid 2>/dev/null
|
||||
sudo -k
|
||||
exit $1
|
||||
@ -269,7 +272,7 @@ install_depends() {
|
||||
|
||||
elif (( ubuntu_ver >= 22 )) || (( debian_ver >= 12 )) || [[ $debian_ver == "sid" ]]; then
|
||||
sudo apt update
|
||||
sudo apt install -y bsdiff curl jq libimobiledevice6 libirecovery-common openssh-client python3 unzip usbmuxd usbutils xmlstarlet xxd zenity zip
|
||||
sudo apt install -y bsdiff curl jq libimobiledevice6 libirecovery-common libssl3 openssh-client python3 unzip usbmuxd usbutils xmlstarlet xxd zenity zip
|
||||
sudo systemctl enable --now udev systemd-udevd usbmuxd 2>/dev/null
|
||||
|
||||
elif [[ $ID == "fedora" || $ID == "nobara" ]] && (( VERSION_ID >= 36 )); then
|
||||
@ -689,7 +692,7 @@ device_enter_mode() {
|
||||
|
||||
echo "chmod +x /tmp/kloader*" > kloaders
|
||||
if [[ $device_det == 1 ]]; then
|
||||
echo "[[ -e /.installed_kok3shiX ]] && /tmp/kloader /tmp/pwnediBSS || \
|
||||
echo "[[ -e /.installed_kok3shiX || -e /.installed_p0insettia ]] && /tmp/kloader /tmp/pwnediBSS || \
|
||||
/tmp/kloader_hgsp /tmp/pwnediBSS" >> kloaders
|
||||
sendfiles+=("../resources/kloader_hgsp")
|
||||
sendfiles+=("../resources/kloader")
|
||||
@ -1592,7 +1595,7 @@ ipsw_prepare_32bit_keys() {
|
||||
|
||||
ipsw_prepare_32bit() {
|
||||
device_fw_key_check
|
||||
if [[ $platform != "windows" && $device_type != "$device_disable_bbupdate" && $debug_mode != 1 ]]; then
|
||||
if [[ $platform != "windows" && $device_type != "$device_disable_bbupdate" ]]; then
|
||||
log "No need to create custom IPSW for non-jailbroken restores on $platform"
|
||||
return
|
||||
elif [[ -e "$ipsw_custom.ipsw" ]]; then
|
||||
@ -1965,7 +1968,7 @@ restore_futurerestore() {
|
||||
fi
|
||||
|
||||
log "Running futurerestore with command: $futurerestore ${ExtraArgs[*]}"
|
||||
"$futurerestore" "${ExtraArgs[@]}"
|
||||
$futurerestore "${ExtraArgs[@]}"
|
||||
log "Restoring done! Read the message below if any error has occurred:"
|
||||
print "* Please read the \"Troubleshooting\" wiki page in GitHub before opening any issue!"
|
||||
print "* Your problem may have already been addressed within the wiki page."
|
||||
|
Loading…
Reference in New Issue
Block a user