Lrdsnow / PureKFD

An exploit based Jailed Package Manager for iOS 15.0-18.0/18.1b4
Other
793 stars 52 forks source link

idevicebackup2 exited with code -1 #145

Closed TheMin3s closed 2 weeks ago

TheMin3s commented 1 month ago

Hello! I've been having issues applying tweaks. Every time i attempt to install one i get the error "[i] idevicebackup2 exited with code -1". There is no documentation regarding how to fix this issue. Originally i had no issues applying tweaks but now it is almost impossible. I am connected to WiFi with the SideStore VPN config enabled. Restart also doesn't work.

TheMin3s commented 1 month ago

Update: Reattempted a few times and ended up with a code 2.


Proxy already exists, skipping
19:13:02 [INFO] minimuxer::muxer: Already started minimuxer, skipping
19:13:02 [TRACE] minimuxer::muxer: Handling ListDevices
2024-10-22 19:13:02.281 PureKFD[625:22409] [i] Ending Apply
[i] Ending Apply
Proxy already exists, skipping
19:13:02 [INFO] minimuxer::muxer: Already started minimuxer, skipping
19:13:02 [TRACE] minimuxer::muxer: Handling ListDevices
2024-10-22 19:13:02.349 PureKFD[625:22409] [i] Wrote backup
[i] Wrote backup
ERROR: Unsupported command '/var/mobile/Containers/Data/Application/430F2AF4-6B1A-4EB6-9F42-AFBA64DCE7E6/Documents/backup'.
Usage: idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY

Create or restore backup in/from the specified directory.

CMD:
  backup        create backup for the device
    --full              force full backup from device.
  restore       restore last backup to the device
    --system            restore system files, too.
    --no-reboot         do NOT reboot the device when done (default: yes).
    --copy              create a copy of backup folder before restoring.
    --settings          restore device settings from the backup.
    --remove            remove items which are not being restored
    --skip-apps         do not trigger re-installation of apps after restore
    --password PWD      supply the password for the encrypted source backup
  info          show details about last completed backup of device
  list          list files of last completed backup in CSV format
  unback        unpack a completed backup in DIRECTORY/_unback_/
  encryption on|off [PWD]       enable or disable backup encryption
  changepw [OLD NEW]    change backup password on target device
  cloud on|off          enable or disable cloud use (requires iCloud account)

NOTE: Passwords will be requested in interactive mode (-i) if omitted, or can
be passed via environment variable BACKUP_PASSWORD/BACKUP_PASSWORD_NEW.
See man page for further details.

OPTIONS:
  -u, --udid UDID       target specific device by UDID
  -s, --source UDID     use backup data from device specified by UDID
  -n, --network         connect to network device
  -i, --interactive     request passwords interactively
  -d, --debug           enable communication debugging
  -h, --help            prints usage information
  -v, --version         prints version information

2024-10-22 19:13:02.349 PureKFD[625:22409] [i] idevicebackup2 exited with code 2
[i] idevicebackup2 exited with code 2
2024-10-22 19:13:02.353 PureKFD[625:22409] [i] Restore Result: An error has occured, please restart the app and try again
[i] Restore Result: An error has occured, please restart the app and try again
Lrdsnow commented 2 weeks ago

the error clearly shows what you need to do