Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
libimobiledevice - Teaching Penguins to Talk to Fruit (libimobiledevice.org)
52 points by pooriaazimi on Oct 1, 2012 | hide | past | favorite | 13 comments


Aaaargh, that page is impossible to read. I would recommend using width:600px;margin-left:auto;margin-right:auto; for the div#base and definitely kill that center text-align with a huge cannon.

Took me a while to understand that this is a Linux library to "talk to iOS stuff"


It is distracting how your comment has framed discussion as, "this is ugly or unoptimized for the target audience because x." What I was hoping to read here is a discussion about how this library improves (or falls short of improving) upon attempts made to build open libraries to talk to iDevices in the past.

There is a place for aesthetic critique. I would rather see this project focus on the cool work they are clearly doing, and forget about the margins.


Yes and no. I agree that pages like this don't really need much prettifying, but center aligning text and expanding it to page width really does make it unreadable in this instance.


If it only had just been ugly or unoptimized I would have agreed. Currently it is pretty much unreadable unless you use firebug to edit the CSS.


What keeps you from asking those questions then? Go ahead! Thankfully the other comments seem to focus on the actual project.

Now your reply gave my comment way too much impact on the discussion list.


I didn't realize this had been updated recently. I gave up on my wife's 4S some time ago when it appeared that support for recent iOS devices on Linux had been mostly abandone by the community.


Since apple changed the checksums for itunes I can't use this to put music on my iphone on linux .. it's pretty crap of apple :/


This is how I build it on Ubuntu 12.04 on VirtualBox for Windows. I gave up compiling it on Windows using Cygwin or Ming. The Windows dll is outdated. I had issues compiling it on openSUSE, Fedora and Mac OS X 10.8 using Fink.

https://gist.github.com/3812114


Example of how to read your home screen app layout data using Python.

  # Fix for subfolders in icon_state for iOS >= 4
  # line 48 : libimobiledevice\cython\sbservices.pxi
  # err = sbservices_get_icon_state(self._c_client, &c_node, "2")

  # export LD_LIBRARY_PATH=/usr/local/lib
  import imobiledevice
   
  idevice = imobiledevice.iDevice()
  ld = imobiledevice.LockdownClient(idevice,"sb")
  sbport = ld.start_service(imobiledevice.SpringboardServicesClient) 
  sbc = imobiledevice.SpringboardServicesClient(idevice, sbport)
  icon_state = sbc.icon_state

  # set icon_state from xml using ipython
  # download binary plist from http://iconstate.herokuapp.com/ with sbservice checked
  # convert to xml using plutil.pl from http://scw.us/iPhone/plutil/
  # new_xml = !cat IconState.text.plist
  # new_icon_state = plist.from_xml(new_xml.s)
  # sbc.icon_state = new_icon_state


The developer of this library just gave a talk at JailbreakCon a couple days ago about his work and how it was used in recent 5.x jailbreaks. The talk was recorded, although I admit to not knowing the URL yet (I believe it is un uStream somewhere). (I also gave a talk.)


The sad thing is we probably shouldn't need this.

Good work though.


is this the netatalk/avahi for iOS?


it implements the way itunes communicates with idevices in an "open" fashion




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: