Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device is not ready yet when using unback to extract backup #46

Closed
rcmpayne opened this issue Jun 16, 2016 · 6 comments
Closed

Device is not ready yet when using unback to extract backup #46

rcmpayne opened this issue Jun 16, 2016 · 6 comments

Comments

@rcmpayne
Copy link

  1. Build the newest version of idevicebackup2you can use linux or winndows(mingw)
  2. Run idevicebackup2 -d -i backup --full c:\backup
  3. Backup completes without issue
  4. try to unback idevicebackup2 -d -i unback c:\backup

Expected results:
the unback command is able to fully extract the backup

Actual results:
The backup will extract com.apple.Maps however, after that it starts to display "Device is not ready yet. Going to try again in 2 seconds..."

Logs:
http://pastebin.com/vz6KJbeG

C:>idevicebackup2.exe -d -i unback C:\backup
Backup directory is "C:\backup"
This is an encrypted backup.
Enter backup password: **********
Started "com.apple.mobilebackup2" service on port 54946.
Negotiated Protocol Version 2.1
Reading Info.plist from backup.
Starting to unpack backup...
Backup password: Yes
Sending '340e42e15fc02fb99e7caf66565d3c881081390c/Manifest.plist' (11.1 KB)
Sending '340e42e15fc02fb99e7caf66565d3c881081390c/Manifest.mbdb' (145.4 KB)
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...

Environment:
Windows 7 with Mingw
iOS 9.3.1
backup encryption (tried with and without encryption)

@mcampetta
Copy link

Anyone assigned to or working on this bug? Replicated on most recent version as of 1/11/2018 with an iOS 10.1.2 device running on an iPhone 5. No backup encryption enabled.

Sending '614604d744fced72b85bd44eb43615722e361efa/Manifest.plist' (13.1 KB)
Sending '614604d744fced72b85bd44eb43615722e361efa/Manifest.mbdb' (155.6 KB)
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...

@nikias
Copy link
Member

nikias commented Jan 12, 2018

Why do you file this under ideviceinstaller? This is a ticket for the main project. We have this issue filed already: libimobiledevice/libimobiledevice#517
TL;DR: unback is broken since iOS 10.x - this is something Apple did and nothing that can be fixed from our side.

@nikias nikias closed this as completed Jan 12, 2018
@paradoxicalNL
Copy link

Backup from IOS12, it unpacks like 2/3 of the files, after which it will fail.

Device is not ready yet. Going to try again in 2 seconds...

DMESG
[33976.576915] ipheth 1-2:4.2: ipheth_rcvbulk_callback: urb status: -84
[33976.577579] usb 1-2: USB disconnect, device number 17
[33976.605916] ipheth 1-2:4.2: Apple iPhone USB Ethernet now disconnected

on:

Copying 'a320bb6830e194f428ba0abe5ac146659d9d6f75/4d/4d6bb652961e1b6cefcf502caa08caea179e2b64' to 'unback/a320bb6830e194f428ba0abe5ac146659d9d6f75/var/root/Library/Preferences/com.apple.xpc.activity2.plist'

In the meantime, most of my files are actually there!

@johnnyasantoss
Copy link

Mine only stops when it gets to .../var/root/Library/Preferences/com.apple.xpc.activity2.plist

Is there anything else I can do to unback my backup?

@mschrage
Copy link

I have noticed the same thing.

Copying '3a319fcdc444b81775a699113efc28fa00ee16f1/4d/4d6bb652961e1b6cefcf502caa08caea179e2b64' to '../var/root/Library/Preferences/com.apple.xpc.activity2.plist' ERROR: Could not receive from mobilebackup2 (-256) Unback Aborted.

Any updates?

@ebangerter
Copy link

I have noticed the same thing.

Copying '6b7ed6a498bed1619c242a579fe4cbf86f6afbd7/4d/4d6bb652961e1b6cefcf502caa08caea179e2b64' to 'unback/6b7ed6a498bed1619c242a579fe4cbf86f6afbd7/var/root/Library/Preferences/com.apple.xpc.activity2.plist'
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...
Device is not ready yet. Going to try again in 2 seconds...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants