I have found a way to connect any modem to the tablet even if the tablet does not recognizes it. Your device must be ROOTED to do so. I am not a developer, i just found out somewhere and modified the instructions to make it easy. I am not responsible to any thing that happens to your device (however this method isn't risky at all).
Just follow the instructions and enjoy. First download the attachment. First you need to move the modem to 'modem only' for this you will need a terminal, you can use Hyper Terminal on windows. Google search for AT commands for your modem to make it modem only mode and how to do that.
Configuration internet 3g inwi sur ipad Android tablet, devices without native 3G rely on a very narrow set of dongles to acquire connectivity. In fact, you would be hard pressed to use the majority of these devices thanks to the fact that they are designed to be used with Windows and Mac OS X computers and not tablets. Installer Modem 3g Inwi Sur Tablette Android. How to Install a Modem on the Sprint Samsung Galaxy S III. How To Conenct 3G Dongle To Android Phone or Tablet| 1000% Working. HOW TO CONNECT YOUR USB INTERNET MODEM TO YOUR ANDROID DEVICE PPP WIDGET 2 DIGI MOBIL NET.
Transferred the modem to the modem-only mode. Then note the vid and pid of your modem. One way to do this is to connect the modem to computer then go to device manager, expand modems, right click your modem propertiesdetails. Next we need ES File Explorer Install it on your tablet.
Open, go to settings - Root rights, and tick all checkboxes. Then go to /system/bin/preinstall.sh on your tablet and add a line to the file using es file explorer echo '19d2 1176' /sys/bus/usb-serial/drivers/option1/newid (see my preinstall.sh in the archive). Here 19d2 is my modem (vodafone K3370-z) vid and 1176 the pid.
Replace the vid and pid with your own. REEBOT YOUR TABLET 4.There is a folder peers in the archive you downloaded. Open conf-chat in the folder with es file explorer and replace your apn here with the apn of your service provider. When the tablet does not recognize the modem it will not generate ttyUSB files which are needed to communicate with the modem. In Step 3 you made the tablet to recognize the modem and it now generates the ttyUSB files. You can check that in Terminal emulator(download from play store) by typing 'dmesg' command(without qoutes). Scroll the output down, you will see the generated ttyUSB ports as given in attached screenshot Pic1.
It also gives the number of ports genetated. If you see these lines you can Connect your modem to Internet. But wait a minute you have additional things to do in order to get connected. Now you need to find which port is pppd port because we need it to insert in the file Conf-pppd in peers folder of the archive you downloaded. (open the conf-pppd using wordpad you would see ttyUSB1 on the top because pppd port of my modem is 1, those modems who has pppd port at 1 would be able to connect without any modifications, if the pppd port of your modem is not 1 you would have to edit it e.g if the pppd port of your modem is 2, the top line in conf-pppd would look like ttyUSB2 and so on) To determine which is pppd port follow the below steps.(see the attached screenshots) Open 2 windows in terminal emulator. (you can copy paste the commands in terminal emulator) (1) In first window type busybox tr -s ' n' /dev/ttyUSBx (pic3) Here x is the same you typed in window 1. You would see OK in WINDOW 1(Not in window 2).
IF YOU DONT SEE ANY OUTPUT IN WINDOW 1(pic4), YOU HAVE TO UNPLUG YOUR MODEM AND PLUG IT AGAIN AND THEN USE NEXT PORT. YOU HAVE TO DO THIS EVERY TIME YOU DONT SEE ANY OUTPUT. IF YOU DO SEE AN OUTPUT PROCEED TO NEXT STEP.(pic 5, 6, and 7) (3) Again type echo -e 'AT+CGDCONT=1, 'IP ', 'www ' r' /dev/ttyUSBx in window 2. (Pic8) Here replace www with your apn You will see the OK again in window 1.(pic9) (4) Again type echo -e 'ATDT.99# r' /dev/ttyUSBx in WINDOW 2(pic10) You will See the output in window 1.
If you see ERROR in window 1, then it is your AT port not PPPD port. Unplug your modem and try next port untill you get CONNECT message in window 1(pic11).
If you get Connect Message the at any port then it is your pppd port. IF you get these messages at port 2, then replace 1 in ttyUSB with 2, ehich then reads ttyUSB2 at the top of conf-pppd file.
Now copy the folder Peers in /etc/ppp/ in your sd card. Install the application GScriptMod.apk lies just in the archive. Open it and add the two scripts in the folder gscript of your sdcard: inet-ON.sh (Which brings up connection) and inet-OFF.sh (which disables the connection) 5. REBOOT TABLET. Insert the modem.
Start the application Gscript and run inet-ON.sh(pic12) If you do everything on the instructions, your modem will connect to the Internet, although you will not see the 3G connection on the tablet.(pic13) Thanks for reading. Select COM port in HyperTerminal and try AT Commands. I know AT commands to disable Emulated CDROM for few modems. Hi Bhaskar1109, thanks for your reply. As you suggested, I have check all installation and I found the mistake, using the adb command I pushed the conf-pppd file but with the conf-chat's file contents. So now 'almost' it works fine. Almost because I have to give manually from adb shell or terninal: echo '1ee8 0014' /sys/bus/usb-serial/drivers/option1/newid in order to create the USBtty and when the connection is on setprop net.dns1 208.67.222.222 to set the dns server, because when I run the inet-ON.sh i get the error: stderr: usage: setprop This time I have checked the preinstall.sh and inet-ON.sh contents and permissions.
Quote: Originally Posted by siraci Hi Bhaskar1109, thanks for your reply. As you suggested, I have check all installation and I found the mistake, using the adb command I pushed the conf-pppd file but with the conf-chat's file contents. So now 'almost' it works fine. Almost because I have to give manually from adb shell or terninal: echo '1ee8 0014' /sys/bus/usb-serial/drivers/option1/newid in order to create the USBtty and when the connection is on setprop net.dns1 208.67.222.222 to set the dns server, because when I run the inet-ON.sh i get the error: stderr: usage: setprop This time I have checked the preinstall.sh and inet-ON.sh contents and permissions.
I have found a way to connect any modem to the tablet even if the tablet does not recognizes it. Your device must be ROOTED to do so.
I am not a developer, i just found out somewhere and modified the instructions to make it easy. I am not responsible to any thing that happens to your device (however this method isn't risky at all). Just follow the instructions and enjoy.
![Inwi Inwi](/uploads/1/2/5/3/125373891/380830070.jpg)
First download the attachment. First you need to move the modem to 'modem only' for this you will need a terminal, you can use Hyper Terminal on windows. Google search for AT commands for your modem to make it modem only mode and how to do that. Transferred the modem to the modem-only mode. Then note the vid and pid of your modem. One way to do this is to connect the modem to computer then go to device manager, expand modems, right click your modem propertiesdetails.
Next we need ES File Explorer Install it on your tablet. Open, go to settings - Root rights, and tick all checkboxes. Then go to /system/bin/preinstall.sh on your tablet and add a line to the file using es file explorer echo '19d2 1176' /sys/bus/usb-serial/drivers/option1/newid (see my preinstall.sh in the archive). Here 19d2 is my modem (vodafone K3370-z) vid and 1176 the pid.
Replace the vid and pid with your own. REEBOT YOUR TABLET 4.There is a folder peers in the archive you downloaded. Open conf-chat in the folder with es file explorer and replace your apn here with the apn of your service provider. When the tablet does not recognize the modem it will not generate ttyUSB files which are needed to communicate with the modem.
In Step 3 you made the tablet to recognize the modem and it now generates the ttyUSB files. You can check that in Terminal emulator(download from play store) by typing 'dmesg' command(without qoutes).
Scroll the output down, you will see the generated ttyUSB ports as given in attached screenshot Pic1. It also gives the number of ports genetated.
If you see these lines you can Connect your modem to Internet. But wait a minute you have additional things to do in order to get connected. Now you need to find which port is pppd port because we need it to insert in the file Conf-pppd in peers folder of the archive you downloaded. (open the conf-pppd using wordpad you would see ttyUSB1 on the top because pppd port of my modem is 1, those modems who has pppd port at 1 would be able to connect without any modifications, if the pppd port of your modem is not 1 you would have to edit it e.g if the pppd port of your modem is 2, the top line in conf-pppd would look like ttyUSB2 and so on) To determine which is pppd port follow the below steps.(see the attached screenshots) Open 2 windows in terminal emulator. (you can copy paste the commands in terminal emulator) (1) In first window type busybox tr -s ' n' /dev/ttyUSBx (pic3) Here x is the same you typed in window 1. You would see OK in WINDOW 1(Not in window 2). IF YOU DONT SEE ANY OUTPUT IN WINDOW 1(pic4), YOU HAVE TO UNPLUG YOUR MODEM AND PLUG IT AGAIN AND THEN USE NEXT PORT.
YOU HAVE TO DO THIS EVERY TIME YOU DONT SEE ANY OUTPUT. IF YOU DO SEE AN OUTPUT PROCEED TO NEXT STEP.(pic 5, 6, and 7) (3) Again type echo -e 'AT+CGDCONT=1, 'IP ', 'www ' r' /dev/ttyUSBx in window 2. (Pic8) Here replace www with your apn You will see the OK again in window 1.(pic9) (4) Again type echo -e 'ATDT.99# r' /dev/ttyUSBx in WINDOW 2(pic10) You will See the output in window 1. If you see ERROR in window 1, then it is your AT port not PPPD port. Unplug your modem and try next port untill you get CONNECT message in window 1(pic11). If you get Connect Message the at any port then it is your pppd port.
IF you get these messages at port 2, then replace 1 in ttyUSB with 2, ehich then reads ttyUSB2 at the top of conf-pppd file. Now copy the folder Peers in /etc/ppp/ in your sd card.
Install the application GScriptMod.apk lies just in the archive. Open it and add the two scripts in the folder gscript of your sdcard: inet-ON.sh (Which brings up connection) and inet-OFF.sh (which disables the connection) 5. REBOOT TABLET. Insert the modem.
Start the application Gscript and run inet-ON.sh(pic12) If you do everything on the instructions, your modem will connect to the Internet, although you will not see the 3G connection on the tablet.(pic13) Thanks for reading. Select COM port in HyperTerminal and try AT Commands. I know AT commands to disable Emulated CDROM for few modems. Hi Bhaskar1109, thanks for your reply. As you suggested, I have check all installation and I found the mistake, using the adb command I pushed the conf-pppd file but with the conf-chat's file contents. So now 'almost' it works fine.
Almost because I have to give manually from adb shell or terninal: echo '1ee8 0014' /sys/bus/usb-serial/drivers/option1/newid in order to create the USBtty and when the connection is on setprop net.dns1 208.67.222.222 to set the dns server, because when I run the inet-ON.sh i get the error: stderr: usage: setprop This time I have checked the preinstall.sh and inet-ON.sh contents and permissions. Quote: Originally Posted by siraci Hi Bhaskar1109, thanks for your reply. As you suggested, I have check all installation and I found the mistake, using the adb command I pushed the conf-pppd file but with the conf-chat's file contents.
So now 'almost' it works fine. Almost because I have to give manually from adb shell or terninal: echo '1ee8 0014' /sys/bus/usb-serial/drivers/option1/newid in order to create the USBtty and when the connection is on setprop net.dns1 208.67.222.222 to set the dns server, because when I run the inet-ON.sh i get the error: stderr: usage: setprop This time I have checked the preinstall.sh and inet-ON.sh contents and permissions.