<?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>Android Q &#187; Register</title>
	<atom:link href="http://androidq.com/tag/register/feed" rel="self" type="application/rss+xml" />
	<link>http://androidq.com</link>
	<description>Rooting and Modding G1 tips</description>
	<lastBuildDate>Sat, 08 Aug 2009 19:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Register G1 without SIM Card or Data Plan</title>
		<link>http://androidq.com/jesusfreke/no-sim-data.html</link>
		<comments>http://androidq.com/jesusfreke/no-sim-data.html#comments</comments>
		<pubDate>Sat, 27 Jun 2009 04:50:46 +0000</pubDate>
		<dc:creator>Android Q</dc:creator>
				<category><![CDATA[JesusFreke]]></category>
		<category><![CDATA[Mods]]></category>
		<category><![CDATA[Card]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[No]]></category>
		<category><![CDATA[Plan]]></category>
		<category><![CDATA[Register]]></category>
		<category><![CDATA[SIM]]></category>

		<guid isPermaLink="false">http://androidq.com/?p=20</guid>
		<description><![CDATA[JesusFreke has found a way to register the G1 in the initial registration screen that comes up the first time you boot the phone (or after you wipe the phone). It will allow you to register if you don&#8217;t have a sim card at all, or if you have a sim card but no data [...]]]></description>
			<content:encoded><![CDATA[<p>JesusFreke has found a way to register the G1 in the initial registration screen that comes up the first time you boot the phone (or after you wipe the phone). It will allow you to register if you don&#8217;t have a sim card at all, or if you have a sim card but no data plan.</p>
<p>Contrary to what almost every T-Mobile representative will tell you, you do not need the data plan for the G1 to function. I do not have a data plan and have a rooted G1 that I use everyday. The only downside is that MMS and IM will not work without a data plan. SMS will still work. IM will still work if you have Wifi. IM only works with a data plan because it needs an internet connection to sign on though the default IM app will count a message as a text.</p>
<p><span id="more-20"></span>First, You must have either RC29 or earlier, or a custom ROM (basically anything with root access). It won&#8217;t work with any official releases (RC30 or later), sorry. If you don&#8217;t know for sure what version you have, but you know you haven&#8217;t installed a modified RC30 build, then the easiest way to check is to reboot the phone, and once it starts up and is showing the &#8220;click the android to begin&#8221; screen, or the &#8220;no sim card&#8221; screen, then type the following on the phone keyboard:</p>
<p><em>&lt;enter&gt;reboot&lt;enter&gt;</em></p>
<p>If it reboots, then you have RC29 or ealier. Otherwise you have RC30.</p>
<p>Second, you must have adb installed on your computer, and have the USB drivers installed, or at least ready to install when it asks for the driver when you connect the G1. See this page for details on how to get adb working: <a href="http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware" target="_blank">http://code.google.com/android/intro&#8230;devicehardware</a></p>
<p>Third, you must have a wifi network that you can connect to.</p>
<p>There are too many possibilities to write specific step-by-step instructions for every case. So I will give an overview of the process instead. If someone else wants to write some specific instructions, that would be welcome <img title="Big Grin" src="http://forum.xda-developers.com/images/smilies/biggrin.gif" border="0" alt="" /></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>&lt;&lt;&lt;NO SIM CARD&gt;&gt;&gt;</strong></p>
<p>When you start up the phone without a sim card, it goes into a locked screen that says &#8220;no sim card found&#8221;, and you can&#8217;t even get into the registration app. So the first step is to get around that screen. You have to connect to your phone with adb shell and get root access, and then type the following command:<br />
<em>sqlite3 /data/data/com.android.providers.settings/databases/settings.db &#8220;INSERT INTO system (name, value) VALUES (&#8217;device_provisioned&#8217;, 1);&#8221;</em></p>
<p>And then reboot the phone. When it starts up again it will go into the registration screen instead of the locked &#8220;no sim card&#8221; screen.</p>
<p>This assumes that you have the sqlite3 binary on your phone. This binary is provided in RC30 v1.2. Alternatively, you could manually copy the binary to your phone with adb push, or put it on the sdcard and copy it to your phone. I can post a copy of just the sqlite3 binary if needed.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>&lt;&lt;&lt;NO DATA PLAN&gt;&gt;&gt;</strong></p>
<p>If you do not have a data plan, follow this portion. It enables Wifi before the registration step begins so you can register over Wifi instead of using a data plan.</p>
<p>The second step is to enable and configure wifi, so that the registration process can connect to the google servers. In an adb shell session, type the following command:</p>
<p><em>am start -a android.intent.action.MAIN -n com.android.settings/.Settings</em></p>
<p>This doesn&#8217;t have to have root access to work. It works fine with the &#8220;shell&#8221; user that adb on non-modded phones runs as. However, it still requires RC29 in order to enable ADB.</p>
<p>That command will bring up the settings page on your phone. From there, you can enable wifi and connect to your wifi network, and then proceed with registration as per normal <img title="Big Grin" src="http://forum.xda-developers.com/images/smilies/biggrin.gif" border="0" alt="" /></p>
<p>&#8212;&#8212;&#8212;&#8212;</p>
<p>A few tips and tricks:</p>
<p>- If you have an official RC29 or lower phone, type the following command on the phone keyboard to enable adb:<br />
<em>&lt;enter&gt;setprop persist.service.adb.enable 1&lt;enter&gt;</em></p>
<p>- If you need to get root access on an official RC29 or lower phone, while it&#8217;s at the registration screen, or the &#8220;no sim card&#8221; screen, enable adb (see first tip), and then type the following command on the phone keyboard:<br />
<em>&lt;enter&gt;telnetd&lt;enter&gt;</em></p>
<p>Now, copy a <a href="http://www.4shared.com/file/73481889/c69c9c57/busybox.html" target="_blank">busybox binary</a> to /data/local/busybox with adb push, and then connect to your phone with adb shell, and give the busybox binary execute permissions (i.e. chmod 755 /data/local/busybox)</p>
<p>busybox has a telnet applet, so you can do:<br />
busybox telnet 127.0.0.1<br />
to get a telnet session with root access.</p>
<p>- If you don&#8217;t want to register the phone at all, you can set the app.setupwizard.disable property to 0 to prevent registration. Once you have an adb shell session open, type the following:</p>
<p><em>setprop app.setupwizard.disable 1</em></p>
<p>and then reboot. once it loads back up, it should bypass the registration screen all-together.</p>
<p>But beware, the phone seems a bit glitchy if you don&#8217;t have it registered. For example, the home button doesn&#8217;t seem to work. And you can&#8217;t access the market or any of the google apps of course.</p>
<p>(Note: the following was the previous way to skip registration. I&#8217;ll keep it here for informational purposes, but its easier to use the app.setupwizard.disable method instead of this)</p>
<p>- If you don&#8217;t want to register the phone at all, you can edit /data/system/packages.xml and disable the registration screen. Add the following to the end of the &lt;package&gt; section for com.android.setupwizard, and then reboot:</p>
<p>&lt;disabled-components&gt;<br />
&lt;item name=&#8221;com.android.setupwizard.SetupWizardActivity&#8221; /&gt;<br />
&lt;/disabled-components&gt;</p>
<p>so the full &lt;package&gt; would look something like below after the modification:</p>
<p>&lt;package name=&#8221;com.android.setupwizard&#8221; codePath=&#8221;/system/app/SetupWizard.apk&#8221; system=&#8221;true&#8221; ts=&#8221;1217592000000&#8243; userId=&#8221;10010&#8243;&gt;<br />
&lt;sigs count=&#8221;1&#8243;&gt;<br />
&lt;cert index=&#8221;0&#8243; /&gt;<br />
&lt;/sigs&gt;<br />
&lt;disabled-components&gt;<br />
&lt;item name=&#8221;com.android.setupwizard.SetupWizardActivity&#8221; /&gt;<br />
&lt;/disabled-components&gt;<br />
&lt;/package&gt;</p>
<p><em>Original Source: <a href="http://forum.xda-developers.com/showthread.php?t=452316" target="_blank">JesusFreke on XDA Developers</a></em></p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://androidq.com/jesusfreke/no-sim-data.html/feed</wfw:commentRss>
		<slash:comments>59</slash:comments>
		</item>
	</channel>
</rss>
