Skip to content
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

mtr in android #182

Open
zhangmengxiong opened this issue Jan 11, 2017 · 5 comments
Open

mtr in android #182

zhangmengxiong opened this issue Jan 11, 2017 · 5 comments

Comments

@zhangmengxiong
Copy link

zhangmengxiong commented Jan 11, 2017

mtr project is most helpfull in my project
but i cant use it in my android STB,have someone can provide a android version for me or tell me what can i do for this?
android version in 4.0 to 6.0
most thanks!

@rewolff
Copy link
Collaborator

rewolff commented Jan 11, 2017

Even though Android uses the linux kernel, the interface with the user is totally different. I don't think an android port is easy or doable.

@matt-kimball
Copy link
Contributor

@zhangmengxiong, how are you trying to use mtr? For example, are you trying to use report mode (or a similar non-interactive mode) programatically? Or were you expecting a user interface?

What goes wrong?

I think the non-interactive modes of mtr should work on Android, if you have root. However, I haven't tried it, and getting root on Android devices is often not an option.

@kasper93
Copy link
Contributor

I don't have root and it is required to run mtr or traceroute for that matter.

If someone with root wants to try, simply compile mtr for android and try it in any terminal emulator. Should work out of the bat. If you don't know how to do that I think this project is not for you. And if you want GUI based application there are some on google play.

@zhangmengxiong
Copy link
Author

@matt-kimball @kasper93
I have root in my device,not need a user interface.
Only need a result for command 'mtr -c 100 -n --report www.google.com',way of java or jni is ok for me but not c

@Rudloff
Copy link

Rudloff commented May 7, 2017

Porting mtr to Termux (Android CLI environment) is discussed here: termux/termux-packages#305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants