A repacking project of libimobiledevice for NAS package
There are no packages available in NAS world for accessing Apple devices. And several libimobiledevice packages in popular linux distributions also suffered from communication errors due to compatiblities between new iOS and GnuTLS. Therefore, this project comes to be an example for building libimobiledevice with OpenSSL and being repacked into a NAS package.
- Python3
- Docker (libimobiledevice is built inner a container.)
- Synology Open Source Toolkit (for repacking them into a NAS package)
$ mkdir /toolkit
$ cd /toolkit && git clone https://github.com/SynologyOpenSource/pkgscripts-ng
$ cd /toolkit/pkgscripts-ng && ./EnvDeploy -v 6.1 -p x64
$ mkdir -p /toolkit/source
$ cd /toolkit/source && git clone https://github.com/bxxxjxxg/libimobiledevice
$ cd /toolkit/source/libimobiledevice && ./build.sh
$ /toolkit/pkgscripts-ng/PkgCreate.py -v 6.1 -p x64 -S libimobiledevice
// Output Folder: /toolkit/result_spk/
After installation, idevice*, ifuse, usbmuxd are available in command-line.
This package will start the usbmuxd daemon as default. If it's not started, you can start it manually:
$ usbmuxd
// background mode
$ usbmuxd -f -v
//foreground verbose mode
Plug-in your iPhone or iPad, and then enter the passcode to allow the access permission.
Next, you can mount your Apple Device in user space:
$ ifuse /mnt
For unmounting,
$ fusemount -u /mnt
- How to Build Guide (https://gist.github.com/samrocketman/70dff6ebb18004fc37dc5e33c259a0fc)
- Synology Open Source (https://github.com/SynologyOpenSource)