<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: thecbr600</title>
    <description>The latest articles on DEV Community by thecbr600 (@thecbr600).</description>
    <link>https://dev.to/thecbr600</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4227102%2F0cad1bc1-025e-4bc9-a2e6-dd701daadd78.png</url>
      <title>DEV Community: thecbr600</title>
      <link>https://dev.to/thecbr600</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thecbr600"/>
    <language>en</language>
    <item>
      <title>4.26 Hours of Rootless Debian 13 on Samsung DeX: Thermal, Battery &amp; Compiler Telemetry</title>
      <dc:creator>thecbr600</dc:creator>
      <pubDate>Sat, 14 Nov 2026 18:29:40 +0000</pubDate>
      <link>https://dev.to/thecbr600/426-hours-of-rootless-debian-13-on-samsung-dex-thermal-battery-compiler-telemetry-m5c</link>
      <guid>https://dev.to/thecbr600/426-hours-of-rootless-debian-13-on-samsung-dex-thermal-battery-compiler-telemetry-m5c</guid>
      <description>&lt;p&gt;When Samsung discontinued the official &lt;em&gt;Linux on DeX&lt;/em&gt; project years ago, running a real Linux desktop on Android mostly became an exercise in compromises: sluggish VNC sessions, software-rendered UIs, broken audio, or background processes silently killed by Android's memory management.&lt;/p&gt;

&lt;p&gt;I wanted to see how far modern flagship ARM64 hardware can push a &lt;strong&gt;completely rootless, user-space Debian 13 (Trixie) workstation&lt;/strong&gt;—keeping Samsung Knox (&lt;code&gt;0x0&lt;/code&gt;) intact while delivering hardware-accelerated graphics, native audio, and multi-hour desktop stability.&lt;/p&gt;

&lt;p&gt;Over the past few weeks, I built and open-sourced &lt;strong&gt;&lt;a href="https://github.com/thecbr600/dex-linux-workstation" rel="noopener noreferrer"&gt;dex-linux-workstation&lt;/a&gt;&lt;/strong&gt;, a modular 2-step installer that turns Termux, PRoot, and Termux:X11 into a low-latency XFCE4 desktop. More importantly, instead of just posting a &lt;code&gt;neofetch&lt;/code&gt; screenshot, I ran &lt;strong&gt;empirical stress tests and logged 4.26 hours of continuous telemetry&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is what actually happens to thermals, battery health, RAM, and compiler throughput when you dock a smartphone to a 32-inch monitor and treat it like a Linux workstation.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Architecture (No Root, No VNC)
&lt;/h2&gt;

&lt;p&gt;Most legacy Termux desktop guides bottleneck on display transport and IPC overhead. To make the desktop feel native at high resolutions on external monitors, the stack eliminates network-loopback display protocols entirely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OS &amp;amp; Desktop:&lt;/strong&gt; Debian 13 (&lt;code&gt;Trixie&lt;/code&gt;) running via &lt;code&gt;proot-distro&lt;/code&gt; with a stripped-down &lt;strong&gt;XFCE4&lt;/strong&gt; session (window compositing disabled via &lt;code&gt;xfconf-query&lt;/code&gt; for tear-free 60/120Hz external output).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Copy Display Transport:&lt;/strong&gt; &lt;strong&gt;Termux:X11&lt;/strong&gt; communicating over local &lt;strong&gt;UNIX domain sockets&lt;/strong&gt; (&lt;code&gt;$TMPDIR/.X11-unix&lt;/code&gt;) instead of TCP/VNC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware-Agnostic 3D Acceleration:&lt;/strong&gt; Instead of relying solely on Qualcomm-specific Turnip/Zink drivers, the stack uses an &lt;strong&gt;Android EGL / VirGL (&lt;code&gt;virglrenderer&lt;/code&gt; + Mesa &lt;code&gt;virpipe&lt;/code&gt;)&lt;/strong&gt; bridge. This enables hardware-accelerated OpenGL across both &lt;strong&gt;Qualcomm Adreno&lt;/strong&gt; and &lt;strong&gt;ARM Mali/Immortalis&lt;/strong&gt; GPUs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio:&lt;/strong&gt; &lt;strong&gt;PulseAudio&lt;/strong&gt; running over local loopback TCP (&lt;code&gt;127.0.0.1&lt;/code&gt;) with low-latency buffering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LMK-Safe Browser Tuning:&lt;/strong&gt; Wrapper scripts for Chromium (&lt;code&gt;--renderer-process-limit=1&lt;/code&gt;, &lt;code&gt;--js-flags="--max-old-space-size=512"&lt;/code&gt;, &lt;code&gt;--disable-dev-shm-usage&lt;/code&gt;) to prevent multi-process memory spikes from triggering Android's Low Memory Killer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can see the desktop workflow in action in this &lt;a href="https://youtu.be/3X4EliaiAoY" rel="noopener noreferrer"&gt;YouTube Proof of Concept&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Benchmark 1: 4.26-Hour Docked Soak Test (Thermals &amp;amp; USB-C PD Bypass)
&lt;/h2&gt;

&lt;p&gt;A common concern with running sustained workloads on a docked phone is heat buildup and battery degradation from continuous trickle charging.&lt;/p&gt;

&lt;p&gt;To test this, I connected a &lt;strong&gt;Samsung Galaxy S26 Ultra (16 GB RAM)&lt;/strong&gt; via USB-C to a &lt;strong&gt;32" monitor with an integrated 65W Power Delivery dock&lt;/strong&gt;, enabled Samsung's &lt;strong&gt;Light Performance Profile (70%)&lt;/strong&gt; and &lt;strong&gt;80% Maximum Battery Protection (USB-C PD Bypass)&lt;/strong&gt;, and ran a continuous 4-core &lt;code&gt;stress-ng&lt;/code&gt; (&lt;code&gt;matrixprod&lt;/code&gt;) workload inside Debian 13 PRoot for &lt;strong&gt;4 hours and 16 minutes (255.9 minutes / 473 samples)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faovey56etns3rdrhtg91.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faovey56etns3rdrhtg91.png" alt="4.26-Hour S26 Ultra Docked Soak Telemetry" width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Findings (473 Telemetry Samples)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Verified Details&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Test Duration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;4.26 hours&lt;/strong&gt; (&lt;code&gt;15,353 s&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;473&lt;/code&gt; telemetry points logged at ~32s intervals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SoC Temperature (Median / Mean)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;36.0 °C&lt;/strong&gt; / &lt;code&gt;37.6 °C&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;40–55 °C&lt;/code&gt; during active 4-core desktop use; &lt;code&gt;36 °C&lt;/code&gt; steady plateau (&lt;code&gt;31–75 °C&lt;/code&gt; range)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Battery Temperature (Median / Mean)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;26.7 °C&lt;/strong&gt; / &lt;code&gt;27.2 °C&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;25.0–30.3 °C&lt;/code&gt; range — cooler than ambient under continuous load&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Battery Level Drift&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;0.0 %&lt;/strong&gt; (&lt;code&gt;80% → 80%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;100% USB-C Power Delivery bypass confirmed across all valid readings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;RAM Footprint / LMK Events&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;~10.1 GB&lt;/strong&gt; / &lt;strong&gt;0 Kills&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;Median &lt;code&gt;10,319 MB&lt;/code&gt; (&lt;code&gt;9,436–11,542 MB&lt;/code&gt;), zero Android LMK terminations&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two details stand out in the telemetry curve:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;True Power Delivery Bypass:&lt;/strong&gt; Across all 374 valid battery readings over 256 minutes, the charge level stayed locked at &lt;strong&gt;80%&lt;/strong&gt; (&lt;code&gt;0.0%&lt;/code&gt; standard deviation), and battery temperature actually &lt;em&gt;dropped&lt;/em&gt; from &lt;code&gt;30.3 °C&lt;/code&gt; at boot down to a &lt;code&gt;26.7 °C&lt;/code&gt; median. Power went straight to the board without cycling the cell.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OneUI Background Scheduling:&lt;/strong&gt; During the first 20 minutes of active desktop interaction, the SoC averaged &lt;code&gt;50.5 °C&lt;/code&gt;. Once the display went idle during an unattended stretch, OneUI throttled three background threads while keeping one &lt;code&gt;stress-ng&lt;/code&gt; worker pinned at ~97%, settling the passively cooled chassis into a rock-solid &lt;strong&gt;33–36 °C&lt;/strong&gt; thermal equilibrium.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;(Raw CSV dataset: &lt;a href="https://github.com/thecbr600/dex-linux-workstation/blob/main/benchmarks/results/snapdragon_s26u_4core_4h_docked_light70.csv" rel="noopener noreferrer"&gt;&lt;code&gt;snapdragon_s26u_4core_4h_docked_light70.csv&lt;/code&gt;&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Benchmark 2: 32-Minute Unplugged Compiler Workload (9/9 Redis Builds)
&lt;/h2&gt;

&lt;p&gt;Synthetic CPU loops don't test filesystem I/O, dynamic linking, or process spawning. On Android 12+, spawning hundreds of short-lived compiler processes is the fastest way to trigger Android's &lt;strong&gt;Phantom Process Killer (PPK)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To test real developer workloads on battery power (unplugged), the system ran a continuous loop compiling &lt;strong&gt;Redis from source&lt;/strong&gt; (&lt;code&gt;make -j$(nproc) MALLOC=libc&lt;/code&gt;) back-to-back for 31.8 minutes:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff8n08it8wdncgtv2mwca.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff8n08it8wdncgtv2mwca.png" alt="32-Minute Soak Test Telemetry" width="800" height="486"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Build Success Rate:&lt;/strong&gt; &lt;strong&gt;9 / 9 complete builds&lt;/strong&gt; (&lt;code&gt;Exit Code 0&lt;/code&gt;, zero failures or PPK kills)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mean Build Time:&lt;/strong&gt; &lt;strong&gt;3m 30s&lt;/strong&gt; (&lt;code&gt;210.22 s&lt;/code&gt; wall clock; fastest &lt;code&gt;182.24 s&lt;/code&gt;, slowest &lt;code&gt;219.38 s&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thermal Variance:&lt;/strong&gt; Only &lt;strong&gt;8.3%&lt;/strong&gt; slowdown between Build 1 and Build 9 on passive cooling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PRoot Syscall Overhead:&lt;/strong&gt; ~&lt;code&gt;13%&lt;/code&gt; (&lt;code&gt;3m 21.9s&lt;/code&gt; real vs. &lt;code&gt;0m 52.3s&lt;/code&gt; sys on a clean single build, passing &lt;code&gt;--test-memory 256&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unplugged Power Draw:&lt;/strong&gt; ~&lt;code&gt;2.2 W&lt;/code&gt; average with battery temperatures between &lt;code&gt;30.0 °C&lt;/code&gt; and &lt;code&gt;34.3 °C&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flmfjj221ad4yuwc3ag7e.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flmfjj221ad4yuwc3ag7e.jpg" alt="Redis Final Build Benchmark" width="800" height="1733"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Cross-SoC GPU Validation (Snapdragon vs. MediaTek)
&lt;/h2&gt;

&lt;p&gt;Because the VirGL/EGL pipeline targets Android's native graphics layer rather than vendor-specific Vulkan extensions, it works across both major ARM64 flagship platforms:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Qualcomm Snapdragon 8 Elite&lt;/th&gt;
&lt;th&gt;MediaTek Dimensity 9300+&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GPU Architecture&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Adreno 840&lt;/td&gt;
&lt;td&gt;ARM Immortalis-G720 MC12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Validated Device&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Samsung Galaxy S25/S26 Ultra&lt;/td&gt;
&lt;td&gt;Samsung Galaxy Tab S10 Ultra&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;glmark2 Score&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;186 FPS&lt;/strong&gt; (Uncapped)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;112 FPS&lt;/strong&gt; (120Hz Surface Sync)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Average Frame Time&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;~5.0 ms&lt;/td&gt;
&lt;td&gt;~8.3 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Try It Yourself (2-Step Modular Setup)
&lt;/h2&gt;

&lt;p&gt;If you have a modern Snapdragon or MediaTek device (12 GB+ RAM recommended) with the official GitHub releases of &lt;strong&gt;Termux&lt;/strong&gt; and &lt;strong&gt;Termux:X11&lt;/strong&gt; installed (and Android's child-process restrictions disabled in Developer Options):&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Install Base Debian 13 + XFCE4 + Termux:X11
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pkg update -y &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pkg install curl -y &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; curl -sSL &lt;span class="o"&gt;[&lt;/span&gt;https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/setup.sh&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/setup.sh&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Enable Hardware GPU Acceleration (VirGL/EGL)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sSL &lt;span class="o"&gt;[&lt;/span&gt;https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/addon/install-gpu.sh&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/addon/install-gpu.sh&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Optional add-ons for &lt;strong&gt;VS Code Server (&lt;code&gt;code-server&lt;/code&gt;)&lt;/strong&gt;, &lt;strong&gt;Super-key menu mapping&lt;/strong&gt;, &lt;strong&gt;Termux:Widget home-screen shortcuts&lt;/strong&gt;, and &lt;strong&gt;auto-closing X11 on logout&lt;/strong&gt; are also included in the repository.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/thecbr600/dex-linux-workstation" rel="noopener noreferrer"&gt;github.com/thecbr600/dex-linux-workstation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Architecture &amp;amp; Benchmark Wiki:&lt;/strong&gt; &lt;a href="https://github.com/thecbr600/dex-linux-workstation/wiki" rel="noopener noreferrer"&gt;Project Wiki&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you tried replacing a travel laptop with a DeX or Android tablet Linux setup? I'd love to hear what bottlenecks you ran into—especially around browser memory limits, &lt;code&gt;virglrenderer&lt;/code&gt; tuning, or external display scaling.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>android</category>
      <category>debian</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Linux on DeX is Back: Building a True Rootless Debian 13 Workstation on Modern Galaxy Hardware</title>
      <dc:creator>thecbr600</dc:creator>
      <pubDate>Wed, 04 Nov 2026 20:11:36 +0000</pubDate>
      <link>https://dev.to/thecbr600/linux-on-dex-is-back-building-a-true-rootless-debian-13-workstation-on-modern-galaxy-hardware-27il</link>
      <guid>https://dev.to/thecbr600/linux-on-dex-is-back-building-a-true-rootless-debian-13-workstation-on-modern-galaxy-hardware-27il</guid>
      <description>&lt;p&gt;proof of concept video: &lt;br&gt;
&lt;a href="https://youtu.be/3X4EliaiAoY?is=d2bV9oYya7_4t-vH" rel="noopener noreferrer"&gt;https://youtu.be/3X4EliaiAoY?is=d2bV9oYya7_4t-vH&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Linux on DeX is Back: Building a True Rootless Debian 13 Workstation
&lt;/h1&gt;

&lt;p&gt;Ever since Samsung officially discontinued "Linux on DeX" in 2019, a persistent consensus dominated forums and tech outlets: &lt;em&gt;"Android can't handle real multitasking; running a desktop OS on a phone requires root or leads to unusable VNC lag."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Google reinforced that barrier in recent Android versions by introducing the aggressive &lt;strong&gt;Phantom Process Killer&lt;/strong&gt; and fine-tuning the &lt;strong&gt;Low Memory Killer (LMK)&lt;/strong&gt;. Anyone attempting to run modern development stacks or full desktop browsers inside chroot or PRoot containers inevitably hit the same wall: background processes silently killed and entire sessions crashing without warning.&lt;/p&gt;

&lt;p&gt;Yet, current mobile SoCs pack compute performance and memory bandwidth that easily match modern ultrabooks. The bottleneck was never the silicon—it was process management in userland.&lt;/p&gt;

&lt;p&gt;This project proves that a fully stable, low-latency Debian 13 (Trixie) workstation running native desktop Chromium, synchronized audio, and hardware acceleration on Samsung DeX is entirely possible without root, without tripping Knox (0x0), and fully reproducible via a single-line command.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Three Fundamental Pain Points of Past Implementations
&lt;/h2&gt;

&lt;p&gt;Previous community efforts consistently stumbled over three hurdles:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The VNC Latency Trap:&lt;/strong&gt; Running a local VNC server introduces CPU overhead, frame tearing, and noticeable input lag on mouse movements and keystrokes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The LMK &amp;amp; Phantom Process Crash:&lt;/strong&gt; Modern browsers spawn dedicated processes for every tab, utility thread, and extension. The moment the process tree exceeds Android’s internal thresholds, the host session gets terminated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio Desync:&lt;/strong&gt; Routing PulseAudio over unbuffered streams caused choppy audio, out-of-sync playback in video players, or complete server hangs.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Architecture: How the Stack Solves It
&lt;/h2&gt;

&lt;p&gt;The setup relies on a clean, carefully tuned pipeline combining &lt;strong&gt;Termux&lt;/strong&gt;, &lt;strong&gt;Termux-X11&lt;/strong&gt;, and &lt;strong&gt;PRoot&lt;/strong&gt;, reinforced by customized wrapper logic.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Direct Framebuffer Rendering via Termux-X11
&lt;/h3&gt;

&lt;p&gt;Instead of piping video output through network protocols like VNC or RDP, the Debian X11 environment communicates directly with the Termux-X11 host application via an internal UNIX domain socket. This delivers native 60 Hz rendering, accurate display scaling on external monitors, and virtually zero input latency.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Taming Chromium Against Android's LMK
&lt;/h3&gt;

&lt;p&gt;To prevent Android from killing the container when browsing memory-heavy websites, Chromium is encapsulated in a dedicated wrapper script that enforces strict resource limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Renderer Process Cap:&lt;/strong&gt; Passing &lt;code&gt;--renderer-process-limit=2&lt;/code&gt; restricts Chromium to a maximum of two renderer processes regardless of the tab count.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;V8 Heap Throttling:&lt;/strong&gt; &lt;code&gt;--js-flags="--max-old-space-size=2048"&lt;/code&gt; prevents rogue JavaScript engines from causing uncontrolled memory spikes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Process Trimming:&lt;/strong&gt; Disabling unnecessary background features (&lt;code&gt;--disable-features=Translate,OptimizationHints,MediaRouter&lt;/code&gt;) minimizes the child process count, keeping the entire container safely below the Phantom Process Killer tripwire.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Low-Latency Audio via PulseAudio TCP Loopback
&lt;/h3&gt;

&lt;p&gt;Audio is forwarded through an internal TCP loopback bound to &lt;code&gt;127.0.0.1:4713&lt;/code&gt;. Buffer sizes and sampling rates are pre-aligned to Android's native AudioFlinger, ensuring zero-latency sound for YouTube playback, development tools, and system notifications.&lt;/p&gt;




&lt;h2&gt;
  
  
  Verified Hardware
&lt;/h2&gt;

&lt;p&gt;The deployment script has been cross-architecture verified on flagship hardware:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Qualcomm Snapdragon&lt;/strong&gt; (Samsung Galaxy S26 Ultra)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MediaTek Dimensity 9300+&lt;/strong&gt; (Samsung Galaxy Tab S10 Ultra)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On both chipsets, the environment maintains uninterrupted multi-hour stability under active development workloads, including Git operations, terminal multiplexing, and web inspection.&lt;/p&gt;

&lt;p&gt;👉 GitHub Repository: &lt;a href="https://github.com/thecbr600/dex-linux-workstation" rel="noopener noreferrer"&gt;https://github.com/thecbr600/dex-linux-workstation&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Community feedback, issue reports, and testing on additional Galaxy devices are welcome.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Quickstart
&lt;/h2&gt;

&lt;p&gt;Installation requires only standard Termux and Termux-X11 builds. No unlocked bootloaders, no root permissions, and no system modifications.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
curl -sL [https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/setup.sh](https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/setup.sh) | bash

The script configures the Debian 13 base, sets up the X11 and audio interfaces, and links the optimized launch scripts directly into the environment path.

Open Source &amp;amp; Code Repository
The complete deployment script, browser wrappers, and documentation are openly available on GitHub:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>dex</category>
      <category>linux</category>
      <category>termux</category>
      <category>android</category>
    </item>
  </channel>
</rss>
