<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Andrew de Quincey&apos;s livejournal</title>
  <link>http://adq.livejournal.com/</link>
  <description>Andrew de Quincey&apos;s livejournal - LiveJournal.com</description>
  <lastBuildDate>Mon, 21 Mar 2011 21:32:35 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>adq</lj:journal>
  <lj:journalid>13980852</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>http://l-userpic.livejournal.com/66890024/13980852</url>
    <title>Andrew de Quincey&apos;s livejournal</title>
    <link>http://adq.livejournal.com/</link>
    <width>48</width>
    <height>48</height>
  </image>

<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/115432.html</guid>
  <pubDate>Mon, 21 Mar 2011 21:32:35 GMT</pubDate>
  <title>kindle devkey problems?</title>
  <link>http://adq.livejournal.com/115432.html</link>
  <description>&amp;nbsp;Hi, a number of people have reported problems with my kindle devkeys 0.2 and the 3.1 firmware. I can&apos;t seem to replicate the problem here on two kindles (both K3GB - UK wifi+3G).&lt;br /&gt;&lt;br /&gt;I&apos;ve just reinstalled the latest jailbreak from &lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?t=88004&quot; rel=&quot;nofollow&quot;&gt;mobileread&lt;/a&gt;. I then deleted my keystore from the device and reinstalled it from the zipfile downloaded from my adqmisc googlecode project. Result: works fine.&lt;br /&gt;&lt;br /&gt;Obviously something is affecting some people though, but as I can&apos;t replicate it, I&apos;m at a loss as to what it is. I can only suggest a few things to try out:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) it could perhaps be some of the other files in the keystore directory. If someone wants to try sshing in and&amp;nbsp;:&lt;br /&gt;&lt;br /&gt;cd /var/local/java/keystore&lt;br /&gt;rm .* *&lt;br /&gt;&lt;br /&gt;That should wipe everything. Then&amp;nbsp;reinstall my devkeys (the above will zap them) and try again.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Update&lt;/strong&gt;: I&apos;ve created a standard kindle update that will do these steps, available &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=kindle-zapdevkeys-0.1.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. If you&apos;re using the latest jailbreak, you&apos;ll need to add &amp;quot;update_zapdevkeys&amp;quot; to the end of &amp;nbsp;&amp;quot;&amp;lt;Kindleusb&amp;gt;/linkjail/etc/whitelist, or the update will fail with a U007 error.&lt;br /&gt;&lt;br /&gt;I can&apos;t guarantee it&apos;ll help as I can&apos;t replicate the problem, but its the only thing I can think of. You&apos;ll still need to reinstall my devkeys afterwards. Please let me know &amp;nbsp;either way!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Another thing springs to mind: check the date on the kif.azw2 file on the kindle&apos;s USB exported filing system; perhaps the kindle is checking this against the key somehow?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Update:&lt;/strong&gt; I don&apos;t think its (2) - just tried setting the date on the file to 1-jan-1970 and 1-jan-3000, but it still loads fine here.</description>
  <comments>http://adq.livejournal.com/115432.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>9</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/115128.html</guid>
  <pubDate>Thu, 24 Feb 2011 16:19:39 GMT</pubDate>
  <title>Kindle 3.1 jailbreak</title>
  <link>http://adq.livejournal.com/115128.html</link>
  <description>Cool, looks like there&apos;s now a Kindle 3.1 jailbreak! &lt;strike&gt;See &lt;/strike&gt;&lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?t=122519&quot; rel=&quot;nofollow&quot;&gt;&lt;strike&gt;here&lt;/strike&gt;&lt;/a&gt;&lt;strike&gt;.&lt;/strike&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Update&lt;/strong&gt;: The latest jailbreak is available from the normal mobileread thread,&amp;nbsp;&lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?t=88004&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. I&apos;ve confirmed it works with installing my devkeys.</description>
  <comments>http://adq.livejournal.com/115128.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>14</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/114498.html</guid>
  <pubDate>Wed, 16 Feb 2011 18:08:03 GMT</pubDate>
  <title>Kindle firmware 3.1</title>
  <link>http://adq.livejournal.com/114498.html</link>
  <description>I&apos;ve been doing some playing about with the recent kindle 3.1 firmware &lt;a href=&quot;http://www.amazon.com/gp/help/customer/display.html/ref=hp_navbox_top_kindlelgi?nodeId=200529700&quot; rel=&quot;nofollow&quot;&gt;release&lt;/a&gt;. The salient points are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The jailbreak can no longer be installed because Amazon have patched the busybox tar exploit which allowed unrestricted writing to the root filing system. Keep an eye on &lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?t=88004&quot; rel=&quot;nofollow&quot;&gt;this thread&lt;/a&gt; over at mobileread for information on 3.1 jailbreaking progress.&lt;/li&gt;&lt;li&gt;Homebrew can no longer be installed (or deinstalled) because Amazon have patched the &amp;nbsp;/usr/sbin/otaup script to only use Amazon&apos;s keys when verifying software updates: the extra one installed by the jailbreak (and used to sign homebrew updates) is ignored.&lt;/li&gt;&lt;li&gt;If you installed the jailbreak and then the usbnet patches (or any other homebrew) under &amp;lt;= 3.0.3, and &lt;strong&gt;then&lt;/strong&gt;&amp;nbsp;updated to 3.1, they should be left intact.&lt;/li&gt;&lt;li&gt;You can&apos;t downgrade to an older firmware release since Amazon&apos;s binary patch update format does not support this (it could be done manually if you already had root shell access though).&lt;/li&gt;&lt;/ol&gt;So, as long as you installed usbnet previously, you should still be able to ssh into the kindle and gain a root shell.&lt;br /&gt;If you look at a diff of the old vs the new /usr/sbin/otaup script, they have changed the line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
KEYFILES=$(ls /etc/uks/*pem)&lt;/pre&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
KEYFILES=&amp;quot;/etc/uks/pubprodkey01.pem /etc/uks/pubprodkey02.pem &amp;quot;&lt;/pre&gt;&lt;br /&gt;The jailbreak key is called &amp;quot;/etc/uks/pubhackkey01.pem. Therefore, as long as you have a root shell, you can simply manually rename them. In fact, I&apos;ve decided to disable the Amazon keys by default to avoid any unwanted future updates they might automatically push to me:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mntroot rw&lt;br /&gt;cd /etc/uks&lt;br /&gt;mkdir AMAZON&lt;br /&gt;mkdir HACK&lt;br /&gt;mv pubprod* AMAZON&lt;br /&gt;mv pubhackkey01.pem HACK/pubprodkey01.pem&lt;br /&gt;mntroot ro&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then, when you want to install/deinstall a homebrew app:&lt;pre&gt;&lt;br /&gt;mntroot rw&lt;br /&gt;cd /etc/uks&lt;br /&gt;cp HACK/* .&lt;br /&gt;mntroot ro&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And for an Amazon firmware update (you might want to remove their keys after the update again to &amp;nbsp;disable pushed auto-updates):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mntroot rw&lt;br /&gt;cd /etc/uks&lt;br /&gt;cp AMAZON/* .&lt;br /&gt;mntroot ro&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Finally, the good news is that they haven&apos;t changed the signing of Kindlets, so as long as you&apos;ve got my devkeys installed, they&apos;ll work as previously.&lt;br /&gt;&lt;br /&gt;Interestingly, they have a new Kindlet API jar, version 1.2. I&apos;m going to analyse it and describe what is new in a later post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note that this all worked fine on my and another test Kindle; please don&apos;t blame me if it bricks/disables homebrew on yours.</description>
  <comments>http://adq.livejournal.com/114498.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/113734.html</guid>
  <pubDate>Fri, 04 Feb 2011 03:18:31 GMT</pubDate>
  <title>Merging developer keystores on the Kindle</title>
  <link>http://adq.livejournal.com/113734.html</link>
  <description>It is obvious that more than one person will want to &amp;nbsp;write homebrew for the Kindle. However, with my (now defunct) adqdevkeys-0.1 package, it just copies the file over whatever is already there, so we can only have one set on a device at one time. Annoying!&lt;br /&gt;&lt;br /&gt;Therefore, I&apos;ve just written a small Java program which can merge two keystores together. The source is available &lt;a href=&quot;http://code.google.com/p/adqmisc/source/browse/#svn%2Ftrunk%2Fmergekeystore&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. I&apos;ve also just released a new key package for my keys using it &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=kindle-adqdevkeys-0.2.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;; I hope others will do the same!&lt;br /&gt;&lt;br /&gt;For non-developers: there&apos;s no real need to upgrade to my new keystore release as the keys are the same and provides no new functionality to my apps.&lt;br /&gt;&lt;br /&gt;For developers: It assumes the keystore and keys all have a password of &amp;quot;password&amp;quot;. The command syntax is:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mergekeystores &amp;lt;dest keystore&amp;gt; &amp;lt;merge keystore&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This will merge keys in &amp;lt;merge keystore&amp;gt; with those already in &amp;lt;dest keystore&amp;gt;, or create a new &amp;lt;dest keystore&amp;gt; if one does not already exist. All you need to do is create a keystore of your own, with your own unique alias string, and create an update package for them.</description>
  <comments>http://adq.livejournal.com/113734.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/112115.html</guid>
  <pubDate>Fri, 14 Jan 2011 09:20:42 GMT</pubDate>
  <title>Huffington post article on kindle hacking</title>
  <link>http://adq.livejournal.com/112115.html</link>
  <description>See &lt;a href=&quot;http://www.huffingtonpost.com/matt-sledge/hacking-the-kindle_b_805619.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;</description>
  <comments>http://adq.livejournal.com/112115.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/110625.html</guid>
  <pubDate>Tue, 28 Dec 2010 21:27:00 GMT</pubDate>
  <title>jrename 0.2</title>
  <link>http://adq.livejournal.com/110625.html</link>
  <description>Hi, just created a new release (0.2) of jrename, available &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=jrename-0.2.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This has a couple of user submitted patches, one to fix a NullPointerException when processing interfaces, and one to fix method/field renaming.</description>
  <comments>http://adq.livejournal.com/110625.html</comments>
  <category>kindle</category>
  <category>jrename</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/110236.html</guid>
  <pubDate>Mon, 01 Nov 2010 23:07:15 GMT</pubDate>
  <title>KIF 0.5</title>
  <link>http://adq.livejournal.com/110236.html</link>
  <description>&amp;nbsp;Finally got some time to update this a bit:&lt;ul&gt;&lt;li&gt;Get timed events working - freefall and z-life should now work properly.&lt;/li&gt;&lt;li&gt;Add about page.&lt;/li&gt;&lt;li&gt;Sort out licensing.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;It is available from &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=kif-0.5.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.  If you&apos;ve already rooted+installed my developer keys, all you need to do is unzip it onto your kindle over USB. If you&apos;re installing for the first time, please see &lt;a href=&quot;http://adq.livejournal.com/108011.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for instructions.&lt;br /&gt;</description>
  <comments>http://adq.livejournal.com/110236.html</comments>
  <category>kif</category>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>17</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://adq.livejournal.com/108011.html</guid>
  <pubDate>Sat, 09 Oct 2010 00:44:34 GMT</pubDate>
  <title>KIF: an infocom text adventure interpreter for the kindle</title>
  <link>http://adq.livejournal.com/108011.html</link>
  <description>Wow, this sort of &amp;nbsp;thing seems to be in the &lt;a href=&quot;http://www.theregister.co.uk/2010/10/08/kindle_zork/&quot; rel=&quot;nofollow&quot;&gt;news&lt;/a&gt; these days! &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note: I&apos;ve updated these instructions for KIF 0.5; please see &lt;a href=&quot;http://adq.livejournal.com/110236.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;for the release notes..&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;My app is different however: it isn&apos;t web hosted, it runs natively on the kindle using the KDK APIs. As I don&apos;t have the official KDK, you&apos;ll need to jailbreak your kindle and install my developer keys; this is easy, but if it goes wrong, I can&apos;t accept any responsibility.&lt;br /&gt;&lt;br /&gt;So, lets jailbreak: The kindle jailbreaking was developed over at the mobiread forums, &lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?s=ae41131ba3761e46656848a2bc7f4e14&amp;amp;t=88004&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. The following is a very quick summary, see the mobiread thread for more information:&lt;ol&gt;&lt;li&gt;Download&amp;nbsp;kindle-jailbreak-0.3.N.zip from that thread.&lt;/li&gt;&lt;li&gt;Extract it on your computer.&lt;/li&gt;&lt;li&gt;Copy the correct update_*_install.bin&amp;nbsp;to the root of the kindle over USB. See the thread for information on which. (For my UK Kindle 3 with 3g, I use&amp;nbsp;update_jailbreak_k3gb_install.bin).&lt;/li&gt;&lt;li&gt;Safely remove and disconnect the kindle.&lt;/li&gt;&lt;li&gt;Go to&amp;nbsp;[HOME] -&amp;gt; [MENU] &amp;gt; Settings -&amp;gt; [MENU] &amp;gt; Update Your Kindle.&lt;/li&gt;&lt;li&gt;It&apos;ll take a wee while, and the update will fail with a&amp;nbsp;U004 or a U006 error (this is expected).&lt;/li&gt;&lt;/ol&gt;tada, your kindle is rooted. Now, normally at this point you&apos;d wonder what to do now... well, lets move on to stage 2:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download kindle-adqdevkeys-0.2.zip from &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=kindle-adqdevkeys-0.2.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Extract it on your computer.&lt;/li&gt;&lt;li&gt;Copy the correct update_adqdevkeys_*_install.bin to the root of the kindle over USB. It&apos;ll be the same code as for the rooting.&lt;/li&gt;&lt;li&gt;Safely remove and disconnect the kindle.&lt;/li&gt;&lt;li&gt;Go to [HOME] -&amp;gt; [MENU] &amp;gt; Settings -&amp;gt; [MENU] &amp;gt; Update Your Kindle.&lt;/li&gt;&lt;li&gt;This time, the update will succeed, and will install my developer keys into /var/local/java/keystore/developer.keystore. In case you already &lt;strong&gt;are&lt;/strong&gt;&amp;nbsp;an official KDK developer, any existing developer.keystore file will be backed up into that directory.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;At this point you should have escaped the maze of twisty updates; installing KIF can be done entirely by copying files over usb:&lt;ol&gt;&lt;li&gt;Download KIF-0.5.zip from &lt;a href=&quot;http://code.google.com/p/adqmisc/downloads/detail?name=kif-0.5.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Extract it to your computer with the full directory structure.&lt;/li&gt;&lt;li&gt;Copy the extracted directory structure onto the root of the kindle USB drive. (e.g. &amp;quot;kif.azw2 should end up in your kindle documents folder).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Disconnect, and wait for the home screen to refresh.&lt;/li&gt;&lt;li&gt;&amp;quot;KIF&amp;quot; should appear as an option... click it!&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;I still have a fair amount of work to do on it (e.g. styled text, lots of GUI improvements, auto-persistence when going to HOME....); consider this an alpha quality release. However, games should be playable, and I&apos;ve implemented savegame support.&lt;br /&gt;&lt;br /&gt;I have only tested this with the minizork and curses games (which will be installed when you decompressed KIF-0.1.zip). Others will very likely work, but I have been concentrating on getting the basics up and running first rather than game testing. Also, I&apos;ve only &amp;nbsp;tried it on a UK Kindle 3. YMMV.&lt;br /&gt;&lt;br /&gt;I&apos;m using the excellent &lt;a href=&quot;http://zmpp.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;zmpp&lt;/a&gt; as the infocom virtual machine. I must get in touch with the author and contribute my patches back once I have the source in a more stable form.&lt;br /&gt;I also use the &lt;a href=&quot;http://github.com/AdrianP/Kindle-Widget-Toolkit&quot; rel=&quot;nofollow&quot;&gt;KWT&lt;/a&gt; for &amp;nbsp;the items in the save menu.&lt;br /&gt;Finally, all code is available &lt;a href=&quot;http://code.google.com/p/adqmisc/source/browse/#svn/trunk/kif&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;By the way, you can get many more Infocom adventures over at the &lt;a href=&quot;http://www.ifarchive.org/&quot; rel=&quot;nofollow&quot;&gt;IF archive&lt;/a&gt;. And of course there&apos;s the yearly &lt;a href=&quot;http://www.ifcomp.org/&quot; rel=&quot;nofollow&quot;&gt;Interactive Fiction competition&lt;/a&gt;.</description>
  <comments>http://adq.livejournal.com/108011.html</comments>
  <category>kindle</category>
  <lj:security>public</lj:security>
  <lj:reply-count>72</lj:reply-count>
</item>
</channel>
</rss>
