Coder Social home page Coder Social logo

libimobiledevice / idevicerestore Goto Github PK

View Code? Open in Web Editor NEW
1.2K 88.0 387.0 1.15 MB

Restore/upgrade firmware of iOS devices

Home Page: https://libimobiledevice.org

License: GNU Lesser General Public License v3.0

Shell 0.18% C 98.20% Makefile 0.28% M4 1.34%
restore firmware c idevicerestore ipsw ios shsh signing

idevicerestore's Introduction

idevicerestore

A command-line application to restore firmware files to iOS devices.

Features

The idevicerestore application is a full reimplementation of all granular steps which are performed during the restore of a firmware to a device.

In general, upgrades and downgrades are possible, however subject to availability of SHSH blobs from Apple for signing the firmware files.

Some key features are:

  • Restore: Update firmware on iOS devices
  • Firmware: Use official IPSW firmware archive file or a directory as source
  • Update: Allows updating the device by default or erasing all data
  • Download: On demand download of latest available firmware for a device
  • Cache: Downloaded firmware files are cached locally
  • Custom Firmware: Restore custom firmware files (requires bootrom exploit)
  • Baseband: Allows you to skip NOR/Baseband upgrade
  • SHSH: Fetch TSS records and save them as ".shsh" files
  • DFU: Put devices in pwned DFU mode (limera1n devices only)
  • AP Ticket: Use custom AP ticket from a file
  • Cross-Platform: Tested on Linux, macOS, Windows and Android platforms
  • History: Developed since 2010

WARNING: This tool can easily destroy your user data irreversibly.

Use with caution and make sure to backup your data before trying to restore.

In any case, usage is at your own risk.

Installation / Getting started

Debian / Ubuntu Linux

First install all required dependencies and build tools:

sudo apt-get install \
	build-essential \
	pkg-config \
	checkinstall \
	git \
	autoconf \
	automake \
	libtool-bin \
	libreadline-dev \
	libusb-1.0-0-dev \
	libplist-dev \
	libimobiledevice-dev \
	libimobiledevice-glue-dev \
	libcurl4-openssl-dev \
	libssl-dev \
	libzip-dev \
	zlib1g-dev

Then clone, build and install libirecovery which is not yet packaged:

git clone https://github.com/libimobiledevice/libirecovery.git
cd libirecovery
./autogen.sh
make
sudo make install
cd ..

If the configure processes indicates old or missing libraries, your distribution might not have yet packaged the latest versions. In that case you will have to clone these libraries separately and repeat the process in order to proceed.

Continue with cloning the actual project repository:

git clone https://github.com/libimobiledevice/idevicerestore.git
cd idevicerestore

Now you can build and install it:

./autogen.sh
make
sudo make install

Important

idevicerestore requires a properly installed usbmuxd for the restore procedure. Please make sure that it is either running or configured to be started automatically as soon as a device is detected in normal and/or restore mode. If properly installed this will be handled by udev/systemd.

Usage

The primary scenario is to restore a new firmware to a device. First of all attach your device to your machine.

Then simply run:

idevicerestore --latest

This will print a selection of firmware versions that are currently being signed and can be restored to the attached device. It will then attempt to download and restore the selected firmware.

By default, an update restore is performed which will preserve user data.

Mind that if the firmware file does not contain a 'Customer Upgrade Install' variant, an erase restore will be performed.

You can force restoring with erasing all data and basically resetting the device by using:

idevicerestore --erase --latest

Please consult the usage information or manual page for a full documentation of available command line options:

idevicerestore --help
man idevicerestore

Contributing

We welcome contributions from anyone and are grateful for every pull request!

If you'd like to contribute, please fork the master branch, change, commit and send a pull request for review. Once approved it can be merged into the main code base.

If you plan to contribute larger changes or a major refactoring, please create a ticket first to discuss the idea upfront to ensure less effort for everyone.

Please make sure your contribution adheres to:

  • Try to follow the code style of the project
  • Commit messages should describe the change well without being too short
  • Try to split larger changes into individual commits of a common domain
  • Use your real name and a valid email address for your commits

We are still working on the guidelines so bear with us!

Links

License

This project is licensed under the GNU Lesser General Public License v3.0, also included in the repository in the COPYING file.

Credits

Apple, iPhone, iPad, iPod, iPod Touch, Apple TV, Apple Watch, Mac, iOS, iPadOS, tvOS, watchOS, and macOS are trademarks of Apple Inc.

This project is an independent software application and has not been authorized, sponsored, or otherwise approved by Apple Inc.

README Updated on: 2022-04-04

idevicerestore's People

Contributors

137734949 avatar aburgh avatar alfiecg24 avatar blefish avatar boxingsquirrel avatar cfergeau avatar corsac-s avatar danthemann15 avatar danyl avatar doronz88 avatar funkym avatar jduranc avatar kamatam9 avatar lethaltail avatar marcan avatar neheb avatar nh2 avatar nikias avatar planetbeing avatar posixninja avatar rickmark avatar rodarima avatar s0uthwest avatar skortela avatar tihmstar avatar visualehrmanntraut avatar zbalaton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idevicerestore's Issues

iPhone 5S fails to restore with iOS 9.0.1

versions (fresh clone from 25/09/2015):
./libirecovery/.git/refs/heads/master 84a03bf
./idevicerestore/.git/refs/heads/master 1d2303e
./libimobiledevice/.git/refs/heads/master f268393d4e447ac901879bee751d7350c495fed2
./libplist/.git/refs/heads/master 9ca25d293fe7f8aca8d952fc7bb91464fe2d34ab
./usbmuxd/.git/refs/heads/master 423fb8c0e9750190d2b7f9c306df9efaa7080dbd
./libusbmuxd/.git/refs/heads/master 4d365eefe8255e8f693bce008dc71bf415279c7e

Running on Ubuntu 14.04 x64 with default configurations for the projects.

This is potentially a problem in firmware package BuildManifest.xml: It tells that FDRSupport is not needed and progress stops when device asks it anyway.

Needles to mention that restore works with iTunes.

This same problem is presumably present also with iPad Air 1st gen and iPad mini 2.

Not really issue : restore to factory defaults?

I wondering if its possible to send the devices to factory defaults, without having to copy firmware? Like the default buildin option from iPhone's.

Maybe by setting some boot option in the shell option from iRecovery?

I need this for my application for the company Im working for.
Cheers

Cant put into restore from DFU

No longer freezes on iBEC, no idea why. In su mode using sudo too, so maybe thats part of it.

Now I have a new problem! Yay...

sudo idevicerestore -d -c -e iPhone4,1_8.1.2_12B440_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
Found device in DFU mode
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
Identified device as iPhone4,1
Extracting Restore.plist from IPSW
Product Version: 8.1.2
Product Build: 12B440 Major: 12
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
Device supports Image4: false
Custom firmware requested. Disabled TSS request.
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Using cached filesystem from 'iPhone4,1_8.1.2_12B440_Restore/058-09779-017.dmg'
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
Extracting iBSS.n94ap.RELEASE.dfu...
Not personalizing component iBSS...
Writing data to iBSS
Sending iBSS (78220 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
Nonce: 8b 2d 4e 5f 93 d8 6d 29 9d 29 d6 4a 5d 09 45 55 7a 94 05 ae
Setting to configuration 1
Extracting iBEC.n94ap.RELEASE.dfu...
Not personalizing component iBEC...
Writing data to iBEC
Sending iBEC (283020 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8B2D4E5F93D86D299D29D64A5D0945557A9405AE
Setting to configuration 1
Setting to interface 0:0
ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode

same happens without -c.

Stays in DFU mode too.

Iphone 4s, restore IOS 8.3

****@**:~# sudo idevicerestore -e '/root/Desktop/iPhone4,1_8.3_12F70_Restore.ipsw'
read_file: File cache/version.xml not found
ERROR: Could not load 'cache/version.xml'.
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Found device in Recovery mode
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
INFO: device serial number is XXXXXXXXXXXX
Identified device as iPhone4,1
Extracting BuildManifest from IPSW
ERROR: zip_name_locate: BuildManifesto.plist
Product Version: 8.3
Product Build: 12F70
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID 2439408448904
checking for local shsh
no local file shsh/2439408448904-iPhone4,1-8.3.shsh
Trying to fetch new SHSH blob
TSS server returned: STATUS=94&MESSAGE=This device isn't eligible for the requested build.
ERROR: TSS request failed (status=94)
Sending TSS request... ERROR: Unable to send TSS request
ERROR: Unable to get SHSH blobs for this device

Which means that error status=94? or error TSS?

Random choice when restoring with multiple units

Hi,

If you tell idevicerestore to restore a specific device using --udid or -u and the deviceid returned from idevice_id - l, it starts off the process, downloads (if needed) the new .ipsw but then puts a different unit into restore mode!!

Has anyone experienced this or worked around it? I have a few devices plugged in and was a bit shocked to discover I'd wiped the wrong one :(

I'll begin running through the code to see if I can find anything obvious but I was just wondering if anyone had noticed and patched themselves.

restore iphone6 and iphone6(plus) failed

Recently, I restore iPhone7,2_8.3_12F70.ipsw on iphone6 and iphone6(plus) by using idevicerestore,
But Its failed, the error code:ERROR: Unable to send baseband data. is there any solution, thanks for any answer, many thanks!

No package "openssl" found

Hi:

I tried to install idevicerestore on Kali linux, but I run autogen.sh and give me the following error:

root@kali:/Descargas/idevicerestore-master# ./autogen.sh
libtoolize: putting auxiliary files in .'. libtoolize: linking file./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: linking filem4/libtool.m4'
libtoolize: linking file m4/ltoptions.m4' libtoolize: linking filem4/ltsugar.m4'
libtoolize: linking file m4/ltversion.m4' libtoolize: linking filem4/lt
obsolete.m4'
libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /root/Descargas/idevicerestore-master/missing: Unknown--is-lightweight' option
Try `/root/Descargas/idevicerestore-master/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libirecovery... yes
checking for libimobiledevice... yes
checking for libplist... yes
checking for libzip... yes
checking for libcurl... yes
checking for openssl... no
configure: error: Package requirements (openssl >= 0.9.8) were not met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables openssl_CFLAGS
and openssl_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

I can run openssl on the terminal normally, Kali is installed on a macbook late 2009.

Can helpme please, a can't install idevicerestore

restore device to ios 9.0 failed

today I use libimobiledevice to restore my device(iPad air1) to iOS 9.0 failed, Is it have not be surpported? the question is
"
if (connection->ssl_data)
the ssl_data is NULL;
"

Unable to connect to device in restore mode

plz help me i have this error how can i fix it ? iphone 5c
idevicerestore -d -e iPhone5,3_8.1.3_12B466_Restore.ipsw

  • About to connect() to itunes.apple.com port 80 (#0)

  • Trying 104.71.28.237...

  • connected

  • Connected to itunes.apple.com (104.71.28.237) port 80 (#0)

    GET /check/version HTTP/1.1
    User-Agent: InetURL/1.0
    Host: itunes.apple.com
    Accept: /

  • additional stuff not fine transfer.c:1037: 0 0

  • HTTP 1.1 or later with persistent connection, pipelining supported
    < HTTP/1.1 302 Moved Temporarily
    < Server: AkamaiGHost
    < Content-Length: 0
    < Location: https://itunes.apple.com/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version
    < Date: Mon, 02 Mar 2015 18:31:57 GMT
    < Connection: keep-alive
    < X-Apple-Partner: origin.0
    <

  • Connection #0 to host itunes.apple.com left intact

  • Issue another request to this URL: 'https://itunes.apple.com/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version'

  • About to connect() to itunes.apple.com port 443 (#1)

  • Trying 104.71.28.237...

  • connected

  • Connected to itunes.apple.com (104.71.28.237) port 443 (#1)

  • successfully set certificate verify locations:

  • CAfile: none
    CApath: /etc/ssl/certs

  • SSL connection using AES256-SHA

  • Server certificate:

  • subject: 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=California; businessCategory=Private Organization; serialNumber=C0806592; C=US; postalCode=95014; ST=California; L=Cupertino; street=1 Infinite Loop; O=Apple Inc.; OU=Internet Services Operations for A

  • start date: 2014-04-21 00:00:00 GMT

  • expire date: 2016-04-20 23:59:59 GMT

  • subjectAltName: itunes.apple.com matched

  • issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)06; CN=VeriSign Class 3 Extended Validation SSL SGC CA

  • SSL certificate verify ok.

GET /WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version HTTP/1.1
User-Agent: InetURL/1.0
Host: itunes.apple.com
Accept: /

  • additional stuff not fine transfer.c:1037: 0 0
  • HTTP 1.1 or later with persistent connection, pipelining supported
    < HTTP/1.1 200 OK
    < Last-Modified: Mon, 02 Mar 2015 17:54:51 GMT
    < strict-transport-security: max-age=31536000
    < x-apple-translated-wo-url: /WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version
    < x-apple-orig-url: https://itunes.apple.com/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version
    < x-apple-application-site: ST11
    < apple-timing-app: 64 ms
    < x-apple-request-store-front:
    < x-apple-asset-version: 0
    < Content-Type: text/xml; charset=UTF-8
    < x-apple-date-generated: Mon, 02 Mar 2015 17:54:51 GMT
    < x-apple-application-instance: 2004604
    < x-frame-options: SAMEORIGIN
    < x-webobjects-loadaverage: 0
    < x-apple-jingle-correlation-key: JU57AUQKOQEME4LA2DPOL34CKU
    < Server: ATS/4.1.0
    < X-Apple-ATS-Cache-Key: /17.173.38.164/80/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version/iDevice/https
    < Cache-Control: max-age=1345
    < Date: Mon, 02 Mar 2015 18:31:58 GMT
    < Transfer-Encoding: chunked
    < Connection: keep-alive
    < Connection: Transfer-Encoding
    < Vary: X-Apple-Store-Front
    < X-Apple-Partner: origin.0
    <
  • Connection #1 to host itunes.apple.com left intact
  • Closing connection #0
  • Closing connection #1
    NOTE: Updated version data.
    Reading data from version.xml
    opening device 05ac:1281...
    irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8317338184F46768BA08FFD4380929A6BBA63928
    Setting to configuration 1
    Setting to interface 0:0
    Found device in Recovery mode
    opening device 05ac:1281...
    irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8317338184F46768BA08FFD4380929A6BBA63928
    Setting to configuration 1
    Setting to interface 0:0
    Identified device as iPhone5,3
    Extracting BuildManifest from IPSW
    Product Version: 8.1.3
    Product Build: 12B466 Major: 12
    opening device 05ac:1281...
    irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8317338184F46768BA08FFD4380929A6BBA63928
    Setting to configuration 1
    Setting to interface 0:0
    INFO: device serial number is F73L8836FM1V
    Device supports Image4: false
    Variant: Customer Erase Install (IPSW)
    This restore will erase your device data.
    Getting device's ECID for TSS request
    Found ECID 93451095539
    Getting ApNonce in recovery mode... 83 17 33 81 84 f4 67 68 ba 08 ff d4 38 09 29 a6 bb a6 39 28
    Trying to fetch new SHSH blob
    Getting SepNonce in recovery mode...
    NOTE: Unable to find BbFactoryActivationManifestKeyHash node
    NOTE: Unable to find BbFDRSecurityKeyHash node
    WARNING: Unable to find BbSkeyId node
    DEBUG: Applying restore request rules for entry AppleLogo
    DEBUG: Applying restore request rules for entry BatteryCharging0
    DEBUG: Applying restore request rules for entry BatteryCharging1
    DEBUG: Applying restore request rules for entry BatteryFull
    DEBUG: Applying restore request rules for entry BatteryLow0
    DEBUG: Applying restore request rules for entry BatteryLow1
    DEBUG: Applying restore request rules for entry BatteryPlugin
    DEBUG: Applying restore request rules for entry DeviceTree
    DEBUG: Applying restore request rules for entry KernelCache
    DEBUG: Applying restore request rules for entry LLB
    DEBUG: Applying restore request rules for entry RecoveryMode
    DEBUG: Applying restore request rules for entry RestoreDeviceTree
    DEBUG: Applying restore request rules for entry RestoreKernelCache
    DEBUG: Applying restore request rules for entry RestoreLogo
    DEBUG: Applying restore request rules for entry RestoreRamDisk
    DEBUG: Applying restore request rules for entry iBEC
    DEBUG: Applying restore request rules for entry iBSS
    DEBUG: Applying restore request rules for entry iBoot
    common.c:printing 3750 bytes plist: @locality en_US @HostPlatformInfo mac @versioninfo libauthinstall-293.1.16 @uuid 7F00920A-4CC3-84DB-7EF4-A219D54DE07B ApECID 93451095539 UniqueBuildID HF2ZVapvVIbyVrMYqvqOaop+j8E= ApChipID 35152 ApBoardID 10 ApSecurityDomain 1 AppleLogo Digest /LuGmLwwzBdRgp/EVZyAP/+8K60= Trusted BatteryCharging0 Digest W5W+9Oi4vG5alt5qQmz26Rk3SIA= Trusted BatteryCharging1 Digest +ekjmqu2/RN7J7p3yZfWk8mv818= Trusted BatteryFull Digest edDIPY/u+XZXypCf/1va6ZH8feo= Trusted BatteryLow0 Digest nNJY4pXMiOj419LZQqvRh1Dcu64= Trusted BatteryLow1 Digest SVePq3BaKQgFbOXbq4Y6wADLLmM= Trusted BatteryPlugin Digest NnDuK82o9ejHcpesurvHHMz/cUs= Trusted DeviceTree Digest YiBxVh8eit0DMka6izedkpvZ+XI= Trusted KernelCache Digest HkvH/oqK6Ny+ciTwJqqdLJRvw9s= Trusted LLB BuildString iBoot-2261.3.33~39 Digest EMJPTqK6eLmMN8VgDg68hjNY7x8= PartialDigest QAAAAHhRAgDU6x+5o2Mws1lRivn8t33iqDDG4g== Trusted RecoveryMode Digest LCi01gBb01cugyMWyc3aIiypDI4= Trusted RestoreDeviceTree Digest YiBxVh8eit0DMka6izedkpvZ+XI= Trusted RestoreKernelCache Digest HkvH/oqK6Ny+ciTwJqqdLJRvw9s= Trusted RestoreLogo Digest /LuGmLwwzBdRgp/EVZyAP/+8K60= Trusted RestoreRamDisk Digest Y62/VjmipYNdFqfGUQjAHGE/zIo= Trusted iBEC BuildString iBoot-2261.3.33~39 Digest JSmUpXE9meGT4JBC2dXjEt4b9h4= Trusted iBSS BuildString iBoot-2261.3.33~39 Digest wsw0W/6jJPDSymrvAb5g/DhxsR8= PartialDigest QAAAAHgxAQBckh4cpHs3zod5WjKkkM0FX1mibQ== Trusted iBoot Digest 10k/GcWlep+qcql0Yva6COFfXss= Trusted ApNonce gxczgYT0Z2i6CP/UOAkpprumOSg= @APTicket ApProductionMode Request URL set to https://gs.apple.com/TSS/controller?action=2 Sending TSS request attempt 1... response successfully received common.c:printing 10450 bytes plist: @ServerVersion 2.1.0 APTicket MIIKqzALBgkqhkiG9w0BAQUxggK3gQjzjR7CFQAAAIIEUIkAAIMECgAAAIQEAQAAAIUE AQAAAIYSaUJvb3QtMjI2MS4zLjMzfjM5hxTXST8ZxaV6n6pyqXRi9roI4V9ey4gU/LuG mLwwzBdRgp/EVZyAP/+8K62JFGIgcVYfHordAzJGuos3nZKb2flyihQeS8f+ioro3L5y JPAmqp0slG/D240UNnDuK82o9ejHcpesurvHHMz/cUuOFJzSWOKVzIjo+NfS2UKr0YdQ 3LuujxRJV4+rcFopCAVs5durhjrAAMsuY5AULCi01gBb01cugyMWyc3aIiypDI6SFIMX M4GE9Gdougj/1DgJKaa7pjkolBJpQm9vdC0yMjYxLjMuMzN+MzmWEmlCb290LTIyNjEu My4zM34zOZcU/LuGmLwwzBdRgp/EVZyAP/+8K62YFGIgcVYfHordAzJGuos3nZKb2fly mRQeS8f+ioro3L5yJPAmqp0slG/D25oUY62/VjmipYNdFqfGUQjAHGE/zIqcFEAU6ivd xx1jL4hKkWV2dec0PVhynzAEAQAAAJ8xBAEAAACfMgQBAAAAnzMEAQAAAJ82BAEAAACf NwQBAAAAnzgEAQAAAJ85BAEAAACfOwQBAAAAnzwEAQAAAJ89BAEAAACfPgQBAAAAn0sU N/FhPntAYf2jyUWleKgJ8sYryeyfThRblb706Li8blqW3mpCbPbpGTdIgJ9PFPnpI5qr tv0Teye6d8mX1pPJr/Nfn1AUedDIPY/u+XZXypCf/1va6ZH8feqfVAQBAAAAn1UEAQAA AJ9WBAEAAACfgWQUEMJPTqK6eLmMN8VgDg68hjNY7x+fgWUUwsw0W/6jJPDSymrvAb5g /DhxsR+fgWYUJSmUpXE9meGT4JBC2dXjEt4b9h6fgWcEAQAAAJ+BaAQBAAAAn4FpBAEA AAAEgYCRLVQaO/7GQSQQZzodApxeM3ZAyBVvjOsoEUT4crvsAuEnLmvakMQ12oWEy+DF xSsNqkMkm0nk2ehznUwgZ6QD/EPEag6qVCbfW6K24NoAL/gHw7uLLhcW3tfk/qC87Zkx MOilhXyH5KwPhIhlinqD8q8xWEgih9ULTlG8fIDJDaGCB1wwggP4MIIC4KADAgECAgEQ MA0GCSqGSIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMu MSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMN QXBwbGUgUm9vdCBDQTAeFw0wNzAxMDUxOTIxNTlaFw0yMjAxMDUxOTIxNTlaMH4xCzAJ BgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTEyMDAGA1UEAxMpQXBwbGUgU2VjdXJlIEJvb3QgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB AQD+8t3aZTmwcuMDhIH0VsnRoUq7yAQB80YNleE3lQppR8bEjHk+R1UGsgYU636k9SP+ QjWY7zQFzprTrZTQog/C0rQESEwjWlvHC51i0/PjaxD+lwhXxhJ2dxmyxsMsmO23KYfk 3Bi25fO6E/uytrdn2cvfb6WTPe16k2e0/TQW5ACrC7dOH1rWA2g+crYUMDoMZJegRiJ5 G3csWy6Q4BHcFqPhyPeEsk/cSzoK1RJ+3BE/+hFzZRpJcKB+dYK0PCsvVd8wiLF1TUXc BygtSjqF/Z+VPiK6nEb3t2h7s5TVQj4Fszj4Z3lIjGwfi77u7VQF1aMLWH14DySpodwK dOr3AgMBAAGjgZwwgZkwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYD VR0OBBYEFEk9NlPJ1xXhhmFOrKurGFZjXcPGMB8GA1UdIwQYMBaAFCvQaUeUdgn+9GuN LkCm90dNfwheMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly93d3cuYXBwbGUuY29tL2Fw cGxlY2Evcm9vdC5jcmwwDQYJKoZIhvcNAQEFBQADggEBADTFDMUOWREvpsKfMnjnZDJp 263CJcq3R4O3kjxxU6CyrTCVgFC9bV9M3M54DUxJEFA4EDW/RYGsZlgsISP4ll6A6dPG TP2Frjlh9iiqRO0Vmz9HwFesZxyMzdSTjU/balSne0JbD5nG1zirUqehgx2FMHTqDR3a aISP4oR+y7lBbtWfqEK1/zO2cX/qo7ndSQNghXYQPo6o4TbjEt2FbO1mU7BbSJsvf/bK HPBdmC10rfBIR8XhmmeyIg+wDgKg4bpqYrm0tXH0JeGz5aDtyBpAtfgxFQWkXDgjTJCd RwOAgNQykEWPD6+b/ALu7cvmMfafFeZ9K1dDDuIPoaCtidowggNcMIICRKADAgECAgIB LzANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5j LjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAwBgNVBAMT KUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTExMDUy MDIzMjM0OVoXDTIxMDUyMDIzMjM0OVowYjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFw cGxlIEluYy4xDDAKBgNVBAsTA0VUUzEwMC4GA1UEAxMnSDVQLURhcndpbi1Qcm9kLUNF UE8xLVRpY2tldC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCU 50LbUO8/SMczFBHJVIPQAsG+3AiuksyYxd4eV8OhUhplNGBeJungcJtpz+ASSC4GXm+n MuiScfPTKnlsyIoQMpjXdXDVqcX1LHub5JkzQnFxn2ieStiZsek1Gd7n4GCeVfJIpGTy fhEumxGqAqDPJjtU4gVotKwZwAosh4GJxwIDAQABo4GDMIGAMAsGA1UdDwQEAwIHgDAd BgNVHQ4EFgQUMZlJKBLzN3zoE6Lk+o4MemtZcl4wHwYDVR0jBBgwFoAUST02U8nXFeGG YU6sq6sYVmNdw8YwMQYKKoZIhvdjZAYBCwEB/wQgMB6hHDEaggRQiQAAhAQBAAAAhQQB AAAAn4FrBAEAAAAwDQYJKoZIhvcNAQEFBQADggEBAOcT56t5YsdyG3vWs7DubUdIyZiG MTCUJTRa6wmt4ggHyyMjwwe7+5p4OKKtzKMDU20IDYCT/KVhO6HSsPeLwbpvCUtc6nsg nswAyA6uyP+r/QusHcOEva7tyBO8FH9fh0knbrezdcfdaxbjBb2LyJg6eRhAFQ8hmg0j Th+Oii/3dsTSZP2UfGeSglk/1r7iGrARgJ1fuQ5bUmwPUXcBDgWQww/CxcCi/mfJuS91 RUZF5/w3JczWBej1t6Bfq5du0S3EeDnVJfflsfar7gOUBwhBrzNw+GK6celKsg1CFLNy TicOPpdGUdefL1z5vWfv1O4esSzSyd2rs13vZGwj590= LLB Blob RElDRUAAAAAIAAAA840ewhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAKvuEjl2OSzx+VHlfHWPZVTcw0aVhWfuH00P RTqPQNvugN0edszZUETkoCt1MnEJnBN0OIP5S6qhI8eL/1eQ7e2fsAAaaY+AnbYZBcmA EOYDIXHa0cekDDajO2+FLY81f9VKj7eur6ouMzvNqk28dDQV9SEKXs2u2zzPOuYh0QR/ VFJFQ8IHAAC2BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1 MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+ BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3 DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5 3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6 amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm fStXQw7iD6GgrYnaMIIDtjCCAp6gAwIBAgICAQUwDQYJKoZIhvcNAQEFBQAwfjELMAkG A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xMDEwMjcyMjAyNTJaFw0yMDEwMjcyMjAyNTJa MFMxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx ITAfBgNVBAMTGEg1UC1EYXJ3aW4tUHJvZC1DRVBPMC1EYzCBnzANBgkqhkiG9w0BAQEF AAOBjQAwgYkCgYEA0GuVwVIF+1cTwm74GKc9CVBE5Num3+da4fslbcV52U3lfZ2fyloU vIHsF1Pm5aZxqu2eGSHceY7hscFBL7WgvwHZE8D70hhwqPsx6izmmlWiBeveyQTYA9+x xLfum8W+k62Mdl3DmljRuw2Xb9EO2anm5nRle7DRHcfakdxAvNMCAwEAAaOB7DCB6TAL BgNVHQ8EBAMCB4AwHQYDVR0OBBYEFCDexJv2txvvc2+o4029NMLRw/bNMB8GA1UdIwQY MBaAFEk9NlPJ1xXhhmFOrKurGFZjXcPGMIGZBgoqhkiG92NkBgEBAQH/BIGHBIGEM2dt SYQAAABwAAAAAAAAAHRyZWNPUEVDHAAAAAQAAAABAAAAAAAAAAAAAAAAAAAATU9EUxwA AAAEAAAAAQAAAAAAAAAAAAAAAAAAAERPUlAcAAAABAAAAAEAAAAAAAAAAAAAAAAAAABQ SUhDHAAAAAQAAABQiQAAAAAAAAAAAAAAAAAAMA0GCSqGSIb3DQEBBQUAA4IBAQAVlID/ TVfE7YseJ7JOi9Jrp25FANPZzFcMQm1yR2RcTn0lpoKigW99hpkvlATzMRGGph3igcvv 8gL6jR144THBKvVht8hmMrX7y72MJpfBK9jQBxWImuP5V3ncp2ogXDn4Pk7fZt/RiYw5 Vfh+BOHA2BdhNYVQcKv3rWUmMORzOaK84TCxGmYszgTY6zBivuj4GjAzkvL0IS0yrdNx s9nl+xaSDkco7UCq+JuxgW5mHiL6QZ9kOrKc81bEfUqyL+iak6wImvlYVqcH/7APh75C fMBibO0jguwLA4u6/g96zLbmPouJmvPAVQCCEygUv8SjT+H5NtLiVmRXrJvuea29 PartialDigest QAAAAHhRAgDU6x+5o2Mws1lRivn8t33iqDDG4g== iBSS Blob RElDRUAAAAAIAAAA840ewhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAHhtS3baXQDkV2Cw161oZw7JK452mPF16x7q CJkEpd+V5qco4BSQ7Gblhr6yq3uu1+bgcd8sKVk5WHu+gvIZVVZIY4qrqWzSVy5mMoZ4 LZS8Y3RrG/UHMOnVaOGd8vAlw4+YwFK5/qDJTuzf+k6aqy0VrSqM4KdxWYCwBwdKHIxb VFJFQ8IHAAC2BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1 MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+ BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3 DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5 3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6 amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm fStXQw7iD6GgrYnaMIIDtjCCAp6gAwIBAgICAQUwDQYJKoZIhvcNAQEFBQAwfjELMAkG A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xMDEwMjcyMjAyNTJaFw0yMDEwMjcyMjAyNTJa MFMxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx ITAfBgNVBAMTGEg1UC1EYXJ3aW4tUHJvZC1DRVBPMC1EYzCBnzANBgkqhkiG9w0BAQEF AAOBjQAwgYkCgYEA0GuVwVIF+1cTwm74GKc9CVBE5Num3+da4fslbcV52U3lfZ2fyloU vIHsF1Pm5aZxqu2eGSHceY7hscFBL7WgvwHZE8D70hhwqPsx6izmmlWiBeveyQTYA9+x xLfum8W+k62Mdl3DmljRuw2Xb9EO2anm5nRle7DRHcfakdxAvNMCAwEAAaOB7DCB6TAL BgNVHQ8EBAMCB4AwHQYDVR0OBBYEFCDexJv2txvvc2+o4029NMLRw/bNMB8GA1UdIwQY MBaAFEk9NlPJ1xXhhmFOrKurGFZjXcPGMIGZBgoqhkiG92NkBgEBAQH/BIGHBIGEM2dt SYQAAABwAAAAAAAAAHRyZWNPUEVDHAAAAAQAAAABAAAAAAAAAAAAAAAAAAAATU9EUxwA AAAEAAAAAQAAAAAAAAAAAAAAAAAAAERPUlAcAAAABAAAAAEAAAAAAAAAAAAAAAAAAABQ SUhDHAAAAAQAAABQiQAAAAAAAAAAAAAAAAAAMA0GCSqGSIb3DQEBBQUAA4IBAQAVlID/ TVfE7YseJ7JOi9Jrp25FANPZzFcMQm1yR2RcTn0lpoKigW99hpkvlATzMRGGph3igcvv 8gL6jR144THBKvVht8hmMrX7y72MJpfBK9jQBxWImuP5V3ncp2ogXDn4Pk7fZt/RiYw5 Vfh+BOHA2BdhNYVQcKv3rWUmMORzOaK84TCxGmYszgTY6zBivuj4GjAzkvL0IS0yrdNx s9nl+xaSDkco7UCq+JuxgW5mHiL6QZ9kOrKc81bEfUqyL+iak6wImvlYVqcH/7APh75C fMBibO0jguwLA4u6/g96zLbmPouJmvPAVQCCEygUv8SjT+H5NtLiVmRXrJvuea29 PartialDigest QAAAAHgxAQBckh4cpHs3zod5WjKkkM0FX1mibQ== Received SHSH blobs Using cached filesystem from 'iPhone5,3_8.1.3_12B466_Restore/058-12070-017.dmg' Sending APTicket (2735 bytes) DEBUG: tss_response_get_path_by_entry: No entry 'iBEC' in TSS response NOTE: No path for component iBEC in TSS, will fetch from build_identity Extracting iBEC.n48.RELEASE.dfu... DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response DEBUG: tss_response_get_blob_by_entry: No entry 'iBEC' in TSS response NOTE: No SHSH blob found for component iBEC Not personalizing component iBEC... Writing data to iBEC Sending iBEC (291212 bytes)... opening device 05ac:1281... irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:8317338184F46768BA08FFD4380929A6BBA63928 found device with ECID 00000015c21e8df3 Setting to configuration 1 Setting to interface 0:0 Getting ApNonce in recovery mode... 83 17 33 81 84 f4 67 68 ba 08 ff d4 38 09 29 a6 bb a6 39 28 Sending APTicket (2735 bytes) Recovery Mode Environment: iBoot build-version=iBoot-2261.3.33 iBoot build-style=RELEASE Sending AppleLogo... DEBUG: tss_response_get_path_by_entry: No entry 'AppleLogo' in TSS response NOTE: No path for component AppleLogo in TSS, will fetch from build_identity Extracting applelogo@2x~iphone.s5l8950x.img3... DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response DEBUG: tss_response_get_blob_by_entry: No entry 'AppleLogo' in TSS response NOTE: No SHSH blob found for component AppleLogo Not personalizing component AppleLogo... Writing data to AppleLogo Sending AppleLogo (6796 bytes)... DEBUG: tss_response_get_path_by_entry: No entry 'RestoreRamDisk' in TSS response NOTE: No path for component RestoreRamDisk in TSS, will fetch from build_identity Extracting 058-11793-017.dmg... DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreRamDisk' in TSS response NOTE: No SHSH blob found for component RestoreRamDisk Not personalizing component RestoreRamDisk... Writing data to RestoreRamDisk Sending RestoreRamDisk (15290636 bytes)... DEBUG: tss_response_get_path_by_entry: No entry 'RestoreDeviceTree' in TSS response NOTE: No path for component RestoreDeviceTree in TSS, will fetch from build_identity Extracting DeviceTree.n48ap.img3... DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreDeviceTree' in TSS response NOTE: No SHSH blob found for component RestoreDeviceTree Not personalizing component RestoreDeviceTree... Writing data to RestoreDeviceTree Sending RestoreDeviceTree (87884 bytes)... DEBUG: tss_response_get_path_by_entry: No entry 'RestoreKernelCache' in TSS response NOTE: No path for component RestoreKernelCache in TSS, will fetch from build_identity Extracting kernelcache.release.n48... DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreKernelCache' in TSS response NOTE: No SHSH blob found for component RestoreKernelCache Not personalizing component RestoreKernelCache... Writing data to RestoreKernelCache Sending RestoreKernelCache (9260300 bytes)... About to restore device... Waiting for device...

ERROR: Unable to connect to device in restore mode
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

Undefined Reference Compiler Error

test@test:/lib/idevicerestore$ make
make all-recursive
make[1]: Entering directory /home/test/lib/idevicerestore' Making all in src make[2]: Entering directory/home/test/lib/idevicerestore/src'
CCLD idevicerestore
idevicerestore-idevicerestore.o: In function idevicerestore_start': /home/test/lib/idevicerestore/src/idevicerestore.c:715: warning: the use oftempnam' is dangerous, better use mkstemp' idevicerestore-dfu.o: In functiondfu_enter_recovery':
/home/test/lib/idevicerestore/src/dfu.c:358: undefined reference to irecv_usb_control_transfer' /home/test/lib/idevicerestore/src/dfu.c:427: undefined reference toirecv_usb_control_transfer'
idevicerestore-recovery.o: In function recovery_send_ibec': /home/test/lib/idevicerestore/src/recovery.c:334: undefined reference toirecv_usb_control_transfer'
idevicerestore-recovery.o: In function recovery_send_kernelcache': /home/test/lib/idevicerestore/src/recovery.c:440: undefined reference toirecv_usb_control_transfer'
idevicerestore-limera1n.o: In function limera1n_exploit': /home/test/lib/idevicerestore/src/limera1n.c:109: undefined reference toirecv_usb_control_transfer'
idevicerestore-limera1n.o:/home/test/lib/idevicerestore/src/limera1n.c:113: more undefined references to irecv_usb_control_transfer' follow collect2: error: ld returned 1 exit status make[2]: *** [idevicerestore] Error 1 make[2]: Leaving directory/home/test/lib/idevicerestore/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/lib/idevicerestore'
make: *** [all] Error 2
test@test:
/lib/idevicerestore$

iOS upgrade fail

with the new iOS upgrade for iPhones I tried updating my iPhone4 using the current version of idevicerestore. It was not able to use the apple ipsw file online.

mynotebook@home:~$ sudo idevicerestore -l -n
NOTE: Updated version data.
Found device in Recovery mode
Identified device as iPhone3,1
Latest firmware is iPhone3,1_7.0.4_11B554a_Restore.ipsw
WARNING: Could not lock file 'cache/iPhone3,1_7.0.4_11B554a_Restore.ipsw.lock'
Downloading latest firmware (http://appldnld.apple.com/iOS7/031-1831.20131114.P3wE4/iPhone3,1_7.0.4_11B554a_Restore.ipsw)
ERROR: cannot open 'cache/iPhone3,1_7.0.4_11B554a_Restore.ipsw' for writing

Verifying 'cache/iPhone3,1_7.0.4_11B554a_Restore.ipsw'...
ERROR: Can't open 'cache/iPhone3,1_7.0.4_11B554a_Restore.ipsw' for checksum verification
WARNING: Could not unlock file 'cache/iPhone3,1_7.0.4_11B554a_Restore.ipsw.lock'

So I downloaded the file which was successfully identified and entered it in idevicerestore manually

mynotebook@home:~$ sudo idevicerestore ./Downloads/iPhone3,1_7.0.4_11B554a_Restore.ipsw -C ./Documents/miPhone/backup -d
Reading data from ./Documents/miPhone/backup/version.xml
NOTE: using cached version data
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
Found device in Recovery mode
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
Identified device as iPhone3,1
Extracting BuildManifest from IPSW
Product Version: 7.0.4
Product Build: 11B554a Major: 11
Variant: Customer Upgrade Install (IPSW)
This restore will update your device without losing data.
Getting device's ECID for TSS request
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
INFO: device serial number is DNPH9ANCDPMW
Found ECID 932142568944
irecv_get_nonce: got length: 46
irecv_get_nonce: buf=' NONC:A75D6597C313AD39C5FCC06C0F2B2157503D230E'
Getting nonce in recovery mode... a7 5d 65 97 c3 13 ad 39 c5 fc c0 6c 0f 2b 21 57 50 3d 23 0e 
Trying to fetch new SHSH blob
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>@APTicket</key>
    <true/>
    <key>@BBTicket</key>
    <true/>
    <key>@HostIpAddress</key>
    <string>192.168.0.1</string>
    <key>@HostPlatformInfo</key>
    <string>mac</string>
    <key>@Locality</key>
    <string>en_US</string>
    <key>@UUID</key>
    <string>0662206F-22C4-5251-E02B-9CD8F43B3249</string>
    <key>@VersionInfo</key>
    <string>libauthinstall-107.3</string>
    <key>ApBoardID</key>
    <integer>0</integer>
    <key>ApChipID</key>
    <integer>35120</integer>
    <key>ApECID</key>
    <string>932142568944</string>
    <key>ApNonce</key>
    <data>
    p11ll8MTrTnF/MBsDyshV1A9Iw4=
    </data>
    <key>ApProductionMode</key>
    <true/>
    <key>ApSecurityDomain</key>
    <integer>1</integer>
    <key>UniqueBuildID</key>
    <data>
    dnbEun6qml3Ht9wEFe61G0l51H8=
    </data>
    <key>AppleLogo</key>
    <dict>
        <key>Digest</key>
        <data>
        WAwYkbezsxwIO2eIFWH0yjou2VM=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/applelogo@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryCharging0</key>
    <dict>
        <key>Digest</key>
        <data>
        1IwWshfxyC/6zYiyhK0cUP2lePI=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/batterycharging0@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryCharging1</key>
    <dict>
        <key>Digest</key>
        <data>
        vu1wl0d+CP0E6YclItpiTR8dGuA=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/batterycharging1@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryFull</key>
    <dict>
        <key>Digest</key>
        <data>
        zO41YCgdeUfyE9u1ftcoFBBgKJc=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/batteryfull@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryLow0</key>
    <dict>
        <key>Digest</key>
        <data>
        +C8oqNE1LH1n5gAT0wLNkloVdto=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/batterylow0@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryLow1</key>
    <dict>
        <key>Digest</key>
        <data>
        CCUqyrzpfhEVR4C0rMMAlXnHeHY=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/batterylow1@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryPlugin</key>
    <dict>
        <key>Digest</key>
        <data>
        f2FjTtBJqdvrYm7OjvoYDD52dN8=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/glyphplugin@2x~iphone-30pin.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>DeviceTree</key>
    <dict>
        <key>Digest</key>
        <data>
        yzqhDnT7METsMAFVst/AJcR8Hok=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/DeviceTree.n90ap.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>KernelCache</key>
    <dict>
        <key>Digest</key>
        <data>
        q3Zc4oekFqUR3bfuwTzA6lgdhFk=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>kernelcache.release.n90</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>LLB</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.3.5~1</string>
        <key>Digest</key>
        <data>
        Rumje8QKcGN1S+rZTcKl8Y909Vg=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/LLB.n90ap.RELEASE.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>DPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAgBkZcTPhzves4TdCd4y+doZclVsPA==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>OS</key>
    <dict>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>058-1139-002.dmg</string>
        </dict>
    </dict>
    <key>RecoveryMode</key>
    <dict>
        <key>Digest</key>
        <data>
        +Er8G3rOWSRoOpvnZj1Rk5VFHy0=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/recoverymode@2x~iphone-30pin.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreDeviceTree</key>
    <dict>
        <key>Digest</key>
        <data>
        yzqhDnT7METsMAFVst/AJcR8Hok=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/DeviceTree.n90ap.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreKernelCache</key>
    <dict>
        <key>Digest</key>
        <data>
        q3Zc4oekFqUR3bfuwTzA6lgdhFk=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>kernelcache.release.n90</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreLogo</key>
    <dict>
        <key>Digest</key>
        <data>
        WAwYkbezsxwIO2eIFWH0yjou2VM=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/applelogo@2x~iphone.s5l8930x.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreRamDisk</key>
    <dict>
        <key>Digest</key>
        <data>
        Ff/ui6GMrqE4VidF1pqDIDN/ycE=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>058-1086-002.dmg</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBEC</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.3.5~1</string>
        <key>Digest</key>
        <data>
        q/BDuhyEOLr/mpM1sniC1A67aKI=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>Firmware/dfu/iBEC.n90ap.RELEASE.dfu</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>PartialDigest</key>
        <data>
        QAAAAHhRBACYY3BhlUrNVfvl04cyL3By98adsQ==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBSS</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.3.5~1</string>
        <key>Digest</key>
        <data>
        DC/KIxBIW/bftRE+Zbp7Q2Ur2xI=
        </data>
        <key>Info</key>
        <dict>
            <key>Path</key>
            <string>Firmware/dfu/iBSS.n90ap.RELEASE.dfu</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>DPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApCurrentProductionMode</key>
                        <true/>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApInRomDFU</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAQA8oNxEr0DUxJTsKtjOpzb6x/I0Uw==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBoot</key>
    <dict>
        <key>Digest</key>
        <data>
        fchpiITru577zs1Zq/97HLb3t+A=
        </data>
        <key>Info</key>
        <dict>
            <key>IsFirmwarePayload</key>
            <true/>
            <key>Path</key>
            <string>Firmware/all_flash/all_flash.n90ap.production/iBoot.n90ap.RELEASE.img3</string>
            <key>RestoreRequestRules</key>
            <array>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>EPRO</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApDemotionPolicyOverride</key>
                        <string>Demote</string>
                        <key>ApRawProductionMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <false/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <false/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
                <dict>
                    <key>Actions</key>
                    <dict>
                        <key>ESEC</key>
                        <true/>
                    </dict>
                    <key>Conditions</key>
                    <dict>
                        <key>ApRawSecurityMode</key>
                        <true/>
                        <key>ApRequiresImage4</key>
                        <true/>
                    </dict>
                </dict>
            </array>
        </dict>
        <key>Trusted</key>
        <true/>
    </dict>
</dict>
</plist>
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>@ServerVersion</key>
    <string>2.1.0</string>
    <key>APTicket</key>
    <data>
    MIIKpTALBgkqhkiG9w0BAQUxggKxgQjw1QYI2QAAAIIEMIkAAIMEAAAAAIQEAQAAAIUE
    AQAAAIYQaUJvb3QtMTk0MC4zLjV+MYcUfchpiITru577zs1Zq/97HLb3t+CIFFgMGJG3
    s7McCDtniBVh9Mo6LtlTiRTLOqEOdPswROwwAVWy38AlxHweiYoUq3Zc4oekFqUR3bfu
    wTzA6lgdhFmNFH9hY07QSanb62Juzo76GAw+dnTfjhT4Lyio0TUsfWfmABPTAs2SWhV2
    2o8UCCUqyrzpfhEVR4C0rMMAlXnHeHaQFPhK/Bt6zlkkaDqb52Y9UZOVRR8tkhSnXWWX
    wxOtOcX8wGwPKyFXUD0jDpQQaUJvb3QtMTk0MC4zLjV+MZYQaUJvb3QtMTk0MC4zLjV+
    MZcUWAwYkbezsxwIO2eIFWH0yjou2VOYFMs6oQ50+zBE7DABVbLfwCXEfB6JmRSrdlzi
    h6QWpRHdt+7BPMDqWB2EWZoUFf/ui6GMrqE4VidF1pqDIDN/ycGcFOb/6PVGaaome3J6
    n3CT2cwhK6DSnzAEAQAAAJ8xBAEAAACfMgQBAAAAnzMEAQAAAJ82BAEAAACfNwQBAAAA
    nzgEAQAAAJ85BAEAAACfOwQBAAAAnzwEAQAAAJ89BAEAAACfPgQBAAAAn0sUg60UIUTQ
    bedlwxLic2GNV1kGm4GfThTUjBayF/HIL/rNiLKErRxQ/aV48p9PFL7tcJdHfgj9BOmH
    JSLaYk0fHRrgn1AUzO41YCgdeUfyE9u1ftcoFBBgKJefVAQBAAAAn1UEAQAAAJ9WBAEA
    AACfgWQURumje8QKcGN1S+rZTcKl8Y909VifgWUUDC/KIxBIW/bftRE+Zbp7Q2Ur2xKf
    gWYUq/BDuhyEOLr/mpM1sniC1A67aKKfgWcEAQAAAJ+BaAQBAAAAn4FpBAEAAAAEgYAD
    3aSwUiXqzjczn1U9F7EC1xPoZxg9IfuXhiTRCo9gHsJiQhWPlNTdEYHgrf6AmEuarhsR
    d5Z+1IfOwp1rp/sgM39FjWdVHbZUrZua0pSt763TjKKemiiS20ps8aWeO1qOZX23Gllo
    LuM8sbGaERreiGPQI5gQlwKEUE/GZYVA8qGCB1wwggP4MIIC4KADAgECAgEQMA0GCSqG
    SIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYD
    VQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUg
    Um9vdCBDQTAeFw0wNzAxMDUxOTIxNTlaFw0yMjAxMDUxOTIxNTlaMH4xCzAJBgNVBAYT
    AlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0
    aW9uIEF1dGhvcml0eTEyMDAGA1UEAxMpQXBwbGUgU2VjdXJlIEJvb3QgQ2VydGlmaWNh
    dGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQD+8t3a
    ZTmwcuMDhIH0VsnRoUq7yAQB80YNleE3lQppR8bEjHk+R1UGsgYU636k9SP+QjWY7zQF
    zprTrZTQog/C0rQESEwjWlvHC51i0/PjaxD+lwhXxhJ2dxmyxsMsmO23KYfk3Bi25fO6
    E/uytrdn2cvfb6WTPe16k2e0/TQW5ACrC7dOH1rWA2g+crYUMDoMZJegRiJ5G3csWy6Q
    4BHcFqPhyPeEsk/cSzoK1RJ+3BE/+hFzZRpJcKB+dYK0PCsvVd8wiLF1TUXcBygtSjqF
    /Z+VPiK6nEb3t2h7s5TVQj4Fszj4Z3lIjGwfi77u7VQF1aMLWH14DySpodwKdOr3AgMB
    AAGjgZwwgZkwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE
    FEk9NlPJ1xXhhmFOrKurGFZjXcPGMB8GA1UdIwQYMBaAFCvQaUeUdgn+9GuNLkCm90dN
    fwheMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2Ev
    cm9vdC5jcmwwDQYJKoZIhvcNAQEFBQADggEBADTFDMUOWREvpsKfMnjnZDJp263CJcq3
    R4O3kjxxU6CyrTCVgFC9bV9M3M54DUxJEFA4EDW/RYGsZlgsISP4ll6A6dPGTP2Frjlh
    9iiqRO0Vmz9HwFesZxyMzdSTjU/balSne0JbD5nG1zirUqehgx2FMHTqDR3aaISP4oR+
    y7lBbtWfqEK1/zO2cX/qo7ndSQNghXYQPo6o4TbjEt2FbO1mU7BbSJsvf/bKHPBdmC10
    rfBIR8XhmmeyIg+wDgKg4bpqYrm0tXH0JeGz5aDtyBpAtfgxFQWkXDgjTJCdRwOAgNQy
    kEWPD6+b/ALu7cvmMfafFeZ9K1dDDuIPoaCtidowggNcMIICRKADAgECAgIBHzANBgkq
    hkiG9w0BAQUFADB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQG
    A1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAwBgNVBAMTKUFwcGxl
    IFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTExMDUyMDIzMjM0
    OFoXDTIxMDUyMDIzMjM0OFowYjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIElu
    Yy4xDDAKBgNVBAsTA0VUUzEwMC4GA1UEAxMnSDNQLURhcndpbi1Qcm9kLUNFUE8xLVRp
    Y2tldC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDyArUaV14
    uKiovUc9eKizLW581k9IMoa+t6I1OhTuFa49i35be9RtnA6TjUwl83yjONPEX0ii2gak
    1vVqm56PYcjAxkS15BqUmOHrqR2n0Iyna1wFmiqIt4cK4xazx5OGFyGTZ+wMlKG85z+0
    /0gidE2K+trJxJ2gassgr5yNJwIDAQABo4GDMIGAMAsGA1UdDwQEAwIHgDAdBgNVHQ4E
    FgQUbQKH4gegZQ1Y3mKMkZ5/mbkqk58wHwYDVR0jBBgwFoAUST02U8nXFeGGYU6sq6sY
    VmNdw8YwMQYKKoZIhvdjZAYBCwEB/wQgMB6hHDEaggQwiQAAhAQBAAAAhQQBAAAAn4Fr
    BAEAAAAwDQYJKoZIhvcNAQEFBQADggEBAP5nNvrOw7PGLaSKy+e2wvxrx6jK581dRIAC
    G4L/mnYlAMpuyyMA46rcQdOIIs5+8/8T2g3am3fW/0kECuAfV/FFHZbT2RC6cUHGFRXA
    JHPnLC+MRAGjk0th1lAmGcXfq7Ku+JTSkVkSyBCoQn/UiK1OcxBFbcETvj+YQTdB8HfI
    lXGex2tQQ6RuFD3FwcVvyTx5uMTtaOJIcgloBmPeoboPK3bBeLdFymOUI838PU4apJ/9
    2c6EYnAlsNOOrsb9VDOZDZmOd21TLBtzKL19L8WDFzb2cST2Z9eOZ4fACXMjMfMTujX+
    ONFPQITyCZzTY0GNDvItC1uKLSEXbHL5rls=
    </data>
    <key>LLB</key>
    <dict>
        <key>Blob</key>
        <data>
        RElDRUAAAAAIAAAA8NUGCNkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAD5ewxlzDfoZDfMrfkdl7sNJ/VLp1G/FdfKr
        FsBSi5YFelc0IKWR09JEExAO9NW1mhHXuKQ36+Yl1oDUU+PXRK0ptMQVGloS5o4ljo1F
        Bt5kOYK7d/wzTkteJKP/MBuzLaYpLhU7e3vRUqMMbUiy6pidES+H05Oz9RyD81VMy8Uv
        VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
        VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
        aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
        MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
        bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
        BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
        IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
        AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
        xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
        tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
        ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
        BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
        /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
        Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
        KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
        DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
        TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
        k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
        3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
        amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
        fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
        A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
        ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
        aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
        MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
        IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
        AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
        3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
        vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
        MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
        BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
        RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
        QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
        ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
        vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
        WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
        iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
        rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAgBkZcTPhzves4TdCd4y+doZclVsPA==
        </data>
        <key>Path</key>
        <string>Firmware/all_flash/all_flash.n90ap.production/LLB.n90ap.RELEASE.img3</string>
    </dict>
    <key>iBSS</key>
    <dict>
        <key>Blob</key>
        <data>
        RElDRUAAAAAIAAAA8NUGCNkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAEUPppx1x7HUJakzECXI5neh8Q6H1eMR9fsX
        zTRNigPMHN0oR6FRsJ5258xBSXn8ewSxvMNOIRABn7Hi+Fy5FmqnlK+NXTYNF2uSaKSv
        8ZAcayd1nKReNvOwRWYLjuvzQWsLAYn/HTGOnvCKgoFhF054LqeDrhKDiJ9AMX0y8/cv
        VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
        VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
        aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
        MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
        bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
        BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
        IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
        AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
        xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
        tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
        ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
        BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
        /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
        Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
        KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
        DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
        TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
        k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
        3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
        amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
        fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
        A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
        ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
        aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
        MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
        IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
        AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
        3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
        vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
        MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
        BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
        RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
        QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
        ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
        vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
        WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
        iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
        rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAQA8oNxEr0DUxJTsKtjOpzb6x/I0Uw==
        </data>
        <key>Path</key>
        <string>Firmware/dfu/iBSS.n90ap.RELEASE.dfu</string>
    </dict>
    <key>iBEC</key>
    <dict>
        <key>Blob</key>
        <data>
        RElDRUAAAAAIAAAA8NUGCNkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAJu3RB3L6vBXxzJvXbqN2tVYTn3P7dLDcBd6
        GAJMP6clHE/szmFJlmG0g2U04uH63L0JxmUAnS2d/6CFq35MTquqowme3Kk5Kum16tny
        qWF9bLOzEqNQMUq7n7nb9oH7PE1iNo7BrFobj3Oa2GVWLZwDj1HQyIEm31ByOz7BevBk
        VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
        VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
        aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
        MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
        bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
        BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
        IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
        AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
        xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
        tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
        ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
        BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
        /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
        Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
        KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
        DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
        TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
        k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
        3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
        amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
        fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
        A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
        ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
        aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
        MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
        IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
        AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
        3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
        vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
        MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
        BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
        RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
        QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
        ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
        vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
        WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
        iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
        rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHhRBACYY3BhlUrNVfvl04cyL3By98adsQ==
        </data>
        <key>Path</key>
        <string>Firmware/dfu/iBEC.n90ap.RELEASE.dfu</string>
    </dict>
</dict>
</plist>
Received SHSH blobs
Using cached filesystem from './Documents/miPhone/backup/iPhone3,1_7.0.4_11B554a_Restore/058-1139-002.dmg'
Sending APTicket (2729 bytes)
Extracting iBEC.n90ap.RELEASE.dfu...
Parsed TYPE element
Parsed DATA element
Parsed VERS element
Parsed SEPO element
Parsed CHIP element
Parsed BORD element
Parsed KBAG element
Parsed KBAG element
Personalizing component iBEC.n90ap.RELEASE.dfu...
reconstructed size: 285145
Writing data to iBEC.n90ap.RELEASE.dfu
Sending iBEC (285145 bytes)...
opening device 05ac:1281...
found device with ECID 000000d90806d5f0
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
irecv_get_nonce: got length: 46
irecv_get_nonce: buf=' NONC:A75D6597C313AD39C5FCC06C0F2B2157503D230E'
Getting nonce in recovery mode... a7 5d 65 97 c3 13 ad 39 c5 fc c0 6c 0f 2b 21 57 50 3d 23 0e 
Sending APTicket (2729 bytes)
Recovery Mode Environment:
iBoot build-version=iBoot-1940.3.5
iBoot build-style=RELEASE
Sending AppleLogo...
ERROR: Unable to find AppleLogo entry in TSS response
NOTE: No path for component AppleLogo in TSS, will fetch from build_identity
Extracting applelogo@2x~iphone.s5l8930x.img3...
ERROR: Unable to find AppleLogo entry in TSS response
NOTE: No SHSH blob found for TSS entry applelogo@2x~iphone.s5l8930x.img3 from component AppleLogo
Not personalizing component applelogo@2x~iphone.s5l8930x.img3...
Writing data to applelogo@2x~iphone.s5l8930x.img3
Sending AppleLogo (6796 bytes)...
ERROR: Unable to find RestoreRamDisk entry in TSS response
NOTE: No path for component RestoreRamDisk in TSS, will fetch from build_identity
Extracting 058-1086-002.dmg...
ERROR: Unable to find RestoreRamDisk entry in TSS response
NOTE: No SHSH blob found for TSS entry 058-1086-002.dmg from component RestoreRamDisk
Not personalizing component 058-1086-002.dmg...
Writing data to 058-1086-002.dmg
Sending RestoreRamDisk (9568524 bytes)...
ERROR: Unable to find RestoreDeviceTree entry in TSS response
NOTE: No path for component RestoreDeviceTree in TSS, will fetch from build_identity
Extracting DeviceTree.n90ap.img3...
ERROR: Unable to find RestoreDeviceTree entry in TSS response
NOTE: No SHSH blob found for TSS entry DeviceTree.n90ap.img3 from component RestoreDeviceTree
Not personalizing component DeviceTree.n90ap.img3...
Writing data to DeviceTree.n90ap.img3
Sending RestoreDeviceTree (74636 bytes)...
ERROR: Unable to find RestoreKernelCache entry in TSS response
NOTE: No path for component RestoreKernelCache in TSS, will fetch from build_identity
Extracting kernelcache.release.n90...
ERROR: Unable to find RestoreKernelCache entry in TSS response
NOTE: No SHSH blob found for TSS entry kernelcache.release.n90 from component RestoreKernelCache
Not personalizing component kernelcache.release.n90...
Writing data to kernelcache.release.n90
Sending RestoreKernelCache (8090444 bytes)...
About to restore device... 
Waiting for device...
Attempt 1 to connect to restore mode device...
Attempt 2 to connect to restore mode device...
Attempt 3 to connect to restore mode device...
Attempt 4 to connect to restore mode device...
restore_is_current_device: Connected to com.apple.mobile.restored, version 13
Attempt 5 to connect to restore mode device...
Device is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 13
Device has successfully entered restore mode
Hardware Information:
BoardID: 0
ChipID: 35120
UniqueChipID: 932142568944
ProductionMode: true
Previous restore exit status: 0x100
Partition NAND device (28)
Waiting for device (33)
No data to read
Checking filesystems (16)
Got status message
Status: Failed to mount filesystems.
Log is available:

display-scale = 2
display-rotation = 0
found applelogo at /usr/share/progressui/[email protected]
found display: primary
display: 640 x 960
[FTL:MSG] FTL_Open            [OK]
[NAND] _publishServices:642 FTL capabilities: 0x00000000
[nand_part_core:INF@ 157] published partition 0
[nand_part_core:INF@ 157] published partition 1
[nand_part_core:INF@ 157] published partition 2
[nand_part_core:INF@ 157] published partition 3
[nand_part_core:INF@ 157] published partition 5
[nand_part_core:INF@ 157] published partition 6
found PTP interface
AppleSynopsysOTGDevice - Configuration: PTP
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice - Configuration: iPod USB Interface
AppleSynopsysOTGDevice          Interface: USBAudioControl
AppleSynopsysOTGDevice          Interface: USBAudioStreaming
AppleSynopsysOTGDevice          Interface: IapOverUsbHid
AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice          Interface: AppleUSBMux
AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device + Apple USB Ethernet
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice          Interface: AppleUSBMux
AppleSynopsysOTGDevice          Interface: AppleUSBEthernet
AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioControl
AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioStreaming
IOAccessoryPortUSB::start
AppleSynopsysOTGDevice::gated_registerFunction Register function IapOverUsbHid
virtual bool AppleUSBDeviceMux::start(IOService *) build: Sep 27 2013 23:30:36
init_waste
AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux
AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBEthernet
AppleSynopsysOTGDevice::gated_registerFunction Register function PTP
AppleSynopsysOTGDevice::startUSBStack Starting usb stack
[effaceable:INIT] found current generation, 53, in group 0
[effaceable:INIT] started
[effaceable:INIT] started
IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject *) setting debug level to 7
AppleSynopsysOTGDevice::stallBadSetupRequest request: a2 81 0100 0081 0003
AppleSynopsysOTGDevice::stallBadSetupRequest request: 21 0a 0000 0002 0000
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0101 0002 0006
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0102 0002 000a
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0103 0002 000e
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0104 0002 0012
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0105 0002 001a
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0106 0002 0032
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0107 0002 0060
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0108 0002 00c2
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 0109 0002 0102
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 010a 0002 0182
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 010b 0002 0202
AppleSynopsysOTGDevice::stallBadSetupRequest request: a1 01 010c 0002 0300
AppleUSBDeviceMux::handleConnectResult new session 0x8e02d528 established 62078<-lo0->49152 62078<-usb->1
AppleUSBDeviceMux::handleConnectResult new session 0x8e02d478 established 62078<-lo0->49153 62078<-usb->2
AppleUSBDeviceMux::handleConnectResult new session 0x8e02d420 established 62078<-lo0->49154 62078<-usb->3
unrecognized request 'GetValue'
void AppleUSBDeviceMux::sendMuxSegment(struct BulkUSBMuxSession *) connection was closed (0x8e02d478)
unrecognized request 'ValidatePair'
AppleUSBDeviceMux::handleConnectResult new session 0x8e02d478 established 62078<-lo0->49155 62078<-usb->4
unrecognized request 'ValidatePair'
AppleUSBDeviceMux::handleConnectResult new session 0x8e02d3c8 established 62078<-lo0->49156 62078<-usb->5
client protocol version 13
*** UUID BC610F67-1D67-7D64-20D7-485D08236517 ***
Restore options:
    UUID                           => <CFString 0x15537170 [0x3b9ae0]>{contents = "BC610F67-1D67-7D64-20D7-485D08236517"}
    MinimumSystemPartition         => <CFNumber 0x15536f10 [0x3b9ae0]>{value = +1512, type = kCFNumberSInt64Type}
    SystemPartitionSize            => <CFNumber 0x15536d40 [0x3b9ae0]>{value = +1512, type = kCFNumberSInt64Type}
    SystemPartitionPadding         => <CFBasicHash 0x15536a70 [0x3b9ae0]>{type = mutable dict, count = 5,
entries =>
    2 : <CFString 0x155371d0 [0x3b9ae0]>{contents = "128"} = <CFNumber 0x155370f0 [0x3b9ae0]>{value = +1280, type = kCFNumberSInt64Type}
    3 : <CFString 0x15537120 [0x3b9ae0]>{contents = "16"} = <CFNumber 0x155368f0 [0x3b9ae0]>{value = +160, type = kCFNumberSInt64Type}
    4 : <CFString 0x15536810 [0x3b9ae0]>{contents = "32"} = <CFNumber 0x155367d0 [0x3b9ae0]>{value = +320, type = kCFNumberSInt64Type}
    5 : <CFString 0x15536db0 [0x3b9ae0]>{contents = "8"} = <CFNumber 0x15536d30 [0x3b9ae0]>{value = +80, type = kCFNumberSInt64Type}
    8 : <CFString 0x155367e0 [0x3b9ae0]>{contents = "64"} = <CFNumber 0x15536720 [0x3b9ae0]>{value = +640, type = kCFNumberSInt64Type}
}

entering load_sep_os
device has no sep
entering partition_nand_device
device supports boot-from-NAND
nand device is already partitioned
entering wait_for_storage_device
Searching for NAND service
Found NAND service: IOFlashStoragePartition
NAND initialized. Waiting for devnode.
entering clear_remap_variable
executing /usr/sbin/nvram
entering format_effaceable_storage
effaceable storage is formatted, nothing to do
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
executing /sbin/fsck_hfs
volumeType is 0
0000:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
01f0:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
** /dev/rdisk0s1s1
   Executing fsck_hfs (version hfs-227).
fsck failed on /dev/disk0s1s1
skipping check for restore log due to old host software
entering clean_NAND
entering format_storage_for_LwVM
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
entering check_for_suspicious_partitions
executing /sbin/fsck_hfs
unrecognized request 'GetValue'
void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x8e02d420
void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x8e02d478
** /dev/rdisk0s1s2
   Executing fsck_hfs (version hfs-227).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
   The volume name is Data
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Data appears to be OK.
executing /sbin/mount_hfs
/dev/disk0s1s2 mounted on /mnt1
entering mount_filesystems
executing /sbin/fsck_hfs
volumeType is 0
0000:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
01f0:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
** /dev/rdisk0s1s1
   Executing fsck_hfs (version hfs-227).
fsck failed on /dev/disk0s1s1
Failed to mount filesystems for resizing
ERROR: Unable to successfully restore device
No data to read
ERROR: Unable to restore device
mynotebook@home:~$ ~

There seems to be some upgrading, but mounting fails and iPhone freezes in the connect-to-iTunes screen. I cannot even restore it by

mynotebook@home:~$ sudo irecovery -v -m
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
Connected to iPhone3,1, model n90ap, cpid 0x8930, bdid 0x00
Recovery Mode
mynotebook@home:~$ sudo irecovery -v -n
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Setting to interface 1:1
Connected to iPhone3,1, model n90ap, cpid 0x8930, bdid 0x00
Command completed successfully

it reboots and shows the same screen as before, also not working is idevicebackup

mynotebook@home:~$ sudo idevicebackup restore ./Documents/miPhone/backup/2a527e79fed0f065c3fe1d001089ca2a954124a4/ -d
Backup directory is "./Documents/miPhone/backup/2a527e79fed0f065c3fe1d001089ca2a954124a4/"
No device found, is it plugged in?

Same result giving the UDID.
That is all information I can think of giving to you and hope it may be helpful
in order to solve the problem. As my phone is literally crippled now, I'll have to go to my provider's service store tomorrow.
My notebook is running with xubuntu,
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

Unable to get SHSH blobs

Hello, still working on my libimobiledevice msvc port and ran into another issue. This time I cant seem to get shsh blobs from apple.. the log is as follows:

NOTE: using cached version data

Found device in Normal mode

Identified device as iPhone3,1

Latest firmware is iPhone3,1_7.1.2_11D257_Restore.ipsw

Verifying 'iPhone3,1_7.1.2_11D257_Restore.ipsw'...

Checksum matches.

Extracting BuildManifest from IPSW

Product Version: 7.1.2

Product Build: 11D257 Major: 11

Device supports Image4: false

Variant: Customer Upgrade Install (IPSW)

This restore will update your device without losing data.

Getting device's ECID for TSS request

Found ECID 4308926251534

Getting ApNonce

in normal mode...

e9

99

8b

17

02

41

23

3e

fd

d0

f5

c3

ca

d3

b3

9f

9a

be

4f

48

Trying to fetch new SHSH blob

Getting SepNonce

in normal mode...

Unable to get SEPNonce from lockdownd

failed

NOTE: Unable to find BbProvisioningManifestKeyHash node

NOTE: Unable to find BbActivationManifestKeyHash node

NOTE: Unable to find BbCalibrationManifestKeyHash node

NOTE: Unable to find BbFactoryActivationManifestKeyHash node

DEBUG: Applying restore request rules for entry AppleLogo

DEBUG: Applying restore request rules for entry BatteryCharging0

DEBUG: Applying restore request rules for entry BatteryCharging1

DEBUG: Applying restore request rules for entry BatteryFull

DEBUG: Applying restore request rules for entry BatteryLow0

DEBUG: Applying restore request rules for entry BatteryLow1

DEBUG: Applying restore request rules for entry BatteryPlugin

DEBUG: Applying restore request rules for entry DeviceTree

DEBUG: Applying restore request rules for entry KernelCache

DEBUG: Applying restore request rules for entry LLB

DEBUG: Applying restore request rules for entry RecoveryMode

DEBUG: Applying restore request rules for entry RestoreDeviceTree

DEBUG: Applying restore request rules for entry RestoreKernelCache

DEBUG: Applying restore request rules for entry RestoreLogo

DEBUG: Applying restore request rules for entry RestoreRamDisk

DEBUG: Applying restore request rules for entry iBEC

DEBUG: Applying restore request rules for entry iBSS

DEBUG: Applying restore request rules for entry iBoot

Request URL set to https://gs.apple.com/TSS/controller?action=2

Sending TSS request attempt 1...

Protocol https not supported or disabled in libcurl

Request URL set to https://17.171.36.30/TSS/controller?action=2

Sending TSS request attempt 2...

Protocol https not supported or disabled in libcurl

Request URL set to https://17.151.36.30/TSS/controller?action=2

Sending TSS request attempt 3...

Protocol https not supported or disabled in libcurl

Request URL set to http://gs.apple.com/TSS/controller?action=2

Sending TSS request attempt 4...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to http://17.171.36.30/TSS/controller?action=2

Sending TSS request attempt 5...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to http://17.151.36.30/TSS/controller?action=2

Sending TSS request attempt 6...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://gs.apple.com/TSS/controller?action=2

Sending TSS request attempt 7...

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://17.171.36.30/TSS/controller?action=2

Sending TSS request attempt 8...

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://17.151.36.30/TSS/controller?action=2

Sending TSS request attempt 9...

ERROR: tss_send_request: Unhandled status code 30

Request URL set to http://gs.apple.com/TSS/controller?action=2

Sending TSS request attempt 10...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to http://17.171.36.30/TSS/controller?action=2

Sending TSS request attempt 11...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to http://17.151.36.30/TSS/controller?action=2

Sending TSS request attempt 12...

TSS server returned: STATUS=30&MESSAGE=An internal error occurred.

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://gs.apple.com/TSS/controller?action=2

Sending TSS request attempt 13...

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://17.171.36.30/TSS/controller?action=2

Sending TSS request attempt 14...

ERROR: tss_send_request: Unhandled status code 30

Request URL set to https://17.151.36.30/TSS/controller?action=2

Sending TSS request attempt 15...

ERROR: tss_send_request: Unhandled status code 30

ERROR: TSS request failed: Protocol https not supported or disabled in libcurl (status=30)

ERROR: Unable to send TSS request

ERROR: Unable to get SHSH blobs for this device

I used to be able to get SHSH blobs (all though broken ones) before when the request plist was doing some strange things but now that (I think) I fixed it, I keep getting this status code 30 - internal error occurred. Heres the request xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>@Locality</key>
    <string>en_US</string>
    <key>@HostPlatformInfo</key>
    <string>windows</string>
    <key>@VersionInfo</key>
    <string>libauthinstall-293.1.16</string>
    <key>@UUID</key>
    <string>B6E0935C-E655-F4CB-77E7-2059AF610152</string>
    <key>UniqueBuildID</key>
    <data>
    ZoAweJOu254heYzDcwyexPpZlj0=
    </data>
    <key>ApChipID</key>
    <integer>35120</integer>
    <key>ApBoardID</key>
    <integer>0</integer>
    <key>ApSecurityDomain</key>
    <integer>1</integer>
    <key>AppleLogo</key>
    <dict>
        <key>Digest</key>
        <data>
        BoeL5ZQl55FePoIOlkcKRzJyBCw=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryCharging0</key>
    <dict>
        <key>Digest</key>
        <data>
        jWTU/h58CMgnFpDcWgb0ySVC/2o=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryCharging1</key>
    <dict>
        <key>Digest</key>
        <data>
        +5lad4QKLB/LU1hRXhQQD7t5PRE=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryFull</key>
    <dict>
        <key>Digest</key>
        <data>
        2+2bI7GnsEBqz7jwQbDsvwxbDnk=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryLow0</key>
    <dict>
        <key>Digest</key>
        <data>
        rRd8HEJ2d39xHNnl2AQpm205CR0=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryLow1</key>
    <dict>
        <key>Digest</key>
        <data>
        HEBfgT7Y/06kbfDKZDlCnC1iD+Y=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>BatteryPlugin</key>
    <dict>
        <key>Digest</key>
        <data>
        7NNdiBmCOgaY1eZ9JeEafGY2bMw=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>DeviceTree</key>
    <dict>
        <key>Digest</key>
        <data>
        BiIKjB1zTb3TrXokZTIMeCeMx+o=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>KernelCache</key>
    <dict>
        <key>Digest</key>
        <data>
        /EqYYmZDMNg4WxyCF+vXRah0FU8=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>LLB</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.10.58~132</string>
        <key>Digest</key>
        <data>
        +b2f8XBCwkK9IpnM3GI53E9dN9w=
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAgCeYZjabpxDzEFGTlKlDXPSAgwUDw==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RecoveryMode</key>
    <dict>
        <key>Digest</key>
        <data>
        GfEvw/KI/fOYts2kWq2ZgchabOU=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreDeviceTree</key>
    <dict>
        <key>Digest</key>
        <data>
        BiIKjB1zTb3TrXokZTIMeCeMx+o=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreKernelCache</key>
    <dict>
        <key>Digest</key>
        <data>
        /EqYYmZDMNg4WxyCF+vXRah0FU8=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreLogo</key>
    <dict>
        <key>Digest</key>
        <data>
        BoeL5ZQl55FePoIOlkcKRzJyBCw=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>RestoreRamDisk</key>
    <dict>
        <key>Digest</key>
        <data>
        /Mil3Ev32o1EYeU5+mM1pEVH1pA=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBEC</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.10.58~132</string>
        <key>Digest</key>
        <data>
        lSrIQslmRLlDMqQztESnX45+reo=
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHhRBAB10/W1/jUWWaT8OuiuMU0vu83SlA==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBSS</key>
    <dict>
        <key>BuildString</key>
        <string>iBoot-1940.10.58~132</string>
        <key>Digest</key>
        <data>
        07w8NwVjOYzwAFSb82NCjoq8BXg=
        </data>
        <key>PartialDigest</key>
        <data>
        QAAAAHgBAQCrRsP9JWAj+sxIBNKJ6EVfn7BqEQ==
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>iBoot</key>
    <dict>
        <key>Digest</key>
        <data>
        bWbzddbk+IcAUH/SUvqJj3+tKCY=
        </data>
        <key>Trusted</key>
        <true/>
    </dict>
    <key>ApNonce</key>
    <data>
    6ZmLFwJBIz790PXDytOzn5q+T0g=
    </data>
    <key>@APTicket</key>
    <true/>
    <key>ApECID</key>
    <integer>4308926251534</integer>
    <key>ApProductionMode</key>
    <true/>
    <key>BbSkeyId</key>
    <data>
    l6s0rAaT9bA7+3JtTiwlTxTicKE=
    </data>
    <key>BbNonce</key>
    <data>
    cmnRkT6U72EI4ir9tbS2d3JKeWc=
    </data>
    <key>@BBTicket</key>
    <true/>
    <key>BbGoldCertId</key>
    <integer>257</integer>
    <key>BbSNUM</key>
    <data>
    oBAECQAUwcFIiMcO
    </data>
    <key>BasebandFirmware</key>
    <dict>
        <key>EBL-Digest</key>
        <data>
        imrfCpuwU21wdfD1QrdCD6zF+V4=
        </data>
        <key>FlashPSI-PartialDigest</key>
        <data>
        QAQAAMB6AAAx7SlK1gDCGspZLECtOgotjATFdw==
        </data>
        <key>FlashPSI-SecPackDigest</key>
        <data>
        aV7n5VUpvSbMWA4ImMj4R0vfpmk=
        </data>
        <key>FlashPSI-Version</key>
        <string>0x0002000d</string>
        <key>ModemStack-Digest</key>
        <data>
        ebeLNZ/4pv2VaNmLFpZEpTQNX0Q=
        </data>
        <key>ModemStack-Length</key>
        <string>0x006f7248</string>
        <key>ModemStack-SecPackDigest</key>
        <data>
        Q9DHqpgfy1IP1vi44STUTiNpnqY=
        </data>
        <key>RamPSI-PartialDigest</key>
        <data>
        QAQAAMD5AABaj5grvd5JETnsAKZKAD/cTGrVqA==
        </data>
        <key>RamPSI-Version</key>
        <string>0x0002000d</string>
    </dict>
</dict>
</plist>

I failed to find any information about the protocol so I wouldn't have a clue if its right or not. Does anybody know why this might be happening?

Restore phone to factory defaults

Is it possible to send the device back to factory defaults?
Like: Settings -> General -> Reset Settings and contents

This would be very very helpfull.

usbmuxd_get_device_list: error opening socket

Hello,

I tried to use idevicerestore but I got this error

Extracting kernelcache.release.n94
Writing data to kernelcache.release.n94
Sending RestoreKernelCache (9064396 bytes)...
[==================================================] 100.0%
About to restore device...
waiting for device...
trying to connect...
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
usbmuxd_get_device_list: error opening socket!
hm... could not connect
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

Can you help me please?any idea?

Thanks

undefined reference to `irecv_usb_control_transfer'

test@test:/lib$ git clone http://git.sukimashita.com/idevicerestore.git
Cloning into 'idevicerestore'...
remote: Counting objects: 2355, done.
remote: Compressing objects: 100% (1688/1688), done.
remote: Total 2355 (delta 1771), reused 885 (delta 658)
Receiving objects: 100% (2355/2355), 579.28 KiB | 514.00 KiB/s, done.
Resolving deltas: 100% (1771/1771), done.
Checking connectivity... done.
test@test:
/lib$ cd idevicerestore/
test@test:/lib/idevicerestore$ ./autogen.sh
libtoolize: putting auxiliary files in .'. libtoolize: linking file./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: linking filem4/libtool.m4'
libtoolize: linking file m4/ltoptions.m4' libtoolize: linking filem4/ltsugar.m4'
libtoolize: linking file m4/ltversion.m4' libtoolize: linking filem4/lt
obsolete.m4'
libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:15: installing './compile' checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/test/lib/idevicerestore/missing: Unknown--is-lightweight' option
Try `/home/test/lib/idevicerestore/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libirecovery... yes
checking for libimobiledevice... yes
checking for libplist... yes
checking for libzip... yes
checking for libcurl... yes
checking for openssl... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for native large file support... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Configuration for idevicerestore 1.0:

Install prefix: .........: /usr/local

Now type 'make' to build idevicerestore 1.0,
and then 'make install' for installation.

test@test:/lib/idevicerestore$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory /home/test/lib/idevicerestore' Making all in src make[2]: Entering directory/home/test/lib/idevicerestore/src'
CC idevicerestore-idevicerestore.o
CC idevicerestore-common.o
CC idevicerestore-tss.o
CC idevicerestore-fls.o
CC idevicerestore-mbn.o
CC idevicerestore-img3.o
CC idevicerestore-img4.o
CC idevicerestore-ipsw.o
CC idevicerestore-normal.o
CC idevicerestore-dfu.o
CC idevicerestore-recovery.o
CC idevicerestore-restore.o
CC idevicerestore-asr.o
CC idevicerestore-limera1n.o
CC idevicerestore-download.o
CC idevicerestore-locking.o
CCLD idevicerestore
idevicerestore-idevicerestore.o: In function idevicerestore_start': /home/test/lib/idevicerestore/src/idevicerestore.c:715: warning: the use oftempnam' is dangerous, better use mkstemp' idevicerestore-dfu.o: In functiondfu_enter_recovery':
/home/test/lib/idevicerestore/src/dfu.c:358: undefined reference to irecv_usb_control_transfer' /home/test/lib/idevicerestore/src/dfu.c:427: undefined reference toirecv_usb_control_transfer'
idevicerestore-recovery.o: In function recovery_send_ibec': /home/test/lib/idevicerestore/src/recovery.c:334: undefined reference toirecv_usb_control_transfer'
idevicerestore-recovery.o: In function recovery_send_kernelcache': /home/test/lib/idevicerestore/src/recovery.c:440: undefined reference toirecv_usb_control_transfer'
idevicerestore-limera1n.o: In function limera1n_exploit': /home/test/lib/idevicerestore/src/limera1n.c:109: undefined reference toirecv_usb_control_transfer'
idevicerestore-limera1n.o:/home/test/lib/idevicerestore/src/limera1n.c:113: more undefined references to irecv_usb_control_transfer' follow collect2: error: ld returned 1 exit status make[2]: *** [idevicerestore] Error 1 make[2]: Leaving directory/home/test/lib/idevicerestore/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/lib/idevicerestore'
make: *** [all] Error 2
test@test:
/lib/idevicerestore$

2nd Generation iPod Touch restore to 4.2.1 fails

4.2.1 is the latest version available for a second generation ipod touch. Also, I am using Debian Jessie.

idevicerestore -dce iPod2,1_4.2.1_8C148_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag NONC in string Apple Inc.
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string Apple Inc.
Setting to configuration 1
Setting to interface 0:0
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag NONC in string Apple Inc.
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string Apple Inc.
Setting to configuration 1
Setting to interface 0:0
Found device in DFU mode
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag NONC in string Apple Inc.
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string Apple Inc.
Setting to configuration 1
Setting to interface 0:0
ERROR: Unable to discover device type

iPhone 4s stuck in Recovery Mode whilst restoring custom firmware (iOS 7.1.2)

Hello,

I was trying to restore my iPhone 4s to iOS 7.1.2 (from 8.1) using idevicerestore and my device stuck in recovery mode.

While I am running idevicerestore it stuck on "Waiting for device..." as you can se in log below.
After timeout I got errors:
ERROR: Unable to connect to device in restore mode
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

How can I bring iPhone to Normal Mode ?
I run Ubuntu 14.10.

sudo ./idevicerestore -c iPhone4,1_7.1.2_11D257_Restore.ipsw
NOTE: using cached version data
Found device in Recovery mode
Identified device as iPhone4,1
Extracting Restore.plist from IPSW
Product Version: 7.1.2
Product Build: 11D257 Major: 11
INFO: device serial number is DNRGT5LKDTC0
Device supports Image4: false
Custom firmware requested. Disabled TSS request.
Variant: Customer Upgrade Install (IPSW)
This restore will update your device without losing data.
Using cached filesystem from 'iPhone4,1_7.1.2_11D257_Restore/058-4365-009.dmg'
Extracting iBEC.n94ap.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (278924 bytes)...
Getting ApNonce in recovery mode... 24 cd ce 04 94 02 84 f0 3e 6e d8 ee 15 33 62 37 c9 09 1b 7b
Recovery Mode Environment:
iBoot build-version=iBoot-2261.3.32
iBoot build-style=RELEASE
Sending AppleLogo...
Extracting applelogo@2x~iphone.s5l8940x.img3...
Not personalizing component AppleLogo...
Sending AppleLogo (6796 bytes)...
Extracting 058-4442-009.dmg...
Not personalizing component RestoreRamDisk...
Sending RestoreRamDisk (9584908 bytes)...
Extracting DeviceTree.n94ap.img3...
Not personalizing component RestoreDeviceTree...
Sending RestoreDeviceTree (81164 bytes)...
Extracting kernelcache.release.n94...
Not personalizing component RestoreKernelCache...
Sending RestoreKernelCache (8435788 bytes)...
About to restore device...
Waiting for device...
ERROR: Unable to connect to device in restore mode
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

Update COPYING to include LGPL2.1

Hi,

All copyright notices in the source files in this repository refer to LGPL2.1 (or later), and state that a version of LGPL2.1 should be included with the software

The COPYING includes the text of LGPL3.

Could you update that?

Unable to place device into recovery mode from DFU mode

Hello

Please I am blocked , I am not able to restore my Ipod

ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode

What can I do ?

Thanks

Log .
C:\Users\LARBI\Desktop\libi>idevicerestore.exe -u --udid iPod5,1_8.4.1_12H321_Restore.ipsw
NOTE: using cached version data
Found device in DFU mode
Identified device as iPod5,1
Extracting BuildManifest from IPSW
Product Version: 8.4.1
Product Build: 12H321 Major: 12
Device supports Image4: false
Variant: Customer Upgrade Install (IPSW)
This restore will update your device without losing data.
Found ECID 2354078594378
Getting ApNonce in dfu mode... b7 0e b7 36 e0 3a 48 7d
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode...
WARNING: Unable to find BbChipID node
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Using cached filesystem from 'iPod5,1_8.4.1_12H321_Restore/058-24051-023.dmg'
Extracting iBSS.n78.RELEASE.dfu...
Personalizing IMG3 component iBSS...
reconstructed size: 80410
Sending iBSS (80410 bytes)...
Nonce: be 5f 6a 27 47 79 e6 dc c0 15 9b 80 3f 23 e4 41 23 aa 72 49
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode...
WARNING: Unable to find BbChipID node
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting iBEC.n78.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (283020 bytes)...
ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode

want to update firmware from windows computer

Hello sir,
i want to do the same work i.e. i want to update the usb connected ios device with windows computer.....how i can do this for windows....is his code i can use for windows also

Need helps i installed all the packages required and i still get this error

Makefile:602: recipe for target 'idevicerestore-dfu.o' failed
make[2]: *** [idevicerestore-dfu.o] Error 1
make[2]: Leaving directory '/home/malddingo/idevicerestore/src'
Makefile:408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/malddingo/idevicerestore'
Makefile:339: recipe for target 'all' failed
make: *** [all] Error

Help for restore iPhone 5c iOS 8.1.1 to 7.1.2

root@kali:/home/matheuscalixto/Desktop# idevicerestore iPhone5,4_7.1.2_11D257_Restore.ipsw
read_file: File cache/version.xml not found
ERROR: Could not load 'cache/version.xml'.
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Found device in Recovery mode
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
INFO: device serial number is F2LLP8XJFFT7
ERROR: Unable to discover device type

ERROR: TSS request failed status=94,

Hello everyone, I just installed idevicerestore, but I have a little problem in practice when sending the command gives me this error:
Found device in Recovery mode
Identified device as iPhone5,1
Latest firmware is iPhone5,1_8.1.2_12B440_Restore.ipsw
Verifying 'iPhone5,1_8.1.2_12B440_Restore.ipsw'...
Checksum matches.
Extracting BuildManifest from IPSW
Product Version: 8.1.2
Product Build: 12B440 Major: 12
INFO: device serial number is F2MJQEJGDTTN
Device supports Image4: false
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID 2926820310472
Getting ApNonce in recovery mode... cb fa b0 07 ea 77 0e 59 8a 8f b0 8c a3 8b 0b 0e ac 2d 6b 4f
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
SSL: no alternative certificate subject name matches target host name 'gs.apple.com'
Sending TSS request attempt 1... Request URL set to https://17.171.36.30/TSS/controller?action=2
SSL: certificate subject name 'gs.apple.com' does not match target host name '17.171.36.30'
Sending TSS request attempt 2... Request URL set to https://17.151.36.30/TSS/controller?action=2
SSL: certificate subject name 'gs.apple.com' does not match target host name '17.151.36.30'
Sending TSS request attempt 3... Request URL set to http://gs.apple.com/TSS/controller?action=2
TSS server returned: STATUS=94&MESSAGE=This device isn't eligible for the requested build.

ERROR: TSS request failed (status=94, message=This device isn't eligible for the requested build.
)
Sending TSS request attempt 4... ERROR: Unable to send TSS request
ERROR: Unable to get SHSH blobs for this device
root@genhack-HP-Pavilion-dv6-Notebook-PC:/usr/local/bin#

How can I fix?? thanks to all in advance

idevicerestore fails with iPhone 6 Plus on Windows

I have rebuilt libimobiledevice on windows by using mingw32. I am attempting to restore a iPhone 6 Plus which is failing when restoring baseband data.

I am using the latest Lib-zip version. The IPSW opens correctly and begins to flash until it reaches the baseband data.

Does anyone has any insight here?

See logs:

Found device in Normal mode
Identified device as iPhone7,1
Extracting BuildManifest from IPSW
Product Version: 8.4.1
Product Build: 12H321 Major: 12
Device supports Image4: true
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID ################
Getting ApNonce in normal mode... 58 7c 55 1a e8 4b 9d 43 96 89 d2 16 e3 f2 6e d1 89 e7 b7 a7
Trying to fetch new SHSH blob
Getting SepNonce in normal mode... 6e 64 2d d4 9e df af f5 5e 41 d8 01 66 c8 f2 c2 e6 4c c4 1d
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting filesystem from IPSW
Entering recovery mode...
INFO: device serial number is ############
Extracting iBEC.n56.RELEASE.im4p...
Sending iBEC (648713 bytes)...
Recovery Mode Environment:
iBoot build-version=iBoot-2261.30.37
iBoot build-style=RELEASE
Sending AppleLogo...
Extracting applelogo@3xiphone.t7000.im4p...
Sending AppleLogo (18859 bytes)...
ramdisk-size=0x4000000
Extracting 058-23799-023.dmg...
Sending RestoreRamDisk (17495549 bytes)...
Extracting DeviceTree.n56ap.im4p...
Sending RestoreDeviceTree (168375 bytes)...
Extracting kernelcache.release.n56...
Sending RestoreKernelCache (9462180 bytes)...
About to restore device...
Waiting for device...
Device is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 13
Device has successfully entered restore mode
Hardware Information:
BoardID: 4
ChipID: 28672
UniqueChipID: ##############
ProductionMode: true
FDRSupport indicated, starting FDR listener thread
About to send NORData...
Found firmware path Firmware/all_flash/all_flash.n56ap.production
Getting firmware manifest Firmware/all_flash/all_flash.n56ap.production/manifest
Extracting LLB.n56.RELEASE.im4p...
Extracting DeviceTree.n56ap.im4p...
Extracting applelogo@3x
iphone.t7000.im4p...
Extracting batterycharging0@3xiphone.t7000.im4p...
Extracting batterycharging1@3x
iphone.t7000.im4p...
Extracting batteryfull@3xiphone.t7000.im4p...
Extracting batterylow0@3x
iphone.t7000.im4p...
Extracting batterylow1@3xiphone.t7000.im4p...
Extracting glyphplugin@1920
iphone-lightning.t7000.im4p...
Extracting iBoot.n56.RELEASE.im4p...
Extracting recoverymode@1920~iphone-lightning.t7000.im4p...
Extracting sep-firmware.n56.RELEASE.im4p...
Extracting sep-firmware.n56.RELEASE.im4p...
Sending NORData now...
Done sending NORData
About to send RootTicket...
Sending RootTicket now...
Done sending RootTicket
Partition NAND device (28)
About to send FDR Trust data...
Sending FDR Trust data now...
Done sending FDR Trust Data
Waiting for NAND (29)
Waiting for NAND (29)
Waiting for NAND (29)
Waiting for storage device (11)
Creating partition map (12)
Creating partition map (12)
Creating partition map (12)
Checking filesystems (16)
Checking filesystems (16)
Checking filesystems (16)
Unknown operation (51)
Waiting for NAND (29)
Waiting for NAND (29)
Waiting for NAND (29)
About to send filesystem...
Connected to ASR
Validating the filesystem
Filesystem validated
Sending filesystem now...
Done sending filesystem
Restoring image (14)
Checking filesystems (16)
Checking filesystems (16)
Checking filesystems (16)
About to send KernelCache...
Extracting kernelcache.release.n56...
Sending KernelCache now...
Done sending KernelCache
Loading kernelcache (27)
Unknown operation (18)
Unknown operation (46)
Unknown operation (46)
Flashing NOR (19)
About to send BasebandData...
Sending BasebandData now...
Done sending BasebandData
Flashing NOR (19)
Flashing NOR (19)
Flashing NOR (19)
Flashing NOR (19)
Flashing NOR (19)

Updating Baseband in progress...

28/08/2015 17:19:39 Error of DeviceRestore : WARNING: Unable to find BbSkeyId node
ERROR: could not close and write modified archive: Renaming temporary file failed: No such file or directory
ERROR: device didn't accept BasebandData
ERROR: Unable to successfully restore device
ERROR: Unable to restore device

./configure syntax error

I did autoconf configure.ac > configure; chmod +x configure; ./configure but I'm getting this error.

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
./configure: line 1993: syntax error near unexpected token `ac_ext=c'
./configure: line 1993: `ac_ext=c'

iPodTouch Restore

Here's the log... Sorry it's a short 2 minute video, but i couldn't get the console to export it from my VM.

https://www.youtube.com/watch?v=q4U2eGkdbFs

There's an issue with sending the APTicket or something.. I haven't tried this on my iPhone 5s, too hesitant and nervous that it might fail in the middle or something.

Unable to discover device mode

OS๏ผšopenSUSE 13.2
Device๏ผšiPhone5S 8.1.3

mcjoeng@mcj:/iPhone Software Updates> idevicerestore -e -c iPhone6,2_8.1.3_12B466_Restore.ipsw
NOTE: using cached version data
ERROR: Unable to discover device mode. Please make sure a device is attached.
mcjoeng@mcj:
/iPhone Software Updates>

I need help to complile idevicerestore on ubuntu 15.04

hi everybody
i'm new to linux i installed ubuntu 15.04 on virtualbox and libimobile 2.0 and all th required packages for idevicerestore and i get this error

dfu.c:243:48: warning: initialization makes pointer from integer without a cast
const struct irecv_device_info device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:248:21: error: dereferencing pointer to incomplete type
*cpid = device_info->cpid;
^
dfu.c: In function โ€˜dfu_get_ecidโ€™:
dfu.c:260:48: warning: initialization makes pointer from integer without a cast
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:265:21: error: dereferencing pointer to incomplete type
*ecid = device_info->ecid;
^
dfu.c: In function โ€˜dfu_is_image4_supportedโ€™:
dfu.c:278:48: warning: initialization makes pointer from integer without a cast
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:283:21: error: dereferencing pointer to incomplete type
return (device_info->ibfl & IBOOT_FLAG_IMAGE4_AWARE);
^
dfu.c: In function โ€˜dfu_get_ap_nonceโ€™:
dfu.c:293:48: warning: initialization makes pointer from integer without a cast
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:298:17: error: dereferencing pointer to incomplete type
if (device_info->ap_nonce && device_info->ap_nonce_size > 0) {
^
dfu.c:298:42: error: dereferencing pointer to incomplete type
if (device_info->ap_nonce && device_info->ap_nonce_size > 0) {
^
dfu.c:299:46: error: dereferencing pointer to incomplete type
*nonce = (unsigned char
)malloc(device_info->ap_nonce_size);
^
dfu.c:303:28: error: dereferencing pointer to incomplete type
_nonce_size = device_info->ap_nonce_size;
^
dfu.c:304:29: error: dereferencing pointer to incomplete type
memcpy(_nonce, device_info->ap_nonce, nonce_size);
^
dfu.c: In function โ€˜dfu_get_sep_nonceโ€™:
dfu.c:317:48: warning: initialization makes pointer from integer without a cast
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:322:17: error: dereferencing pointer to incomplete type
if (device_info->sep_nonce && device_info->sep_nonce_size > 0) {
^
dfu.c:322:43: error: dereferencing pointer to incomplete type
if (device_info->sep_nonce && device_info->sep_nonce_size > 0) {
^
dfu.c:323:46: error: dereferencing pointer to incomplete type
*nonce = (unsigned char
)malloc(device_info->sep_nonce_size);
^
dfu.c:327:28: error: dereferencing pointer to incomplete type
_nonce_size = device_info->sep_nonce_size;
^
dfu.c:328:29: error: dereferencing pointer to incomplete type
memcpy(_nonce, device_info->sep_nonce, nonce_size);
^
Makefile:602: recipe for target 'idevicerestore-dfu.o' failed
make[2]: *
* [idevicerestore-dfu.o] Error 1
make[2]: Leaving directory '/home/malddingo/idevicerestore/src'
Makefile:408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/malddingo/idevicerestore'
Makefile:339: recipe for target 'all' failed
make: *** [all] Error 2

Cant put device into recovery mode from DFU mode on win

I get this trouble on win7 system.
logs like this:
"ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode"
I Check the DeviceIoControl and GetOverlappedResult getlasterror return is 997 , 1167. tell the device is not connected. I setup a new libusb-win driver,but it not effective. Getting the same error number. Does anyone fall in this problem?

ASR STATUS: fail ERROR: Unable to restore device

I'm having this error while trying to restore an iPhone 5,1 iOS 8.4 to an iOS 8.4 Custom Firmware

Command :
idevicerestore.exe -u d9accf101050836ec9d058cc6545d98223ea1ca9 C:\Users\user\iPhone5,1_8.4_12H143_Restore_CFW.ipsw

Output :

NOTE: using cached version data
Found device in Recovery mode
Identified device as iPhone5,1
Extracting BuildManifest from IPSW
Product Version: 8.4
Product Build: 12H143 Major: 12
INFO: device serial number is F2LL4DE9FH19
Device supports Image4: false
Variant: Customer Upgrade Install (IPSW)
This restore will update your device without losing data.
Found ECID 1942811966965
Getting ApNonce in recovery mode... fb c1 4c 73 af 11 78 4d 73 e9 d8 d8 d5 ca a1 f0 55 27 07 2c
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting filesystem from IPSW
Sending APTicket (2738 bytes)
Extracting iBEC.n41.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (287116 bytes)...
Getting ApNonce in recovery mode... fb c1 4c 73 af 11 78 4d 73 e9 d8 d8 d5 ca a1 f0 55 27 07 2c
Sending APTicket (2738 bytes)
Recovery Mode Environment:
iBoot build-version=iBoot-2261.30.37
iBoot build-style=RELEASE
Sending AppleLogo...
Extracting applelogo@2x~iphone.s5l8950x.img3...
Not personalizing component AppleLogo...
Sending AppleLogo (6796 bytes)...
Extracting 058-15893-139.dmg...
Not personalizing component RestoreRamDisk...
Sending RestoreRamDisk (17330444 bytes)...
Extracting DeviceTree.n41ap.img3...
Not personalizing component RestoreDeviceTree...
Sending RestoreDeviceTree (88524 bytes)...
Extracting kernelcache.release.n41...
Not personalizing component RestoreKernelCache...
Sending RestoreKernelCache (9414284 bytes)...
About to restore device...
Waiting for device...
Device is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 13
Device has successfully entered restore mode
Hardware Information:
BoardID: 0
ChipID: 35152
UniqueChipID: 1942811966965
ProductionMode: true
About to send RootTicket...
Sending RootTicket now...
Done sending RootTicket
Partition NAND device (28)
Waiting for NAND (29)
Waiting for NAND (29)
Checking filesystems (16)
Checking filesystems (16)
Unknown operation (51)
Waiting for NAND (29)
Waiting for NAND (29)
About to send filesystem...
Connected to ASR
Validating the filesystem
ERROR: Unable to read OOB data from filesystem offset: No error
ERROR: ASR was unable to validate the filesystem
ERROR: Unable to send filesystem
ERROR: Unable to successfully restore device
Got status message
Status: Fail
Log is available:
SYSLOG: Aug 19 17:28:48 localhost bootlog[0] : BOOT_TIME 1440005328 0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : le'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 2 as 'NVRAM'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 3 as 'Firmware'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 4 as 'Filesystem'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3GDL::handleStart _calibrationMatrix [63567 -624 -711] [-668 63390 -104] [1218 210 64702]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3GDL::handleStart - No calibration inverse matrix or the data is invalid, Compute locally
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3GDL::handleStart _calibrationInverseMatrix [67560 662 742] [710 67763 116] [-1274 -232 66367]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3GDL::handleStart _odr200HzSampleInterval = 5368
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 4
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 5 as 'System Config'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 6 as 'Diagnostic Data'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 145] created partition 7 as 'Bad Block Table'
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSwissPPNFTL started with IOFlashStoragePartition provider
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] _FindFlashMediaAndKeepout:601 physical nand block offset 1
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 7
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleNANDFTL registeredBSD root: md0, major 2, minor 0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] start:356 this 0x92840000 PROVIDER=0x8fce6a80 flashMedia=0x8fce6a80
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] WMR_Start:149 Apple PPN NAND Driver, Read/Write
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] WMR_Start:174 FIL_Init [OK]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : com.apple.AppleFSCompressionTypeZlib kmod start
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : ApplePinotLCD: _lcdPanelID: 0xa2d10fce _lcdPanelClass: 2
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSamsungSerial: Identified Serial Port on ARM Device=uart3 at 0x32800000(0x8d21e000)
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSamsungSerial: Identified Serial Port on ARM Device=uart1 at 0x32600000(0x8d226000)
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] WMR_Open:371 VFL_Open [OK]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 0 enableDeviceClock(true,HALF_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 0 enableDeviceClock(true,FULL_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 0 enableDevicePower(true,0,HALF_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 0 enableDeviceClock(false,FULL_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : com.apple.AppleFSCompressionTypeZlib load succeeded
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : virtual bool AppleH4DisplayPipe::start_hardware(IOService *), auto-detect chip
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : L2TP domain init
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : L2TP domain init complete
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 1 enableDeviceClock(true,HALF_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 1 enableDeviceClock(true,FULL_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 1 enableDevicePower(true,0,HALF_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : PPTP domain init
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Scaler 1 enableDeviceClock(false,FULL_CLOCK_INDEX) = 0x0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleH4CamIn::start - back camera expected
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleH4CamIn::start - front camera expected
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleH4CamIn::power_off_hardware
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleH4CamIn::setPowerStateGated: 0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleBaseband: Found 1 backpowering pins
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::probe found device with ID: 0x3f
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::handleStart _calibrationMatrix [64423 -1426 -534] [-1391 66542 -293] [596 675 66072]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::handleStart _calibrationOffsets [2137037 -270811 904782]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::handleStart - No calibration inverse matrix or the data is invalid, Compute locally
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::handleStart _calibrationInverseMatrix [66694 1423 545] [1391 64570 298] [-616 -672 64995]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleAP3DSH::handleStart _odr400HzSampleInterval = 2374
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleMultitouchN1SPI: successfully started
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableDetect 1
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableType USBHost
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableDetect 0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableType Detached
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleMultitouchN1SPI: detected HBPP. driver will be kept alive
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableDetect 1
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleARMPMUCharger: AppleUSBCableType USBHost
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
unable to open /dev/klog: Resource busy
display-scale = 2
display-rotation = 0
found applelogo at /usr/share/progressui/[email protected]
SYSLOG: Aug 19 17:28:49 localhost restored_update[6] : IOMFB: /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox not found
SYSLOG: Aug 19 17:28:49 localhost restored_update[6] : IOMFB: /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox not found
SYSLOG: Aug 19 17:28:49 localhost restored_update[6] : IOMFB: /System/Library/PrivateFrameworks/Celestial.framework/Celestial not found
SYSLOG: Aug 19 17:28:49 localhost restored_update[6] : IOMFB: FigInstallVirtualDisplay not found
SYSLOG: Aug 19 17:28:49 localhost restored_update[6] : CFPreferences could not connect to its daemon.
Preferences using the connection 0x0 will be volatile and will not be persisted to disk.
found display: primary
display: 640 x 1136
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleBCMWLANCore::init IO80211-154.5 Jun 24 2015 00:45:45
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : 000033.519374 wlan0.A[0] AppleBCMWLANProvisioningManager::gatherDeviceTreeData(): WARNING, Wifi 'serial baud rate' does not exist in the device tree
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : 000033.524033 wlan0.A[1] AppleBCMWLANConfigManager::gatherParameterData(): no provisioned roam profiles. Using default.
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : 000033.525414 wlan0.N[2] AppleBCMWLANCore::start(): Starting with MAC Address: 90:72:40:98:95:54
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : 000033.525773 wlan0.N[3] AppleBCMWLANCore::setPowerStateGated(): powerState 1, fStateFlags 0x20, dev 0xd0c58000 (this 1, provider 0)
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : 000033.525787 wlan0.N[4] AppleBCMWLANCore::setPowerStateGated(): Received power state change before driver has initialized, ignoring
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : IO80211PeerManager::initWithInterface can't add monitoring timer
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : IO80211Interface::init peerManager=0x95db6c00
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_handleUSBCableConnect cable connected, but don't have device configuration yet
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] WMR_Open:420 FTL_Open [OK]
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] _publishServices:642 FTL capabilities: 0x00000001
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] _ppnvflGetStruct:3469 Checking borrowed blocks - count: 23 max_count: 23
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [NAND] _fetchBorrowedList:881 number of borrowed blocks 16
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 0
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 1
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 2
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 3
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 5
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : [nand_part_core:INF@ 157] published partition 6
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : Loading syscfg.
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice - Configuration: Apple Mobile Device
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice Interface: AppleUSBMux
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : virtual bool AppleUSBDeviceMux::start(IOService *) build: Jun 24 2015 00:40:24
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux
SYSLOG: Aug 19 17:28:49 localhost kernel[0] : AppleSynopsysOTGDevice::startUSBStack Starting usb stack
waiting for matching IOKit service: <CFBasicHash 0x14e30900 [0x5fe8a0]>{type = mutable dict, count = 1,
entries =>
2 : <CFString 0x779840 [0x5fe8a0]>{contents = "IOProviderClass"} = <CFString 0x14e2fa80 [0x5fe8a0]>{contents = "AppleUSBDeviceMux"}
}

SYSLOG: Aug 19 17:28:51 localhost kernel[0] : AppleARMBacklight::start: No AAP function
SYSLOG: Aug 19 17:28:52 localhost kernel[0] : IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject ) setting debug level to 7
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x95ee3b00
recv(11, 4) failed: connection closed
unable to read message size: -1
could not receive message
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : AppleUSBDeviceMux::handleConnectResult new session 0x95ee3b00 established 62078<-lo0->49153 62078<-usb->44544
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : AppleUSBDeviceMux::sessionUpcall socket is closed, session 0x95ee3b00 (62078<-lo0->49153 62078<-usb->44544)
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : AppleUSBDeviceMux::handleConnectResult new session 0x95ee3b00 established 62078<-lo0->49154 62078<-usb->44800
client protocol version 13
*
* UUID DB5B9A69-20B9-D632-E2CC-9C394BFB10F2 ***
Restore options:
UUID => <CFString 0x14e305f0 [0x5fe8a0]>{contents = "DB5B9A69-20B9-D632-E2CC-9C394BFB10F2"}
MinimumSystemPartition => <CFNumber 0x14e30540 [0x5fe8a0]>{value = +2054, type = kCFNumberSInt64Type}
SystemPartitionSize => <CFNumber 0x14e30fc0 [0x5fe8a0]>{value = +2054, type = kCFNumberSInt64Type}
PersonalizedDuringPreflight => <CFBoolean 0x5feaa0 [0x5fe8a0]>{value = true}
SystemPartitionPadding => <CFBasicHash 0x14e30900 [0x5fe8a0]>{type = mutable dict, count = 9,
entries =>
0 : <CFString 0x14e304e0 [0x5fe8a0]>{contents = "512"} = <CFNumber 0x14e30510 [0x5fe8a0]>{value = +1280, type = kCFNumberSInt64Type}
2 : <CFString 0x14e30570 [0x5fe8a0]>{contents = "128"} = <CFNumber 0x14e2f680 [0x5fe8a0]>{value = +1280, type = kCFNumberSInt64Type}
3 : <CFString 0x14e30930 [0x5fe8a0]>{contents = "16"} = <CFNumber 0x14e30340 [0x5fe8a0]>{value = +260, type = kCFNumberSInt64Type}
4 : <CFString 0x14e304b0 [0x5fe8a0]>{contents = "32"} = <CFNumber 0x14e304d0 [0x5fe8a0]>{value = +320, type = kCFNumberSInt64Type}
5 : <CFString 0x14e30f30 [0x5fe8a0]>{contents = "768"} = <CFNumber 0x14e30f60 [0x5fe8a0]>{value = +1280, type = kCFNumberSInt64Type}
6 : <CFString 0x14e30f70 [0x5fe8a0]>{contents = "8"} = <CFNumber 0x14e30f90 [0x5fe8a0]>{value = +180, type = kCFNumberSInt64Type}
7 : <CFString 0x14e30650 [0x5fe8a0]>{contents = "1024"} = <CFNumber 0x14e305a0 [0x5fe8a0]>{value = +1280, type = kCFNumberSInt64Type}
8 : <CFS...
entering bootstrap_hoover
bootstrap_hoover: using customer firmware
unable to open libdpfu.dylib. dlopen(/usr/local/lib/libdpfu.dylib, 261): image not found, skipping step
entering load_sep_os
device has no sep
entering ramrod_ticket_update
looking up root ticket hash
device tree ticket-hash: <CFData 0x14d2ba00 [0x5fe8a0]>{length = 20, capacity = 20, bytes = 0x8cf131dd150c716c4547d6f32ec99ffb9ccc1648}
ticket_hash: 8CF131DD150C716C4547D6F32EC99FFB9CCC1648
received valid ticket (2738 bytes)
entering partition_nand_device
device supports boot-from-NAND
nand device is already partitioned
entering wait_for_storage_device
Searching for NAND service
Found NAND service: IOFlashStoragePartition
NAND initialized. Waiting for devnode.
entering clear_remap_variable
executing /usr/sbin/nvram
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : [effaceable:INIT] found current generation, 85, in group 0
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : [effaceable:INIT] started
SYSLOG: Aug 19 17:28:53 localhost kernel[0] : [effaceable:INIT] started
entering reprobe_device_path
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2 baseband data= log=
entering reprobe_device_path
unable to stat block device /dev/disk1: No such file or directory
unable to determine character device for /dev/disk1
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2 baseband data= log=
executing /sbin/fsck_hfs
** /dev/rdisk0s1s1
Executing fsck_hfs (version hfs-286.30.1).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Copper12H143.N41OS
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Copper12H143.N41OS appears to be OK.
executing /sbin/mount_hfs
/dev/disk0s1s1 mounted on /mnt1
AMSupportPlatformCreateBufferFromNativeFilePath: open failed: No such file or directory
__getFDRSealingMap_block_invoke: Could not load sealing map from '/usr/lib/FDRSealingMap.plist'
AMFDRSealingMapGetEntriesForDevice: Could not load sealing map
restored_fdr_initialize returned false
RestoredFDRCreate() returned 0
FDR is not supported on this device
RestoredFDRSaveData: restoredFDR is NULL, not able to preserve FDR data.
RestoredFDRSaveData success
entering check_for_restore_log
restore log does not exist
Not preserving OTA logs for update install
Successfully checked for OTA logs
entering unmount_filesystems
error unmounting '/mnt2': Invalid argument
create_baseband_update_options: Got imeisv: 13
baseband updater options = <CFBasicHash 0x14e32cb0 [0x5fe8a0]>{type = mutable dict, count = 3,
entries =>
0 : <CFString 0xd2aed8 [0x5fe8a0]>{contents = "IMEISwVersion"} = <CFNumber 0x14e32d00 [0x5fe8a0]>{value = +13, type = kCFNumberSInt32Type}
1 : <CFString 0xd2af68 [0x5fe8a0]>{contents = "autoSetupEnv"} = <CFBoolean 0x5feaa8 [0x5fe8a0]>{value = false}
2 : <CFString 0xd2af78 [0x5fe8a0]>{contents = "disablePing"} = <CFBoolean 0x5feaa0 [0x5fe8a0]>{value = true}
}

_baseband_update_requires_filesystems_once: querying baseband to determine if it requires system filesystem
bbupdater: cmdCopyRequirePartitionMount: supports flashless 1

bbupdater: cmdCopyRequirePartitionMount: supports REFS 0

bbupdater: cmdCopyRequirePartitionMount: need data partition for coredumps

_baseband_update_requires_filesystems_once: query returned <CFBasicHash 0x14e32d10 [0x5fe8a0]>{type = mutable dict, count = 3,
entries =>
0 : <CFString 0xd2ac08 [0x5fe8a0]>{contents = "requireSystemPartitionMount"} = <CFBoolean 0x5feaa0 [0x5fe8a0]>{value = true}
1 : <CFString 0xd2ac28 [0x5fe8a0]>{contents = "requireUserPartitionMount"} = <CFBoolean 0x5feaa0 [0x5fe8a0]>{value = true}
2 : <CFString 0xd2ac38 [0x5fe8a0]>{contents = "requestedBasebandFSPartitionMountSize"} = <CFNumber 0x14d29270 [0x5fe8a0]>{value = +0, type = kCFNumberSInt32Type}
}

entering clean_NAND
entering format_effaceable_storage
effaceable storage is formatted, nothing to do
entering format_storage_for_LwVM
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2 baseband data= log=
ramrod_roll_media_keys: data_partition = /dev/disk0s1s2
ramrod_roll_media_keys: storage_media = /dev/disk0s1
ramrod_roll_media_keys: data_partition_name = disk0s1s2
ramrod_roll_media_keys: data_partition_uuid = 34BC67DC-35B3-49ED-80C3-3D4CC304E204
SYSLOG: Aug 19 17:29:11 localhost kernel[0] : LwVM::gptUUIDExists - UUID already rekeyed
executing /usr/sbin/nvram
entering mount_filesystems
executing /sbin/fsck_hfs
** /dev/rdisk0s1s1
Executing fsck_hfs (version hfs-286.30.1).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Copper12H143.N41OS
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Copper12H143.N41OS appears to be OK.
executing /sbin/mount_hfs
/dev/disk0s1s1 mounted on /mnt1
executing /sbin/fsck_hfs
** /dev/rdisk0s1s2
Executing fsck_hfs (version hfs-286.30.1).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Data
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Data appears to be OK.
executing /sbin/mount_hfs
mount_hfs: Could not exec re-keying daemon /usr/libexec/rolld: No such file or directory
/dev/disk0s1s2 mounted on /mnt2
entering resize_system_partition_to_options
User specified system partition size, skipping firmware extras size.
Found SystemPartitionPadding value of 272629760 bytes
System partition will need to be resized larger by 82829312 bytes
Erasing system partition prior to resize operation.
block size for /dev/disk0s1s1: 4096
/sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
executing /sbin/newfs_hfs -s -v System -J /dev/disk0s1s1
Initialized /dev/rdisk0s1s1 as a 2 GB case-sensitive HFS Plus volume with a 8192k journal
executing /sbin/fsck_hfs
** /dev/rdisk0s1s1
Executing fsck_hfs (version hfs-286.30.1).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is System
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume System appears to be OK.
executing /sbin/mount_hfs
/dev/disk0s1s1 mounted on /mnt1
Trying to resize system partition to 2426404864 bytes aka 2314 MB
entering adjust_partition_preflight
partition:0 requiredSize=592384
entering _get_partition_size
shrinking data partition to make room for 82829312 bytes needed
entering adjust_partition_preflight
partition:1 requiredSize=3278336
scanning 4 filesystems for 34BC67DC-35B3-49ED-80C3-3D4CC304E204
failed to find an IOService owning md0 (unexpected)
UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204 match
matched /dev/disk0s1s2 on /mnt2
scanning 4 filesystems for 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81
failed to find an IOService owning md0 (unexpected)
UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204 does not match
UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81 match
matched /dev/disk0s1s1 on /mnt1
Device disk0s1s1 has UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81
scanning 4 filesystems for 34BC67DC-35B3-49ED-80C3-3D4CC304E204
failed to find an IOService owning md0 (unexpected)
UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204 match
matched /dev/disk0s1s2 on /mnt2
Device disk0s1s2 has UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204
shrinking HFS filesystem on /mnt2 from 13510893568 to 13428064256
Resizing existing partition with GPT index 1
entering _unmount_lwvm_devices
Unmounting filesystem: /mnt2
Unmounting filesystem: /mnt1
About to adjust with settings partitionIndex:1 size:12806 MB
Wrote GPT header back to disk
Remounting LwVM volumes that were previously mounted
entering _mount_lwvm_devices
libpartition, mounting '/dev/disk0s1s1' at '/mnt1'
executing /sbin/mount -t hfs /dev/disk0s1s1 /mnt1
libpartition, mounting '/dev/disk0s1s2' at '/mnt2'
executing /sbin/mount -t hfs /dev/disk0s1s2 /mnt2
mount_hfs: Could not exec re-keying daemon /usr/libexec/rolld: No such file or directory
trying system partition resize again
entering adjust_partition_preflight
partition:0 requiredSize=592384
scanning 4 filesystems for 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81
failed to find an IOService owning md0 (unexpected)
UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81 match
matched /dev/disk0s1s1 on /mnt1
scanning 4 filesystems for 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81
failed to find an IOService owning md0 (unexpected)
UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81 match
matched /dev/disk0s1s1 on /mnt1
Device disk0s1s1 has UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81
scanning 4 filesystems for 34BC67DC-35B3-49ED-80C3-3D4CC304E204
failed to find an IOService owning md0 (unexpected)
UUID 9A47FDAD-25DE-4890-83ED-0C3BEDFC0B81 does not match
UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204 match
matched /dev/disk0s1s2 on /mnt2
Device disk0s1s2 has UUID 34BC67DC-35B3-49ED-80C3-3D4CC304E204
Resizing existing partition with GPT index 0
entering _unmount_lwvm_devices
Unmounting filesystem: /mnt2
Unmounting filesystem: /mnt1
About to adjust with settings partitionIndex:0 size:2314 MB
Wrote GPT header back to disk
Remounting LwVM volumes that were previously mounted
entering _mount_lwvm_devices
libpartition, mounting '/dev/disk0s1s1' at '/mnt1'
executing /sbin/mount -t hfs /dev/disk0s1s1 /mnt1
libpartition, mounting '/dev/disk0s1s2' at '/mnt2'
executing /sbin/mount -t hfs /dev/disk0s1s2 /mnt2
mount_hfs: Could not exec re-keying daemon /usr/libexec/rolld: No such file or directory
expanding HFS filesystem on /mnt1 to 2426404864
Successfully resized the system partition
entering maximize_data_partition
entering adjust_partition_preflight
partition:1 requiredSize=4503599627370496
maximizing data partition to 13428064255 bytes
entering adjust_partition_preflight
partition:1 requiredSize=3278336
no change in size
Successfully resized data partition to consume free blocks
The system partition now has a total HFS+ capacity of 2314 MB
entering ramrod_probe_media
device partitioning scheme is GPT
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2 baseband data= log=
entering unmount_filesystems
entering restore_images
Successfully marked device node /dev/rdisk0s1s1 as static data
executing /usr/sbin/asr -source asr://localhost:12345 -target /dev/disk0s1s1 -erase -noprompt --chunkchecksum --puppetstrings
SYSLOG: Aug 19 17:29:39 localhost kernel[0] : void AppleUSBDeviceMux::handleConnectResult(struct BulkUSBMuxSession *, errno_t) new session to port 12345 failed: 61
SYSLOG: Aug 19 17:29:39 localhost asr[30] : bootstrap_look_up2 failed with 0x44e
ASR: asr: Unable to disable idle sleep - -536870199
ASR STATUS: start 242.6 multicast-client
ASR: Waiting for connection attempt from server
SYSLOG: Aug 19 17:29:39 localhost asr[30] : __net_helper_get_connection_block_invoke_3 could not connect to networkd
SYSLOG: Aug 19 17:29:41 localhost kernel[0] : AppleUSBDeviceMux::handleConnectResult new session 0x95ee35d8 established 12345<-lo0->49156 12345<-usb->45312
ASR STATUS: setup
ASR: Validating target...
ASR: done
ASR STATUS: metadata
ASR: Validating source...
SYSLOG: Aug 19 17:29:42 localhost kernel[0] : void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x95ee35d8
ASR: Can't gather image metadata
ASR: Could not validate source - error 110
ASR STATUS: fail

ERROR: Unable to restore device

I need help to intall idevicerestore on Ubuntu

Hello everybody,

I've downloaded the package from this link: https://github.com/libimobiledevice/idevicerestore
I've extracted the package on Desktop
I've opened the terminal and from the directory idevicerestore-master I've typed the following command:

/Desktop/idevicerestore-master$ sudo ./autogen.sh
libtoolize: putting auxiliary files in .'. libtoolize: linking file./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: linking filem4/libtool.m4'
libtoolize: linking file m4/ltoptions.m4' libtoolize: linking filem4/ltsugar.m4'
libtoolize: linking file m4/ltversion.m4' libtoolize: linking filem4/lt
obsolete.m4'
libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:15: installing './compile' checking whether make supports nested variables... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/thecospirator/Desktop/idevicerestore-master/missing: Unknown--is-lightweight' option
Try `/home/thecospirator/Desktop/idevicerestore-master/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libirecovery... no
configure: error: Package requirements (libirecovery >= 0.2.0) were not met:

Requested 'libirecovery >= 0.2.0' but version of libirecovery is 0.1.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libirecovery_CFLAGS
and libirecovery_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
thecospirator@TheCospUbuntu:~/Desktop/idevicerestore-master$ sudo ./configure
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/thecospirator/Desktop/idevicerestore-master/missing: Unknown --is-lightweight' option Try/home/thecospirator/Desktop/idevicerestore-master/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libirecovery... no
configure: error: Package requirements (libirecovery >= 0.2.0) were not met:

Requested 'libirecovery >= 0.2.0' but version of libirecovery is 0.1.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libirecovery_CFLAGS
and libirecovery_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
thecospirator@TheCospUbuntu:~/Desktop/idevicerestore-master$ make sudo make install
make: *** No rule to make target sudo'. Stop. thecospirator@TheCospUbuntu:~/Desktop/idevicerestore-master$ sudo make make: *** No targets specified and no makefile found. Stop. thecospirator@TheCospUbuntu:~/Desktop/idevicerestore-master$ sudo make install make: *** No rule to make targetinstall'. Stop.

Where am I wrong?

Idevicerestore stuck in waiting for device step

I m trying to restore a firmware for an iphone 4s on ubuntu 14.04. I m using the command as a sudo too but I m always stuck in the waiting for device step and can't go further. By the way I tried the ideviceinfo but it returns
No device found, is it plugged in?
Don't know what to do next.

Unable to place device into recovery mode from Normal mode

When I try to restore iOS (iPad 2, iOS 7.0.4, Ubuntu 12.04 32bit) from ipsw file I got an error:

Found device in Normal mode
Identified device as iPad2,4
Extracting BuildManifest from IPSW
Product Version: 7.0.4
Product Build: 11B554a Major: 11
Variant: Customer Upgrade Install (IPSW)
This restore will update your device without losing data.
Found ECID 2880162651535
Getting nonce in normal mode... c0 a5 87 83 8e 83 40 6f 52 a9 fe 5e f9 72 ce 7a 8d cb 95 4b 
Trying to fetch new SHSH blob
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Entering recovery mode...

device go to recovery mode and than:

opening device 05ac:1281...
irecv_open_with_ecid: can't connect to device...
Retrying connection...
opening device 05ac:1281...
irecv_open_with_ecid: can't connect to device...
ERROR: Unable to connect to device in recovery mode
ERROR: Unable to enter recovery mode
ERROR: Unable to place device into recovery mode from Normal mode

Thanks for your job

iPad mini3 (MGNR2KN/A) fails to enter restore mode on iOS 9.0.1

versions (fresh clone from 25/09/2015):
./libirecovery/.git/refs/heads/master 84a03bf
./idevicerestore/.git/refs/heads/master 1d2303e
./libimobiledevice/.git/refs/heads/master f268393d4e447ac901879bee751d7350c495fed2
./libplist/.git/refs/heads/master 9ca25d293fe7f8aca8d952fc7bb91464fe2d34ab
./usbmuxd/.git/refs/heads/master 423fb8c0e9750190d2b7f9c306df9efaa7080dbd
./libusbmuxd/.git/refs/heads/master 4d365eefe8255e8f693bce008dc71bf415279c7e

Running on Ubuntu 14.04 x64.

This has been happening since iOS 8.4.0 went out. It also happened before iOS 8.3 was published, for iOS 8.3.X it worked for a while. I did check build manifest for 8.3.1 but could not spot significant differences compared to 9.0.1 that should reflect e.g. tss-files.

Device boots to DFU mode when asked but resets when restore should begin.

I can provide usbmuxd and idevicerestore traces (and also generated crash files) if someone finds them useful to resolve the problem.

Restore specific file

Is it possible to restore a specific firmware file that I have downloaded? The documentation only states that it will install latest firmware available.

fls c_element data_size is 0

Hello, still working on my port to msvc.

This time my firmware flashing ends with this:

Sending NORData now...
Done sending NORData
Unknown operation (18)
Unknown operation (46) x2
Flashing NOR (19)
About to send BasebandData...
ERROR: fls_update_sig_blob: data size mismatch (0xf9c0 != 0x0)
ERROR: could not sign psi_ram.fls
ERROR: Unable to send baseband data
ERROR: Unable to successfully restore device
No data to read
ERROR: Unable to restore device

I checked the psi_ram.fls extracted from bbfw_2 and its correct on both size and hash. The parsing goes well and all the offsets add up, the header data seems off though, heres what it has:
type:12
size:65320
empty: 0
off_0x0c: 0
off_0x10: 0
off_0x14: 0
test:0xf5b0, points to invalid address
off_0x18: 65280
data_size: 0
off_0x20: 3320
offset: 3925878863

Any help in debugging this would be appreciated.

[HELP] iPhone 5c Custom Firmware ERRORS

captura de tela de 2014-12-19 17 26 03
DFU Mode

root@matheuscalixto:/home/matheuscalixto# idevicerestore -d -e -c iPhone5,4_7.0.1_11A470a_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Found device in DFU mode
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Identified device as iPhone5,4
ERROR: Firmware file iPhone5,4_7.0.1_11A470a_Restore.ipsw does not exist.
root@matheuscalixto:/home/matheuscalixto# cd Desktop/restores
root@matheuscalixto:/home/matheuscalixto/Desktop/restores# idevicerestore -d -e -c iPhone5,4_7.0.1_11A470a_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Found device in DFU mode
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Identified device as iPhone5,4
Extracting Restore.plist from IPSW
Product Version: 7.0.1
Product Build: 11A470a Major: 11
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Device supports Image4: false
Custom firmware requested. Disabled TSS request.
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Using cached filesystem from 'iPhone5,4_7.0.1_11A470a_Restore/048-8820-007.dmg'
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Extracting iBSS.n49ap.RELEASE.dfu...
Not personalizing component iBSS...
Writing data to iBSS
Sending iBSS (74124 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
Nonce: ac 22 c7 eb 57 d3 6b ef ad ba a2 95 2d ba a7 63 83 3c ec 81
Setting to configuration 1
Extracting iBEC.n49ap.RELEASE.dfu...
Not personalizing component iBEC...
Writing data to iBEC
Sending iBEC (287116 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:AC22C7EB57D36BEFADBAA2952DBAA763833CEC81
Setting to configuration 1
Setting to interface 0:0
ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode

captura de tela de 2014-12-19 17 26 48
Recovery Mode
captura de tela de 2014-12-19 17 34 16
No device found, is it plugged in?
And my device is connected to both is that in the other pictures, to see that recognized
captura de tela de 2014-12-19 17 36 44
irecv_copy_nonce_with_tag: WARNING: couldn't find tag SNON in string NONC:3795BFACE55BB5C8208CDEB79393D7AEC06DF957

problem restoring iphone 4S. Posible hardware failure?

One morning my iphone waked-up very hot and with 1st January in the date. With iTunes I was not able to restore de device because I got a 2001 error ยฟ?ยฟ?

Now the phone is in DFU when I plug it to the computer.

Trying with idevicerestore I get this:

isaac.marco@portatil51:/tmp$ sudo idevicerestore -e iPhone4,1_8.0.2_12A405_Restore.ipsw
NOTE: using cached version data
Found device in DFU mode
Identified device as iPhone4,1
Extracting BuildManifest from IPSW
Product Version: 8.0.2
Product Build: 12A405 Major: 12
Device supports Image4: false
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID 1543505009998
Getting ApNonce in dfu mode...
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Using cached filesystem from 'iPhone4,1_8.0.2_12A405_Restore/058-04727-039.dmg'
Extracting iBSS.n94.RELEASE.dfu...
Personalizing IMG3 component iBSS...
reconstructed size: 80410
Sending iBSS (80410 bytes)...
[==================================================] 100.0%
Nonce: da 84 fa 96 1f f2 67 7c 18 97 50 33 35 67 68 1b 69 f3 ea ed
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting iBEC.n94.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (283020 bytes)...
[==================================================] 100.0%
ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode
isaac.marco@portatil51:
/tmp$ sudo idevicerestore -e iPhone4,1_8.0.2_12A405_Restore.ipsw
NOTE: using cached version data
Found device in Recovery mode
Identified device as iPhone4,1
Extracting BuildManifest from IPSW
Product Version: 8.0.2
Product Build: 12A405 Major: 12
INFO: device serial number is DNPGRDWCDTC0
Device supports Image4: false
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID 1543505009998
Getting ApNonce in recovery mode... 5e b2 91 7b 6f c3 6c 7b 47 b8 f9 23 06 88 e3 d6 7d 67 23 b8
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Using cached filesystem from 'iPhone4,1_8.0.2_12A405_Restore/058-04727-039.dmg'
Sending APTicket (2732 bytes)
Extracting iBEC.n94.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (283020 bytes)...
Getting ApNonce in recovery mode... ab 96 b1 ec 12 02 27 db ab 03 23 dd 07 c9 60 e2 9b 01 24 82
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode...
WARNING: Unable to find BbSkeyId node
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Sending APTicket (2732 bytes)
Recovery Mode Environment:
iBoot build-version=iBoot-1940.10.58
iBoot build-style=RELEASE
Sending AppleLogo...
Extracting applelogo@2x~iphone.s5l8940x.img3...
Not personalizing component AppleLogo...
Sending AppleLogo (6796 bytes)...
Extracting 058-04585-039.dmg...
Not personalizing component RestoreRamDisk...
Sending RestoreRamDisk (15372556 bytes)...
Extracting DeviceTree.n94ap.img3...
Not personalizing component RestoreDeviceTree...
Sending RestoreDeviceTree (82636 bytes)...
Extracting kernelcache.release.n94...
Not personalizing component RestoreKernelCache...
Sending RestoreKernelCache (9082060 bytes)...
About to restore device...
Waiting for device...
ERROR: Unable to connect to device in restore mode
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

Some idea to recover my iphone?

Thank you.

Can not get idevicerestore to run

I get this error when running idevicerestore from terminal.

idevicerestore: error while loading shared libraries: libirecovery.so.2: cannot open shared object file: No such file or directory

How do I fix this problem?

RestoreKernelCache - iPad 3

Trying to restore a iPad 3, all seems to go well up until the Sending RestoreDeviceTree, the error occurs just as the device says to connect to iTunes? What could be causing this issues? LOG:

E:\libi>idevicerestore.exe -u --9b1d7d69cea1741db97248450b9e65e896875536 -c iPad3,1_7.1.2_11D257_Restore.ipsw -e
NOTE: using cached version data
Found device in Recovery mode
Identified device as iPad3,1
Extracting Restore.plist from IPSW
Product Version: 7.1.2
Product Build: 11D257 Major: 11
INFO: device serial number is DYTJ65QQDVD1
Device supports Image4: false
Custom firmware requested. Disabled TSS request.
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Using cached filesystem from 'iPad3,1_7.1.2_11D257_Restore/058-4505-009.dmg'
Extracting iBEC.j1ap.RELEASE.dfu...
Not personalizing component iBEC...
Sending iBEC (291212 bytes)...
Getting ApNonce in recovery mode... f9 8e 5a c2 3e 48 b3 4e 02 22 6a 19 65 76 2f cc 16 26 e2 57
Recovery Mode Environment:
iBoot build-version=iBoot-2261.30.37
iBoot build-style=RELEASE
Sending AppleLogo...
Extracting applelogo@2x~ipad.s5l8945x.img3...
Not personalizing component AppleLogo...
Sending AppleLogo (17868 bytes)...
Extracting 058-4289-009.dmg...
Not personalizing component RestoreRamDisk...
Sending RestoreRamDisk (8892684 bytes)...
Extracting DeviceTree.j1ap.img3...
Not personalizing component RestoreDeviceTree...
Sending RestoreDeviceTree (81804 bytes)...
ERROR: Unable to find component node for RestoreKernelCache
ERROR: Unable to get path for component 'RestoreKernelCache'
ERROR: Unable to send RestoreKernelCache to device.
ERROR: Unable to send KernelCache
ERROR: Unable to place device into restore mode

Restore of iPhone 4 (3,1) at 7.0.4 with Cydia signatures does not proceed beyond recovery mode

I'm trying to restore iPhone 4 (model iPhone3,1) currently at jailbroken 7.0.4 to the same firmware with SHSH blobs cached. The command line is:
sudo idevicerestore -d -s -e iPhone3,1_7.0.4_11B554a_Restore.ipsw

I've attempted restoring from both normal and DFU modes. The distribution is fully updated Arch, idevicerestore and all dependencies are built from git with -O2 and gold linker, if that matters.

If started from the DFU mode, the recovery mode transition fails. Here is the log.

$ sudo idevicerestore -d -s -e iPhone3,1_6.1_10B144_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
Setting to configuration 1
Setting to interface 0:0
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
Setting to configuration 1
Setting to interface 0:0
Found device in DFU mode
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
Setting to configuration 1
Setting to interface 0:0
Identified device as iPhone3,1
Extracting BuildManifest from IPSW
Product Version: 6.1
Product Build: 10B144 Major: 10
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
Setting to configuration 1
Setting to interface 0:0
Device supports Image4: false
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Getting device's ECID for TSS request
Found ECID 2725307907406
Getting ApNonce in dfu mode... 97 7a 72 8c a4 de c7 63 64 70 f3 a7 8d 2d 8d d9 a2 54 2c 95
Trying to fetch new SHSH blob
Getting SepNonce in dfu mode...
NOTE: Unable to find BbProvisioningManifestKeyHash node
NOTE: Unable to find BbActivationManifestKeyHash node
NOTE: Unable to find BbCalibrationManifestKeyHash node
NOTE: Unable to find BbFactoryActivationManifestKeyHash node
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>@Locality</key>
        <string>en_US</string>
        <key>@HostPlatformInfo</key>
        <string>mac</string>
        <key>@VersionInfo</key>
        <string>libauthinstall-293.1.16</string>
        <key>@UUID</key>
        <string>53A5A11C-C53D-9137-2330-C2D5E66DD7F8</string>
        <key>UniqueBuildID</key>
        <data>
        pG4TPaFJMnbDsbEpbX4UMZLIXZI=
        </data>
        <key>ApChipID</key>
        <integer>35120</integer>
        <key>ApBoardID</key>
        <integer>0</integer>
        <key>ApSecurityDomain</key>
        <integer>1</integer>
        <key>AppleLogo</key>
        <dict>
                <key>Digest</key>
                <data>
                tVzKwU28ZeAMAEznB0gXlTqg/nc=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryCharging</key>
        <dict>
                <key>Digest</key>
                <data>
                L6qZzbogdFGtQMw/5gOZd+eZWRU=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryCharging0</key>
        <dict>
                <key>Digest</key>
                <data>
                cjaI0MU3jOsiVYXIvMB5sxpIqGg=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryCharging1</key>
        <dict>
                <key>Digest</key>
                <data>
                IPVTRh9ie4jClrz0FRF2Yu9WAAk=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryFull</key>
        <dict>
                <key>Digest</key>
                <data>
                TgSXtaff4usrSCtWBsWjFASwDGE=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryLow0</key>
        <dict>
                <key>Digest</key>
                <data>
                4iyJ3wMLHEKVATxEn6Xik2xWoIE=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryLow1</key>
        <dict>
                <key>Digest</key>
                <data>
                6t6HpnSDLwnrEdgbs9G8Tl+a4WQ=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryPlugin</key>
        <dict>
                <key>Digest</key>
                <data>
                jmq+W/S7L3Ovhb2Fb0WVtl1l9sg=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>DeviceTree</key>
        <dict>
                <key>Digest</key>
                <data>
                ftwJd1hKDSkNDd9ta/op/vm6zAQ=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>KernelCache</key>
        <dict>
                <key>Digest</key>
                <data>
                +GK1OiLNmtVt8vKzbhrO7NLrwF0=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAALgIcQC4EoFn916OD/dnaj4TYmiZT30Zmw==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>LLB</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1537.9.55~4</string>
                <key>Digest</key>
                <data>
                v8nIPIY3A5sJgvXs0xgGteJkP3k=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAgANZHke5Jfs6BFOfUsxq68Mz5TvwA==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RecoveryMode</key>
        <dict>
                <key>Digest</key>
                <data>
                DCHabXCYCT2BchQW3JNZXcab0L0=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreDeviceTree</key>
        <dict>
                <key>Digest</key>
                <data>
                ftwJd1hKDSkNDd9ta/op/vm6zAQ=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreKernelCache</key>
        <dict>
                <key>Digest</key>
                <data>
                +GK1OiLNmtVt8vKzbhrO7NLrwF0=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAALgIcQC4EoFn916OD/dnaj4TYmiZT30Zmw==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreLogo</key>
        <dict>
                <key>Digest</key>
                <data>
                tVzKwU28ZeAMAEznB0gXlTqg/nc=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreRamDisk</key>
        <dict>
                <key>Digest</key>
                <data>
                3g/xq6F6I6x+ObnsGH+/md2bhsg=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAPhQlwBHolSkgkm6HDe1SmWi61N6CbKH4A==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBEC</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1537.9.55~4</string>
                <key>Digest</key>
                <data>
                8zLrLSZLrPS7cJ/1/kFfhocx6YE=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHhBBAAWyYjpIPEBUznJuwEdqX4Q6rXbMw==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBSS</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1537.9.55~4</string>
                <key>Digest</key>
                <data>
                N9iVxxIZ5qp88Z8QQMbhe/iv4Ik=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAQDJeFenIfQe1QZcnJjgtvvK2yTGMg==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBoot</key>
        <dict>
                <key>Digest</key>
                <data>
                g2TcFH8TbqIHRah4Y25ijK4yLZ0=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>ApNonce</key>
        <data>
        l3pyjKTex2NkcPOnjS2N2aJULJU=
        </data>
        <key>@APTicket</key>
        <true/>
        <key>ApECID</key>
        <integer>2725307907406</integer>
        <key>ApProductionMode</key>
        <true/>
</dict>
</plist>
Sending TSS request attempt 1... response successfully received
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>@ServerVersion</key>
        <string>2.0.0</string>
        <key>APTicket</key>
        <data>
        MIIKxTALBgkqhkiG9w0BAQUxggLRgQhOfQKJegIAAIIEMIkAAIMEAAAAAIQEAQAAAIUE
        AQAAAIYRaUJvb3QtMTUzNy45LjU1fjSHFINk3BR/E26iB0WoeGNuYoyuMi2diBS1XMrB
        Tbxl4AwATOcHSBeVOqD+d4kUftwJd1hKDSkNDd9ta/op/vm6zASKFPhitToizZrVbfLy
        s24azuzS68BdjBQvqpnNuiB0Ua1AzD/mA5l355lZFY0Ujmq+W/S7L3Ovhb2Fb0WVtl1l
        9siOFOIsid8DCxxClQE8RJ+l4pNsVqCBjxTq3oemdIMvCesR2Buz0bxOX5rhZJAUDCHa
        bXCYCT2BchQW3JNZXcab0L2SFOvwNFGh9OVXTnq/glw2DoN03g+6lBFpQm9vdC0xNTM3
        LjkuNTV+NJYRaUJvb3QtMTUzNy45LjU1fjSXFLVcysFNvGXgDABM5wdIF5U6oP53mBR+
        3Al3WEoNKQ0N321r+in++brMBJkU+GK1OiLNmtVt8vKzbhrO7NLrwF2aFN4P8auheiOs
        fjm57Bh/v5ndm4bInBQyP8+4AamyBxpUpL4YBSCy22FhbZ8wBAEAAACfMQQBAAAAnzIE
        AQAAAJ8zBAEAAACfNQQBAAAAnzYEAQAAAJ83BAEAAACfOAQBAAAAnzkEAQAAAJ87BAEA
        AACfPAQBAAAAnz0EAQAAAJ8+BAEAAACfSxTMxfRqmSRfqGid8GrnBakKJAvUsp9OFHI2
        iNDFN4zrIlWFyLzAebMaSKhon08UIPVTRh9ie4jClrz0FRF2Yu9WAAmfUBROBJe1p9/i
        6ytIK1YGxaMUBLAMYZ9UBAEAAACfVQQBAAAAn1YEAQAAAJ+BZBS/ycg8hjcDmwmC9ezT
        GAa14mQ/eZ+BZRQ32JXHEhnmqnzxnxBAxuF7+K/giZ+BZhTzMustJkus9Ltwn/X+QV+G
        hzHpgZ+BZwQBAAAAn4FoBAEAAACfgWkEAQAAAASBgGK+UtiiQFBzDKYhr2TJSgjqOQFS
        LCAHwF7ckYMTCwoZtxpzpBV/Yxp631Mw62ePW3nkBWUAvL6bOe7HwASUF0Oum3lr3bib
        nMLz8sGo3fw3fveR8Dl6zD8Y+KPgRFeHpxf8+pby1/cRtsG9gygAYV2riGyzCM1TaIpp
        X74LWxduoYIHXDCCA/gwggLgoAMCAQICARAwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
        BhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRpZmlj
        YXRpb24gQXV0aG9yaXR5MRYwFAYDVQQDEw1BcHBsZSBSb290IENBMB4XDTA3MDEwNTE5
        MjE1OVoXDTIyMDEwNTE5MjE1OVowfjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFwcGxl
        IEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MTIwMAYD
        VQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIw
        DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP7y3dplObBy4wOEgfRWydGhSrvIBAHz
        Rg2V4TeVCmlHxsSMeT5HVQayBhTrfqT1I/5CNZjvNAXOmtOtlNCiD8LStARITCNaW8cL
        nWLT8+NrEP6XCFfGEnZ3GbLGwyyY7bcph+TcGLbl87oT+7K2t2fZy99vpZM97XqTZ7T9
        NBbkAKsLt04fWtYDaD5ythQwOgxkl6BGInkbdyxbLpDgEdwWo+HI94SyT9xLOgrVEn7c
        ET/6EXNlGklwoH51grQ8Ky9V3zCIsXVNRdwHKC1KOoX9n5U+IrqcRve3aHuzlNVCPgWz
        OPhneUiMbB+Lvu7tVAXVowtYfXgPJKmh3Ap06vcCAwEAAaOBnDCBmTAOBgNVHQ8BAf8E
        BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUST02U8nXFeGGYU6sq6sYVmNd
        w8YwHwYDVR0jBBgwFoAUK9BpR5R2Cf70a40uQKb3R01/CF4wNgYDVR0fBC8wLTAroCmg
        J4YlaHR0cDovL3d3dy5hcHBsZS5jb20vYXBwbGVjYS9yb290LmNybDANBgkqhkiG9w0B
        AQUFAAOCAQEANMUMxQ5ZES+mwp8yeOdkMmnbrcIlyrdHg7eSPHFToLKtMJWAUL1tX0zc
        zngNTEkQUDgQNb9FgaxmWCwhI/iWXoDp08ZM/YWuOWH2KKpE7RWbP0fAV6xnHIzN1JON
        T9tqVKd7QlsPmcbXOKtSp6GDHYUwdOoNHdpohI/ihH7LuUFu1Z+oQrX/M7Zxf+qjud1J
        A2CFdhA+jqjhNuMS3YVs7WZTsFtImy9/9soc8F2YLXSt8EhHxeGaZ7IiD7AOAqDhumpi
        ubS1cfQl4bPloO3IGkC1+DEVBaRcOCNMkJ1HA4CA1DKQRY8Pr5v8Au7ty+Yx9p8V5n0r
        V0MO4g+hoK2J2jCCA1wwggJEoAMCAQICAgEfMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNV
        BAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZp
        Y2F0aW9uIEF1dGhvcml0eTEyMDAGA1UEAxMpQXBwbGUgU2VjdXJlIEJvb3QgQ2VydGlm
        aWNhdGlvbiBBdXRob3JpdHkwHhcNMTEwNTIwMjMyMzQ4WhcNMjEwNTIwMjMyMzQ4WjBi
        MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEMMAoGA1UECxMDRVRTMTAw
        LgYDVQQDEydIM1AtRGFyd2luLVByb2QtQ0VQTzEtVGlja2V0LURhdGFDZW50ZXIwgZ8w
        DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAIPICtRpXXi4qKi9Rz14qLMtbnzWT0gyhr63
        ojU6FO4Vrj2Lflt71G2cDpONTCXzfKM408RfSKLaBqTW9Wqbno9hyMDGRLXkGpSY4eup
        HafQjKdrXAWaKoi3hwrjFrPHk4YXIZNn7AyUobznP7T/SCJ0TYr62snEnaBqyyCvnI0n
        AgMBAAGjgYMwgYAwCwYDVR0PBAQDAgeAMB0GA1UdDgQWBBRtAofiB6BlDVjeYoyRnn+Z
        uSqTnzAfBgNVHSMEGDAWgBRJPTZTydcV4YZhTqyrqxhWY13DxjAxBgoqhkiG92NkBgEL
        AQH/BCAwHqEcMRqCBDCJAACEBAEAAACFBAEAAACfgWsEAQAAADANBgkqhkiG9w0BAQUF
        AAOCAQEA/mc2+s7Ds8YtpIrL57bC/GvHqMrnzV1EgAIbgv+adiUAym7LIwDjqtxB04gi
        zn7z/xPaDdqbd9b/SQQK4B9X8UUdltPZELpxQcYVFcAkc+csL4xEAaOTS2HWUCYZxd+r
        sq74lNKRWRLIEKhCf9SIrU5zEEVtwRO+P5hBN0Hwd8iVcZ7Ha1BDpG4UPcXBxW/JPHm4
        xO1o4khyCWgGY96hug8rdsF4t0XKY5Qjzfw9Thqkn/3ZzoRicCWw046uxv1UM5kNmY53
        bVMsG3MovX0vxYMXNvZxJPZn145nh8AJcyMx8xO6Nf440U9AhPIJnNNjQY0O8i0LW4ot
        IRdscvmuWw==
        </data>
        <key>KernelCache</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAANdojV+MDqudMv6E0YJbOEfPC7YLfvchbYYd
                QogiDq5hd/h84QpZz54ezfvpMCCwnM3wY8WZ+RTu5tEx6g2rBRzR3Ma7ao79uUsVptao
                uUB6rhshisQKbKBkZncxxTtcX2Ve1r1WOHeDRqSh+TkJoqFqky4/uMQSBlbcLP6IVcEd
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAALgIcQC4EoFn916OD/dnaj4TYmiZT30Zmw==
                </data>
        </dict>
        <key>LLB</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAABJeMNQBqz1nJv79j6/LbAVSM+fhMJjdNhV5
                19tOb5tww9pgHOOkjRLuXLqiGrduWN7Q4fKKpgRhemrbeBwmuufD1UHdelFOofuce5wS
                XIsJoDZjbD0J8Fk9NRY6dFl2t4lGEJQThEZmwwW8NndEt4/WXtFoiPIUNuvC46OWYV7G
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAgANZHke5Jfs6BFOfUsxq68Mz5TvwA==
                </data>
        </dict>
        <key>RestoreKernelCache</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAANdojV+MDqudMv6E0YJbOEfPC7YLfvchbYYd
                QogiDq5hd/h84QpZz54ezfvpMCCwnM3wY8WZ+RTu5tEx6g2rBRzR3Ma7ao79uUsVptao
                uUB6rhshisQKbKBkZncxxTtcX2Ve1r1WOHeDRqSh+TkJoqFqky4/uMQSBlbcLP6IVcEd
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAALgIcQC4EoFn916OD/dnaj4TYmiZT30Zmw==
                </data>
        </dict>
        <key>RestoreRamDisk</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAMAcJ+0d9eK9HoKf4osDjPuuw5V2EHvcW5KG
                Ggpsculn2VD50zGV028+3gMhYsGNl0QbdSbK+pAtp+qNYw0YgO5t9GvBzQakipRdaLGJ
                QWCjX8moFGFFoSEl4tj5fyzYhV1tjhoyek6UwWjJ4pGrLGxPxdYTmf6PWbhLCtYOnwWp
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAPhQlwBHolSkgkm6HDe1SmWi61N6CbKH4A==
                </data>
        </dict>
        <key>iBEC</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAMXLjyHNI6IE0mvcvhi9rgaFtLXK1G2VYwc8
                mD9q2tb9lBKeICadAg43SMK+5hbFn1cN5o3t+EI6d8WVkVbDJdQ3jZ3PtqYx6E4HjM4v
                +VNMaQXKSHgwxfkBuAROLHD/1CYXyyNBe5NslMAm7NduneLoP95PJ1qIjdzOlCIhe8YG
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHhBBAAWyYjpIPEBUznJuwEdqX4Q6rXbMw==
                </data>
        </dict>
        <key>iBSS</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAJ27yTrhSoQCQ3YLJtRbqHqCx1Xwg7RSxiEy
                zDGWML6o8QvUXOfe6ZJa9OlRUAq9aC/AMRPhaQhP8HOrQpUgEhyChq//ODl5wEZmCAgD
                wQwrpcs/A+PsYlj9vhSzCttcCXECqA/6Uv1c3Sog1ER+WzEbLuyqlTx8r78DYwMpx3jD
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAQDJeFenIfQe1QZcnJjgtvvK2yTGMg==
                </data>
        </dict>
</dict>
</plist>
Received SHSH blobs
Using cached filesystem from 'iPhone3,1_6.1_10B144_Restore/048-0820-001.dmg'
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
found device with ECID 0000027a89027d4e
Setting to configuration 1
Setting to interface 0:0
NOTE: Unable to find iBSS path in TSS entry
NOTE: No path for component iBSS in TSS, will fetch from build_identity
Extracting iBSS.n90ap.RELEASE.dfu...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
Personalizing IMG3 component iBSS...
Parsed TYPE element
Parsed DATA element
Parsed VERS element
Parsed SEPO element
Parsed CHIP element
Parsed BORD element
Parsed KBAG element
Parsed KBAG element
Parsed SHSH element
Parsed CERT element
reconstructed size: 68057
Writing data to iBSS
Sending iBSS (68057 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
found device with ECID 0000027a89027d4e
Setting to configuration 1
Setting to interface 0:0
Nonce: 97 7a 72 8c a4 de c7 63 64 70 f3 a7 8d 2d 8d d9 a2 54 2c 95
Setting to configuration 1
NOTE: Unable to find iBEC path in TSS entry
NOTE: No path for component iBEC in TSS, will fetch from build_identity
Extracting iBEC.n90ap.RELEASE.dfu...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
Personalizing IMG3 component iBEC...
Parsed TYPE element
Parsed DATA element
Parsed VERS element
Parsed SEPO element
Parsed CHIP element
Parsed BORD element
Parsed KBAG element
Parsed KBAG element
Parsed SHSH element
Parsed CERT element
reconstructed size: 281049
Writing data to iBEC
ticket size = 2761
fillsize = 2816
Sending iBEC (283865 bytes)...
[==================================================] 100.0%
opening device 05ac:1227...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:977A728CA4DEC7636470F3A78D2D8DD9A2542C95
found device with ECID 0000027a89027d4e
Setting to configuration 1
Setting to interface 0:0
ERROR: Unable to connect to recovery device
ERROR: Unable to place device into recovery mode from DFU mode

If started from the normal mode, the restore process gets stuck after entering the recovery mode. The "plug in cable / iTunes" image never changes, and idevicerestore quits after some time of waiting.
Here is the log.

$ sudo idevicerestore -d -s -e iPhone3,1_7.0.4_11B554a_Restore.ipsw
Reading data from version.xml
NOTE: using cached version data
Found device in Normal mode
Identified device as iPhone3,1
Extracting BuildManifest from IPSW
Product Version: 7.0.4
Product Build: 11B554a Major: 11
Device supports Image4: false
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Getting device's ECID for TSS request
Found ECID 2725307907406
Getting ApNonce in normal mode... 63 11 68 38 93 d6 83 22 f0 1f e4 f6 e2 45 db e5 a0 6a 7e e9
Trying to fetch new SHSH blob
Unable to get SEPNonce from lockdownd
Getting SepNonce in normal mode... failed
NOTE: Unable to find BbProvisioningManifestKeyHash node
NOTE: Unable to find BbActivationManifestKeyHash node
NOTE: Unable to find BbCalibrationManifestKeyHash node
NOTE: Unable to find BbFactoryActivationManifestKeyHash node
DEBUG: Applying restore request rules for entry AppleLogo
DEBUG: Applying restore request rules for entry BatteryCharging0
DEBUG: Applying restore request rules for entry BatteryCharging1
DEBUG: Applying restore request rules for entry BatteryFull
DEBUG: Applying restore request rules for entry BatteryLow0
DEBUG: Applying restore request rules for entry BatteryLow1
DEBUG: Applying restore request rules for entry BatteryPlugin
DEBUG: Applying restore request rules for entry DeviceTree
DEBUG: Applying restore request rules for entry KernelCache
DEBUG: Applying restore request rules for entry LLB
DEBUG: Applying restore request rules for entry RecoveryMode
DEBUG: Applying restore request rules for entry RestoreDeviceTree
DEBUG: Applying restore request rules for entry RestoreKernelCache
DEBUG: Applying restore request rules for entry RestoreLogo
DEBUG: Applying restore request rules for entry RestoreRamDisk
DEBUG: Applying restore request rules for entry iBEC
DEBUG: Applying restore request rules for entry iBSS
DEBUG: Applying restore request rules for entry iBoot
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>@Locality</key>
        <string>en_US</string>
        <key>@HostPlatformInfo</key>
        <string>mac</string>
        <key>@VersionInfo</key>
        <string>libauthinstall-293.1.16</string>
        <key>@UUID</key>
        <string>00F46A32-53FC-B9BA-F1BA-468B221DF2A5</string>
        <key>UniqueBuildID</key>
        <data>
        EYZ6ZBsZMnZGjXbcuZ+a4XyMFqo=
        </data>
        <key>ApChipID</key>
        <integer>35120</integer>
        <key>ApBoardID</key>
        <integer>0</integer>
        <key>ApSecurityDomain</key>
        <integer>1</integer>
        <key>AppleLogo</key>
        <dict>
                <key>Digest</key>
                <data>
                WAwYkbezsxwIO2eIFWH0yjou2VM=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryCharging0</key>
        <dict>
                <key>Digest</key>
                <data>
                1IwWshfxyC/6zYiyhK0cUP2lePI=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryCharging1</key>
        <dict>
                <key>Digest</key>
                <data>
                vu1wl0d+CP0E6YclItpiTR8dGuA=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryFull</key>
        <dict>
                <key>Digest</key>
                <data>
                zO41YCgdeUfyE9u1ftcoFBBgKJc=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryLow0</key>
        <dict>
                <key>Digest</key>
                <data>
                +C8oqNE1LH1n5gAT0wLNkloVdto=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryLow1</key>
        <dict>
                <key>Digest</key>
                <data>
                CCUqyrzpfhEVR4C0rMMAlXnHeHY=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>BatteryPlugin</key>
        <dict>
                <key>Digest</key>
                <data>
                f2FjTtBJqdvrYm7OjvoYDD52dN8=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>DeviceTree</key>
        <dict>
                <key>Digest</key>
                <data>
                yzqhDnT7METsMAFVst/AJcR8Hok=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>KernelCache</key>
        <dict>
                <key>Digest</key>
                <data>
                q3Zc4oekFqUR3bfuwTzA6lgdhFk=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>LLB</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1940.3.5~1</string>
                <key>Digest</key>
                <data>
                Rumje8QKcGN1S+rZTcKl8Y909Vg=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAgBkZcTPhzves4TdCd4y+doZclVsPA==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RecoveryMode</key>
        <dict>
                <key>Digest</key>
                <data>
                +Er8G3rOWSRoOpvnZj1Rk5VFHy0=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreDeviceTree</key>
        <dict>
                <key>Digest</key>
                <data>
                yzqhDnT7METsMAFVst/AJcR8Hok=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreKernelCache</key>
        <dict>
                <key>Digest</key>
                <data>
                q3Zc4oekFqUR3bfuwTzA6lgdhFk=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreLogo</key>
        <dict>
                <key>Digest</key>
                <data>
                WAwYkbezsxwIO2eIFWH0yjou2VM=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>RestoreRamDisk</key>
        <dict>
                <key>Digest</key>
                <data>
                kBvUvgnOptfKTiBtcEPL95gAvnY=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBEC</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1940.3.5~1</string>
                <key>Digest</key>
                <data>
                q/BDuhyEOLr/mpM1sniC1A67aKI=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHhRBACYY3BhlUrNVfvl04cyL3By98adsQ==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBSS</key>
        <dict>
                <key>BuildString</key>
                <string>iBoot-1940.3.5~1</string>
                <key>Digest</key>
                <data>
                DC/KIxBIW/bftRE+Zbp7Q2Ur2xI=
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAQA8oNxEr0DUxJTsKtjOpzb6x/I0Uw==
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>iBoot</key>
        <dict>
                <key>Digest</key>
                <data>
                fchpiITru577zs1Zq/97HLb3t+A=
                </data>
                <key>Trusted</key>
                <true/>
        </dict>
        <key>ApNonce</key>
        <data>
        YxFoOJPWgyLwH+T24kXb5aBqfuk=
        </data>
        <key>@APTicket</key>
        <true/>
        <key>ApECID</key>
        <integer>2725307907406</integer>
        <key>ApProductionMode</key>
        <true/>
        <key>BbChipID</key>
        <integer>80</integer>
        <key>BbSkeyId</key>
        <data>
        l6s0rAaT9bA7+3JtTiwlTxTicKE=
        </data>
        <key>BbNonce</key>
        <data>
        QLvH4ANSwnRS/LyZSq/Tp/K91tA=
        </data>
        <key>@BBTicket</key>
        <true/>
        <key>BbGoldCertId</key>
        <integer>257</integer>
        <key>BbSNUM</key>
        <data>
        aeoNF4IYhbRItgmM
        </data>
        <key>BasebandFirmware</key>
        <dict>
                <key>EBL-Digest</key>
                <data>
                imrfCpuwU21wdfD1QrdCD6zF+V4=
                </data>
                <key>FlashPSI-PartialDigest</key>
                <data>
                QAQAAMB6AAAx7SlK1gDCGspZLECtOgotjATFdw==
                </data>
                <key>FlashPSI-SecPackDigest</key>
                <data>
                aV7n5VUpvSbMWA4ImMj4R0vfpmk=
                </data>
                <key>FlashPSI-Version</key>
                <string>0x0002000d</string>
                <key>ModemStack-Digest</key>
                <data>
                ebeLNZ/4pv2VaNmLFpZEpTQNX0Q=
                </data>
                <key>ModemStack-Length</key>
                <string>0x006f7248</string>
                <key>ModemStack-SecPackDigest</key>
                <data>
                Q9DHqpgfy1IP1vi44STUTiNpnqY=
                </data>
                <key>RamPSI-PartialDigest</key>
                <data>
                QAQAAMD5AABaj5grvd5JETnsAKZKAD/cTGrVqA==
                </data>
                <key>RamPSI-Version</key>
                <string>0x0002000d</string>
        </dict>
</dict>
</plist>
Sending TSS request attempt 1... response successfully received
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>@ServerVersion</key>
        <string>2.0.0</string>
        <key>APTicket</key>
        <data>
        MIIKpTALBgkqhkiG9w0BAQUxggKxgQhOfQKJegIAAIIEMIkAAIMEAAAAAIQEAQAAAIUE
        AQAAAIYQaUJvb3QtMTk0MC4zLjV+MYcUfchpiITru577zs1Zq/97HLb3t+CIFFgMGJG3
        s7McCDtniBVh9Mo6LtlTiRTLOqEOdPswROwwAVWy38AlxHweiYoUq3Zc4oekFqUR3bfu
        wTzA6lgdhFmNFH9hY07QSanb62Juzo76GAw+dnTfjhT4Lyio0TUsfWfmABPTAs2SWhV2
        2o8UCCUqyrzpfhEVR4C0rMMAlXnHeHaQFPhK/Bt6zlkkaDqb52Y9UZOVRR8tkhR31P8J
        0gZ92kU5AKLEmzWyMwGf7ZQQaUJvb3QtMTk0MC4zLjV+MZYQaUJvb3QtMTk0MC4zLjV+
        MZcUWAwYkbezsxwIO2eIFWH0yjou2VOYFMs6oQ50+zBE7DABVbLfwCXEfB6JmRSrdlzi
        h6QWpRHdt+7BPMDqWB2EWZoUkBvUvgnOptfKTiBtcEPL95gAvnacFOb/6PVGaaome3J6
        n3CT2cwhK6DSnzAEAQAAAJ8xBAEAAACfMgQBAAAAnzMEAQAAAJ82BAEAAACfNwQBAAAA
        nzgEAQAAAJ85BAEAAACfOwQBAAAAnzwEAQAAAJ89BAEAAACfPgQBAAAAn0sUt5zCGQow
        xqu7bJAzLcgAWjRUB+qfThTUjBayF/HIL/rNiLKErRxQ/aV48p9PFL7tcJdHfgj9BOmH
        JSLaYk0fHRrgn1AUzO41YCgdeUfyE9u1ftcoFBBgKJefVAQBAAAAn1UEAQAAAJ9WBAEA
        AACfgWQURumje8QKcGN1S+rZTcKl8Y909VifgWUUDC/KIxBIW/bftRE+Zbp7Q2Ur2xKf
        gWYUq/BDuhyEOLr/mpM1sniC1A67aKKfgWcEAQAAAJ+BaAQBAAAAn4FpBAEAAAAEgYA1
        2b0CIinP7vO/nrw4HxF2lLN7oWI0wsEstNby0mH6FmMrC4/ifxGEG1qWzkxUZMCqgWNb
        6EuKyfL+DIhuKA7e97xMhzc+Y2Z+EKK5375UIWlabdFCW6BIZwO6yyjxVsPIXLycQxwS
        NdblKpfUWUH9k0YRW2ybmq4it6f5Mz1CYKGCB1wwggP4MIIC4KADAgECAgEQMA0GCSqG
        SIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYD
        VQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUg
        Um9vdCBDQTAeFw0wNzAxMDUxOTIxNTlaFw0yMjAxMDUxOTIxNTlaMH4xCzAJBgNVBAYT
        AlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0
        aW9uIEF1dGhvcml0eTEyMDAGA1UEAxMpQXBwbGUgU2VjdXJlIEJvb3QgQ2VydGlmaWNh
        dGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQD+8t3a
        ZTmwcuMDhIH0VsnRoUq7yAQB80YNleE3lQppR8bEjHk+R1UGsgYU636k9SP+QjWY7zQF
        zprTrZTQog/C0rQESEwjWlvHC51i0/PjaxD+lwhXxhJ2dxmyxsMsmO23KYfk3Bi25fO6
        E/uytrdn2cvfb6WTPe16k2e0/TQW5ACrC7dOH1rWA2g+crYUMDoMZJegRiJ5G3csWy6Q
        4BHcFqPhyPeEsk/cSzoK1RJ+3BE/+hFzZRpJcKB+dYK0PCsvVd8wiLF1TUXcBygtSjqF
        /Z+VPiK6nEb3t2h7s5TVQj4Fszj4Z3lIjGwfi77u7VQF1aMLWH14DySpodwKdOr3AgMB
        AAGjgZwwgZkwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE
        FEk9NlPJ1xXhhmFOrKurGFZjXcPGMB8GA1UdIwQYMBaAFCvQaUeUdgn+9GuNLkCm90dN
        fwheMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2Ev
        cm9vdC5jcmwwDQYJKoZIhvcNAQEFBQADggEBADTFDMUOWREvpsKfMnjnZDJp263CJcq3
        R4O3kjxxU6CyrTCVgFC9bV9M3M54DUxJEFA4EDW/RYGsZlgsISP4ll6A6dPGTP2Frjlh
        9iiqRO0Vmz9HwFesZxyMzdSTjU/balSne0JbD5nG1zirUqehgx2FMHTqDR3aaISP4oR+
        y7lBbtWfqEK1/zO2cX/qo7ndSQNghXYQPo6o4TbjEt2FbO1mU7BbSJsvf/bKHPBdmC10
        rfBIR8XhmmeyIg+wDgKg4bpqYrm0tXH0JeGz5aDtyBpAtfgxFQWkXDgjTJCdRwOAgNQy
        kEWPD6+b/ALu7cvmMfafFeZ9K1dDDuIPoaCtidowggNcMIICRKADAgECAgIBHzANBgkq
        hkiG9w0BAQUFADB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQG
        A1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAwBgNVBAMTKUFwcGxl
        IFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTExMDUyMDIzMjM0
        OFoXDTIxMDUyMDIzMjM0OFowYjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIElu
        Yy4xDDAKBgNVBAsTA0VUUzEwMC4GA1UEAxMnSDNQLURhcndpbi1Qcm9kLUNFUE8xLVRp
        Y2tldC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDyArUaV14
        uKiovUc9eKizLW581k9IMoa+t6I1OhTuFa49i35be9RtnA6TjUwl83yjONPEX0ii2gak
        1vVqm56PYcjAxkS15BqUmOHrqR2n0Iyna1wFmiqIt4cK4xazx5OGFyGTZ+wMlKG85z+0
        /0gidE2K+trJxJ2gassgr5yNJwIDAQABo4GDMIGAMAsGA1UdDwQEAwIHgDAdBgNVHQ4E
        FgQUbQKH4gegZQ1Y3mKMkZ5/mbkqk58wHwYDVR0jBBgwFoAUST02U8nXFeGGYU6sq6sY
        VmNdw8YwMQYKKoZIhvdjZAYBCwEB/wQgMB6hHDEaggQwiQAAhAQBAAAAhQQBAAAAn4Fr
        BAEAAAAwDQYJKoZIhvcNAQEFBQADggEBAP5nNvrOw7PGLaSKy+e2wvxrx6jK581dRIAC
        G4L/mnYlAMpuyyMA46rcQdOIIs5+8/8T2g3am3fW/0kECuAfV/FFHZbT2RC6cUHGFRXA
        JHPnLC+MRAGjk0th1lAmGcXfq7Ku+JTSkVkSyBCoQn/UiK1OcxBFbcETvj+YQTdB8HfI
        lXGex2tQQ6RuFD3FwcVvyTx5uMTtaOJIcgloBmPeoboPK3bBeLdFymOUI838PU4apJ/9
        2c6EYnAlsNOOrsb9VDOZDZmOd21TLBtzKL19L8WDFzb2cST2Z9eOZ4fACXMjMfMTujX+
        ONFPQITyCZzTY0GNDvItC1uKLSEXbHL5rls=
        </data>
        <key>LLB</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAAHfyvXL9XTpoLvOEP/BJbgCvlVDdRMaoY2t+
                thAi+o2gHGxmPlD4u43jCMQc0TXLA9itCKOz6tx0Mtgw/9dJUsNLOAhepGojpXr80Xu2
                tX2MeJB+CxDnc0J39Jsulp+VYkSvixXCovFE2XRpSXNGmDXd4EPq/W2GH4I5YfreITd+
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAgBkZcTPhzves4TdCd4y+doZclVsPA==
                </data>
        </dict>
        <key>iBEC</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAADtzizY7d9LUQVsuVQXGVUj1PFE5AoQuYT0B
                SGiKJgpuWqk5Y5hR9qfGxG5CWa516yH8hIUg9o8qfrsHlChTNMdnKBKfo759KZP0C2tp
                qSmIImVG73fTAGuZ2cg5qLJyfmZHoR00QyEcvtwFcY1tgMLEuGboUpW2TzcC7oaeXAcS
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHhRBACYY3BhlUrNVfvl04cyL3By98adsQ==
                </data>
        </dict>
        <key>iBSS</key>
        <dict>
                <key>Blob</key>
                <data>
                RElDRUAAAAAIAAAATn0CiXoCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                AAAAAAAAAAAAAAAAAEhTSFOMAAAAgAAAACjDB3gfhas2LWKlX0vK2TeXmFq5sQ54gy5s
                9C6NHXm64khj4W+b+DiEzjyX/539OpaTybDt9jKD8Qx/NuJ1LvcQqAj/JxkUMy5hkl+h
                n7nARw+EaW74teeOyROgoRGXibbdK3aPhqgfqs0+NsCoU4D1Ipls/FjQVdrV0yEUVupL
                VFJFQ4EHAAB1BwAAMIID+DCCAuCgAwIBAgIBEDANBgkqhkiG9w0BAQUFADBiMQswCQYD
                VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlm
                aWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDcwMTA1
                MTkyMTU5WhcNMjIwMTA1MTkyMTU5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBw
                bGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxMjAw
                BgNVBAMTKUFwcGxlIFNlY3VyZSBCb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIB
                IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/vLd2mU5sHLjA4SB9FbJ0aFKu8gE
                AfNGDZXhN5UKaUfGxIx5PkdVBrIGFOt+pPUj/kI1mO80Bc6a062U0KIPwtK0BEhMI1pb
                xwudYtPz42sQ/pcIV8YSdncZssbDLJjttymH5NwYtuXzuhP7sra3Z9nL32+lkz3tepNn
                tP00FuQAqwu3Th9a1gNoPnK2FDA6DGSXoEYieRt3LFsukOAR3Baj4cj3hLJP3Es6CtUS
                ftwRP/oRc2UaSXCgfnWCtDwrL1XfMIixdU1F3AcoLUo6hf2flT4iupxG97doe7OU1UI+
                BbM4+Gd5SIxsH4u+7u1UBdWjC1h9eA8kqaHcCnTq9wIDAQABo4GcMIGZMA4GA1UdDwEB
                /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJPTZTydcV4YZhTqyrqxhW
                Y13DxjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
                KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3
                DQEBBQUAA4IBAQA0xQzFDlkRL6bCnzJ452QyadutwiXKt0eDt5I8cVOgsq0wlYBQvW1f
                TNzOeA1MSRBQOBA1v0WBrGZYLCEj+JZegOnTxkz9ha45YfYoqkTtFZs/R8BXrGccjM3U
                k41P22pUp3tCWw+Zxtc4q1KnoYMdhTB06g0d2miEj+KEfsu5QW7Vn6hCtf8ztnF/6qO5
                3UkDYIV2ED6OqOE24xLdhWztZlOwW0ibL3/2yhzwXZgtdK3wSEfF4ZpnsiIPsA4CoOG6
                amK5tLVx9CXhs+Wg7cgaQLX4MRUFpFw4I0yQnUcDgIDUMpBFjw+vm/wC7u3L5jH2nxXm
                fStXQw7iD6GgrYnaMIIDdTCCAl2gAwIBAgICAKowDQYJKoZIhvcNAQEFBQAwfjELMAkG
                A1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENlcnRp
                ZmljYXRpb24gQXV0aG9yaXR5MTIwMAYDVQQDEylBcHBsZSBTZWN1cmUgQm9vdCBDZXJ0
                aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAzMjUyMDUyNTNaFw0xOTAzMjYyMDUyNTNa
                MFUxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMQwwCgYDVQQLEwNFVFMx
                IzAhBgNVBAMTGkgzUC1EYXJ3aW4tUHJvZC1EYXRhQ2VudGVyMIGfMA0GCSqGSIb3DQEB
                AQUAA4GNADCBiQKBgQDi8sEDbmZ5Y0SE4R6B7ArxAF/o8+fTQaUBZHZ30CPIl1DIilY2
                3Z+XJ1WCYxH5SCoNa/zpLGclDyNdM6tiquPBRE1UnbXgK+CxF1/ZWcQfO1ASvj/1aY4Z
                vzNbnt9evSw0u/QowTTCqGQvjYQ3/kmHehde3NfDsi9sG5RgU4oCTwIDAQABo4GpMIGm
                MAsGA1UdDwQEAwIHgDAdBgNVHQ4EFgQUIaPAu0kGM+nzfwZng/Vp3FKEn5swHwYDVR0j
                BBgwFoAUST02U8nXFeGGYU6sq6sYVmNdw8YwVwYKKoZIhvdjZAYBAQEB/wRGBEQzZ21J
                RAAAADAAAAAAAAAAdHJlY01PRFMQAAAABAAAAAEAAABET1JQEAAAAAQAAAABAAAAUElI
                QxAAAAAEAAAAMIkAADANBgkqhkiG9w0BAQUFAAOCAQEA9Pbp5zI/KegsecRTLZpJgo8y
                ZGpRZMFMf/NFZetS5bLvf2WH+fGBEBGil7Uv24SYtVbkaZLm6t7zts6oeVJ6Rt5zLfKp
                vwtvRpFiKMfjEhBzIU8WAOK0R+yM4/N2HXQs4br6SUpY3Q3fKMOS4MYQrO9dUYrF79mI
                WCqPATPIL1Sh3TJTI7zgdEsiyYM82t+ob2H2haC6UiB8QO5cr8h9vjJOlyF47288Ii3t
                iFJonav4Y57oXbPQuJPboh2dxrXDNqvPTaTtFFm4DpNg+qnBQNVQoq6uFno2xngyc1ZF
                rX8SW0yjMGf3vDdMMNDOkwyRHMNNJ+1f9StCqH+DltAq1w==
                </data>
                <key>PartialDigest</key>
                <data>
                QAAAAHgBAQA8oNxEr0DUxJTsKtjOpzb6x/I0Uw==
                </data>
        </dict>
</dict>
</plist>
Received SHSH blobs
Using cached filesystem from 'iPhone3,1_7.0.4_11B554a_Restore/058-1139-002.dmg'
Entering recovery mode...
Retrying connection...
Retrying connection...
Retrying connection...
opening device 05ac:1281...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9
found device with ECID 0000027a89027d4e
Setting to configuration 1
Setting to interface 0:0
INFO: device serial number is 81111LVFA4S
Sending APTicket (2729 bytes)
NOTE: Unable to find iBEC path in TSS entry
NOTE: No path for component iBEC in TSS, will fetch from build_identity
Extracting iBEC.n90ap.RELEASE.dfu...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
Personalizing IMG3 component iBEC...
Parsed TYPE element
Parsed DATA element
Parsed VERS element
Parsed SEPO element
Parsed CHIP element
Parsed BORD element
Parsed KBAG element
Parsed KBAG element
reconstructed size: 285145
Writing data to iBEC
Sending iBEC (285145 bytes)...
opening device 05ac:1281...
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9' tag='NONC'
irecv_copy_nonce_with_tag: got length: 46
irecv_copy_nonce_with_tag: buf=' NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9' tag='SNON'
irecv_copy_nonce_with_tag: ERROR: couldn't find tag SNON in string  NONC:6311683893D68322F01FE4F6E245DBE5A06A7EE9
found device with ECID 0000027a89027d4e
Setting to configuration 1
Setting to interface 0:0
Getting ApNonce in recovery mode... 63 11 68 38 93 d6 83 22 f0 1f e4 f6 e2 45 db e5 a0 6a 7e e9
Sending APTicket (2729 bytes)
Recovery Mode Environment:
iBoot build-version=iBoot-1940.3.5
iBoot build-style=RELEASE
Sending AppleLogo...
DEBUG: tss_response_get_path_by_entry: No entry 'AppleLogo' in TSS response
NOTE: No path for component AppleLogo in TSS, will fetch from build_identity
Extracting applelogo@2x~iphone.s5l8930x.img3...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
DEBUG: tss_response_get_blob_by_entry: No entry 'AppleLogo' in TSS response
NOTE: No SHSH blob found for component AppleLogo
Not personalizing component AppleLogo...
Writing data to AppleLogo
Sending AppleLogo (6796 bytes)...
DEBUG: tss_response_get_path_by_entry: No entry 'RestoreRamDisk' in TSS response
NOTE: No path for component RestoreRamDisk in TSS, will fetch from build_identity
Extracting 058-1056-002.dmg...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreRamDisk' in TSS response
NOTE: No SHSH blob found for component RestoreRamDisk
Not personalizing component RestoreRamDisk...
Writing data to RestoreRamDisk
Sending RestoreRamDisk (9572620 bytes)...
DEBUG: tss_response_get_path_by_entry: No entry 'RestoreDeviceTree' in TSS response
NOTE: No path for component RestoreDeviceTree in TSS, will fetch from build_identity
Extracting DeviceTree.n90ap.img3...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreDeviceTree' in TSS response
NOTE: No SHSH blob found for component RestoreDeviceTree
Not personalizing component RestoreDeviceTree...
Writing data to RestoreDeviceTree
Sending RestoreDeviceTree (74636 bytes)...
DEBUG: tss_response_get_path_by_entry: No entry 'RestoreKernelCache' in TSS response
NOTE: No path for component RestoreKernelCache in TSS, will fetch from build_identity
Extracting kernelcache.release.n90...
DEBUG: tss_response_get_data_by_key: No entry 'ApImg4Ticket' in TSS response
DEBUG: tss_response_get_blob_by_entry: No entry 'RestoreKernelCache' in TSS response
NOTE: No SHSH blob found for component RestoreKernelCache
Not personalizing component RestoreKernelCache...
Writing data to RestoreKernelCache
Sending RestoreKernelCache (8090444 bytes)...
About to restore device...
Waiting for device...
Attempt 1 to connect to restore mode device...
<snip>
Attempt 180 to connect to restore mode device...
ERROR: Unable to connect to device in restore mode
ERROR: Unable to open device in restore mode
ERROR: Unable to restore device

Unable to restore iPhone 6 and iPhone 6 Plus (A8)

Noticed the latest updates regarding iPhone6 support and decided to try upgrading 8.1 to iPhone 6 with idevicerestore. After toying a bit with tss.c:

diff --git a/src/tss.c b/src/tss.c
index 99c4538..1ff27c2 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -481,7 +481,9 @@ int tss_request_add_ap_tags(plist_t request, plist_t parameters, plist_t overrid
}

            /* FIXME: only used with diagnostics firmware */
  •           if ((strcmp(key, "Diags") == 0) || (strcmp(key, "OS") == 0)) {
    
  •           if ((strcmp(key, "Diags") == 0) || (strcmp(key, "OS") == 0) ||
    
  •               (strcmp(key, "rfta") == 0) || (strcmp(key, "rfts") == 0) ||
    
  •               (strcmp(key, "ftap") == 0) || (strcmp(key, "ftsp") == 0)) {
                    free(key);
                    continue;
            }
    

I can download shsh-blobs from Apple, but idevicerestore process terminates with:

...
Done sending RootTicket
Partition NAND device (28)
...
Unknown data request 'FDRTrustData' received
No data to read
No data to read
...

I assume there are additional steps required by restored to flash iPhone6, any plan to have these added?

4s restore failed

root@Shotdown:~# sudo idevicerestore -e ./Desktop/iPhone4,1_8.1.2_12B440_Restore.ipsw
read_file: File cache/version.xml not found
ERROR: Could not load 'cache/version.xml'.
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Found device in Recovery mode
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
INFO: device serial number is C39GVBZJDTC0
Identified device as iPhone4,1
Extracting BuildManifest from IPSW
ERROR: zip_name_locate: BuildManifesto.plist
Product Version: 8.1.2
Product Build: 12B440
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Found ECID 2800588864908
checking for local shsh
no local file shsh/2800588864908-iPhone4,1-8.1.2.shsh
Trying to fetch new SHSH blob
Sending TSS request... received SHSH blobs
Extracting filesystem from IPSW
[==================================================] 100.0%
ERROR: Unable to find iBEC entry in TSS response
iBEC will be signed
Extracting iBEC.n94.RELEASE.dfu
ERROR: Unable to find iBEC entry in TSS response
ERROR: Unable to get SHSH blob for TSS iBEC.n94.RELEASE.dfu entry
ERROR: Unable to get component: iBEC
ERROR: Unable to send iBEC to device.
ERROR: Unable to send iBEC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.