[MOD/Script/App] Ethernet working! update 13

Search This thread

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
No need to go through all that go to my next post.


Now we can all cheer. i got Ethernet working CHEER :victory:

You need busybox,USB Ethernet adapter, and a otg cable
I used Root Explorer to Execute the script just F.Y.I

All you need to do is edit a few lines

Change eth0 192.168.0.102 to the the ip you want like eth0 192.168.1.115 just make sure the ip you chosed is not being used.
Then change gw 192.168.0.1 and net.dns1 192.168.0.1 to your routers ip like gw 192.168.1.1 and net.dns1 192.168.1.1
After that turn off your phone's WiFi then plug in your OTG cable and USB Ethernet adapter
Then run the script and you're golden. :good:

just make sure that the 192.168.(>1<).xxx is the same as your router's.

INJOY!


#!/system/bin/sh
busybox ifconfig eth0 192.168.0.102 netmask 255.255.255.0
route add default gw 192.168.0.1 dev eth0
setprop net.dns1 192.168.0.1

Lets say your router's ip is 192.168.2.1
then it will be for an example:

#!/system/bin/sh
busybox ifconfig eth0 192.168.2.102 netmask 255.255.255.0
route add default gw 192.168.2.1 dev eth0
setprop net.dns1 192.168.2.1


T-Mobile WiFi calling dose not work on Ethernet
but if you know how please tell me how to make it work. :)

if it's to hard to understand please tell me and i will do my best to make it easier.

If you need more help just tell me and i will answer to the best of my knowledge.
o and tell me if it worked for you.
 
Last edited:

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
i hope this is the right Thread i posted in
if not sorry and if a forum moderator can move it
to the right one.
------------------------------------------------------------------------------UPDATE!--------------------------------------------------------------
i found an Xposed framework app that Hacks the Connectivity Service
this allow you to use apps that need wifi to run on eth0/ethernet.
i got the app from here
you can also get the app from the Attach Files.
All credit gos to who ever made the app and to Xposed framework that made it possible.
i just tested it and it works well at lest it lets me downlode apps from google play now.
cheer!!


after a few hours testing I came across this!

#!/system/bin/sh
busybox ifconfig eth0 up
dhcpcd eth0


Just execute that and your golden :victory:
That's all you need to do!
I was like how was that so simple. I still don't believe it but it works!
No need to go through that complicated process.


All you need is: busybox/otg cable/and a USB Ethernet adapter

Just plug in your OTG cable and then your USB Ethernet adapter
Then run the script and your super golden! CHEER!!
Make sure you turn off your WiFi first.


I made an app that dose it all
It needs root only to turn WiFi on/off and that you can see whats it's doing in superSU logs
This is my first app I made I hope it works good for you all

thats faster then my wifi 5g will give me and a better ping too
784818918.png

You can also go herefor the latest version.
You can get the most recent app from Google play
 

Attachments

  • HackConnectivityService.apk
    378.6 KB · Views: 778
Last edited:

Frank Westlake

Senior Member
Nov 13, 2013
644
278
I can't imagine plugging an ethernet cable into the Note 3 -- is this for ADB to a host computer?

Frank
 

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
I can't imagine plugging an ethernet cable into the Note 3 -- is this for ADB to a host computer?

Frank

no it is not. this is for getting internet from an Ethernet cable by using a usb Ethernet adapter.

o and thank you for making me realize that i had errors in my post i fixed them now hopefully.
 
Last edited:

warmonster

Senior Member
May 11, 2011
195
15
Wilmington
This is awesome, I work for a cable company and install gateways and when it come time to set up the Wi-Fi. I either have to run out to my truck to get my work tablet or wait for my customer PC boot up or log in. I always have my note 3 and have the otg cable Ethernet adapter. Going to give this a try.

Sent from my hlte using xda app-developers app
 

Amd4life

Senior Member
Dec 30, 2010
1,893
481
So this is useful in the time you don't have a working cell network? So basically you are using a wired ethernet network, to work as a live Internet connection?

OR, can I for example; my laptop needs a Internet connection, can I tether it to my note 3, using the USB ethernet OTG adapter?
 

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
Amdlife6640o this is useful in the time you don't have a working cell network? So basically you are using a wired ethernet network said:
For the first one yes but wifi calling wont work
For the last one if I onderstand right. I can connect ethernet to my nexus 7 then start a wifi hotSpot and that will work
But I have not tested it on my note 3.
For your aanswer for the last one is I dont think so.
I dont think that's even possible note 3 tethering Internet va usb ethernet adapter to conputer.

If I did not onderstand right sorry
 

warmonster

Senior Member
May 11, 2011
195
15
Wilmington
OK, got it to work on my note 3, don't know how I did it. Hooked it up to router and did some browsing. But when I tried it again I couldn't get it to work.

Sent from my hlte using xda app-developers app
 

warmonster

Senior Member
May 11, 2011
195
15
Wilmington
Just make sure you the Ethernet cable is connected first to the USB Ethernet adapter
Be for you plug it in to you phone

I had a chance to try it this morning with only the app, but no luck. I removed the Tasker file so there wouldn't be any confusion. Now when I plug in the adapter to my phone, I get a pop up for the Ethernet app I click OK and then I see super user grant root then black screen. I hit the button and get to my home screen but no connection. I gave both data and Wi-Fi off.

Sent from my hlte using xda app-developers app
 

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
I had a chance to try it this morning with only the app, but no luck. I removed the Tasker file so there wouldn't be any confusion. Now when I plug in the adapter to my phone, I get a pop up for the Ethernet app I click OK and then I see super user grant root then black screen. I hit the button and get to my home screen but no connection. I gave both data and Wi-Fi off.

Sent from my hlte using xda app-developers app

What dose the supersu logs say
And what butten did you press
 
Last edited:

warmonster

Senior Member
May 11, 2011
195
15
Wilmington
What dose the supersu logs say
And what butten did you press

Ok , the screen shot shows a pop up. I've tried OK and cancel but never make the connection. I've tried starting the before and hitting OK and vice verse. No luck. I think I got to work with Tasker. I'll try the again.

uploadfromtaptalk1396743673063.jpg

Sent from my hlte using xda app-developers app
 

USBhost

Recognized Contributor
Oct 23, 2013
6,007
7,086
u:r:usbhost:s0
OnePlus 8T
OnePlus 12
Ok , the screen shot shows a pop up. I've tried OK and cancel but never make the connection. I've tried starting the before and hitting OK and vice verse. No luck. I think I got to work with Tasker. I'll try the again.

View attachment 2670676

Sent from my hlte using xda app-developers app

In supersu go to settings go to logs in logging change it to full logging
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    No need to go through all that go to my next post.


    Now we can all cheer. i got Ethernet working CHEER :victory:

    You need busybox,USB Ethernet adapter, and a otg cable
    I used Root Explorer to Execute the script just F.Y.I

    All you need to do is edit a few lines

    Change eth0 192.168.0.102 to the the ip you want like eth0 192.168.1.115 just make sure the ip you chosed is not being used.
    Then change gw 192.168.0.1 and net.dns1 192.168.0.1 to your routers ip like gw 192.168.1.1 and net.dns1 192.168.1.1
    After that turn off your phone's WiFi then plug in your OTG cable and USB Ethernet adapter
    Then run the script and you're golden. :good:

    just make sure that the 192.168.(>1<).xxx is the same as your router's.

    INJOY!


    #!/system/bin/sh
    busybox ifconfig eth0 192.168.0.102 netmask 255.255.255.0
    route add default gw 192.168.0.1 dev eth0
    setprop net.dns1 192.168.0.1

    Lets say your router's ip is 192.168.2.1
    then it will be for an example:

    #!/system/bin/sh
    busybox ifconfig eth0 192.168.2.102 netmask 255.255.255.0
    route add default gw 192.168.2.1 dev eth0
    setprop net.dns1 192.168.2.1


    T-Mobile WiFi calling dose not work on Ethernet
    but if you know how please tell me how to make it work. :)

    if it's to hard to understand please tell me and i will do my best to make it easier.

    If you need more help just tell me and i will answer to the best of my knowledge.
    o and tell me if it worked for you.
    3
    i hope this is the right Thread i posted in
    if not sorry and if a forum moderator can move it
    to the right one.
    ------------------------------------------------------------------------------UPDATE!--------------------------------------------------------------
    i found an Xposed framework app that Hacks the Connectivity Service
    this allow you to use apps that need wifi to run on eth0/ethernet.
    i got the app from here
    you can also get the app from the Attach Files.
    All credit gos to who ever made the app and to Xposed framework that made it possible.
    i just tested it and it works well at lest it lets me downlode apps from google play now.
    cheer!!


    after a few hours testing I came across this!

    #!/system/bin/sh
    busybox ifconfig eth0 up
    dhcpcd eth0


    Just execute that and your golden :victory:
    That's all you need to do!
    I was like how was that so simple. I still don't believe it but it works!
    No need to go through that complicated process.


    All you need is: busybox/otg cable/and a USB Ethernet adapter

    Just plug in your OTG cable and then your USB Ethernet adapter
    Then run the script and your super golden! CHEER!!
    Make sure you turn off your WiFi first.


    I made an app that dose it all
    It needs root only to turn WiFi on/off and that you can see whats it's doing in superSU logs
    This is my first app I made I hope it works good for you all

    thats faster then my wifi 5g will give me and a better ping too
    784818918.png

    You can also go herefor the latest version.
    You can get the most recent app from Google play
    2
    I can't imagine plugging an ethernet cable into the Note 3 -- is this for ADB to a host computer?

    Frank

    no it is not. this is for getting internet from an Ethernet cable by using a usb Ethernet adapter.

    o and thank you for making me realize that i had errors in my post i fixed them now hopefully.
    1
    It should be working
    Make sure mobile data is off be for you plug it in
    You only need to start it once,The app starts at boot

    Working now, turned off data before I plug in the cable and now working off my router wired. Sweeeet! Don't understand the black screen after I hit OK on the pop up. But who cares, hit the home and back in business. Thanks for help.

    uploadfromtaptalk1396755805500.jpg

    Sent from my hlte using xda app-developers app
    1
    Working now, turned off data before I plug in the cable and now working off my router wired. Sweeeet! Don't understand the black screen after I hit OK on the pop up. But who cares, hit the home and back in business. Thanks for help.

    View attachment 2670885

    Sent from my hlte using xda app-developers app

    Awesome cheer