0

I was hopping that by copying the c-binary whereis from an Ubuntu 10.4 box to my Android tablet /system/bin folder would work, but somehow it doesn't.

It gives me:

bash: /syste/bin/whereis: cannot execute binary file

I used the program root explorer in Android to give permission rwxr-xr-x and suid to this file, but still not luck.

any suggestion on what to do to make it work?

1 Answer 1

0

You need to compile the binary from source that it can run in Android with ARM processors. The binary from Ubuntu will not run on your phone.

Sign up to request clarification or add additional context in comments.

2 Comments

thank you, and how do I compile 'whereis' binary from source, I'm noobie.
The answer below shows you how to get the source and you need to install make. Now you have to get into detail: There are special build parameters to build an x86 binary or one for x86_64 or ARM. I haven't done this so far, so you have to use your favourite search engine.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.