modified tor-android to make it actually build tor for android

dx a53673fd33 Update 10 months ago
external 90bb11c8bb Disabled systemd and removed creating an APK from the script 10 months ago
gradle 78f79236ec sync gradle wrapper and add SHA-256 checks, use versions from Debian 3 years ago
sampletorapp 24f0d49759 Sample targets API 30 for #58 1 year ago
tor-android-binary 691bcb5c31 bump jtorctl to 1 year ago
.gitignore 91157d9e63 remove old eclipse .project, duplicate .gitignore entry 1 year ago
.gitlab-ci.yml 023d8c3a27 gitlab-ci: pin sdkmanager version for reliably operation 1 year ago
.gitmodules f191a628d5 move patches into tor-android-0.4.1 branch in our tor fork 3 years ago
AUTHORS b48bbc1487 updated AUTHORS for amoghbl1 9 years ago
BUILD 8383c1abbc remove polipo 5 years ago
LICENSE cc3c4514e8 update license for better Obfs4proxy display 5 years ago a53673fd33 Update 10 months ago
Vagrantfile e8ffc7b8d9 Vagrantfile: fix Debian install errors that need human interaction 1 year ago
build.gradle 04d249d953 Add instrumentation test to reproduce #57 1 year ago 090f685b88 update gradle and build settings 3 years ago
gradlew 99eb75aeaf update gradle to 4.5.1 5 years ago
gradlew.bat 99eb75aeaf update gradle to 4.5.1 5 years ago dbfdf4d9f2 text file change 4 years ago
settings.gradle de630b45cb add simple sample app 4 years ago 90bb11c8bb Disabled systemd and removed creating an APK from the script 10 months ago

Tor Android

This is a project forked from Orbot for building the tor binary for Android

How to Build

to get android ".so's":

git clone

#docker is optional and you can run on virtually any distro with changing how to install packages

#replace the first Android with the directory of your ANDROID_HOME

docker run -v $(pwd)/tor-android/:/tor-android -v Android:/Android --network=host -it debian /bin/bash

#replace the ndk home with your own #make sure ndk directory exists

export ANDROID_NDK_HOME=/Android/Sdk/ndk/21.3.6528147 export ANDROID_HOME=/Android

apt-get update

apt-get install default-jdk -y &&

apt-get install autotools-dev libsystemd-dev -y &&

apt-get install automake autogen autoconf libtool gettext-base systemd* -y &&

apt-get install autopoint git make pkg-config systemd build-essential -y &&

apt-get install automake libevent-dev libssl-dev zlib1g-dev libsystemd* -y &&

apt-get install gcc-arm-linux-gnueabihf -y

cd /tor-android

git checkout

./ fetch

export APP_ABI=x86



make -C external clean tor

./ build

#rename x86

cd external/lib/x86


#rename x86_64

cd ../x86_64


#rename arm

cd ../armeabi-v7a


#rename arm64

cd ../arm64-v8a


cd ../../..

echo "the .so's are in external/lib/x86 external/lib/x86_64 external/lib/armeabi-v7a external/lib/arm64-v8a "