Tag Archives: tmobile

Pop them Bubbles Live Wallpaper

How to connect to Ad Hoc networks using Tmobile G1 Android

Intro

The G1 does not connect to ad hoc networks through the wifi manager but we can hack it to allow scanning and connecting to ad hocs. I’ve been trying to figure this out for the longest time. Before you begin, you need to root your G1 and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 2 ways to edit the files. Using vi and adb.


Settings

edit tiwlan.ini to read:

WiFiAdHoc = 1
dot11DesiredSSID = HydtechAdhoc (or whatever name u want)
dot11DesiredBSSType = 0

edit wpa_supplicant.conf to read:

ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)

network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}

How to edit using vi:

Download terminal from the market and type:

su (for superuser mode)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system (mount partition as writable)
vi /system/etc/wifi/tiwlan.ini (open tiwlan.ini in vi text editor)

now type A to enter editing mode, finish editing your file and hold trackball+1 to stop editing. To save and exit type :wq

vi /data/misc/wifi/wpa_supplicant.conf (open file for editing)

edit with the settings given above and exit and don’t forget to change the partition back to read only
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system

reboot

How to edit files with adb on Ubuntu:

Connect your g1 to the computer using a usb cable and make sure USB debugging in enabled
Open up terminal and type
cd /home/hydtech/[android sdk folder]/tools (navigate to the directory which has you adb tool)

get the files from the device and place them in the root folder
sudo ./adb pull /system/etc/wifi/tiwlan.ini /
sudo ./adb pull /data/misc/wifi/wpa_supplicant.conf /

edit and save the files with the settings provided above using gedit or kate or what have you

make the partition read writable
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit

place the files back onto the device
sudo ./adb push /tiwlan.ini /system/etc/wifi/tiwlan.ini
sudo ./adb push /wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf

make partition read only again
adb shell
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
exit

reboot device.

Troubleshooting

shows connected but no internet
1. I was having a problem where the connection would keep disconnecting and when it would connect, it wouldn’t load pages. To fix this I had to disable my WEP key.

SSID not showing
2. If the SSID isn’t showing up in the list, make sure you have ap_scan=2 in your wpa_supplicant

Unsuccessful connection
3. Try enabling static IP if DHCP isn’t working for you. It’s under advanced menu.

Sponsored by Chromehost.net

How to get MMS picture messaging working on a T-mobile G1, Android without the data plan

T-mobile reps almost convinced me that there would be no way to get my picture messaging working on my g1 without the data plan. I turned off the data plan as soon as I set it up upon arrival. According the the T-mobile reps, I can’t even place or receive calls without the data plan. (Either they say anything to get you to buy the plan or they’re just dumb useless fellows, the latter being more accurate based on experience.)

So after doing some yahooing and alot of futsin around, I finally managed to get my MMS working by changing the settings. Here’s what to do:

Goto
Menu -> Settings -> Wireless Controls -> Mobile Networks -> Access Point Names -> T-Mobile US

Make sure you go into T-mobile US and not any other setting and change the name like I did, don’t even create a new one. It took me 2 months to figure out what I did wrong.

Change the settings to the following:
Name: T-Mobile US
APN: wap.voicestream.com
proxy: 216.155.165.050
port: 8080
Username: not set (delete everything in this field)
Password: not set (delete all here too)
Server: not set (delete the *)
MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc
MMS Proxy: 216.155.165.050
MMS Port: 8080
MMC: 310
MNC: 260
APN type: not set

Restart your phone. Now your MMS should work. If you have the 5.99 t-zones, I think your internet will work too. (UPDATE- it does work. check here)

[digg=http://digg.com/gadgets/How_To_MMS_picture_messaging_on_Tmobile_G1_without_data_plan]

*Troubleshooting*
1. If you’re having trouble still, go into mobile networks and enable ‘data roaming’ and ‘use only 2G’

2. Make sure your connecting to T-mobile US
-to do this go to the marketplace and download ‘any cut’
-open any cut and click create shortcut
-goto activity and select ‘testing’
-you should have a shortcut on your desktop that says testing, unless your desktop was full.
-click testing -> goto phone info -> this should tell you what connection you are connecting/connected to.
-For some reason if you are not using T-mobile US, change the settings for the appropriate one.
-If phone info shows you are not connected, hit menu and click on more and click enable data.
-now data should be connected.

********
sorry guys, I haven’t been keeping up with this topic. Honestly, I don’t ever receive MMS. And If its that important, you can add on the $25 package once every few days, download all your mms the same day and take it off.
********

G1 mirror screen protector

UPDATE*- These settings work for iPhone on T-mobile, maybe they might work on the Android:

Data:
APN: web.omwtoday.com
(no user name, no password)

MMS:
APN: web.omwtoday.com
(no user name, no password)
MMSC: http://wirelessfour.mmsmvno.com/mms/wapenc
MMS Proxy: 216.155.165.50:8080
Max msg size: 1058576
MMS UA PROF URL: (none)