Google Pixel Devices
Follow the Common Installation guide first. This page covers Pixel-specific differences only. Everything in the common guide applies to Pixel devices โ this page documents the settings, behaviors, and quirks that are unique to Pixel hardware and software.
Pixel Overviewโ
Google Pixel devices run stock Android โ no manufacturer skin, no added bloatware, no modified system services. This makes Pixel one of the cleanest platforms for running ADL. You get timely Android updates, predictable behavior, and minimal interference from custom battery or process management layers.
However, Pixel devices do not include a desktop mode like Samsung DeX. There is no built-in way to project a windowed desktop environment to an external display through a system-level feature. ADL on Pixel relies entirely on Termux:X11 rendering on the device screen or through standard display output over USB-C where supported.
Pixel devices also ship with Google's custom Tensor processors rather than Qualcomm Snapdragon chips, which brings a different set of performance characteristics for Linux workloads.
Display Outputโ
On-Device Displayโ
The primary way to use ADL on a Pixel device is through Termux:X11 rendering directly on the device screen. This works identically to the process described in the common installation guide. The Pixel's high-resolution OLED display provides excellent text clarity for terminal and desktop use.
External Display via USB-Cโ
USB-C display output support varies significantly across Pixel models:
- Pixel 6 and 6 Pro: USB-C video output via DisplayPort Alt Mode is supported. You can connect to an external monitor with a USB-C to HDMI or USB-C to DisplayPort adapter.
- Pixel 7 and newer: Full USB-C DisplayPort Alt Mode support. These models reliably output video to external displays.
- Pixel 5 and earlier: No USB-C video output. These models do not support DisplayPort Alt Mode. The only option is screen mirroring via Chromecast, which introduces latency and is not practical for desktop use.
Connecting a Pixel to an external monitor via USB-C mirrors or extends the device screen โ it does not launch a desktop mode. The Termux:X11 session renders at whatever resolution you configure, and that output is sent to the external display. You will still need a Bluetooth keyboard and mouse for a desktop-like experience.
When using an external display, set the Termux:X11 resolution to match your monitor's native resolution for the sharpest output. A resolution mismatch causes scaling artifacts that make text harder to read.
Tensor Chip Considerationsโ
Google Pixel 6 and newer devices use Google's custom Tensor processors. These chips are ARM64-based and fully compatible with ADL, but their performance profile differs from Qualcomm Snapdragon chips in ways that matter for Linux workloads.
What to Expectโ
Tensor chips prioritize machine learning and image processing workloads. For general CPU-bound tasks like compiling code, running development servers, or text editing in a Linux desktop, Tensor performs well but may not match the raw single-core throughput of flagship Snapdragon chips from the same generation.
Where Tensor excels:
- Multithreaded workloads: The chip handles parallel compilation and background tasks efficiently.
- Sustained performance: Tensor's thermal management is generally conservative, which means less aggressive throttling during extended sessions.
Where Tensor is slower:
- Single-threaded compilation: Build times for single-threaded compilers may be slightly longer compared to Snapdragon 8 Gen 2 or newer.
- GPU-accelerated rendering: Tensor uses Mali GPUs, which have less mature open-source driver support than Adreno GPUs in Snapdragon chips. This affects GPU-accelerated applications inside the Linux environment.
For most ADL use cases โ running a desktop environment, editing code, browsing with Firefox, managing files โ the Tensor chip provides a smooth experience. Performance differences compared to Snapdragon become noticeable primarily during heavy compilation or when running GPU-intensive applications.
Pixel-Specific Battery Optimizationโ
Stock Android on Pixel includes aggressive battery optimization that can kill Termux background processes. You must disable battery optimization for Termux and its companion apps to keep ADL sessions running reliably.
Disable Battery Optimization for Termuxโ
- Open Settings on your Pixel.
- Tap Battery.
- Tap Battery optimization (on Android 14+, this may be under Battery > Battery usage > Manage battery optimization).
- In the dropdown at the top, select All apps (by default it shows "Not optimized").
- Scroll to Termux and tap it.
- Select Don't optimize and tap Done.
adb shell dumpsys deviceidle whitelist +com.termuxIf you have ADB access from a computer, the command above adds Termux to the battery optimization whitelist directly. This achieves the same result as the manual steps.
Repeat this process for Termux:X11 and Termux:API if you have them installed.
Adaptive Batteryโ
Pixel devices include Adaptive Battery, which uses machine learning to predict which apps you will not use and restricts their background activity. Even with battery optimization disabled, Adaptive Battery can still throttle Termux after extended idle periods.
To prevent this:
- Go to Settings > Battery > Adaptive preferences.
- Toggle off Adaptive Battery.
Alternatively, if you prefer to keep Adaptive Battery enabled for other apps, you can work around its effects by ensuring Termux remains in the foreground or by acquiring a wake lock:
termux-wake-lockRunning termux-wake-lock inside Termux prevents the system from putting the app into a restricted state. This keeps your ADL session alive even when the screen is off. Run termux-wake-unlock when you are done to restore normal battery behavior.
Storage Notesโ
Pixel devices use file-based encryption (FBE) by default. This is transparent to Termux and ADL โ all files within the Termux home directory and proot environment are encrypted at rest by the Android filesystem layer. You do not need to configure anything special.
However, be aware of these Pixel-specific storage behaviors:
- Automatic storage management: Pixel devices running Android 12+ may automatically remove cached data from apps when storage is low. Termux data is generally safe, but if your device storage drops below 10%, Android may clear Termux's cache directory. Keep at least 2 GB of free storage at all times.
- Google Photos integration: If you are using the shared storage between Android and the Linux environment, files in
~/storage/shared/DCIMmay be automatically uploaded to Google Photos and subsequently deleted locally if the "Free up space" feature is active. This does not affect files inside the proot environment.
Some older Pixel devices offered the option to format an SD card as internal storage (adopted storage). Do not install Termux or ADL on adopted storage. The I/O performance is significantly worse, and removal or corruption of the SD card will destroy your entire Linux environment.
Compatibilityโ
Recommended Pixel Modelsโ
For the best ADL experience, use a Pixel 6 Pro or newer. These models provide:
- Tensor chip with sufficient performance for desktop Linux workloads
- 12 GB of RAM (Pro models), which allows comfortable multitasking between Android and the Linux environment
- USB-C DisplayPort Alt Mode for external monitor support
- Large OLED displays (6.7" on Pro models) suitable for on-device desktop use
The Pixel Tablet is also an excellent choice for ADL due to its larger 10.95" screen and included dock, though it uses the same Tensor G2 chip as the Pixel 8 standard model.
Standard (non-Pro) models with 8 GB of RAM work well for lighter workloads โ text editing, web browsing, file management โ but may struggle with memory-intensive tasks like running multiple IDE windows or compiling large projects.