yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Themes and Apps] poison469:
Good work. For the most part this is working for me on a Note 10.1 2014 edition, but the dhcpcd eth0 command doesn't seem to take initially.

After I hit the notification to enable eth0, I see the the process run its course. Eth0 goes from down to up and the I see the 'dhcpcd eth0' as the last command. However, eth0 inevitably pulls a 169.x.x.x address.

So I go through busybox and run the dhcpcd eth0 command again, it fails saying "dhcpcd: not found". I run it again and it starts and gets a proper lease from the router and works.

I've tried this several times and always need to run the two follow up "dhcpcd eth0" commands manually before I get a lease, have you experienced this or have a suggestion as to how to fix it?
[Galaxy Note 3 Themes and Apps] USBhost:
That's so odd

This problem happens on your tablet?

I never got that problem on my note 3
[Galaxy Note 3 Themes and Apps] poison469:
Let me try this on my Note 3, maybe it's something I'm doing.

Also, what option are you picking in the 'Hack Connectivity Service'?

And for a suggestion, you should make it turn WiFi back on when you choose to disable eth0 from the notification.
[Galaxy Note 3 Themes and Apps] USBhost:
The wifi hack

It dose turn wifi back on

It just doesn't like to do it when you first install it

Reboot usually fixes the problem
[Galaxy Note 3 Themes and Apps] poison469:
So on my Note 3 I'm having the same experience, must be the way I'm doing it.
[Galaxy Note 3 Themes and Apps] USBhost:
When you install it open it then reboot

Tell me if you get the same results
[Galaxy Note 3 Themes and Apps] poison469:
I rebooted the Note 3, turned on Wifi, the notification popped up to "enable eth0", I hit it and it started, but I got a 169.x.x.x address.

So I uninstalled it, reinstalled it, opened it, rebooted, turned on WiFi, the notification popped up, I clicked it, it didn't do anything for about 30 seconds, so I clicked the notification again, it took about 20 seconds before I saw the messages with the commands and a netcfg in busybox shows a 169.x.x.x

Not sure what I'm doing wrong. From this point I can type the following in busybox

dhcpcd eth0

---- 'dhcpcd{14673}: flock '/data/misc/dhcp/dhcpcd-eth0.pid': Try again

dhcpcd eth0

---- version 5.5.6 starting

---- eth0; rebinding lease 10.1.x.x

Now netcfg shows the proper lease and its actually not working still. Before at this point it did work, but even with the interface up and with an IP its unable to connect to anything.

***UPDATE - I couldn't get it to work although I could ping the gateway address, I get network errors when trying to use Chrome, Speedtest. And now the "Disable eth0" notification isn't working, every time I hit it, it seems to run the "enable eth0" commands.
[Galaxy Note 3 Themes and Apps] USBhost:
I got that to some how I will look in to it

dhcpcd{14673}: flock '/data/misc/dhcp/dhcpcd-eth0.pid': Try again

I know about that Disable eth0 not working

That only happens to me when I uninstall it and install it

Fix it just reboot I will try to fix it

Maby I compiled the app wrong

Looking in to
[Galaxy Note 3 Themes and Apps] USBhost:
Try this one

Uninstall the old one then install this one

Open it Reboot

Tell me how it goes
[Galaxy Note 3 Themes and Apps] poison469:
Testing now...

It didn't work the first time, I went in and the eth0 was up, but again with the 169.x.x.x address. I went to manually do the dhcpcd eth0 command and it denied me because I forgot to type su. I typed su, dhcpcd eth0 and it came up with the 169 address. I hit the disable notification, and hit the enable notification and it came up with my NAT'd IP and is working. Not sure why it fails the first time. Does the app actually use the busybox on my device to execute the commands? Is it missing SU?

FYI - I did this on the Note 10.1 2014, haven't tried on the Note 3 yet.

It also was the first time I've seen the notification popup with my IP in it.

UPDATE: I just rebooted, ran it, 169, disabled, enabled, 169, disabled, enabled 169, disabled, typed SU in busybox, enabled, 10.x.x.x. I'm going to keep testing to see if that was a fluke. It seems to be if I disable/enable enough it will work eventually. Not sure if the su command had anything to do with it.

UPDATE2: It doesn't appear to be SU. I rebooted, ran su in busybox, enabled, 169. Disabled, enabled, 169, disabled enabled, 10.x.x.x. Not really sure what is going on, maybe my router/dhcp server is the issue. I'll try it from a different one. Nevertheless, it does work, just takes a few extra presses. And the version you just posted is displaying the IP in the notification tray, which I hadn't seen before on the other versions even though I've read it was supposed to be there.
[Galaxy Note 3 Themes and Apps] USBhost:
yeah and maybe its your router?

I found out that the IP notification didn't come up

So I fixed it
[Galaxy Note 3 Themes and Apps] USBhost:
Want me to make you [MENTION=563108]poison469[/MENTION] a special version that executes dhcpcd twice?
[Galaxy Note 3 Themes and Apps] USBhost:
V1.4.2

Fixed: the IP notification not displaying.

Did some rearranging of events.
[Galaxy Note 3 Themes and Apps] USBhost:
Have you tried to kill dhcpcd then start it again

Killall dhcpcd
[Galaxy Note 3 Themes and Apps] USBhost:
Test this one

I put the killall dhcpcd

I did remove the ping notification due to it kept giving me problems
[Galaxy Note 3 Themes and Apps] celderic:
Some great progress being made :) thankyou for all the hard work you have put into this.

Sent from my SM-N9005
[Galaxy Note 3 Themes and Apps] poison469:
I haven't, but I'll try that today.

---------- Post added at 12:50 PM ---------- Previous post was at 11:56 AM ----------

Using the 1.4.3 beta I get the same results. I did nothing more than enable it 3 times and it worked. I did not see the killall dhcpcd command being run by the app. I will trying using that command manually to see if it establishes a connection better.
[Galaxy Note 3 Themes and Apps] USBhost:
Look at the superSU logs
[Galaxy Note 3 Themes and Apps] filou-klug:
have you a solution? I hope ...

sorry that I'm impatient ... :rolleyes:
[Galaxy Note 3 Themes and Apps] poison469:
I don't have SuperSU Pro so I can't see the logs.
[Galaxy Note 3 Themes and Apps] USBhost:
Just enable it in settings

To at least just to see what's going on
[Galaxy Note 3 Themes and Apps] USBhost:
I did some research

And you n1 doesn't even have the half ethernet driver

Unless you compile the drivers for your kernel with I don't know how to do
[Galaxy Note 3 Themes and Apps] filou-klug:
I was afraid of that ... :crying:

Nevertheless, thanks for the effort :good:
[Galaxy Note 3 Themes and Apps] USBhost:
Sorry
[Galaxy Note 3 Themes and Apps] schndr777:
Ethernet usb adaptor not detected... :( even I installed android driver in my fone from the cd I rcvd with my adopter.

---------- Post added at 04:47 PM ---------- Previous post was at 04:02 PM ----------

Using note 3 n900..kr ketan rom 4.4.2..hazalsk kernel 0.17
[Galaxy Note 3 Themes and Apps] USBhost:
Don't understand why it won't work

Did you start the app then reboot
[Galaxy Note 3 Themes and Apps] schndr777:
Yup I did so many time...dont knw wt is the prob..not showing ny eth0..in terminal..
[Galaxy Note 3 Themes and Apps] USBhost:
You know it can be your otg cable or ethernet adapter
[Galaxy Note 3 Themes and Apps] schndr777:
everything is fine otg and cable..

everything is fine otg and my usb cable also..i use it to copy from my pen drive daily...using my mouse and keyboard also with the same usb cable.
[Galaxy Note 3 Themes and Apps] USBhost:
V1.4.3

Changed: the ip notification now it's in the disable notification now.

Changed: the event order when you enable it so you won't get a flash text that did not happen.
[Galaxy Note 3 Themes and Apps] schndr777:
Bro hlp in solving my prob..I purchased usb adaptor is useless
[Galaxy Note 3 Themes and Apps] USBhost:
OK what's going on

Pls give me your superSU log of the app
[Galaxy Note 3 Themes and Apps] schndr777:
Log
[Galaxy Note 3 Themes and Apps] schndr777:
I rcvd cd with my adapter containing android driver..one .tar file is there..I installed it with flashify...but I m not sure whether it was installed properly or not.
[Galaxy Note 3 Themes and Apps] USBhost:
OK do this when you plug it in type this in terminal

busybox ifconfig eth0 up

If you see nothing it's ok
[Galaxy Note 3 Themes and Apps] USBhost:
I'm running out of ideas of what to change.

anything you want me to add or change?
[Galaxy Note 3 Themes and Apps] schndr777:
Ipconfig: Applet not found is the error message

---------- Post added at 03:57 PM ---------- Previous post was at 03:56 PM ----------

Cn give if I cn run it successfully...
[Galaxy Note 3 Themes and Apps] USBhost:
Do ifconfig not ipconfig
[Galaxy Note 3 Themes and Apps] schndr777:
Error message "no such device"
[Galaxy Note 3 Themes and Apps] USBhost:
Did you have it plugged in if you did that's not a good sign.

I don't know why if won't work for you

What note 3 do you have

You can Try a different kernel
[Galaxy Note 3 Themes and Apps] schndr777:
Its n900
[Galaxy Note 3 Themes and Apps] schndr777:
I m on stock kernel right nw...earlier I tried on custom

---------- Post added at 08:29 PM ---------- Previous post was at 08:27 PM ----------

Do u hv any idea how to install driver of my ethernet adopter.? I hv got .tar file with its cd.
[Galaxy Note 3 Themes and Apps] USBhost:
I Know You Will Have To Compile The Driver with The Kernel

But I don't know how

I know it works with n900t that's the one I have others said that the n9005 work's.

Maybe your ethernet adapter has a chipset that your note 3 dose not support?
[Galaxy Note 3 Themes and Apps] schndr777:
But the manufacturer has given driver for android..ot means it shoild wrk wid android...but dnt knw may b h r also right..
[Galaxy Note 3 Themes and Apps] USBhost:
V1.4.4

Fixed: the disabe notification not disabling or repeating the enable event. Cheer!

Changed: app icon to something nicer.

Changed: updated flash text.

Changed: event order again.
[Galaxy Note 3 Themes and Apps] zhlvf:
THIS IS ABSOLUTELY GREAT!!! Thank you very much!!! :D
[Galaxy Note 3 Themes and Apps] fredphoesh:
Hi

I downloaded that hackconnectivityservice.apk and ran it, but I don't know what to do with it... i'd MUCH appreciate some instruction if possible, it would be great to get my Android TV BBC iPlayer to work using Ethernet... it does not recognise the ethernet and asks me to connect WiFi.

Thanks!

Mark.
[Galaxy Note 3 Themes and Apps] USBhost:
v1.5

Changed: the enable notification to be invisible in the status bar. So it will no longer full it up.

Changed: one flash text.

Removed: one flash text.

Removed: upside down stop app.

Added: a new notification that, when you start the app it allows you to stop the app.

Cleaned: up some things.
[Galaxy Note 3 Themes and Apps] USBhost:
Select wifi hack

Then enable ethernet

Then check it out

If it works
[Galaxy Note 3 Themes and Apps] USBhost:
V1.5.1

Fixed: a wifi bug.
[Galaxy Note 3 Themes and Apps] Panja:
I have a Nexus 7 (2013) running KitKat 4.4.2 and looking for an OTG + USB ethernet cable.

Do you know if it will work with your app?
[Galaxy Note 3 Themes and Apps] USBhost:
I don't know if it will work

No one has told me if it will work with the n7 2013 yet

But I did read somewhere that all nexus devices had ethernet support

Out of the box. I never questioned it because the n7 2012 has ethernet out of the box.
[Galaxy Note 3 Themes and Apps] Panja:
Thanks for the fast reply.

As far as I know the Nexus 7 II (2013 model) does not have Out of the Box support for ethernet:

https://code.google.com/p/android/issues/detail?id=58868

I think I'll just order a cheap OTG and usb 2 ethernet for dx.com...
[Galaxy Note 3 Themes and Apps] Octanium91:
Very good idea, testing)
[Galaxy Note 3 Themes and Apps] USBhost:
best of luck
[Galaxy Note 3 Themes and Apps] kmz:
I want to try it but it fails to install.

E/PackageManager( 2374): Package xda.usbhost.test requires unavailable shared library com.google.android.maps; failing!

I not use gapps and not want to install it. Why this app needs google maps? Any way to fix this without gmaps?
[Galaxy Note 3 Themes and Apps] zhlvf:
Problem with VPN

Hello usbhost,

thanks for your great app. Everything works on my S4 9505 using Hack Connectivity Service except VPN. If I try to start VPN there is a toast "network not available. Please try again later. I played around with xPrivacy to fix it but no success.

Do you or anybody else here have a solution for this?

Thanks in advance.
[Galaxy Note 3 Themes and Apps] USBhost:
Sorry about that

since I used tasker to make it

It needs the shared library

You can try to install maps then install my app

Then uninstall maps
[Galaxy Note 3 Themes and Apps] USBhost:
If the app has something directly used with wifi

Then it won't work.

I tried looking around for a fix but with no luck sorry
[Galaxy Note 3 Themes and Apps] kmz:
Tried it, but no success.. Separate GMaps app not provides this library. I tried to use only this library from gapps but it not works.. looks like it need something more... :(
[Galaxy Note 3 Themes and Apps] USBhost:
That's so odd

My nexus 7 2012 installs it just fine

And it doesn't have maps
[Galaxy Note 3 Themes and Apps] USBhost:
you can force install it with titanium backup

I can give you the backup files if you want
[Galaxy Note 3 Themes and Apps] USBhost:
Did it work for you?
[Galaxy Note 3 Themes and Apps] Octanium91:
Not yet, but maybe I'm wrong somewhere :)
[Galaxy Note 3 Themes and Apps] USBhost:
I'm sorry

best of luck
[Galaxy Note 3 Themes and Apps] jblack41510:
need help

I got everything I needed for this to work. I got this to use at work. I tried it at home first to see if it works and it did. The first time I connected it at work, it worked fine. No problem at all. But ever since the first time it don't work any more.

I don't know much about internet stuff. I'm I being blocked? Do I need to change some settings? IP stuff?

Thanks

Also I have a nexus 5 on T-Mobile. Rooted with twrp recovery.
[Galaxy Note 3 Themes and Apps] USBhost:
When you have it plugged in do it manually

Budybox ifconfig eth0 up

Dhcpcd eth0

Tell me what happened
[Galaxy Note 3 Themes and Apps] jblack41510:
Ok will try when I get back in a couple of hours.

In I think your telling me to type that in with busybox correct?
[Galaxy Note 3 Themes and Apps] USBhost:
Lol yes

Su

busybox ifconfig eth0 up

Dhcpcd eth0
[Galaxy Note 3 Themes and Apps] USBhost:
Just make sure since you're doing it manually you need to turn off mobile data off

before your run those commands
[Galaxy Note 3 Themes and Apps] jblack41510:
Anyway around this with out CPU access? I thought the app does this. My computer at work don't work. That's another reason i want to do this to browse web on phone.
[Galaxy Note 3 Themes and Apps] USBhost:
CPU access??

Just use terminal emulator
[Galaxy Note 3 Themes and Apps] jblack41510:
When I put Dhcpcd eth0

I get

tmp-mksh: Dhcpcd: not found
[Galaxy Note 3 Themes and Apps] USBhost:
Every android device has is

Or WiFi won't work
[Galaxy Note 3 Themes and Apps] jblack41510:
I think I just caught why I did it wrong.

I put

Dhcpcd eth0

The D should be lowercase d. I'm home and it works. So I will have to try again tomorrow at work
[Galaxy Note 3 Themes and Apps] USBhost:
OK injoy
[Galaxy Note 3 Themes and Apps] coalminer1740:
I'm able to connect at home and work the only difference is I'm able to type in domain names at home. At home I have to ping the website to find the ip and then type it in at work. How can I fix this so I can type the domain in at work. Thanks
[Galaxy Note 3 Themes and Apps] AkiraBBQ:
It works great on the Note 10.1 2014 (P605) with an unbrand usb-ethernet adaptor. Is there an easy way to config static IP? Thank you.
[Galaxy Note 3 Themes and Apps] cerycan:
good idea. i'll try:good:
[Galaxy Note 3 Themes and Apps] USBhost:
http://xdaforums.com/showpost.php?p=51592536&postcount=1

Sorry for the long delay
[Galaxy Note 3 Themes and Apps] USBhost:
V2.1 is out cheers

It now has a GUI

Also the tapping of notifications is now over
[Galaxy Note 3 Themes and Apps] celderic:
Great work :D thanks.
[Galaxy Note 3 Themes and Apps] ivergad:
Question

I have a LG G2 D802, can you tell me if it work? thanks
[Galaxy Note 3 Themes and Apps] USBhost:
I know someone else said it worked on there G2

On one of the reviews on Google play
[Galaxy Note 3 Themes and Apps] USBhost:
V2.2

Added ping test so when you enabled eth0 you can check it

Also did some rearranging
[Galaxy Note 3 Themes and Apps] USBhost:
V2.3

Added info on netcfg

changes to ping
[Galaxy Note 3 Themes and Apps] USBhost:
V 2.4

Changed background image

Fixed a few things
[Galaxy Note 3 Themes and Apps] jayyyy:
Hi,

I can't seem to get this to work and I'm not sure why...

all I get is %NETCFG and in the notification bar it says Enabled IP: %Ttt

I have a Galaxy Note 10.1 2014 wi-fi only (sm-p600) which I was sure I saw somewhere it was tested to work on.

I'm using the same micro USB to RJ45 ethernet adapter that works on my Nexus 7 2013 - could it be because I'm not using an OTG cable (didn't think I'd need it a the adapter is micro USB) or am I doing something else wrong?

I desperately need this to work as I don't use wi-fi so any help would be greatly appreciated.

Thanks for making this available - I don't understand why manufacturers leave ethernet capabilities off their products.

Cheers,

J
[Galaxy Note 3 Themes and Apps] USBhost:
Ok do this in terminal

Netcfg | grep eth0

after you plug in your adapter

Tell me what you get
[Galaxy Note 3 Themes and Apps] jayyyy:
Thanks for the quick reply.

This is what I got:

/system/bin/sh: Netcfg: not found

I just opened a terminal and typed in what you said is that right?

Thanks!
[Galaxy Note 3 Themes and Apps] USBhost:
You don't get this
[Galaxy Note 3 Themes and Apps] jayyyy:
no. I tried it a couple of times. I get the same "not found" each time.
[Galaxy Note 3 Themes and Apps] USBhost:
make sure they're all lower case

Do you have busybox
[Galaxy Note 3 Themes and Apps] jayyyy:
ok, now I get something.

If I just type "netcfg" I get something similar to what you showed. Before I typed "Netcfg | grep eth0" with the capital "N". If I type "netcfg | grep eth0" I just get nothing.

I do have busybox.
[Galaxy Note 3 Themes and Apps] USBhost:
You did plug in your adapter before

If it sshowed nothing then the adapter you have your device's kernel dose not support it

Sorry
[Galaxy Note 3 Themes and Apps] jayyyy:
Yes, I had the adapter plugged in before.

I'll attach a screenshot of what I get now.

Does this mean it should work?
[Galaxy Note 3 Themes and Apps] USBhost:
No

You need to see eth0 in the list

if its not there when its plugged in then i wont work
[Galaxy Note 3 Themes and Apps] jayyyy:
That's no good. :(

btw...where is eth0 supposed to show up as I didn't see it in your screenshot either?

Do you know of any other way I can get wired ethernet to work on it?

Any other methods or mods?

Thanks!
[Galaxy Note 3 Themes and Apps] USBhost:
You can try to compile your kernel with the driver

Buts that beyond me
[Galaxy Note 3 Themes and Apps] jayyyy:
yeah, that's waay beyond me too.

ok, thanks anyway.
[Galaxy Note 3 Themes and Apps] jayyyy:
I just noticed going back through the thread that someone else (on page 8) had pretty much got this working with the same tablet (Galaxy note 10.1 2014) so doesn't that mean I should be able to get it to work? Maybe it's not the kernel? Is there anything else it could be?

fingers crossed 'n hoping!
[Galaxy Note 3 Themes and Apps] USBhost:
Well the point is

That your Ethernet adapter is not supported by your note 10

it's pretty much a gamble of with adapter the device will support

Like it was luck that my adapter worked with both of my nexus 7 and note 3

You can always try different Ethernet adapters

Like the one in the op

since that worked with my note 3 it should work on your note 10
[Galaxy Note 3 Themes and Apps] jayyyy:
Ah, ok. That might be worth a try then. Mine works fine with my Nexus 7 so another one won't go astray if it works.

Thanks
[Galaxy Note 3 Themes and Apps] USBhost:
You know if it doesn't work

You can always make your nexus 7 in to a hot spot

Getting the internet from the Ethernet

Then you can connect your note 10 to it
[Galaxy Note 3 Themes and Apps] jayyyy:
Thanks for the tip but I don't want any wi-fi or other wireless transmissions - that's why I need to be able to connect it to wired ethernet.

If it works for some samsung notes it should work for all I would think...
[Galaxy Note 3 Themes and Apps] USBhost:
o ok

i would think so
[Galaxy Note 3 Themes and Apps] USBhost:
V2.5 will come soon today or tomorrow

It will have some bug fixes

But remember I make it from tasker so

There will be bugs that I can't fix
[Galaxy Note 3 Themes and Apps] USBhost:
V2.5

Fixed some stuff here and there

Made the gui a little bit better looking

And probably other stuff that I don't remember
[Galaxy Note 3 Themes and Apps] Terrarist:
Forgive this noobishness that is enhanced by hunger but I can't figure this out. Will there be a GUI update that allows this?
[Galaxy Note 3 Themes and Apps] USBhost:
most likely not

But i need to learn tasker better in order to try that
[Galaxy Note 3 Themes and Apps] Li3ge1:
Thanks for the great app.

I'm having a problem. Sometimes the app gets disconnected and cannot get the connection back no matter what I do, but next day I'm able to connect again without any problem.

What happens when the connection gets disconnected is that I cannot get internet access even though Ethernet app shows my IP. I have tried to Reboot my device, connect and disconnect the Hack connectivity Service and Disable and Enable under Ethernet app to no avail.

I'm just wondering if you have seen this problem and if there's any workaround.

My device:

LG G2

LG-D800

Cyanogenmod 11

Ethernet 2.5

Hack Connectivity Service

USB Adapter AX88772
[Galaxy Note 3 Themes and Apps] USBhost:
Hmm no

You get the problems

With Hack Connectivity Service apk?

If it is try this one insted

http://xdaforums.com/xposed/modules/app-fake-wifi-connection-t2800416

Edit: please give me your superSU logs when you try to enable it

When it dose not connect
[Galaxy Note 3 Themes and Apps] Terrarist:
:(:(:(

I'd wait but the "most likely not" has me near tears
[T-Mobile LG G2] demoncamber:
OK guys, I'm writing to see if this is normal, but, if you lightly shake your phone side to side do you hear anything slightly moving about up top? Also pop out your Sim and Sim tray and shake again, does it get much louder and sound more loose?

I'm trying to figure out if this is normal and if its just the tray mechanism, or if there is something actually not right with my new phone.

Sent from my LG-D801
[T-Mobile LG G2] demoncamber:
Can someone try the above? I suspect it's my Sim card mechanism and Sim card itself. It fits very loosely into the tray.

Sent from my LG-D801
[T-Mobile LG G2] deathknellx:
I also hear this. Don't know what it is. Maybe it can multitask as a baby rattle.

Seriously it's probably what you said, but it doesn't affect the functionality. I'm not concerned in the least.
[T-Mobile LG G2] Swizzle82:
If you remove the sim tray you can slide your finger nail between the front and back of phone on the sides to pop the back cover off or use an opening tool like on this video. It will give you a better look to see what's going on with the back off.

LG G2 (D802) How to remove the backcover / Disass…: http://youtu.be/qBrXRs9j5jY
[T-Mobile LG G2] buenarc:
I never ad any issues with my phone. working at it's best.
[T-Mobile LG G2] Swizzle82:
That's nice as I've never either, but in the event one feels they might have something loose this is a way they could open the phone to look for themself.
[T-Mobile LG G2] buenarc:
hmmm. that got me into thinking. hope there will be more information here..
[Verizon HTC One (M8)] p2kmafia:
Is there any way to remap hitting both volume buttons at the same time to wake your phone? The top power button is hard to hit sometimes.
[Verizon HTC One (M8)] wtoj34:
You could just use the wake gestures