<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>geekbin.net &#187; iPhone</title>
	<atom:link href="http://www.geekbin.net/main/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekbin.net/main</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 05:37:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Updating iPhone 3G to iOS 4 Using VirtualBox</title>
		<link>http://www.geekbin.net/main/2010/07/updating-iphone-3g-to-ios-4-using-virtualbox/</link>
		<comments>http://www.geekbin.net/main/2010/07/updating-iphone-3g-to-ios-4-using-virtualbox/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 05:37:08 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Redsn0w]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=367</guid>
		<description><![CDATA[I decided to update my iPhone version to 4.0 and see what they actually have to offer. Of course, I also conducted the jailbreak process so that I could keep the extra features I have already obtained. It really wasn&#8217;t that hard to do, and believe it or not, Redsn0w actually worked in a VirtualBox [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to update my iPhone version to 4.0 and see what they actually have to offer.  Of course, I also conducted the jailbreak process so that I could keep the extra features I have already obtained.  It really wasn&#8217;t that hard to do, and believe it or not, Redsn0w actually worked in a VirtualBox environment.  At the time of the update, I was running VirtualBox version 3.2.2 r62298 with Windows XP SP2.  I installed iTunes 9.2, downloaded my <a href="http://www.blogsdna.com/11002/downoad-ios-4-0-final-for-iphone-ipod-touch-now.htm" target="new">firmware here</a>, and manually restored my phone to the iOS 4.  Once the process was done, I simply executed <a href="http://sites.google.com/a/iphone-dev.com/files/home/redsn0w_win_0.9.5b5-5.zip?attredirects=0" target="new">Redsn0w</a>, and everything went smoothly.  </p>
<p>There have been a couple of problems with the dbus and amarok recognising the iPhone, so I decided to update and see if there was more to offer on that level.  I know that I posted an article about this, and there are a few questions, however, I hope to have the answers soon and have the solution. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/07/updating-iphone-3g-to-ios-4-using-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syncing iPhone 3.1.2 with Amarok 2.3.1 in Gentoo (Updated)</title>
		<link>http://www.geekbin.net/main/2010/06/syncing-iphone-3-1-2-with-amarok-2-3-1-in-gentoo-updated/</link>
		<comments>http://www.geekbin.net/main/2010/06/syncing-iphone-3-1-2-with-amarok-2-3-1-in-gentoo-updated/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:02:34 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[libimobiledevice]]></category>
		<category><![CDATA[usbmux]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=347</guid>
		<description><![CDATA[With all of the new changes coming out in reference to amarok, kde and the iPhone, I noticed that the guide I had was outdated, so I decided to update yet again. There has been a lot of new development, especially with the new libimobiledevice and the &#8216;iphone&#8217; use flag for gtkpod. Follow the steps [...]]]></description>
			<content:encoded><![CDATA[<p>With all of the new changes coming out in reference to amarok, kde and the iPhone, I noticed that the guide I had was outdated, so I decided to update yet again.  There has been a lot of new development, especially with the new libimobiledevice and the &#8216;iphone&#8217; use flag for gtkpod.  Follow the steps below and you should be able to get your device working properly.</p>
<p>Obviously, you are going to have to setup a few packages first, and then emerge some prerequisites before amarok will detect your device.  To make things a little easier, I am just going to flow with it, if there are any questions, please post comments and I can explain.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -va layman<br />
# layman -a rion<br />
# layman -S<br />
# echo `PORTDIR_OVERLAY=&quot;/usr/local/portage/layman/rion&quot;` &gt;&gt; /etc/make.conf<br />
# env-update<br />
# eix-update<br />
# echo &quot;dev-libs/libusb debug doc&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;dev-util/gtk-doc debug doc emacs -test&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;app-pda/libimobiledevice python&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;media-libs/libgpod gtk iphone python udev&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;media-sound/amarok daap embedded ipod lastfm mp3tunes opengl&quot; &nbsp;&gt;&gt; /etc/portage/package.use<br />
# emerge -va =app-pda/libplist-9999 =dev-libs/libusb-1.0.3 =app-pda/usbmuxd-9999 =dev-util/gtk-doc-1.13-r2 &nbsp;=app-pda/libimobiledevice-1.0.1 &nbsp;=media-libs/libgpod-0.7.93 &nbsp;=app-pda/ifuse-1.0.0<br />
# useradd -G usb,plugdev,wheel -s /bin/bash usbmux<br />
# gpasswd [YOURUSER] -a usbmux<br />
# echo &quot;user_allow_other&quot; &gt;&gt; /etc/fuse.conf<br />
# env-update &amp;&amp; source /etc/profile</div></div>
<p>Now is a good time to go ahead and edit your usbmux file.  You need to test out and make sure that your iphone is being registered when it connects. First you will have to modify the udev rules so that you can see the output. Increase the syslog debug level by editing “/lib/udev/rules.d/85-usbmuxd.rules” and adding “-v -v” flags to the end of both RUN statements. Now you can run dmesg and see if usbmuxd is seeing your iphone.  A reboot might be required for all of the changes to take effect.</p>
<p>After your reboot, check dmesg to make sure that your device is being seen.  Then, mount the device, create some required folders, and get your UUID. Since you now have ifuse, you can easily mount your device, but in order to do this, it is required to be in a specific location. Additionally, if you want your users (not root) to also have ifuse privileges, you will need to edit the config files to do that.  (This step might not be required anymore, however, I am still doing it just in case).</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;user_allow_other&quot; &gt;&gt; /etc/fuse.conf<br />
# mkdir /mnt/ipod<br />
# chmod 777 /mnt/ipod<br />
# ifuse /mnt/ipod<br />
# mkdir /mnt/ipod/iTunes_Control/Device<br />
# lsusb -v | grep -i iSerial<br />
# ipod-read-sysinfo-extended YOUR_UUID /mnt/ipod</div></div>
<p>Now, everything should be good to go.  All you need to do now is emerge amarok and test your phone out.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -va =media-sound/amarok-2.3.1 =media-sound/amarok-utils-2.3.1</div></div>
<p>If all goes as planned, your good to go yet again.  If you have found that some of the steps are no longer required, please let me know and I will make the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/06/syncing-iphone-3-1-2-with-amarok-2-3-1-in-gentoo-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sync the iPhone 3x in Amarok on Gentoo Linux</title>
		<link>http://www.geekbin.net/main/2010/03/sync-the-iphone-3x-in-amarok-on-gentoo-linux/</link>
		<comments>http://www.geekbin.net/main/2010/03/sync-the-iphone-3x-in-amarok-on-gentoo-linux/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 01:06:54 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=299</guid>
		<description><![CDATA[This was partially error on my part, and lack of documentation else where. The iPhone 3x (jailbroken or not) can finally sync with Amarok. A few packages are needed, but the process is automated. You no longer need to use ifuse to manually mount and use gtkpod to transfer music. However, I have not found [...]]]></description>
			<content:encoded><![CDATA[<p>This was partially error on my part, and lack of documentation else where.  The iPhone 3x (jailbroken or not) can finally sync with Amarok.  A few packages are needed, but the process is automated.  You no longer need to use ifuse to manually mount and use gtkpod to transfer music.  However, I have not found a way to tranfer pictures or video yet, so I don&#8217;t recommend completely removing them.  The following packages are needed to complete this, and a few  things are needed before you install Amarok.</p>
<p><strong>Prerequisite Packages Needed with the Proper USE Flags:</strong></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">=dev-libs/libusb-0.1.12-r7 debug doc<br />
=dev-libs/libusb-1.0.3 debug doc<br />
=app-pda/libplist-9999<br />
=app-pda/libiphone-9999<br />
=app-pda/ifuse-9999<br />
=app-pda/usbmuxd-9999</div></div>
<p>After these are installed, you need to remove both <strong>media-sound/amarok</strong> and <strong>media-sound/amarok-utils</strong>.  Once these are removed, you need to reinstall both of the newest packages with the following USE flags.</p>
<p>Before the installation, you need to remove the Amarok folders in your home directory.  You will have to reconfigure your music collection&#8217;s location, but this will clear all of the problems that might stop your phone from mounting in Amarok.  (I removed all the folders vice each file inside)</p>
<p><strong>Locations of Amarok Configurations:</strong></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">~/.kde4/share/apps/amarok/<br />
~/.kde4/share/config/amarok</div></div>
<p>&#8230;and here are the new Amarok packages you need.</p>
<p><strong>Amarok and Amarok Utilities with Proper USE Flags:</strong></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">=media-sound/amarok-2.2.2.90 daap embedded ipod lastfm mp3tunes opengl<br />
=media-sound/amarok-utilites-2.2.2.90 -debug</div></div>
<p>Once you have done all of this, plug your phone in, and it should mount in Amarok automatically.</p>
<p><strong>Screenshot:<br />
<a href="http://www.geekbin.net/main/wp-content/uploads/2010/03/amarok-22290-iphone.png"><img class="alignnone size-medium wp-image-302" title="amarok-22290-iphone" src="http://www.geekbin.net/main/wp-content/uploads/2010/03/amarok-22290-iphone-300x217.png" alt="" width="300" height="217" /></a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/03/sync-the-iphone-3x-in-amarok-on-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>iPhone 3.x Sync&#8217;ed in Linux (Full Gentoo Guide)</title>
		<link>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/</link>
		<comments>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 19:46:30 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[GTKPod]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=253</guid>
		<description><![CDATA[Okay, so This is the third (and hopefully final) walkthrough for getting your iPhone to sync with Gentoo and now I am incorporating file transfer and music management. The process is actually very simple, but you should make sure to follow all of the steps. I encountered some problems along the way as well; I [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so This is the third (and hopefully final) walkthrough for getting your iPhone to sync with Gentoo and now I am incorporating file transfer and music management.  The process is actually very simple, but you should make sure to follow all of the steps.  I encountered some problems along the way as well; I received an error from one of the commands that used in other walkthroughs &#8220;Couldn’t read xml sysinfo from uuid.&#8221;  I simply fixed it by <strong>&#8220;READING&#8221;</strong> all of the steps properly and everything worked, so if you don&#8217;t read, you won&#8217;t get it!</p>
<p>Even though I have thanked him once before, thanks again to <a href="http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/">Marcan</a> and his blog.  His hard work has made this possible.  I recommend reading his walkthrough to get a better understanding of everything.  This walkthrough is a similar walkthrough to his, but targets Gentoo.  As stated in all other walkthroughs, you do not need to jailbreak your phone, but I recommend it, makes everything easier.  I nor any developer or provider is responsible for any damages that you cause by following our walkthroughs, so, if you brick, it is on you.  Lastly, your iPhone should have already been plugged into iTunes and received a song at least once.</p>
<p><strong>The way I did it might not be the way it SHOULD be done, but it did work.  If you know of a better way, please bring it to light.</strong></p>
<p>First, you will need the Rion overlay like I wrote in earlier posts.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -va layman<br />
# layman -a rion<br />
# layman -S<br />
# echo `PORTDIR_OVERLAY=&quot;/usr/local/portage/layman/rion&quot;` &gt;&gt; /etc/make.conf<br />
# env-update<br />
# eix-update</div></div>
<p>Next, you will need to emerge a few needed packages.  I found that the libgpod package in portage isn&#8217;t going to work, so will have to manually install that one from the sourceforge project page.  In the mean time, I will try writing an ebuild for it so that it can be emerged. (I emerged it, an then built new one over it)  Additionally, the versions that you have will also matter, but the 9999 versions mostly don&#8217;t work yet, so a couple of entries into your package.keywords and package.use will be necessary.  Also, before emerging any of this, I would recommend adding &#8220;ipod&#8221; you your USE flags in your /etc/make.conf file.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;dev-libs/libusb debug doc&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;media-libs/libgpod gtk hal python test&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;dev-util/gtk-doc debug doc&quot; &gt;&gt; /etc/portage/package.use<br />
<br />
# echo &quot;=app-pda/libplist-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/libiphone-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/ifuse-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;dev-libs/libusb **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/ifuse **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libplist **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libiphone **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/usbmuxd **&quot; &gt;&gt; /etc/portage/package.keywords<br />
<br />
# emerge -va libusb libiphone ifuse libplist usbmuxd libgpod gtk-doc gtkpod dev-util/git</div></div>
<p>Next, you will need to build the custom version of libgpod.  If everything is built right on your system, then you should be fine, but if you get any errors, of course you will need to fix them before you continue.  You will need git in order to obtain this build from the sourceforge repository.  Find a nice location on your drive, and as root, execute the following.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod<br />
# cd libgpod<br />
# CFLAGS=&quot;-g -O0&quot; sh autogen.sh --prefix=/usr<br />
# make<br />
# make install</div></div>
<p>Now, we have start testing everything out.  We need to make sure that your phone is fully connected once you plug it in, and we need to make sure that usbmuxd is detecting your phone.  We have to create the usbmux user so that usbmuxd will work properly. You will have to make sure that this user has access to usb and plugdev. I added wheel too, but it isn’t necessary.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># useradd -G usb,plugdev,wheel -s /bin/bash usbmux</div></div>
<p>Once everything is emerged successfully, you need to test out and make sure that your iphone is being registered when it connects. First you will have to modify the udev rules so that you can see the output. Increase the syslog debug level by editing “/lib/udev/rules.d/85-usbmuxd.rules” and adding “-v -v” flags to the end of both RUN statements. Now you can run the following and see if usbmuxd is seeing your iphone.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Jan &nbsp;9 12:43:24 ghost kernel: [139025.359653] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.359663] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.359670] hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.385242] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001002 POWER sig=se0 CSC<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.463060] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.567304] hub 2-0:1.0: debounce: port 2: total 200ms stable 100ms status 0x501<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.618227] ehci_hcd 0000:00:1d.7: port 2 high speed<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.618232] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.669065] usb 2-2: new high speed USB device using ehci_hcd and address 14<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.720353] ehci_hcd 0000:00:1d.7: port 2 high speed<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.720358] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785527] usb 2-2: skipped 3 descriptors after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785530] usb 2-2: skipped 2 descriptors after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785533] usb 2-2: skipped 1 descriptor after endpoint<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785535] usb 2-2: skipped 1 descriptor after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.788140] usb 2-2: default language 0x0409<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789388] usb 2-2: udev 14, busnum 2, minor = 141<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789391] usb 2-2: New USB device found, idVendor=05ac, idProduct=1292<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789393] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789395] usb 2-2: Product: iPhone<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789397] usb 2-2: Manufacturer: Apple Inc.<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789399] usb 2-2: SerialNumber: 69a4294a91a56958927f3fafe0086bf90ccd2d2b<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789469] usb 2-2: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789486] usb 2-2: usb_probe_device<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789489] usb 2-2: configuration #1 chosen from 4 choices<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791263] usb 2-2: adding 2-2:1.0 (config #1, interface 0)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791282] usb 2-2:1.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791351] drivers/usb/core/inode.c: creating file '014'<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791371] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791385] usb 2-2: usb_disable_device nuking non-ep0 URBs<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791388] usb 2-2: unregistering interface 2-2:1.0<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791434] usb 2-2:1.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793892] usb 2-2: adding 2-2:4.0 (config #4, interface 0)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793929] usb 2-2:4.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793989] usb 2-2: adding 2-2:4.1 (config #4, interface 1)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794005] usb 2-2:4.1: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794035] usb 2-2: adding 2-2:4.2 (config #4, interface 2)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794053] usb 2-2:4.2: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.811303] usb 2-2: uevent</div></div>
<p>Now it is time to mount the device, create some required folders, and get your UUID.  Since you now have ifuse, you can easily mount your device, but in order to do this, it is required to be in a specific location.  Additionally, if you want your users (not root) to also have ifuse privileges, you will need to edit the config files to do that.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;user_allow_other&quot; &gt;&gt; /etc/fuse.conf<br />
# mkdir /mnt/ipod<br />
# chmod 777 /mnt/ipod<br />
# ifuse /mnt/ipod<br />
# mkdir /mnt/ipod/iTunes_Control/Device</div></div>
<p>Now obtain your UUID either from the logs, or by running&#8230;</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># lsusb -v | grep -i iSerial</div></div>
<p>Your UUID is a long hexadecimal string that is roughly 40 characters long.  In the longs above, mine is <strong>69a4294a91a56958927f3fafe0086bf90ccd2d2b</strong>.  Now, lets generate the XML file for your phone, simply run&#8230;</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ipod-read-sysinfo-extended YOUR_UUID /mnt/ipod</div></div>
<p>This will create the file <strong>iTunes_Control/Device/SysInfoExtended</strong> file. Make sure there is stuff in it, and it is not empty.  It should be a large XML file with a bunch of info.</p>
<p>If there were no errors, then you are good to go.  You can now sync up with linux and transfer music.  In the future, when you plug your device in, you simply need to run&#8230;</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ ifuse /mnt/ipod</div></div>
<p>I have been using GTKPod to transfer my music over to the device, however, it should work with other applications like RhythmBox or Amarok.  I haven&#8217;t tried them out yet, but I would be interested to see if anyone gets that working.</p>
<p>[singlepic id=20 w=320 h=240 float=left] [singlepic id=21 w=320 h=240 float=center]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iPhone 3G(s) 3.1.2 Sync&#8217;ed in Gentoo</title>
		<link>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/</link>
		<comments>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 21:27:52 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Rhythmbox]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=243</guid>
		<description><![CDATA[Yep, that&#8217;s right.  Sync&#8217;ed, finally.  It took a little work, and thanks to Marcan and his team of helpers, this can finally be done. The following guide is for gentoo users, but can be tailored to work for any linux OS. I successfully got Rhythmbox and Amarok to play all of the music from my [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, that&#8217;s right.  Sync&#8217;ed, finally.  It took a little work, and thanks to <a href="http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/" target=new>Marcan</a> and his team of helpers, this can finally be done.  The following guide is for gentoo users, but can be tailored to work for any linux OS.  I successfully got Rhythmbox and Amarok to play all of the music from my iPhone.  </p>
<p>Step 1: First, you need add the Rion overlay from layman.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -va layman<br />
# layman -a rion<br />
# layman -S<br />
# echo `PORTDIR_OVERLAY=&quot;/usr/local/portage/layman/rion&quot;` &gt;&gt; /etc/make.conf<br />
# env-update<br />
# eix-update</div></div>
<p>(if you have a PORTDIR_OVERLAY line already, then just add it manually with your favorite editor)</p>
<p>Step 2: You will need to emerge a couple of packages, if you have them installed, it is best to remove them first, then emerge the new ones.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -C libusb usbmuxd libplist libiphone ifuse</div></div>
<p>You will need the following packages in order for this to work right.  Note that the version DOES matter.  If you have older versions, they need to go, but same or later versions are good.</p>
<ul>
<li>1. dev-libs/libusb-1.0.5
<li>virtual/libusb-1
<li>2. app-pda/ifuse-0.9.4
<li>3. app-pda/libplist-0.16
<li>4. app-pda/libiphone-0.9.4
<li>5. app-pda/usbmuxd-1.0.0_rc2
</ul>
<p>The 9999 packages of any of these really didn&#8217;t work for me, so I suggest masking them out.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;=app-pda/libplist-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/libiphone-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/ifuse-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;dev-libs/libusb **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/ifuse **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libplist **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libiphone **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/usbmuxd **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# emerge -va libusb libiphone ifuse libplist usbmuxd libgpod</div></div>
<p>Additionally, I would make sure that amarok and/or rhythmbox are built with ipod support (USE=&#8221;ipod&#8221;).  Just add the &#8216;ipod&#8217; use flag to your USE line in /etc/make.conf.</p>
<p>Now, we have to create the usbmux user so that usbmuxd will work properly.  You will have to make sure that this user has access to usb and plugdev.  I added wheel too, but it isn&#8217;t necessary.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># useradd -G usb,plugdev,wheel -s /bin/bash usbmux</div></div>
<p>Once everything is emerged successfully, you need to test out and make sure that your iphone is being registered when it connects.  First you will have to modify the udev rules so that you can see the output.  Increase the syslog debug level by editing &#8220;/lib/udev/rules.d/85-usbmuxd.rules&#8221; and adding &#8220;-v -v&#8221; flags to the end of both RUN statements.  Now you can run the following and see if usbmuxd is seeing your iphone.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># tail -f /var/log/messages<br />
Dec 12 11:39:27 ghost kernel: [450381.899021] usb 2-4: New USB device found, idVendor=05ac, idProduct=1292<br />
Dec 12 11:39:27 ghost kernel: [450381.899024] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
Dec 12 11:39:27 ghost kernel: [450381.899026] usb 2-4: Product: iPhone<br />
Dec 12 11:39:27 ghost kernel: [450381.899028] usb 2-4: Manufacturer: Apple Inc.<br />
Dec 12 11:39:27 ghost kernel: [450381.899030] usb 2-4: SerialNumber: 69a4294a91a56958927f3fafe0086bf90ccd2d2b<br />
Dec 12 11:39:27 ghost kernel: [450381.899134] usb 2-4: usb_probe_device<br />
Dec 12 11:39:27 ghost kernel: [450381.899137] usb 2-4: configuration #1 chosen from 4 choices<br />
Dec 12 11:39:27 ghost kernel: [450381.900385] usb 2-4: adding 2-4:1.0 (config #1, interface 0)<br />
Dec 12 11:39:27 ghost kernel: [450381.900413] usb 2-4:1.0: uevent<br />
Dec 12 11:39:27 ghost kernel: [450381.900485] drivers/usb/core/inode.c: creating file '012'<br />
Dec 12 11:39:27 ghost kernel: [450381.900505] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0010<br />
Dec 12 11:39:27 ghost kernel: [450381.905696] usb 2-4: usb_disable_device nuking non-ep0 URBs<br />
Dec 12 11:39:27 ghost kernel: [450381.905701] usb 2-4: unregistering interface 2-4:1.0<br />
Dec 12 11:39:27 ghost kernel: [450381.905782] usb 2-4:1.0: uevent</div></div>
<p>If you are seeing your phone come up, then everything was done right.  The last thing to do is mount the phone.  simply use ifuse, and mount it to a specified mount point.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># ifuse /mnt/to/location</div></div>
<p>Again, you can now browse the entire filing system, and when you import the music, it should convert so that it isn&#8217;t in the hashed/encrypted form.  Rhythmbox even got the album art.</p>
<p>I am working on how to copy music to the iphone now, so if anyone got that down, please let me know. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackra1n, Jailbreaking iPhone 3G(s) or iPod Touch with 3.1.2</title>
		<link>http://www.geekbin.net/main/2009/11/blackra1n-jailbreaking-iphone-3gs-or-ipod-touch-with-3-1-2/</link>
		<comments>http://www.geekbin.net/main/2009/11/blackra1n-jailbreaking-iphone-3gs-or-ipod-touch-with-3-1-2/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 04:29:39 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[blackra1n]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=231</guid>
		<description><![CDATA[Thanks to geohot, we finally can jailbreak iPhone 3G &#038; 3GS, and iPod Touch&#8217;s with the newest 3.1.2 firmware. I had a little fun trying to get this working, but after finding the right sources, and the right guides, I got it. I wanted to make a simplified guide that would help join all of [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to geohot, we finally can jailbreak iPhone 3G &#038; 3GS, and iPod Touch&#8217;s with the newest 3.1.2 firmware.  I had a little fun trying to get this working, but after finding the right sources, and the right guides, I got it.  I wanted to make a simplified guide that would help join all of the different peoples ways to one of the easiest.</p>
<p>First, thanks to geohot at http://blackra1n.com/ and the redmondpie.com guys.</p>
<p>So, the steps.</p>
<p>Before we start, BACK YOUR PHONE UP, you will lose all data on it.</p>
<p>1. Get the latest version of <a href="http://www.itunes.com" target=new>iTunes</a>.<br />
2. <b>DO NOT</b> update your device with iTunes!!  Download the latest custom firmware from&#8230;</p>
<ul>
<li><a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7268.20091008.32pNe/iPhone1,1_3.1.2_7D11_Restore.ipsw">iPhone 2G</a></li>
<li><a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7265.20091008.Xsd32/iPhone1,2_3.1.2_7D11_Restore.ipsw">iPhone 3G</a></li>
<li><a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7270.20091008.phn32/iPhone2,1_3.1.2_7D11_Restore.ipsw">iPhone 3GS</a></li>
</ul>
<p>3. Holding the left-shift button, click the restore button in iTunes, and select your custom firmware file.  Let iTunes restore your phone this way.  Again, do NOT download the firmware through iTunes.  If you were not prompted to select a file, you didn&#8217;t do it right.<br />
4. After the phone is restored, before you install the carrier updates, and restore your backups back to the phone, download blackra1n <a href="http://blackra1n.com/" target=new>here</a>.<br />
5. Run blackra1n, click the &#8220;make it ra1n&#8221; button, and let it jailbreak.</p>
<p>The process takes about 10 &#8211; 15 seconds, so if you go any longer than that, you need to hold the power button and the home button down until your device shuts off, power it back on, and redo step 5 until it does work.</p>
<p>Go <a href="http://www.redmondpie.com/enable-tethering-on-iphone-3.1.2-firmware-with-blacksn0w-9140087/" target=new>here</a> if you want to learn about tethering your iPhone.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/11/blackra1n-jailbreaking-iphone-3gs-or-ipod-touch-with-3-1-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone 3.x Firmware and Amarok ?!?</title>
		<link>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/</link>
		<comments>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:41:05 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=213</guid>
		<description><![CDATA[There might be hope&#8230; http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/ It seems as if there is a project underway to help us linux users get the best out of our iPhones!]]></description>
			<content:encoded><![CDATA[<p>There might be hope&#8230;</p>
<p>http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/</p>
<p>It seems as if there is a project underway to help us linux users get the best out of our iPhones!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redsn0w, Linux and Jailbreaking iPhones</title>
		<link>http://www.geekbin.net/main/2009/09/redsn0w-linux-and-jailbreaking-iphones/</link>
		<comments>http://www.geekbin.net/main/2009/09/redsn0w-linux-and-jailbreaking-iphones/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 01:17:50 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Redsn0w]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=160</guid>
		<description><![CDATA[I finally got my iPhone jailbroken in linux using VirtualBox and Redsn0w.  I know this isn&#8217;t the primary method that people want to use, but it is a step in the right direction. There is a lot of having to re-connect the device because it will disconnect itself from the virtual machine, but as long [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-162" title="redsn0w_iPod_d-t" src="http://www.geekbin.net/main/wp-content/uploads/2009/09/redsn0w_iPod_d-t-242x300.png" alt="redsn0w_iPod_d-t" width="242" height="300" />I finally got my iPhone jailbroken in linux using VirtualBox and Redsn0w.  I know this isn&#8217;t the primary method that people want to use, but it is a step in the right direction.</p>
<p>There is a lot of having to re-connect the device because it will disconnect itself from the virtual machine, but as long as you are paying attention, then you shouldn&#8217;t have a problem.</p>
<p>On another note, I haven&#8217;t given up on trying to sync the iPhone 3G running the 3.0 firmware with Amarok, but things have been slow.  I started up again, and ran right into the same problem I had last time, where does the FirewireGUID information get saved?  There also seems to be problems with the permissions once logged into the iPhone via ssh.  Hopefully soon I will figure this one out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/09/redsn0w-linux-and-jailbreaking-iphones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ipod Touch Sync&#8217;ed to Amarok in Gentoo</title>
		<link>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/</link>
		<comments>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 01:44:31 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=21</guid>
		<description><![CDATA[First, as always, I am not responsible for any damages done to your equipment, if you choose to jailbreak and modify your device, that is on you!! Now, you will need to obtain a version of the 2.x firmware, and your device will need to be jailbroken. After you have jailbroken the device, you need [...]]]></description>
			<content:encoded><![CDATA[<p>First, as always, I am not responsible for any damages done to your equipment, if you choose to jailbreak and modify your device, that is on you!!</p>
<p>Now, you will need to obtain a version of the 2.x firmware, and your device will need to be jailbroken. After you have jailbroken the device, you need to install ‘OpenSSH’ and ‘Mobile Terminal’ from Cydia or Installer. These allow the obvious, ssh access and a terminal on the device.</p>
<p>On your linux box, you will need Amarok 1.4.10 or before, sadly, Amarok 2.0 will not work yet. You will also need sshfs and fuse.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;media-sound/amarok ipod&quot; /etc/portage/package.use<br />
# emerge sys-fs/fuse sshfs-fuse =media-sound/amarok-1.4.10-r2</div></div>
</blockquote>
<p>Set a static ip address on the device to match your the network your linux box is on.</p>
<p>Now, ssh into the device, the root password is defaulted to <strong>alpine</strong>.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ ssh root@192.168.1.110</div></div>
</blockquote>
<p>Edit the /etc/ssh/ssh_config on the device, and add the following lines:</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iTouch# nano /etc/ssh/ssh_config</div></div>
</blockquote>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
AuthorizedKeysFile .ssh/authorized_keys</div></div>
</blockquote>
<p>Next, you need to generate a ssh key for passwordless login into the device, and copy it to the device.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ ssh-keygen<br />
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.110</div></div>
</blockquote>
<p>Now to make sure that your permissions are set right for passwordless login:</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iTouch # cd ~<br />
iTouch # cp .ssh/authorized_keys .ssh/authorized_keys2<br />
iTouch # chmod 755 /var/root<br />
iTouch # chmod 700 /var/root/.ssh<br />
iTouch # chmod 644 /var/root/.ssh/authorized_keys<br />
iTouch # reboot</div></div>
</blockquote>
<p>After your device has rebooted, test your connection to make sure that you can log into your device without a password.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ ssh root@192.168.1.110</div></div>
</blockquote>
<p>If all is well, mount the device to your desired directory, or you can use ipod-touch-mount or iphone-mount in Ubuntu.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ mkdir ~/itouch<br />
$ sshfs root@192.168.1.110:/var/mobile/Media ~/itouch</div></div>
</blockquote>
<p>Next, we have to get and set the Firewire GUID:</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ cd ~/itouch/iPod_Control/Device<br />
$ su<br />
# lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf &quot;FirewireGuid: 0x%s\n&quot; &amp;gt; SysInfo</div></div>
</blockquote>
<p>Reboot the device. Now, before we can continue with syncing and adding music to the device, we have to modify the database version. This will allow libgpod to recognize and sync your device to Amarok. Sadly, I haven’t gotten this to work with RhythmBox or Exile.</p>
<p>We are going to log into the device, and edit the checkpoint.xml file&#8230;</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ ssh root@192.168.1.110<br />
iTouch # nano /System/Library/Lockdown/Checkpoint.xml</div></div>
</blockquote>
<p>Search for the DBVersion Key, and change the value from 4 to 2.</p>
<blockquote>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iTouch # reboot</div></div>
</blockquote>
<p>The last thing we have to do is add your device to Amarok so that it will populate your music and you can sync your device.</p>
<ul>
<li>Launch Amarok, and go to Settings =&gt; Configure Amarok… </li>
<li> Click the ‘Media Devices’ botton at the bottom</li>
<li> Click ‘Add Device…’</li>
<li> Select ‘Apple iPod Media Device’</li>
<li> Name your Device</li>
<li> The mount point should be ‘/home/$USER/itouch’ (unless you are using ipod-touch-mount, then it is /media/ipod)</li>
<li> Click Ok, and your are all set. Once you are in Amarok, just go to the devices tab on the bottom left (printed sideways) and click the ‘Connect’ button on your device and your music will populate in that device window. You can drag and drop your music into that device from your Amarok music collection as well.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
