Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

iPhone 3GS can't backup

#148

Hello,

First of all I wanted to thank you All for this wonderful project.

I am getting the below error, which I hope you can help me fix.

I get the below error every time I try to backup my jailbroken 3gs firmware 3.1.2 on Ubuntu 10.04 LTS. I have installed libimobiledevice v1.0.1 without any problem and I can use sbmanager, ideviceinstaller, gtkpod... But for some reason I can't backup my phone. I wonder what is causing the error. I can also share, if necessary, the log from idevicesyslog when running idevicebackup.

Here is the error I get:

root@pcubuntu:~# idevicebackup backup /media/OS/pcubuntu/
Backup directory is "/media/OS/pcubuntu/"
Started "com.apple.mobilebackup" service on port 54613.
Reading Info.plist from backup.
Starting backup...
Reading existing Manifest.
Could not read Manifest.plist, switching to full backup mode.
Creating Info.plist for new backup.
Requesting backup from device...
Full backup mode.
Please wait. Device is preparing backup data...
idevicebackup: /home/pcubuntu/Downloads/libplist-master/src/plist.c:544: plist_get_uint_val: Assertion length == sizeof(uint64_t)' failed.<br/> Aborted

Reported by E. Loralon · June 7th, 2010 @ 08:41 PM

State: resolved
Milestone: none
Assigned to: Martin S. Martin S.

Activity

  1. Nikias Bassen
    Nikias Bassen
    • State changed from new to open
    • Assigned user set to Nikias Bassen

    Did you compile libimobiledevice yourself? If so, re-configure it with --enable-debug code and install it. If you installed packages, you can install the debug-version of libimobiledevice, libimobiledevice1-dbg. Look at my latest reply to ticket #147 there's a howto for using the packages from Paul McEnery's PPA for ubuntu.

    Then, you can run

    idevicebackup -d backup BACKUPDIR > idevicebackup.log
    

    to produce verbose error output logged to file idevicebackup.log which you then append here.
    I can then hopefully see what's wrong.

    Greetings
    Nikias

    June 8th, 2010 @ 03:00 PM

  2. E. Loralon
    E. Loralon

    Thank you Nikias,

    I will do as recommended tonight and post the result here. I did compile libimobiledevice myself.

    Have a great day.

    Loralon

    June 8th, 2010 @ 03:07 PM

  3. criley98
    criley98

    I installed the package via Synaptic. Here is my log regarding the above error.

    June 8th, 2010 @ 06:42 PM

  4. Martin S.
    Martin S.

    Can you post the output of "ideviceinfo -q com.apple.disk_usage" please?

    June 8th, 2010 @ 07:44 PM

  5. E. Loralon
    E. Loralon

    Hi Martin and Nikias,

    After following your recommendation I just tried now to backup my iPhone and it failed again. I have attached the log files as requested.

    Thank you again for helping.

    June 9th, 2010 @ 08:15 AM

  6. E. Loralon
    E. Loralon

    Hello Martin and Nikias,

    I haven't heard from you since I posted the logs. I am still having problems with the backup process of my phone. Would you please help on this?

    Thank you.

    June 21st, 2010 @ 05:28 PM

  7. Martin S.
    Martin S.

    Please run "idevicesyslog", then in parallel run idevicebackup and post the output. It should give us more hints.

    June 21st, 2010 @ 10:15 PM

  8. E. Loralon
    E. Loralon

    Hello Martin,

    Just reading now your reply. After trying I now get the following error:

    Started "com.apple.mobilebackup" service on port 58752.
    Reading Info.plist from backup.
    Starting backup...
    Reading existing Manifest.
    Could not read Manifest.plist, switching to full backup mode.
    Creating Info.plist for new backup.
    Requesting backup from device...
    ERROR: Could not start backup process: device refused to start the backup process.

    I believe this is because I have already upgraded to iOS 4.0.

    I guess I will have to wait until there is support iOS 4 before trying to backup again.

    Thank you very much for this project again.

    June 25th, 2010 @ 08:06 AM

  9. ronin-106998 (at lighthouseapp)
    ronin-106998 (at lighthouseapp)
    • Milestone order changed from 0 to 0

    I have the same problem when trying to backup my iPhone 3GS, running iPhone OS 3.1.3, jailbroken with Spirit.

    Short log:
    Started "com.apple.mobilebackup" service on port 60236.
    Reading Info.plist from backup.
    Starting backup...
    Reading existing Manifest.
    Could not read Manifest.plist, switching to full backup mode.
    Creating Info.plist for new backup.
    Requesting backup from device...
    Full backup mode.
    Please wait. Device is preparing backup data...
    idevicebackup: /build/src/libplist-1.3/src/plist.c:544: plist_get_uint_val: Assertion length == sizeof(uint64_t)' failed.

    So I recompiled libimobiledevice with --enable-debug-code and ran idevicebackup again, as well as the syslog and the output of "ideviceinfo -q com.apple.disk_usage". Here are the logs.

    Running Arch Linux x86_64, imobiledevice 1.0.2, usbmuxd 1.0.4, libusb 1.0.8.

    July 13th, 2010 @ 07:50 AM

  10. Martin S.
    Martin S.

    Mind that iOS 4 is not supported as there now is a completely new backup protocol...
    @Schnouki: Please run idevicesyslog in parallel. Then start the backup process. Then copy the new output here. It must should some issue.

    July 18th, 2010 @ 12:09 AM

  11. rryder
    rryder

    I hit this problem 100% of the time previously. After pulling the latest git commits this works great. I suspect the fix is from commit 930ad759419712e6dd939953ef4a1f0c5a655086

    July 25th, 2010 @ 10:37 PM

  12. Martin S.
    Martin S.
    • State changed from open to resolved
    • Assigned user changed from Nikias Bassen to Martin S.

    @rryder: Yes, that should fix it. If anyone has still issues with this please reopen this bug.

    July 26th, 2010 @ 12:28 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.