yashsingh1/xdaforums huggingface dataset:
[Android Software Development] edgd1er:
Did you activate wi-fi hack? (xposed module)

All apps are working, at least all the one I use

Envoyé depuis mon GT-I9100G avec Tapatalk
[Android Software Development] Monsterkater:
Yes, I did, if I didn't the play store wouldn't work.
[Android Software Development] zvuqniki:
No admin privlieges required

Being at work, and having no WiFi connection, and a ****ty edge data connection, just tried this and it works perfectly.

I can even dowload stuff from the Play Store and everything.

The best thing, you do not need admin privileges to make this work.

:D

Thank's for this man.
[Android Software Development] capslock66:
I don't know the android version for the CM7. Perhaps a 3.x version.

For android 4.x users, there exists now a workaround (xposed, see first page in this thread)

Considere upgrading to CM9 or CM10
[Android Software Development] Sanien:
Does not work for additional data

I have the reverse USB thethering working just fine for Google Play and browser but games/app that requrire additional data does not Work. They insist either turning the WIFI or carrier Network on. I have the hack already enabled - any Work around?

Thanks for this grreat app

EDIT: So far also stock email app not getting emails.
[Android Software Development] Rajesh_m:
Will try it out :) anyway thanks for this great app :victory:
[Android Software Development] capslock66:
Sould not work , since VPN use same iptables redirection.
[Android Software Development] Monsterkater:
I fixed it myself, just uninstalled everything (USB tunnel, Xposed etc.) and let it install again.
[Android Software Development] antutu:
tested and working on mine

thanks :good:

Edited:

Sorry must add some more info

Working for many aps, eventough many toast notification says, 'm not connected to 3g or wifi

However not working for line and weather widget:(
[Android Software Development] capslock66:
See Google Market/Play section on first page of this thread to install a fake wifi (Xposed module)
[Android Software Development] GnatGoSplat:
This versions generally works pretty good. I didn't have the problem with the connection dying after awhile like I used to. It stayed connected for over 6hrs. However, I can no longer download from the Play store like I could before. I have the Connectivit thing installed and set up for fake Wifi, but Play Store still can't see the connection. When downloading, it just sits at "Waiting for network". The trick to turn Mobile Data on first before connecting also doesn't work. I tried uninstalling Connectivit, but that didn't seem to return the ability to download either.
[Android Software Development] antutu:
ok thanks working great now
[Android Software Development] Manvindar:
i am facing same problem buddy....do tell me if you get any solution :good:
[Android Software Development] capslock66:
Post the log.

I will check if the fake wifi is working properly
[Android Software Development] GnatGoSplat:
It doesn't actually log an entry when I tried to download from Play Store.

07-16 15:28:33:872 W/I Tool version : 3.7
07-16 15:28:33:872 W/I adb.exe
07-16 15:28:33:933 W/I aapt.exe
07-16 15:28:35:045 W/I Android Debug Bridge version 1.0.31

07-16 15:28:36:055 W/I Log clear started
07-16 15:28:36:364 W/I Log Clear Done. Start log
07-16 15:28:40:171 W/I ==> Start android service
07-16 15:28:41:093 W/I Wait service. If nothing happens now, close the program and retry
07-16 15:28:41:197 W/I waiting android server connection ... 1
07-16 15:28:42:197 W/I waiting android server connection ... 2
07-16 15:28:43:202 W/I waiting android server connection ... 3
07-16 15:28:44:199 W/I waiting android server connection ... 4
07-16 15:28:45:197 W/I waiting android server connection ... 5
07-16 15:28:46:197 W/I waiting android server connection ... 6
07-16 15:28:47:201 W/I waiting android server connection ... 7
07-16 15:28:48:198 W/I waiting android server connection ... 8
07-16 15:28:49:210 W/I waiting android server connection ... 9
07-16 15:28:50:383 W/I Waiting for connection. If nothing happens now, close the program and retry
07-16 15:28:50:819 W/I Check connection 2 ok
07-16 15:28:50:819 W/I Android service status : Host connected
07-16 15:28:51:200 W/D ------------------------------------------------------------
07-16 15:28:51:200 W/D Android Superuser may ask you to accept rights.
07-16 15:28:51:200 W/D Check your android and accept "Superuser Request" now if needed !!!
07-16 15:28:51:200 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
07-16 15:28:52:503 W/I interfaces before script startlo(UP) 127.0.0.1/8, dummy0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN), rmnet3(DOWN), rmnet4(DOWN), rmnet5(DOWN), rmnet6(DOWN), rmnet7(DOWN), usb0(UP) 192.168.137.2/29, sit0(DOWN) 192.168.1.2/24, ip6tnl0(DOWN), wlan0(UP), p2p0(UP)
07-16 15:28:52:792 W/I route : destination : 192.168.137.0, gateway : 0.0.0.0, output : usb0
07-16 15:28:54:470 W/I interfaces after script startlo(UP) 127.0.0.1/8, dummy0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN), rmnet3(DOWN), rmnet4(DOWN), rmnet5(DOWN), rmnet6(DOWN), rmnet7(DOWN), usb0(UP) 192.168.137.2/29, sit0(UP) 192.168.1.2/24, ip6tnl0(DOWN), wlan0(UP), p2p0(UP)
07-16 15:28:54:749 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0
07-16 15:28:54:749 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0
07-16 15:28:54:749 W/I route : destination : 192.168.137.0, gateway : 0.0.0.0, output : usb0
07-16 15:28:54:749 W/I
07-16 15:28:54:750 W/I Connection done
07-16 15:36:44:418 W/I TNativeTcpTunnelClient ReadBytes : Exception for handle 113
07-16 15:36:44:418 W/I Socket Error # 10054
Connection reset by peer.
07-16 15:45:05:630 W/I Manual disconnect
07-16 15:45:06:109 W/I Normal disconnection
07-16 15:45:06:109 W/E Not connected !

Server List
domain (53) : A->H : 7000 ,H->A : 1856
https (443) : A->H : 66536 ,H->A : 726690
http (80) : A->H : 3087 ,H->A : 114281
xmpp-client (5222) : A->H : 138 ,H->A : 0

DNS List
10.211.55.1
8.8.8.8
[Android Software Development] capslock66:
Unfortunately, the log is not complete, log from android is missing.

That happens some times with ADB. For a full log, you have to click the "kill ADB" (while not connected) then restart the tool.

In the log, you should see this line :

07-17 10:49:43.32 A/I =====HcActivateFakeWifi==========

if not , run the Xposed installer, go to modules panel and ensure the "hack connectivity service" checkbox is checked .

If not checked, check it and reboot the phone !

Click on "hack. You will see the "hack state" status.

When reverse tethering is activated, you should see "Forced to wifi".

Click "Refresh" button to have latest status.

You can also force the hack with the "Activate Wifi hack".

The =====HcActivateFakeWifi========== line should be now visible in the windows log tool.

Don't click on traces buttons. Traces should always be desactivated (it's just for me)
[Android Software Development] commander-keen:
Works fine for me. Unfortunately the hangout app itself just closed itself without further notice approximately between 20 and 30minutes, but that might be due to whatever reasons. I haven't had many opportunities to test since then, but it seems like this issue is resolved, at least I cannot find a connection between the closing and Reverse Tether without deeper inspection.

Thanks for your continued efforts!
[Android Software Development] lethal80:
This application is great! Saves much mobile traffic. :good:

Unfortunately it does not work with "gmatpill" application. :crying: Even after the installation of the hack mode, the application says "no internet connection" or cannot download free videos lectures. Please, help. The exam is coming... :eek:
[Android Software Development] capslock66:
Installation of the hack is ok, but did you enabled it ? see a few post before.
[Android Software Development] capslock66:
I installed the application. Reverse Tethering is working.

Ensure hack is well configured
[Android Software Development] lethal80:
Thanks for the reply. I tried in Samsung S7562 and N8000 (Note 10.1.). The both are rooted.

I installed the hack mode. The status "Forced to wifi", "Traces deactivated".

I can open "Gmatpill" application and log-in. But when I try to view any free video or download it, the following message pops-up: "Sorry this video is temporarily unavailable". When my devices are connected to 3G, no such problem.

Did I miss something?

Thanks.
[Android Software Development] capslock66:
Can you send here the connection log ?
[Android Software Development] lethal80:
Here's the log.
[Android Software Development] capslock66:
The ADB subsystem I use is buggy. The log is not complete.

Can you click disconnect, restart the tool , try again and send the log ?
[Android Software Development] lethal80:
I disconnected, restarted the tool.

07-19 14:22:11:406 W/I Tool version : 3.7

07-19 14:22:11:406 W/I C:\android-sdk-windows\sdk\platform-tools\adb.exe

07-19 14:22:11:406 W/I C:\android-sdk-windows\sdk\platform-tools\..\build-tools\android-4.2.2\aapt.exe

07-19 14:22:11:531 W/I Android Debug Bridge version 1.0.31

07-19 14:22:11:656 W/I Log clear started

07-19 14:22:11:671 W/I 2 devices

07-19 14:22:11:671 W/I selected device : 4107d86a7c4baf63

07-19 14:22:11:687 W/I Log Clear Done. Start log

07-19 14:22:14:578 W/I ==> Start android service

07-19 14:22:15:578 W/I Wait service. If nothing happens now, close the program and retry

07-19 14:22:15:687 W/I waiting android server connection ... 1

07-19 14:22:16:687 W/I waiting android server connection ... 2

07-19 14:22:17:687 W/I waiting android server connection ... 3

07-19 14:22:18:687 W/I waiting android server connection ... 4

07-19 14:22:19:687 W/I waiting android server connection ... 5

07-19 14:22:20:687 W/I waiting android server connection ... 6

07-19 14:22:21:687 W/I waiting android server connection ... 7

07-19 14:22:22:687 W/I waiting android server connection ... 8

07-19 14:22:23:687 W/I waiting android server connection ... 9

07-19 14:22:24:750 W/I Waiting for connection. If nothing happens now, close the program and retry

07-19 14:22:25:421 W/I Check connection 2 ok

07-19 14:22:25:421 W/I Android service status : Host connected

07-19 14:22:25:687 W/D ------------------------------------------------------------

07-19 14:22:25:687 W/D Android Superuser may ask you to accept rights.

07-19 14:22:25:687 W/D Check your android and accept "Superuser Request" now if needed !!!

07-19 14:22:25:687 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted

07-19 14:22:26:906 W/I interfaces before script startlo(UP) 127.0.0.1/8, sit0(DOWN) 192.168.1.2/24, ip6tnl0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN)

07-19 14:22:27:140 W/I no route

07-19 14:22:32:812 W/I interfaces after script startlo(UP) 127.0.0.1/8, sit0(UP) 192.168.1.2/24, ip6tnl0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN)

07-19 14:22:33:046 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0

07-19 14:22:33:046 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0

07-19 14:22:33:046 W/I

07-19 14:22:33:046 W/I Connection done

Server List

DNS List

192.168.55.10 (ok)

8.8.8.8 (ok)

8.8.8.8 (ok)

8.8.8.8
[Android Software Development] capslock66:
Sorry, log is still incomplete. I have to find a solution for this annoying problem.

You have only traces from the tool (sender is "w") , not from android (sender is "A")

I see also that you have 2 devices connected. Perhaps it's the problem.

On tools tab, click the "Kill ADB" then restart the tool.

If hack is working, you should have a =====HcActivateFakeWifi========== line at the end of the log.

Can you download from market ???
[Android Software Development] chrispazz:
Hello, i have the following problem.

I am behind a proxy server that allows me to connect usign 80 and 443 ports.

I am able to reach every internet address (also using proxifer) but only using IP addresses.

I can resolve only internal dns names but not internet dns names.

If i try to surf to internet web sites using pc web browsers (with corporate proxy switched on) I can reach them all, but from android tool I cannot be able to let internet dns names being resolved from my tab.

Where is the problem? In androidtool I have list of all internal dns servers that cannot resolve outside dns names....

Thank you

Chris
[Android Software Development] :
Is anyone else having problem running this on Windows 8.1?
[Android Software Development] azaotl:
despicable me

Thanks for this ... is excellent I'm able to download from market ... my wifi is wrecked and your tool has helped me a lot .. just one question.... has anyone tryed to download the data from "Despicable me: Minion Rush " ... I can't... is there a way to do it with this app? thanks:o
[Android Software Development] srt123:
I am using this tool and it is working fine on my lww.Just one question :- I am using a wired broadband connection and if i connect my phone and start reversing tethering ,then can i use my mobile as a portable wifi hotspot so that the other mobiles/tabs in my house can also share the same wired internet without having their phone rooted ,or it can be used in a phone that doesn't have android OS platform but has wifi capability?/

Is it possible??

If yes,then please explain.
[Android Software Development] zzztidurvirus:
It wont work. Gameloft stuff still demand real wifi network or mobile data. Im still unable to download gameloft live.

Sent from My Awesome Paradox ST21i
[Android Software Development] azaotl:
too bad... :( thanks for the reply :)
[Android Software Development] codeknight11:
It works. I downloaded the entire Iron Man 3 data using this method. Make sure to reinstall xposed framework everytime you update your rom and check that Hack Connectivity app reads 'WiFi Hack desactivated'.

Reboot phone after doing that. Then download a little data using mobile data, immediately connect to pc, start the android tethering tool and connect. Turn off mobile data. Works for me.
[Android Software Development] azaotl:
It has worked for me with some apps like this race game from EA , and also Iron Man, and some others but with this despicable me nope =( I have tried many things... just tried to download at the beggining some bytes and stops...
[Android Software Development] chrispazz:
No help for me?

;)
[Android Software Development] dsp4774:
It's not working in the new 4.3 release, at least not on manta. I have updated the xposed framework to try to correct that, but to no avail.
[Android Software Development] capslock66:
Edit the androidtool.ini and add or update the DNS to 8.8.8.8 :

Dns=8.8.8.8

And click "check dns"
[Android Software Development] capslock66:
Can you post the log (reboot first android and PC to ensure to have a clean log)
[Android Software Development] lousou76:
What do you mean when you say undo. If you just disconect the device and connect it it looses all routing commands settings and closes usb tethering as well.

One click connect doe snot work well, it does not route many protocols. It also requires tampering with system libraries and installing custom ones which cannot be installed everywhere.

I am sure I could write a few more commands to narrow it down to 2 clicks, one to configure your computer and two to enable tethering and routing but I dont get paid to do so. The instructions are easy to follow and you only have to configure your computer once. One click also requires admin privilledges.

Enabling usb tethering and running a shell script on your tablet or android is also one click. Google play has free programs to create shortcuts to shell scripts.

Enabling and disabling mobile data is not required when no 3g module is installed on the device.

Anyway I can make it a lot more easier for begiiners but I really dont have time to deal with that. Other developers can help.

This method is tested, working and gives 100% internet access to all apps without any softw installed.

To me that is enough.
[Android Software Development] chrispazz:
07-29 08.59.02.996 W/E ApplicationEvents Exception

07-29 08.59.02.996 W/E DNS Server Reports Query Name Error

No luck. It seems I cannot reach google DNS. I cannot understand how I can browse internet (using internal firewall that blocks me some sites).
[Android Software Development] capslock66:
Do you use proxifer to run the tool ?
[Android Software Development] capslock66:
Try with the proxy adress in internet explorer (or other). see browser internet options
[Android Software Development] chrispazz:
Yes, I am using proxifier.

browser is set to use our internal proxy server (for www on port 8080).

I have to put it in androidtool.ini always using proxifier?

Thank you
[Android Software Development] capslock66:
You always have to use proxifier to start androidtool.exe

I don't have proxy at work, so I don't know how to fix it :(
[Android Software Development] GnatGoSplat:
By "undo", I mean put the phone back in the state it was in before entering the commands. I think you have correctly guessed what I meant, since your answer seems to fit that question, so thanks for that.

Unfortunately, this method is irrelevant for my device anyway. USB Tethering is locked to Verizon on my Droid RAZR M, and I use T-Mobile. I tried to find a way to unlock it, but all search results seem to be for different Motorola models and those methods don't seem to apply as they require freezing an app in Titanium that's not in my app list. When I have some time, I'll see if it works on my other phones.
[Android Software Development] hanpro:
Work like a charm on Optimus G :)

But I face with this problem: I've wirte a server socket to run on my phone, and the client is the java app on PC, server open with port 1234, I try to connet to the server (phone) by 10.0.2.2:1234 but it's always show "java.net.ConnectException: Connection timed out: connect" any idea?
[Android Software Development] capslock66:
Thanks for the log. That help me a lot.

Can you test the version 3.8 in attach and send me the log ?

This version will not correct the problem but will display the error in the log.

(The attach will be destroyed later)
[Android Software Development] capslock66:
Reverse tethering allow android client to connect to external server (on the network or internet).

What you want to do is the opposite.

But you are no far from the solution :

Just run this command before trying to open a port to android :

adb forward tcp:5000 tcp:1234

This will forward PC port 5000 to android port 1234

Both port can be the same :

adb forward tcp:1234 tcp:1234

Note that you must use local ip like 127.0.0.1. I don't know if you can open a connection like this :

pc1 -> pc2:5000-> usb -> androidServer:1234

Also, I am not sure you can use the low 1234 port. Ports below 65535 are reserved.

Reverse tethering use this approach on port 42000. (Please don't use this port).

Capslock66
[Android Software Development] folgoratore:
your tool is awesome, i've used it many times. i've just tried it with a nexus 4 with android 4.3 stock rooted (i honestlt don't know if it has busybox), but the tool doesn't work. it recognises the device, the app says that the service ir running and that is connected to the client, but when i try to load a page on chrome it doesn't download anything.

Debug Log
[Android Software Development] :
I noticed that too. I wasn't able to connect with 3.7, but I can now with 3.8.
[Android Software Development] yken:
I have mobile data, so should I disable mobile data to use this program?
[Android Software Development] chrispazz:
Only a little news: if I start Androidtool using proxifier set for allowing local connections going without proxifing them, with all browsers does not resolve dns names.

If I use instead android Firefox and activate "Proxy Mobile" add-on pointing to my corporate proxy on port 8080 it works (at least for web browsing).

What does Proxy mobile have that I cannot achieve using androidtool thru proxifier?

Thanks
[Android Software Development] capslock66:
I added a lot of protection in the code.

Hopfully, the code that generate the error was not important for the connection, just the print of the firewall configuration.

This fixed the problem.

You enabled traces in the Xposed hack. This will slow down a little bit the phone.

It was usefull for me. You can disable it now.

Thanks for your feedback. I will post the 3.8 version on the first page.

Capslock66.
[Android Software Development] capslock66:
This is a good news. You can use a specific browser so surf.

Goople play should not work.

I realy don't know how to fix this problem (I don't have enough knowledge of proxies)

I hope to find a new job on a company having a proxy :)
[Android Software Development] capslock66:
Just added error detection in the code while reading the firewall configuration.

Since this code is usefull only for me for debugging purpose, it's not important for the connection.

Thanks for the feedback.
[Android Software Development] capslock66:
Depends !

Some programs like the google play want to see an active connection (Wifi/3g) to start download.

Other programs like browser don't care and work perfectly.

If you want to download updates from google play, you have 2 possibilities :

- Enable the mobile data before starting the reverse tethering. Don't care, it will not be used.

- Install the hack that emulate a Wifi connection.

So to response to the question : you don't need to enable or disable the mobile data. It's transparent.

If you want to be sure to not use your mobile data , better is to disable it before.
[Android Software Development] A|ex:
Excellent app and really good speeds.
[Android Software Development] chrispazz:
Eheh, send me your CV!! ;)

Last question: since I have 3G on my tablet, is it possible to route only DNS requests thru 3G and traffic thru USB?

Again thank you
[Android Software Development] chrispazz:
I can explain a little more:

I am using reverse usb tethering like I will use an ethernet connection to my company resources.

I only need to be able to reach internal addresses as external internet addresses and I have no problem using my 3G network connection to surf web, android market, etc...

My problem is that I always have to shut off androidtool for going on the internet or starting it to use company intranet addresses.

How can I have them together deciding routing by dsname or ip o local vs internet addresses?

TY
[Android Software Development] capslock66:
Check your S4 notification bar and click the "connected as ..." notification.

Switch the way you are connected. MTP or PTP.

On My galaxy S3, I use PTP.

On my (old) S1, I use MTP.
[Android Software Development] capslock66:
Are you sure ? Do you have a link for that ?
[Android Software Development] capslock66:
RT work on the principe of routing ports in the internal android firewall

The route table is also changed.

So, it's "perhaps" possible, but I dont have enough linux expertises (iptables) for that.

I am still searching a job... in Belgium :)
[Android Software Development] alicarbovader:
Ok, everything works fine until I start downloading.
[Android Software Development] capslock66:
It seams you didn't selected a DNS on the tool

Selected one and click "check dns" to ensure this work
[Android Software Development] capslock66:
Did you activated the wifi ack ?

Google play want to see an active connection (wifi/3g) before downloading.

The hack simulate a wifi connection.

you should have this line in the log if well configured : =====HcActivateFakeWifi==========
[Android Software Development] doom666:
I had to enable WiFi Hack to downlaod playlists in Spotify, maybe you can add that to OP

All in all, one of the best Apps/Programs i´ve ever used for android, works so well if kernel is allowing it! Thx a lot
[Android Software Development] alicarbovader:
Yeah man, wifi hack is activated. I figured out that it is a kernel problem. Currently, no one has been able to figure out RPC sh&t... That is the problem I guess.....
[Android Software Development] DragonHunt3r:
Version 3.8 does not work at Android 4.3 AOSP Rom
[Android Software Development] capslock66:
Log ?

Other version work ?