RikkaApps / Sui

Modern super user interface implementation on Android.
GNU General Public License v3.0
2.39k stars 129 forks source link

Permission request prompt does not pop up properly on WSA / 权限请求弹窗在WSA上无法正常显示 #30

Open foxhatleo opened 2 years ago

foxhatleo commented 2 years ago

Windows Subsystem for Android Windows 11 (10.0.22000 Build 22000) Sui v12.6.1 (Zygisk version) Magisk v24.1 (Zygisk)

When using "App Ops", the little pop-up window that is supposed to ask for elevated permission simply does not show on WSA. The only way around this issue is to install a launcher (WSA does not come with one), and go into the Sui settings through the shortcut on the Settings app. In addition, entering "Developer options" in system settings does not prompt a Sui shortcut on desktop either.

使用“App Ops”的时候,要求提升权限的小弹窗在WSA上完全不显示。曲线救国的办法只有安装一个launcher(WSA不自带launcher),然后通过设置app上的快捷方式进入Sui设置界面。另外还有一点,进入“开发者选项”也并不会提示创建Sui桌面快捷方式。

jat001 commented 7 months ago

更简单的办法:

adb shell "su -c 'am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://784784'"