I have a scenario where I want to use wifi to connect to the internet (comfortably via androids settings) and ethernet for accessing local network which is not connected to the internet.

Thus I want to have both ethernet and wifi up simultaneously and use the routing table to send all the local requests to the ethernet and the default to wifi.

I found out android disables wifi when ethernet is enabled... There has been a fix for an old android version on Android Ethernet and Wi-Fi at the same time

Problem: In Android 9 the file looks different and I cannot find the lines mentioned... I am using a Khadas Vim3 and their android build.

Can you please help me, which lines need to be changed? This is the file: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/pie-release/services/core/java/com/android/server/ConnectivityService.java

Thanks in advance

(This question has also been posted on https://stackoverflow.com/questions/63499840/android-9-ethernet-and-wifi-simulataneously as I am not sure where the right community for my question is.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.