HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
hosseinb said:
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
Click to expand...
Click to collapse
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
i_guana said:
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
Click to expand...
Click to collapse
'dun' option in APN settings. Pretty much make a new APN and copy everything exact and then add dun to APN type.
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Dr Doppio said:
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Click to expand...
Click to collapse
*#0808# are working with Samsung devices.
Related
This is for all who are not brave enough to root your phone, but want tethered internet from your Android phone to your laptop or desktop.
Android free USB tether.
The following procedure will allow you to access the Internet through one computer using your Android phone. Rooting is not required. Uses Android App "Internet Sharer" by JADS, but you can use any Android Proxy Server, with slight modification.
This is not a Wi-Fi hotspot, and it is not a Bluetooth PAN.
Always make sure you know what your doing, before you do it. I’m not responsible for your internet not working on your computer. I’m also not responsible for your phone bill.
You assume all risk.
I recommend you research “Internet Sharer JADS“, “proxy server”, “port forwarding”, and “Android ADB” before executing the procedure.
Procedure Tested on:
Android: Sprint HTC EVO 2.2 non-rooted
Computer: Windows 7 laptop, Wi-Fi
High level view:
1. Setup proxy server on Android phone
2. Use Android phone USB debuging port and Android SDK on computer, to forward computer’s localhost port 1080 (SOCKS5) and 8080 (HTTP) to Android phone.
3. Setup browser to point to proxy server on Android phone.
Detailed setup:
Install ADB drivers on computer:
1. You need to install the ADB driver for you phone.
- HTC this can be done by downloading the HTC Sync program. You can remove HTC Sync, just don’t remove the “HTC driver Installer”.
- Others follow instruction on Internet.
2. Connect your phone to the USB port on your computer.
Install SDK on computer
1. Download Android SDK from developer.android.com.
2. Unzip the SDK file to the following location: C:\Android\
Android Setup:
1. Set USB debug. Go to Settings -> Applications -> Development ->USB debuging (Make sure this option is checked). This will allow the SDK program ADB to talk to the phone.
2. Download from the Android Market the program “Internet Sharer” by JADS Limited. This is a free program. This program is a HTTP and SOCKS 5 proxy server.
3. Launch the “Internet Sharer” program.
Computer Setup:
My recommendation is to use Firefox as the program you use to access the Internet, as it allows you to setup the proxy and DNS proxy. If you require more than the plain Internet, such as Flash, and other programs that use the Windows connection settings you’ll need to change the proxy on the IE browser. IE does not support HTTPS, using this method.
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Firefox setup:
1. Download and launch Firefox.
2. Under Tools -> Options -> Advanced -> Network -> Settings.
3. Select Manual proxy configuration.
4. All Proxys are blank, except SOCKS Host: is “localhost”, no quotes, Port 1080. Select SOCKS v5.
5. Ok out of the Options window.
6. In the URL text box, type in “about:config”, click the “I’ll be careful, I promise!” button.
7. In the Filter text box, type in “dns”
8. Locate the “network.proxy.socks_remote_dns” option, click it until it’s value is “true”.
9. The procedure is complete.
Internet Explorer 8 (IE):
1. Go to the LAN settings window. Select “Tools” -> “Internet Options” -> “Connections” -> “LAN settings”.
2. Un-check “Automatically detect settings,. You can possibly leave this checked if your unsure of the integrity of this procedure.
3. Check “Proxy Server box”, click on “Advanced” box.
4. Enter HTTP: “localhost”, Port 8080, and Socks: “localhost”, Port 1080.
5. Ok out of the “Internet Options” window.
6. Procedure is complete.
Note: IE does not support HTTPS,using this method, let me know differently.
Test configuration:
1. Make sure the Android “Internet Sharer” application is running.
2. The Proxy server setup is done with the adb forward commands ran.
3. Disable the Internet interfaces on your computer.
4. Access the Internet, via your proxy server enabled browser, or computer program.
5. On the “Internet Sharer” screen you will see text scrolling. If SOCKS server is being used, it’ll pre-pend SOCKS to the IP being pulled. If HTTP server is being used, it’ll pre-pend GET/PUT to the lines.
Hulu:
Requires IE setup, as the Flash proxy is set by the IE proxy settings. You can use Firefox to launch the URL.
HTTPS sites
Works fine on Firefox, using SOCKS 5 proxy. I haven’t had success on IE, but could be possible with PAC???
Common Issues:
Not connected to Internet…
-Make sure that IE has a HTTP proxy setup, port 8080 on the Proxy Server.
-For Firefox, make sure that the DNS Remote setting is TRUE.
Backout:
If for some reason it doesn’t work for you do the following:
1. Remove the proxy settings from Firefox, IE, and any other program you may have set proxy settings on.
2. Remove the proxy server from the Android Phone.
3. The SDK can be removed by deleting the SDK directory.
4. ADB driver can be removed using the standard windows Control Panel Software Uninstaller. Uninstall HTC driver Installer.
Good luck!
romah said:
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Firefox setup:
1. Download and launch Firefox.
2. Under Tools -> Options -> Advanced -> Network -> Settings.
3. Select Manual proxy configuration.
4. All Proxys are blank, except SOCKS Host: is “localhost”, no quotes, Port 1080. Select SOCKS v5.
5. Ok out of the Options window.
6. In the URL text box, type in “about:config”, click the “I’ll be careful, I promise!” button.
7. In the Filter text box, type in “dns”
8. Locate the “network.proxy.socks_remote_dns” option, click it until it’s value is “true”.
9. The procedure is complete.
Click to expand...
Click to collapse
Worked like a charm
Want to add this : Even works to share an already established wifi connection.
During my vacation, my hotel only provides me one free wifi access that I configure on my phone. Using this method allows me to share the free wifi connection with my mac book pro, thanks
Just asking
romah said:
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Click to expand...
Click to collapse
Is this used to forward ports? Can I forward minecraft ports using this? thanks!
Look up the adb forward command if you want specifics, but yes.
That procedure would be too complicated for me. I used to use the easytether app. I always held on to the version that came out just before the one in which they started making people pay for it. I always made sure I kept a backup copy of that app and program at all times. I don't use it anymore because I am another phone now.
Does anyone know if there are any 64 bit Windows 7 drivers available for the modem in the Samsung Focus? It works fine with Win XP and Win & 32 bit OS.
Thanks!
After the drivers fail to install, one of the diagnostic messages in the Action Center gives you a link to download them from Samsung (the filename is 20070813082717640_Samsung_USB_Driver_Installer.exe, but I didn't save the whole URL). Follow this link and download the file (approx. 8 MB), then run it. It'll extract drivers into Program Files (x86)\Samsung\Samsung PC Studio 3\USB Drivers. After that, open device manager and right-click on the error-flagged SGH-i917 device and choose update driver, then manually select that folder (include subfolders). Do the same for each of the other two devices that is detected and fails to install after that.
Edit: Forgot to mention, in that driver install process, there are unsigned driver warnings - you'll have to tell windows that yes, it's OK to proceed and install them.
I have already loaded that software. I dont see the phone in the device manager. All I shoe is Windows Phone USP and when I try to update it says I already have the best driver installed. .....any suggestions?
Just uninstalled everything and reinstalled.....followed your instructions and everything worked fine.....
Thanks bkaul!!
I used these and they worked great!
http://forum.xda-developers.com/showpost.php?p=9148079&postcount=11
couldn't get anything working until i tried adding this to the advanced settings of the modem:
For Motorola and Samsung devices:
AT+CGDCONT=3,"IP","isp.cingular" or "Broadband".
NOTE: This instructs the device to use CID "3", set the protocol as "IP" and use the APN "isp.cingular" or "Broadband".
and a side note, anyone who tether a lot, have you guys have issues with your reception afterwards? Unless San Jose, CA coverage dramatically got worst, i went from 4 bars to 1 in my bedroom, and places i used to get at least 1-2 bars, i get 1 or the dreaded no service "cancel" sign.
I'm thinking my focus got too hot and the antenna is dying but i'm not sure
I am adding to my post above. I used the drivers I linked to above on my netbook and DO NOT have zune installed and they worked fine.
Idiot-proof Focus Tethering for Dummies
Preparing the Samsung Focus to Tether
On the Focus, go to the keypad and dial ##634# and hit call button
Diagnostic Keypad will come up
Dial *#7284# which will bring up the USB Path Control settings…
Chose USB Modem Tethering Call.
Plug USB cable into phone and into your PC.
Computer will install the drivers automatically (NOTE: You must be online to download the drivers)
Initializing External Samsung Modem
Go to Start Menu
Type in Modem
Click on Modems Tab
Select Samsung Mobile Modem
Right click on SAMSUNG Mobile Modem icon and click on Properties
On the General Tab, click "Change Settings"
This will unlock the Advanced Tab where you can input the Extra Initialization Commands
Switch to Advanced Tab
Type in under Extra Initialization Commands: AT+CGDCONT=1,”IP”,”wap.cingular”
Click OK.
Connecting to the Internet
Now under the Start Menu type in: Connect to the Internet
Click on New Connection
Click on Dial Up
Into Dial-Up Phone Number, type: *99***1#
Into User Name, type: [email protected]
Into Password, type: CINGULAR1
Into Connection Name, type: Samsung Focus Tether
Click Connect
NOTE: In the future, the Connect window will start with Windows 7 and all you'll have to do is click Connect and the Phone will do the rest.
phxchristian said:
Idiot-proof Focus Tethering for Dummies
Preparing the Samsung Focus to Tether
On the Focus, go to the keypad and dial ##634# and hit call button
Diagnostic Keypad will come up
Dial *#7284# which will bring up the USB Path Control settings…
Chose USB Modem Tethering Call.
Plug USB cable into phone and into your PC.
Computer will install the drivers automatically (NOTE: You must be online to download the drivers)
Initializing External Samsung Modem
Go to Start Menu
Type in Modem
Click on Modems Tab
Select Samsung Mobile Modem
Right click on SAMSUNG Mobile Modem icon and click on Properties
On the General Tab, click "Change Settings"
This will unlock the Advanced Tab where you can input the Extra Initialization Commands
Switch to Advanced Tab
Type in under Extra Initialization Commands: AT+CGDCONT=1,”IP”,”wap.cingular”
Click OK.
Connecting to the Internet
Now under the Start Menu type in: Connect to the Internet
Click on New Connection
Click on Dial Up
Into Dial-Up Phone Number, type: *99***1#
Into User Name, type: [email protected]
Into Password, type: CINGULAR1
Into Connection Name, type: Samsung Focus Tether
Click Connect
NOTE: In the future, the Connect window will start with Windows 7 and all you'll have to do is click Connect and the Phone will do the rest.
Click to expand...
Click to collapse
Will the above settings works on an unlocked Samsung Focus??
cj.arvind said:
Will the above settings works on an unlocked Samsung Focus??
Click to expand...
Click to collapse
Yes, it will.
I'm using windows7 64bit and IS from Focus
G. Brumm said:
Does anyone know if there are any 64 bit Windows 7 drivers available for the modem in the Samsung Focus? It works fine with Win XP and Win & 32 bit OS.
Thanks!
Click to expand...
Click to collapse
Also i had this problem when i installed mi7 rom of DFT on my windows 7 64 bit. I tried re-install MAGLDR v2.0 but my windows 7 64 bit couldn't install ss focus driver (before i install DFT rainbow rom on windows 7 32 bit). However i found a solution as follow:
- Switch the phone into MAGLDR mode by pressing the power button>, <volume ->, <camera key>
- Connect the phone with PC by USB cab
- Windows 7 64 bit will auto searching and installing ss focus driver (maybe you will have to try several times, driver will be installed successful)
--
machbe1984
machbe1984 said:
Also i had this problem when i installed mi7 rom of DFT on my windows 7 64 bit. I tried re-install MAGLDR v2.0 but my windows 7 64 bit couldn't install ss focus driver (before i install DFT rainbow rom on windows 7 32 bit). However i found a solution as follow:
- Switch the phone into MAGLDR mode by pressing the power button>, <volume ->, <camera key>
- Connect the phone with PC by USB cab
- Windows 7 64 bit will auto searching and installing ss focus driver (maybe you will have to try several times, driver will be installed successful)
--
machbe1984
Click to expand...
Click to collapse
oh friend from wpv thanks
Hello,
(First sorry for my very bad english. It's not my natural language but I do my best for sharing with you!)
04/13 - UPDATE: Now 3G works for ICS with some ROMs like Megatron.
Revolver will be based on TF101G ICS ROM soon.
09/17 - UPDATE:Roach2010 and gnufabio have developped an apk that enable Mobile Network settings (for 3G dongle).
Their APK change the bootloader. (Read more and download)
So maybe this thread has no purpose except for issues and for the list of compatible dongles. If you have a dongle which work and which is not in the list.....
11/08 - UPDATE: 3G dongle works too with Extension-Kit/TFUSB1 Asus P/N 90-XB2UOKEX00020
You can find it here: http://shop.asus.fr/shop/fr/fr-FR/Home/1-Produits/1500-Collection-ASUS/1936-Accessoires-Eee-Pad/1937-Accessoires-Transformer-Prime-TF201/90-XB2UOKEX00070-Adaptateur-USB-externe-pour-ASUS-Eee-Pad.aspx (Thanks to ValenteL for information)
************************************************************
Bellow you can find the first post
Thank you,
Regards.
FIRST POST:
There is probably other ways to make the 3G Dongle working on TF101 but here you can find how we have done.
The follow lines work to have Prime v1.5 installed on your Transformer (works with any version!)
Then you could upgrade to Revolver 2.1.
Otherwise you can directly nvflash your TF101 with the Revolver 2.5 NVFlashed version of cuckoopt.
You just have to follow instructions on this post.
Don't forget to thank him if it works for you
Note: SetCpu doesn't seem to work. I don't know if the issue is coming from Revolver or HC. By re-installing SetCpu, it works one time then crashes.
A. Prime V1.5 Installation:
1. You have to backup all your data/apk from your Internal SD Card because we will make a clean install. So use your backup software.
Becareful. if you project to use Titanium Backup, his backup files are on the internal SD Card so afterwards, you have to move it to your MicroSD (from /mnt/sdcard/Titatium Backup to /data/Removable/MicroSD)
2. Download NVFlash: http://www.filefactory.com/file/ccda97c/n/nvflash.zip then the NVFlash version of Prime v1.5: http://www.sdx-downloads.com/devs/roach2010/flash_roms/prime_v1.5_nvflash.tar.bz2
Updated note: I am not able to activate the Mobile Network option with version 1.6 (even Zip version for ClockWorkMod nor NVFlash version).
But some people have succesfully activated it by flashing NetFinder 1.5 just after the fresh Install of Prime v1.6 and before rebooting the system ; it means in the same CWM
3. unpack NVFlash and Prime v1.5 in the same directory. The image files of Prime v1.5 should be unpacked into the NVFLashTF folder.
4. Connect your TF101 to your PC via USB. Then hold the volume UP and Power button until a NEW device named "APX" appears in the Device Manager. Note that the screen of the Transformer stays black.
5. Click on the APX to install drivers from directory USBPCDriver (included in NVFlash.zip)
info: I used Windows XP 32 bits.
6. Then run Download.bat if you are on Windows, download.sh for Linux users
7. When NVFlash is ended, reboot your TF101.
During boot, there is a setup wizard. Choose connection with "3G and Wifi", not "only Wifi"!!
At this step, you must have the Mobile Network option in Parameters.
8. Download Maxh2003 Script: http://android.modaco.com/index.php?act=attach&type=post&id=73836 (you need to be a register user on Modaco You could find another link some posts after!)
Download the Patch files for ACER A500 tab: http://forum.xda-developers.com/attachment.php?attachmentid=638588&d=1309189189
9. Unzip the script and the Patch file in the same directory.
If you want to upgrade to Revolver 2.1 version (HoneyComb 3.2), you must stop here and go to step B (chapter B).
Otherwise continue chapter A.
10. Connect your TF101 and run install-TF101.bat
11. Mobile Network option is here.
B. REVOLVER 2.1 Installation
1. Do a fresh install of Prime v1.5 NVFlsh version.
If it's not the case go back to the begin of this post and execute steps A.1 to A.9. then go back to B.2
2. Download this file
3. If you read this, Prime v1.5 NVFlash version is installed and you are in CWM Recovery screen.
Install the Recovery 2.1 version (Full). DON'T WIPE DATA
4. At the end, just reboot your system and verify that Mobile Network option is still here.
5. Then we have to install drivers for your dongle (see the list below for compatible dongles).
Let your TF101 on, connect it to your PC via USB cable and run install-TF101.bat via cmd.exe from Windows (tested under Windows XP x86 and Windows 7 x64)
C. List of COMPATIBLE DONGLES
Note: if your dongle is not in this list, but works with TF101, please tell me. It will be added to the list.
* ZTE MF 639 (might need roaming enabled to get data working)
* Alcatel X225L (thx to urko95)
* Vodafone K3765-H
* Vodafone K3715
* Vodafone K3565 / Huawei E160
* Huawei E156G (thx to sh337 for testing)
* Huawei E160G (thx to htc-hd2. His post)
* Huawei E161 (thx to zumbik. His post)
* Huawei E169
* Huawai E170
* Huawai E171
* Huawei E173 (ATTENTION: E173 EVO version NOT COMPATIBLE - thx to sronweb for his tests - Read more)
* Huawei E180 (thx to ValenteL. His post)
* Huawei E220 (thx to eyz. Connexion seems to be not stable. Read more)
* Huawei E270 (thx to eyz. His post)
* Huawei E1550
* Huawei E1552
* Huawei E1692
* Huawei E1750
* Huawei E1752
* Huawei E1762 (thx to bennyyen. His post)
* Huawei E1820
* Huawei E1823 (Thx to bswpt. His post)
* Huawei E2010 (Thx to madangryscientis. His post)
* HUAWEI K3520
* HUAWEI K3565 -Rev 2
Click to expand...
Click to collapse
D. About LED on HUAWEI 3G Dongle:[/B]
The LED indicator displays the current connection status of your Orange E1752 dongle, with each colour representing a different status:
When the LED displays green and is blinking twice every three seconds, this means that the dongle is powered on.
When the LED displays green and is blinking once every three seconds, this means that the dongle is attempting to register onto a 2G network.
When the LED displays blue and is blinking once every three seconds, this means that the dongle is attempting to register onto a 3G network.
When the LED displays solid green, this means that the dongle is connected onto a 2G network.
When the LED displays solid blue, this means that the dongle is connected onto a 3G network.
When the LED displays solid cyan, this means that the dongle is connected onto a 3G+ network
When the LED displays no colour, this means that the dongle is removed.
Click to expand...
Click to collapse
And dont forget to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco who wrote these lines):
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Click to expand...
Click to collapse
Remerciements/Thanks to AndroidRoot.mobi for NVFlash, Paul for Prime!, Maxh2003 for his script and help, Matchstick for his help, Dexter_nlb for his A500 patch and, of course, all our developers and users who help us.
Not sure why I've flashed several roms in APX from w7 64 bit just fine.
It seems that these drivers don't work for win7 64 and works for Vista 64.
Perhaps they are unsigned.... didn't know. I don't make more tests.
Regards.
Looking good. Now to get a 3G plan and dongle...
Anyone get this working?
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
nsec said:
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
Click to expand...
Click to collapse
Here the file.
Regards
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
dan-htc-touch said:
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
Click to expand...
Click to collapse
Hello it's not a theoretical WIP.
Look here
Can you give more details please?
Regards,
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
dan-htc-touch said:
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
Click to expand...
Click to collapse
Probably. is you 3G Dongle in the "compatibility list".
If yes, you have to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco):
Code:
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatha...y/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Regards
brensim said:
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
Click to expand...
Click to collapse
What kind of OTG adapter are you using for this?
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
acid12 said:
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
Click to expand...
Click to collapse
Is this similar to the huawei E367 ? As I'm looking at the E367 at the moment.
One easy(ish) way to check is to follow Steps 1-8 from post 12, then enter the command "AT^GETPORTMODE" (without the quotes)
If you get a response like
"^getportmode:type:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3,CDROM:4"
then the E173u2 is using the new interface like the E367 and at the moment I can't get it to work.
It may be that the drivers aren't compatible (I'm not seeing ttyUSB0-ttyUSB2 devices appearing in /dev/) or it may just be that I haven't got the correct interfaces enabled.
There's information on the AT commands for the new-style Huawei modems here
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=618504
Matchstick said:
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
Click to expand...
Click to collapse
So i think that it is not only root needed but also something that in PRIME is present and that we can not add to stock rom.....
thanks
chrispazz said:
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
Click to expand...
Click to collapse
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Kasimodo said:
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Click to expand...
Click to collapse
Ok. I have to wait for my docking to come back from ASUS (RMA) and then I will try.
TY
def:"Reverse tethering" : sharing your PC's internet connection with your Android phone.
This is suppose to work with any rooted Android device with the latest of Busybox. I own an Atrix and I use Ubuntu, and it works. If you own X and use Y, I don't care . It is also suppose to work with any USB tether-able Android device (like in proper, not the kind where you need to download an app for your PC to set up a SOCKS proxy of some kind).
I also use the Gingerbread ROM leaked for AT&T. This was done on Ubuntu 11.04 Natty, but the principles stay the same.
Let's get on with, shall we:
INSTRUCTIONS
Install Firestarter and DHCP server
sudo apt-get install firestarter dhcp3-server
Connect to the internet
Like you normally would. If you connected via WiFi, your connected device would probably be wlan0, if via ethernet - eth0, if via dialup - ppp0. If you are unsure, click on the Network Manager icon and click on Connection information. Otherwise, run ifconfig to see which device has got what IP address (to give you a hint as to what network device your PC is using).
Start USB tethering on your Atrix
Plug in the USB cable in your Atrix.
Under Settings -> Wireless -> Tethering & Mobile Hotspot -> USB Tethering checked.
Your Network Manager will try to get an IP address (and will probably succeed). Click on the Network Manager icon (probably the icon has changed to an ethernet port to signify that you are connected via USB) and click on "Edit Connections".
Under the "Wired" tab double-click on USB0 to edit it
Under the "IPV4" settings click on the "Routes" button
Check the "Use this connection only for resources on its network"
OK, Save
You'll see the Network Manager icon will change back to its previous icon.
Configure Firestarter
Run firestarter
If it is your first time to start firestarter, it will prompt you with the First Run Wizard. Otherwise, click on Firewall -> Run Wizard
Click Forward to get past the intro screen.
In the drop down box, select the device you are connected to the internet with.
Click forward
Check the "Enable internet sharing" option
On the checkbox, select the "Unknown Device (usb0)" as your Local Area Network device
Check the "Enable DHCP for local network" option
On the DHCP server details, select the "Create new DHCP configuration:" option
Click forward
Uncheck the "Start Firewall now"
Click save.
Great, so Firestarter is set up. But, it saves the dhcpd.conf file (Natty specific? I don't know) in the wrong directory (/etc/dhcpd.conf instead of /etc/dhcp/dchpd.conf).
sudo mv /etc/dhcpd.conf /etc/dhcp/dhcpd.conf
Start the Firestarter firewall (in Firestarter, press CTRL-S)
Configure the Atrix
2 Options:
1) While the device is connected via USB (and Applications -> Development -> USB debugging is enabled)
sudo adb shell
su bash
netcfg usb1 dhcp
2) Run in your terminal on your phone:
su bash
netcfg usb1 dhcp
If nothing failed, then everything worked. The principle is this : IP Chains between USB0 and <internet connecting device> (set up by Firestarter) with DHCP server running. This may not be the most über geek way of doing things but is sure point-and-clicky-easy-ish.
Et voilà, sweet reverse tethered nettubes...
No Enable DHCP checkbox
while i try everything .... i m stuck at the part where the 'Enable DHCP for local network' checkbox is inactive due to 'Chromium cannot be run as root'....
i dont know why this error kindly help me with this....
How is Chromium even related to DHCP and/or firewall settings?
failed
Code:
action 'dhcp' failed (Bad file number)
I'm using LightJB 1.2 Rom with CoCore-CWM 6.2
Unfortunately my Network Manager hasn't succeed when I turned USB Tethering checked on Android since I've upgrade ubuntu from 14.04 to 16.04.
http://forum.xda-developers.com/showthread.php?t=1162091
Thought I would share
oh and the latest qpst
Did you actually test this? I've tried it on two separate occasions (I found that thread a month or so ago) with no success. I tried multiple combinations of UART/USB settings, and plugging the USB cable in before and after starting QPST, as well as turning debugging on and off. Specifically, I followed Leviuqse's instructions (omitting steps I have previously performed, such as installing the drivers):
Install QPST 2.7 Build 323. (I used this version, and have successfully used it with a TW ROM to change PRL)
Install the Samsung Galaxy S Drivers
Uncheck USB debugging
Dial ##8778# to open the “PhoneUtil” hidden menu (*#*#8778#*#* to open SprintMenu.apk)
Change both UART and USB menus to "MODEM" and press [Home] key
Connect your phone to your computer with the usb cable, select “charging” if the select USB mode menu opens
Your computer will automatically install the modem drivers for your Epic. Wait until you see “Device is ready for use”
Open QPST Configurations in Windows: Start > All Programs > QPST > QPST Configuration
Click on the “Ports” tab and “Add a new port”
Select the “COMXX – USB\QC Diagnostic” and click ok, in my case the port number was 10, your port number will be different, if you see more than one, disconnect all your external devices such as external HDDs, phones, Bluetooth dongles, ect. If you don’t see a port. Disconnect your phone, restart your computer, connect your phone and try again, you might want to remember your Epic’s port number for future use
If you successfully got this working while running CM7, please tell me how you did so!
Debugging on or off?
Plug in USB cable before or after starting QPST?
What UART & USB settings? Both "modem"?
Anything else I'm missing?
Thanks!
Doesn't work for me either.
Only method that works is going back to a TW ROM. Not that its a big deal since you only need to flash to 11115 once.
All my E4G's are already on 11115, so I haven't tried this. But this might help
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
(instead of "echo 1 > /dev/qct_diag_enable" which is for HTC phones).
lost_ said:
All my E4G's are already on 11115, so I haven't tried this. But this might help
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
(instead of "echo 1 > /dev/qct_diag_enable" which is for HTC phones).
Click to expand...
Click to collapse
So on my phone (CM7 Nightly 24) i dont have a diag directory under usb_composite so the command errors out. The only folders i have are acm, adb, mtp, rndis, and usb_mass_storage. attempting to create the diag folder fails.