* Read thermal zone types once for the HUD
Every HUD refresh listed /sys/class/thermal and opened every zone's type file three or four times (CPU temperature, GPU temperature and the replaced-zone check). Zone types do not change while the device runs, so the sorted map is read once and reused.
* Cache thermal zone types only after a scan with no read failures
* fix(frontend): a restored front end no longer relaunches the game from its old link
When the system kills the app while a game started from a droiddeck:// link
is running, reopening the task restores the front end with that same link
and starts the game again. The link is now dropped when a new process
restores the activity or Recents reopens it, so only a fresh link launches.
* fix(frontend): judge every restored front end by the process that saved it
* Keep restored settings links working
Only game links are dropped when a restored front end replays its intent; droiddeck://settings links still open their page.
Xbox cloud
- Audio: WebRTC's JavaAudioDeviceModule defaults to voice-call audio
(mono, speaker/earpiece only), so HDMI, USB and Bluetooth stayed silent.
Use USAGE_GAME + CONTENT_TYPE_MOVIE and stereo output. From Bannerlator
eac4a3bb (same WebRTC 125.6422.07), proven there over HDMI.
- Library: GET /v2/titles marks every title the account may play
(details.hasEntitlement or isFreeInStore, as Greenlight's xcloud.ts by
UnknownSKL, MIT); those not in the PC list are added (gamepass when on
the Game Pass cloud list, else owned). Catalog in batches of 25, up to 4
at a time, mapped per batch. One card per title: cloud-only editions
fold into the PC card (owned when the cloud edition is owned), same-title
cloud-only editions become one card (matched on every Unicode letter
and digit, so non-Latin titles stay apart). Without the Game Pass
lists no cloud titles are added. On one account: All 459 -> 677,
Owned 9 -> 53, Game Pass 450 -> 624, Cloud 325 -> 569.
- Players: when the title list lacks the product, look it up by product id
(POST /v2/titles with alternateIds, as Better xCloud's getTitleInfo by
redphx, MIT), then by the game's name against the list.
- Launch art: both players show the game's art as a slow slideshow with the
title until the first video frame (store-images hosts only, up to 12).
Native: XboxNativeVideo.onFirstFrame, plus 6 s after connect for
zero-copy. Web: a script waits for the video element's first decoded
frame (or 6 s) and calls DDCloud.firstFrame().
- Cancel: until the first frame, B or Back, or a tap on the B Cancel
button (button role + accessibility action, not focusable), closes the
player and ends the session; afterwards B and Back
work as before. A session started after the player closed is stopped
right away.
From Even Better Xcloud (BannerCloud) ef61b2b, fc68d26, a4d2d1e, 559e17b,
7ec2a75 (the web-player launch art is new).
Chip names
- The AYANEO Pocket FIT (SG8350P, pineapple) showed "Snapdragon 8 Gen 3
family" and the Retroid Pocket Duo (CQ7790S, sun) "Snapdragon 8 Elite
family". Add SG8350P (Snapdragon G3 Gen 3), CQ7790S (Dragonwing Q-7790),
SM8635, SM8735, SM7675 and platform canoe; use the platform family only
for an empty model or an "SM" phone part. Model matching stays exact.
From Bannerlator 59c49bfa (without its suffix stripping and Galaxy
naming). plainName (#3231) now names the Duo's chip too; its test uses
an unknown model for the maker + model fallback.
Input
- Xiaomi's system uinput device "ui-input-xiaomi" reports gamepad sources
and could take a player slot. From Bannerlator fbe0233e, ported there
from Winlator Ludashi e104c8d3 by StevenMXZ (GPL-3.0).
* feat(addons): open the addon browser on CurseForge and update every outdated addon at once
* fix(addons): share one update per project, keep queued add-ons from being deleted, release progress on cancel
* fix(addons): keep update-all groups apart by source and release only the progress it still owns
Owned Steam games are listed in the Library's Steam tab like the other stores' games. Any of them installs from its page into the Steam library the user picks, with a Rust engine running in the app.
- Sign-in reuses the Linux Steam client's saved login; there is no second login.
- The engine picks the same depots and manifests the client would (licensed depots only) and checks every chunk's SHA-1 before writing it.
- It registers the game the way the client does (app manifest, libraryfolders, shared redistributables), so the client neither re-verifies nor re-downloads it. Updates stay with the client.
- A paused or interrupted download shows in the arm64 or x86-64 client as a resumable install. Taking over a client's stopped download keeps the files the client already staged.
- Uninstall matches the client's and updates the client whose library holds the game.
- Steam gets no Stores tab.
Tested on an AYN Thor with both client architectures. The engine is The412Banner's feat/steam-store work, derived from WinNative's wn-steam-client (GPL-3.0); see src/steam/NOTICE.md.
* fix(native): relink absolute symlinks again after any proot run
* fix(native): keep links into shared storage and relink rootfs trees made since the last walk
A link into /root/Storage (the Downloads and Documents links) points at a
mount, which a relative link would miss; it keeps its guest path. The stamp
version moves on so rootfs trees that already ran a proot session after the
last walk are walked once more.
* fix(native): leave the relink stamp unwritten while a proot run is alive
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
* Start Steam offline automatically when the device has no internet
OfflineMode now reads Steam's own WantsOfflineMode as the user's choice, so going offline inside Steam shows on DroidDeck's toggle and is no longer reset on the next start. When Android has no validated internet, Steam starts in offline mode for that start only and goes back online once a connection returns, without changing the saved choice.
* Test automatic and manual Steam offline mode
* Switch Steam offline and back live when the network drops or returns mid-session
* Apply Steam offline changes after a game exits and when the session resumes
* Add an Auto offline mode toggle above Offline mode
* Keep an automatic offline automatic when Steam cannot be reached, and reconcile once when the session starts
* Keep a manual Offline choice made while a live switch is in flight
* Read the saved offline state and write it under one lock
* Check the Auto setting inside the offline state lock
* Keep Steam's current offline state when Auto is turned off
New Steam setting "Valve Proton only when needed", on by default. While it is on and DroidDeck-Proton has not been removed by the user:
- the app installs DroidDeck-Proton before the client first starts instead of seeding Valve's Proton Experimental (ARM64) (2.09 GB on disk, 398 MB download); a stop request cancels that download
- the session no longer asks the client for appid 4427310 at every start
- the live helper fetches it only once the default or a title is set to a tool built from it ("Proton Experimental ARM64 (Compatible)"), or while no DroidDeck-Proton build is installed
FEX and the Steam Linux Runtimes are still fetched as before. An installed copy of Valve's Proton is kept and updated. Off, or with DroidDeck-Proton declined, everything works as before (DD_VALVE_PROTON=1). Fresh install on a Pocket FIT: 8.28 GB after first Steam start and tool downloads, was 10.4 GB.
With targetSdk 34, Android refuses startForeground() while the app is in the background. RuntimeInstallService called it unguarded on the main thread, so the refusal (ForegroundServiceStartNotAllowedException) killed the app during first-run setup when the runtime finished while DroidDeck-Proton was still downloading (RuntimeInstallService.kt:49 via onStartCommand :22).
Both foreground starts now catch the refusal: a package hold stops the service and the downloads go on in the app, as when startForegroundService() itself is refused; a runtime install or removal still runs, without progress notifications.
* Resolve fake input's real functions before any loader lock is held
Each hooked call looked up its real function through a function-local
static, and the x86 dlsym hook opened libc the same way. A thread that
entered a hook first held the static's guard while dlsym waited for the
loader lock, and a thread inside dlopen held the loader lock while its
constructor called the same hook and waited for the guard. Steam's update
window hung that way under FEX, so x86 Steam stopped at Installing update.
The real functions now live in lock-free slots filled by the library's
constructor, and the dlsym hook resolves dlvsym and libc there too.
* Use an atomic handshake in the loader lock test