[GH-ISSUE #5659] TROUBLESHOOTING wrongly says termux-wake-lock needs Termux:API; the freeze signature is undocumented #3136

Closed
opened 2026-10-21 05:59:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kolacheee on GitHub (Aug 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5659

Originally assigned to: @kolacheee on GitHub.

What happens

docs/TROUBLESHOOTING.md (~line 326) tells Termux users that termux-wake-lock requires the Termux:API add-on:

On devices that support the Termux:API add-on, install that add-on and the termux-api package so termux-wake-lock is available.

That's incorrect — termux-wake-lock/termux-wake-unlock ship in the core termux-tools package present in every standard Termux install. The misdirection sends users off to install an add-on they don't need, and worse, implies that if they don't have Termux:API the wake lock is out of reach.

Also missing from the same page

The background-freeze signature we just triaged deserves its own entry, since users can't self-diagnose it today:

  • Symptom: endless "Opening chat…", server diagnostics fields "Unavailable", instant recovery the moment Termux is foregrounded → the host process is frozen, not crashed (requests connect but are never answered; the session log will show a timestamp gap rather than an error).
  • Reality check: a wake lock alone does not exempt a process from the Android 15 cached-app freezer or vendor sleep features; users need the device-side exemptions too (Battery → Unrestricted, app hibernation off, Samsung "Never sleeping apps", and on Android 15 the Developer Options "Freeze cached apps" state) — dontkillmyapp.com-style per-vendor guidance.

Reminder for whoever picks this up

Per CONTRIBUTING.md § Translated documentation, this edit must be mirrored on the docs-i18n language packs or get a [docs-i18n] docs/TROUBLESHOOTING.md follow-up issue.

Originally created by @kolacheee on GitHub (Aug 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5659 Originally assigned to: @kolacheee on GitHub. **What happens** `docs/TROUBLESHOOTING.md` (~line 326) tells Termux users that `termux-wake-lock` requires the Termux:API add-on: > On devices that support the Termux:API add-on, install that add-on and the `termux-api` package so `termux-wake-lock` is available. That's incorrect — `termux-wake-lock`/`termux-wake-unlock` ship in the core `termux-tools` package present in every standard Termux install. The misdirection sends users off to install an add-on they don't need, and worse, implies that if they don't have Termux:API the wake lock is out of reach. **Also missing from the same page** The background-freeze signature we just triaged deserves its own entry, since users can't self-diagnose it today: - Symptom: endless "Opening chat…", server diagnostics fields "Unavailable", instant recovery the moment Termux is foregrounded → the host process is **frozen**, not crashed (requests connect but are never answered; the session log will show a timestamp gap rather than an error). - Reality check: a wake lock alone does not exempt a process from the Android 15 cached-app freezer or vendor sleep features; users need the device-side exemptions too (Battery → Unrestricted, app hibernation off, Samsung "Never sleeping apps", and on Android 15 the Developer Options "Freeze cached apps" state) — dontkillmyapp.com-style per-vendor guidance. **Reminder for whoever picks this up** Per `CONTRIBUTING.md § Translated documentation`, this edit must be mirrored on the `docs-i18n` language packs or get a `[docs-i18n] docs/TROUBLESHOOTING.md` follow-up issue.
Author
Owner

@kolacheee commented on GitHub (Aug 29, 2026):

Termux background-freeze follow-up family (from the 2026-08-30 triage; verdict: the battery-efficiency waves removed the ambient polling that had kept vendor freezers from classifying backgrounded Termux as dormant — see #4956 for the first field report): #5655 server freeze detector, #5656 wake-lock surfacing, #5657 client unreachable-state UX, #5658 checkVersion fetch leak, #5659 TROUBLESHOOTING corrections.

<!-- gh-comment-id:5465584397 --> @kolacheee commented on GitHub (Aug 29, 2026): Termux background-freeze follow-up family (from the 2026-08-30 triage; verdict: the battery-efficiency waves removed the ambient polling that had kept vendor freezers from classifying backgrounded Termux as dormant — see #4956 for the first field report): #5655 server freeze detector, #5656 wake-lock surfacing, #5657 client unreachable-state UX, #5658 checkVersion fetch leak, #5659 TROUBLESHOOTING corrections.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3136
No description provided.