| Revision 423cbe,
1.1 KB
checked in by Erik Ekman <erik@…>, 4 months ago
(diff) |
|
Added android specific readme file, along with new make targets
Also updated changelog.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 | iodine - http://code.kryo.se/iodine
|
|---|
| 4 |
|
|---|
| 5 | ***********************************
|
|---|
| 6 |
|
|---|
| 7 | Extra README file for Android
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | == Running iodine on Android:
|
|---|
| 11 | 1. Get root access on your android device
|
|---|
| 12 |
|
|---|
| 13 | 2. Find/build a compatible tun.ko for your specific Android kernel
|
|---|
| 14 |
|
|---|
| 15 | 3. Copy tun.ko and the iodine binary to your device:
|
|---|
| 16 | (Almost all devices need the armeabi binary. Only Intel powered
|
|---|
| 17 | ones need the x86 build.)
|
|---|
| 18 |
|
|---|
| 19 | adb push tun.ko /data/local/tmp
|
|---|
| 20 | adb push iodine /data/local/tmp
|
|---|
| 21 | adb shell
|
|---|
| 22 | su
|
|---|
| 23 | cd /data/local/tmp
|
|---|
| 24 | chmod 777 iodine
|
|---|
| 25 |
|
|---|
| 26 | 4. Run iodine (see the man page for parameters)
|
|---|
| 27 |
|
|---|
| 28 | ./iodine ...
|
|---|
| 29 |
|
|---|
| 30 | For more information: http://blog.bokhorst.biz/5123
|
|---|
| 31 |
|
|---|
| 32 | == Building iodine for Android:
|
|---|
| 33 | 1. Download and install the Android SDK and NDK
|
|---|
| 34 |
|
|---|
| 35 | 2. Download and unpack the iodine sources
|
|---|
| 36 |
|
|---|
| 37 | 3. Build:
|
|---|
| 38 | cd src
|
|---|
| 39 | make base64u.h base64u.c
|
|---|
| 40 | ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk
|
|---|
| 41 |
|
|---|
| 42 | or run "make cross-android" in the iodine root directory.
|
|---|
| 43 | To build for other archs, specify TARGET_ARCH_ABI:
|
|---|
| 44 | "make cross-android TARGET_ARCH_ABI=x86"
|
|---|
| 45 |
|
|---|
Note: See
TracBrowser
for help on using the repository browser.