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
9.85k stars 581 forks source link

Shizuku turns off without wifi #544

Open Franzoli-GitHub opened 1 month ago

Franzoli-GitHub commented 1 month ago

Please report bugs of Shizuku itself.

Requirements:

Change "[ ]" to "[x]" if it meets the requirements.

Reports not meet the requirements will be immediately closed.

Information:

Logs:

Related I don't know how to access/get the logcat of shizuku.

Describe the bug: when turning off wifi shizuku shuts down

A clear and concise description of what the bug is.

Additional context:wireless debuging does not persist without a wifi connection and shizuku will randomly shut when not in use but thats probably a problem with android(maybe puting a presisting notification will fix the problem)

Add any other context about the problem here.

unseensholar commented 1 month ago

Reporting same issue.

jcfyre commented 1 month ago

I know my comment is more of that and not the solution, but it is interesting because on mine, Shizuku 13.5.4, Android 14, Samsung S23 FE, as long as I keep USB debugging on and do not revoke, I can delete shizuku from wireless debugging, turn off wireless debugging, turn off my wifi, put in airplane mode, close shizuku, FORCE STOP Shizuku, and it will STILL allow my apps ADB access and will simply just re-run Shizuku again in the background when needed. Only thing is I have to make sure to keep USB debugging on and of course on reboot it resets. So I do find your situation interesting and hope my comment brings more attention to it.

Fenix37 commented 3 days ago

Same issue with Poco x3 Pro running MIUI by Xiaomi.EU 14.0.3.0 Edit: The app has no battery restrictions and allowed it to run in the background as dontkillmyapp suggests