[DEV] USB 3g for a500 wifi only

Search This thread

thor2002ro

Senior Member
Oct 11, 2007
731
519
38
127.0.0.1
www.tegraowners.com
3g kernel module found here http://xdaforums.com/showthread.php?t=1058713

ok i got 3g to work but small problem... internet works in console and in browser... any other app doesnt see the internet... I'm a linux kind of guy so maybe I'm missing something on the android part...

How to:
Code:
disable ZERO_CD on the 3g modem

put the modules from my other post in the root of /sdcard
put chat,ppp-start.sh,ppp-stop.sh in /system/xbin and give them execution permissions
go into /etc/ppp and make a directory "peers" 
put 3g in the peers dir you just created
in console type: 
su <enter>
ppp-start.sh <enter>

and done you should see the ppp0 interface

[B]PS: ttyUSB2 may need to be modified in 3g file depending on your modem...[/B]
 

Attachments

  • 3g-dial.rar
    9.5 KB · Views: 8,315
Last edited:

julz

Senior Member
Mar 17, 2007
519
151
www.julianjwong.com
Hi all, sorry for the noob question but how can I find out what 'ttyUSB2' should be changed to for my USB modem? I've got a Sierra Wireless USB 308 3G modem.

Cheers,

Julian
 

dju

Member
some usefull values working for me in an other linux
SFR with HUAWEI E160E HSPDA Usb Stick

voyage:~# cat /etc/ppp/peers/sfr
# This optionfile was generated by pppconfig 2.3.2.
#
#
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/sfr.chatscript"
debug
#nodetach
/dev/ttyUSB0
#9600
#mtu 1452
defaultroute
noipdefault
# ipcp-accept-local
# ipcp-accept-remote
#user any
#password any
# remotename orange
# ipparam orange
usepeerdns
# novj
# xonxoff
# noccp
# asyncmap 0
# proxyarp

voyage:~# cat /etc/chatscripts/sfr.chatscript
# This chatfile was generated by pppconfig 2.3.2.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIALTONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
OK-AT-OK 'AT+CGDCONT=1,"IP","websfr"'
#OK-AT-OK 'AT+CGEQREQ=3,3,64,384,0,0,2,0,"0E0","0E0",3,0,0'
#OK-AT-OK 'AT+CGATT?'
OK-AT-OK 'ATD*99***1#'
 

chrisvane

Member
Apr 30, 2011
11
0
Anyone know how to disable zero cd on a ZTE MF112 the regular zte AT commands don't seem to work?
 

hhairplane

Senior Member
May 4, 2011
471
93
Does this require Root?

This seems like a function that could require root, also does this work with any carriers or just certain carriers.

Amazing idea and cannot wait to see how it plays out. It would be really cool if eventually an app was made for this, unlocking this feature. Good job.
 

thor2002ro

Senior Member
Oct 11, 2007
731
519
38
127.0.0.1
www.tegraowners.com
This seems like a function that could require root, also does this work with any carriers or just certain carriers.

Amazing idea and cannot wait to see how it plays out. It would be really cool if eventually an app was made for this, unlocking this feature. Good job.

its limited to what the option driver can use(https://github.com/Tiamat-AOSP/Xoom....36-honeycomb-mr1/drivers/usb/serial/option.c) check first couple of lines you will find there devices with device id that works with this driver and also limited to modems with usb-serial interface, carriers dont play any role in this... only modems...
 

kalric

Member
Sep 8, 2010
29
1
Near Peoria, IL
If I'm reading this, the USB 3G dongles will work in the Acer Iconia? Not being extremely tech savvy, I'm not sure if once you're rooted you can install these drivers and use it, or if it's still in development by the XDA Gods.

Could you clarify if this is working?

Thanks
S :D
 

julz

Senior Member
Mar 17, 2007
519
151
www.julianjwong.com

jedi5diah

Senior Member
Aug 4, 2010
283
17
huawei e153 not supported yet... sob... thx for the great work anyway we'll check back often!
 

saisquare

Senior Member
Dec 7, 2008
53
1
Followed the procedure but with no luck.

Just for many information about Huawei E261.
Tried to disbale zerocd but seems that this model is not supported.

If this can be used in A500, i will give up brlnging my laptop to daily business trip....

Kindly advise what can i do....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    3g kernel module found here http://xdaforums.com/showthread.php?t=1058713

    ok i got 3g to work but small problem... internet works in console and in browser... any other app doesnt see the internet... I'm a linux kind of guy so maybe I'm missing something on the android part...

    How to:
    Code:
    disable ZERO_CD on the 3g modem
    
    put the modules from my other post in the root of /sdcard
    put chat,ppp-start.sh,ppp-stop.sh in /system/xbin and give them execution permissions
    go into /etc/ppp and make a directory "peers" 
    put 3g in the peers dir you just created
    in console type: 
    su <enter>
    ppp-start.sh <enter>
    
    and done you should see the ppp0 interface
    
    [B]PS: ttyUSB2 may need to be modified in 3g file depending on your modem...[/B]
    1
    Anyone know how to disable zero cd on a ZTE MF112 the regular zte AT commands don't seem to work?

    zerocd on MF112 is disabled with AT+ZCDRUN=8
    reenable zerocd with AT+ZCDRUN=9
    1
    Disable ZERO_CD on the Huawei 3g modem:

    Connect your USB modem to your PC, find out the COM port used by the modem and then connect via putty to the COM port and send AT^U2DIAG=0

    http://xdaforums.com/showpost.php?p=10617881&postcount=1
    1
    new system update, has no modversions, so modules are invalid

    insmod: init_module '/sdcard/usb_wwan.ko' failed (File exists)
    insmod: init_module '/sdcard/option.ko' failed (File exists)
    Just a quick note, i read in another thread, that the new kernel update, uses a kernel without the the "modversion" added, so thesekernel modules needs to be replaced by new ones.

    "-00001-g9b3ce2b" this is no longer part of the kernel revision.
    1
    Working setup: A500 (wifi) and Huawai 3G modem

    Hi everybody

    I did some experiments to get my A500 running with my Huawei 3G modem. After some pretty short nights, here my conclusions:

    • I only got it working with a custom ROM (I am using HoneyVillain 1.0.5, but others should do as well).
    • I needed to deactivate the cd-rom part of the 3G stick (for Huawei see here: h**p://forum.huawei.com/jive4/thread.jspa?threadID=324405)
    • PIN is disabled (I used a spare phone to do this)
    • the 3G modem seemed to work only after a reboot. After disconnecting the modem, it wouldn't start again.
    • To be able to use the 3G modem after unplugging and reconnecting, I wrote a small application that restarts the "ril-daemon". This could be done in a shell, but it's easier to use if you can do it with a single click.
    • The "restart-3g" application can be found attached to this post. Provided without guarantee. It's not very nice yet, but it works. ;)