Using a 3G dongle – part 2.

So, I followed this tutorial, but too bad it didn’t work. The mobile networks menu setting still crashes the settings menu. I might need AOKP in order to make it work. Stay tuned.

—————————————————————————————————————

1. you will need a program called “Hercules” to connect to your modem via serial
Download Hercules
you have to check under system/device manager what COM port is your modem connected to. then you choose the one in hercules and send the command:

AT^SETPORT?

if the answer is:

^SETPORT:A1,A2;1,2,3,16,A1,A2

then it’s correct (carefully check all the numbers and their order). if you get some other numbers then you have to send another command:

AT^SETPORT="A1,A2;1,2,3,16,A1,A2"

after you do it you have to disconnect and reconnect your modem again to check if the changes have been applied (ie. send AT^SETPORT? again and see if your modem responds properly. if not, repeat the whole procedure)

2. go into /system/etc/init.d/ and create a file called 11modem . Go to edit the file and it should contain:

#!/system/bin/sh
echo "12d1 1506" > /sys/bus/usb-serial/drivers/option1/new_id

Save it.

3. edit /etc/3g_dongle.cfg . you have add the following lines:

 [E3131]
dongle_name=E3131
production_name=E3131
vendor_name=huawei
network_type=GSM_MODE
pid_vid_origin=0x12d114fe
bcdDevice_origin=0x0
pid_vid_now=0x12d11506
bcdDevice_now=0x0
at_port=1
ppp_port=0

4. if needed, you’ll have to create APN for your provider. I’d advise to do restart after first three steps and create APN after reboot. remember that if your modem is not properly recognized by the system, you won’t be able to activate APNs

Advertisements

2 thoughts on “Using a 3G dongle – part 2.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s