Use this open source tool to access your iPhone on Linux

2021/08/3111:41:17 digitals 917

communicates with iOS devices from Linux by using Libimobiledevice.

Use this open source tool to access your iPhone on Linux - DayDayNews

iPhone and iPad are by no means open source, but they are popular devices. Many people who have iOS devices also happen to use a lot of open source software, including Linux. Users of Windows and macOS can communicate with iOS devices by using software provided by Apple, but Apple does not support Linux users. Open source programmers saved people as early as 2007 (just a year after the iPhone was released) with Libimobiledevice (called libiphone at the time), which is a cross-platform solution for communicating with iOS. It can run on Linux, Android, Arm systems (such as Raspberry Pi), Windows, and even macOS.

Libimobiledevice is written in C language and uses native protocols to communicate with services running on iOS devices. It does not require any libraries from Apple, so it is completely free and open source.

Libimobiledevice is an object-oriented API, which is bundled with many terminal tools that are convenient for you to use. The library supports Apple's iOS devices from the earliest to its latest models. This is the result of years of research and development. The applications in this project include usb muxd , ideviceinstaller , idevicerestore , ifuse , libusbmuxd , libusbmuxd , libpylist libpy, activator , 12code libpy.

Install Libimobiledevice on Linux

On Linux, you may have already installed libimobiledevice by default. You can find it through your package manager or app store, or by running a command included in the project:

  $ ifuse --help  

You can use your package manager to install libimobiledevice . For example, on Fedora or CentOS:

  $ sudo dnf install libimobiledevice ifuse usbmuxd  

On Debian and Ubuntu:

  $ sudo aptmobile device libimobile-precode1 install usb pre-mobile device libicode1 Code download and install  libimobiledevice . 

Connect your device

When you have installed the required software packages, connect your iOS device to your computer.

creates a directory for your iOS device as a mount point.

  $  mkdir  ~/iPhone  

Next,Mount the device:

  $ ifuse ~/iPhone  

Your device prompts you whether to trust the computer you use to access it.

Use this open source tool to access your iPhone on Linux - DayDayNews

Figure 1: iPhone prompts you to trust the computer.

After the trust issue is resolved, you will see a new icon on the desktop.

Use this open source tool to access your iPhone on Linux - DayDayNews

Figure 2: The new iPhone icon appears on the desktop.

Click the "iPhone" icon to show the folder structure of your iPhone.

Use this open source tool to access your iPhone on Linux - DayDayNews

Figure 3: Shows the folder structure of the iPhone.

The folder I usually visit most often is DCIM , where my iPhone photos are stored. Sometimes I use these photos when writing articles, and sometimes there are some photos I want to enhance with open source applications such as GIMP . I can access these pictures directly instead of emailing them to myself. This is one of the benefits of using the libimobiledevice tool. I can copy any of these folders to my Linux computer. I can also create folders on the iPhone and delete them.

Discover more

Martin Szulecki is the lead developer of the project. The project is looking for developers to join their community. Libimobiledevice can change the way you use peripherals, no matter what platform you are on. This is another victory for open source, which means it is a victory for everyone.

via: https://opensource.com/article/21/8/libimobiledevice-iphone-linux

Author: Don Watkins Topic: lujun9972 Translator: geekpi Proofreading: wxy

This article is originally compiled by LCTT, Linux China Honor the launch of

.

digitals Category Latest News