shevery icon indicating copy to clipboard operation
shevery copied to clipboard

14.2.0, 14.3.0 and 14.4.0: "Shevery is not running" for a few seconds.

Open Anonimo216 opened this issue 1 month ago • 9 comments

Requirements

  • [x] I have searched existing issues and this is not a duplicate.
  • [x] This is a core Shizuku request (not for a 3rd-party app).
  • [x] I have a specific use case that cannot be solved with current features.

Problem

Shevery works perfectly in version 14.1.0, whereas in version 14.2.0, 14.3.0 and 14.4.0, the latest one, it runs correctly for a few seconds but then reports that it isn't running, acting as if it were disabled; it reactivates after a moment, but upon leaving the application, it repeats this behavior in loop, something that does not happen in version 14.1.0.

Steps to reproduce:

1°): Launch Shevery. 2°): Click in "Start via Wireless Debugging". 3°): "Shevery is running". 4°): Keep the application in the foreground for a while. 5°): You will see that, after a short time, it displays "Shevery is not running," and then after another brief interval it switches back to "Shevery is running." This also happens when exiting the application, creating a loop. This issue does not occur with version 14.1.0.

Proposed Solution

It should behave like version 14.1.0, which works perfectly on my device without claiming it’s not running for a few seconds, only to reactivate as if by magic.

Additional Context

App: Shevery 14.2.0 (42) Android: 13 / SDK 33 / REL Device: samsung SM-A037M Service: stopped Server uid: -1 Server API: -1.-1 SELinux: unknown ADB permission: limited Authorized apps: 0 Local network: NEARBY_WIFI_DEVICES: granted ErrorProtect: enabled Dhizuku mode: enabled TCP mode: enabled Last launch: adb Root: unavailable

Anonimo216 avatar Oct 11 '26 23:10 Anonimo216

🤖 AI Triage

Not enough information or code files read to confirm this version regression; please provide logcat output capturing the server restart behavior on Android 13.

Note: this is an automated AI bot (Gemini); its verdict isn't 100% accurate and can be wrong. The bot doesn't read or reply to further comments in this thread — if it got this wrong, ping a human maintainer.

github-actions[bot] avatar Oct 11 '26 23:10 github-actions[bot]

just close the watchdog can fix this

baseapk avatar Oct 12 '26 07:10 baseapk

I had that option disabled from the start until this problem appeared, and now it simply won't go away, regardless of whether I enable or disable it. Version 14.1.0 works perfectly fine.

Anonimo216 avatar Oct 12 '26 20:10 Anonimo216

How do I get the logcat?

Anonimo216 avatar Oct 13 '26 19:10 Anonimo216

Use LogFox or PC(adb logcat)

HmnDev-Tech avatar Oct 19 '26 09:10 HmnDev-Tech

What is LogFox? And I don’t have a PC.

Anonimo216 avatar Oct 19 '26 20:10 Anonimo216

LogFox is the Android app that can show you logcat with crashes.

HmnDev-Tech avatar Oct 20 '26 20:10 HmnDev-Tech

I see; and if I install it, how would I set it up to work alongside Shevery to collect the logcat?

Anonimo216 avatar Oct 21 '26 03:10 Anonimo216

Fixed in 2398cc49:

  • HomeActivity.onCreate and AdbStartWorker no longer write adb_wifi_enabled = 1 when the server binder or TCP port 5555 is already active (flipping adb_wifi_enabled 0 -> 1 while running in TCP mode caused adbd to restart and briefly drop the session).
  • AdbStarter, AdbStartWorker, WatchdogManager, and SheveryControlReceiver now check Shizuku.pingBinder() before starting, preventing background workers from setting ShizukuStateMachine to STARTING ("Shevery is not running") and killing an already running server.

HmnDev-Tech avatar Oct 21 '26 16:10 HmnDev-Tech