RikkaApps / Shizuku

Using system APIs directly with adb/root privileges from normal apps through a Java process started with app_process.
Apache License 2.0
11.33k stars 652 forks source link

adb 执行sh 回显crash #85

Closed xinjiangdapanji closed 4 years ago

xinjiangdapanji commented 4 years ago
F:\Sdk\platform-tools>adb shell sh /data/user_de/0/moe.shizuku.privileged.api/start.sh
info: start.sh begin
info: starter is /data/user_de/0/moe.shizuku.privileged.api/starter-v9
debug: use_shell_context=0
info: source dex path is /data/user_de/0/moe.shizuku.privileged.api/server-v9.dex
info: dex path is /data/local/tmp/shizuku/server-v9.dex
info: starter begin
info: killing old process...
info: starting server...
info: process forked, pid=9229
info: checking shizuku_server start...
info: checking shizuku_server stability...
info: checking shizuku_server stability...
info: checking shizuku_server stability...
info: shizuku_server started.
--- crash start ---
[command] logcat -b crash -t '10-10 14:52:09.000' -d
--- crash end ---
--- shizuku start ---
[command] logcat -b main -t '10-10 14:52:09.000' -d -s ShizukuServer ShizukuServerV3 ShizukuManager
10-10 14:52:10.266  9230  9230 I ShizukuServerV3: server v3
10-10 14:52:10.394  9230  9230 E ShizukuServerV3: provider is null com.aefyr.sai.shizuku 0
10-10 14:52:10.398  9230  9230 E ShizukuServerV3: provider is null rikka.appops.shizuku 0
10-10 14:52:10.402  9230  9230 E ShizukuServerV3: provider is null com.tokyonth.installer.shizuku 0
10-10 14:52:10.413  9230  9230 I ShizukuServerV3: send binder to user app moe.shizuku.privileged.api in user 0
--- shizuku end ---
info: shizuku_starter exit with 0

设备:中兴A7 固件:MiFavor UI 21.1 Android 9 shizuku版本:5.0.0/4.2.2

RikkaW commented 4 years ago

看起来很正常喔

xinjiangdapanji commented 4 years ago

oh 我的god shizuku应用内显示正在运行 实际上并不正常 拨动shizuku内置权限管理开关 提示的是adb权限受限

RikkaW commented 4 years ago

比如 MIUI 会有一个单独的选项“USB 调试(安全设置)”来控制 adb 的一些权限,可能你的中兴也有类似的设定(

xinjiangdapanji commented 4 years ago

其实给的也很足( 权限管家之类的也都确认给权限了 只是看到了crash过来问问( 若没问题,像我这样手机系统可以考虑做一个禁止安装的提示 0yMyQJ.jpg