336 Commits

Author SHA1 Message Date
Nikias Bassen 3a37a4e4a3 idevicesyslog: Wait for passcode entry on device when required
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.
2018-01-17 13:10:05 +02:00
Nikias Bassen 835d84b678 idevicescreenshot: Detect screenshot image format to determine file extension 2017-06-18 04:10:57 +02:00
Nikias Bassen b78a42e053 ideviceprovision: Silence compiler warning (missing parenthesis) 2017-01-04 20:28:59 +01:00
Nikias Bassen a80ba9363b ideviceprovision: Fix ASN1 parsing for large provisioning profiles 2016-12-22 14:40:46 +01:00
Nikias Bassen c7f24a92f2 idevicebackup2: Fix logical bug when checking for success of backup operation
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-15 02:57:31 +01:00
Nikias Bassen d936514291 ideviceprovision: Add new remove-all command to remove all installed profiles at once 2016-12-15 02:39:37 +01:00
Nikias Bassen 9df4e695c5 ideviceprovision: Allow copying single profiles instead of all 2016-12-01 03:56:00 +01:00
Nikias Bassen 9083475cd8 ideviceprovision: Check output directory parameter for 'copy' command and return exit code on error 2016-12-01 03:52:16 +01:00
Nikias Bassen 76def2b68e ideviceprovision: Use newer API to get list of profiles on iOS 9.3+ 2016-12-01 03:51:15 +01:00
Nikias Bassen a1c7285789 idevicebackup2: Plug some small memory leaks 2016-11-27 14:27:33 +01:00
Nikias Bassen 8c37b9ca13 idevicebackup2: Fix heap buffer out-of-bounds write caused by wrong buffer size 2016-11-02 16:31:04 +01:00
Nikias Bassen 2c16751baf idevicebackup2: Don't report an error when file to remove doesn't exist 2016-10-21 14:51:02 +02:00
Nikias Bassen 5dd8b52915 idevicebackup2: Use remove_file() wrapper instead of remove() 2016-10-21 14:29:56 +02:00
Nikias Bassen c8c7adfd0e idevicebackup2: Suppress repeated printing of global status when 100% is reached 2016-10-05 17:07:09 +02:00
Nikias Bassen 1fa41702b6 idevicebackup2: Fix assertion occuring when copying non-present MEID 2016-10-04 14:37:57 +02:00
Nikias Bassen 00424f4057 idevicebackup2: Add installed application info to Info.plist during backup
For newer iOS versions, apparently >= iOS 8, iTunes stores information
about installed applications inside of the Info.plist file. This
commit mimics that behavior.
2016-09-23 20:07:48 +02:00
Nikias Bassen 98a096134b idevicebackup2: Fix build on win32 after last commit 2016-09-18 16:24:14 +02:00
Nikias Bassen 6aecc7228d idevicebackup2: Fix removal of Snapshot dir during backup with iOS 10+
DLMessageRemoveItems needs to recursively remove directories and this
commit implements that.
2016-09-18 16:18:20 +02:00
Matthias Ringwald cca7ce77d8 idevicedebug: Show error if container info not found 2016-04-29 20:27:32 +02:00
BALATON Zoltan 35b0543ec2 idevicebackup: fix some timestamps that are relative to the Mac epoch instead of Unix one 2016-04-01 22:53:13 +02:00
Nikias Bassen decffad5f5 tools: idevicecrashreport: Fix missing 0-term when creating local filename
When a .synced file is encountered, the .synced should be stripped off the
local filename. However the strncpy doesn't 0-terminate the string by itself
so the output filename usually contains some garbage characters at the end.
This commit properly 0-terminates the local filename to avoid this.
2015-12-22 18:10:35 +01:00
Nikias Bassen cae19fa6cf tools: idevicecrashreport: Propertly initialize buffer used to check for ping message 2015-12-18 21:01:01 +01:00
Nikias Bassen 2203f4cba9 tools: Fix inverted abort condition in idevicecrashreport
This bug caused it to never wait for the 'ping' message from
the crashreportmover service
2015-12-18 20:46:46 +01:00
Martin Szulecki d93043e624 tools: Use PACKAGE_URL define for homepage project links in usage output 2015-10-06 22:10:56 +02:00
Martin Szulecki 24ce2e27b4 Remove trailing whitespace errors from all files 2015-01-28 01:27:59 +01:00