[FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt Looping

Bug #1207812 reported by Nick
This bug affects 269 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Undecided
angelo wang
libimobiledevice (Debian)
Fix Released
Unknown
libimobiledevice (Ubuntu)
Fix Released
Medium
Dr.Hermann und Anne Liesegang

Bug Description

The latest libimobiledevice release 1.1.5 is a year old and does not support iOS7 devices. Most iOS devices have been updated to iOS7 by now, so currently the library is broken in functionality for most users. The git snapshot has been tested to work, but there seems to be no new upstream release being prepared for the time being.

The new git snapshot includes several fixes, including the security fix that was previously patched on top of 1.1.5 in Ubuntu.

Packaging branch merge request attached to this bug report.

--- Original report ---

The iPhone reporting "Trust the currently connected computer?" Trust/Don't Trust.
This then happens in a continous loop when clicking Trust.

---
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nrawlins 2068 F.... pulseaudio
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=f089ceb3-a892-4f99-92d3-a61c99bb2feb
InstallationDate: Installed on 2013-08-15 (3 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Sony Corporation VGN-SR29XN_S
MarkForUpload: True
Package: linux 3.8.0.27.45
PackageArchitecture: amd64
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic root=UUID=7656e9f3-5437-4e10-a467-62d52144f471 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-27-generic N/A
 linux-backports-modules-3.8.0-27-generic N/A
 linux-firmware 1.106
Tags: raring
Uname: Linux 3.8.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/28/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R1130Y1
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR1130Y1:bd08/28/2009:svnSonyCorporation:pnVGN-SR29XN_S:pvrC6017UKK:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-SR29XN_S
dmi.product.version: C6017UKK
dmi.sys.vendor: Sony Corporation

Related branches

CVE References

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1207812

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Iphone with iOS 7 does not work on Ubuntu

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Nick (nick-rawlins) wrote : Re: [Bug 1207812] Re: Iphone with iOS 7 does not work on Ubuntu

Yes I have just tried with Kernel 3.11 RC4 but this has not resolved the
issue.

On 8 August 2013 19:02, Joseph Salisbury <email address hidden>wrote:

> Would it be possible for you to test the latest upstream kernel? Refer
> to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
> v3.11 kernel[0].
>
> If this bug is fixed in the mainline kernel, please add the following
> tag 'kernel-fixed-upstream'.
>
> If the mainline kernel does not fix this bug, please add the tag:
> 'kernel-bug-exists-upstream'.
>
> If you are unable to test the mainline kernel, for example it will not
> boot, please add the tag: 'kernel-unable-to-test-upstream'.
> Once testing of the upstream kernel is complete, please mark this bug as
> "Confirmed".
>
>
> Thanks in advance.
>
> [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/
>
>
> ** Changed in: linux (Ubuntu)
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1207812
>
> Title:
> Iphone with iOS 7 does not work on Ubuntu
>
> Status in “linux” package in Ubuntu:
> Incomplete
>
> Bug description:
> When plugging in an iPhone with iOS 7 - Currently BETA 4.
>
> You receive the following message on Ubuntu 13.04 : The Device "Nick's
> iPhone" is locked. Enter the passcode on the device and click "Try
> again".
>
> The iPhone reporting "Trust the currently connected computer?"
> Trust/Don't Trust.
>
> This then happens inacontinous loop when clicking Trust.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1207812/+subscriptions
>

tags: added: kernel-bug-exists-upstream
tags: added: apport-collected raring
description: updated
Revision history for this message
Nick (nick-rawlins) wrote : AlsaInfo.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : BootDmesg.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : CRDA.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : HookError_cloud_archive.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : IwConfig.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : Lspci.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : Lsusb.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcEnviron.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcModules.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : PulseList.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : RfKill.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : UdevDb.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : UdevLog.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Nick (nick-rawlins) wrote : AlsaInfo.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : BootDmesg.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : CRDA.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : Dependencies.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : IwConfig.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : Lspci.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : Lsusb.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcEnviron.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : ProcModules.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : PulseList.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : RfKill.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : UdevDb.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : UdevLog.txt

apport information

Revision history for this message
Nick (nick-rawlins) wrote : WifiSyslog.txt

apport information

Revision history for this message
Zhiping Jiang (jiangzp.cs) wrote : Re: Iphone with iOS 7 does not work on Ubuntu

This bug exists on Ubuntu 12.04.2 x64 version + iOS7 GM version.

Revision history for this message
Zhiping Jiang (jiangzp.cs) wrote :

This bug exists in Ubuntu 12.04.2 x64 + iOS7 (from beta 4 to GM )

Changed in linux (Ubuntu):
assignee: nobody → Zhiping Jiang (flyinfeeling)
status: Incomplete → Confirmed
assignee: Zhiping Jiang (flyinfeeling) → nobody
Revision history for this message
Mz-yyam (mz-yyam) wrote :

Sorry, I get this bug now!
OS: ubuntu12.04 LTS + IOS7

How can I do?

Thanks!

TazX (taz-x)
tags: added: olivia
penalvch (penalvch)
tags: added: latest-bios-r1130y1 needs-upstream-testing
removed: olivia
description: updated
summary: - Iphone with iOS 7 does not work on Ubuntu
+ [Sony VGN-SR29XN_S] Iphone with iOS 7 does not work on Ubuntu
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
affects: linux (Ubuntu) → libimobiledevice (Ubuntu)
Changed in libimobiledevice (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in libimobiledevice (Ubuntu):
status: Confirmed → Incomplete
penalvch (penalvch)
description: updated
summary: - [Sony VGN-SR29XN_S] Iphone with iOS 7 does not work on Ubuntu
+ iOS 7, Trust Prompt Looping
Changed in libimobiledevice (Ubuntu):
status: Incomplete → Triaged
description: updated
tags: added: patch
Sourav Sur (sourav-sur)
Changed in libimobiledevice (Ubuntu):
assignee: nobody → Sourav Sur (sourav-sur)
status: Triaged → Confirmed
130 comments hidden view all 210 comments
Revision history for this message
Matthias Niess (mniess) wrote : Re: iOS 7, Trust Prompt Looping

I can also confirm that devices with older iOS versions (tested a 3GS with 6.1.3) still work.

Revision history for this message
Daniel Rodríguez Padilla (rodriguezpadillad) wrote :

Timo Jyrinki's package fix as stated in comment #168 works for me.

Version: Ubuntu 14.04 Trusty Tahr (Development Release)
Device: iPhone 4
iOS Version: 7.0.6

Revision history for this message
Owais Lone (loneowais) wrote :

Storage is mounted in Nautilus and works like a charm but shotwell and rhythmbox fail to recognize the device.

summary: - iOS 7, Trust Prompt Looping
+ [FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt Looping
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Additional notes for Feature Freeze Exception consideration.

Build log at https://launchpadlibrarian.net/169329079/buildlog_ubuntu-trusty-armhf.libimobiledevice_1.1.5%2Bgit20140313.bafe6a9e-0ubuntu1~trusty1~test1_UPLOADING.txt.gz (showing this one simply to show it also built fine for armhf)

Summary of changes in the git snapshot after 1.1.5, from upstream NEWS file, in addition to iOS7 working:

---cut---
Version 1.1.6
~~~~~~~~~~~~~

* Development release
* Changes:
  - Security: Fix insecure use of the /tmp directory (CVE-2013-2142)
  - A bunch of memory leak fixes
  - Python: Various fixes and support for "with" statement for AfcFile class
  - Python: Add Afc2Client class to allow jailbroken filesystem access
  - Fix linking issue with newer libtool as reported for Ubuntu
  - Fix stuck thread in idevicesyslog which broke quit from within the tool
  - Add syslog_relay service implementation and use it in idevicesyslog
  - API: Add instproxy_client_get_path_for_bundle_identifier() helper
  - API: Add afc_dictionary_free() helper
  - Move thread, socket, debug and userpref code to "common" source directory
    in order to improve code reuse
  - Fix broken byte order detection in configure.ac which could lead to broken
    AFC protocol communication on platforms without endian.h (Raspberry PI)
* API is UNSTABLE
---cut---

There have been 146 commits to trunk after 1.1.5, attaching a list of them.

I have personally done only packaging and installation/upgrade testing, while the functionality testing is provided by the community having iOS devices in these comments. Matthias helpfully called for additional testing so I hope we have a good testing coverage.

description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

(changing the status to "New" so it's easier to ubuntu-release to notice that it needs reviewing)

Changed in libimobiledevice (Ubuntu):
status: Confirmed → New
Revision history for this message
Silviu Stahie (silviu-stahie-f) wrote :

I can confirm that it works with iOS 7.1, on an iPhone 5. I had some problems mounting the iPhone, but they got solved with

sudo mkdir /var/lib/lockdown
sudo chmod 777 /va7Lib/lockdown

Revision history for this message
penalvch (penalvch) wrote :

Sourav Sur, please do not adjust the Status without a comment. For more on this, please see https://wiki.ubuntu.com/Bugs/Status . As well, please do not assign it to yourself unless you personally will be releasing a patch you made imminently.

Changed in libimobiledevice (Ubuntu):
assignee: Sourav Sur (sourav-sur) → nobody
status: New → Triaged
Revision history for this message
Sourav Sur (sourav-sur) wrote : Re: [Bug 1207812] Re: [FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt Looping
Download full text (4.0 KiB)

Sorry, I did that quite hastily and could not revert back once the status
was changed.
Only thing that I wanted to confirm is that Timo Jyrinki's patch partially
worked for
me (using ubuntu 12.04 32 bit).

Apology once again.
Sourav

On Sunday, March 16, 2014, Christopher M. Penalver <
<email address hidden>> wrote:

> Sourav Sur, please do not adjust the Status without a comment. For more
> on this, please see https://wiki.ubuntu.com/Bugs/Status . As well,
> please do not assign it to yourself unless you personally will be
> releasing a patch you made imminently.
>
> ** Changed in: libimobiledevice (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: libimobiledevice (Ubuntu)
> Assignee: Sourav Sur (sourav-sur) => (unassigned)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1207812
>
> Title:
> [FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt
> Looping
>
> Status in "libimobiledevice" package in Ubuntu:
> Triaged
>
> Bug description:
> The latest libimobiledevice release 1.1.5 is a year old and does not
> support iOS7 devices. Most iOS devices have been updated to iOS7 by
> now, so currently the library is broken in functionality for most
> users. The git snapshot has been tested to work, but there seems to be
> no new upstream release being prepared for the time being.
>
> The new git snapshot includes several fixes, including the security
> fix that was previously patched on top of 1.1.5 in Ubuntu.
>
> Packaging branch merge request attached to this bug report.
>
> --- Original report ---
>
> The iPhone reporting "Trust the currently connected computer?"
> Trust/Don't Trust.
> This then happens in a continous loop when clicking Trust.
>
> ---
> ApportVersion: 2.9.2-0ubuntu8.3
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: nrawlins 2068 F.... pulseaudio
> DistroRelease: Ubuntu 13.04
> HibernationDevice: RESUME=UUID=f089ceb3-a892-4f99-92d3-a61c99bb2feb
> InstallationDate: Installed on 2013-08-15 (3 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64
> (20130424)
> MachineType: Sony Corporation VGN-SR29XN_S
> MarkForUpload: True
> Package: linux 3.8.0.27.45
> PackageArchitecture: amd64
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic
> root=UUID=7656e9f3-5437-4e10-a467-62d52144f471 ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
> RelatedPackageVersions:
> linux-restricted-modules-3.8.0-27-generic N/A
> linux-backports-modules-3.8.0-27-generic N/A
> linux-firmware 1.106
> Tags: raring
> Uname: Linux 3.8.0-27-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> dmi.bios.date: 08/28/2009
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: R1130Y1
> dmi.board.asset.tag: N/A
> dmi.board.name: VAIO
> dmi.board.vendor: Sony Corporation
> dmi.board.version: ...

Read more...

Revision history for this message
Matthias Niess (mniess) wrote :

@Sourav Sur, the new Packages are for Ubuntu 14.04 only!

Revision history for this message
Matthias Niess (mniess) wrote :

There are three more confirmations that the packages work on reddit. Those people unfortunately don't seem to have launchpad accounts:

http://www.reddit.com/r/Ubuntu/comments/20bndd/need_testing_help_to_land_ios7_fix_in_ubuntu_1404/

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Note: the status was not changed by Sourav (well, at least according to the activity log), but by Sebastien in order for the Feature Freeze Exception part of the problem to be more visible to the Ubuntu Release team, so that they may consider accepting this update.

So the bug has a confirmed fix actually, it starts to be safe to say that at this point with 5+ confirmations, but the next step is that an approval is needed from Ubuntu Release team according to https://wiki.ubuntu.com/FreezeExceptionProcess#FeatureFreeze_Exceptions

So, please do not change the bug status to Confirmed or Triaged, but leave that to the release team.

Changed in libimobiledevice (Ubuntu):
status: Triaged → New
Revision history for this message
Iain Lane (laney) wrote :

Ack - please go ahead but please watch out for bugs appearing. Ideally subscribe to the reverse deps for a week or two.

Changed in libimobiledevice (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

sponsored

Changed in libimobiledevice (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libimobiledevice - 1.1.5+git20140313.bafe6a9e-0ubuntu1

---------------
libimobiledevice (1.1.5+git20140313.bafe6a9e-0ubuntu1) trusty; urgency=medium

  [ Matthias Niess ]
  * Replace a duplicate 'backup' util man page with the one for 'crashreport'

  [ Timo Jyrinki ]
  * New upstream snapshot. (LP: #1207812)
  * Drop patches include in the upstream snapshot:
    - debian/patches/CVE-2013-2142.patch
    - debian/patches/git_explicitly_cast_ssl_enabled.patch
  * Drop the python patch, new upstream method seems to work:
    - debian/patches/09_use_python_config.patch
  * Refreshed remaining patches:
    - debian/patches/01-libs.private.patch
    - debian/patches/02-fix-link-errors.patch
  * Drop libimobiledevice-doc, the git does not include html documentation
  * Updated libimobiledevice4.symbols
  * Add missing man page for the 'idevicename' util
 -- Timo Jyrinki <email address hidden> Fri, 14 Mar 2014 08:44:15 +0200

Changed in libimobiledevice (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Matthias Niess (mniess) wrote :

@laney: What do you mean by "subscribe to the reverse deps"?

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

@Matthias: he means subscribing to bugs of libimobiledevice + packages that use it to notice if there are new bugs being filed that would be due to this update.

For example, https://bugs.launchpad.net/ubuntu/+source/libimobiledevice/ -> Subscribe to bug mail -> Give 'Subscription name', doesn't matter what -> Click Create

I guess in this case the reverse dependencies are a bit complicated, though. Build reverse dependencies ('reverse-dependencies -b libimobiledevice-dev') show the following but in practice users see problems with actual programs that eg. use gvfs:

* gnome-mplayer
* gvfs
* ideviceinstaller
* ifuse
* ipheth
* libgpod
* nautilus-ideviceinfo
* upower

Of the ones listed above, only gvfs and upower are installed by default so those are the points of interest.

Revision history for this message
Michael (lockm) wrote :

So, it looks like there's been progress on this. Because I'm a noob and there's still so much I need to learn could someone please provide some simple instructions for me to get the upgraded package? I'm currently running the 32bit version of Ubuntu 13.10

Thank you, in advance :-)

Revision history for this message
Matthias Niess (mniess) wrote :

libimobiledevice 1.1.6 has been officially released. There have been a lot of changes according to the NEWS file. I case this is too late for a FFe this should still be added later through trusty-updates. There are many bugfixes in this release.

Revision history for this message
Ryan Tandy (rtandy) wrote :
Download full text (4.4 KiB)

On Mon, Mar 24, 2014 at 10:26 AM, Matthias Niess
<email address hidden> wrote:
> libimobiledevice 1.1.6 has been officially released. There have been a
> lot of changes according to the NEWS file.

Specifically (git shortlog bafe6a9e..1.1.6):

Martin Szulecki (26):
      Bump dependency to libplist 1.11 and remove use of
"plist_dict_insert_item()"
      Refactor pair record handling to use new usbmuxd pair record interface
      lockdown: Remove obsolete debug output
      userpref: Use correct import helper for keys and certs
      lockdown: Fix wrong pointer dereference of pair_record plist
      userpref: Fix invalid plist_free() which caused pair process to fail
      userpref: Remove obsolete dict item check as
plist_dict_set_item() takes care
      lockdown: Make sure to set SystemBUID in generated pair records
      lockdown: Plug memory leak due to missing free of public_key
      lockdown: Make sure failed pairing validation works with correct
error code
      idevice: Use correct import helper for keys and certs
      idevice: Plug memory leak by freeing pair_record
      idevice: Fix misleading warning in GnuTLS SSL handshake
      lockdown: Read HostID again after pairing to fix first pair workflow
      lockdown: Move HostID generation closer to code setting it in pair record
      userpref: Try to output similar error messages in GnuTLS and OpenSSL logic
      idevice: Use more common "ERROR:" syntax for error messages
      lockdown: Correct a few comments within pair generation code
      lockdown: Fix fetching WiFi address for pair record after trust
dialog pairing
      idevicepair: Refactor error message reporting to handle a
pending trust dialog
      idevicepair: Synchronize usage between tool output and man page
      lockdown: Fix starting unsecure services as needed during trust
dialog pairing
      Bump dependencies to libplist++ 1.11 and libusbmuxd 1.0.9
      Update copyright in various files
      Update NEWS with latest changes
      Fix make distcheck by using $(top_builddir) where needed

Nikias Bassen (11):
      afc: refactor afc_dispatch_packet and improve afc_file_write performance
      afc: use static buffers where possible
      lockdown: make sure type is always free'd in
lockdownd_client_new_with_handshake
      userpref: fix mixed up root/host certificate storage
      tools: fix build of idevicepair with indirect linking
      userpref: merge pair_record_generate_from_device_public_key()
into pair_record_generate_keys_and_certs()
      userpref: fix GnuTLS key generation
      common: add thread_once() implementation
      common: add THREAD_ID macro
      implement global thread safe library initialization
      afc: Remove segmentation code from afc_file_read()

 NEWS | 55 +++++-
 common/thread.c | 16 ++
 common/thread.h | 11 ++
 common/userpref.c | 918
++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------
 common/userpref.h | 43 ++---
 common/utils.c | 30 ++++
 common/utils.h | 1 +
 configure.ac | 6 +-
 dev/Makefile.am | 14 +-...

Read more...

Revision history for this message
Ryan Tandy (rtandy) wrote :

libplist 1.11 is now in unstable and looks syncable.

I don't see usbmuxd 1.0.9 anywhere, even upstream.

Revision history for this message
Ryan Tandy (rtandy) wrote :

Sorry, I'm totally wrong about libplist 1.11 being syncable. The soname changed (libplist1 -> libplist2) and I think now is probably not the time for such a transition.

Sorry for the noise.

Changed in libimobiledevice (Debian):
status: Unknown → Confirmed
Changed in linuxmint:
status: New → Confirmed
Revision history for this message
chemicalfan (mike-lumsden) wrote :

Apologies for any confusion there, having issues with Launchpad. This issue still needs addressing in Linux Mint 16 (based on Saucy)

Revision history for this message
Rufus (balaenoptera-rufus) wrote :
Download full text (3.4 KiB)

Chemicalfan,
I would recommend try Mint 17 which comes out end of May.
Mint 16 will get unsupported by July 2014.

> Am 10.04.2014 um 14:40 schrieb chemicalfan <email address hidden>:
>
> Apologies for any confusion there, having issues with Launchpad. This
> issue still needs addressing in Linux Mint 16 (based on Saucy)
>
> ** Also affects: linuxmint
> Importance: Undecided
> Status: New
>
> ** Changed in: linuxmint
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1207812
>
> Title:
> [FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt
> Looping
>
> Status in The Linux Mint Distribution:
> Confirmed
> Status in “libimobiledevice” package in Ubuntu:
> Fix Released
> Status in “libimobiledevice” package in Debian:
> Confirmed
>
> Bug description:
> The latest libimobiledevice release 1.1.5 is a year old and does not
> support iOS7 devices. Most iOS devices have been updated to iOS7 by
> now, so currently the library is broken in functionality for most
> users. The git snapshot has been tested to work, but there seems to be
> no new upstream release being prepared for the time being.
>
> The new git snapshot includes several fixes, including the security
> fix that was previously patched on top of 1.1.5 in Ubuntu.
>
> Packaging branch merge request attached to this bug report.
>
> --- Original report ---
>
> The iPhone reporting "Trust the currently connected computer?" Trust/Don't Trust.
> This then happens in a continous loop when clicking Trust.
>
> ---
> ApportVersion: 2.9.2-0ubuntu8.3
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: nrawlins 2068 F.... pulseaudio
> DistroRelease: Ubuntu 13.04
> HibernationDevice: RESUME=UUID=f089ceb3-a892-4f99-92d3-a61c99bb2feb
> InstallationDate: Installed on 2013-08-15 (3 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
> MachineType: Sony Corporation VGN-SR29XN_S
> MarkForUpload: True
> Package: linux 3.8.0.27.45
> PackageArchitecture: amd64
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic root=UUID=7656e9f3-5437-4e10-a467-62d52144f471 ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
> RelatedPackageVersions:
> linux-restricted-modules-3.8.0-27-generic N/A
> linux-backports-modules-3.8.0-27-generic N/A
> linux-firmware 1.106
> Tags: raring
> Uname: Linux 3.8.0-27-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> dmi.bios.date: 08/28/2009
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: R1130Y1
> dmi.board.asset.tag: N/A
> dmi.board.name: VAIO
> dmi.board.vendor: Sony Corporation
> dmi.board.version: N/A
> dmi.chassis.asset.tag: N/A
> dmi.chassis.type: 10
> dmi.chassis.vendor: Sony Corporation
> dmi.chassis.version: N/A
> dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR1130Y1:bd08/28/2009:svnSonyCor...

Read more...

Revision history for this message
chemicalfan (mike-lumsden) wrote :

Thanks Rufus, I am aware - I'm hopefully flagging this at the Mint devs for packaging in Mint 17...
Although it'll come from the Ubuntu repos, so as long as Ubuntu includes the amended version for Tahr, all should be well!

Revision history for this message
Matthias Niess (mniess) wrote :

Please stop it. This is not a discussion forum or a support site.

Revision history for this message
Rufus (balaenoptera-rufus) wrote :
Download full text (3.2 KiB)

Think about users who come here because they need help.

> Am 11.04.2014 um 13:28 schrieb Matthias Niess <email address hidden>:
>
> Please stop it. This is not a discussion forum or a support site.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1207812
>
> Title:
> [FFe] Update libimobiledevice to support iOS 7, fix Trust Prompt
> Looping
>
> Status in The Linux Mint Distribution:
> Confirmed
> Status in “libimobiledevice” package in Ubuntu:
> Fix Released
> Status in “libimobiledevice” package in Debian:
> Confirmed
>
> Bug description:
> The latest libimobiledevice release 1.1.5 is a year old and does not
> support iOS7 devices. Most iOS devices have been updated to iOS7 by
> now, so currently the library is broken in functionality for most
> users. The git snapshot has been tested to work, but there seems to be
> no new upstream release being prepared for the time being.
>
> The new git snapshot includes several fixes, including the security
> fix that was previously patched on top of 1.1.5 in Ubuntu.
>
> Packaging branch merge request attached to this bug report.
>
> --- Original report ---
>
> The iPhone reporting "Trust the currently connected computer?" Trust/Don't Trust.
> This then happens in a continous loop when clicking Trust.
>
> ---
> ApportVersion: 2.9.2-0ubuntu8.3
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: nrawlins 2068 F.... pulseaudio
> DistroRelease: Ubuntu 13.04
> HibernationDevice: RESUME=UUID=f089ceb3-a892-4f99-92d3-a61c99bb2feb
> InstallationDate: Installed on 2013-08-15 (3 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
> MachineType: Sony Corporation VGN-SR29XN_S
> MarkForUpload: True
> Package: linux 3.8.0.27.45
> PackageArchitecture: amd64
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic root=UUID=7656e9f3-5437-4e10-a467-62d52144f471 ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
> RelatedPackageVersions:
> linux-restricted-modules-3.8.0-27-generic N/A
> linux-backports-modules-3.8.0-27-generic N/A
> linux-firmware 1.106
> Tags: raring
> Uname: Linux 3.8.0-27-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> dmi.bios.date: 08/28/2009
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: R1130Y1
> dmi.board.asset.tag: N/A
> dmi.board.name: VAIO
> dmi.board.vendor: Sony Corporation
> dmi.board.version: N/A
> dmi.chassis.asset.tag: N/A
> dmi.chassis.type: 10
> dmi.chassis.vendor: Sony Corporation
> dmi.chassis.version: N/A
> dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR1130Y1:bd08/28/2009:svnSonyCorporation:pnVGN-SR29XN_S:pvrC6017UKK:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
> dmi.product.name: VGN-SR29XN_S
> dmi.product.version: C6017UKK
> dmi.sys.vendor: Sony Corporation
>
> To manage notifications about this bug go to:
> https://bu...

Read more...

Revision history for this message
Matthias Niess (mniess) wrote :

This place is solely for reporting bugs and for developers to coordinate fixing them. You make the lives of developers harder. This place is not for support. Period. This bug was fixed and you people start an unrelated discussion about Linux Mint here. Every single one of your messages spams the inboxes of all the people listed on the right. Don't bother to reply, I'm unsubscribing.

s cook (sip528)
Changed in libimobiledevice (Ubuntu):
assignee: nobody → s cook (sip528)
Changed in linuxmint:
status: Confirmed → Fix Committed
Revision history for this message
Sam (samuel-hameau) wrote :

Is there any .deb file for i386 ?

Changed in libimobiledevice (Ubuntu):
assignee: s cook (sip528) → nobody
Changed in libimobiledevice (Debian):
status: Confirmed → Fix Released
Revision history for this message
Raul Medina (raul-medina-nussbaum) wrote :

Confirmed.

I fixed it really easy, tested on Ubuntu 12.04 with iOS 7 on iPhone 4 (should work for every iOS 7 device and every 12.04+ ubuntu distro):

sudo apt-get install libimobiledevice-dev

That way it'll install all dependencies.

Revision history for this message
David Harmon (dmh-phoenix) wrote :

Mniess: Thanks... but your packages don't cover Precise/12.10. Is there any chance you could produce a version for the LTS?

Revision history for this message
David Harmon (dmh-phoenix) wrote :

Addendum to my previous comment: The patch on the side doesn't work either -- It wants libusbmuxd2 (only libusbmuxd2 appears to me on my system) and newer versions of libgnuutls and libtasn1-3.

Unpacking libimobiledevice4 (from libimobiledevice4_1.1.6-git20140105_amd64.deb) ...
dpkg: dependency problems prevent configuration of libimobiledevice4:
 libimobiledevice4 depends on libgnutls26 (>= 2.12.17-0); however:
  Version of libgnutls26 on system is 2.12.14-5ubuntu3.7.
 libimobiledevice4 depends on libtasn1-3 (>= 2.14-0); however:
  Version of libtasn1-3 on system is 2.10-1ubuntu1.1.
 libimobiledevice4 depends on libusbmuxd2 (>= 1.0.8); however:
  Package libusbmuxd2 is not installed.
dpkg: error processing libimobiledevice4 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libimobiledevice4
dmh@Krusp:~/Downloads$ sudo apt-get libusbmuxd2
E: Invalid operation libusbmuxd2
dmh@Krusp:~/Downloads$ sudo apt-get --install libusbmuxd2
E: Command line option --install is not understood
dmh@Krusp:~/Downloads$ sudo apt-get install libusbmuxd2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libusbmuxd2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libusbmuxd2' has no installation candidate

Changed in linuxmint:
assignee: nobody → angelo wang (544059919-o)
Revision history for this message
jkeegan (jkeegan) wrote :

Just wanted to confirm that after doing a brand new install of Ubuntu 14.04, this now worked right out of the box (I didn't have to install any new packages or patches or anything). Thank you to all who worked on this bug, and to those who pushed it through the process to the end.

iPhone 4S running 7.0.3 (11B511)

Revision history for this message
Rich Wales (richw) wrote :

NOT working for me (Ubuntu 14.04, iPhone 4S running iOS 7.1.2).

I'm not getting the trust loop problem, but I am getting "Unhandled Lockdown error (-20)" and cannot mount the iPhone in order to upload photos into Shotwell.

I've tried the suggestion to make the /var/lib/lockdown directory publicly read/writable, but this did not help.

Is there a separate bug for this lockdown problem?

Revision history for this message
Mike (mediabot666) wrote :

installed libimobiledevice-dev for ubuntu 13.10 w iOS 7.1.2 and did not work. Trust continues to loop

bosale30 (salebo11)
Changed in libimobiledevice (Ubuntu):
assignee: nobody → bosale30 (salebo11)
Revision history for this message
john Brooker (jeb-g) wrote :

seeing the same issue with IOS 8.1.1 and ubuntu 14.04 (up to date as of this date). kernel is 3.13.0-40-generic.

Issue appears (only been 10minutes) to be fixed by installing the packages listed here:

http://www.omgubuntu.co.uk/2014/03/ios7-ipad-iphone-ubuntu-trust
http://ppa.launchpad.net/ingo/ios7support/ubuntu/pool/main/libi/libimobiledevice/libimobiledevice2_1.1.6+git20140213~ppa1_amd64.deb

Revision history for this message
cement_head (andorjkiss) wrote :

Using 12.04.4 LTS AMD64, iOS 7 on iPhone 4S. Of course, I have the "Trust/Don't Trust" issue.

Have libimobile 1.1.4 installed - need some help explaining how to install libimobile 1.1.6 and all of it's dependecies.

Thanks

David (dink0617)
Changed in libimobiledevice (Ubuntu):
assignee: bosale30 (salebo11) → David (dink0617)
assignee: David (dink0617) → nobody
Revision history for this message
Paulkelly (paul-pksings) wrote :

Installing this removes Gnome, should be in big letters in the description

Changed in libimobiledevice (Ubuntu):
assignee: nobody → Dr.Hermann und Anne Liesegang (haliesegang)
Changed in linuxmint:
status: Fix Committed → Fix Released
Displaying first 40 and last 40 comments. View all 210 comments or add a comment.