14.2.0, 14.3.0 and 14.4.0: "Shevery is not running" for a few seconds.
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
🤖 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.
just close the watchdog can fix this
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.
How do I get the logcat?
Use LogFox or PC(adb logcat)
What is LogFox? And I don’t have a PC.
LogFox is the Android app that can show you logcat with crashes.
I see; and if I install it, how would I set it up to work alongside Shevery to collect the logcat?
Fixed in 2398cc49:
HomeActivity.onCreateandAdbStartWorkerno longer writeadb_wifi_enabled = 1when the server binder or TCP port5555is already active (flippingadb_wifi_enabled0 -> 1while running in TCP mode causedadbdto restart and briefly drop the session).AdbStarter,AdbStartWorker,WatchdogManager, andSheveryControlReceivernow checkShizuku.pingBinder()before starting, preventing background workers from settingShizukuStateMachinetoSTARTING("Shevery is not running") and killing an already running server.