[Q] 3g USB Modems - Transformer TF300T Q&A, Help & Troubleshooting

I have a Huawei E160 USB 3g adapter that I would like to be able to use with my TF300T. It appears to be supported in the kernel as it assigns itself to ttyUSB0 and ttyUSB1 according to dmesg run from a console emulator.
I have also connected to the modem using a serial terminal emulator "Slick USB 2"
On typing "ATI" into the connection I get the following:
Manufacturer: huawei
Model: E160
Revision 11.604.18.00.00
IMEI ***********
+GCAP: +CGSM,+DS,+ES (copied by hand so excuse any minor errors)
It therefore seems that the device is seen as a serial device and can be communicated with but there are no 3g options from the menus of the Asus firmware.
Does anyone know if this functionality can be added on by a third party app, if it needs rooting and an update.zip or if it will require a fresh ROM?

Use UMTS Manager which you can find in the Play Store. To work correctly it will need a rooted device.

hi, i have an huawei e 355 and it work well,soon and with no problem or configuration with mobile wifi app

Related

Minicom and USB to serial adapter

Im looking to test and potentially develop support for usb to serial adapters and for console connectivity with an app similar to or with Minicom. I'm a network administrator and would be able to use my Asus Transformer or other Android tablets with USB connectors to console into the equipment I manage.
Does anyone else have interest in a project like this?
Does anyone else know of a similar project?
Thanks
Sent from my Transformer TF101 using XDA Premium App
I think its a great idea.
Sent from my Transformer TF101 using Tapatalk
^x2
Sent from my SCH-I500 using Tapatalk
I've been searching around and have found that there are Bluetooth serial apadpters with software that should allow for connectivity. Reading reviews I get mixed results.
https://market.android.com/details?id=com.magicandroidapps.bluetoothterm&feature=search_result
http://www.magicandroidapps.com/wiki//index.php?title=Bluetooth_Serial_Adapters
Sent from my Transformer TF101 using XDA Premium App
that would be pretty cool, i am also a network manager and will proably buy also a transformer (just waiting for the new archos to see if they are anything good).
I think the rs323 cable approach would be better as there would be no power drain from the Bluetooth (i know its minumal but...).
I am new to android development (i am going to do my university final thesis based on a android software) but i would like to help
PS - if you connect a usb-rs232 adapter to the transformer and do "dmesg | tail" on a shell does it appear.
Also see if the last answer on this post helps htxxp://stackoverflow.com/questions/4621580/using-serial-port-rs-232-in-android
This is something I would pay a couple of english pounds for from the market.
My USB->Serial port adapter is based around the Prolific PL2303 chip which I think is pretty common, so may be a good place to start.
That would be amazing.
I am a network administrator and would love to see this on my device. Although I have an Acer A500 and not the Asus Transformer.
I plugged in my usb to serial adapter and ran dmesg. Here was the output :
Code:
usb 1-1: pl2303 converter now attached to ttyUSB0
Any idea of what app I could use to connect to that to test it out?
ipigi said:
I plugged in my usb to serial adapter and ran dmesg. Here was the output :
Code:
usb 1-1: pl2303 converter now attached to ttyUSB0
Any idea of what app I could use to connect to that to test it out?
Click to expand...
Click to collapse
If we had full GNU utilities on Android, you could use screen against /dev/ttyUSB0 and that should connect to the serial device.
Unfortunately, I don't know of any direct serial communication applications on Android.
I'm also an IT administration and could use a working rs232 solution for my tablet.
Asus Transformer 3.1 pwnd
www.MiiWiiChat.com
www.SnapSiteAdmins.com
Keyspan usb-serial adapters have drivers available in the kernel. Seems to me easiest thing to do would be to build the required kernel modules, install debian to a parition on the SD card, setup a chroot environment and install minicom/screen/serial terminal of choice. Alternatively instead of debian chroot, you could build a serial terminal client for use in the android linux environment.
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Thanks to celsoffraga and also thor2002ro for the kernel modules, I can confirm that A500 can run a usb/serial (rs232) perfectly fine on the stock 3.1 kernel/rom.
Ingredients: Rooted, A500, kernel modules for your adapter, a terminal emulator, and busybox 1.19 which has a tool called microcom in it.
Install busybox 1.19 through this application (the other busybox installer app on the market installs a slightly different version of 1.19 that does not have microcom):
https://market.android.com/details?i...ybox.installer
Download usb2serial package for your kernel from the first post of (you can check your kernel version from Settings - About Tablet):
http://forum.xda-developers.com/show....php?t=1058713
Extract that usb2serial zip to somewhere in the tablet (I used /mnt/sdcard/modules/). There should be two files, one for Prolific chipset serial converter, pl2303.ko which is the most common one, the other one for the Fidi chipset, ftdi_sio.ko, which is what I had.
Now open your favorite terminal emulator (Both terminal emulator and connectbot works) and load the module you need, or you can load both:
Code:
insmod /mnt/sdcard/modules/ftdi_sio.ko
Now plug your usb/serial converter to the USB port, and type "dmesg" in terminal. You should see something like "FTDI USB Serial Device converter now attached to ttyUSB0" , which means everything is detected fine and attached to the correct device point in linux.
Now comes the serial terminal emulator, which is called "microcom".
In terminal, just type microcom and it should return a short help text. Our device name (TTY) is /dev/ttyUSB0 . So if I want to connect to a rs232 port with 9600 baud rate, the command should be:
Code:
microcom -s 9600 /dev/ttyUSB0
Tadaaa!​
If it means I no longer have to undock and lug my massive work laptop down to the datacentre every time, I'm all for it.
fincan - awesome, can't wait to get my dock to test that out. Thank you.
Very interested in ur app, keep me posted...
Thanks
Sent from my Transformer TF101 using Tapatalk
Tr
fincan said:
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Thanks to celsoffraga and also thor2002ro for the kernel modules, I can confirm that A500 can run a usb/serial (rs232) perfectly fine on the stock 3.1 kernel/rom.
Ingredients: Rooted, A500, kernel modules for your adapter, a terminal emulator, and busybox 1.19 which has a tool called microcom in it.
Install busybox 1.19 through this application (the other busybox installer app on the market installs a slightly different version of 1.19 that does not have microcom):
https://market.android.com/details?i...ybox.installer
Download usb2serial package for your kernel from the first post of (you can check your kernel version from Settings - About Tablet):
http://forum.xda-developers.com/show....php?t=1058713
Extract that usb2serial zip to somewhere in the tablet (I used /mnt/sdcard/modules/). There should be two files, one for Prolific chipset serial converter, pl2303.ko which is the most common one, the other one for the Fidi chipset, ftdi_sio.ko, which is what I had.
Now open your favorite terminal emulator (Both terminal emulator and connectbot works) and load the module you need, or you can load both:
Code:
insmod /mnt/sdcard/modules/ftdi_sio.ko
Now plug your usb/serial converter to the USB port, and type "dmesg" in terminal. You should see something like "FTDI USB Serial Device converter now attached to ttyUSB0" , which means everything is detected fine and attached to the correct device point in linux.
Now comes the serial terminal emulator, which is called "microcom".
In terminal, just type microcom and it should return a short help text. Our device name (TTY) is /dev/ttyUSB0 . So if I want to connect to a rs232 port with 9600 baud rate, the command should be:
Code:
microcom -s 9600 /dev/ttyUSB0
Tadaaa!​
Click to expand...
Click to collapse
Tried on my Trasformer with Revolution 3.5 nd it work great. Now I can control my PLC application from tablet.
Thanks a lot.
fincan said:
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Click to expand...
Click to collapse
Thanks for the tip and the links. I'm now able to connect my old Garmin GPS device to my Asus Transformer and use "pygarmin" Python scripts on SL4A : no need to carry a PC for my next vacations!
I was able to connect to a Oracle / SUN /T5220 server serial management port with the BlueTooth adaptor.
Ebay HC-06-D, Bluetooth to RS232 serial communication converter module, slave mode
DIYGSM Wholesale
I converted it from a DB9 serial to RJ45
DB9 PIN 2 TXD to RJ45 PIN 3 RXD
DB9 PIN 2 RXD to RJ45 PIN 6 TXD
Ground and black wire for the USB to PIN 5 of the RJ45.
USB connector supplies the DC to run the module.
Don't for get to pair the module with your Transformor password 1234.
Running ASUS Transformer TF101 B1 32GB Tablet Honeycomb ver. 3.2.1
Terminal Application SENA BTerm found on the Google market.
Hi
kerenoc01 said:
Thanks for the tip and the links. I'm now able to connect my old Garmin GPS device to my Asus Transformer and use "pygarmin" Python scripts on SL4A : no need to carry a PC for my next vacations!
Click to expand...
Click to collapse
Unfortunately, my video on demand provider (in France) uses an application that checks if the tablet is rooted. I had to unroot to be able to download and watch films and catchup TV.
Is there any hope to control a FTDI interface from user space (libusb, libftdi)?
Or could I install the .ko driver so that is survive the unroot process (using the Universal script)?
Regards
ICS update?
Has anyone got this to work in ICS? If so what kernel module are you using? Tried the one from the A500 link but I get an "Invalid Argument" while running insmod

[Q] 3G for revolver 4.0 RC1

hello,
3G works with you it revolver 4.0 RC1 ?
thank you
3G is not yet implemented on Revolver. Gnufabio said he will work on the TF101G ICS version.... probably for next release.
If you don't want to wait, you can try other ROMs with 3G enabled.
Regards
did 3g dongle work for this
My Device : Asus Tf101 16Gb wifi only.
Android Version : 3.2.1
Kernal V: 2.6.36.3-00001-g9a21fc1
[email protected]#1
Build Number : HTK75.Revolver-3.11.1_epad-8.6.5.21-20111216
aymank36 said:
did 3g dongle work for this
My Device : Asus Tf101 16Gb wifi only.
Android Version : 3.2.1
Kernal V: 2.6.36.3-00001-g9a21fc1
[email protected]#1
Build Number : HTK75.Revolver-3.11.1_epad-8.6.5.21-20111216
Click to expand...
Click to collapse
3G dongle works with the Honeycomb version of Revolver but not with his ICS version I think.
So if your TF101 is under Revolver 3.11.1 it must work.
Regards
please can you help me in this problem
-----------------------------------------------------------------------------------------
My Device : Asus Tf101 16Gb wifi only.
Android Version : 3.2.1
Kernal V: 2.6.36.3-00001-g9a21fc1
[email protected]#1
Build Number : HTK75.Revolver-3.11.1_epad-8.6.5.21-20111216
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
usb modem : vodafone mobile connect
model: k3565
hsdpa usb stick
-----------------------------------------------------------------------------------------
also i have mobile network optian in my setting
now the problem i can't connect usb modem .
i put the modem to my tf101 nothing happen also i go to setting add apn but nothing saved.
another note i connect my tf101 to computer and install the tf101 script nothing happen
the black dos screen show this "adb is not recognized as an internal or external command
operable program or batch file"
also in usb modem i close the port cd drive but before i close the cd drive the usb modem work in my pc and connet to internet after close the cd drive the modem can't connect to the internet
aymank36 said:
please can you help me in this problem
-----------------------------------------------------------------------------------------
My Device : Asus Tf101 16Gb wifi only.
Android Version : 3.2.1
Kernal V: 2.6.36.3-00001-g9a21fc1
[email protected]#1
Build Number : HTK75.Revolver-3.11.1_epad-8.6.5.21-20111216
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
usb modem : vodafone mobile connect
model: k3565
hsdpa usb stick
-----------------------------------------------------------------------------------------
also i have mobile network optian in my setting
now the problem i can't connect usb modem .
1. i put the modem to my tf101 nothing happen also i go to setting add apn but nothing saved.
2. another note i connect my tf101 to computer and install the tf101 script nothing happen
the black dos screen show this "adb is not recognized as an internal or external command
operable program or batch file"
3. also in usb modem i close the port cd drive but before i close the cd drive the usb modem work in my pc and connet to internet after close the cd drive the modem can't connect to the internet
Click to expand...
Click to collapse
1. APN can be displayed/saved only when 3G dongle is recognized and working.
So because it is not loaded, you can see or save APN parameters. So for the moement "it's normal".
2. For the TF101 script, if you have this error message, it's because script can't find the adb.exe file. So you have to verify that adb.exe file is installed iin your PC and is in the same directory as your script (or "that directory where ADB. exe file is," is mentioned in the Windows PATH).
3. It's probably normal if your application verify some infos on dongle's CD drive.
Regards

[Q] [Q / Dev / USB] Unable to claim interface (official ICS)

Hello. That's a vague question :
I have a custom USB device (class 0xff) and I want to communicate with it using my Android phone. I'm on ICS "stock" (original), and official API provides USB functionnalites.
I use a Java and C API to communicate with my device from my computer (libusb), so I though that it could be possible to do the same with my Androphone, and an OTG USB cable.
But my problem : When I plug the device to the Smartphone, it is correctly detected (and powered). Endpoints are correctly listed, and I can retrieve the serial name. But when I call the "claimInterface" function (Android API), it fails. I don't understand why, because the class of my device is unspecified and shouldn't be handled by Android OS or other App.
When I do a diagnostic with the XDA USB Host test software, I get "yes" in line "claimed" (Base API).
I realize that my question is too specific. My hope is to find someone who has already worked on this kind of problem, or who knows the limits of the USB host.
Thanks in advance.
(My phone is not rooted)
EDIT : Rooted. Same problem :/

Unknown Baseband / Lost IMEI, classic problem but frustating

Hi,
I have the X500 16GB model. I cannot use mobile network at all after wrongly flashed 15s firmware directly from a non-stock multilanguage ROM. Here's my take
1. IMEI unknown, Baseband unknown, and I have no backup at all. From what I read, I might lose original NVRAM file/configuration/whatever. There are at times that my SIM card is recognized. However, due to NVRAM problem..my device cannot connect to mobile network at all (no service, manual/automatic network dicovery loops forever)
2. I cannot use ADB on my PC no matter what. There's a very strange problem that my ADB is overridden by Windows USB generic driver. Specifically, this is what happened:
- I have already installed ADB driver.
- Everytime I plugged in my device (USB debugging enabled, charging only) my PC (Windows 7) will recognize it no problem. When I view driver connection with USB deview, there are a pair of value that intrigued me the most. One of the value is ADB driver (pink indicator), with empty serial. The other value is LetvX500 (or other variant, depending on ROM, with green indicator) with available serial number. That made every time I list the device using "adb devices", it will come up empty, blocing any ADB flashing method available (MTK Droid Tools, ADB push, ADB sideload, Fastboot, anything)
- I did almost everything that I could think of to disable the generic USB driver to bring up ADB driver as the only driver recognizing my device (uninstalling driver using USB deview, deleting usbcgpp.sys, blocking USB access, etc), but I could never solved the problem. It's because these two driver apparently go up and down together. Disabling/uninstalling the USB Generic driver always kills ADB driver as well.
3. Locked out of ADB method, the only possible method is to flash fresh ROM to the device. The thing is, it is very hard to find stock rom with scatter file flashable using SP Flash Tool and stock NVRAM. Most of the posted ROM are either flashable using ADB/TWRP method or have no fresh NVRAM data to fix baseband problem (its logical though, because most people most likely want their IMEI intact after SP flashing).
So, I would like know
1. Is there any way to solved the frustrating Windows driver problem and bring up single ADB driver recognition?
2. If no 1 is not possible, does anyone has stock ROM, with scatter file flashable using SP Flash Tool, and containing stock NVRAM?
3. Last question. X 500 has two SIM, and two IMEI. However there's only 1 IMEI information on box/warranty sticker. If I ever get network discovery working, is it possible to use same IMEI in both SIM? would it work?
Thank you very much...
Follow up
I am dealing with same problem and have spent some time trying to resolve it but no approach showed any success.
Can we get a focus group and try to remedy this problem?
One : i faced same ADB driver issue, it occured when i installed PDA apps to sync Phone with PC. I couldnt find any other workaround then installing a fresh version of OS, or a different PC.
Two : http://www.letv.re/topic/725-stock-firmware-8s-14s-of-letv-le1s-x507-sp-flashable-indian-version/
Follow This link for installing stock rom using SP flashtool
Three: Once you have any version of ROM installed. Root & then Install "Tool Hero" App (Google for apk file coz its not available in Play store and many countries). Change your IMEI as per the box and reboot. Secondary slot would Work with any random IMEI number if phone has the primary IMEI properly configured.

[Resolved] OnePlus One + NetHunter - no power on otg AND LKM support issue

Hello everybody! Noobing the shoozle out of my:
OnePlus One, model A0001 / 64GB currently with: Android 6.0.1 / Cyanogen OS version: 13.1.2-ZNH2KAS3P0-bacon / CyanogenMod API level: Elderberry(5) (just FYI, not sure if helpful)
Kernel version: 3.4.112-cyanogenmod-g8fbc62e
Unlocked, rooted with BaconRootToolkit/ TWRP ROM, downloaded latest ver -3.0.2-0 via official App, from Play Store
Kali images from: build.nethunter.com/nightly, as offensive-security's kali-nethunter wiki on github says (no external links for noobs, sorry )
apt-get updated, upgraded and dist-upgraded via KALI terminal
The first issue is with the OTG, not powering the USB WiFi adapter properly... with the regular USB-OTG adapter, lsusb WORKS, and returns proper info about 3 different adapters (Alfa Awus036h, TP-link WN725N and WN722N), BUT does not power them. No indicator lights get lit whatsoever 0mA status from lsusb -v
I bought a powered USB-OTG hub, that appears to not charge my phone, when plugged in two different chargers AND a powerbank. Still lsusb -v returns: 100mA current for the hub.
I tried plugging an A4Tech receiver for kbd+mouse, both work fine, with the tplink WN725N plugged in the second USB socket. lsusb shows the hub, the receiver and the WN725N data... Both regular and hub OTG's work fine with mouse+kbd, read and write data to USB Memsticks. Regular OTG transfers files to a computer and charges the phone.
I noticed that when in Android, the WiFi is turned off, ifconfig omits wlan0 and p2p0, that is the phone's main WiFi adapter.
So I thought that manually loading (insmod) the rtl drivers would start the OTG wlan.... Thus coming to the second issue:
The kernel is without LKM support - no modprobe, lsmod returns:
Code:
libkmod: ERROR: ../libkmod/libkmod-module.c: 1655 kmod_module_new_from_loaded: could not open /proc/modules: no such file or directory
Error: could not get list of modules: No such file or directory
When "apt-get install linux-headers-$(uname -r)" is typed, returns:
Code:
E: Unable to locate package 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by glob 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by regex 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
"apt-cache search linux-headers" returns some options for version linux-headers-4.9.0-kali1-all-armhf (the only armHF, others are armmp)
I cannot find a way to recompile my kernel and enable Loadable Kernel Modules support. Would you say this would be necessary for the external WiFi to work?
Do you know if there is any way out of this mess, as I am really tired fighting a "Our preferred device"-release issues??? Overall I'd love it if I could run external antenna
I am kind of new around.... In forums - in general, so I kindly ask for understanding. If any screenshots/pics/additional info is required - I'll make sure I update this thread. Not sure if I could've posted this thread in XDA assist, so I did it here.
EDIT: everything went fine when I tried third, different USB - WiFi adapter. Works properly. Still no LKMs.

Categories

Resources