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

Building Android Tor OP #18

Closed
yaronyg opened this issue Jul 17, 2014 · 0 comments
Closed

Building Android Tor OP #18

yaronyg opened this issue Jul 17, 2014 · 0 comments
Labels

Comments

@yaronyg
Copy link
Member

yaronyg commented Jul 17, 2014

This is really a child of #3

Here were some instructions that Michael Rogers from Briar gave me:

Question #4 - Where did you get the ARM build of Tor? Do you just
follow https://gitweb.torproject.org/orbot.git/blob/HEAD:/BUILD
using the Orbot bits and go from there?

Yup - until recently we had to apply a patch to get the binary to run
on Android API < 9, but that's now been merged upstream so we can
build straight from the Orbot source tree. We strip and zip the binary
and place it in the assets folder of the Android project. (The zipping
may be unnecessary, we should experiment.)

You can also build a binary by following these instructions:

http://bluishcoder.co.nz/2014/06/12/using-tor-with-firefox-os.html

Follow the steps from "Building libevent" to "Building tor", skip the
rest. You'll need to add the '--disable-linker-hardening' and possibly
'--disable-gcc-hardening' flags to the Tor build if you want to use
the binary on older Android API versions, otherwise it'll SIGSEGV.

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

No branches or pull requests

1 participant