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

可以在lineagesOS上跑,不能在flyme6上跑 #4

Closed
mountainguan opened this issue Jan 24, 2017 · 11 comments
Closed

可以在lineagesOS上跑,不能在flyme6上跑 #4

mountainguan opened this issue Jan 24, 2017 · 11 comments

Comments

@mountainguan
Copy link

一样的配置,在lineagesOS上可以运行。在flyme6上提示Unknown plugin kcptun....而我已经安装过了kcpun的插件了。不清楚怎么抓这个app的log,所以不能附上

@Mygod
Copy link
Collaborator

Mygod commented Jan 26, 2017

Logcat please. (adb logcat | grep shadowsocks)

@Mygod Mygod closed this as completed Jan 26, 2017
@mountainguan
Copy link
Author

这是魅族基于安卓5.1.1的Flyme6系统上的logcat
image

@Mygod
Copy link
Collaborator

Mygod commented Jan 30, 2017

Try disabling xposed, privacy protection apps, etc.

@mountainguan
Copy link
Author

mountainguan commented Jan 30, 2017

关闭xposed以后,少了xposed的错误日志。但是kcptun还是用不了,这是新的日志
image

@Mygod
Copy link
Collaborator

Mygod commented Jan 30, 2017

Please try 4d3fab2. @madeye

@Mygod
Copy link
Collaborator

Mygod commented Jan 31, 2017

@madeye Could you please kindly build a nightly? Thanks!

@madeye
Copy link
Contributor

madeye commented Jan 31, 2017

@Mygod
Copy link
Collaborator

Mygod commented Feb 2, 2017

Closing this due to inactivity. But I'm going to keep this new authority anyway.

@Mygod Mygod closed this as completed Feb 2, 2017
@Dreista
Copy link

Dreista commented Mar 9, 2017

It seems that Flyme users are still encountering 'Unknown Plugin' problem.
Happened to get a Meizu device. Hope the imformation provided below may help.

Device: Meizu Meilan Note 2 China Telecom Edition (M571C)
Android Version: 5.1
Flyme Version: 5.1.9.0Q

Shadowsocks-Android Version: 4.1.1
Kcptun-Android Version: 0.0.4

All battery-saving options are not enabled.

Log:
I/ActivityManager( 833): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.shadowsocks/.MainActivity bnds=[48,96][294,384]} from uid 10086 on display 0 from pid 1776
I/System.out( 1776): createMD5, pathFile is /data/app/com.github.shadowsocks-1/base.apk
I/ActivityManager( 833): Start proc 6319:com.github.shadowsocks/u0a122 for activity com.github.shadowsocks/.MainActivity
I/ActivityManager( 833): Start proc 6347:com.github.shadowsocks:bg/u0a122 for service com.github.shadowsocks/com.evernote.android.job.JobRescheduleService
I/WindowManager( 833): Gaining focus: Window{12f3039e u0 com.github.shadowsocks/com.github.shadowsocks.MainActivity}
I/ActivityManager( 833): [AppLaunch] Displayed Displayed com.github.shadowsocks/.MainActivity: +1s351ms
I/Vpn ( 833): prepare old:com.github.shadowsocks,new:null
I/Vpn ( 833): prepare old:com.github.shadowsocks,new:null
W/Interception( 833): isInterceptByRule realCallingPid: 6347 isInterceptAsUsual: true isMatch: false, runType===provider|||callerPkg===com.github.shadowsocks|||calleePkg===com.github.shadowsocks.plugin.kcptun|||calleeClass===com.github.shadowsocks.plugin.kcptun.BinaryProvider|||processName===com.github.shadowsocks.plugin.kcptun|||action===|||data===|||extras===Bundle[{uri=com.github.shadowsocks.plugin.kcptun.BinaryProvider}]|||interception===false
E/ActivityThread( 6347): Failed to find provider info for com.github.shadowsocks.plugin.kcptun.BinaryProvider
W/System.err( 6347): java.lang.IllegalArgumentException: Unknown URI content://com.github.shadowsocks.plugin.kcptun.BinaryProvider
W/System.err( 6347): at com.github.shadowsocks.plugin.PluginManager$.initNativeFast(PluginManager.scala:135)
W/System.err( 6347): at com.github.shadowsocks.plugin.PluginManager$.initNative(PluginManager.scala:124)
W/System.err( 6347): at com.github.shadowsocks.plugin.PluginManager$.init(PluginManager.scala:97)
W/System.err( 6347): at com.github.shadowsocks.BaseService$class.connect(BaseService.scala:162)
W/System.err( 6347): at com.github.shadowsocks.ShadowsocksVpnService.connect(ShadowsocksVpnService.scala:121)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply$mcV$sp(BaseService.scala:186)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply(BaseService.scala:186)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply(BaseService.scala:186)
W/Interception( 833): isInterceptByRule realCallingPid: 6347 isInterceptAsUsual: true isMatch: false, runType===provider|||callerPkg===com.github.shadowsocks|||calleePkg===com.github.shadowsocks.plugin.kcptun|||calleeClass===com.github.shadowsocks.plugin.kcptun.BinaryProvider|||processName===com.github.shadowsocks.plugin.kcptun|||action===|||data===|||extras===Bundle[{uri=com.github.shadowsocks.plugin.kcptun.BinaryProvider}]|||interception===false
E/ActivityThread( 6347): Failed to find provider info for com.github.shadowsocks.plugin.kcptun.BinaryProvider
W/System.err( 6347): at com.github.shadowsocks.plugin.PluginManager$.init(PluginManager.scala:108)
W/System.err( 6347): at com.github.shadowsocks.BaseService$class.connect(BaseService.scala:162)
W/System.err( 6347): at com.github.shadowsocks.ShadowsocksVpnService.connect(ShadowsocksVpnService.scala:121)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply$mcV$sp(BaseService.scala:186)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply(BaseService.scala:186)
W/System.err( 6347): at com.github.shadowsocks.BaseService$$anonfun$startRunner$1.apply(BaseService.scala:186)

So kcptun-android is intercepted by some kind of built-in rules in Flyme ROM? Probably @mountainguan should contact them for help.

@ChaosJohn
Copy link

Flyme6

Reason: kcptun plugin could not be wake up by shadowsocks due to the system limitation.

Solution: Security -> Permissions -> Run in background -> find 'kcptun' -> choose 'Keep running in background' instead of 'Smart Background(recommended)' which is the default.

The Security is a flyme build-in app which has a green circle icon with a white umbrella in it.

Hope it will help you guys :)

@yudenzel
Copy link

@ChaosJohn

Thanks for your detail help!

It finally works!

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

6 participants