cbeuw / Cloak-android

Android client of Cloak
Other
227 stars 32 forks source link

Andtoid 10 libss-local excits too fast (excit code 255) #8

Open OBrein opened 5 years ago

OBrein commented 5 years ago

It does not start on Android 10. OnePlus 7 Pro smartphone. libss-local exits too fast (exit code 255)

omengye commented 5 years ago

Pixel 2 with the same problem

cbeuw commented 5 years ago

Possible duplicate of #7

omengye commented 5 years ago

@cbeuw i deleted the shadowsocks's storage and cache, but it doesn't work under andtoid 10...

omengye commented 4 years ago

first, i upgrade com.github.shadowsocks:plugin to version 1.3.1 and the other dependencies. second, i replaced .so file in jniLibs folder with cloak version 2.0.2 (https://github.com/cbeuw/Cloak/releases). the problem fixed and the app worked.

MegaStone commented 4 years ago

I am suffering from the same problem. Huawei P30, Android 10. I tried to clean up shadowsocks, as described in #7 . But it does not work.

txdywy commented 4 years ago

Same issue. OnePlus 7 Pro, Android P

MegaStone commented 4 years ago

I am suffering from the same problem. Huawei P30, Android 10. I tried to clean up shadowsocks, as described in #7 . But it does not work.

I finally compile a usable version for android 10. Basically, you should install android SDK, NDK and Golang>1.11 on a *UNIX. Replace everything under Cloak-android/gradle/wrapper with https://github.com/shadowsocks/shadowsocks-android/tree/master/gradle/wrapper. Delete everything under Cloak-android/app/src/main/jniLibs/. Run app/src/make.sh to recompile the libck-client.so. Run ./gradlew build to build the app. Then sign the app with your own signature.

It seems shadowsocks plugin added support for android 10 two months ago. And this app has not updated accordingly.

kylemraz commented 4 years ago

update kcptun to latest version

Almanix commented 4 years ago

It does not start on Android 10 (MIUI 11, Xiaomi Mi9 smartphone). libss-local exits too fast (exit code 255). On Andriod 9 (MIUI 10) worked fine.

cyqsimon commented 4 years ago

Just updated my Pixel 1 to Android 10. This problem arises again. This time clearing cache and storage no longer works.

cyqsimon commented 4 years ago

THIS COMMENT IS OUTDATED. PLEASE USE OFFICIAL VERSION 2.1.3

To whom it may concern: I forked this repo and updated Gradle Wrapper as @MegaStone suggested. It now works with Android 10. Other than this I have made no changes. If you are feeling lazy you can find the compiled binary here. Note that I will not be maintaining this forked repo, so please switch back to official release as soon as it's updated.

txdywy commented 4 years ago

Still does not work... with Pixel 3 Android 10, OnePlus 7pro Android 10, OnePlus 6 Android 9

cyqsimon commented 4 years ago

Still does not work... with Pixel 3 Android 10, OnePlus 7pro Android 10, OnePlus 6 Android 9

THIS COMMENT IS OUTDATED. PLEASE USE OFFICIAL VERSION 2.1.3

Uninstall previous version first, then proceed to install the modified version of binary. I have not updated version string so updating directly may not work as intended. If the issue persists then I'm afraid I cannot help you.

papampi commented 4 years ago

Gives me the same error on Android 9, Moto Z and Galaxy Tab S3

amirzenoozi commented 4 years ago

V2.1.1 Still Has problem on android 10 in Samsung Galaxy S9, I use this to fix my problem.

floxy commented 4 years ago

V2.1.1 Still Has problem on android 10 in Samsung Galaxy S9, I use this to fix my problem.

This works! Thanks man!

cyqsimon commented 4 years ago

THIS COMMENT IS OUTDATED. PLEASE USE OFFICIAL VERSION 2.1.3

Update: I have noticed that the version I compiled seems to be missing key configuration options in the GUI. Unfortunately I haven't got the technical ability nor enough free time to fix the code, so you will have to use the following workaround:

  1. Install official version.
  2. Configure settings in SS GUI.
  3. Uninstall official version. The settings will remain on your device.
  4. Install modified version. It will use the settings leftover by the official version.
  5. Pray that it works, because if it doesn't then too bad I guess. =(
kevev commented 4 years ago

When is this going to be fixed? Pixel 3a & Firestick 4K have same issue.

chentong444 commented 4 years ago

Is it possible to update? The above method isn't work for me