2012-02-05 01:36:15 +02:00
|
|
|
|
|
|
|
|
2018-03-24 16:00:37 +02:00
|
|
|
iodine - https://code.kryo.se/iodine
|
2012-02-05 01:36:15 +02:00
|
|
|
|
|
|
|
***********************************
|
|
|
|
|
|
|
|
Extra README file for Android
|
|
|
|
|
|
|
|
|
|
|
|
== Running iodine on Android:
|
|
|
|
1. Get root access on your android device
|
|
|
|
|
|
|
|
2. Find/build a compatible tun.ko for your specific Android kernel
|
|
|
|
|
|
|
|
3. Copy tun.ko and the iodine binary to your device:
|
2015-08-05 20:33:50 +03:00
|
|
|
(Almost all devices need the armeabi binary. Only Intel powered
|
2012-02-05 01:36:15 +02:00
|
|
|
ones need the x86 build.)
|
|
|
|
|
|
|
|
adb push tun.ko /data/local/tmp
|
|
|
|
adb push iodine /data/local/tmp
|
|
|
|
adb shell
|
|
|
|
su
|
|
|
|
cd /data/local/tmp
|
|
|
|
chmod 777 iodine
|
|
|
|
|
|
|
|
4. Run iodine (see the man page for parameters)
|
|
|
|
|
|
|
|
./iodine ...
|
|
|
|
|
|
|
|
For more information: http://blog.bokhorst.biz/5123
|
|
|
|
|
|
|
|
== Building iodine for Android:
|
|
|
|
1. Download and install the Android SDK and NDK
|
|
|
|
|
|
|
|
2. Download and unpack the iodine sources
|
|
|
|
|
|
|
|
3. Build:
|
2015-08-05 20:33:50 +03:00
|
|
|
cd src
|
|
|
|
make base64u.h base64u.c
|
2017-10-22 13:01:46 +03:00
|
|
|
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.16.mk APP_PLATFORM=android-16
|
2012-02-05 01:36:15 +02:00
|
|
|
|
|
|
|
or run "make cross-android" in the iodine root directory.
|
2015-08-05 20:33:50 +03:00
|
|
|
To build for other archs, specify TARGET_ARCH_ABI:
|
2012-02-05 01:36:15 +02:00
|
|
|
"make cross-android TARGET_ARCH_ABI=x86"
|
|
|
|
|
2015-08-07 10:54:49 +03:00
|
|
|
For older android versions (pre-kitkat), build with "make cross-android-old" in the
|
2017-10-22 13:01:46 +03:00
|
|
|
root directory, or manually like above but with APP_PLATFORM=android-3 and with
|
|
|
|
APP_BUILD_SCRIPT=Android.mk
|
2015-08-05 20:33:50 +03:00
|
|
|
|
|
|
|
The iodine binary ends up in src/libs/<arch>/iodine
|