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.39k stars 655 forks source link

Huawei - Harmony OS - Permission Denied #302

Open abalta opened 1 year ago

abalta commented 1 year ago

Please report bugs of Shizuku itself.

Requirements:

I have already follow these steps: https://shizuku.rikka.app/guide/setup/#start-via-wireless-debugging-start-by-connecting-to-a-computer-shizuku-randomly-stops

Information:

Logs:

When I run start.sh command. I got "Permission Denied" error.

adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh sh: /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh: Permission denied

File is existing in directory.

RikkaW commented 1 year ago

In some specific versions of EMUI (and HarmonyOS), adb does not have access to the /sdcard/Android folder. To work around this problem the process of starting Shizuku must be changed. This is planned, but not a high priority.