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

Please select a profile #1589

Closed
3 of 17 tasks
jw587 opened this issue Jan 19, 2018 · 39 comments
Closed
3 of 17 tasks

Please select a profile #1589

jw587 opened this issue Jan 19, 2018 · 39 comments

Comments

@jw587
Copy link

jw587 commented Jan 19, 2018

Please read FAQ then answer these questions before submitting your issue. Thanks!

Environment

  • Android version: 7.1.1 with Flyme 6.2.5.0A
  • Device: Meizu MX6
  • Shadowsocks version: 4.4.5
  • Last version that did not exhibit the issue (if applicable):

Configuration

Put an x inside the [ ] that applies.

  • IPv4 server address
  • IPv6 server address
  • Client IPv4 availability
  • Client IPv6 availability
  • Encrypt method:aes-256-cfb
  • Route
    • All
    • Bypass LAN
    • Bypass China
    • Bypass LAN & China
    • GFW List
    • China List
    • Custom rules
  • IPv6 route
  • Apps VPN mode
    • Bypass mode
  • Remote DNS: 8.8.8.8
  • DNS Forwarding
  • Plugin configuration (if applicable):
  • Auto Connect
  • TCP Fast Open
  • If you're not using VPN mode, please supply more details here:

What did you do?

有时候打开ShadowSocks的时候,它会闪退,然后再点一下就能打开了。
但选择一个配置后,点击右下角的小飞机图标连接,老是提示“Please select a profile”。
我尝试过将所有配置删除,然后手工添加了一个新配置,还是同样的问题。
手机重启之后再试,第一次打开的时候没有闪退,但还是提示“Please select a profile”
最近3、4个版本都有这个问题。

What did you expect to see?

应该能连接上

What did you see instead?

总是提示“Please select a profile”,但实际上我已经选择了一个配置。

@jw587
Copy link
Author

jw587 commented Jan 19, 2018

之前都是安装新版本apk来直接替换掉手机上的旧版本,刚才试了一下把软件卸载、清理缓存、重启手机、重新安装,还是有同样的问题。我现在重新安装了4.2.3就可以了。

@madeye
Copy link
Contributor

madeye commented Jan 19, 2018

It looks a Flyme only issue according to reports. @Mygod.

@Mygod
Copy link
Contributor

Mygod commented Jan 19, 2018 via email

@liangpure
Copy link

liangpure commented Jan 20, 2018

I meet the same problem in MEIZU PRO 6. Android version 7.1.1.
I re-install 4.4.0, it worked.

@Cople
Copy link

Cople commented Jan 20, 2018

PRO 6s 系统版本和楼主一样,一直提示「后台服务启动失败:请选择配置文件」,清除数据也没用。

@Mygod
Copy link
Contributor

Mygod commented Jan 20, 2018

Please post a logcat if possible (although it's most likely database corruption).

@tooadstool
Copy link

我meizu pro6 也遇到同样问题,哪里可以下载SS旧版本?

@jw587
Copy link
Author

jw587 commented Jan 21, 2018

这个项目的Code标签里,有个Releases,里面有各个版本的下载

@jw587
Copy link
Author

jw587 commented Jan 21, 2018

不知道怎么生成logcat

@Cople
Copy link

Cople commented Jan 21, 2018

java.lang.RuntimeException: Unable to create application com.github.shadowsocks.App: java.sql.SQLException: Unable to run insert stmt on object com.github.shadowsocks.database.KeyValuePair@bbbc516: INSERT INTO keyvaluepair (key ,value ,valueType ) VALUES (?,?,?)

好像问题出在这里?

logcat.zip

@BurgerTown
Copy link

用Kotlin重写后才出现

@Mygod
Copy link
Contributor

Mygod commented Jan 24, 2018

OK I suspect this problem is caused by messed up permissions of /data/user_de folder.

Could somebody run this on a rooted terminal and paste output: ls -al /data/user_de/0/com.github.shadowsocks/databases.

Expected output should contain a line like this:

-rw-rw---- 1 u0_a* u0_a* 20480 * config.db

@BurgerTown
Copy link

Result
default

@Mygod
Copy link
Contributor

Mygod commented Jan 24, 2018

profile.db shouldn't exist under that folder. Maybe Flyme ROMs are doing a symlink for user_de folder?

Could you also run ls -al /data/user/0/com.github.shadowsocks/databases?

@Mygod
Copy link
Contributor

Mygod commented Jan 25, 2018

Also I thought Flyme ROMs are not officially supported. Wtf @madeye?

@BurgerTown
Copy link

Here is the result
default

@BurgerTown
Copy link

I think of Xposed Installer when u mentioned user_de folder
The App it self seems cannot creat file or folder in user_de folder even it has the root perrmission
so i have to creat folders and files manually so that i can run Xposed modules LOL

@Mygod
Copy link
Contributor

Mygod commented Jan 25, 2018

Yeah Flyme is so terrible at making ROMs that they should just quit already. Report this bug to Flyme instead. Tell them they can't just symlink user_de to user. They can't make this Android 7.x/6.x hybrid. Wtf do they expect us to do?

I can't fix this unless somebody mails me a rooted flyme phone. The last version that will work on this buggy system is 4.4.1. One can also build custom builds that reverts #1525 so that it will work on these buggy ROMs.

@BurgerTown
Copy link

I reported this to Flyme but i dont thihk it will make any changes beacuse there is still some devices runs a Flyme bases on Android 6.x and others are running at 7.x

@Mygod
Copy link
Contributor

Mygod commented Jan 25, 2018

Avoid Flyme devices in the future.

@BurgerTown
Copy link

haaaa

@madeye
Copy link
Contributor

madeye commented Jan 25, 2018

I'm curious how Flyme passed Android CTS?

@BurgerTown
Copy link

I think the answer is no

@jw587
Copy link
Author

jw587 commented Jan 25, 2018

多谢各位大佬的热心支持,只要有能用的版本就知足了,再次感谢!

@BurgerTown
Copy link

Yeah Flyme is so terrible at making ROMs that they should just quit already. Report this bug to Flyme instead. Tell them they can't just symlink user_de to user. They can't make this Android 7.x/6.x hybrid. Wtf do they expect us to do?
I can't fix this unless somebody mails me a rooted flyme phone. The last version that will work on this buggy system is 4.4.1. One can also build custom builds that reverts #1525 so that it will work on these buggy ROMs.

用441或以下的就行

Mygod added a commit that referenced this issue Jan 26, 2018
@Mygod Mygod closed this as completed Jan 26, 2018
@Mygod
Copy link
Contributor

Mygod commented Jan 26, 2018

Added to FAQ via bff2615.

Mygod pushed a commit that referenced this issue Feb 2, 2018
* Create faq.ru-RU.md

* Update faq.ru-RU.md

* Translate - FAQ - Russian

* Rename .github/faq.ru-RU.md to  .github/faq.ru.md

* Fixed translation mistakes + Fix #1565

* Update faq.ru.md

* Visual improvement

* Add #888

* Add #1589 and retranslate a bit of info

* Removed unnecessary word
@liuwei0514
Copy link

系统设置 应用管理 找到应用 选择存储 删除数据 重新进入应用就ok了

@jw587
Copy link
Author

jw587 commented Mar 13, 2018

刚刚试过,4.4.1以上版本不行 @liuwei0514

@thekingofcity
Copy link

Thanks to this discussion. I have just decided to change my next phone to OnePlus or Pixel 2.
A Pro 6 Plus user who encountered this problem.

@lendo
Copy link

lendo commented Apr 18, 2018

坑,我也是Flyme.

@stephenix
Copy link

stephenix commented May 1, 2018

meizu pro 6 plus encounters the similar problem.
后台服务启动失败:请选择配置文件。

@shishenwozuile
Copy link

Thank you very much

@BurgerTown
Copy link

为大家提供版本
Pro6Plus 即7.0.0 用4.3.3
Pro6 即7.1.1 用4.6.6
这应该是最高支持的版本了

@er1c-zh
Copy link

er1c-zh commented Jun 26, 2018

exm, any version can pro7 use? thanks

FakeTrader pushed a commit to FakeTrader/shadowsocks-android that referenced this issue Aug 21, 2018
FakeTrader pushed a commit to FakeTrader/shadowsocks-android that referenced this issue Aug 21, 2018
FakeTrader pushed a commit to FakeTrader/shadowsocks-android that referenced this issue Aug 21, 2018
* Create faq.ru-RU.md

* Update faq.ru-RU.md

* Translate - FAQ - Russian

* Rename .github/faq.ru-RU.md to  .github/faq.ru.md

* Fixed translation mistakes + Fix shadowsocks#1565

* Update faq.ru.md

* Visual improvement

* Add shadowsocks#888

* Add shadowsocks#1589 and retranslate a bit of info

* Removed unnecessary word
@hmgqzx
Copy link

hmgqzx commented Aug 28, 2018

@BurgerTown
4.6.6?😂现在最高版本不是 4.6.1 吗?
我试了 4.6.6、4.5.6、4.4.6 都不行,不试了,用 4.3.3 可以
Android 版本:7.1.1

@Lsnsh
Copy link

Lsnsh commented Oct 10, 2018

use version4.4.1, it work!

Environment

  • Android version: 7.0.0 with Flyme 7.8.7.24 beta
  • Device: Meizu Pro 6 Plus
  • Shadowsocks version: 4.4.1

@jw587
Copy link
Author

jw587 commented Nov 7, 2018

Meizu 16上可以正常运行最新的4.6.1
下面是Meizu 16的系统版本信息:
Android Version: 8.1.0
Flyme 7.1.1.2A

@BurgerTown
Copy link

It works now. @Mygod
I think Flyme fix that problem
devices:Meizu Pro 6 Plus
Android Version: 7.0.0
Flyme 7.2.0.0A

@Se7enPanda
Copy link

device :MeiLan Note 5
Android Version: 7.0
Flyme: 7.1.5.0A

SS version: 4.7.0 , still show "Please select a profile" when start SS.
ONLY 4.4.1 , CAN WORK!!!
魅蓝note5,当前最新flyme版本号7.1.5.0A(稳定版)情况下。4.7.0版本还是会出现“后台启动错误,请选择配置文件”的错误
换回4.4.1之后就能连接了,应该是Flyme 版本的问题!(Buggy Flyme!!!)

bannedbook pushed a commit to bannedbook/SpeedUp.VPN that referenced this issue Dec 25, 2019
bannedbook pushed a commit to bannedbook/SpeedUp.VPN that referenced this issue Dec 25, 2019
bannedbook pushed a commit to bannedbook/SpeedUp.VPN that referenced this issue Dec 25, 2019
* Create faq.ru-RU.md

* Update faq.ru-RU.md

* Translate - FAQ - Russian

* Rename .github/faq.ru-RU.md to  .github/faq.ru.md

* Fixed translation mistakes + Fix shadowsocks#1565

* Update faq.ru.md

* Visual improvement

* Add shadowsocks#888

* Add shadowsocks#1589 and retranslate a bit of info

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

No branches or pull requests