|Posted on:||03/06/22 01:14:58|
|Last edited:||03/07/22 13:47:02|
This guide is a tutorial to learn how to import ( and optionally delete) and browse your pictures and videos inside your iOS Device. You only need a working computer, a lightning-to-usb (with data transfer) cable, and an iOS device.
the software used will be libimobiledevice, a cross-platform software library used to communicate to iOS devices. ifuse shall also be used to enable filesystem mounting.
assuming usbmuxd service is active,
use the idevicepair command to connect to your device:
$ idevicepair pair
yeah, the command argument seems redundant. You should get some ‘SUCESS: Paired with ’ and a long string of characters.
assuming you have ifuse installed, use this command:
# ifuse -o allow_other MOUNTPOINT
where mountpoint is an existing directory.
now you can enter the file system.
You should get a lot of folders when browsing the root dir.
The important folder is DCIM.
all pictures are there. Careful!
You can write to this folder.
If you want to delete the pictures just do an rm -rf of the *APPLE folders under DCIM. Careful!
Pictures will still be cached in the device, so you’ll need to cause a database rebuild of your camera roll:
# cd <mountpoint>/PhotoData # rm Photos* com.apple.photos.caches_metadata.plist
that’s it. you can also browse your ringtones, there’s a folder.
you can also write to it, but I haven’t found a way to let new ringtones appear in the list.
Right now what I do is generate a new one from garageband, choose a name, then import it. connect device. copy m3u ringtone to the dir and change its name to one of the custom ringtones. that works.
I haven’t found a way to access the ‘files’ within the iOS File Manager. For now, I use this thing called ‘snapdrop’ to serve over LAN a couple files here and there.
that’s it! Something you want to add or critique ? Go ahead and contact me!
resources: - ArchLinux Wiki: iOSTags: