<?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>The official website of RyeBrye. Sometimes known as Ryan Gardner. &#187; update checker</title>
	<atom:link href="http://www.ryebrye.com/blog/tag/update-checker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryebrye.com/blog</link>
	<description>Android, Flex, family, and random topics</description>
	<lastBuildDate>Wed, 08 Sep 2010 04:07:15 +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>Script to automatically check for T-mobile G1 cupcake OTA update URL</title>
		<link>http://www.ryebrye.com/blog/2009/05/21/script-to-automatically-check-for-t-mobile-g1-cupcake-ota-update-url/</link>
		<comments>http://www.ryebrye.com/blog/2009/05/21/script-to-automatically-check-for-t-mobile-g1-cupcake-ota-update-url/#comments</comments>
		<pubDate>Fri, 22 May 2009 05:28:57 +0000</pubDate>
		<dc:creator>RyeBrye</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[G1 hacking]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[update checker]]></category>

		<guid isPermaLink="false">http://www.ryebrye.com/blog/?p=753</guid>
		<description><![CDATA[T-mobile USA is rolling out the latest update progressively. The update will &#8220;come when it comes&#8221; and on some phones that will be as late as June. This game is one we have come accustomed to playing, and one that is annoying each time we have to play it. The phones download the update from [...]]]></description>
			<content:encoded><![CDATA[<p>T-mobile USA is rolling out the latest update progressively. The update will &#8220;come when it comes&#8221; and on some phones that will be as late as June.</p>
<p>This game is one we have come accustomed to playing, and one that is annoying each time we have to play it. The phones download the update from a URL on a google server, and once we know that URL, we can download the update manually and apply it from the SD Card  - or pass it off to the modding community to build a new and better version of it.</p>
<p>There are two parameters passed into the update service that are unique to each device, the IMEI and the device serial number. With the help of a few other people (most notably, Saurik for doing the legwork last update go-round and getting the initial work done)</p>
<p>Here&#8217;s the<a href="http://ryebrye.com/files/ota-check.sh">T-mobile USA OTA update polling script</a></p>
<p>To use it, download it and run it like this:<br />
<code><br />
sh ota-check.sh -sn YOUR_SN_HERE -imei YOUR_IMEI_HERE -sleep NUMBER_OF_SECONDS_TO_SLEEP<br />
</code></p>
<p>If you already got the update, it would be particularly interesting for you to try to run this script with your SN and IMEI. In theory, you should get the URL again &#8211; although this hasn&#8217;t been the case in the past for some reason (maybe once you checkin on the new version they disable you getting the update again? who knows why and how they work their craziness)</p>
<p>You can get your IMEI from your phone:</p>
<ul>
<li>&#8220;About the Phone&#8221; in the settings menus.</li>
</ul>
<p>You can get your SN from the phone terminal:</p>
<ul>
<li><code>getprop | grep serial</code> (in the terminal emulator or from adb shell)</li>
<li><code>adb devices</code> (I think this shows the SN of the phone, please verify)</li>
</ul>
<p>If you get a URL, please post it in the comments. I&#8217;ll see to it gets passed on quickly.<br />
<script type="text/javascript"><!--
amazon_ad_tag = "rye-20"; amazon_ad_width = "600"; amazon_ad_height = "520";//--></script><br />
<script type="text/javascript" src="http://www.assoc-amazon.com/s/ads.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryebrye.com/blog/2009/05/21/script-to-automatically-check-for-t-mobile-g1-cupcake-ota-update-url/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
