mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
One switch on the Performance page turns on the boost for a session: - GameThreadHints (ADPF, kmnkv1 #682) now runs on every Android 12+ phone when the switch is on. It stays on by default only on the Odin 3, where it was measured; elsewhere it is off until turned on. - On Samsung phones the switch also holds Samsung's CPU, GPU and memory-bus presets through the Galaxy Performance SDK while the game presents frames and falls behind the panel. It lets go when the game holds pace, stops presenting, the phone is severely hot or battery saver is on. The presets are renewed every 2 s with a 5 s timeout, so Samsung's service lets go on its own if the app dies. Samsung's licence does not allow passing its SDK jar on, so DroidDeck ships without it. A Samsung owner downloads the SDK zip from Samsung and imports it once (the picker opens when the switch is turned on without it). The jar is converted to dex on the phone with dx (dalvik-dx 16.0.1, Apache-2.0) and loaded with DexClassLoader.