-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not work on Android that are Linux too. #8
Comments
Is there any specific error message when running on Android? |
no, just the syscall.BindToDevice return non nil value (err), i have root on my phone with Magisk and i have busybox and extras, i have Android 9 close to stock rom, my phone support aarch64 (ARM v8-A). |
so, you have any idea how we can try to make compatible with Android? |
Didn't get a chance to work on this yet. How are you compiling for Android? I think |
yes, i did it as |
Tested go-dispatch-proxy on an Android emulator and it's working fine. It's for x86 though not ARM. Traffic is dispatched across two interfaces. Command used to compile (Requires Android NDK) x86
ARM64
The ARM64 version hasn't been tested. Binaries attached. go-dispatch-proxy-android-x86.zip |
I will test it now and i will tell you if is working or not. |
Nope, on arm64 or on arm in general not work, the error message is: |
Are you running it with root privileges? |
Yes, with su -c ./go-dispatch-proxy |
I think is the problem is ARM not code, but im not sure. |
I have |
Can you test if it works on an Android emulator? |
btw, golang have builtin android compiler, so, is not necessary to an external compiler. |
I tested on my phone that is android 9 (Pie) AOSP and is rooted with Magisk. |
My PC is low end and i not think so, my CPU is E8200 and 4 GB of RAM of DDR2. |
You said you not tested for ARM64 but tested the x86 on emulator. |
Can give me the link of website of iso or img for x86 Android? |
About this. AFAIK Setting
Yep, Just tested the x86 version
|
Thanks, i compiled the other programs for Android on ARM64 and i not have any problems with builtin compiler. |
Do not forget to mention this command for some Linux systems that have an conflict with this program. |
Ubuntu or Debian based systems have this conflict in general. |
Hello again, did you find an workaround for Android on ARM processors? |
Hello again, i fixed the problem on Android, the real problem was ARM not the system, so ARM thinks different and need to have IP address instead of site or web address. Thanks anticipated for trying to help me. |
Hi, im Alex and i have your open source project that i work on it for more options, more stable and complex but in sametime simple and light, the problem is syscall.BindToDevice not work on Android but wikipedia saids is Linux too, thats normal or needs different code for this system?
PS: I love your work man, i very appreciate and thanks for open source and MIT license, when i will have some money i will donate to you.
The text was updated successfully, but these errors were encountered: