cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 129 forks source link

Android 10 App Crash #51

Closed alienator88 closed 4 years ago

alienator88 commented 4 years ago

The app crashes when trying to connect on Android 10/OxygenOS. Seeing the following error in logcat: libc Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11944 (OpenVPNManageme), pid 9948 (app.openconnect)

kiavash-at-work commented 4 years ago

It also crashes on Android Studio Q emulator.

bukowski12 commented 4 years ago

The app crashes when trying to connect on Android 10/Pixel

larionov commented 4 years ago

Crashes on pixel 3 xl with android 10

contemno commented 4 years ago

After figuring out how to crudely build and debug Android apps in Android Studio, I found this error on the debugging console on Android 10 that I didn't get on Android 9 (on which the app still works):

A/libc: FORTIFY: %n not allowed on Android

Apparently %n was used in exploits in older versions of sprintf, and Android 9 and below silently sanitizes it. Android 10 will not and refuse to accept it, causing the app to crash. The component responsible for this security feature is called FORTIFY.

https://android-developers.googleblog.com/2017/04/fortify-in-android.html

In the five vasnprintf.c files that contain:

#if USE_SNPRINTF
# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
                fbp[1] = '%';
                fbp[2] = 'n';
                fbp[3] = '\0';
# else
                /* On glibc2 systems from glibc >= 2.3 - probably also older
                   ones - we know that snprintf's return value conforms to
                   ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and
                   gl_SNPRINTF_TRUNCATION_C99 pass.
                   Therefore we can avoid using %n in this situation.
                   On glibc2 systems from 2004-10-18 or newer, the use of %n
                   in format strings in writable memory may crash the program
                   (if compiled with _FORTIFY_SOURCE=2), so we should avoid it
                   in this situation.  */
                /* On native Windows systems (such as mingw), we can avoid using
                   %n because:
                     - Although the gl_SNPRINTF_TRUNCATION_C99 test fails,
                       snprintf does not write more than the specified number
                       of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes
                       '4', '5', '6' into buf, not '4', '5', '\0'.)
                     - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf
                       allows us to recognize the case of an insufficient
                       buffer size: it returns -1 in this case.
                   On native Windows systems (such as mingw) where the OS is
                   Windows Vista, the use of %n in format strings by default
                   crashes the program. See
                     <http://gcc.gnu.org/ml/gcc/2007-06/msg00122.html> and
                     <http://msdn2.microsoft.com/en-us/library/ms175782(VS.80).aspx>
                   So we should avoid %n in this situation.  */
                fbp[1] = '\0';
# endif
#else
                fbp[1] = '\0';
#endif

Based on these comments:

https://lists.gnu.org/archive/html/bug-gnulib/2018-12/msg00126.html https://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00122.html https://gitlab.com/gnutls/gnutls/issues/653

I tried patching the line:

# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) to: # if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __ANDROID__)

but that doesn't seem to work.

It's highly likely that that because I don't know what I'm doing, I'm not building the c libraries ( liboppenconnect, libgnutls, etc) with the NDK (20.0.5594570) correctly or I'm looking in the wrong place.

My next steps are to figure out how to print debugging messages or a stack trace to figure out where in the c libraries the app dies, and what is trying to pass %n.

cernekee commented 4 years ago

https://gitlab.com/gnutls/gnutls/issues/653

IMO this is the most likely culprit, although you might want to check adb logcat for a stack trace to confirm. It's possible that updating $OPENCONNECT/android/ to the latest GnuTLS will cure it.

contemno commented 4 years ago

I tried updating GnuTLS to 3.6.9 and Nettle to 3.4.1 but still get A/libc: FORTIFY: %n not allowed on Android message.

I noticed that the oath-toolkit also had a copy of vasnprintf.c, and from what I could find, the latest version is 2.6.2 is from 2016. It may need to be updated to avoid using '%n' on Android.

astv25 commented 4 years ago

2019-09-25 11:34:22.426 14776-14776/? A/DEBUG: Timestamp: 2019-09-25 11:34:22-0500 2019-09-25 11:34:22.426 14776-14776/? A/DEBUG: pid: 14646, tid: 14773, name: OpenVPNManageme >>> app.openconnect <<< 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: uid: 10135 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: Abort message: 'FORTIFY: %n not allowed on Android' 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: eax 00000000 ebx 00003936 ecx 000039b5 edx 00000006 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: edi eaf0433e esi bf9752e0 2019-09-25 11:34:22.427 14776-14776/? A/DEBUG: ebp edca5ad0 esp bf975288 eip edca5ad9 2019-09-25 11:34:22.572 14776-14776/? A/DEBUG: backtrace: 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #00 pc 00000ad9 [vdso] (__kernel_vsyscall+9) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #01 pc 00092328 /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 76290498408016ad14f4b98c3ab6c65c) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #02 pc 000ad651 /apex/com.android.runtime/lib/bionic/libc.so (abort+193) (BuildId: 76290498408016ad14f4b98c3ab6c65c) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #03 pc 000f46fa /apex/com.android.runtime/lib/bionic/libc.so (__fortify_fatal(char const*, ...)+58) (BuildId: 76290498408016ad14f4b98c3ab6c65c) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #04 pc 000f3dcb /apex/com.android.runtime/lib/bionic/libc.so (__vfprintf+11211) (BuildId: 76290498408016ad14f4b98c3ab6c65c) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #05 pc 001133aa /apex/com.android.runtime/lib/bionic/libc.so (snprintf+170) (BuildId: 76290498408016ad14f4b98c3ab6c65c) 2019-09-25 11:34:22.573 14776-14776/? A/DEBUG: #06 pc 000a1440 /data/app/app.openconnect-H8SZUkhIAU2jL7Oh7V1vuw==/lib/x86/libopenconnect.so (vasnprintf+3088)

I got the following trace from an (emulated) Pixel 2 running API 29. It looks like GnuTLS removed their implementation of vasprintf in favor of the gnulib one.

ffyliu commented 4 years ago

Whether anyone has solved this problem, I also encountered the same problem on pix2-androidQ。

ffyliu commented 4 years ago

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator

update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c

the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile

oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

aissat commented 4 years ago

emulator

Hi, @ffyliu updated my code like u but I have new error msg I'm already using GNUTLS to version 3.6.9 NETTLE to version 3.5.1 Got inappropriate HTTP CONNECT response: HTTP/1.1 401 Cookie is not acceptable Error establishing VPN link Error establishing VPN link

aryan549 commented 4 years ago

Hi @ffyliu ,

Thanks for the fix. its working perfectly

davemidd commented 4 years ago

What's the chance of one you guys getting the fix into a Pull Request? :)

itfintech commented 4 years ago

Hello to all, Thx a lot @ffyliu for solution option, it's working but it affected the OPPO R9s.

12-04 09:17:34.837 9397-9397/com.hidemepls.vpn E/AndroidRuntime: FATAL EXCEPTION: main Process: com.hidemepls.vpn, PID: 9397 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "in6addr_any" referenced by "/data/app/com.hidemepls.vpn-1/lib/arm64/libopenconnect.so"... at java.lang.Runtime.loadLibrary(Runtime.java:372) at java.lang.System.loadLibrary(System.java:988) at com.hidemepls.vpn.TheApplication.onCreate(TheApplication.java:93) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5084) at android.app.ActivityThread.access$1700(ActivityThread.java:197) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:5958) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)

I will appreciate if someone can help me to identify what can be the reason. Note the old version on OPPO works fine asap I apply the fix P30 works fine but OPPO no.

fariya12 commented 4 years ago

Whether anyone has solved this problem, any working solution ???, if anyone.... please help me ...

kmchmk commented 4 years ago

Whether anyone has solved this problem, any working solution ???, if anyone.... please help me ...

Try this. https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect

tnzil commented 4 years ago

please help whenever I try to compile with nettle 3.4.1 and gnutls 3.6.8

checking for guile-snarf... /usr/bin/guile-snarf checking for guild... /usr/bin/guild checking for arm-linux-androideabi-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 2.2 configure: checking for guile 2.0 configure: checking for guile 1.8 configure: error: No Guile development packages were found.

Please verify that you have Guile installed. If you installed Guile from a binary distribution, please verify that you have also installed the development packages. If you installed it yourself, you might need to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.

farhananwar187 commented 4 years ago

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator

update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c

the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile

oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

please help whenever I try to compile with nettle 3.4.1 and gnutls 3.6.8

checking for guile-snarf... /usr/bin/guile-snarf
checking for guild... /usr/bin/guild
checking for arm-linux-androideabi-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: checking for guile 2.0
configure: checking for guile 1.8
configure: error:
No Guile development packages were found.

Please verify that you have Guile installed. If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages. If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
manuelfleri commented 4 years ago

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator

update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c

the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile

oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

I haven't got this folder, my path terminates at " ics-openconnect/external/openconnect/android/", and there are just some files inside, but no "oath-toolkit-2.6.2", how can I overcome this?

itfintech commented 4 years ago

Run make first, the script will download the dependency, after you will have these files.

manuelfleri commented 4 years ago

Run make first, the script will download the dependency, after you will have these files.

Thank you very much for the quick reply!

I forgot to mention that I already tried, but it gives me this error :

/opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh --platform=android-14 --arch=arm --install-dir=/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain || \ /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh \ --platform=android-14 --arch=arm --install-dir=/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain --system=linux-x86_64 /bin/sh: /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh: No such file or directory /bin/sh: /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh: No such file or directory make: *** [/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain/.built] Error 127

Does anyone know how to deal with this? I tried to install the ndk following this guide: "https://gist.github.com/Tydus/11109634", and it seemed to work, but still I get that error.

Thanks in advance.

DenysFrasinich commented 4 years ago

Hello! I applyed workaround from @ffyliu comment (https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-540503056) and it works fine on my pixel 3. Here are some pull requests: https://github.com/cernekee/openconnect/pull/3 https://github.com/cernekee/ics-openconnect/pull/59

fariya12 commented 4 years ago

@ffyliu after i apply your workaround still my app is getting crashed. how to fix it any solution

davemidd commented 4 years ago

@ffyliu after i apply your workaround still my app is getting crashed. how to fix it any solution

https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect

farhananwar187 commented 4 years ago

@ffyliu after i apply your workaround still my app is getting crashed. how to fix it any solution

https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect

I have found the solution, you can contact me at f.anwer87@gmail.com

noman720 commented 4 years ago

Hello! I applyed workaround from @ffyliu comment (#51 (comment)) and it works fine on my pixel 3. Here are some pull requests: cernekee/openconnect#3

59

@DenysFrasinich I have applied the changes according to your PR without updating NDK version (android-ndk-r16b), but still having the issue. Can you please help me to fix it? Changes:

edmondscommerce commented 4 years ago

anyone else landing here from Google - I found that uninstalling completely and reinstalling fresh fixed a crash issue. Not sure if its this one exactly but it worked - affected at least 2 phones

astv25 commented 4 years ago

@edmondscommerce this exact version was pulled from the Play Store until the build issues have been solved. Someone has, meanwhile, forked this, implemented a fix, and put their version on the store.

NgoHuy commented 4 years ago

please help whenever I try to compile with nettle 3.4.1 and gnutls 3.6.8

checking for guile-snarf... /usr/bin/guile-snarf checking for guild... /usr/bin/guild checking for arm-linux-androideabi-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 2.2 configure: checking for guile 2.0 configure: checking for guile 1.8 configure: error: No Guile development packages were found.

Please verify that you have Guile installed. If you installed Guile from a binary distribution, please verify that you have also installed the development packages. If you installed it yourself, you might need to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.

You need build gnutls with option --disable-guile

NgoHuy commented 4 years ago

Run make first, the script will download the dependency, after you will have these files.

Thank you very much for the quick reply!

I forgot to mention that I already tried, but it gives me this error :

/opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh --platform=android-14 --arch=arm --install-dir=/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain || /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh --platform=android-14 --arch=arm --install-dir=/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain --system=linux-x86_64 /bin/sh: /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh: No such file or directory /bin/sh: /opt/android-sdk-linux_x86/android-ndk-r16b/build/tools/make-standalone-toolchain.sh: No such file or directory make: *** [/Users/[myFolder]/external/openconnect/android/arm-linux-androideabi/toolchain/.built] Error 127

Does anyone know how to deal with this? I tried to install the ndk following this guide: "https://gist.github.com/Tydus/11109634", and it seemed to work, but still I get that error.

Thanks in advance.

You must set NDK in Makefile to your NDK directory

NgoHuy commented 4 years ago

I have built with latest all softwares (include NDK), it worked like a charm.

NgoHuy commented 4 years ago

Anyone can test my apk with latest build from gnutls, nettle, lz4, libxml2, gmp https://drive.google.com/file/d/1ynE77127QPLzoDSLCXOPI2HEMx3YXGXN/view?usp=sharing

NgoHuy commented 4 years ago

Anyone can test my apk with latest build from gnutls, nettle, lz4, libxml2, gmp https://drive.google.com/file/d/1ynE77127QPLzoDSLCXOPI2HEMx3YXGXN/view?usp=sharing

Please contact me at tanzeel7g@gmail.com or skype tanzil7g@hotmail.com i can pay you for source.

It's free software, man, You can build with openconnect from my gitlab repository: https://gitlab.com/Severush1/openconnect and https://github.com/dlenski/ics-openconnect/pull/10/files.

AzaKhan045 commented 4 years ago

@NgoHuy I did exact same to same as you mentioned in Latest curl dlenski/ics-openconnect#10 but getting same error in android 10 please help me to resolve this issue , I can pay you the fee if you want, my email is ; aitizaz045@gmail.com

AzaKhan045 commented 4 years ago

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator

update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c

the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile

oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

please let us know how to do this update as I am new to android studio!

NgoHuy commented 4 years ago

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

please let us know how to do this update as I am new to android studio!

Seem the bug at git submodule not pull with latest master branch on gitlab

AzaKhan045 commented 4 years ago

Can you please give me the right source code with these changes? So i can run that on my android 10!

On Mon, Jun 29, 2020, 6:39 PM Ngô Huy notifications@github.com wrote:

I compile with below modify,openconnect can run on mate30、pixel2、android Q-emulator update GNUTLS to version 3.6.8 update NETTLE to version 3.4.1 modify below files:(rootPath = ics-openconnect/external/openconnect/android/sources/) ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c ./oath-toolkit-2.6.2/liboath/gl/vasnprintf.c ./oath-toolkit-2.6.2/libpskc/gl/tests/vasnprintf.c the attachment is the modify of ./oath-toolkit-2.6.2/oathtool/gl/vasnprintf.c do the same with other two files and compile oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip https://github.com/cernekee/ics-openconnect/files/3711816/oath-toolkit-2.6.2_oathtool_gl_vasnprintf.zip

please let us know how to do this update as I am new to android studio!

Seem the bug at git submodule not pull with latest master branch on gitlab

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651126923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAQX3IDX52X7YN4P6F3RZCKQLANCNFSM4IUKI6DA .

davemidd commented 4 years ago

@AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect

AzaKhan045 commented 4 years ago

Yes I tried but i need source code of this file. Not apk

On Mon, Jun 29, 2020, 6:44 PM David Middleton notifications@github.com wrote:

@AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651130207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA .

NgoHuy commented 4 years ago

Yes I tried but i need source code of this file. Not apk On Mon, Jun 29, 2020, 6:44 PM David Middleton @.***> wrote: @AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA .

here: https://drive.google.com/file/d/1Ka0YMSdDUU_doxufE9AtHD_V2HKpf7wp/view

AzaKhan045 commented 4 years ago

Is this the full source code? Of android open connect client app?

On Mon, Jun 29, 2020, 6:47 PM Ngô Huy notifications@github.com wrote:

Yes I tried but i need source code of this file. Not apk … <#m-1603599709087997961> On Mon, Jun 29, 2020, 6:44 PM David Middleton @.***> wrote: @AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment) https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651130207>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA .

here: https://drive.google.com/file/d/1Ka0YMSdDUU_doxufE9AtHD_V2HKpf7wp/view

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651132298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAX6QK3OGXKVTKID3HLRZCLPNANCNFSM4IUKI6DA .

NgoHuy commented 4 years ago

Is this the full source code? Of android open connect client app? On Mon, Jun 29, 2020, 6:47 PM Ngô Huy @.> wrote: Yes I tried but i need source code of this file. Not apk … <#m-1603599709087997961> On Mon, Jun 29, 2020, 6:44 PM David Middleton @.> wrote: @AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment) <#51 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA . here: https://drive.google.com/file/d/1Ka0YMSdDUU_doxufE9AtHD_V2HKpf7wp/view — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAX6QK3OGXKVTKID3HLRZCLPNANCNFSM4IUKI6DA .

yes, I 'm checking why openconnect git submodule is not sync with latest changes on master.

AzaKhan045 commented 4 years ago

Yes please check and thanks alot for the help

On Mon, Jun 29, 2020, 6:52 PM Ngô Huy notifications@github.com wrote:

Is this the full source code? Of android open connect client app? … <#m8117487947817313416> On Mon, Jun 29, 2020, 6:47 PM Ngô Huy @.> wrote: Yes I tried but i need source code of this file. Not apk … <#m-1603599709087997961> On Mon, Jun 29, 2020, 6:44 PM David Middleton @.> wrote: @AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 https://github.com/cernekee/ics-openconnect/issues/51 (comment) <#51 (comment) https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651130207>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA . here: https://drive.google.com/file/d/1Ka0YMSdDUU_doxufE9AtHD_V2HKpf7wp/view — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment) https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651132298>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAX6QK3OGXKVTKID3HLRZCLPNANCNFSM4IUKI6DA .

yes, I 'm checking why openconnect git submodule is not sync with latest changes on master.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651136118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAQTAPRM47FF6XYB5F3RZCMCHANCNFSM4IUKI6DA .

AzaKhan045 commented 4 years ago

Sir can i have your contact? Insta, whatsaap or any other? I want o discuss something with you.

On Mon, Jun 29, 2020, 6:54 PM Aitizaz Jamshed aitizaz045@gmail.com wrote:

Yes please check and thanks alot for the help

On Mon, Jun 29, 2020, 6:52 PM Ngô Huy notifications@github.com wrote:

Is this the full source code? Of android open connect client app? … <#m_-8517627049039537350_m8117487947817313416> On Mon, Jun 29, 2020, 6:47 PM Ngô Huy @.> wrote: Yes I tried but i need source code of this file. Not apk … <#m-1603599709087997961> On Mon, Jun 29, 2020, 6:44 PM David Middleton @.> wrote: @AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 https://github.com/AzaKhan045 - have you not tried this version? https://play.google.com/store/apps/details?id=com.github.digitalsoftwaresolutions.openconnect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 https://github.com/cernekee/ics-openconnect/issues/51 (comment) <#51 (comment) https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651130207>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAS4OSBF445AGLUOYQTRZCLDXANCNFSM4IUKI6DA . here: https://drive.google.com/file/d/1Ka0YMSdDUU_doxufE9AtHD_V2HKpf7wp/view — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment) https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651132298>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAX6QK3OGXKVTKID3HLRZCLPNANCNFSM4IUKI6DA .

yes, I 'm checking why openconnect git submodule is not sync with latest changes on master.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cernekee/ics-openconnect/issues/51#issuecomment-651136118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDAQTAPRM47FF6XYB5F3RZCMCHANCNFSM4IUKI6DA .

NgoHuy commented 4 years ago

The problem is submodule didnot pull latest master commit, it's not a branch then hardcode commit id with git submodule update --init

dimoxdba commented 3 years ago

Hi All, I'm searching for developer that can help me to fix the issue (of course for some reward/fee) on Android 10 with an old APK that worked fine on Android 8 and 9.

There is an application for android which the developer has stopped supporting and which has stopped working after I upgraded my Samsung S10 to Android 10 due to the error ### FORTIFY:% n not allowed on Android since this syntax is not allowed in version 10 as I'm understand.

Exact Stack-trace errors attached

It is required to open the application "reverse engineering" (for example, via APKTOOL - I tried myself to extract it and seems it is doing it fully), fix the issue and compile again for support in Android 10

The reason why the old application is needed is a 3D maps (RealityMaps) which were replaced in the new application with 2D maps (Mapbox).

In PlayMarket, the application has been replaced with a new one (the same name, but completely changed), so the latest version of the old APK can be downloaded here: https://apkpure.com/3d-superski/de.realitymaps.dolomitisuperski

I'll be glad if somebody can to help me, my e-mail is: dastan.sheldon@gmail.com

Stack_trace

siromidz commented 3 years ago

The problem is submodule didnot pull latest master commit, it's not a branch then hardcode commit id with git submodule update --init

is git submodule update --init the exact git command that should be used? it should be used instead of git submodule update init?

siromidz commented 3 years ago

The problem is submodule didnot pull latest master commit, it's not a branch then hardcode commit id with git submodule update --init

would you please help me???

NgoHuy commented 3 years ago

The problem is submodule didnot pull latest master commit, it's not a branch then hardcode commit id with git submodule update --init

would you please help me???

just delete it and git clone from master branch.

siromidz commented 3 years ago

The problem is submodule didnot pull latest master commit, it's not a branch then hardcode commit id with git submodule update --init

would you please help me???

just delete it and git clone from master branch.

i did so a few seconds ago but it seems it is not the last updates of the code. the targetSdkVersion was 19

NgoHuy commented 3 years ago

Hi did you run ? rm -rf external/openconnect then git clone https://gitlab.com/openconnect/openconnect external/