summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-14Move ecid retrieval code right before shsh blob retrievalGravatar Martin Szulecki1-12/+9
2010-07-14Refactor tss request requirements to work with iPhone 3G and iOS 4Gravatar Martin Szulecki1-15/+19
This gets rid of the device model checking code and allows devices like the iPhone 3G to get shsh blobs as required by iOS 4. The requirement if the components need to be signed is determined by which kind of manifest filename is within the IPSW.
2010-07-14Add and improve some comments for restore processGravatar Martin Szulecki1-1/+1
2010-07-14Allow getting the ecid for any device modelGravatar Martin Szulecki1-5/+0
2010-07-09Rename some variables and functions to fit thier contextGravatar Martin Szulecki1-10/+10
2010-07-09Remove leftover of extract_manifest helperGravatar Martin Szulecki1-23/+0
2010-07-09Refactor filesystem extractionGravatar Martin Szulecki1-2/+2
2010-07-09Refactor manifest extractionGravatar Martin Szulecki1-1/+1
2010-07-09Add helper functions to dump information from a manifest of the IPSWGravatar Martin Szulecki1-0/+73
2010-07-09Correctly assign the client flags from command lineGravatar Martin Szulecki1-4/+4
2010-07-09Implement handling of devices which do not require a tss requestGravatar Martin Szulecki1-42/+54
This introduces passing around the "selected" build identity and fixes code logic issues to make idevicerestore work again.
2010-07-09Add function to retrieve a component path from a build identityGravatar Martin Szulecki1-22/+43
2010-07-09Set and use static idevicerestore_debug flag for debug outputGravatar Martin Szulecki1-1/+2
2010-07-08Remove get_build_name() which was not working and has no real useGravatar Martin Szulecki1-17/+0
2010-07-08Fix segfault due to broken retrieval of board idGravatar Martin Szulecki1-4/+4
2010-07-08Improve error message if a device mode can not be determinedGravatar Martin Szulecki1-1/+1
Most of the time it means that there is no device attached as we should be able to detect any mode of a device.
2010-07-08Remove activation code, this will be handled by the ideviceactivate toolGravatar Martin Szulecki1-18/+0
We already handle the complex restore process, let's avoid the trouble to add up the activation complexity additionally.
2010-07-08Fix segfault and handling of cli argumentsGravatar Martin Szulecki1-5/+5
2010-07-08Do not depend on device model to extract correct buildmanifestGravatar Martin Szulecki1-14/+13
Since the iOS 4 IPSW contains a BuildManifest.plist even for devices that do not require personal signing, the prior code logic would fail.
2010-07-08Do not report the detected device mode twiceGravatar Martin Szulecki1-4/+0
2010-06-22Added info for iPhone4 and fixed a few runtime errorsGravatar Joshua Hill1-2/+2
2010-06-21Fixed a few more compile errors, everything should compile fine now, but i'm ↵Gravatar Joshua Hill1-67/+2
not sure if it will run yet
2010-06-21Finally fixed the out of control problemGravatar Joshua Hill1-12/+11
2010-06-21Archived for historical reasonsGravatar Joshua Hill1-169/+137
2010-06-20fixed a few build errors within buildmanifest parsingGravatar Joshua Hill1-7/+8
2010-06-08started to add support multiple build identitiesGravatar Joshua Hill1-9/+52
2010-06-08Added a new asr.c file to stick all stuff related to filesystem and abstract ↵Gravatar Joshua Hill1-11/+51
the restore process to allow for easier porting
2010-06-07More small fixes and updated the TODO listGravatar Joshua Hill1-1/+8
2010-06-07I really need to put more descriptive messages here, but im doing stuff all ↵Gravatar Joshua Hill1-3/+4
over the place
2010-06-05Changed the device type to a structure array for cleaner code and cross ↵Gravatar Joshua Hill1-53/+66
state access
2010-06-05Added long options and moved the function main source file function ↵Gravatar Joshua Hill1-27/+33
declarations into the header file for easier maintainance
2010-06-04Even more major cleanups and refactoring, this branch is still broken but ↵Gravatar Joshua Hill1-532/+297
starting to mature really well
2010-06-04small bugfix in idevicerestore.c get_build_identity and went ahead and added ↵Gravatar Joshua Hill1-1/+1
activate code to be cleaned up and added to process later
2010-06-04Refactoring continued, lots of bug fixes, probably about half way throughGravatar Joshua Hill1-52/+32
2010-06-03Continuing to refactor code and add support for other devicesGravatar Joshua Hill1-125/+251
2010-06-01Began major refactoring, not quite finished yet, this branch is probably brokeGravatar Joshua Hill1-124/+215
2010-06-01Began refactoring of code to simplify and seperate device state logicGravatar Joshua Hill1-614/+9
2010-05-31Added code to automatically detect when connection is lostGravatar Joshua Hill1-3/+5
2010-05-31Merge commit 'martin/martin'Gravatar Joshua Hill1-1/+66
2010-05-31Copy and paste error, this should free name, not pathGravatar Joshua Hill1-1/+0
2010-05-30Parse progress message and report progressGravatar Martin Szulecki1-1/+66
2010-05-29Changed some filenames and made it so it won't abort too earlyGravatar Joshua Hill1-59/+69
2010-05-26Implemented NOR data request, it's ugly but it works! Successfully restored ↵Gravatar Joshua Hill1-20/+234
4.0b4 to my device
2010-05-25cleaned up and fixed kernelcache restore. just successfully restored my ipt3gGravatar Joshua Hill1-117/+116
2010-05-25Refactor sending and signing of images to reduce redundant codeGravatar Martin Szulecki1-460/+107
2010-05-25Pass IPSW filename as mandatory argumentGravatar Martin Szulecki1-10/+10
2010-05-25Filesystem is now restoring, need to add in kernelcache restore and nor ↵Gravatar Joshua Hill1-97/+104
restore and everything should be good. Note: The latest HEAD from marcan's usbmuxd is required for this program to work. Linux kernel drivers do some wacky stuff with iPod audio interfaces
2010-05-24Merged the current POC with this codebase, it /should/ work but it's not.Gravatar Joshua Hill1-9/+385
Seems like libirecovery isn't properly releasing the usb interface for some reason which is making usbmuxd choe trying to set the usb configuration
2010-05-24Added AppleLogo so it's a bit more AppleishGravatar Joshua Hill1-2/+139
2010-05-24Device now successfully enters restore mode. Now all that's left is copying ↵Gravatar Joshua Hill1-210/+383
code over from the other idevicerestore