cbeuw / cloak-android Goto Github PK
View Code? Open in Web Editor NEWAndroid client of Cloak
License: Other
Android client of Cloak
License: Other
Good afternoon!
Where are the other versions for android?
I see there is v1 and then suddenly with nothing in between v2. Where are v1.1.2 and other ones? Will they ever be availiable?
Hi!
I succesfully use Cloak with both Openvpn and Shadowsocks on a desktop Linux machine connected to a VPS. I want to also use it on my LineageOS phone. After installing Cloak-android plugin I am able to choose it in the "plugin" section of Shadowsocks app on my phone. Is it possible to also use this plugin with Openvpn app from Fdroid? Can I somehow run Cloak-android in standalone mode and connect my Openvpn client to it?
无法在安卓9的当贝B3盒子上安装。
Current cloak-android only has a 32-bit version, in some cases, the newest phone maybe not support it. [The Pixel 7 series might be the first 64-bit-only Android phones]
and some phones may show a warning message:
Thanks for your hard work.
Hello,
This bug was present for a long time. I checked with adb, the cloak process is alive, but when shadowsocks connects to it, it gets a timeout and reports timeout connecting to the localhost port. I will compile a version of cloak with more logging (since it seems in shadowsocks we can't set logging level for cloak) and try to debug this issue.
It seems to happen in 2 cases, when cloak left for a long time idle (even when cloak and shadowsocks put in battery optimization whitelist), also rebooting the server triggers the issue more quickly.
Note: This issue never happens to shadowsocks alone and it is also using a native process.
I know the configuration, user-db, etc are not compatible. But my question is: Can I connect to v1 and v2 servers using the latest cloak plugin for android?
Thanks in advance!
Tryng to get the last release APK I get a strange error:
Error 503 Backend unavailable, connection timeout
Backend unavailable, connection timeout
Error 54113
Details: cache-bma1677-BMA 1688061931 3220500638
Varnish cache server
Could you please reload it?
Sources are available without any problems, but I need binary
Hello
Are you going to upgrade the android version to support cloak 2 as well?
Or the android project is discontinued?
Yesterday, shadowsocks-android was updated to 5.1.9, I downloaded and installed it . However, I found that it does not work properly with Cloak-android 2.5.2. I reinstalled shadowsocks-android 5.1.7 and everything is ok. Can this problem be fixed? thank you. happy New Year.
Can you please state what license this app is covered by? I could find no information in the repo here.
Shadowsocks.apk seems consuming much more battery after activiating this plugin?
I install and configure a profile and it opens/connects sucessfully. After disconnecting I get plugin not found error. I can never again use the plugin. Rebooting phone, removing/re-adding profile doesn't fix the issue. My server works with windows plugin, but the android plugin only works the first time I run it.
To get it to run again. I have to uninstall plugin & shadowsocks and restart. There may be another fix but I don't know it.
This happens on my tablet and Huawei Mate 10 phone running EMUI 9.0.0.187 Shadowsocks-Androind 4.7.4 & 4.8.0 both exhibit this issue.
Thanks for any suggestions
How to do with it?
Thanks.
(Android 9, emui 9.1.0)
please add the program to the website https://f-droid.org
you only need to configure the automatic taking of your program from the github. the site F-Droid itself will take new versions and compile them itself.
Not work on Android 12.
Try install on MIUI 14 Android 13.
Try explore app activities only show "Config Activity", cannot run the apps
its work for pc version but not working properly with android apps, even waiting for couple minutes. please adjust so compatible with new shadowsocks apps
Providing the wrong file?
I downloaded v2.7.0 and installed on my Pixel 4a with Android version 13. The app doesn't show in screen. I can find it in settings\Apps. The 'Add New Apps to Home Screen' option is on. Developer mode is on.
In settings\Apps\Cloak\App Info, there is no option to open it. Other app have this option to open.
Hello,
Cloak works on my laptop and it's a brilliant piece of software...
There are needs for a standalone option either for openvpn or for wireguard on Android.
I'd personally love to be able to use cloak on my mobile exactly the same way as i'm doing on the computer...
How about adding a tiny user interface allowing (advanced ?) users to run cloak on android without shadowsocks ?
Just to pass udp and tcp trafic just like cloak on *nix, mac and windows...
Kind regards,
It is necessary if Transport mode is direct.
You can add Screenshots for F-Droid, too, if you want.
https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/
https://gitlab.com/snippets/1895688
That was simply information about what is still possible. You would then only have to enter the
screenshots in fastlane. This is just one way that you can also add screenshots to the app view
if you can. If you added screenshots (then F-Droid is happy) and if you can't add any -> then
you can close the issue because it was only an info. Thank you that your app is available in
fdroid. Very much for your attention.
Thank you for the beautiful software!
I'm trying to repeat my desktop setup on Android and I struggle to understand how it works as a plugin to shadowsocks.
From what I see via logcat, once started, cloak as a plugin every time opens a different port for openvpn client:
time="2023-08-25T09:03:00Z" level=info msg="Listening on TCP 127.0.0.1:42101 for openvpn client"
<...>
time="2023-08-25T09:31:49Z" level=info msg="Listening on TCP 127.0.0.1:42571 for openvpn client
I can't see any way to have this fixed in the UI, nor have I found a way to get into the configs directly.
Any help would be much appreciated!
I can successfully establish connections between my Android phone and my server using the Cloak plugin. I see active connections on the server and applications work.
However, if I enable remote DNS resolution, then it stops working (DNS resolution, it looks like traffic is still forwarded to IPs). I haven't tried any other plugins, so not sure if this could be related to shadowsocks app instead of cloak plugin.
I have tried to get more detailed logs using adb-logcat without success.
I also have checked the ck-server logs, nothing special is logged.
No problems when using ss-client from a laptop.
ss-server shadowsocks-libev 3.1.3
ck-server 1.1.1
android shadowsocks from Google play 4.7.4
cloak plugin apk downloaded from github 1.0.0
Phone Oneplus 6
Android version 9
Oxygen OS beta 21
The desktop client has been updated to 2.1.2, while the android client is still 2.1.1.
Is it possible to upload this plugin to the Play Store?
I am blocked installing apps from unknown sources, so unfortunately cannot use this. Uploading to the Play store would also ensure people use the latest version.
Thanks!
In desktop version I set 127.0.0.1:1984 for shadowsocks and put the remote host in ckclient.json next to cloak executable.
But when I load the cloak plugin in shadowsocks there is no place for RemoteHost in Configuration section.
I just updated my server from Cloak v1 to the latest v2. I can connect with Windows PC but not Android. I updated the Android Cloak plugin and the profile for the Shadowsocks app. I get the following error when I try to connect:
libss-local exits too fast (exit code 255)
I have to check the update page manually.
Updating this plugin via Play Store is much more convenient.
The log is as follows:
06-03 20:31:01.025 6939 7302 E libsslocal: 2020-06-03T20:31:01.023+08:00 INFO shadowsocks 1.8.12
06-03 20:31:01.046 6939 7302 E libsslocal: 2020-06-03T20:31:01.045+08:00 INFO started plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" on 127.0.0.1:42607 <-> <My_Server-IP>:443 (7317)
06-03 20:31:01.501 6939 7302 E libsslocal: panic: runtime error: index out of range [1] with length 1
06-03 20:31:01.503 6939 7302 E libsslocal: goroutine 1 [running]:
06-03 20:31:01.503 6939 7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ssvToJson(0x400000a112, 0xdf, 0x6070c89e33, 0x1, 0xd)
06-03 20:31:01.503 6939 7302 E libsslocal: C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:89 +0x4e0
06-03 20:31:01.503 6939 7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ParseConfig(0x400000a112, 0xdf, 0x4, 0x0, 0x0)
06-03 20:31:01.503 6939 7302 E libsslocal: C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:107 +0x78
06-03 20:31:01.503 6939 7302 E libsslocal: main.main()
06-03 20:31:01.503 6939 7302 E libsslocal: C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/cmd/ck-client/ck-client.go:81 +0x71c
06-03 20:31:11.048 6939 7302 E libsslocal: 2020-06-03T20:31:11.047+08:00 WARN plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" for <My_Server-IP>:443 listening on 127.0.0.1:42607 isn't started yet, elapsed 10.0s
06-03 20:31:11.050 6939 7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR terminating plugin process 7317, error: No such process (os error 3)
06-03 20:31:11.051 6939 7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR waitpid(7317) error: No child processes (os error 10)
06-03 20:31:11.056 6939 7302 E libsslocal: 2020-06-03T20:31:11.051+08:00 ERROR one of servers exited unexpectly, result: Err(Custom { kind: Other, error: "plugin exited unexpectedly with exit code: 2" })
06-03 20:31:11.056 6939 7302 E libsslocal: thread 'main' panicked at 'aborted with server exited unexpectly', src/bin/local.rs:310:45
06-03 20:31:11.056 6939 7302 E libsslocal: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Note: Normal use in Android 5.0.6 version
It does not start on Android 10. OnePlus 7 Pro smartphone.
libss-local exits too fast (exit code 255)
v2.5.5 can not work on Mi 11 MIUI 12.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.