summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17main: do not delete cached filesystemGravatar Nikias Bassen1-13/+16
2012-07-17main: use extracted filesystem if presentGravatar Nikias Bassen1-0/+24
2012-07-17ipsw: add function ipsw_get_file_size() to get uncompressed file sizeGravatar Nikias Bassen2-0/+28
2012-07-17tss: Do not output "MESSAGE=" prefix of TSS server error messagesGravatar Martin Szulecki1-1/+1
2012-07-17restore: Error out if writing final personalized bbfw archive file failedGravatar Martin Szulecki1-3/+6
2012-07-17restore: Always try to receive and handle possible StatusMsg on errorsGravatar Martin Szulecki1-7/+7
This does not directly exit if anything breaks but attempts to read one more message from restored which usually is a StatusMsg and contains information about the error that occoured.
2012-07-17restore: Handle printing logs of a StatusMsg if availableGravatar Martin Szulecki1-0/+12
2012-07-17asr: Output byte counts in error message if sending data failsGravatar Martin Szulecki1-1/+1
2012-07-17asr: Fix memory leak in asr_send()Gravatar Martin Szulecki1-4/+2
2012-07-17asr: Add macros for other values of validation requestGravatar Martin Szulecki1-4/+8
2012-07-17asr: implemented checksumming for filesystem uploadGravatar Nikias Bassen3-34/+130
2012-07-17mbn: Use correct log debug() function instead of printf for warningsGravatar Martin Szulecki1-1/+1
2012-07-17restore: Return -2 error code on ASR failures as a new attempt might workGravatar Martin Szulecki1-1/+1
2012-07-17restore: If opening a device times out completely, make error unrecoverableGravatar Martin Szulecki1-3/+4
2012-07-17restore: Don't process further device add events if we already have a matchGravatar Martin Szulecki1-1/+1
2012-07-17restore: Print message if a device is rebooted in restore modeGravatar Martin Szulecki1-0/+1
2012-07-17recovery: Send "preventive" ZLP directly after sending kernelcache componentGravatar Martin Szulecki1-2/+2
2012-07-17main: If mode switching from normal to recovery fails, return error code -5Gravatar Martin Szulecki1-1/+1
This should indicate that a manual mode switch is required.
2012-07-17recovery: Make sure a connection is available before sending iBEC, tooGravatar Martin Szulecki1-0/+6
The code path without TSS request did not initialize the recovery client in order for it to be used to send iBEC. Now the client is always initialized.
2012-07-17main: Report device state again after a restore rebootGravatar Martin Szulecki1-0/+1
2012-07-17restore: refactor device detection to find device by ECIDGravatar Nikias Bassen1-28/+88
2012-07-17restore: Normalize messages printed in handlers of main restore process loopGravatar Martin Szulecki1-4/+17
2012-07-17main: Do not wait 15 seconds for device to enter restore as we use events nowGravatar Martin Szulecki1-3/+0
2012-07-17restore: Correctly print success message after receiving baseband SHSH blobsGravatar Martin Szulecki1-0/+1
2012-07-17restore: Remove commented obsolete code calling idevice_unsubscribe()Gravatar Martin Szulecki1-2/+0
2012-07-17restore: Make restore mode device connection handling more verboseGravatar Martin Szulecki1-1/+3
2012-07-17restore: Only print "Provisioning:" if IMEI is available at allGravatar Martin Szulecki1-1/+1
2012-07-17tss: Print server MESSAGE response if unhandled error is returnedGravatar Martin Szulecki1-1/+2
2012-07-17restore: Only print plist if errors occoured or in debug modeGravatar Martin Szulecki1-4/+6
2012-07-17dfu: Do not send another ZLP after sending iBEC as it breaks DFU mode switchGravatar Martin Szulecki1-1/+1
2012-07-17restore: use idevice event to wait for device entering restore modeGravatar Nikias Bassen1-28/+20
2012-07-17USB: Send a ZLP after mode switches to hopefully increase stabilityGravatar Martin Szulecki2-0/+7
Sometimes devices do not switch modes, sending a zero length packet appears to fix this situation and prevents failures during restore.
2012-07-17restore: Parse and return AMRError value as error code in StatusMsg handlerGravatar Martin Szulecki1-2/+10
2012-07-17recovery: Increase recovery connection attempts to 20Gravatar Martin Szulecki1-1/+1
2012-07-17main: Output last known mode when mode switch to recovery failedGravatar Martin Szulecki1-1/+1
2012-07-17main: Return -2 error code if error might be fixed by running restore againGravatar Martin Szulecki2-5/+5
2012-07-17main: Determine device mode again after rebooting it from restore modeGravatar Martin Szulecki1-0/+3
2012-07-17dfu: Wait 2 seconds before reconnecting to DFU mode again after sending iBSSGravatar Martin Szulecki1-1/+1
2012-07-17main: Wait 15 seconds for device to boot restore mode before connecting againGravatar Martin Szulecki1-0/+3
2012-07-17restore: Do not wait 15 useless seconds attempting to connect to a deviceGravatar Martin Szulecki1-2/+0
2012-07-17restore: Free client and wait 10 seconds for device to reboot from restore modeGravatar Martin Szulecki1-0/+3
2012-07-17main: Switch device from normal into recovery before extracting filesystemGravatar Martin Szulecki1-14/+12
The filesystem extraction process takes a while on WIN32. In order to quickly determine connection/mode switch issues, we move the quicker logic before the slower one.
2012-07-17main: Grab result code of restore_device() call and return as global error codeGravatar Martin Szulecki1-3/+5
2012-07-17dfu: Send a ZLP after sending iBEC data possibly fixing some mode switch hangsGravatar Martin Szulecki1-1/+3
2012-07-17common: Disable progress bar on WIN32 as it slows down the process a lotGravatar Martin Szulecki1-0/+2
2012-07-17retore: Use correct type declaration for zip_get_name() return valueGravatar Martin Szulecki1-1/+1
2012-07-17restore: Always remove all files except .mdn and .fls from bbfw archivesGravatar Martin Szulecki1-16/+27
This fixes restore on CDMA devices which had issues with obsolete .hex files.
2012-07-17restore: Only save baseband tss response if not already setGravatar Martin Szulecki1-1/+1
2012-07-17mbn: Use real size instead of parsed size to fix iPad 3 baseband updateGravatar Martin Szulecki1-2/+2
2012-07-17main: Add detection of new models in check_device()Gravatar Martin Szulecki1-0/+40