summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2020-02-20idevicedebug: Rename name-colliding debug_info() to log_debug()Gravatar Nikias Bassen1-23/+26
2020-02-09idevicesyslog: Make sure CTRL+C works when waiting for passcode entryGravatar Nikias Bassen1-1/+1
2019-11-20tools: Fix ideviceinfo -s optionGravatar Nikias Bassen1-1/+2
2019-11-20debugserver: Return size of the returned bufferGravatar Nikias Bassen1-10/+10
2019-11-08tools: Allow idevicesyslog to connect to network devicesGravatar Nikias Bassen1-44/+55
2019-11-08tools: Allow ideviceinfo to connect to network devicesGravatar Nikias Bassen1-66/+88
2019-11-08tools: Small fixes for idevice_idGravatar Nikias Bassen1-23/+13
2019-11-07tools: Update idevice_id with new API to allow listing available network devicesGravatar Nikias Bassen1-43/+75
Using the -n option, idevice_id will print available network devices while -l will only print available USB devices.
2019-09-30idevicebackup2: Remove RestoreApplications.plist if restore failedGravatar Nikias Bassen1-1/+7
2019-09-30idevicebackup2: Only print device reboot message if restore was successfulGravatar Nikias Bassen1-3/+3
2019-09-28tools: Ignore SIGPIPE wherever possibleGravatar Nikias Bassen11-0/+68
2019-09-27mobile_image_mounter: Better error handling (e.g. when device is locked)Gravatar Nikias Bassen1-2/+11
2019-09-27idevicebackup2: Add passcode hint when enabling/disabling backup encryption ↵Gravatar Nikias Bassen1-0/+48
or change the password
2019-09-27idevicebackup2: Handle timeout vs. error condition in main loopGravatar Nikias Bassen1-6/+10
2019-07-12Fix service startup in idevicecrashreport for iOS 13Gravatar Nikias Bassen1-17/+17
2019-06-25idevicecrashreport: zero-fill full struct stat structure instead of just the ↵Gravatar Nikias Bassen1-1/+1
size
2019-06-23Fix a typo in ideviceprovision error messageGravatar Yves-Alexis Perez1-1/+1
2019-06-23Replace all occurrences of seperated by separatedGravatar Yves-Alexis Perez1-1/+1
Both in idevicediagnostics man page and in an error message
2019-06-23replace all occurrences of occured by occurredGravatar Yves-Alexis Perez2-4/+4
Do it in all comments and errors messages
2019-06-21idevicebackup2: Handle errors when receiving files and report back to deviceGravatar Nikias Bassen1-3/+7
2019-06-13Timeout support for SSL connections and better timeout handeling.Gravatar DanyL1-1/+1
2019-06-11common: Update thread.c/.h to match the one from libusbmuxdGravatar Nikias Bassen1-3/+3
2019-02-16idevicepair: Fix udid being freed before printing error message containing udidGravatar Nikias Bassen1-2/+3
2019-02-09idevicepair: Add another error case instead of printing 'unhandled error'Gravatar Nikias Bassen1-0/+1
2019-02-08idevicepair: Fix 'validate' command which was broken since iOS 11Gravatar Nikias Bassen1-3/+5
Apple removed the lockdownd command 'ValidatePair'. Validating a pairing can just be done by trying to use the present pairing record to try to start a lockdownd session: if it succeeds, the pairing is valid, otherwise obviously not. So this is what we do now.
2019-01-26idevicebackup2: Make reboot after restore the defaultGravatar Nikias Bassen1-6/+9
As seen in #726 the previous behavior results in wrong assumptions that a restore is possible without rebooting the device, however this is not how iOS is handling it. I added a command line switch --no-reboot now that will let you still restore without rebooting, if anyone wants to play around with that...
2019-01-26idevicebackup2: Move writing of RestoreApplications.plist to helper ↵Gravatar Nikias Bassen1-57/+72
function, add command line switch to skip
2019-01-26idevicebackup2: Write /iTunesRestore/RestoreApplications.plist on restoreGravatar Samuel Sadok1-3/+62
This will trigger re-installation of apps that were installed when the backup was created once the device finishes the restore and rebooted.
2018-10-30idevicebackup2: Fix scan_directory() for platforms not having d_type in ↵Gravatar Nikias Bassen1-0/+6
struct dirent
2018-10-29idevicebackup2: Fix rmdir_recursive() not deleting all files/directories ↵Gravatar Nikias Bassen1-20/+55
(esp. on network filesystems)
2018-10-01tools: Remove length check on device UDID arguments to support newer devicesGravatar Nikias Bassen17-51/+54
The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string "").
2018-09-03idevicebackup2: Make sure iTunesSettings are correctly stored in Info.plist ↵Gravatar Nikias Bassen1-1/+1
(i.e. not freed before writing)
2018-09-03idevicebackup2: Prevent lockdownd timeoutsGravatar Nikias Bassen1-31/+38
2018-07-24idevicepair: Fix possible memleak in option parsingGravatar Bastien Nocera1-0/+2
If some arguments are passed multiple times, don't leak the memory used for the value of the first arguments passed.
2018-07-24ideviceimagemounter: Fix possible memleak in option parsingGravatar Bastien Nocera1-0/+4
If some arguments are passed multiple times, don't leak the memory used for the value of the first arguments passed.
2018-07-24idevicedebugserverproxy: Fix possible use-after-freeGravatar Bastien Nocera1-1/+1
When creating a connection handler thread fails, and we close the server_fd, do not loop back to the start of the loop trying to run socket_accept() on a closed fd, but break out of the loop instead.
2018-07-24idevicebackup2: Fix potential memleakGravatar Bastien Nocera1-1/+3
If either of dstpath or srcpath can be NULL, then make sure they get freed irrespective of the other variable's value in mb2_copy_directory_by_path()
2018-07-24idevicebackup2: Fix fd leak in mb2_copy_file_by_path()Gravatar Bastien Nocera1-0/+1
fd was leak in error path.
2018-03-21idevicediagnostics: Add ioregentry command to query device IORegistry by entryGravatar Robert Gadbois1-1/+22
Starting with iOS 9.1, querying IORegistry by plane stopped working. This commit will add a new command that allows querying by entry that will allow gathering data for devices with newer iOS versions again (including iOS 11).
2018-03-21idevicediagnostics: Add HDMI to the list of valid options for diagnostics ↵Gravatar Nikias Bassen1-1/+1
command
2018-01-17idevicesyslog: Wait for passcode entry on device when requiredGravatar Nikias Bassen1-2/+33
After device bootup several services cannot be used until the passcode is entered on the device. This commit will detect this state and wait for the passcode to be entered. Before this change you would have to restart idevicesyslog or replug the device after entering the passcode to make the logging work again.
2017-06-18idevicescreenshot: Detect screenshot image format to determine file extensionGravatar Nikias Bassen1-5/+15
2017-01-04ideviceprovision: Silence compiler warning (missing parenthesis)Gravatar Nikias Bassen1-1/+1
2016-12-22ideviceprovision: Fix ASN1 parsing for large provisioning profilesGravatar Nikias Bassen1-12/+35
2016-12-15idevicebackup2: Fix logical bug when checking for success of backup operationGravatar Nikias Bassen1-1/+1
The condition in line 2278 is incorrectly evaluated when mb2_status_check_snapshot_state() isn't able to read the Status.plist file. While `if (-1) { ... }` will be a 'false' condition, `if (1 && -1) { ... }` will be 'true' which in this case would make idevicebackup2 assume the backup was successful while it was not. This commit fixes this issue by changing the default return value of mb2_status_check_snapshot_state() to be 0 (false). Thanks to Xiao Deng for pointing out this issue!
2016-12-15ideviceprovision: Add new remove-all command to remove all installed ↵Gravatar Nikias Bassen1-4/+61
profiles at once
2016-12-01ideviceprovision: Allow copying single profiles instead of allGravatar Nikias Bassen1-6/+32
2016-12-01ideviceprovision: Check output directory parameter for 'copy' command and ↵Gravatar Nikias Bassen1-9/+13
return exit code on error
2016-12-01ideviceprovision: Use newer API to get list of profiles on iOS 9.3+Gravatar Nikias Bassen1-2/+30
2016-11-27idevicebackup2: Plug some small memory leaksGravatar Nikias Bassen1-8/+8