VectorLinux

The nuts and bolts => Software General => Topic started by: overthere on April 10, 2014, 10:16:07 pm

Title: gtkpod with iphone4
Post by: overthere on April 10, 2014, 10:16:07 pm
Attempting to connect iphone4 to gtkpod on VL7.0 light
installed
gtkpod 1.0.0
libgpod 0.8.0
ifuse 1.1.2 (includes libimobiledevice 1.0.7)

the app opens and I can create a repository for Iphone and when I load ipod by right clicking the repository name I get option to create directory structure select iphone4 then ends with warning can not create directory or file in /

do not know how to proceed but would like to add some music to the phone.

Thanks for any

adding..the iphone4 is ios7 but the iphone3g ios4.2.1 is same
device does not show in file manager but lsusb shows device and dmesg has a listing. would I have to manually add the device somehow or create a mountpoint. would this be done in fstab..in over my head as usual.

update..I did manage to create a /media/ipod folder and attempted to use ifuse to mount which did lodge a couple of unmountable folders that have no files in them although there are files on the device. gtkpod still did not function. guess I am just stupid. the folders remain after a reboot.

I recommend samsung. just copy past what you like to the sd and plug and play. I got this iphone free and now I know why...
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 11, 2014, 05:02:44 am
it might need newer version of libimobiledevice and ifuse...maybe i can build it later...
btw, libimobiledevice may not fully support iOS7

https://wiki.archlinux.org/index.php/IPod
https://wiki.debian.org/iPhone
Title: Re: gtkpod with iphone4
Post by: overthere on April 11, 2014, 07:44:24 am
Thanks hata_ph..I suspected ios7 but thought 4.2.1 may have a chance however both had the same issue so perhaps a newer libimobiledevice will help, if you find the time later.

thanks for the link also, did not see one of them and has some good info to try.
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 11, 2014, 09:32:30 pm
I have build below packages in the untested repo...pls try to install it via gslapt/slapt-get

Quote
libplist-1.10
usbmuxd-1.0.8
libimobiledevice-1.1.5
ifuse-1.1.3

gtkpod-2.1.x require gtk+3 and others newer library...it might take some effort to build it
so pls try ifuse way first and let me know how it go...
Title: Re: gtkpod with iphone4
Post by: overthere on April 13, 2014, 11:57:18 pm
Ok..added the updates but still have the password trust issue with the iphone4 ios7
according to this posting the trust issue I am having with the iphone4 is releived with libimobiledevice 1.1.6 or better.

http://blog.xenodesystems.com/2014/03/how-to-managesync-your-ios-7-device.html

I did have success with the iphone3g ios 4.2.1 after downgrading.. as root in terminal typed ifuse /media/ipod to mount then gtkpod for application and umount /media/ipod to unmount
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 14, 2014, 12:54:30 am
so ios 4.2.1 work on new or old ifuse?
Title: Re: gtkpod with iphone4
Post by: overthere on April 14, 2014, 02:38:16 am
With your updates, ios7 still has an issue mounting.. possibly libimobiledevice 1.1.6 solves the issue.

ios 4.2.1 appears to mount but gtkpod no longer works so cannot test

with this downgrade I am able to mount iso 4.2.1, use gtkpod to create playlist and sync and unmount as root in terminal.

libplist 1.3
usbmuxd 1.0.7
ifuse 1.1.1
libimobiledevice 1.0.4
gtkpod 1.0.0
libgpod 0.8.2

with this downgrade ios7 has the same trust/password issue as prior and after

I forgot the defaults so guessed when down grading..prior to upgrade I think gtkpod was problematic because as user I could not mount. I had installed all the files but was expecting gtkpod to do all the work in user account.

To get playlist on ios 4.2.1 I added above files, created folder /media/ipod, in terminal su to root then type ifuse /media/ipod, then type gtkpod and use app then close and in terminal type umount /media/ipod

with ios7 I type ifuse /media/ipod but get error to remove password on phone and popup on phone trust this computer as mentioned in the link. they suggest libimobiledevice 1.1.6. I am not sure of the details of implimentation at the moment
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 14, 2014, 07:23:42 am
pls show me /var/log/pkgtools...
Title: Re: gtkpod with iphone4
Post by: overthere on April 14, 2014, 05:40:18 pm
what are you doubting, that ios7 does not work or that ios 4.2.1 does  ;)

Appears a common issue but I have seen no fix outside the newest still unstable 1.1.6 and depends. they are not packaged for simple ./configure make make install, they use /usr/local I think...anyway
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 14, 2014, 05:43:00 pm
so ios 4.2.1 work on new or old ifuse?

overthere,

I was just confuse about which version work on ios 4.2.1...
Title: Re: gtkpod with iphone4
Post by: overthere on April 14, 2014, 06:10:25 pm
Quote
with this downgrade I am able to mount iso 4.2.1, use gtkpod to create playlist and sync and unmount as root in terminal.

libplist 1.3
usbmuxd 1.0.7
ifuse 1.1.1
libimobiledevice 1.0.4
gtkpod 1.0.0
libgpod 0.8.2

thought it was obvious, this works for me, but I did use iso rather than ios sorry.

the update meant for ios7 did not work for ios7 mounts, but did appear to allow mount and unmount of 4.2.1 as posted which may have added confusion. there was no music app to test fully so not sure what value that has.

naturally what works on VL7.0 light on a dell latitude d400 may not work for everyone but I have added three playlists od 20 to 50 tracks and removed one with success so far

the post was really about ios7 on an iphone4 but it appears to be a new common issue in linux and as yet generally unresolved.


Title: Re: gtkpod with iphone4
Post by: hata_ph on April 14, 2014, 06:37:12 pm
I have build below packages in the untested repo...pls try to install it via gslapt/slapt-get

Quote
libplist-1.10
usbmuxd-1.0.8
libimobiledevice-1.1.5
ifuse-1.1.3

gtkpod-2.1.x require gtk+3 and others newer library...it might take some effort to build it
so pls try ifuse way first and let me know how it go...

So all 4 new version does not work on ios 4?
Title: Re: gtkpod with iphone4
Post by: overthere on April 14, 2014, 08:47:27 pm
The short answer is maby,

 they do NOT work on iOS-7.0 for mount/umount which is the purpose of the posting

they did appear to  work allowing mount and unmount of ios-4.2.1, I do not have 5x or 6x to try. but of no particular value without gtkpod or some other such app.

I would rather you build the newest LMD 1.1.6 and associates when you feel comfortable it is stable or worth your effort as it will also require gtkpod and will hopefully work with the current apple iphone models 4/5 with iOS-7.0

personally speaking I am content with the current downgraded set for the somewhat obsolete ios 4.2.1, but happy to try the new LMD 1.1.5 with gtkpod if you want to build it.

Does that make any sense?
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 14, 2014, 11:57:09 pm
I have build below new packages at the untested repo. Pls try this with ios4 and iso7

Quote
libimobiledevice-1.1.6
libplist-1.11
usbmudx-10.9

PS: Not building new gtkpod now as it need a lot of new gtk stuff. Pls try to access it via ifuse first...
Title: Re: gtkpod with iphone4
Post by: overthere on April 15, 2014, 01:20:28 am
Sure, Will give it a go and post back if I can mount and unmount the two devices. there is very little one can do beside mount unmount, perhaps retrieve a photo but at least we will know if it works....Thanks

Edit:Ifuse gives error for libplist.so.1 (both devices)

root:# ifuse /media/ipod
ifuse: error while loading shared libraries: libplist.so.1: cannot open shared object file: No such file or directory

did reinstalls, reboot, downgrade to 115 gives same error. downgrade ifuse gives error libimobiledevice so 1,
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 15, 2014, 04:11:55 am
Sorry is my bad...forget to rebuild ifuse with libimobiledevice-1.1.6
Pls try ifuse-1.1.3 v2 at the untested repo...
Title: Re: gtkpod with iphone4
Post by: overthere on April 15, 2014, 03:19:50 pm
Hi hata_ph
installed via gslapt and rebooted. In terminal as root error

root:# ifuse /media/ipod
No device found, is it connected?
If it is make sure that your user has permissions to access the raw usb device.
If you're still having issues try unplugging the device and reconnecting it.
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 15, 2014, 05:30:48 pm
Sorry I do not have any apple device with me but can you try run ideviceinfo in terminal while with your apple device attached to it?

https://wiki.gentoo.org/wiki/Apple_iPod,_iPad,_iPhone
Title: Re: gtkpod with iphone4
Post by: overthere on April 15, 2014, 07:39:47 pm
both devices

same error, no device found

downgrade still works fine for older iphone3g iOS-4.2.1

Thanks for all your efforts, I appreciate  it,this is not a priority just an opportunity that presented itself

Title: Re: gtkpod with iphone4
Post by: hata_ph on April 15, 2014, 09:21:08 pm
Sorry cause cannot help you much...
Title: Re: gtkpod with iphone4
Post by: overthere on April 15, 2014, 11:07:33 pm
No worries hata_ph, I appreciate the kind effort

According to this thread the problem was solved with the new builds of libimobiledevice 1.1.6,and depends.

https://github.com/libimobiledevice/libimobiledevice/issues/48

the 1.1.5 package set you built worked but had the trust no trust loop issue with iOS-7 on the iphone4 and no gtkpod

with the 1.1.6 package set ifuse gave error for libplist so.1 and the rebuild of ifuse gave error no connection

my understanding is that usbmuxd looks for libplist and libimobiledevice looks for both, ifuse uses libimobiledevice to mount device

The pkgs from imobiledevice want to install to /usr/local rather than /usr so I was not sure how to configure and make them.

however this information should point anyone interested in connecting the newer iphones in the right direction.

with ifuse working one can mount the device however this has limited usefullness..my understanding is that shotwell will allow photo extractions and gtkpod, amorak and perhaps other music apps allow transfer of music and video files.

I downgraded as mentioned earlier and had success with ifuse and gtkpod with the iphone3g iOS 4.2.1 I suspect this would also work with older ipods and other devices using 4.2.1

Although the iphone3g iOS 4.2.1 is obsolete in the apple world it is still popular with those who like to jailbreak the units and install cydia. The redsnow works well and the iboot hack that allows install of the iboot loader and dual boots android is interesting.

I played with both but restored the phone and use it as an ipod music player with the utube app and game of solitaire...not very exciting but it is nice to be able to add music via my Vectorlinux laptop

The newer iphone with ios7 can work with itunes on windows or copytrans manager with copytrans drivers installer as alternative if anyone still dualboots xp or 7, I unfortunatly formatted windows for the added drive space.

http://www.copytrans.net/download.php

Cheers





.
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 16, 2014, 12:16:28 am
overthere,

can you try usbmuxd-1.0.9_20140416git at the untested repo?
Title: Re: gtkpod with iphone4
Post by: overthere on April 16, 2014, 12:43:19 am
Installed via gslapt and rebooted then in terminal su root plug device and type ifuse /media/ipod

root:# ifuse /media/ipod
ifuse: error while loading shared libraries: libusbmuxd.so.2: cannot open shared object file: No such file or directory
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 16, 2014, 06:33:50 pm
Can you try libimobiledevice-1.1.6 v2, libusbmuxd-1.0.9 and usbmuxd-1.0.9_20140417git from the untested repo?
Title: Re: gtkpod with iphone4
Post by: overthere on April 17, 2014, 01:03:12 am
Ok..have installed via gslapt
libplist 1.11
usbmuxd 1.0.9_20140417git
libimobiledevice 1.1.6-i586-2vl70
libusbmuxd 1.0.9 (marked with libimobledevice)
ifuse 1.1.3

note usbmuxd 1.0.9 did not work

congrats the foundation is complete
The first time it ask for trust confirmation but once clicked it did not ask the second and third time I plugged and mounted

in terminal as ROOT, ifuse /media/ipod mounts device
this works for iOS7 on iphone4 and iOS 4.2.1 on iphone 3g

in ROOT file manager /media/ipod lists folders however the only function of use was that I could copy photo images from the dcim folder on both devices to the computer. an application would be required to add any files to the devices

Downgrade to
libplist 1.11
usbmuxd 1.0.7
libimobiledevice 1.0.4
ifuse ifuse 1.1.1
gtkpod 1.0.0
libgpod 0.8.2

works to mount via ifuse and add files via gtkpod to ios 4.2.1 only
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 17, 2014, 01:09:36 am
So long story short is new libimobiledevice and usbmuxd work for iOS4 and 7 via ifuse but not gtkpod-1.x?
can't your file manager detect the idevice as storage?
Title: Re: gtkpod with iphone4
Post by: overthere on April 17, 2014, 02:06:14 am
Short answer NO

As I mentioned before ifuse will mount the device and one can see the folders in file manager however the only interaction possible in a file manager is to extract photos from idevice from dcim folder. to actually add files to the idevice one requires an application such as amarok, clementine, banshee, perhaps exaile. It is not mass storage ie adding mp3 are not seen by itunes media player on the device

I installed amarok, clementine and exaile but the only promise was clementine with error for libimobiledevice

this is as root in terminal, perhaps the apps can be given access as user although as one has to be root to mount with ifuse one may as well open the app in terminal as root as well

clementine: error while loading shared libraries: libimobiledevice.so.1: cannot open shared object file: No such file or directory

root:# exaile
Error: running as root is not supported!

root:# amarok
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
unnamed app(15797): KUniqueApplication: Cannot find the D-Bus session server:  "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."

unnamed app(15796): KUniqueApplication: Pipe closed unexpectedly.
Title: Re: gtkpod with iphone4
Post by: hata_ph on April 17, 2014, 05:01:04 am
building latest version of gtkpod in 7.0 may take some challenge as it may need to update a lot of gtk stuff and from the gtkpod main page it mention it does not support iOS5 and above

http://www.gtkpod.org/wiki/Home

clementine may need to be rebuild with new libimobiledevice and for other apps may need to rebuild gvfs to support AFC

https://www.archlinux.org/packages/extra/i686/gvfs-afc/
Title: Re: gtkpod with iphone4
Post by: overthere on April 17, 2014, 03:57:33 pm
Thanks, Perhaps further efforts would be better placed on VL7.1  as it is current.
Title: Re: gtkpod with iphone4
Post by: hata_ph on May 13, 2014, 11:09:23 pm
overthere,

if you have 7.1 installed, I have update below packages, pls try it and let me know now it go

Quote
libgpod-0.8.3
libplist-1.11
libusbmuxd-1.0.9
libimobiledevice-1.0.6
ifuse-1.1.3
usbmuxd-1.0.9-20140517git
gtkpod-2.1.4 v3

PS: You might need to enable untested repo to install them...