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

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