21 Nov 2011
Been playing around with the
APN
settings on my Qualcomm Android dev phone. I wanted to make sure I had the right
MCC
and
MNC, since I knew I had the correct network id.
I threw together a J2ME app,
MotorolaCellInfo.jar,
that detects these values from my SIM card when I use it in my Motorola phone. This uses functionality that is only guaranteed
to work on Motorola devices. For more, please see the source I used:
Getiing Location Information (IMEI,MCC,MNC,LAC,CELLID) without GPS.
If you are the hacker type, check out the NetBeans project+source [
zip].
01 Nov 2011
I finally found the full developer specs on my 8655 MDP
(
BSQUARE)
(
mirror),
along with the USB driver installation instructions (
BSQUARE)
(
mirror).
The USB driver installation instructions that BSQUARE published are rather out-of-date for working with version 15
of the Android SDK. This documents my current driver setup on my 32-bit Windows XP machine.
- Download and Install the Android SDK (v15 at time of writing)
- Start up the SDK Manager GUI (pop open the Tool -> Options menu and select "force https source to be
fetched over http", had some weird errors otherwise) and install: Tools -> Android SDK Tools, Tools ->
Android SDK Platform-tools, Extras -> Google USB Driver package
- After the odiously slow process finishes, copy
[Android SDK Root]\extras\google\usb_driver to
[Android SDK Root]\msm8655-mdp_usb_driver
- Open up the
android_winusb.inf (inside of the newly created directory) file in Notepad or
other non-format appending text editor. Clear out the contents of the [Google.NTx86] and
[Google.NTamd64] paragraphs so that they just contain the following:
[Google.NTx86]
;BSQUARE MDP8655
%SingleAdbInterface% = USB_Install, USB\VID_0956&PID_9025&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_0956&PID_9025&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0956&PID_9025&MI_02
[Google.NTamd64]
;BSQUARE MDP8655
%SingleAdbInterface% = USB_Install, USB\VID_0956&PID_9025&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_0956&PID_9025&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0956&PID_9025&MI_02
- Create and/or open the
C:\Documents and Settings\[your username]\.android\adb_usb.ini
file and make sure it just contains the hex string: 0x0956
- Power on your device and connect it to your development machine. Be sure to point Windows to
your newly created USB driver directory for your MSM8655. If Windows is unable to find the needed driver(s),
point the dirver search to the original USB driver located in
[Android SDK Root]\extras\google\usb_driver.
If Windows still does not find the necessary driver just hit finish and go without. This seemed to be the case when
I rebooted into the bootloader on some occasions.
- Restart the SDK and see if your device is connected -
[Android SDK Root]\platform-tools\adb.exe devices -
should spit out "1234567890ABCDEF device".
- For a working fastboot binary for flashing, one can grab a fresh copy from the android-roms project
[info] or the one I used for
this tutorial from my dropbox [link].
Once you download: unzip and move the .exe to
[Android SDK Root]\platform-tools\.
31 Oct 2011
I have been playing around with my new Android 2.2.1 dev phone, trying to port over the free webaccess I am
able to get on my old Motorola J2ME feature-phones (Razr V3r, V195s).
Interesting that these two devices have slightly different APN settings. Able to mess around with these settings
after using P2KCommander v6 to modify the seem to show the "Web Sessions" menu and allow setting the default session.
On my V195s:
Name: t-zones
Homepage: http://wap.myvoicestream.com
Service Type 1: HTTP
Proxy 1: 216.155.165.050
Port 1: 8080
Domain 1: [empty]
Service Type 2: WAP
Proxy 2: 216.155.165.050
Port 2: 9201
Domain 2: [empty]
DNS 1: 000.000.000.000
DNS 2: 000.000.000.000
Timeout: 5 minutes
CSD No. 1: [empty]
User Name 1: [empty]
Password 1: [empty]
Speed (Bps) 1: 9600
Line Type 1: ISDN
CSD No. 1: [empty]
User Name 2: [empty]
Password 2: [empty]
Speed (Bps) 2: 9600
Line Type 2: ISDN
GPRS APN: wap.voicestream.com
User Name: motV190
Password: motV190
On my Razr V3r everything else is the same except for the username and password:
User Name: motV3
Password: motV3
And from the
automatic MCC and MNC detection app I made:
MCC = 310, MNC = 260
I am able to enter all these values into the APN settings on my smartphone, but last time I tried to connect the
settings were erased. I suppose I will need to do some setprop shenanigans to re-enter the settings once the
T-Mobile tower erases them.