Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OBrein opened this issue Sep 4, 2019 · 19 comments
Open

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

OBrein opened this issue Sep 4, 2019 · 19 comments

Comments

@OBrein
Copy link

OBrein commented Sep 4, 2019

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

@omengye
Copy link

omengye commented Sep 5, 2019

Pixel 2 with the same problem

@cbeuw
Copy link
Owner

cbeuw commented Sep 5, 2019

Possible duplicate of #7

@omengye
Copy link

omengye commented Sep 5, 2019

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

@omengye
Copy link

omengye commented Sep 18, 2019

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
Copy link

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
Copy link

txdywy commented Sep 25, 2019

Same issue. OnePlus 7 Pro, Android P

@MegaStone
Copy link

MegaStone commented Oct 23, 2019

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
Copy link

kylemraz commented Nov 1, 2019

update kcptun to latest version

@Almanix
Copy link

Almanix commented Nov 18, 2019

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
Copy link

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

@cyqsimon
Copy link

cyqsimon commented Dec 4, 2019

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
Copy link

txdywy commented Dec 17, 2019

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

@cyqsimon
Copy link

cyqsimon commented Dec 18, 2019

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
Copy link

papampi commented Feb 10, 2020

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

@amirzenoozi
Copy link

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

@floxy
Copy link

floxy commented Feb 21, 2020

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
Copy link

cyqsimon commented Feb 25, 2020

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
Copy link

kevev commented Feb 28, 2020

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

@chentong444
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests