Cloak-android icon indicating copy to clipboard operation
Cloak-android copied to clipboard

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

Open OBrein opened this issue 6 years ago • 19 comments

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

OBrein avatar Sep 04 '19 07:09 OBrein

Pixel 2 with the same problem

omengye avatar Sep 05 '19 03:09 omengye

Possible duplicate of #7

cbeuw avatar Sep 05 '19 09:09 cbeuw

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

omengye avatar Sep 05 '19 11:09 omengye

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.

omengye avatar Sep 18 '19 03:09 omengye

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.

MegaStone avatar Sep 22 '19 12:09 MegaStone

Same issue. OnePlus 7 Pro, Android P

txdywy avatar Sep 25 '19 06:09 txdywy

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.

MegaStone avatar Oct 23 '19 02:10 MegaStone

update kcptun to latest version

kylemraz avatar Nov 01 '19 07:11 kylemraz

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.

Almanix avatar Nov 18 '19 06:11 Almanix

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

cyqsimon avatar Nov 26 '19 13:11 cyqsimon

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.

cyqsimon avatar Dec 04 '19 06:12 cyqsimon

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

txdywy avatar Dec 17 '19 07:12 txdywy

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.

cyqsimon avatar Dec 18 '19 01:12 cyqsimon

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

papampi avatar Feb 10 '20 09:02 papampi

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

amirzenoozi avatar Feb 17 '20 09:02 amirzenoozi

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

This works! Thanks man!

floxy avatar Feb 21 '20 20:02 floxy

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. =(

cyqsimon avatar Feb 25 '20 04:02 cyqsimon

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

kevev avatar Feb 28 '20 01:02 kevev

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

chentong444 avatar Feb 29 '20 17:02 chentong444