Android Tablets Forum banner
1 - 20 of 90 Posts

·
Registered
Joined
·
137 Posts
I've ordered Vodafone (Germany) "Websession" USB 3G sticks models K3765-HV and K3565-Z. The price was 10 Euros and 5 Euros respectively (wow, this is cheaper than most WLAN dongles).The -Z model is reported to work with SIM cards from other operators as well, but has no HSUPA capability. The -Z model has a ZTE chipset, the -HV model is from Huawei.I will report on compatibility with the ZT-180 soon.The models that are officially supported by the 0827 firmware are quite outdated and availability seems to be limited to China mostly.Please share your experience with getting 3G sticks to work on Linux and Android on the ZT-180 in particular
 

·
Registered
Joined
·
137 Posts
For the record:th 0827 firmware kernel contains the kernel module "option: v0.7.2:USB Driver for GSM modems" (see dmesg output)Option is a big supplier of chipsets for 3G HSDPA modems, so there's a good chance that a couple of 3G USB sticks are going to work. For example I have an Option GIO225 stick as sold by t-mobile, which I could try with this.
 

·
Registered
Joined
·
36 Posts
[quote name='jazzsaxoli;49875]No it's all o2 - original ...Nice idea ! I it possible to unbrand ? How ? Will it work after this with ZT-180 ?Thanks' date='Oliver[/QUOTE']Not shure that debranding will solve the problem.Debranding is a question of changing the dashboard, not the firmware.I've tried a couple of Huawei modems but nothing.Bah.......................................read you soonremote
 

·
Registered
Joined
·
69 Posts
I have O2 HUAWEI E1750, HSPA USB Stick, but when I connect this modem, I received message "Damaged Udisk". Any help, if any? :]
 

·
Registered
Joined
·
137 Posts
Discussion Starter · #9 ·
A lot of sticks start off in a mass storage device mode (typically emulating a read-only CD drive, some a read only USB flash drive). They need to be switched into modem mode first. There are tools to accomplish that but they do not appear to be installed on the ZT-180 yet.
 

·
Registered
Joined
·
137 Posts
All you ever wanted to know about the K3565-Z Vodafone 3G Stick,manufactured by ZTESearch Results - 3G modem wiki-3.6 MBps downlink, UMTS uplink, Qualcomm chipset.-this stick it has no SimLock-debranding is easy (two different methods work)-optionally holds an 8GB MicroSD card and serves as a USB flash memory stick-one can disable the emulated CD drive (which holds the driver software) permanently using AT commands-above linked web site shows disassembly & interior photographsI received two of these sticks today and I am trying it out on my PC first (Windows & Linux). Then I'll move to the ZT-180 device.
 

·
Registered
Joined
·
137 Posts
Excellent news. I plugged in the K3565-Z stick into my ZT-180 and booted up the device. I get the following output in dmesg.
Code:
usb 1-1: new high speed USB device using imapx200_usbhost20 and address 2usb 1-1: configuration #1 chosen from 1 choiceusb 1-1: GSM modem (1 port) converter now attached to ttyUSB0usb 1-1: GSM modem (1 port) converter now attached to ttyUSB1usb 1-1: GSM modem (1 port) converter now attached to ttyUSB2usb 1-1: GSM modem (1 port) converter now attached to ttyUSB3usb 1-1: GSM modem (1 port) converter now attached to ttyUSB4
Which means there are now 5 additional serial ports available to talk to. Based on what I know from OpenSuSE, the ttyUSB3 port should be the one to establish a pppd connection on. lsmod does not show the usbserial kernel module being loaded, so I suppose it is already built into the kernel.Also the "option: v0.7.2 USB driver for GSM modems" seems to recognize these ports, however I am not sure if this is actually the right driver for the job.
Code:
option: [URL=v.0.7.2:USB]v.0.7.2:USB[/URL] Driver for GSM modemsoption 1-1:1.0: GSM modem (1-port) converter detectedoption 1-1:1.1: GSM modem (1-port) converter detectedoption 1-1:1.2: GSM modem (1-port) converter detectedoption 1-1:1.3: GSM modem (1-port) converter detectedoption 1-1:1.4: GSM modem (1-port) converter detected
So now it's all about creating some scripts to let pppd and chat establish a connection. I'll let you know how that goes.
 

·
Registered
Joined
·
22 Posts
I have a ZTE MF112 on the 3 Network in the UKIm not sure what to do once i put this in to my ZT180, where should i check?I am unable to access internet with this, but this is something i could be doing wrong.Any help would be greatfull. I only bought this pad as i needed to use it with 3g usb on the road.
 

·
Registered
Joined
·
137 Posts
Hello!I've got my first 3G connection working with the ZT-180 using a ZTE modem (Vodafone K3565-Z 3G stick). The stick currently costs 10 Euros in Germany and has no SIM-lock. The stick also holds optional microSD cards which the ZT-180 will mount as /udisk.The good news is that I can even toggle the connection with the "3G EDVO" switch from the Settings application. What remains are some occasional hickups where the connection sometimes refuses to be established (pppd then reports that the connect script failed, I still need to figure out why), but it usually works when retrying.Very important: I had to permanently disable the CD drive feature on this stick from a Windows terminal program first or the ZT-180 will not recognize it. This AT command is specific to ZTE modems.
Code:
AT+ZCDRUN=8
To disable the PIN check on the SIM card use this command where xxxx is your current PIN code.
Code:
AT+CLCK=SC",0,"xxxx"
My modem uses /dev/ttyUSB3 by default, so I had to modify some scripts accordingly. The sample configuration below works with the Vodafone Websessions service in Germany.My contents of /system/etc/ppp/peers/cdma (and cdma_h). Adjust the given user name if needed. Stick to these file names, otherwise Settings.apk won't be able to control the connection.
Code:
file /system/etc/ppp/options-3gconnect '/system/xbin/chat -v -f /system/etc/ppp/chat-3g-connect'disconnect '/system/xbin/chat -v -f /system/etc/ppp/chat-3g-disconnect'user Vodafone
My contents of /system/etc/ppp/options-3g. Not sure if all of these options are actually needed as given.
Code:
/dev/ttyUSB3921600nolockcrtsctsmodempassivenovjdefaultroutenoipdefaultusepeerdnsnoauthhide-passworddebugnodetachipcp-accept-localipcp-accept-remote
My contents of /system/etc/ppp/chat-3g-connect. Modify the APN as needed. This will only work if the PIN check on your device has been disabled, otherwise you need to insert an AT+CPIN="xxxx" command before setting the APN.
Code:
ABORT "BUSY"ABORT "NO CARRIER"ABORT "VOICE"ABORT "NO DIALTONE"ABORT "NO DIAL TONE"ABORT "NO ANSWER"ABORT "DELAYED"ABORT "ERROR"REPORT CONNECTTIMEOUT 10"" ATOK AT+CGDCONT=1,"IP","event.vodafone.de"OK ATDT*99***1#TIMEOUT 20CONNECT ""
My contents of /system/etc/ppp/chat-3g-disconnect
Code:
ABORT "BUSY"  ABORT "ERROR"  ABORT "NO DIALTONE"  SAY "nSending break to the modemn" "" "K""" "K""" "K""" "dd+++ddATH"SAY "nPDP context detachedn"
Contents of /system/etc/ppp/pap-secrets and /system/etc/ppp/chap-secrets files. Username first, followed by *, and password second. Change this as needed. The username needs to match the one given in the "cdma" script I think.
Code:
# client server secret IP addressesVodafone  *  Vodafone
Here is a log of a successful 3G ppp connection (as returned by adb logcat)
Code:
I/pppd    ( 2898): Serial connection established.D/pppd    ( 2898): using channel 1I/ethernet( 2062): Current is not eth0I/pppd    ( 2898): Using interface ppp0I/pppd    ( 2898): Connect: ppp0 <--> /dev/ttyUSB3W/pppd    ( 2898): Warning - secret file /etc/ppp/pap-secrets has world and/or group accessD/pppd    ( 2898): sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc1ca1031> <pcomp> <accomp>]D/pppd    ( 2898): rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x13ec306> <pcomp> <accomp>]D/pppd    ( 2898): sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x13ec306> <pcomp> <accomp>]D/pppd    ( 2898): rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xc1ca1031> <pcomp> <accomp>]D/pppd    ( 2898): rcvd [LCP DiscReq id=0x1 magic=0x13ec306]D/pppd    ( 2898): rcvd [CHAP Challenge id=0x1 <aa2f30ae3c9b89ddc4f12e75f6b6025d>, name = "UMTS_CHAP_SRVR]W/pppd    ( 2898): Warning - secret file /etc/ppp/chap-secrets has world and/or group accessD/pppd    ( 2898): sent [CHAP Response id=0x1 <b128a70cb452f5f1b1c4d2e6428181eb>, name = "Vodafone"]D/pppd    ( 2898): rcvd [CHAP Success id=0x1 ""]I/pppd    ( 2898): CHAP authentication succeededD/pppd    ( 2898): sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]D/pppd    ( 2898): sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]D/pppd    ( 2898): rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]D/pppd    ( 2898): rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]D/pppd    ( 2898): sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]D/pppd    ( 2898): rcvd [IPCP ConfReq id=0x0]D/pppd    ( 2898): sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]D/pppd    ( 2898): rcvd [IPCP ConfNak id=0x2 <addr 10.249.30.43> <ms-dns1 139.7.30.125> <ms-dns3 139.7.30.126>]D/pppd    ( 2898): sent [IPCP ConfReq id=0x3 <addr 10.249.30.43> <ms-dns1 139.7.30.125> <ms-dns3 139.7.30.126>]D/pppd    ( 2898): rcvd [IPCP ConfReq id=0x1]D/pppd    ( 2898): sent [IPCP ConfAck id=0x1]D/pppd    ( 2898): rcvd [IPCP ConfAck id=0x3 <addr 10.249.30.43> <ms-dns1 139.7.30.125> <ms-dns3 139.7.30.126>]W/pppd    ( 2898): Could not determine remote IP address: defaulting to 10.64.64.64I/pppd    ( 2898): local  IP address 10.249.30.43I/pppd    ( 2898): remote IP address 10.64.64.64I/pppd    ( 2898): primary   DNS address 139.7.30.125I/pppd    ( 2898): secondary DNS address 139.7.30.126I/ethernet( 2062): Current is not eth0I/ethernet( 2062): Current is not eth0I/ethernet( 2062): Current is not eth0I/ethernet( 2062): Current is not eth0I/ethernet( 2062): Current is not eth0D/pppd    ( 2898): Script /etc/ppp/ip-up started (pid 2910)D/pppd    ( 2898): Script /etc/ppp/ip-up finished (pid 2910), status = 0x0
What I find problematic is that as soon as the 3G modem is plugged in, the rild ("radio interface layer daemon") crashes periodically. Crash dump omitted due to 10000 character per posting limit in this forum. It totally clobbers the adb logcat output with useless crash dump information.Check out this section from /system/build.prop. It defines /dev/ttyS0 as modem interface for the RIL library!
Code:
rild.libpath=/system/lib/libreference-ril.sorild.libargs=-d /dev/ttyS0
So rild.libargs needs to be changed to -d /dev/ttyUSB1 with my particular modem, so the current signal strength and other parameters can be pulled from the USB modem's diagnostic interface (regardless whether /dev/ttyUSB3 has an active connection or not...)Here is the modified line of /system/build.prop
Code:
rild.libargs=-d /dev/ttyUSB1
I decided to dump the crashing libreference-ril.so by Zenithink and use the one from the Android 2.1 SDK emulator image instead. A quick adb pull from the emulator, followed by an adb push to the ZT-180 did the trick. I've now got signal strength indicator bars for 3G on my home screen!
 

·
Registered
Joined
·
1 Posts
connect usb modem to the device ZT180 - this is a very hot topic. This is interesting for many, because without interfacing with the modem lost all sense of this device. You can make a separate detailed instructions for user&
 

·
Registered
Joined
·
137 Posts
Maybe I'll make another custom ROM with support for this modem. But I might need a week of time for this. Maybe someone else is quicker and creates a script (similar to the RPMscript).Or you could get familiar with adb pull and adb push commands to get files from the device (so you can edit them) and push them back.adb is part of the Android SDK and is found in the tools folder. But use adb remount to make the /system drive writable first. My posting lists exactly which files I modified or created and what needs to be contained in them. It cannot get any more detailed than this. ;-)
 

·
Registered
Joined
·
137 Posts
Discussion Starter · #17 ·
Update:the battery lasts about 4 1/2 hours with the 3G modem attached and an established network connection (screen brightness at about 20%, which is fine for indoor use). With WiFi only I would get somewhat less than 4 hours.
 

·
Registered
Joined
·
137 Posts
1) Connect 3G stick before booting.2) switch ZT-180 on3) verify that there is reception (the radio bar indicator on home screen will indicate that)4) go to Settings screen, enter Wireless menu (first option on top I think)5) check "3G 3VDO" checkbox. Wait a few seconds.6) verify that USB modem LED shows a connection, if not retry 5)7) surf away...If 1) and 2) are swapped, then I don't always see a reception indication on the home screen, but connection still works. Also there is a slight chance the pad crashes when inserting the 3G stick while it is already running.
 

·
Registered
Joined
·
22 Posts
Christian you think you could do a rom for it, i would attempt it but wouldnt even know where to start in you post.I can flash it ok and have but wince 6 on it and back to android. As i said before this is the main reason i bought the pad, for while working in the field.You help is appreciated...!
 
1 - 20 of 90 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top