User Tools

Site Tools


android_phone_notes

This is an old revision of the document!


Android Phone Notes

Reset a Locked Phone

These instructions apply to the situation in which someone has set the lock code and can't remember it. The result is a “wipe data/factory reset”.

  1. Power off phone (hold red button, select power off).
  2. Turn on phone (red button) while holding the Home button. Should see an exclamation point in a triangle and a phone icon.
  3. Open keyboard.
  4. Select ALT+W to wipe the phone.

All user data and installed programs are lost.

See http://phandroid.com/2008/10/25/how-to-reset-your-g1-and-start-from-scratch/ for more information.

Update Android G1 (HTC) Firmware

See http://www.htc.com/www/support/android/adp.html.

  • Update “Device Radio Firmware” first,
  • Then update using “Recovery Image” approach second.

Allow Use without a SIM Card

See http://android-tricks.blogspot.com/2009/01/using-adp1-without-sim-card.html.

This trick is no longer necessary (if it ever was). Instead, just work through the Android menus–there's an option to bypass the telephone configuration.

Configuring the Android Dev Phone to Work with AT&T

Set the APN (Access Point Name) to point to the Cingular service provider. From the Home screen on the Android…

  1. Press the MENU button
  2. Select Settings
  3. Select Wireless Controls
  4. Select Mobile Networks
  5. Select Access Point Names
  6. Press the MENU button
  7. Select New APN
  8. Add this information:
    • Name: AT&T
    • APN: wap.cingular
    • Proxy: <Not Set>
    • Port: <Not Set>
    • Username: wap@cingulargprs.com
    • Password: CINGULAR1
    • Server: <Not Set>
    • MMS Proxy: wireless.cingular.com
    • MMS Port: 80
    • MCC: 310
    • MNC: 410
    • APN type: <Not Set>
  9. Press the MENU button
  10. Select Save
  11. Turn off phone and install SIM card
  12. Turn on phone and enjoy

Thanks, Kip.

Configuring the Android Dev Phone to Work with PAL2.0

NOTE: These instructions are somewhat dated due to upgrades to the Android OS in fall 2009. Specifically, PAL2.0 can now be configured from within the phone UI, obviating the need to copy and paste the wpa_supplicant.conf configuration file.

1. Install the Android SDK. Open a local shell window. Plug in the Android via USB.

2. Start the adb daemon as root…

% adb root

3. Get a copy of the Thawte_Premium_Server_CA.pem file from here (or elsewhere).

4. Save the certificate to a local file, say cert.pem.

5. Copy the certificate to the phone…

% adb push cert.pem /sdcard/certs/Thawte_Premium_Server_CA.pem

6. Get the current wpa_supplicant.conf file from /data/misc/wifi (if it exists)…

% adb pull /data/misc/wifi/wpa_supplicant.conf x.txt

7. Copy the text below into your (scratch) x.txt file. Be sure to edit in your login id and password (sigh).

ctrl_interface=tiwlan0
update_config=1

network={
	ssid="PAL2.0"
	id_str="pal20"
	scan_ssid=1
	proto=WPA RSN
	key_mgmt=WPA-EAP
	pairwise=TKIP
	group=TKIP
	eap=PEAP
	ca_cert="/sdcard/certs/Thawte_Premium_Server_CA.pem"
	identity="***LOGIN***"
	password="***PASSWORD***"
	phase2="auth=MSCHAPV2"
}

8. Copy your modified x.txt file back out to the wpa_supplicant.conf file. (Delete x.txt when you're done, since it contains your password!)

% adb push x.txt /data/misc/wifi/wpa_supplicant.conf

9. Turn off WiFi, and then turn it back on. If that doesn't do it, then reboot the phone…

% adb shell
# reboot

Thanks, Charlie.

android_phone_notes.1273349430.txt.gz · Last modified: 2010/05/08 13:10 by jtkorb