Galaxy S22+
The Galaxy S22+ (SM-S906B/SM-S906U) is the primary reference device for ADL. All guides, performance benchmarks, and default configurations are tested and validated on this device first. If you own an S22+, you are running the most tested ADL configuration available.
Device Specificationsโ
The following specs are relevant to ADL performance and configuration:
| Component | Specification | ADL Relevance |
|---|---|---|
| SoC | Snapdragon 8 Gen 1 (SM8450) | Provides strong single-core and multi-core performance for desktop workloads. |
| RAM | 8 GB LPDDR5 | Shared between Android and Ubuntu via proot. Approximately 4-5 GB available for the Linux environment. |
| Storage | 128 GB / 256 GB UFS 3.1 | Fast read/write speeds benefit package installation and file operations. |
| Display | 6.6" Dynamic AMOLED 2X, 2340x1080 | 120Hz capable. FHD+ resolution works well with XFCE scaling. |
| USB-C | USB 3.2 Gen 1, DisplayPort Alt Mode | Supports wired DeX with full-resolution output to external monitors. |
| Battery | 4500 mAh | Provides 3-5 hours of active ADL use depending on workload and display settings. |
Performance Characteristicsโ
What to Expectโ
Running XFCE on the Galaxy S22+ through proot and Termux:X11 delivers a usable desktop Linux experience. Here is what to realistically expect:
- Desktop navigation -- Smooth at 120Hz. Opening menus, switching between windows, and using the file manager feel responsive.
- Terminal and text editing -- Excellent. Running vim, nano, or GUI editors like Mousepad is fast with no perceptible lag.
- Web browsing (Firefox) -- Functional but heavier sites load slower than on a native x86 desktop. Simple pages and documentation sites work well.
- Development tools -- Python, Node.js, and Go compile and run well. Java/Gradle builds are noticeably slower than on desktop hardware but complete successfully.
- IDE experience -- VS Code (code-server) runs but consumes significant RAM. Lighter editors are recommended for the 8 GB configuration.
The Snapdragon 8 Gen 1 is known for thermal throttling under sustained load. During long compilation tasks or heavy multitasking, you may notice performance reduction after 10-15 minutes of sustained CPU usage. This is normal -- the SoC protects itself by reducing clock speeds when the chip temperature exceeds approximately 45 degrees Celsius. Allow the device to cool or reduce workload intensity if you observe slowdowns.
DeX Setup for Galaxy S22+โ
Wired DeX (Recommended)โ
The S22+ supports wired DeX through its USB-C port with DisplayPort Alt Mode. To set up:
- Connect a USB-C hub or USB-C to HDMI/DisplayPort adapter to the S22+.
- Connect the hub to your external monitor.
- DeX should activate automatically on the external display.
USB-C Hub Recommendationsโ
Not all USB-C hubs work reliably with DeX. For the S22+, look for hubs that meet these criteria:
- Explicit DeX or DisplayPort Alt Mode support listed by the manufacturer.
- USB Power Delivery passthrough (to charge while using DeX).
- At least one USB-A port for a keyboard/mouse receiver or wired peripherals.
When using DeX for extended sessions, always connect power through the hub's PD passthrough. ADL with an active display and CPU workload can drain the 4500 mAh battery in 2-3 hours without charging.
Wireless DeXโ
The S22+ supports Wireless DeX to compatible smart TVs and Miracast receivers. While this works with ADL, expect:
- 50-100ms input latency depending on your Wi-Fi network.
- Reduced resolution (often capped at 1080p).
- Occasional frame drops during window animations.
Wired DeX is strongly recommended for any productive work.
8 GB RAM Considerationsโ
With 8 GB total RAM shared between Android (One UI) and the Ubuntu proot environment, memory management matters.
Typical Memory Distributionโ
| Consumer | Approximate Usage |
|---|---|
| Android system + One UI | 2.5 - 3.0 GB |
| Termux + proot overhead | 0.3 - 0.5 GB |
| XFCE desktop environment | 0.4 - 0.6 GB |
| Available for applications | 4.0 - 4.5 GB |
Memory Management Tipsโ
- Close unnecessary Android apps before starting ADL. Each background Android app reduces available RAM for Linux.
- Avoid running Samsung Internet, Camera, or other heavy Samsung apps alongside ADL.
- Use lightweight Linux applications when possible. Thunar over Nautilus, Mousepad over gedit, xterm over gnome-terminal.
- Monitor memory usage from within Linux:
free -htotal used free shared buff/cache available Mem: 7.3Gi 3.8Gi 1.2Gi 245Mi 2.3Gi 3.2Gi Swap: 0B 0B 0B
proot environments on the S22+ do not have swap space. When physical RAM is exhausted, the Android OOM killer will terminate processes -- often Termux itself. Keep an eye on memory usage during heavy workloads.
Known Issues and Workaroundsโ
Thermal Throttling During Compilationโ
Issue: Long-running builds (Rust, large C++ projects, Gradle) cause the Snapdragon 8 Gen 1 to throttle after 10-15 minutes.
Workaround: Remove the phone case during heavy workloads. Place the device on a cool surface. If possible, use taskset or nice to limit CPU utilization:
nice -n 10 make -j4Using -j4 instead of -j8 reduces heat generation by limiting parallelism while still providing meaningful build speedup.
Display Flicker on Resumeโ
Issue: Occasionally, returning to the Termux:X11 app after it has been in the background causes brief display flicker or a black screen for 1-2 seconds.
Workaround: This is a known Termux:X11 rendering issue on Snapdragon devices. It resolves itself within a few seconds. If the display remains black, switch away from and back to the app.
Audio Routing After Bluetooth Disconnectโ
Issue: If Bluetooth headphones disconnect while audio is playing inside the Linux environment, audio may not automatically route back to the phone speaker.
Workaround: Restart PulseAudio within the Linux environment:
pulseaudio --kill && pulseaudio --startRecommended Settingsโ
For the best ADL experience on the Galaxy S22+, apply these settings:
Android / One UI Settingsโ
- Display > Motion smoothness: Adaptive (or High when connected to power).
- Display > Screen resolution: FHD+ (sufficient for on-device use; external monitors use their native resolution via DeX).
- Battery > Background usage limits > Never sleeping apps: Add Termux and Termux:X11.
- Security and privacy > Auto Blocker: Auto Blocker silently blocks the Termux:X11 APK during installation. Disable it temporarily while installing the app, then re-enable it โ see Termux:X11 APK will not install on Samsung devices.
- Apps > Termux > Battery: Set to Unrestricted.
- Developer options > Don't keep activities: Make sure this is OFF (it would destroy Termux:X11 when switching apps).
XFCE Settings Within ADLโ
- Window Manager Tweaks > Compositor: Disable compositing for better performance.
- Appearance > Font DPI: Set to 140-160 for comfortable reading on the 6.6" display, or 96-110 for external monitors.
- Panel: Use a single panel at the top to maximize vertical screen space.
If you switch frequently between the phone screen and an external monitor, create two XFCE panel profiles -- one optimized for the small high-DPI screen and one for external monitors. Switch between them with a simple script.