!!! These are old instructions by I have kept them for posterity. !!!
I bought a T-Mobile G1 for testing ConnectBot,
but it requires you to have an activated T-Mobile SIM card with data
service to use it. I tried using two old Pay-As-You-Go cards, but they
had expired. I figured there had to be a way to bypass this silly
registration.
*NOTE: These steps only work on phones that have RC29 and below.
Newer phones are starting to ship with RC30 (or, possibly, newer
revisions). If step 4 doesn't work, you will need to downgrade to RC29
(US) downgrade to RC7 (UK).
I am on a Mac OS X machine, so the steps may vary slightly for other
operating systems. Here are the steps I took:
- Install the Android SDK
- Connect your G1 to your computer via USB.
- Boot up G1 and press the android when prompted to start the setup
wizard.
- Press enter on the keyboard, type the following, and press enter
again: setprop persist.service.adb.enable 1
- If you didn't get a warning from your computer about improper device
removal, you probably mistyped it. Try it again.
- You should be able to verify everything is working by doing adb shell to get a shell on the device.
- Now press enter, type the following on the keyboard, and press enter
again: telnetd
- Using the Android SDK on your computer, type adb forward tcp:2323 tcp:23
- Now open up telnet to localhost 2323: telnet localhost 2323
- Bring up the wireless settings wizard and set up your wireless
network:
- adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings
- Use the back button to exit from Settings and get back to the Setup
Wizard at which point you can register as normal.
- You're done!
I had some instructions on here before that might render your Home and
Back buttons unusable because of some problem with the way Setup Wizard
works. I recommend not using these because the above instructions are
simpler.
Here are the EVEN OLDER instructions in case the above doesn't work:
- Type the following once you're connected to the root shell:
- setprop ro.debuggable 1
- setprop app.setupwizard.disable 1
- In the adb shell you have opened up, use ps to find the PID of
com.android.setupwizard
- ps
- Look at the second column of the line that ends
com.android.setupwizard and use that for the next line where
it says PID:
- kill PID
- You should see the home screen now. You can stop here and start
using the device, but some of the apps will be screwed up until you
actually go through the Setup Wizard.
- Set up your Wi-Fi settings by pressing Menu → Settings → Wireless controls
- In the root telnet session type: reboot
- Once rebooted and at the home screen, a notification (⚠ yield sign) will
appear in the upper-left corner.
- Drag the bar on top of the screen down to see the notification entitled
"Your account must be updated" When you click on that, the Setup Wizard
will run and you can link your phone to your Google account via Wi-Fi!