A xSocks client for Android

Related tags

App xSocks-android
Overview

Xsocks for Android

A xSocks client for Android.

PREREQUISITES

  • JDK 1.8+
  • Android SDK r22+
  • Android NDK r9+
  • Android Studio 1.0+ (optional)

BUILD

    android {
        signingConfigs {
            release {
                storeFile file('/home/user/keystore/android.key')
                    storePassword "password"
                    keyAlias 'Android App Key'
                    keyPassword "password"
            }
        }
    }
  • Build native binaries
    git submodule update --init
    make

Gradle Build

    gradle clean assembleRelease

Android Studio

  • Import the project in Android Studio
  • Make Project in Android Studio

LICENSE

Copyright (C) 2015 lparam

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Comments
  • Unable to Make project

    Unable to Make project

    Hello,

    i tried to make the JNI libs as instructed in the read me file but its complaining some files do not exist. Below is the console output. Any idea if i am missing anything?

    install: jni/xSocks/xSocks-android-i686/xSocks: No such file or directory install: jni/xSocks/xSocks-android-i686/xForwarder: No such file or directory install: jni/xSocks/xSocks-android-armv7-a/xSocks: No such file or directory install: jni/xSocks/xSocks-android-armv7-a/xForwarder: No such file or directory

    make if [ a == a/Users/algingihy/Library/Android/android-ndk-r10e ]; then
    echo ANDROID_NDK_HOME is not set ;
    exit 1 ;
    fi ;
    pushd jni/xSocks || exit 1 ;
    dist-build/android-x86.sh || exit 1 ;
    dist-build/android-armv7-a.sh || exit 1 ;
    popd ;
    pushd jni ;
    /Users/algingihy/Library/Android/android-ndk-r10e/ndk-build NDK_LOG=1 V=0 || exit 1 ;
    popd ;
    rm -rf app/src/main/assets/x86 ;
    rm -rf app/src/main/assets/armeabi-v7a ;
    mkdir -p app/src/main/assets/x86 ;
    mkdir -p app/src/main/assets/armeabi-v7a ;
    install -d app/src/main/jniLibs/x86 ;
    install -d app/src/main/jniLibs/armeabi-v7a ;
    install libs/x86/pdnsd app/src/main/assets/x86 ;
    install libs/x86/tun2socks app/src/main/assets/x86 ;
    install libs/x86/libsystem.so app/src/main/jniLibs/x86 ;
    install libs/armeabi-v7a/pdnsd app/src/main/assets/armeabi-v7a ;
    install libs/armeabi-v7a/tun2socks app/src/main/assets/armeabi-v7a ;
    install libs/armeabi-v7a/libsystem.so app/src/main/jniLibs/armeabi-v7a ;
    install jni/xSocks/xSocks-android-i686/xSocks app/src/main/assets/x86 ;
    install jni/xSocks/xSocks-android-i686/xForwarder app/src/main/assets/x86 ;
    install jni/xSocks/xSocks-android-armv7-a/xSocks app/src/main/assets/armeabi-v7a ;
    install jni/xSocks/xSocks-android-armv7-a/xForwarder app/src/main/assets/armeabi-v7a ; ~/xSocks-android/jni/xSocks ~/xSocks-android

    • glibtoolize
    • aclocal -I m4
    • autoconf
    • automake --add-missing --copy checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-linux-android-strip... i686-linux-android-strip checking for a thread-safe mkdir -p... /Users/algingihy/xSocks-android/jni/xSocks/3rd/libuv/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes configure: error: source directory already configured; run "make distclean" there first make[1]: *** [/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-i686/3rd/libuv/Makefile] Error 1 i686-linux-android-strip: '/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-i686/xSocks': No such file i686-linux-android-strip: '/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-i686/xForwarder': No such file xSocks has been installed into /Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-i686
    • glibtoolize
    • aclocal -I m4
    • autoconf
    • automake --add-missing --copy checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /Users/algingihy/xSocks-android/jni/xSocks/3rd/libuv/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes configure: error: source directory already configured; run "make distclean" there first make[1]: *** [/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-armv7-a/3rd/libuv/Makefile] Error 1 arm-linux-androideabi-strip: '/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-armv7-a/xSocks': No such file arm-linux-androideabi-strip: '/Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-armv7-a/xForwarder': No such file xSocks has been installed into /Users/algingihy/xSocks-android/jni/xSocks/xSocks-android-armv7-a ~/xSocks-android ~/xSocks-android/jni ~/xSocks-android HOST_OS=darwin HOST_ARCH=x86_64 HOST_TAG=darwin-x86_64 GNUMAKE=/Users/algingihy/Library/Android/android-ndk-r10e/prebuilt/darwin-x86_64/bin/make (NDK prebuilt) Android NDK: NDK installation path auto-detected: '/Users/algingihy/Library/Android/android-ndk-r10e' Android NDK: GNU Make version 3.81 detected Android NDK: Host OS was auto-detected: darwin Android NDK: Host operating system detected: darwin Android NDK: Host CPU was auto-detected: x86 Android NDK: HOST_TAG set to darwin-x86 Android NDK: Host tools prebuilt directory: /Users/algingihy/Library/Android/android-ndk-r10e/prebuilt/darwin-x86_64/bin Android NDK: Host 'echo' tool: echo Android NDK: Host 'echo -n' tool: printf %s Android NDK: Host 'cmp' tool: cmp Android NDK: Host 'awk' tool: /Users/algingihy/Library/Android/android-ndk-r10e/prebuilt/darwin-x86_64/bin/awk Android NDK: Host 'awk' test returned: Pass Android NDK: Found platform root directory: /Users/algingihy/Library/Android/android-ndk-r10e/platforms Android NDK: Found supported platforms: android-12 android-13 android-14 android-15 android-16 android-17 android-18 android-19 android-21 android-3 android-4 android-5 android-8 android-9 Android NDK: PLATFORM android-12 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-12/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-12/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-12/arch-x86 Android NDK: PLATFORM android-13 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-13/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-13/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-13/arch-x86 Android NDK: PLATFORM android-14 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-14/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-14/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-14/arch-x86 Android NDK: PLATFORM android-15 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-15/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-15/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-15/arch-x86 Android NDK: PLATFORM android-16 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-16/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-16/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-16/arch-x86 Android NDK: PLATFORM android-17 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-17/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-17/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-17/arch-x86 Android NDK: PLATFORM android-18 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-18/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-18/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-18/arch-x86 Android NDK: PLATFORM android-19 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-19/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-19/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-19/arch-x86 Android NDK: PLATFORM android-21 supports: arm arm64 mips mips64 x86 x86_64 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-arm Android NDK: ABI arm64 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-arm64 Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-mips Android NDK: ABI mips64 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-mips64 Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-x86 Android NDK: ABI x86_64 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-21/arch-x86_64 Android NDK: PLATFORM android-3 supports: arm Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-3/arch-arm Android NDK: PLATFORM android-4 supports: arm Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-4/arch-arm Android NDK: PLATFORM android-5 supports: arm Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-5/arch-arm Android NDK: PLATFORM android-8 supports: arm Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-8/arch-arm Android NDK: PLATFORM android-9 supports: arm mips x86 Android NDK: ABI arm sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-9/arch-arm Android NDK: ABI mips sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-9/arch-mips Android NDK: ABI x86 sysroot is: /Users/algingihy/Library/Android/android-ndk-r10e/platforms/android-9/arch-x86 Android NDK: Found stable platform levels: 12 13 14 15 16 17 18 19 21 3 4 5 8 9 Android NDK: Found max platform level: 21 Android NDK: This NDK supports the following target architectures and ABIS: Android NDK: arm: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm64: arm64-v8a Android NDK: mips: mips Android NDK: mips64: mips64 Android NDK: x86: x86 Android NDK: x86_64: x86_64 Android NDK: This NDK supports the following toolchains and target ABIs: Android NDK: aarch64-linux-android-4.9: arm64-v8a Android NDK: aarch64-linux-android-clang3.5: arm64-v8a Android NDK: aarch64-linux-android-clang3.6: arm64-v8a Android NDK: arm-linux-androideabi-4.8: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm-linux-androideabi-4.9: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm-linux-androideabi-clang3.5: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm-linux-androideabi-clang3.6: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: mips64el-linux-android-4.9: mips64 Android NDK: mips64el-linux-android-clang3.5: mips64 Android NDK: mips64el-linux-android-clang3.6: mips64 Android NDK: mipsel-linux-android-4.8: mips Android NDK: mipsel-linux-android-4.9: mips Android NDK: mipsel-linux-android-clang3.5: mips Android NDK: mipsel-linux-android-clang3.6: mips Android NDK: x86-4.8: x86 Android NDK: x86-4.9: x86 Android NDK: x86-clang3.5: x86 Android NDK: x86-clang3.6: x86 Android NDK: x86_64-4.9: x86_64 Android NDK: x86_64-clang3.5: x86_64 Android NDK: x86_64-clang3.6: x86_64 Android NDK: Looking for jni/Android.mk in /Users/algingihy/xSocks-android/jni Android NDK: Looking for jni/Android.mk in /Users/algingihy/xSocks-android Android NDK: Found it ! Android NDK: Found project path: /Users/algingihy/xSocks-android Android NDK: Ouput path for intermediate files: /Users/algingihy/xSocks-android/obj Android NDK: Ouput path for generated library files: /Users/algingihy/xSocks-android/libs Android NDK: Parsing /Users/algingihy/xSocks-android/jni/Application.mk Android NDK: APP_PIE is Android NDK: Enabling -fPIE Android NDK: Defaulted to APP_BUILD_SCRIPT=/Users/algingihy/xSocks-android/jni/Android.mk Android NDK: Application 'local' is not debuggable Android NDK: Selecting release optimization mode (app is not debuggable) Android NDK: Adding import directory: /Users/algingihy/Library/Android/android-ndk-r10e/sources Android NDK: Building application 'local' for ABI 'x86' Android NDK: Enabling -fPIE for TARGET_PLATFORM android-16 Android NDK: Using target toolchain 'x86-4.9' for 'x86' ABI (through NDK_TOOLCHAIN_VERSION) Android NDK: Looking for imported module with tag 'cxx-stl/stlport' Android NDK: Probing /Users/algingihy/Library/Android/android-ndk-r10e/sources/cxx-stl/stlport/Android.mk Android NDK: Found in /Users/algingihy/Library/Android/android-ndk-r10e/sources/cxx-stl/stlport Android NDK: Using prebuilt STLport libraries Android NDK: Looking for imported module with tag 'android/cpufeatures' Android NDK: Probing /Users/algingihy/Library/Android/android-ndk-r10e/sources/android/cpufeatures/Android.mk Android NDK: Found in /Users/algingihy/Library/Android/android-ndk-r10e/sources/android/cpufeatures Android NDK: Module 'system' has C++ sources Android NDK: Add dependency 'stlport_static' to module 'system' Android NDK: [x86] Modules to build: pdnsd system tun2socks Android NDK: Building application 'local' for ABI 'armeabi-v7a' Android NDK: Enabling -fPIE for TARGET_PLATFORM android-16 Android NDK: Using target toolchain 'arm-linux-androideabi-4.9' for 'armeabi-v7a' ABI (through NDK_TOOLCHAIN_VERSION) Android NDK: Looking for imported module with tag 'cxx-stl/stlport' Android NDK: Probing /Users/algingihy/Library/Android/android-ndk-r10e/sources/cxx-stl/stlport/Android.mk Android NDK: Found in /Users/algingihy/Library/Android/android-ndk-r10e/sources/cxx-stl/stlport Android NDK: Using prebuilt STLport libraries Android NDK: Looking for imported module with tag 'android/cpufeatures' Android NDK: Probing /Users/algingihy/Library/Android/android-ndk-r10e/sources/android/cpufeatures/Android.mk Android NDK: Found in /Users/algingihy/Library/Android/android-ndk-r10e/sources/android/cpufeatures Android NDK: Module 'system' has C++ sources Android NDK: Add dependency 'stlport_static' to module 'system' Android NDK: [armeabi-v7a] Modules to build: pdnsd system tun2socks make[1]: Entering directory /Users/algingihy/xSocks-android/jni' [x86] Install : pdnsd => libs/x86/pdnsd [x86] Install : libsystem.so => libs/x86/libsystem.so [x86] Install : tun2socks => libs/x86/tun2socks [armeabi-v7a] Install : pdnsd => libs/armeabi-v7a/pdnsd [armeabi-v7a] Install : libsystem.so => libs/armeabi-v7a/libsystem.so [armeabi-v7a] Install : tun2socks => libs/armeabi-v7a/tun2socks make[1]: Leaving directory/Users/algingihy/xSocks-android/jni' ~/xSocks-android install: jni/xSocks/xSocks-android-i686/xSocks: No such file or directory install: jni/xSocks/xSocks-android-i686/xForwarder: No such file or directory install: jni/xSocks/xSocks-android-armv7-a/xSocks: No such file or directory install: jni/xSocks/xSocks-android-armv7-a/xForwarder: No such file or directory make: *** [app/src/main/jniLibs/armeabi/libsystem.so] Error 71
    opened by aalgingi 2
  • Deploying xSocksd on Android Device

    Deploying xSocksd on Android Device

    Hello,

    can i deploying xSocksd backend on the client android device and point the client app to 127.0.0.1:PORT ?

    i know this sound unless but i would like to test a network concept i have in mind.

    opened by aalgingi 1
  • unable to make the jni files .

    unable to make the jni files .

    root@debian:/home/oplus/Desktop/xSocks-android# make if [ a == a/home/oplus/Desktop/android-ndk-r11c/ ]; then
    echo ANDROID_NDK_HOME is not set ;
    exit 1 ;
    fi ;
    pushd jni/xSocks || exit 1 ;
    dist-build/android-x86.sh || exit 1 ;
    dist-build/android-armv7-a.sh || exit 1 ;
    popd ;
    pushd jni ;
    /home/oplus/Desktop/android-ndk-r11c//ndk-build NDK_LOG=1 V=0 || exit 1 ;
    popd ;
    rm -rf app/src/main/assets/x86 ;
    rm -rf app/src/main/assets/armeabi-v7a ;
    mkdir -p app/src/main/assets/x86 ;
    mkdir -p app/src/main/assets/armeabi-v7a ;
    install -d app/src/main/jniLibs/x86 ;
    install -d app/src/main/jniLibs/armeabi-v7a ;
    install libs/x86/pdnsd app/src/main/assets/x86 ;
    install libs/x86/tun2socks app/src/main/assets/x86 ;
    install libs/x86/libsystem.so app/src/main/jniLibs/x86 ;
    install libs/armeabi-v7a/pdnsd app/src/main/assets/armeabi-v7a ;
    install libs/armeabi-v7a/tun2socks app/src/main/assets/armeabi-v7a ;
    install libs/armeabi-v7a/libsystem.so app/src/main/jniLibs/armeabi-v7a ;
    install jni/xSocks/xSocks-android-i686/xSocks app/src/main/assets/x86 ;
    install jni/xSocks/xSocks-android-i686/xForwarder app/src/main/assets/x86 ;
    install jni/xSocks/xSocks-android-armv7-a/xSocks app/src/main/assets/armeabi-v7a ;
    install jni/xSocks/xSocks-android-armv7-a/xForwarder app/src/main/assets/armeabi-v7a ; /home/oplus/Desktop/xSocks-android/jni/xSocks /home/oplus/Desktop/xSocks-android make[1]: Entering directory '/home/oplus/Desktop/xSocks-android/jni/xSocks' Cloning into '3rd/c-ares'... fatal: unable to access 'https://github.com/bagder/c-ares/': Could not resolve host: github.com Clone of 'https://github.com/bagder/c-ares' into submodule path '3rd/c-ares' failed Makefile:129: recipe for target '3rd/libuv/autogen.sh' failed make[1]: *** [3rd/libuv/autogen.sh] Error 1 make[1]: Leaving directory '/home/oplus/Desktop/xSocks-android/jni/xSocks' i686-linux-android-strip: '/home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-i686/xSocks': No such file i686-linux-android-strip: '/home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-i686/xForwarder': No such file xSocks has been installed into /home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-i686 make[1]: Entering directory '/home/oplus/Desktop/xSocks-android/jni/xSocks' Cloning into '3rd/c-ares'... fatal: unable to access 'https://github.com/bagder/c-ares/': Could not resolve host: github.com Clone of 'https://github.com/bagder/c-ares' into submodule path '3rd/c-ares' failed Makefile:129: recipe for target '3rd/libuv/autogen.sh' failed make[1]: *** [3rd/libuv/autogen.sh] Error 1 make[1]: Leaving directory '/home/oplus/Desktop/xSocks-android/jni/xSocks' arm-linux-androideabi-strip: '/home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-armv7-a/xSocks': No such file arm-linux-androideabi-strip: '/home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-armv7-a/xForwarder': No such file xSocks has been installed into /home/oplus/Desktop/xSocks-android/jni/xSocks/xSocks-android-armv7-a /home/oplus/Desktop/xSocks-android /home/oplus/Desktop/xSocks-android/jni /home/oplus/Desktop/xSocks-android HOST_OS=linux HOST_ARCH=x86_64 HOST_TAG=linux-x86 (no 64-bit prebuilt binaries detected) GNUMAKE=/usr/bin/make (system path) make[1]: Entering directory '/home/oplus/Desktop/xSocks-android/jni' Android NDK: NDK installation path auto-detected: '/home/oplus/Desktop/android-ndk-r11c' Android NDK: GNU Make version 4.0 detected Android NDK: Host OS was auto-detected: linux Android NDK: Host operating system detected: linux Android NDK: Host CPU was auto-detected: x86 Android NDK: HOST_TAG set to linux-x86 Android NDK: Host tools prebuilt directory: /home/oplus/Desktop/android-ndk-r11c/prebuilt/linux-x86_64/bin Android NDK: Host 'echo' tool: echo Android NDK: Host 'echo -n' tool: printf %s Android NDK: Host 'cmp' tool: cmp Android NDK: Host 'awk' tool: /home/oplus/Desktop/android-ndk-r11c/prebuilt/linux-x86_64/bin/awk Android NDK: Host 'awk' test returned: Pass Android NDK: Found platform root directory: /home/oplus/Desktop/android-ndk-r11c/platforms Android NDK: Found supported platforms: android-23 android-5 android-16 android-21 android-12 android-9 android-8 android-15 android-14 android-3 android-13 android-19 android-18 android-17 android-24 android-4 Android NDK: PLATFORM android-23 supports: mips x86_64 arm mips64 x86 arm64 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-mips Android NDK: ABI x86_64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-x86_64 Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-arm Android NDK: ABI mips64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-mips64 Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-x86 Android NDK: ABI arm64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-23/arch-arm64 Android NDK: PLATFORM android-5 supports: arm Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-5/arch-arm Android NDK: PLATFORM android-16 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-16/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-16/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-16/arch-x86 Android NDK: PLATFORM android-21 supports: mips x86_64 arm mips64 x86 arm64 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-mips Android NDK: ABI x86_64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-x86_64 Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-arm Android NDK: ABI mips64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-mips64 Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-x86 Android NDK: ABI arm64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-21/arch-arm64 Android NDK: PLATFORM android-12 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-12/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-12/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-12/arch-x86 Android NDK: PLATFORM android-9 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-9/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-9/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-9/arch-x86 Android NDK: PLATFORM android-8 supports: arm Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-8/arch-arm Android NDK: PLATFORM android-15 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-15/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-15/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-15/arch-x86 Android NDK: PLATFORM android-14 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-14/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-14/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-14/arch-x86 Android NDK: PLATFORM android-3 supports: arm Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-3/arch-arm Android NDK: PLATFORM android-13 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-13/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-13/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-13/arch-x86 Android NDK: PLATFORM android-19 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-19/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-19/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-19/arch-x86 Android NDK: PLATFORM android-18 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-18/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-18/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-18/arch-x86 Android NDK: PLATFORM android-17 supports: mips arm x86 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-17/arch-mips Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-17/arch-arm Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-17/arch-x86 Android NDK: PLATFORM android-24 supports: mips x86_64 arm mips64 x86 arm64 Android NDK: ABI mips sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-mips Android NDK: ABI x86_64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-x86_64 Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-arm Android NDK: ABI mips64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-mips64 Android NDK: ABI x86 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-x86 Android NDK: ABI arm64 sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-24/arch-arm64 Android NDK: PLATFORM android-4 supports: arm Android NDK: ABI arm sysroot is: /home/oplus/Desktop/android-ndk-r11c/platforms/android-4/arch-arm Android NDK: Found stable platform levels: 23 5 16 21 12 9 8 15 14 3 13 19 18 17 24 4 Android NDK: Found max platform level: 24 Android NDK: This NDK supports the following target architectures and ABIS: Android NDK: arm: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm64: arm64-v8a Android NDK: mips: mips Android NDK: mips64: mips64 Android NDK: x86: x86 Android NDK: x86_64: x86_64 Android NDK: This NDK supports the following toolchains and target ABIs: Android NDK: aarch64-linux-android-4.9: arm64-v8a Android NDK: aarch64-linux-android-clang3.6: arm64-v8a Android NDK: arm-linux-androideabi-4.9: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: arm-linux-androideabi-clang3.6: armeabi armeabi-v7a armeabi-v7a-hard Android NDK: mips64el-linux-android-4.9: mips64 Android NDK: mips64el-linux-android-clang3.6: mips64 Android NDK: mipsel-linux-android-4.9: mips Android NDK: mipsel-linux-android-clang3.6: mips Android NDK: x86-4.9: x86 Android NDK: x86-clang3.6: x86 Android NDK: x86_64-4.9: x86_64 Android NDK: x86_64-clang3.6: x86_64 Android NDK: Looking for jni/Android.mk in /home/oplus/Desktop/xSocks-android/jni Android NDK: Looking for jni/Android.mk in /home/oplus/Desktop/xSocks-android Android NDK: Found it ! Android NDK: Found project path: /home/oplus/Desktop/xSocks-android Android NDK: Ouput path for intermediate files: /home/oplus/Desktop/xSocks-android/obj Android NDK: Ouput path for generated library files: /home/oplus/Desktop/xSocks-android/libs Android NDK: Parsing /home/oplus/Desktop/xSocks-android/jni/Application.mk Android NDK: APP_PIE is Android NDK: Enabling -fPIE Android NDK: Defaulted to APP_BUILD_SCRIPT=/home/oplus/Desktop/xSocks-android/jni/Android.mk Android NDK: Application 'local' is not debuggable Android NDK: Selecting release optimization mode (app is not debuggable) Android NDK: Adding import directory: /home/oplus/Desktop/android-ndk-r11c/sources Android NDK: Building application 'local' for ABI 'x86' Android NDK: Enabling -fPIE for TARGET_PLATFORM android-16 Android NDK: Using target toolchain 'x86-4.9' for 'x86' ABI (through NDK_TOOLCHAIN_VERSION) Android NDK: Looking for imported module with tag 'cxx-stl/stlport' Android NDK: Probing /home/oplus/Desktop/android-ndk-r11c/sources/cxx-stl/stlport/Android.mk Android NDK: Found in /home/oplus/Desktop/android-ndk-r11c/sources/cxx-stl/stlport Android NDK: Using prebuilt STLport libraries Android NDK: Looking for imported module with tag 'android/cpufeatures' Android NDK: Probing /home/oplus/Desktop/android-ndk-r11c/sources/android/cpufeatures/Android.mk Android NDK: Found in /home/oplus/Desktop/android-ndk-r11c/sources/android/cpufeatures Android NDK: Module 'system' has C++ sources Android NDK: Add dependency 'stlport_static' to module 'system' Android NDK: [x86] Modules to build: pdnsd system tun2socks Android NDK: Building application 'local' for ABI 'armeabi-v7a' Android NDK: Enabling -fPIE for TARGET_PLATFORM android-16 Android NDK: Using target toolchain 'arm-linux-androideabi-4.9' for 'armeabi-v7a' ABI (through NDK_TOOLCHAIN_VERSION) Android NDK: Looking for imported module with tag 'cxx-stl/stlport' Android NDK: Probing /home/oplus/Desktop/android-ndk-r11c/sources/cxx-stl/stlport/Android.mk Android NDK: Found in /home/oplus/Desktop/android-ndk-r11c/sources/cxx-stl/stlport Android NDK: Using prebuilt STLport libraries Android NDK: Looking for imported module with tag 'android/cpufeatures' Android NDK: Probing /home/oplus/Desktop/android-ndk-r11c/sources/android/cpufeatures/Android.mk Android NDK: Found in /home/oplus/Desktop/android-ndk-r11c/sources/android/cpufeatures Android NDK: Module 'system' has C++ sources Android NDK: Add dependency 'stlport_static' to module 'system' Android NDK: [armeabi-v7a] Modules to build: pdnsd system tun2socks [x86] Compile : pdnsd <= error.c [x86] Compile : pdnsd <= conf-parser.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conf-parser.c: In function 'confparse': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conf-parser.c:685:10: warning: variable 'ignore_cd' set but not used [-Wunused-but-set-variable] int ignore_cd; ^ [x86] Compile : pdnsd <= dns_answer.c [x86] Compile : pdnsd <= helpers.c [x86] Compile : pdnsd <= dns_query.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/dns_query.c: In function 'p_exec_query': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/dns_query.c:1403:22: warning: variable 'qc' set but not used [-Wunused-but-set-variable] unsigned short qt,qc; ^ [x86] Compile : pdnsd <= conff.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conff.c: In function 'read_config_file': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conff.c:157:1: warning: label 'close_file' defined but not used [-Wunused-label] close_file: ^ [x86] Compile : pdnsd <= list.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/list.c: In function 'dlist_grow': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/list.c:113:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((size_t *)&a->data[a->last])=a->lastsz; ^ /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/list.c:128:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((size_t *)&a->data[sz])=0; ^ [x86] Compile : pdnsd <= hash.c [x86] Compile : pdnsd <= netdev.c [x86] Compile : pdnsd <= dns.c [x86] Compile : pdnsd <= main.c [x86] Compile : pdnsd <= rr_types.c [x86] Compile : pdnsd <= servers.c [x86] Compile : pdnsd <= debug.c [x86] Compile : pdnsd <= cache.c [x86] Compile : pdnsd <= consts.c [x86] Compile : pdnsd <= thread.c [x86] Compile : pdnsd <= icmp.c [x86] Compile : pdnsd <= status.c [x86] Executable : pdnsd [x86] Install : pdnsd => libs/x86/pdnsd [x86] Compile++ : system <= system.cpp [x86] Compile : cpufeatures <= cpu-features.c [x86] StaticLibrary : libcpufeatures.a [x86] Compile : ancillary <= fd_recv.c [x86] Compile : ancillary <= fd_send.c [x86] StaticLibrary : libancillary.a [x86] SharedLibrary : libsystem.so [x86] Install : libsystem.so => libs/x86/libsystem.so [x86] Compile : tun2socks <= BLog_syslog.c [x86] Compile : tun2socks <= BReactor_badvpn.c [x86] Compile : tun2socks <= BSignal.c [x86] Compile : tun2socks <= BConnection_unix.c [x86] Compile : tun2socks <= BTime.c [x86] Compile : tun2socks <= BUnixSignal.c [x86] Compile : tun2socks <= BNetwork.c [x86] Compile : tun2socks <= StreamRecvInterface.c [x86] Compile : tun2socks <= PacketRecvInterface.c [x86] Compile : tun2socks <= PacketPassInterface.c [x86] Compile : tun2socks <= StreamPassInterface.c [x86] Compile : tun2socks <= SinglePacketBuffer.c [x86] Compile : tun2socks <= BufferWriter.c [x86] Compile : tun2socks <= PacketBuffer.c [x86] Compile : tun2socks <= PacketStreamSender.c [x86] Compile : tun2socks <= PacketPassConnector.c [x86] Compile : tun2socks <= PacketProtoFlow.c [x86] Compile : tun2socks <= PacketPassFairQueue.c [x86] Compile : tun2socks <= PacketProtoEncoder.c [x86] Compile : tun2socks <= PacketProtoDecoder.c [x86] Compile : tun2socks <= BSocksClient.c [x86] Compile : tun2socks <= BTap.c [x86] Compile : tun2socks <= timers.c [x86] Compile : tun2socks <= udp.c [x86] Compile : tun2socks <= memp.c [x86] Compile : tun2socks <= init.c [x86] Compile : tun2socks <= pbuf.c [x86] Compile : tun2socks <= tcp.c [x86] Compile : tun2socks <= tcp_out.c [x86] Compile : tun2socks <= netif.c /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c: In function 'netif_create_ip6_linklocal_address': /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c:889:68: warning: iteration 6u invokes undefined behavior [-Waggressive-loop-optimizations] netif->ip6_addr[0].addr[addr_index] |= ((u32_t)(netif->hwaddr[netif->hwaddr_len - i - 1])) << (8 * (i & 0x03)); ^ /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c:885:5: note: containing loop for (i = 0; i < 8; i++) { ^ [x86] Compile : tun2socks <= def.c [x86] Compile : tun2socks <= mem.c [x86] Compile : tun2socks <= tcp_in.c [x86] Compile : tun2socks <= stats.c [x86] Compile : tun2socks <= inet_chksum.c [x86] Compile : tun2socks <= icmp.c [x86] Compile : tun2socks <= igmp.c [x86] Compile : tun2socks <= ip4_addr.c [x86] Compile : tun2socks <= ip_frag.c [x86] Compile : tun2socks <= ip4.c [x86] Compile : tun2socks <= autoip.c [x86] Compile : tun2socks <= ethip6.c [x86] Compile : tun2socks <= inet6.c [x86] Compile : tun2socks <= ip6_addr.c [x86] Compile : tun2socks <= mld6.c [x86] Compile : tun2socks <= dhcp6.c [x86] Compile : tun2socks <= icmp6.c [x86] Compile : tun2socks <= ip6.c [x86] Compile : tun2socks <= ip6_frag.c [x86] Compile : tun2socks <= nd6.c [x86] Compile : tun2socks <= sys.c [x86] Compile : tun2socks <= tun2socks.c [x86] Compile : tun2socks <= DebugObject.c [x86] Compile : tun2socks <= BLog.c [x86] Compile : tun2socks <= BPending.c [x86] Compile : tun2socks <= BDatagram_unix.c [x86] Compile : tun2socks <= PacketPassInactivityMonitor.c [x86] Compile : tun2socks <= SocksUdpGwClient.c [x86] Compile : tun2socks <= UdpGwClient.c [x86] Executable : tun2socks [x86] Install : tun2socks => libs/x86/tun2socks [armeabi-v7a] Compile thumb : pdnsd <= error.c [armeabi-v7a] Compile thumb : pdnsd <= conf-parser.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conf-parser.c: In function 'confparse': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conf-parser.c:685:10: warning: variable 'ignore_cd' set but not used [-Wunused-but-set-variable] int ignore_cd; ^ [armeabi-v7a] Compile thumb : pdnsd <= dns_answer.c [armeabi-v7a] Compile thumb : pdnsd <= helpers.c [armeabi-v7a] Compile thumb : pdnsd <= dns_query.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/dns_query.c: In function 'p_exec_query': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/dns_query.c:1403:22: warning: variable 'qc' set but not used [-Wunused-but-set-variable] unsigned short qt,qc; ^ [armeabi-v7a] Compile thumb : pdnsd <= conff.c /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conff.c: In function 'read_config_file': /home/oplus/Desktop/xSocks-android/jni/pdnsd/src/conff.c:157:1: warning: label 'close_file' defined but not used [-Wunused-label] close_file: ^ [armeabi-v7a] Compile thumb : pdnsd <= list.c [armeabi-v7a] Compile thumb : pdnsd <= hash.c [armeabi-v7a] Compile thumb : pdnsd <= netdev.c [armeabi-v7a] Compile thumb : pdnsd <= dns.c [armeabi-v7a] Compile thumb : pdnsd <= main.c [armeabi-v7a] Compile thumb : pdnsd <= rr_types.c [armeabi-v7a] Compile thumb : pdnsd <= servers.c [armeabi-v7a] Compile thumb : pdnsd <= debug.c [armeabi-v7a] Compile thumb : pdnsd <= cache.c [armeabi-v7a] Compile thumb : pdnsd <= consts.c [armeabi-v7a] Compile thumb : pdnsd <= thread.c [armeabi-v7a] Compile thumb : pdnsd <= icmp.c [armeabi-v7a] Compile thumb : pdnsd <= status.c [armeabi-v7a] Executable : pdnsd [armeabi-v7a] Install : pdnsd => libs/armeabi-v7a/pdnsd [armeabi-v7a] Compile++ thumb: system <= system.cpp [armeabi-v7a] Compile thumb : cpufeatures <= cpu-features.c [armeabi-v7a] StaticLibrary : libcpufeatures.a [armeabi-v7a] Compile thumb : ancillary <= fd_recv.c [armeabi-v7a] Compile thumb : ancillary <= fd_send.c [armeabi-v7a] StaticLibrary : libancillary.a [armeabi-v7a] SharedLibrary : libsystem.so [armeabi-v7a] Install : libsystem.so => libs/armeabi-v7a/libsystem.so [armeabi-v7a] Compile thumb : tun2socks <= BLog_syslog.c [armeabi-v7a] Compile thumb : tun2socks <= BReactor_badvpn.c [armeabi-v7a] Compile thumb : tun2socks <= BSignal.c [armeabi-v7a] Compile thumb : tun2socks <= BConnection_unix.c [armeabi-v7a] Compile thumb : tun2socks <= BTime.c [armeabi-v7a] Compile thumb : tun2socks <= BUnixSignal.c [armeabi-v7a] Compile thumb : tun2socks <= BNetwork.c [armeabi-v7a] Compile thumb : tun2socks <= StreamRecvInterface.c [armeabi-v7a] Compile thumb : tun2socks <= PacketRecvInterface.c [armeabi-v7a] Compile thumb : tun2socks <= PacketPassInterface.c [armeabi-v7a] Compile thumb : tun2socks <= StreamPassInterface.c [armeabi-v7a] Compile thumb : tun2socks <= SinglePacketBuffer.c [armeabi-v7a] Compile thumb : tun2socks <= BufferWriter.c [armeabi-v7a] Compile thumb : tun2socks <= PacketBuffer.c [armeabi-v7a] Compile thumb : tun2socks <= PacketStreamSender.c [armeabi-v7a] Compile thumb : tun2socks <= PacketPassConnector.c [armeabi-v7a] Compile thumb : tun2socks <= PacketProtoFlow.c [armeabi-v7a] Compile thumb : tun2socks <= PacketPassFairQueue.c [armeabi-v7a] Compile thumb : tun2socks <= PacketProtoEncoder.c [armeabi-v7a] Compile thumb : tun2socks <= PacketProtoDecoder.c [armeabi-v7a] Compile thumb : tun2socks <= BSocksClient.c [armeabi-v7a] Compile thumb : tun2socks <= BTap.c [armeabi-v7a] Compile thumb : tun2socks <= timers.c [armeabi-v7a] Compile thumb : tun2socks <= udp.c [armeabi-v7a] Compile thumb : tun2socks <= memp.c [armeabi-v7a] Compile thumb : tun2socks <= init.c [armeabi-v7a] Compile thumb : tun2socks <= pbuf.c [armeabi-v7a] Compile thumb : tun2socks <= tcp.c [armeabi-v7a] Compile thumb : tun2socks <= tcp_out.c [armeabi-v7a] Compile thumb : tun2socks <= netif.c /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c: In function 'netif_create_ip6_linklocal_address': /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c:889:68: warning: iteration 6u invokes undefined behavior [-Waggressive-loop-optimizations] netif->ip6_addr[0].addr[addr_index] |= ((u32_t)(netif->hwaddr[netif->hwaddr_len - i - 1])) << (8 * (i & 0x03)); ^ /home/oplus/Desktop/xSocks-android/jni/badvpn/lwip/src/core/netif.c:885:5: note: containing loop for (i = 0; i < 8; i++) { ^ [armeabi-v7a] Compile thumb : tun2socks <= def.c [armeabi-v7a] Compile thumb : tun2socks <= mem.c [armeabi-v7a] Compile thumb : tun2socks <= tcp_in.c [armeabi-v7a] Compile thumb : tun2socks <= stats.c [armeabi-v7a] Compile thumb : tun2socks <= inet_chksum.c [armeabi-v7a] Compile thumb : tun2socks <= icmp.c [armeabi-v7a] Compile thumb : tun2socks <= igmp.c [armeabi-v7a] Compile thumb : tun2socks <= ip4_addr.c [armeabi-v7a] Compile thumb : tun2socks <= ip_frag.c [armeabi-v7a] Compile thumb : tun2socks <= ip4.c [armeabi-v7a] Compile thumb : tun2socks <= autoip.c [armeabi-v7a] Compile thumb : tun2socks <= ethip6.c [armeabi-v7a] Compile thumb : tun2socks <= inet6.c [armeabi-v7a] Compile thumb : tun2socks <= ip6_addr.c [armeabi-v7a] Compile thumb : tun2socks <= mld6.c [armeabi-v7a] Compile thumb : tun2socks <= dhcp6.c [armeabi-v7a] Compile thumb : tun2socks <= icmp6.c [armeabi-v7a] Compile thumb : tun2socks <= ip6.c [armeabi-v7a] Compile thumb : tun2socks <= ip6_frag.c [armeabi-v7a] Compile thumb : tun2socks <= nd6.c [armeabi-v7a] Compile thumb : tun2socks <= sys.c [armeabi-v7a] Compile thumb : tun2socks <= tun2socks.c [armeabi-v7a] Compile thumb : tun2socks <= DebugObject.c [armeabi-v7a] Compile thumb : tun2socks <= BLog.c [armeabi-v7a] Compile thumb : tun2socks <= BPending.c [armeabi-v7a] Compile thumb : tun2socks <= BDatagram_unix.c [armeabi-v7a] Compile thumb : tun2socks <= PacketPassInactivityMonitor.c [armeabi-v7a] Compile thumb : tun2socks <= SocksUdpGwClient.c [armeabi-v7a] Compile thumb : tun2socks <= UdpGwClient.c [armeabi-v7a] Executable : tun2socks [armeabi-v7a] Install : tun2socks => libs/armeabi-v7a/tun2socks make[1]: Leaving directory '/home/oplus/Desktop/xSocks-android/jni' /home/oplus/Desktop/xSocks-android install: cannot stat ‘jni/xSocks/xSocks-android-i686/xSocks’: No such file or directory install: cannot stat ‘jni/xSocks/xSocks-android-i686/xForwarder’: No such file or directory install: cannot stat ‘jni/xSocks/xSocks-android-armv7-a/xSocks’: No such file or directory install: cannot stat ‘jni/xSocks/xSocks-android-armv7-a/xForwarder’: No such file or directory Makefile:14: recipe for target 'app/src/main/jniLibs/armeabi/libsystem.so' failed make: ** [app/src/main/jniLibs/armeabi/libsystem.so] Error 1

    opened by ghost 1
  • pushd not found (Debian)

    pushd not found (Debian)

    /bin/sh: 1: [: a: unexpected operator /bin/sh: 5: pushd: not found Makefile:13: recipe for target 'app/src/main/jniLibs/armeabi/libsystem.so' failed

    adding SHELL := /bin/bash at top of the MakeFile will fix the problem .

    opened by ghost 1
  • Is xsocks-android compatible with Android 5.0+?

    Is xsocks-android compatible with Android 5.0+?

    v1.2.0 release apk file is not good. It can install on my phone but cannot run. v1.1.7 can run, but can't start the service. When I turned the switch on, it crashed. Huawei Honor 7, Emotion UI 3.1, Android 5.0.2, no root. 1.1.7 need root?

    opened by cokebar 1
  • mac上执行build.sh报这个错,求教

    mac上执行build.sh报这个错,求教

    [armeabi-v7a] Compile thumb : ancillary <= fd_recv.c [armeabi-v7a] Compile thumb : ancillary <= fd_send.c [armeabi-v7a] Compile thumb : proxychains4 <= version.c [armeabi-v7a] Compile thumb : proxychains4 <= core.c [armeabi-v7a] Compile thumb : proxychains4 <= common.c 4 warnings generated. [armeabi-v7a] Compile thumb : proxychains4 <= libproxychains.c [armeabi-v7a] Compile thumb : proxychains4 <= allocator_thread.c jni/proxychains/src/libproxychains.c:483:17: error: conflicting types for 'gethostbyaddr' struct hostent gethostbyaddr(const char addr, int len, int type) { ^ /usr/local/Caskroom/android-ndk/15c/android-ndk-r15c/sysroot/usr/include/netdb.h:204:17: note: previous declaration is here struct hostent gethostbyaddr(const void, socklen_t, int); ^ 1 error generated. [armeabi-v7a] Compile thumb : proxychains4 <= ip_type.c make: *** [obj/local/armeabi-v7a/objs/proxychains4/proxychains/src/libproxychains.o] Error 1 make: *** Waiting for unfinished jobs.... 7 warnings generated. 4 warnings generated. 4 warnings generated. 6 warnings generated.

    opened by txdywy 0
  • still maintained?

    still maintained?

    Just wondering whether this project is still actively maintained, as there were no commits for over 3 years? If not, may I suggest to "archive" it (via its Github preferences), for clarification?

    opened by IzzySoft 3
  • JNI build failed!

    JNI build failed!

    Native library build failed, found following error.

    Error:

    install: cannot stat 'jni/xSocks/xSocks-android-i686/xSocks': No such file or directory
    install: cannot stat 'jni/xSocks/xSocks-android-i686/xForwarder': No such file or directory
    install: cannot stat 'jni/xSocks/xSocks-android-armv7-a/xSocks': No such file or directory
    install: cannot stat 'jni/xSocks/xSocks-android-armv7-a/xForwarder': No such file or directory
    Makefile:15: recipe for target 'app/src/main/jniLibs/armeabi/libsystem.so' failed
    make: *** [app/src/main/jniLibs/armeabi/libsystem.so] Error 1
    
    opened by noman-augmedix 1
Releases(v1.5.0)
Owner
null
Twidere-Android Twidere is a powerful twitter client for Android 1.6+ 1 , which gives you a full Holo experience and nearly full Twitter's feature.

Twidere for Android Material Design ready and feature rich Twitter/Mastodon/Fanfou app for Android 4.1+. Enjoy Fediverse now! Twidere-Android is maint

Twidere Project 2.7k Jan 2, 2023
An MVP Dribbble client for Android Mobile, Tablet, Wear and TV.

Bourbon ![Sidebar] (https://img.shields.io/badge/Sidebar-06%2F05%2F2016-orange.svg) Bourbon is a simple Dribbble client built for Android Mobile, Wear

Joe Birch 1.1k Dec 12, 2022
An open source Hacker News client for Android.

Hacker News Come chat with us on Gitter.im! An open source Hacker News client for Android phones & tablets. Available on the Google Play Store How to

Matthew Bishop 227 Dec 11, 2022
📱:newspaper: Android client for the Nextcloud news/feed reader app

Nextcloud News Reader – Android App The Nextcloud News Reader Android App is under AGPLv3 License terms. Bugs and enhancements can be reported under:

Nextcloud 589 Dec 31, 2022
Android client for Seafile

Seafile Android Client The application has been published onto the market for easy access: Contributors See Contributors Graph Build the APK Make sure

null 462 Dec 29, 2022
GitHub client for Android based on the abandoned official app

ForkHub ForkHub started off as a fork of the official Android app from GitHub, and has since seen lots of improvements. You can see a comprehensive li

Jon Ander Peñalba 2.8k Dec 28, 2022
📱:newspaper: Android client for the Nextcloud news/feed reader app

Nextcloud News Reader – Android App The Nextcloud News Reader Android App is under AGPLv3 License terms. Bugs and enhancements can be reported under:

Nextcloud 591 Jan 8, 2023
An android client application for the awesome kanji learning website wanikani.com

End of Life This project has reached EOL status. It will no longer be updated, patched, or supported. If you are interested in continuing the work, fe

İhsan Işık 507 Nov 12, 2022
A simple android Twitter client written in Kotlin

Blum Blum is an unofficial, simple, fast Twitter client written in Kotlin. This project is a complete rewrite of the Java version. Screenshot Build To

Andrea Pivetta 77 Nov 29, 2022
A project which demonstrate how to develop a custom client on android for dribbble.com

##What is this? This is a project with custom client app on android for https://dribbble.com, which you can browse the popular icon and animation, lik

ZhangLei 599 Nov 14, 2022
A light Sina Weibo client for Android

BlackLight 新浪微博客户端 请注意,当前BlackLight的开发已经被冻结,直到2016年高考后重启。 The development progress has been FROZEN till June 2016. 详细介绍以及Changelog请见Play商店。 https://pl

Paper Airplane Dev Team/纸飞机开发团队 884 Nov 22, 2022
DNS over HTTPS / DNS over Tor / DNSCrypt client, firewall, and connection tracker for Android.

RethinkDNS + Firewall for Android An OpenSnitch-inspired firewall and network monitor + a pi-hole-inspired DNS over HTTPS client with blocklists. In o

null 1.1k Jan 5, 2023
Twire is an alternative and open source Twitch client for Android

Twire This is a fork of the Pocket Plays for Twitch Android application. More information in this issue. Twire is an open source, ad-free Twitch brows

Twire 749 Jan 2, 2023
Github client for Android

OctoDroid This application provides access to GitHub and lets you stay connected with your network Download Main features Repository List repositories

Azwan Adli 1.5k Dec 30, 2022
This is a Reddit client on Android written in Java

Infinity-For-Reddit This is a Reddit client on Android written in Java. It does not have any ads and it features clean UI and smooth browsing experien

null 2.6k Jan 9, 2023
Free and Open Source, full-featured torrent client for Android

Free and Open Source, full-featured torrent client for Android

Yaroslav Pronin 1.3k Jan 8, 2023
A modular and portable open source XMPP client library written in Java for Android and Java (SE) VMs

Smack About Smack is an open-source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android. Being a

Ignite Realtime 2.3k Dec 28, 2022
A modular and portable open source XMPP client library written in Java for Android and Java (SE) VMs

Smack About Smack is an open-source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android. Being a

Ignite Realtime 2.3k Dec 21, 2021
Redditek - A reddit client for Android developped in Kotlin

Redditech The Redditech project is a reddit client created using Kotlin and Redd

Arthur Robine 1 Jan 6, 2022