<?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>Rob Garth &#187; jailbreak</title>
	<atom:link href="http://blog.sumostyle.net/robg/tag/jailbreak/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sumostyle.net/robg</link>
	<description>Mildly Useful Stuff</description>
	<lastBuildDate>Fri, 12 Aug 2011 00:36:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>iPhone and Blackra1n</title>
		<link>http://blog.sumostyle.net/robg/2010/01/01/iphone-and-blackra1n/</link>
		<comments>http://blog.sumostyle.net/robg/2010/01/01/iphone-and-blackra1n/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 22:26:11 +0000</pubDate>
		<dc:creator>robg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[pwned]]></category>

		<guid isPermaLink="false">http://blog.sumostyle.net/robg/?p=393</guid>
		<description><![CDATA[I tried the blackra1n jailbreak a couple of weeks ago. Wow amazingly easy and quick. I have since restored my phone to a pre-jailbroken state. To be perfectly honest I have not found a compelling reason to run jailbroken since 3.0. But I like to see whats happening on that front every once in a [...]]]></description>
			<content:encoded><![CDATA[<p>I tried the blackra1n jailbreak a couple of weeks ago. Wow amazingly easy and quick. I have since restored my phone to  a pre-jailbroken state. To be perfectly honest I have not found a compelling reason to run jailbroken since 3.0. But I like to see whats happening on that front every once in a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumostyle.net/robg/2010/01/01/iphone-and-blackra1n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qik post</title>
		<link>http://blog.sumostyle.net/robg/2008/09/27/qik-post/</link>
		<comments>http://blog.sumostyle.net/robg/2008/09/27/qik-post/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 09:30:31 +0000</pubDate>
		<dc:creator>robg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>

		<guid isPermaLink="false">http://blog.sumostyle.net/robg/?p=251</guid>
		<description><![CDATA[I went to the zoo yesterday, the only reason this is making my blog is that while there I played with a Qik app for the iphone (if yours is jailbroken). Instant video streams are cool, even if I have no talent as a film maker. Check it out: http://www.qik.com/robg.]]></description>
			<content:encoded><![CDATA[<p>I went to the zoo yesterday, the only reason this is making my blog is that while there I played with a Qik app for the iphone (if yours is jailbroken). Instant video streams are cool, even if I have no talent as a film maker. Check it out: <a title="http://www.qik.com/robg" href="http://www.qik.com/robg">http://www.qik.com/robg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumostyle.net/robg/2008/09/27/qik-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a toggle for netatalk on the iPhone</title>
		<link>http://blog.sumostyle.net/robg/2008/09/19/creating-a-toggle-for-netatalk-on-the-iphone/</link>
		<comments>http://blog.sumostyle.net/robg/2008/09/19/creating-a-toggle-for-netatalk-on-the-iphone/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 02:12:54 +0000</pubDate>
		<dc:creator>robg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[netatalk]]></category>

		<guid isPermaLink="false">http://blog.sumostyle.net/robg/?p=214</guid>
		<description><![CDATA[Netatalk on the iPhone is great, but what if you want to turn it off. Using Bossprefs it is easy to create a toggle which allows you to control the state of your netatalk daemon. For this to work you need a jailbroken iphone with netatalk, openssh, and Bossprefs installed, all avaialable through Cydia. I [...]]]></description>
			<content:encoded><![CDATA[<p>Netatalk on the iPhone is great, but what if you want to turn it off. Using Bossprefs it is easy to create a toggle which allows you to control the state of your netatalk daemon.</p>
<p>For this to work you need a jailbroken iphone with netatalk, openssh, and Bossprefs installed, all avaialable through Cydia. I would also suggest grabbing insomnia to stop your iphone going to sleep (or change the settings in system preferences).<br />
<span id="more-214"></span><br />
With you iphone and computer on the same Wifi network ssh to you iphone as root, or as mobile and su to root. Go to the Bossprefs directory scripts:</p>
<p><code># cd /var/stash/Applications/Bossprefs/scripts</code> <br />
On the 2.1 firmware there may be a bunch of random characters in the name of the Applications folder, eg. &#8216;Applications.IYKeBo&#8217;.</p>
<p>We need to create 2 scripts to start and stop the netatalk server in this directory.</p>
<p><strong>afp_start.sh:</strong></p>
<pre>#!/bin/sh
launchctl load -w /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
launchctl load -w /System/Library/LaunchDaemons/com.saurik.afpd.dns-sd.plist</pre>
<p><strong>afp_stop.sh:</strong></p>
<pre>#!/bin/sh
launchctl unload -w /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.saurik.afpd.dns-sd.plist</pre>
<p>Now make  them executable:</p>
<p><code># chmod +x afp_start.sh afp_stop.sh</code><br />
These scripts will start and stop the daemons for netatalk which normally happen at startup and shutdown.</p>
<p>The &#8216;-w&#8217; flag in load removes the &#8216;Disabled&#8217; tag if there, in unload it adds it if not there. What this effectively does is keeps the state of afp the same after a restart. If you have unloaded the daemon it will not start in restart, if it was running it will start on restart.</p>
<p>Now we need to create a service for Bossprefs. Move to the &#8216;service&#8217; directory.</p>
<p><code># cd ../services</code><br />
Create a file called &#8216;AFP&#8217;:</p>
<pre>/var/stash/Applications/BossPrefs.app/scripts/afp_start.sh
/var/stash/Applications/BossPrefs.app/scripts/afp_stop.sh
afpd
/var/stash/Applications/BossPrefs.app/afp.png</pre>
<p><strong>For a bit of explanation.</strong></p>
<ul>
<li>The first line in the line used to turn on the service.</li>
<li>The second line turns off the service.</li>
<li>The third line is the daemon which Bossprefs will look for to determine whether the service is running.</li>
<li>The fourth line is of course the icon.</li>
</ul>
<p>Fire up Bossprefs and now you can control your netatalk daemon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumostyle.net/robg/2008/09/19/creating-a-toggle-for-netatalk-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>A Netatalk Dropbox</title>
		<link>http://blog.sumostyle.net/robg/2008/09/12/a-netatalk-dropbox/</link>
		<comments>http://blog.sumostyle.net/robg/2008/09/12/a-netatalk-dropbox/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:17:59 +0000</pubDate>
		<dc:creator>robg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netatalk]]></category>

		<guid isPermaLink="false">http://blog.sumostyle.net/robg/?p=205</guid>
		<description><![CDATA[I have netatalk on my iphone to access files via afp. I wanted a publicly accessable dropbox. These instruction deal praimarily with the iPhone, but they would work on any system where you were running netatalk. Set you guest user account for afp shares in /etc/netatalk/netatalk.conf: AFPD_GUEST=nobody Turn on guest authentication in /etc/netatalk/afpd.conf by including [...]]]></description>
			<content:encoded><![CDATA[<p>I have netatalk on my iphone to access files via afp. I wanted a publicly accessable dropbox. These instruction deal praimarily with the iPhone, but they would work on any system where you were running netatalk.<br />
<span id="more-205"></span><br />
Set you guest user account for afp shares in /etc/netatalk/netatalk.conf:</p>
<p><code><tt>AFPD_GUEST=nobody</tt></code></p>
<p>Turn on guest authentication in /etc/netatalk/afpd.conf by including uams_guest.so in the uams list. My line reads:</p>
<p><code><tt> - -transall -uamlist uams_guest.so,uams_clrtxt.so,uams_dhx.so -nosavepassword</tt></code></p>
<p><em>Warning: Guest can access all your shares unless you deny the user in you AppVolumes file. Though you will only have the access you guest user (nobody) has.</em></p>
<p>Setup the Public share in AppVolumes.default</p>
<p>I currently have 2 share in my file:</p>
<p><code><tt>~ deny:nobody<br />/var/mobile/Public</tt></code></p>
<p>I don&#8217;t want to see nobody&#8217;s home directory, so I deny the guest user from my homes (~) share. The next share is my public share. As my iPhone has only one user I use the user&#8217;s home\ directory/Public, but it could be anywhere.</p>
<p>Now we have to make sure the Public share is actually there and it&#8217;s permissions are set right. Every directory above must at least be executable by all as well. This should do it:</p>
<p><code><tt># chmod a+x /var/mobile<br /># mkdir /var/mobile/Public<br /># mkdir /var/mobile/Public/Drop\ Box<br /># chmod a+rx /var/mobile/Public</tt></code><br />
We want Public to be readable by everyone</p>
<p><code><tt># chmod a+wx,go-r,+t /var/mobile/Public/Drop\ Box/</tt></code><br />
Everyone can write to the directory, no one but the user can read from the directory, and the sticky bit makes sets permissions of uploads to match the user&#8217;s.</p>
<p>Restart netatalk and a new Public share should appear with a Drop Box anyone can write to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumostyle.net/robg/2008/09/12/a-netatalk-dropbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using the SDK with a jail broken iphone</title>
		<link>http://blog.sumostyle.net/robg/2008/08/30/using-the-sdk-with-a-jail-broken-iphone/</link>
		<comments>http://blog.sumostyle.net/robg/2008/08/30/using-the-sdk-with-a-jail-broken-iphone/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 06:41:39 +0000</pubDate>
		<dc:creator>robg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[pwned]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.sumostyle.net/robg/?p=190</guid>
		<description><![CDATA[I want to muck about in the sdk and I want to take my muck and move it to an iphone. What I am doing is not worthy of sale &#8211; or really even distribution, but to test it on an actual hardware I have to pay apple so my app is signed. The simulator [...]]]></description>
			<content:encoded><![CDATA[<p>I want to muck about in the sdk and I want to take my muck and move it to an iphone. What I am doing is not worthy of sale &#8211; or really even distribution, but to test it on an actual hardware I have to pay apple so my app is signed.</p>
<p>The simulator is exactly that, a simulator, not an emulator. You really have no idea of the performance of your code until you throw a real iphone in the mix. But with a jailbroken iphone and a bit of pokery you can get the sdk to play nice with your hardware. See this page: <a href="http://www.246tnt.com/iPhone/">http://www.246tnt.com/iPhone/</a>.</p>
<p>Well worth the effort. Now I know my app which runs fast and smooth on the simulator, waits 30 seconds and then crashes my iphone. I used to be able to do that on my Windows Mobile without coding anything.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumostyle.net/robg/2008/08/30/using-the-sdk-with-a-jail-broken-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

