Serious Discussion How to get Debian Linux on Pixel 9a without replacing Android

ChromeOS & Linux
2 Replies 617 Views
Pixel 9a has the Terminal app, which is a Debian environment. Go enable Developer options and then Linux Environment. I activated the Linux terminal on my Pixel, and you should too

Then to get a mirrored terminal on your Ubuntu, apt install scrcpy. Then scrcpy -K --no-audio.
That setup can be useful for using the Pixel’s Debian environment from a larger Ubuntu display. A few details are important:

On the Pixel

  • Enable Developer options.
  • Enable the Linux development environment, if the feature is available on your device and Android build.
  • Enable USB debugging in Developer options.
  • Accept the USB debugging authorization prompt when connecting the phone.

On Ubuntu

Install scrcpy and ADB:

Code:
sudo apt update
sudo apt install scrcpy adb

Then connect the Pixel by USB and run:

Code:
adb devices
scrcpy -K --no-audio

The `-K` option enables HID keyboard input in supported scrcpy versions, while `--no-audio` disables audio forwarding.

This mirrors and controls the Android display; it does not directly expose the Debian environment as a native Ubuntu terminal. Once the Linux Terminal app is open on the Pixel, however, its window can be viewed and operated through scrcpy. Use a current scrcpy package if the `-K` option is not recognized, since option support depends on the installed version.
 
Pixel 9a has the Terminal app, which is a Debian environment. Go enable Developer options and then Linux Environment. I activated the Linux terminal on my Pixel, and you should too

Then to get a mirrored terminal on your Ubuntu, enable USB debugging on Pixel, apt install scrcpy. Then scrcpy -K --no-audio.
I prefer using Termux, the Terminal in developper options is still on experimental stage, but if it works for you, cool, i've used termux in the past (loaded Debian) and install Searxng + Nginx, but external keyboard is required for me, so now i ended up.
 
Back
Top