Skip to content

Commit

Permalink
Fix activation record path (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Jan 7, 2024
1 parent e2e626f commit 20cb32d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4261,7 +4261,7 @@ menu_main() {
if [[ $device_mode == "Normal" ]]; then
if [[ $platform == "linux" ]]; then
case $device_vers in
8* | 9* | 1* ) menu_items+=("Sideload IPA");;
9* | 1* ) menu_items+=("Sideload IPA");;
esac
fi
menu_items+=("Install IPA (AppSync)")
Expand Down Expand Up @@ -4294,7 +4294,7 @@ menu_ipa() {
if [[ $1 == "Install"* ]]; then
print "* Make sure that AppSync Unified is installed on your device."
else
print "* Sideload IPA is for iOS 9 and newer. (doesn't seem to work on 8)"
print "* Sideload IPA is for iOS 9 and newer."
print "* Sideloading will require an Apple ID."
print "* Your Apple ID and password will only be sent to Apple servers."
fi
Expand Down Expand Up @@ -4507,7 +4507,7 @@ menu_restore() {
print "* iOS 1 may require the usage of ZiPhone: https://nitter.net/tihmstar/status/1734620913071542435"
echo
fi
if [[ $device_newbr != 0 ]]; then
if [[ $device_type == "iPod2,1" || $device_type == "iPhone2,1" ]] && [[ $device_newbr != 0 ]]; then
print "* New bootrom devices might be incompatible with some older iOS versions"
echo
elif [[ $device_type == "iPod2,1" ]]; then
Expand Down Expand Up @@ -5228,11 +5228,14 @@ device_dump() {
case $arg in
"baseband" ) dmps="/usr/local/standalone";;
"activation" )
dmp2="private/var/root/Library/Lockdown/activation_records"
dmp2="private/var/root/Library/Lockdown"
case $device_vers in
[34567]* ) dmps="/$dmp2";;
8* ) dmps="/private/var/mobile/Library/mad";;
* ) dmps="/private/var/containers/Data/System/*/Library/activation_records";;
* )
dmps="/private/var/containers/Data/System/*/Library/activation_records"
dmp2+="/activation_records"
;;
esac
;;
esac
Expand Down

0 comments on commit 20cb32d

Please sign in to comment.