[Captivate Android Development] malfuncion:
Other Stuff from Quoted from Cog Thread

GPS Settings:

To get to LbsTestMode: *#*#3214789650#*#* from your dialer

Originally Posted by cnewsgrp 1. Disable “Use Wireless Networks”

1. Navigate to Settings > Location & Security > uncheck the box next to “Use Wireless Networks”

2. Go to the phone and dial *#3214789650#

1. This step throws you into LBSTestMode menu

3. In the LBSTestMode menu change “Operation Mode” to MS Based

4. In the LBSTestMode menu, find “SUPL/CP Settings” and change the SERVER & PORT to supl.google.com and port 7276 (DO NOT use www. in front of supl)

5. REBOOT

6. Enable “Use Wireless Networks”

* Navigate to Settings > Location & Security > check the box next to “Use Wireless Networks”

Update: When using MS based, tracking is terrible, the gps often misses the fact that i have turned and thinks i am continuing forward.

Using standalone is a bit better, but still has times where it misses the fact that i have turned

Should you want to revert back to your original GPS settings, you’ll need to re-enter you factory specs:

Original settings:

Operation Mode: Standalone

SERVER: www.spirent-lcs.com

PORT: 7275
​

MMS Settings:

Name: AT&T

APN: wap.cingular

Proxy: leave blank

Port: leave blank

Username:WAP@CINGULARGPRS.COM

Password:CINGULAR1

Server: leave blank

MMSC: http://mmsc.cingular.com

MMS Proxy: wireless.cingular.com

MMS Port: 80

MCC:310

MNC:410

APN Type: leave blank
​

Email fix if you have that "issue"

APK Download Here

adb pull /system/app/Email.apk

adb pull /system/app/Email.odex

adb push ./Email.apk /sdcard/

adb shell

su (at this point tell superuser to allow permissions if prompted)

rm /system/app/Email.apk

rm /system/app/Email.odex

cp /sdcard/Email.apk /system/app/Email.apk

chown root.root /system/app/Email.apk

chmod 644 /system/app/Email.apk

exit

exit

adb reboot
​

Cisco VPN Issue Fix:

VPN Links:

http://code.google.com/p/get-a-robot...9.apk&can=2&q=

http://code.google.com/p/get-a-robot...un.ko&can=2&q=

Simply follow these steps. ALL CREDIT GOES TO SUKKUBUS06 from another topic here on XDA. I modified a few steps that I think help the clarity of the instructions.

* Download the correct tun.ko for Android 2.2 here (it says Nexus One but works perfect with my Cognition ROM on Captivate): http://code.google.com/p/get-a-robot...un.ko&can=2&q=

Copy the tun.ko file to the ROOT of your internal SD Card.

Un-install any OpenVPN Settings, OpenVPN Installer, or OpenVPNC applications if they are installed. Perform these steps from scratch...TRUST ME.

You must have the Busy Box installer downloaded and install Busy Box. This app is availabe in the app store. use 1.17.

For the next step you must have the android SDK files on your computer. Open a command prompt, change directories to the C:\android-sdk-windows\tools directory then start the code commands.

Code:

adb shell

su(ALLOW ACCESS ON YOUR PHONE WHEN SUPER USER PROMPTS YOU)

mount -o remount,rw /dev/block/stl6 /system

cp /sdcard/tun.ko /system/xbin/

* create symlinks for busybox route and ifconfig (required by openvpn)

Code:

cd /system/xbin

mkdir bb

cd bb

ln -s ../busybox ./ifconfig

ln -s ../busybox ./route

* create directory for openvpn config files

Code:

mkdir /sdcard/openvpn

* create symlink for cp (unix command for copy). otherwise the install-script of the OpenVPNInstaller (see below) will fail!!!

Code:

ln -s /system/xbin/busybox /system/xbin/cp

* download OpenVPNInstaller from Android Market

run and configure OpenVPNInstaller

specify directories: busybox is in /system/xbin, ifconfig and route are in /system/xbin/bb

* copy vpn-config files (config, certs, key) to /sdcard/openvpn (i.e. via adb push or mounting the phone as a mass-storage unit)

* download OpenVPN Settings from Android Market

run and configure OpenVPN Settings

activate "load tun kernel module"

Tun module settings:

- Load module using insmod (instead of modprobe!!)

- Path to tun module: /system/xbin/tun.ko

Path to configurations:

/sdcard/openvpn

Path to openvpn binary

/system/xbin/openvpn

Now install the latest VPNC found here: http://code.google.com/p/get-a-robot...9.apk&can=2&q=

I rebooted my device at this point. I set up my connection in VPNC and it worked perfectly. Oddly enough when performing a lsmod command in the terminal, I see NO tun.ko module running but hey who cares! It works!

GOOD LUCK!
​

How to edit notification bar/battery mods/transparent drawer:

http://xdaforums.com/showthread.php?t=812541