yashsingh1/xdaforums huggingface dataset:
[Android Software Development] MidnightHarvester:
I haven't gotten through the thread yet but this is an innovative idea and aonxe I haven't read further no clue if it works. I worked non a smali solution for a while and even after returning that i WS on WiFi in every single call I could find (value was 0x1 I believe) it still saw me as on mobile data.

I resorted to using the Fake WiFi Xposed module and it works wonders. There used to be an app called Privacy Blocker developed by one ofboir old friends Matt. You could spoof almost any value you wanted and the app made the changes within then smali code itself like I was trying.

I tried his app first cause why invent the wheel right? After recompiling the spoofed apk still no go so apparently he replaced the same values I did in the Google classes dealing with connectivity. I'd love to know them how Gameloft discovers WiFi connectivity... Props to Matt BTW because that Provaxy Blocker app was awesome in the day and still has it's hard uses and I keep it installed for when I don't feel like diffonf through smali.

Solution I found was to use the Fake WiFi Xposed framework module which I'm guessing uses a completely different method of telling the gos app that you're on WiFi...and it works..at least on my G2 on 4.4.2 on Malladus.

Is Fake WiFi open sourced? All Xposed mkduoes ahould be for security reasons but haven't ever really checked. I think I'll dig into that some and see what method is used

---------- Post added at 12:57 PM ---------- Previous post was at 12:47 PM ----------

I haven't gotten through the thread yet but this is an innovative idea and aonxe I haven't read further no clue if it works. I worked non a smali solution for a while and even after returning that i WS on WiFi in every single call I could find (value was 0x1 I believe) it still saw me as on mobile data.

I resorted to using the Fake WiFi Xposed module and it works wonders. There used to be an app called Privacy Blocker developed by one ofboir old friends Matt. You could spoof almost any value you wanted and the app made the changes within then smali code itself like I was trying.

I tried his app first cause why invent the wheel right? After recompiling the spoofed apk still no go so apparently he replaced the same values I did in the Google classes dealing with connectivity. I'd love to know them how Gameloft discovers WiFi connectivity... Props to Matt BTW because that Provaxy Blocker app was awesome in the day and still has it's hard uses and I keep it installed for when I don't feel like diffonf through smali.

Solution I found was to use the Fake WiFi Xposed framework module which I'm guessing uses a completely different method of telling the gos app that you're on WiFi...and it works..at least on my G2 on 4.4.2 on Malladus.

Is Fake WiFi open sourced? All Xposed mkduoes ahould be for security reasons but haven't ever really checked. I think I'll dig into that some and see what method is used
[Android Software Development] capslock66:
It seams to be a limited version

Try to install a full version (uninstall then reinstall from busybox installer)
[Android Software Development] frontmill:
Dear all,

Im having a problem with reverse tethering. It initially worked, when I used it for the first time and tried to simply browse the internet. However, when I installed the Xposed framework and activated the module, it stopped working. (Im not sure if that is the cause or if the two events just happen to be correlated. Removing the Framework doesnt solve the problem, though).

It provides me with no error messages whatsoever, on the phone nor on the pc, but the internet doesnt seem to work (Not in the browser and not in apps like google playstore). Im running Viperone 6.2 with android 4.4.

Hope anyone can help me! Thanks in advance!

This is the log:
[Android Software Development] capslock66:
android 4.2 and upper : you have to connect one times to a working wifi or 3g after each reboot
[Android Software Development] frontmill:
Thanks. Youre a hero. This turned out to be only part of the problem, however. I hadnt noticed the Hack Connectivity App, since I was only following the instructions produced by Androidtool.exe and there was no mention of it. Once I opened it, activated the WiFi signal and first connect to 3G (as you said), Everzthing worked fine. Thanks!
[Android Software Development] simpleparab:
Happy to use this App...

I am successfully able to use the app after a few initial tries...

However i have not only initially connect the phone to data connection but always i have to set it to data connection, however when i download smthing from play store it downloads from my pc internet not from my data connection (I verified this by disconnecting dsl while there was a download going on) and also i switched back to 2g and used speedtest app and it showed the speed of my dsl not 2g speed...

there are smtimes a few glitches though... since my mobile wifi is stuck on TURNING ON always so i set the script $connectivityHack=mobile.

I will b glad to help any1 regarding the setup if i can...

by the way i am using i9500 with Prism Barebone v8.5...
[Android Software Development] SMZulqurnain:
[MENTION=3083768]capslock66[/MENTION], thanks! It's work great on my Galaxy Ace 3 CM11 M8.
[Android Software Development] capslock66:
On the log, I see that your network refuse to connect to 125.160.18.41 and 203.12.21.3 (in indonesia)

I don't know if it's related to the theme manager
[Android Software Development] sugarkane87:
thanks man for replying, it turns out that i had to enable the mobile data first before starting. Now theme manager is accessible :good:
[Android Software Development] capslock66:
When you say "forced to Wifi", you mean connected to a working wifi ?

I think that the problem is on your network : the DNS don't give correct responses.

Is your network at workplace use a proxy ? ask your administrator...

you can see that on your internet explorer lan settings options

If yes, you have to use also a proxifier to send the information to to proxy.
[Android Software Development] rht_sg:
thanks for your quick response [MENTION=3083768]capslock66[/MENTION].

by forced to wifi - i meant i chose the Activate Wifi option in the Connectivity Hack - and it showed the status in the first line as "forced to Wifi".

I had rebooted my phone and then connected to 3G once, then tried to reverse tether using this.

does it matter if i connect to working 3G or Wifi and then in connectivity hack choose the corresponding 3g or Wifi option ?

say - reboot - connect through 3g once, close it, then choose the mobile/3g option in hack;

OR reboot - connect to working (real) wifi, close it, then choose Wifi option in hack ?

i think proxy might be the problem since whole work network is a domain behind a firewall or something, i will check proxifier,
[Android Software Development] movie.wizard:
rev

hi am on miui 4.6.27, micromax canvas a110, the same app used to work well with lewa. but stuck at the count on 25!! waiting connection.. pls help:confused:
[Android Software Development] capslock66:
Send the log
[Android Software Development] capslock66:
Connect to a real wifi or 3g just one time after each boot

You don't have to start the hack or change the script

For proxifier, you need to know the proxy address !!!
[Android Software Development] capslock66:
ADB is unstable.

Better is to reboot the PC !!!
[Android Software Development] capslock66:
I see a lot of transfert, so it's not a Wifi/3g hack problem.

Reverse tethering is working fine.

Problem seams to be on the DNS (Domain name server)

Do you use android application like CrossBreeder, seeder or SuperCharger (dns caching, blocks ads, ...) ?
[Android Software Development] movie.wizard:
tried evrything!!! reboot pc, mobile,,reflashed,,!!! :crying: in lewa it used to automatically opens the USB tunnel in mobile as soon as the counting starts!! but here nothng happens!! am online till i find a solution :) help needed :)
[Android Software Development] movie.wizard:
tried different method..thing is my phone is detected in debugging mode i blv!! but i enabled it in developer option too...somethng wrong! help!!!
[Android Software Development] rht_sg:
I use Adaway. Can that be a problem ?

I usually use Droidwall also, but I disabled that while using this with 3G hack.

Yes you are correct, there is lot of transfer - from whatsapp, avast definitions, Opera mini.

Can browse through play store, but cannot download.

edit

disabling Adaway also does not solve the problem.

---------- Post added at 05:32 AM ---------- Previous post was at 05:29 AM ----------

u must have already tried this i think.

but when you use cmd command

adb version

does it show the version ?

and does

adb devices

show your device when it is connected in debugging mode ?
[Android Software Development] movie.wizard:
hm...i dint get what you saying.. m cmpletely new to this. and btw,,in miui there is no option pops out saying debugging mode connected, and the only options available are charging( where the device id not shows in the reve.tethering app), usb mode, mtp,ptp, cd rom!!

tell me how to us cmd if it works:good:
[Android Software Development] rht_sg:
I am not familiar with MIUI, if you have already checked the USB debugging box under developer settings in that, then usb debugging should be connected. But its strange that it shows no "debugging connected" on the notification bar. even my 2.3.5 android showed it.

for cmd - i meant the command prompt in your windows PC.

if you have installed ADB correctly,

then open a command prompt window - type cmd in the programs search box.

u might need to run it as administrator.

in the cmd - type

adb version

this should show you the version of adb installed (if it installed correctly)

when your device is connected, type in cmd

adb devices

if some device id is shown, then i think ur adb is working and device is connected in debugging mode.
[Android Software Development] movie.wizard:
please see the attachemnt
[Android Software Development] rht_sg:
well, it seems adb is installed and device properly connected.

probably need to wait for capslock to reply then.
[Android Software Development] capslock66:
Reverse tether is incompatible with firewall because he use the same low level Api

It's perhaps also a Rom problem

Can you try with another smartphone ?
[Android Software Development] movie.wizard:
yes, the problem is with miui, can you pls provide any workaround? . cs, it works well with lewa os even with stock rom.:confused:
[Android Software Development] Jake2kOne:
Okay, at first I have to say: It's f*ck*ng awsome! :laugh:

Took some time to get it to wok, but now I enjoy it!

My problem was, it was connected to the tool, the http session got listed after I opened chrome on phone but nothing happened...

I was connected to 3G before and used the 3G hack.

After I switched to "wifi hack" and connected to a random open wifi and then connected the tool it works like a charm.

Thanks for the work. It really makes my day in the office ;)

btw:

I'm using it on a Windows 7 VM with hidemyass vpn connection on the VM!

My laptop is in a corporate network and using a VM via hidemyass vpn opens the internet tome very well :)
[Android Software Development] migui0401:
How can i simulate or emulate a fully working 3G connection for being able to download files from browser and apps from google play?
[Android Software Development] movie.wizard:
rev tethering on miui 4.8.22 (ported for micromax a110)

anybody know the solution for reverse tethering on miui :(
[Android Software Development] rht_sg:
[MENTION=3083768]capslock66[/MENTION]

i finally found the problem why play store downloads were not working !! :laugh:

i use Disable services to stop some annoying services from running.

initially after flashing a rom, i saw mediascanner and download service running a lot.

so i think i had disabled the download service!!

now i enabled the download service, and even play store downloads started working with this !!!

:good::good:

maybe u can keep this in mind too, when u try to help other users.
[Android Software Development] mishaaa163:
working), but...

hi)

I have two tabs: one with Root and Nexus. I want to give to usb on tab with root, and from there to Wi-Fi on nexus. but it is impossible. by usb it works, but on the nexus through internet not working( what to do? Root on the nexus will not put)
[Android Software Development] Olivierz2:
Hello,

Reverse tethering not working. It seems that it doesn't get the rights from SuperSU.

AndroidTool : 3.19

Connectvity hack : 1.4

SuperSU : 2.10

Phone : Samsung S4

Android : 4.4.2

Progress window :

Stuck at "wait for superuser right"

Supersu does not show any notification even when the notification is checked in its parameters. In that case, the notification from SuperSu does appear only when I close the service from Usb tunnel GUI in my phone. Weird...

Debug log from AndroidTool :

09-08 23:47:33:032 W/I Tool version : 3.19

09-08 23:47:33:032 W/I adb.exe

09-08 23:47:33:032 W/I aapt.exe

09-08 23:47:33:160 W/I Android Debug Bridge version 1.0.31

09-08 23:47:36:310 W/I Wait java service

09-08 23:48:10.12 A/W process (13514) : Implicit intents with startService are not safe: Intent { act=service.tracetool.SocketService.ACTION (has extras) } android.content.ContextWrapper.startService:506 android.content.ContextWrapper.startService:506 service.tracetool.TTBroadcastReceiver.onReceive:41

09-08 23:47:36:411 W/I waiting android server connection ... 1

09-08 23:47:36:595 W/I Waiting for connection

09-08 23:48:10.24 A/I UsbThread3 : usbServerSocket : Waiting for the host to connect

09-08 23:47:37:781 W/I Sending busybox21

09-08 23:48:12.05 A/E UsbThread3.run() loop error. firstByte : 39 : WTOA_copyFile

09-08 23:48:12.05 A/E UsbThread3.run() loop error. lastCommand : 32 : WTOA_setGlobalVar

09-08 23:48:12.06 A/E UsbThread3.run() loop error. Exception type : class java.io.FileNotFoundException

09-08 23:48:12.06 A/E UsbThread3.run() loop error. Exception message : /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

09-08 23:48:12.06 A/E UsbThread3.run() loop error. Exception cause : libcore.io.ErrnoException: open failed: EACCES (Permission denied)

09-08 23:48:12.06 A/E UsbThread3.run() loop error. Exception string : java.io.FileNotFoundException: /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

09-08 23:48:12.06 A/E libcore.io.IoBridge.open(IoBridge.java:409)

09-08 23:48:12.06 A/E java.io.FileInputStream.<init>(FileInputStream.java:78)

09-08 23:48:12.06 A/E service.tracetool.Api.copy(Api.java:1471)

09-08 23:48:12.07 A/E service.tracetool.UsbThread.copyFile(UsbThread.java:1944)

09-08 23:48:12.07 A/E service.tracetool.UsbThread.run(UsbThread.java:316)

09-08 23:48:12.07 A/E UsbThread3.run() -> unexpected disconnection

09-08 23:48:12.07 A/I UsbThread3 : usbServerSocket : Waiting for the host to connect

09-08 23:47:53:544 W/D UsbThread : ReadBytes : Connection Closed Gracefully.

Server List at 09-08 23:49:47:501

DNS List

x.x.x.x (ok)[default]

Thanks in advance...
[Android Software Development] capslock66:
Uninstall the app

This will force superuser to ask again
[Android Software Development] Olivierz2:
Done but doesn't solve the problem.

SuperSU doesn't list the app.

The Usb tunnel Gui indicates that the service is running but the device is not connected, although it is.

Usb debugging is flagged on the phone and I can access it from within the Windows file explorer.

SuperSU notification appears only when I stop the service using the usb tunnel interface. Very strange : SuperSu doesn't detect the service when launched but only when closing...

Upon SuperSU notification, I accepted usb tunnel which is now listed in SuperSU.

I close Android tool, disconnect the phone, restart Android tool (even tried with administrator rights), reconnect the phone, rediscover the phone from AndroidTool, reconnect from AndroidTool.... same result...

Any idea ?
[Android Software Development] capslock66:
Finally, I am not sure it's a superuser problem.

Install busybox from market (run it then click "install")

Try again and send the log if still don't work .
[Android Software Development] Olivierz2:
It works, thanks !!

What caused the problem ?

-edit : downloading from the play store does not work. The "downloading" icon is shown on the phone but no actual download.

The connectivity hack is installed.
[Android Software Development] rht_sg:
since the connectivity hack only works in Android 4+,

is it possible to use this for Play store downloads in lower version android ?

Mine is 2.3.5 on HTC Desire S.

connection is made, but as expected, play store cannot download.
[Android Software Development] CrysiZ:
Nvm.
[Android Software Development] smohanv:
Good one. Thanks
[Android Software Development] rht_sg:
[MENTION=3083768]capslock66[/MENTION]

anyway to get play store downloads to work on older version of android ? without connectivity hack ?

thanks
[Android Software Development] capslock66:
Did you read the FAQ ( point 1) ?
[Android Software Development] capslock66:
No, sorry
[Android Software Development] Recognized Noob:
ya man. but thats for 4.3 and above no? anyway, previously, I was able to use net using the tool on the same rom before reflashing it and changing pc.
[Android Software Development] capslock66:
Nothing special in log, so it's the main common error (probably it's also on 4.2)

Do you have firewall on android, CrossBreeder or disabled some application ?
[Android Software Development] JakBB:
A lot of apps are not working...

Also whatsapp is not downloading images...

I installed hack connectivity...
[Android Software Development] sgajjala:
Do you mean Reverse thethering works with only Android 4.3 and above?

earlier even the downloads were working from PlayStore . After that I was not able to connect again..
[Android Software Development] PiggyFlooper:
V.3_18 working w/ Xposed Framework 2_4_1 on android 4.0.3

Sent from above using Xparent Tapatalk Blue
[Android Software Development] capslock66:
No : I mean you must connect at least one time to a wifi or 3g after EACH boot.
[Android Software Development] sgajjala:
Struck on boot logo

Today I just updated my Intex Octa with a Software Update . This is just a update within version 4.2.2.

After installing the connectivity Hack phone is struck at boot logo . I tried 2 times and everytime the behaviour is same.

I just installed connectivity hack 1.4 version and did a reboot

Am I missing anything here.

The only way to recover the phone is to flash it again
[Android Software Development] LEDAHGRIM:
The program seems to work fine and connects whith no issues but before finishing the

connection it says "Waiting for superuser right" endlessy and I already gave it superuser

permisson...
[Android Software Development] The Jinxer:
Thank you for the amazing tool, i do suggest fixing the spelling mistakes though. the term is deactivate, not desactivate... same goes for the hack connectivity app
[Android Software Development] Recognized Noob:
stock rom on new phone. reverse tether getting connectd but cant browse anything. i connected with 3g first. here's log:

09-25 15:09:39:911 W/I Tool version : 3.19

09-25 15:09:39:911 W/I adb.exe

09-25 15:09:39:911 W/I aapt.exe

09-25 15:09:40:048 W/I Android Debug Bridge version 1.0.31

09-25 15:09:42:887 W/I Wait java service

09-25 15:09:43:002 W/I waiting android server connection ... 1

09-25 15:09:43:211 W/I Waiting for connection

09-25 15:09:44:755 L/D HOST : wpds12.hot.corp.google.com

09-25 15:09:44:758 L/D RELEASE : 4.4.4

09-25 15:09:44:758 L/D SDK : 19

09-25 15:09:44:758 L/D FINGERPRINT : google/Sparkle_V/Sparkle_V_sprout:4.4.4/KPW53/1379542:user/release-keys

09-25 15:09:44:758 L/D VM name : Dalvik

09-25 15:09:44:758 L/D OS Arch : armv7l

09-25 15:09:44:759 L/D Reverse tethering package version : 3.19

09-25 15:09:44:767 L/D Xposed installer : 2.7 experimental1, app_process : 58, XposedBridge.jar : 54

09-25 15:09:44:770 L/D Hack Connectivity Service. Package version : 1.2, mode : -1, trace : -1

09-25 15:09:46:213 W/I interfaces before script startip6tnl0(DOWN), ccmni2(DOWN), ccmni1(DOWN), ccmni0(DOWN), tunl0(DOWN) 192.168.1.2/24, lo(UP) 127.0.0.1/8, ifb1(DOWN), ifb0(DOWN), sit0(DOWN)

09-25 15:09:46:373 W/I no route

09-25 15:09:46:396 L/D OnStart script 3.19

09-25 15:09:46:400 L/D Interface to use : "tunl0"

09-25 15:09:47:257 L/D ifconfig tunl0 192.168.1.2 netmask 255.255.255.0

09-25 15:09:47:543 L/D route add default gateway 192.168.1.2 tunl0

09-25 15:09:48:687 L/D redirect all communications to TETHER chain

09-25 15:09:48:970 L/D forward tcp to native handler

09-25 15:09:50:140 L/D OnStart script done

09-25 15:09:50:737 L/D => setHackMode to 'Wifi' result : -1

09-25 15:09:51:391 W/I interfaces after script startip6tnl0(DOWN), ccmni2(DOWN), ccmni1(DOWN), ccmni0(DOWN), tunl0(UP) 192.168.1.2/24, lo(UP) 127.0.0.1/8, ifb1(DOWN), ifb0(DOWN), sit0(DOWN)

09-25 15:09:51:642 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : tunl0

09-25 15:09:51:642 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : tunl0

09-25 15:09:51:642 W/I

09-25 15:09:51:642 W/I Connection done

Server List at 09-25 15:10:04:374

http-alt (8080) : A->H : 0 ,H->A : 0

DNS List

220.226.100.40 (ok)

220.226.6.104 (ok)[default]
[Android Software Development] capslock66:
Problem is on hack module not enabled
[Android Software Development] Recognized Noob:
i enabled it after connecting to internet from the tool. when i activate hack, after rebooting, it reverts back
[Android Software Development] nvo2411:
I installed hack connectivity.

Though on the first run it worked perfectly asking with Google play.

But using it again all applications worked perfectly except play store and now even after disconnecting or clearing data or rebooting, the play store is not working even without reverse tethering or on mobile or Wi-Fi or independently.

I am using 4.4.4.

The same happened with mobile having gingerbread.

Please help
[Android Software Development] Jake2kOne:
Using it on my LG G3 D855. Works great (again). In the past I used it on my SGS2.

On my G3 I had to switch to PTP mode (instead of MTP). Then it installed the needed drivers and it got recognized by ADB.
[Android Software Development] Ash78663:
Thanks Bro Works Awesome......
[Android Software Development] nvo2411:
It's not a problem created by this but by host file. Rectified, now everything works.

This app is great.
[Android Software Development] capslock66:
Can you explain what was the problem ?

I can perhaps detect it on the tool to help other users
[Android Software Development] nvo2411:
Actually i used an app to block ads and in hosts file it was blocking Google play and hence the store was not operating and I thought it was due to reverse tethering, so this problem is not note worthy for you.
[Android Software Development] capslock66:
The application was CrossBreeder ?

Do you still have the content of the hosts file that caused the problem ?
[Android Software Development] nvo2411:
The app is adaway and I don't have any more problem
[Android Software Development] mo5bzn:
Great ! Worked fine for me ^^
[Android Software Development] Private.Indo:
everything was fine when i'm using google dns. and then my IT on office change DNS to the same DNS as my computer IP. if i dont use that dns my computer wont connect to net. now i have problem with dns for reverse tethering, is like wont connect if i'm using dns other than google dns.

any idea?