{"id":602,"date":"2010-03-21T00:16:42","date_gmt":"2010-03-21T04:16:42","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=602"},"modified":"2010-12-02T00:28:11","modified_gmt":"2010-12-02T04:28:11","slug":"google-android-dev-phone-1","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2010\/google-android-dev-phone-1\/","title":{"rendered":"Google Android Dev Phone 1"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/03\/android.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-603\" title=\"android\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2010\/03\/android.png\" alt=\"\" width=\"320\" height=\"480\" \/><\/a>I&#8217;m <a href=\"http:\/\/www.theonion.com\/video\/report-most-college-males-admit-to-regularly-getti,14386\/\">stoked<\/a> &#8211; I&#8217;ve got a <a href=\"http:\/\/en.wikipedia.org\/wiki\/HTC_Dream\">G1<\/a>! \u00a0This is actually a <a href=\"http:\/\/developer.android.com\/guide\/developing\/device.html#dev-phone-1\">Google Android Dev Phone 1<\/a> that I purchased second hand from a <a href=\"http:\/\/twitter.com\/njdoyle\/status\/10734638689\">friend<\/a>. \u00a0Back in January 2009 I had a chance to play around with one of these while in California (borrowed from a Googler who got it from work), my impression then was &#8220;ok, neat &#8211; but its basically a computer in your hand&#8221; &#8211; a different reaction than what I had with the iPhone. \u00a0At the time both were at a premium price\u00a0and I had only recently bought my <a href=\"https:\/\/lowtek.ca\/roo\/2009\/nokia-5310-review\/\">Nokia 5310<\/a>. \u00a0Between then and now I bought an iPod Touch that I have enjoyed a lot yet had nearly endless frustration with iTunes.<\/p>\n<p>My G1 is running <a href=\"http:\/\/wiki.cyanogenmod.com\/index.php\/Latest_version\">cyanogenmod<\/a> v4.2.15.1. \u00a0The hardware is very similar to the iPhone\/iPod Touch. \u00a0CPU is 528MHz ARM 11, 192MB RAM, 320 x 480 capacitive touch screen. One bonus feature is that this version of the phone supports AWS\/1700megahertz\/BandIV which is the frequency that <a href=\"http:\/\/www.windmobile.ca\/\">WindMobile<\/a> is using in Canada (<a href=\"http:\/\/en.wikipedia.org\/wiki\/T-mobile#United_States\">T-Mobile<\/a> uses this in the US).<\/p>\n<p>Today my service provider is <a href=\"http:\/\/en.wikipedia.org\/wiki\/Fido_Solutions\">Fido<\/a>. \u00a0I&#8217;m on the $15 plan ($16.95 after taxes), this is sufficient for my phone usage as I&#8217;m a light user. Unfortunately it doesn&#8217;t include call display or voicemail (+$10 option), nor is any data included. \u00a0The phone had been wiped and reset when I got it, and I needed to get past the &#8220;Welcome to T-Mobile G1&#8221; screen. \u00a0Unfortunately the built in menus only provide the option to configure an <a href=\"http:\/\/en.wikipedia.org\/wiki\/Access_Point_Name\">APN<\/a>. \u00a0Not wanting to incur any data charges (last time I did this on my 5310 it was $12 for a few hundred kb!) &#8211; I wanted to figure out how to hack around this.<\/p>\n<p>Not surprisingly I was able to find a <a href=\"http:\/\/techblog.aasisvinayak.com\/register-activate-android-dev-phone-1-over-wifi-link-your-google-account-without-using-a-sim-card\/\">solution online<\/a> that allows you to activate your G1 without using any mobile data. \u00a0I&#8217;m using Ubuntu 9.10 (and the phone is running cyanogenmod) so the directions there were not exactly what I needed, so I&#8217;ll briefly repeat them here with the changes.<\/p>\n<p><strong>1)<\/strong> Grab the <a href=\"http:\/\/developer.android.com\/sdk\/index.html\">Android SDK<\/a>. Install it <a href=\"http:\/\/developer.android.com\/sdk\/installing.html\">following the directions<\/a>, which really boils down to extracting the archive.<\/p>\n<p><strong>2)<\/strong> Now we&#8217;re going to modify \/etc\/udev\/rules.d to give normal users (ie: you) permission on the USB port the phone will use.<br \/>\nCreate the file \/etc\/udev\/rules.d\/50-android.rules with the contents (permissions 644).<\/p>\n<p><code>\ufeff\ufeffSUBSYSTEM==\u201dusb\u201d, SYSFS{idVendor}==\u201d0bb4\u2033, MODE=\u201d0666\u2033<\/code><\/p>\n<p><code> <\/code><\/p>\n<p><code>$sudo restart udev<\/code><\/p>\n<p>You can skip this step if you want to run steps 4 and 5 as root.<\/p>\n<p><strong>3)<\/strong> Connect the phone and your PC using a USB cable. \u00a0The phone does need a SIM card installed. \u00a0Boot the phone.<\/p>\n<p><strong>4) <\/strong>Now we run &lt;install path&gt;\/\ufeff\ufeffandroid-sdk-linux_86\/tools\/adb devices to check if we&#8217;re properly connected to the device<\/p>\n<p>\ufeff<code>$ .\/adb devices<\/code><\/p>\n<p><code><\/p>\n<div id=\"_mcePaste\">List of devices attached<\/div>\n<div id=\"_mcePaste\">HTxxxxxxxxxx device<\/div>\n<p><\/code><br \/>\n(where the x&#8217;s are your actual device number)<\/p>\n<p><strong>5)<\/strong> Now back to the phone, tap on the &#8220;Welcome to T-Mobile G1&#8221; screen to get to the setup page. \u00a0Then issue the following command on your PC from the tools directory:<\/p>\n<p><code>$ .\/adb shell<\/code><\/p>\n<p><code> <\/code><\/p>\n<p><code># am start -a android.intent.action.MAIN -n com.android.settings\/.Settings<\/code><\/p>\n<p>The &#8220;am&#8221; command is actually executing on the phone itself. \u00a0This should start up the configuration dialog that allows you to setup a wireless 802.11b\/g network. \u00a0After this point it should be pretty self explanatory to get yourself setup with the phone.<\/p>\n<p>The screenshot in this post was done <a href=\"http:\/\/www.mobilecrunch.com\/2008\/10\/31\/how-to-capture-the-screen-of-an-android-device\/\">using the Android SDK<\/a> as well.\u00a0\u00a0I&#8217;m sure I&#8217;ll have more to say about Android and this phone soon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m stoked &#8211; I&#8217;ve got a G1! \u00a0This is actually a Google Android Dev Phone 1 that I purchased second hand from a friend. \u00a0Back in January 2009 I had a chance to play around with one of these while in California (borrowed from a Googler who got it from work), my impression then was &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2010\/google-android-dev-phone-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Google Android Dev Phone 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,11,12],"tags":[],"class_list":["post-602","post","type-post","status-publish","format-standard","hentry","category-android","category-gadgets","category-how-to"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":4,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"predecessor-version":[{"id":727,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/602\/revisions\/727"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}