yashsingh1/xdaforums huggingface dataset:
[Android Software Development] schneeblau:
Hello,

I us an Galaxy S3.

I followed the manual, my device has the original OS, I rooted it and I installed SuperUser.

I start the programm an can choose 2 devices. One device and one emulator (I think its BlueStacks).

I select my DNS an try to connect but only this happens:

06-19 23:28:46:678 W/I Tool version : 3.3
06-19 23:28:51:015 W/I package : /data/app/service.tracetool-1.apk
06-19 23:29:02:039 W/I Installing new package (this can take up to 10s)
06-19 23:29:07:654 W/I Ok
06-19 23:29:11:029 W/I package : /data/app/service.tracetool-1.apk
06-19 23:29:11:497 W/I adb.exe -s 4df1xxxxxxxxxx shell am start -a android.intent.action.MAIN -n service.tracetool/service.tracetool.MainServiceActivityTab
06-19 23:29:12:658 W/I Starting: Intent { act=android.intent.action.MAIN cmp=service.tracetool/.MainServiceActivityTab }
06-19 23:29:12:658 W/I Warning: Activity not started, its current task has been brought to the front
06-19 23:29:12:687 W/I ==> Start android service
06-19 23:29:13:835 W/I Wait service. If nothing happens now, close the program and retry
06-19 23:29:13:938 W/I waiting android server connection ... 1
06-19 23:29:14:952 W/I waiting android server connection ... 2
06-19 23:29:15:966 W/I waiting android server connection ... 3
06-19 23:29:16:980 W/I waiting android server connection ... 4
06-19 23:29:17:994 W/I waiting android server connection ... 5
06-19 23:29:19:008 W/I waiting android server connection ... 6
06-19 23:29:20:022 W/I waiting android server connection ... 7
06-19 23:29:21:036 W/I waiting android server connection ... 8
06-19 23:29:22:050 W/I waiting android server connection ... 9
06-19 23:29:23:991 W/E error: more than one device and emulator

Server List

DNS List
141.xyz (ok)[default]
141.abc (ok)

How can I solv this?
[Android Software Development] msfguard:
just right click the notification icon for blue hit exit and connect you can restart blue after
[Android Software Development] Monsterkater:
I can't connect if I use the proxy via FreeCap, I always get the following error message in the log:

06-20 15:18:16:233 W/E ApplicationEvents Exception
06-20 15:18:16:233 W/E The requested IPVersion / Address family is not supported.
[Android Software Development] edgd1er:
V

Hi,

I got the same error with widecap. Widecap worked last Monday, but not anymore.... I don t know what has changed. Though I have no problem with proxifier. (ipv6 is disabled at work, I m not sure this the reason freecap/widecap doesn't work anymore.)

Win7/64b McAfee firewall + av

Envoyé depuis mon GT-I9100G avec Tapatalk
[Android Software Development] Monsterkater:
Could you please explain the configuration of Proxifier to me?
[Android Software Development] edgd1er:
Hi,

Sure no pb.

1) add a proxy: ( mine is https type: address proxy.mycompany.com port 3128 )

2) add a rule, to tell proxifier what to do with requests: direct connection or through proxy

Give a name to the rule, I have selected explicitly androidtool.exe and adb.exe in application.

Action is "proxy myproxy"

Don't forget to activate the rule.. :)

I have a second rule for localhost to allow direct connect.

3) test all your connected software to check if you have not created a loop connection ( mail, web browser, file sharing, network printers, ssh, ....)

PS: my proxy is a https proxy so I didn't have to pay attention to http/https proxy:

Hope it helps. I've done all this from memory. I'll be able to confirm all this by monday.

Have fun with your proxy :)
[Android Software Development] wulfz:
everything done as above but still no connection , usb tunnel keeps on installin/uninstallin and the program on widows freezes

help me out
[Android Software Development] edgd1er:
Hi,

hard to tell what is wrong !

Maybe you could post a log to see what is going on ?
[Android Software Development] capslock66:
I will try to fix the problem on next version (3.7)

Multiple terminals or emulators is not supported

You have a problem (perhaps Bluestacks) that run an emulator

Can you try this : go to tools tab and click "kill adb", then restart the tool

Do you still have 2 terminals ?
[Android Software Development] capslock66:
If this was working one day, that should still work.

Reboot both the pc and the phone, reconnect the usb cable and try again

Send the first log
[Android Software Development] capslock66:
I finally fixed this "stupid" problem.

This can be done on any version (3.3 to 3.6).

Just edit the GlobalScriptStart.txt (make a backup before)

At the end of the files, you will see theses 2 lines :

$iptables -t nat -A TETHER -o $myInterface -p udp --dport 1:41999 -j REDIRECT --to 42001

$iptables -t nat -A TETHER -o $myInterface -p udp --dport 42500:65535 -j REDIRECT --to 42001

Replace theses 2 lines with this one

$iptables -t nat -A TETHER -o $myInterface -p udp --dport 53 -j REDIRECT --to 42001

So only the UDP port 53 (Domain name server) is redirected to reverse tethering, not all ports (1 to 41999 and 42500 to 65535)

Hangout use a specific TCP and/or UDP port for transfering video. With the old script, the UDP port was reported as DNS.

Of course this don't work and return bad information back to hangouts.

After some times Hangout give up with too much errors.

But if this UDP port is not forwared to reverse tethering, I will just use TCP !

I tested 30 minutes without any problem and is now at least twice faster !

The script will be fixed in version 3.7 (in a few days).

Anyone can test others chatting apps (spyke,...) and report if this work ?
[Android Software Development] edgd1er:
Ok, third time I restart my answer due to browser crash :silly:. Sorry, my answer will be short.

AFAIK, localhost needs to connect directly.( no proxy)

According to your logs, your proxy is just a plain http proxy (it allows connection on port 80 and 443, and refuse connection on arbitrary ports, ie no ssl connect)

You could check your proxy "type" with proxy checker: http://proxifier.com/documentation/v3/checker.htm

When you define a proxy in your browser all requests are redirected to ports 80 and 443, that's why you are able to surf. All other apps won't send requests on these ports but to arbitrary ports..... I see no solution if you proxy is confirmed to be a plain http proxy..

Just my thoughts, if anyone can confirm .....
[Android Software Development] capslock66:
New version posted : Version 3.7

Fixed some bugs.

Fixed connection to device if an emulator is started by another program.

Fixed google Hanghout.

Fixed internal log, so that I can better understand problems.

Little bit faster.
[Android Software Development] leandronb:
since today my play store is not working. installed connectivity hack and worked fine to download apps from play store, but today even the start page is not opening. but browsing is fine. youtube and email is not working too. is there some way to make a clean istall?
[Android Software Development] capslock66:
Clean install is not necessary. Just reboot the phone to clean memory.

Send the log if that don't work
[Android Software Development] atif4ever:
Hi Capslock..

everything is fine here thanks..

but 1 thing i noticed today only..

the OGYoutube downloader is not working...

i can see the videos but when i try to download phone says check ur internet connection..:(

any help??
[Android Software Development] capslock66:
Did you installed and activate the wifi hack ?
[Android Software Development] nathan2225:
Problems with google translator

Hi, i tested the app (v3.7) on S3 4.2.2 and it really works fine, also installed the wifi hack.

Allmost all works fine, i just tried to download offline packages for google translate and it did not work.

Gave me: Starting download

and after about 10secs i got:

Error downloading E403

Afaik this means request was ok, but server refused

Any ideas ?

Log:

06-27 17:48:30.11 A/D checkFileUriDestination : check startsWith - /storage/emulated/0

06-27 17:48:30.11 A/D checkFileUriDestination : valid path

06-27 17:48:30.36 A/I Initiating request for download id = 86 with mAllowedNetworkTypes = 2 forP2Pbit = 8194

06-27 17:48:30.36 A/D GO TO PROXY

06-27 17:48:30.57 A/W Aborting request for download 86: http error 403, mContinuingDownload: false FinalStatus = 403

06-27 17:48:30.57 A/V MIME Type = null

Server List

domain (53) : A->H : 3500 ,H->A : 1979

https (443) : A->H : 5612 ,H->A : 13756

http (80) : A->H : 2403 ,H->A : 23271

DNS List

165.195.30.99

10.216.2.51

10.192.2.45

8.8.8.8
[Android Software Development] atif4ever:
wifi hack??

i just installed the hack connectivity after that i can download from the market..

is this same or other thing??

EDIT: it worked on 3.7.....thanks...
[Android Software Development] capslock66:
No, it's same.
[Android Software Development] capslock66:
Dns is empty !

Look like your pc is not connected to internet

Can you access to internet from your pc while your gsm is connected ?
[Android Software Development] A_U:
yup net on pc is working perfectly while the program is running..
[Android Software Development] lousou76:
Ok guys I really see all that stuff and wonder why they re necessary.

Looking a bit around I found another thread which this has been discussed and tried it on my Galaxy S2 Plus.

It worked fine with all apps working and with NO SOFTWARE INSTALLED.

The thread is Reverse usb tethering - all apps working

It gives instructions on linux so I will give you a hint for windows 7 which I have tested.

I did this on my Samsung using Windows 7 pc like this:

* Connected USB

* Enable USB tethering

* Enable Mobile Data

* Wait for windows drivers to install until I see a Second Local Area Connection (u must find USB drivers for your mobile

* Enabled Internet Connection Sharing on my PC's Primary Local Area Connection

* I Open properties on my PC's Second Local Area Connection (the one form tethering) and set Ip to 192.168.137.1 /255.255.255.0

* I opened android terminal emulation and run these commands (you can also use adb, or a shell script saved on your mobile)

(You can use netcfg command to find which is the tethering usb interface, could be usb0 or rndis0)

ifconfig rmnet0 0.0.0.0 (this disables mobile data traffic so you dont get charged)

ifconfig rndis0 192.168.137.2	(or usb0)

route add default gw 192.168.137.1 dev rndis0 (or usb0)

iptables -F -t nat

setprop net.dns1 8.8.8.8

setprop net.gprs.http-proxy ""

After that My S2 has full internet access over my usb cable without trafficking to 3G and with 0 software installed.

I also suggest you install something like AFWall+ to manage and apply FW rules to the mobile data connection after the above commands, just to be sure you wont get charged

I attach a shell script that does the job (you just run the batch file after drivers installed and internet connection sharing enabled) for My GT-I9105 (Galaxy S@ Plus)
[Android Software Development] GnatGoSplat:
Entering all those commands looks very cumbersome to me. Do you have to do it every time?

This app, all I need to do is click a "Connect" button to make it work and "Disconnect" to turn it off.
[Android Software Development] DiGtal:
Play store not downloading

I'm using v3.7 with the hack installed and activated on my phone. The browsing of apps works in the Play store but I can't download apps. Please look into this.

Edit 1: I got the download to work once. There was port named Google Play. Not working again.
[Android Software Development] boyq:
after upgrading to 4.2.2, reverse tethering doesn't detect my device anymore. care to fix this?
[Android Software Development] lousou76:
Dear friend this is a developers forum.

I 've analysed these commands for you to see. You have to know what they are and what they mean to understand how to use them. I 've attached a batch file that does the job.

You installed 2-3 apk's , drivers and need the androidtool to connect, and still have problems with google play etc.

I on the other hand provide a batch file that I double click instead of your connect button and I have no problems in any app.

It works 100% and I write no commands everytime what so ever.

That makes me wonder why someone would go into this trouble to write the Androidtool and apk hacks and and..
[Android Software Development] GnatGoSplat:
I didn't have to manually install any apks, the app does it automatically when clicking Connect with no user intervention or interaction on my part. I also didn't need to install any special drivers, just the regular ADB driver which most people install anyway. It is pretty much just plug in the phone, run AndroidTool, press Connect and done. Easy peasy.

I don't doubt there could be a better way, but I assume whatever gets set up on the phone needs to be un-done to return it back to normal. How do you disconnect? I don't understand those commands enough to know what the command is to reverse the process and return the phone to normal.
[Android Software Development] lousou76:
These are not perminent commands. A reboot clears all settings. Closing tethering rsturns phone to media/storage mode.

The batch file is nesessary only if you want to connect using the pc.

Otherwise just enabling usb tethering and mobile data on android, internet connection sharing on pc and executing file tether.sh on android (i use script manager from google play to create shortcut on home screen) enables full internet access.
[Android Software Development] GnatGoSplat:
Is there any way to undo without rebooting? Another script maybe?

Does enabling USB tethering and ICS on PC have to be undone or can you leave those on?

Just tried and I can't even enable USB tethering on my phone because it can't check my subscription status with Verizon. I have a Verizon phone unlocked and using on T-Mobile. I guess I can't use this other method even if I wanted to.
[Android Software Development] capslock66:
This solution is not new, but require a lot of manipulation compared to the "one click connect" :

- 3g activation

Try to do it with tablet not having 3g

- tethering activation

Not all smartphone can do it (too old or locked)

- start a script manually

not everybody are able to do it

- configure windows

Ask your administrator , at work, to do it :)
[Android Software Development] anton-09:
Hi, I'm behind corporate proxy, and trying to proxify AndroidTool.exe. BTW other apps on PC works fine through the proxifier. But not the AndroidTool :( It crashes. Tried FreeCap, result is in attach. Tried to proxify the application process with AdvOr and got the same result not in message box, but in AndroidTool's log window. Any ideas why does this happen?

v.3.6

upd. v.3.7 fails on "Check log" every time, restart and kill adb don't help:

07-05 13:17:19:765 W/E RunProcessCommand Timeout for : adb.exe -s 6b115ad logcat -c

07-05 13:17:20:265 W/E ADB is unstable. Please press "kill ADB" on the tools tab and restart the tool
[Android Software Development] boyq:
Reverse tether still not detecting my device.

I have reinstalled adb drivers from flashtool. I'm sure my usb cable is fully working. But the problem still persists.

Pls. solve this issue. :)

07-06 19:20:52:632 W/I Tool version : 3.7
07-06 19:20:52:632 W/I adb.exe
07-06 19:20:52:632 W/I aapt.exe
07-06 19:20:52:716 W/I
07-06 19:20:53:727 W/I Log clear started
07-06 19:20:53:743 W/I Log Clear Done. Start log
07-06 19:20:53:761 W/E No device connected
07-06 19:20:54:840 W/E Starting logcat
07-06 19:20:54:947 W/E Starting logcat
07-06 19:20:55:058 W/E Starting logcat
07-06 19:20:55:183 W/E Starting logcat
07-06 19:20:55:320 W/E Starting logcat
07-06 19:20:55:433 W/E Starting logcat
07-06 19:20:55:542 W/E Starting logcat
07-06 19:20:55:648 W/E Starting logcat
07-06 19:20:55:763 W/E Starting logcat
07-06 19:20:55:763 W/E Logcat started more than 10 times.
07-06 19:20:55:763 W/E ADB is unstable or there is a problem with the connection cable
07-06 19:20:55:763 W/E click the "Disconnect" button then click "Kill ADB" button on the tools tab and restart the program
07-06 19:20:55:882 W/E Starting logcat
07-06 19:20:55:997 W/E Starting logcat
07-06 19:20:56:106 W/E Starting logcat
07-06 19:20:56:214 W/E Starting logcat
07-06 19:20:56:319 W/E Starting logcat
07-06 19:20:56:432 W/E Starting logcat
07-06 19:20:56:537 W/E Starting logcat
07-06 19:20:56:646 W/E Starting logcat
07-06 19:20:56:760 W/E Starting logcat
07-06 19:20:56:869 W/E Starting logcat
07-06 19:20:56:974 W/E Starting logcat
07-06 19:20:57:085 W/E Starting logcat
07-06 19:20:57:197 W/E Starting logcat
07-06 19:20:57:305 W/E Starting logcat
07-06 19:20:57:412 W/E Starting logcat
07-06 19:20:57:523 W/E Starting logcat
07-06 19:20:57:629 W/E Starting logcat
07-06 19:20:57:740 W/E Starting logcat
07-06 19:20:57:851 W/E Starting logcat
07-06 19:20:57:961 W/E Starting logcat
07-06 19:20:58:071 W/E Starting logcat
07-06 19:20:58:175 W/E Starting logcat
07-06 19:20:58:290 W/E Starting logcat
07-06 19:20:58:396 W/E Starting logcat
07-06 19:20:58:503 W/E Starting logcat
07-06 19:20:58:615 W/E Starting logcat
07-06 19:20:58:739 W/E Starting logcat
07-06 19:20:58:848 W/E Starting logcat
07-06 19:20:58:971 W/E Starting logcat
07-06 19:20:59:098 W/E Starting logcat
07-06 19:20:59:225 W/E Starting logcat
07-06 19:20:59:329 W/E Starting logcat
07-06 19:20:59:460 W/E Starting logcat
07-06 19:20:59:579 W/E Starting logcat
07-06 19:20:59:689 W/E Starting logcat
07-06 19:20:59:814 W/E Starting logcat
07-06 19:20:59:938 W/E Starting logcat
07-06 19:21:00:047 W/E Starting logcat
07-06 19:21:00:172 W/E Starting logcat
07-06 19:21:00:300 W/E Starting logcat
07-06 19:21:00:426 W/E Starting logcat
07-06 19:21:00:530 W/E Starting logcat
07-06 19:21:00:657 W/E Starting logcat
07-06 19:21:00:785 W/E Starting logcat
07-06 19:21:00:892 W/E Starting logcat
07-06 19:21:01:018 W/E Starting logcat
07-06 19:21:01:128 W/E Starting logcat

Server List

DNS List
122.2.129.2
124.106.5.2
124.106.7.2[default]
[Android Software Development] boyq:
gosh, thanks for this fix.

working good now.
[Android Software Development] edgd1er:
[MENTION=1189616]anton-09[/MENTION]

I m also behind a corporate proxy. Freecap never worked nor Widecap. Too bad as both are free. Proxifier worked (paid app). I guess the screen capture is a memory access problem...

Could you tell how did you setup the connection with your https proxy?

Envoyé depuis mon GT-I9100G avec Tapatalk
[Android Software Development] thelastbad:
its work with me thank you:good:
[Android Software Development] Theonew:
After step 3 you are supposed to click "show android interface" before you click "connect" (it installs the app and binaries to prepare your device for the connection).
[Android Software Development] vj_dustin:
oh yes..

i felt like i was missing something :D
[Android Software Development] shagratt:
Force Close on MIUI roms :(
[Android Software Development] thaweesakb:
Still not working on Motorola Charm, Android 2.1. The AndroidTool shows connected. And I can run all ADB command in Tools menu. Please give me a help.
[Android Software Development] diji1:
Thanks dev for your most handy and excellent tool. :D

Confirm working on Galaxy Note stock ROM, like others the market is not working for me at present. Trying v3.4.4 and playing around with it to see if I can get it going.

Thanks!
[Android Software Development] mnongkhlaw:
What about this?

Ref. http://androidadvices.com/download-clockworkmod-tether-app-unrooted-android-devices

How does it compare?
[Android Software Development] el3ctrik:
That app sends data in the opposite direction to this one.

This thread is about getting net access on an Android device from a computer (eg WiFi-only tablet outside of WiFi range, but with a networked PC nearby).

CWM's app is about getting net access on your PC/Laptop/WiFi-only tab from a 3G device.
[Android Software Development] spelaben:
Works perfectly well on my Galaxy S2 with MIUI after some tries.

I got one question though, is there a way we can cloak the reverse tethering connection as WLAN or 3G?

I want the Spotify app to sync my music from the servers but it seems like they only accept WLAN or 3G connections in the app.

We don't have a WLAN network at home, just LAN, so that's why I'm asking.

Thanks in advance!
[Android Software Development] diji1:
Yes this is interesting - perhaps it would give full functionality to everything? As you probably guessed I wasn't able to get Market v3.4.4 (and whatever earlier version I had prior) working using reverse tethering.

Anyone?
[Android Software Development] pranoy407:
Yeah market downloading doesn't work but app-in downloading works like today I downloaded a video via TubeMate.

Edit: You can also download direct link files with "Turbo Downloader"
[Android Software Development] :
tested and working on Xperia Neo stock 2.3.4 rooted firmware :D
[Android Software Development] diji1:
Funnily enough Applanet Market works. No I'm not downloading warez but you can use it to download free apps ;)

Thanks for the link idea.
[Android Software Development] salas2324:
this works on my Huawei Mercury and Clear 4G USB modem. my normal speeds where 6kb/s ... now 367 :D
[Android Software Development] wrathx:
This is pretty cool. I'm using this on my HTC Evo 4G, works pretty well for standard browsing. Would love to see this go a bit further and have support for things like DropBox and Ubuntu One (part of the reason I'm using this method instead of transferring over 3G/4G).

Good job! :)
[Android Software Development] teladan98:
Thanks man, you've saved my day. I think I got my wifi chip stuffed :(( and my phone is out of warranty. I'm using Desire HD but just simply hate Sense ROM (which unfortunately the only way I could get the reverse tethering).

And now, thanks to you, with AOSP ROM, I can connect to the internet through my PC's connection.

And a bit weird (Fortunately), I'm able to download app on the market :D stock browser is also working fine ;-)

is it because I set google DNS 8.8.8.8 on my device?
[Android Software Development] pranoy407:
I changed my DNS to google and now market downloading works !!!!! :D
[Android Software Development] teladan98:
:D

I'm glad my post can help everybody here ... and thanks again for OP, you've saved my day. I hope in the future you can make this software perfect by adding Bluetooth support.
[Android Software Development] Aamirx27:
Works like charm.... thankssss

---------- Post added at 06:26 PM ---------- Previous post was at 06:25 PM ----------

thankssss a lot working
[Android Software Development] capslock66:
Where do change the DNS ?

On windows or android ?

Are you sure the wifi is down ?

This can be a very good news :-)

I want to post a new version, but will wait until I am sure the DNS is the problem.
[Android Software Development] Theonew:
The DNS can be changed on the device. The two most common methods are:

- To flash the google DNS via recovery (file attached - requires CWM 2.x)

- Change it via terminal.
[Android Software Development] Rajesh_m:
Was lookin for this for a long time.. finally found it out.. thanks a lot :)

Btw i am using cm7 rom on my samsung galaxy mini.. i can browse through the market,but cannot download anything.. :( tried switching to 3g before connecting,still cannot download.. anyone knows how to resolve this problem??
[Android Software Development] anton-09:
Thanks, it's worked through Proxifier! And after some manipulations I launched it with AdvOr!

I am behind proxy that restricts some addresses, so I use AdvOR to get tunnell to all I want

But I wonder why browsing, Google Play (browsing), YouTube works fine, while games and Google Play (installing apps) don't work.

what's the problem?
[Android Software Development] Monsterkater:
It's working really well in general, I can browse and download apps, Chrome is working, I haven't had a problem with other apps, too.

But right now I tried to update tracking information in Parcels and it doesn't work, I always get a toast message "No network-connection available".

I'm using a HTC One X with CM 10.1 stable release. Here you can get the app from the play store, it's free. It would be great if you could take a look into this issue, I really love your tool so far.

If you need any information or logs just say so, I'm glad to help in any way.
[Android Software Development] AFN:
A question : what about VPN apps?