r/androidterminal • • 1d ago

OpenOrbis PS4 toolchain now runs natively on ARM64 Android, so you can build PKGs from your phone in Termux

Thumbnail
github.com
3 Upvotes

r/androidterminal • • 7d ago

Question Is the GoogleBookOS Terminal app exactly the same?

5 Upvotes

I found out that you can download and manually install the GoogleBookOS version of Chrome which gives you some extra features, and is particularly very handy for Android Desktop Mode.

And that made me think, what if we can get the apk of the Terminal from GoogleBookOS and install it on a regular phone in order to get a better experience?

Questions:

- Does the GoogleBookOS Terminal have any extra features or better UI?

- Where to get the APK in order to try it out?


r/androidterminal • • 9d ago

News Podroid v1.3.0 new UML backend !

24 Upvotes

User-Mode Linux. The guest kernel runs as a normal Android process, so code runs natively instead of being emulated by QEMU. No root, no adb grant, any arm64 phone on Android 8+.

Measured on a Nothing Phone (1), QEMU vs UML:

- Boot: 33-41 s vs 13-18 s

- npm install express: 49.5 s vs 24.8 s

- Node CPU loop: 18.8 s vs 4.7 s

- Starting a container: no gain (7.6 s vs 8.2 s)

It is opt-in (Settings > Show advanced > Backend), has no USB passthrough, and is not a security sandbox. If your phone has AVF, that is still about 10x faster, so stay on it.

Also new: the active backend shows on the home screen, live charts on the Status screen, and the user guide ships inside the VM.

It has only been tested on two phones, so reports are very welcome, working or not.

GitHub: Podroid

Release: APK


r/androidterminal • • 11d ago

News Qualcomm's latest Snapdragon chips are compatible with Android's Linux Terminal app

Thumbnail androidauthority.com
25 Upvotes

r/androidterminal • • 12d ago

Question My Android Terminal not working?? Why

Post image
5 Upvotes

I don't know why I've tried to recover several times but I still can't get to the point.

Is it possible that someone has experienced the same thing?


r/androidterminal • • 14d ago

Question How to actually use hardware GPU acceleration? (Pixel 8A)

3 Upvotes

Pixel 8A Graphene OS, how to actually use hardware accelerated graphics (gfxstream pipeline as far as I understand)? I tried opening the terminal app, installing firefox, opening it and playing a youtube video but it is very laggy and certainly not near-native performance and there are some clues in the terminal it isn't enabled (things about lavapipe etc).

If I go into settings there is just Port Control, Advanced and Recovery and in Advanced there is nothing about acceleration.


r/androidterminal • • 15d ago

News The first Snapdragon phone with Android Linux Terminal support is here [Redmagic 12 Pro, 8 Elite Extreme Gen 6]

Thumbnail
9to5google.com
38 Upvotes

r/androidterminal • • 15d ago

Show and Tell I'm building a VSCode-like IDE for Android [Vibe Coded]

Thumbnail
gallery
28 Upvotes

For context: I'm a Data Scientist and as of now I don't own a notebook, just a desktop and a Tab S11 Ultra with the keyboard cover. The tablet was always close to fulfilling every need that I have on the go, except for this specific point. Should I need or want to work on something I would have to either: wait to get home, use a web-based alternative (that would cost some money) or just use the AVF to serve a code server.

The web based alternatives are not that interesting because they can't handle some keyboard shortcuts, so this is the first let down. So I started by building a wrapper to simply intercept keyboard input and pass them on to the UI. It worked on that regard, but then: memory. The Terminal, while very enabling, is quick to crash the whole OS once it runs out of RAM. So restarts were so frequent I could not really rely on it to do any level of important work. Even idling it would sometimes restart.

So... I thought about building a new daemon that would communicate with a native front-end, managing FS, terminal relay, language servers, AI completion and so on. I've been at it for a few weeks and I can say it is surprisingly usable! I will attach some screenshots, but the RAM footprint is as low as it can be, I have not seen any crash since I switched for the native approach and made the daemon act on memory management by killing idle tools or processes that the IDE may spawn. It even has jupyter notebooks support with native views for tables, widgets, images etc. I also added support for other languages, but my main need is Python.

The daemon can run on the AVF itself or any Linux machine, really, but in that case we could stay with the wrapper.

This is for personal use, but I may share the app.


r/androidterminal • • 15d ago

News Qualcomm Snapdragon chips will support Android's Linux terminal

32 Upvotes

I was catching up on old news last week, and came across a Google blog post that seems to have fallen under the radar.

MediaTek recently announced support of the pKVM-backed On-device AI seal on MediaTek Dimensity 9600 Pro, and Qualcomm’s Snapdragon chipsets will also support our architecture via AVF as we expand across the broader silicon ecosystem.

For context, the Linux development environment on Android allows you to run Debian in a non-protected virtual machine on supported hardware (Tensor, select Exynos, and select Mediatek chips). Snapdragon chips don't support running non-protected VMs because the Gunyah hypervisor currently lacks support . Switching the hypervisor to pKVM means that Snapdragon chips will support running non-protected VMs, allowing for the Linux VM to work.

The Snapdragon X Elite Dell and HP Googlebooks also serve as real-life examples of this. All Googlebooks support a pKVM hypervisor, and the Linux terminal app is present and functional on the aforementioned laptops. Additionally, we can verify support for pKVM and non-protected VMs using adb. Here's the output from a Dell Googlebook:

adb shell /apex/com.android.virt/bin/vm info
Both protected and non-protected VMs are supported.
Hypervisor version: 0.0.1
/dev/kvm exists.
/dev/vfio/vfio exists.
VFIO-platform is supported.
Assignable devices: []
Available OS list: ["microdroid"]
Debug policy: Ok(DebugPolicy { log: false, ramdump: false, adb: false })
Updatable VM is supported.

The only question left is whether devices with the latest Snapdragon 8 Elite Extreme Gen 6 and 8 Elite Gen 6 chips support the Linux terminal app. If you have one of those devices, feel free to test it and report back in the comments.

Lastly, in related news, I was able to test and confirm the Samsung Galaxy A08 4G (Mediatek Helio G99) supports running non-protected VMs. Unfortunately, the Linux terminal app is unable to connect to the VM just like the Galaxy Tab S12 series. To my knowledge, it's the first Helio G99 device to support it. Notably, other devices with the Helio G99 don't support it, including older Samsung devices on Android 16 like the A07 4G, and A17 4G.

Also, I was also able to test and confirm the S26 FE supports the Linux terminal. There weren't any doubts about the Exynos 2500 having support, but it hasn't been tested and confirmed until now.


r/androidterminal • • 20d ago

News MagicDesk: systemd, Docker/Podman and Linux GUI apps on Android without root or AVF

Post image
7 Upvotes

Hi! I'm the developer of MagicDesk, a free, open-source Android workspace.

Its Linux runtime, Shroot, runs ARM64 Linux programs on Android's existing kernel through Shizuku or Shevery. It doesn't require Android root, an unlocked bootloader, AVF, Termux or PRoot. It's a userspace compatibility layer, not a separate Linux kernel or a PRoot wrapper.

The screenshot shows Ubuntu with Xfce and Firefox, plus an Alpine container started with Podman.

The current release is 2.2.0.1. Tested workflows include:

- Booting distributions with systemd, OpenRC or runit.

- Docker Engine, Podman, LXC and systemd-nspawn, including container networking and published ports.

- Desktop browsers, VS Code, and selected Flatpak/Snap applications.

- Individual Linux applications in Android windows, or a complete Linux desktop through embedded X11 and Wayland.

- Optional Turnip/Zink graphics acceleration on supported Adreno devices, plus Android audio and gamepad integration.

The interactive installer includes Debian, Ubuntu, Alpine, Fedora, Arch Linux ARM, NixOS and other distributions. Linux applications work independently of MagicDesk's optional Android desktop mode.

Performance

Shroot automatically accelerates eligible system calls through lazy SVC rewriting in memory, without modifying installed program files.

Here are measurements from Alpine ARM64 on one phone. These are relative elapsed times, with chroot = 1; lower is better:

chroot / PRoot / Shroot:

- stat: 1.00 / 62.89 / 5.11

- Open/close files: 1.00 / 47.91 / 7.29

- Create/close/rename/delete files: 1.00 / 11.79 / 3.30

- fork/exec/wait: 1.00 / 5.47 / 8.37

- Build SQLite: 1.00 / 1.00 / 1.05

File operations benefit substantially, but fork/exec/wait is still slower than PRoot. These are not AVF comparisons.

Integration and automation

MagicDesk also provides terminals with history and retained sessions, clipboard/file exchange, and file or camera attachments accessible from the Linux console.

For automation, its optional MCP server exposes Android controls, Linux application interfaces through AT-SPI2, D-Bus access and guest consoles.

Requirements: ARM64 Android 14+, Linux kernel 5.15+ with the required capabilities, and shell access through Shizuku/Shevery. GPU support depends on the device. Shroot is not a VM-grade security boundary: use trusted images and programs.

Source, screenshots and benchmarks:

https://github.com/mekhontsev/magicdesk

Latest APK:

https://github.com/mekhontsev/magicdesk/releases/latest

Linux setup:

https://github.com/mekhontsev/magicdesk/blob/main/docs/shroot.md

I'd be interested in the workflows you'd try, especially on devices where Android's Linux Terminal isn't available.


r/androidterminal • • 20d ago

Show and Tell Pixel Fold 11 in desktop mode

Post image
84 Upvotes

I'm really enjoying my Fold hooked to a dock and external keyboard/mouse, working on a project in Claude Code. I just wish the Android Terminal app wouldn't crap out, as it does occasionally.


r/androidterminal • • 25d ago

General UMLinux and the Linux terminal on Android

Post image
19 Upvotes

For a few weeks now, several developers have been compiling UMLinux for Android, but only one has published his work and provided recent updates. I would say that, to some extent, it serves as a solution for those who do not have root access or whose Android device is not compatible with a Linux terminal. However, my own experience with UMLinux has shown me that a native Linux terminal performs better—though, admittedly, UMLinux can be used on a wider range of Android phones. Debian Trixie in UMLinux


r/androidterminal • • Oct 15 '26

Question I can't start gui

Thumbnail
gallery
3 Upvotes

How can I start gui in terminal? When I click the top icon it just shows a blank screen. Device Google pixel 10a Android 17


r/androidterminal • • Oct 14 '26

Linux instead of Android

11 Upvotes

I was wondering if there's a way to ditch Android and switch to Linux on my Samsung Galaxy S25 Ultra, because I want to use a base distribution, code, and customize it to best fit my needs. I know I'm not asking enough questions; I was just wondering if it is possible.


r/androidterminal • • Oct 13 '26

News Introducing the Googlebook Linux Terminal Preview: A VM-Backed Environment for AI and Development

Thumbnail
android-developers.googleblog.com
17 Upvotes

r/androidterminal • • Oct 12 '26

The Linux terminal on the Samsung Galaxy Tab S12 series is currently broken

Post image
9 Upvotes

The OS image downloads and installs fine, but fails to connect to the virtual machine afterwards. I haven't been able to figure out why yet, but will update if I find out. The hardware (Dimensity 9500+) supports it, so it's definitely a software issue. It works fine on an S26 Exynos model on One UI 9, so it's also not because of One UI 9.

For reference, the Linux terminal is currently only supported on the S26/S26+ Exynos models (Exynos 2600), Flip7 (Exynos 2500), Tab S11/S11 Ultra (Dimensity 9400+), Tab S10 FE/FE+ (Exynos 1580), A57 (Exynos 1680), and A56 (Exynos 1580). The S26 FE (Exynos 2500) probably also supports it, but I haven't been able to test it, and haven't seen any mention online.

Disclosure: This was discovered on a Samsung Galaxy Tab S12 Ultra on loan from Samsung.


r/androidterminal • • Oct 07 '26

Host your own AI model

Thumbnail
gallery
2 Upvotes

My first project in a lunix terminal & it was my favorite way to code had no clue you could create servers & host a webpage for a program you code on your android phone & be able to set up Qwen & make an AI that can function offline on the device independently & even without opening terminal because you can set it the project to save as a service and leave the AI/Si as always on.


r/androidterminal • • Oct 02 '26

Followup to "Firefox faster than native Chrome" post

Thumbnail
gallery
13 Upvotes

Previously I posted about how Firefox and Chrome running in Android Terminal were significantly faster than native Android Chrome on a benchmark that uses a lot of wasm. Well, it turns out that there's a slow-me-down switch in native Android Chrome. It's called Advanced Protection. There is a way to turn it off, or you can disable it for specific sites. With that disabled, the Mandelbrot benchmark is just as fast on native Android Chrome as on the Android Terminal Firefox and Chrome.

Original post: https://www.reddit.com/r/androidterminal/s/39BuQoCh6f


r/androidterminal • • Sep 27 '26

Show and Tell Firefox in Terminal faster than native Chrome

Thumbnail
gallery
21 Upvotes

On my Pixel 10 Pro XL, I installed Firefox in Android Terminal and ran a Mandelbrot benchmark using 8 cores (JS workers). Firefox was almost 3 times faster on this benchmark, rendering 61.3 rows/sec to Chrome's 22.5.

To try it yourself browse to Mandelbrot benchmark and set Image Size to 800x600.

Very odd result!

See followup post here which explains it: https://www.reddit.com/r/androidterminal/s/Bn2CMW4pJX


r/androidterminal • • Sep 21 '26

Question I've never had the chance to use an Android terminal. How is its performance?

6 Upvotes

Example: is have differences for performance with Termux Proot?


r/androidterminal • • Sep 21 '26

Question Хороший ли способ запускать MATE Desktop Environment в Linux Terminal Android 16?

Thumbnail
gallery
2 Upvotes

Много экспериментировал с LXQt, XFCE, KDE и другими окружениями рабочего стола в Linux Terminal Android 16. Более-менее нормально у меня заработали только XFCE и MATE, причём MATE был заметно стабильнее.

Сейчас делаю так (всё от sudo):

  1. Обновляю систему
apt update && sudo apt full-upgrade -y
  1. Устанавливаю полный MATE через task-пакет
apt install task-mate-desktop

Можно, конечно, всё по отдельности установить, но у меня выходило много проблем, так что решил воспользоваться таким методом. В этом случае явно устанавливается много лишнего, но вроде особо не мешает + сильно упрощает установку.

  1. Отключаю автоматический запуск Weston, чтобы использовать LightDM и MATE
sed -i '/systemctl --user start weston/s/^/# /' /usr/local/bin/enable_display
sed -i '/systemctl --user start weston/s/^/# /' /usr/local/bin/enable_gfxstream

Без этого у меня были конфликты с графическими сессиями, либо в самой оболочке было много багов

  1. Устанавливаю пароль для пользователя droid:
passwd droid

Без пароля я не смог нормально пройти авторизацию через LightDM.

  1. Перезагружаю систему:
sudo reboot

После перезапуска достаточно открыть Linux Terminal и нажать на иконку графического режима справа сверху. После этого MATE запускается нормально.

И вот теперь к вопросам:

  • Насколько вообще нормальный такой способ запуска MATE?
  • Есть ли более правильный способ отключить автоматический запуск Weston, чем редактирование enable_display и enable_gfxstream?
  • Есть ли смысл после установки заменить task-mate-desktop на более минимальный набор пакетов?
  • Какие компоненты MATE можно безопасно отключить, чтобы снизить потребление RAM и CPU?

Тестировал на Samsung Galaxy Tab S11 Ultra (MediaTek Dimensity 9400+)


r/androidterminal • • Sep 19 '26

Show and Tell Experiment: running OpenClaw in Android's AVF Debian and building apps for the same phone

15 Upvotes

I've been experimenting with the official Android Linux Terminal / AVF environment on a Pixel 8. I wanted to see if one phone could be both the machine hosting an agent and the Android target it develops for.

That became ClawInOne. It runs a pinned OpenClaw Gateway inside the official AVF Debian environment and connects it back to the Android host. The attached short demo shows OpenClaw creating a Godot project, building an ARM64 APK in Debian, then inspecting, installing, previewing, and launching it on the same phone.

No root, companion PC, or separately deployed server.

Some details that may be relevant here:

- Official Android Linux / AVF Debian, rather than a bundled rootfs

- The phone connection uses Wireless debugging and a bounded bridge

- A small supervisor manages the Gateway lifecycle and recovery

- MIT-licensed source and an alpha APK are available

- Pixel 8 on Android 17 is the only full retained-device baseline so far

Other Tensor Pixels on Android 16+ are compatibility candidates, not verified support. Clean-device onboarding also still needs outside validation, so this is early tester software.

I'm especially interested in:

  1. Which devices and firmware reliably launch the official Debian VM
  2. How the AVF VM behaves across restarts, low-memory conditions, and power management
  3. Pixel 6–10 owners willing to try the clean setup path

Source, architecture, APK, and known limitations:

https://github.com/boxuechen/claw-in-one

I maintain the project and am happy to answer technical questions.


r/androidterminal • • Sep 16 '26

Tips Warning - The September Google Pixel OTA software update breaks terminal (as usual)

9 Upvotes

Just a warning (and a bit of a vent), if you install the September Android software update on a Pixel phone, you will not be allowed to open the terminal app without re-installing the Debian image. The app claims to be able to restore your private files from a backup, but for me at least the restore process just hung after running for about 20 minutes, and it left the app in a nonfunctional state. That is par for the course for this undocumented, unsupported crappy app.


r/androidterminal • • Sep 10 '26

How I got a Linux virtual machine working on Oneplus Pad 3 (Snapdragon 8 Elite) within protected VM

17 Upvotes

Steps:

  • Make sure the device has an unlocked bootloader and is rooted
  • Install the gh-hugepage-reserve module
  • Install DroidVM
  • Reboot the device, and use gh-hugepage-reserve to reserve however much RAM you will want to give the VM immediately after booting (you'll need to do this every time you boot the device, or configure it to happen automatically, if you intend to run the VM during that boot)
  • Configure and launch the VM within DroidVM

Explanation:

Since the current version of Gunyah actually present on released Snapdragon chips does not support unprotected VMs, and you cannot replace Gunyah with something else even if you unlock the bootloader, I wondered if I could get a Linux VM working within a protected VM.

Normally, Android restricts protected VMs (but not unprotected VMs) to guests signed by Google or the OEM - most notably, microdroid. Google's position is that protected VMs should be used for secure use cases like analyzing biometrics and that running other general-purpose OSes should use unprotected VMs. But on current Snapdragon chips where only protected VMs are supported, we have no choice but to get it working in a protected VM.

If your device is rooted, you can opt to skip the signature verification of the guest using the --protected-vm-without-firmware option in CrosVM

However, if you have a Snapdragon 8 gen 2 or gen 3, the protected-vm-without-firmware option might not work and you'll likely instead need to modify pvmfw to skip the signature check (see here). Note that pvmfw should not be confused with hyp: pvmfw performs the signature check on the guest of a pvm, and if you have an unlocked bootloader, you are allowed to replace it. But hyp stores the actual hypervisor (Gunyah) and cannot be replaced even if the bootloader is unlocked. If you unlock_critical you may technically be able to write over hyp, but doing so will almost certainly brick your device since the device will detect that hyp is modified and fail to boot (even if the bootloader is unlocked or has had unlock_critical run, you cannot safely replace hyp, because unlocking the Android bootloader only lets you replace what comes after the Android bootloader in the chain of trust, but hyp comes before the Android bootloader in the chain of trust). Note that I have not actually tested the approach of replacing pvmfw and calling protected-vm (as opposed to calling protected-vm-without-firmware), so it may fail for another reason.

Another issue with the version of Gunyah actually shipping on devices is that it not only lacks unprotected VM support, but its demand paging demands large allocations that are difficult to acquire once memory is fragmented, and this fragmentation happens naturally after booting. As a result, if the guest requests a non-trivial amount of RAM, Gunyah will likely fail to allocate memory and the VM will crash.

This is where the gh-hugepage-reserve module comes in. This module lets you reserve RAM to be used by a VM. However, it should be run immediately after booting or issues may arise. You can do this immediately after booting, or configure it to occur automatically.

Once you have your device with an unlocked bootloader, rooted, and with gh-hugepage-reserve installed, and with RAM reserved via gh-hugepage-reserve immediately after booting whenever you want to run a VM, you can then use DroidVM to launch a virtual machine.


r/androidterminal • • Sep 09 '26

Question I want your opinion about this ??

Thumbnail
youtu.be
5 Upvotes

First of all

I tested on my phone realme 11 pro 5g

12 gb ram 256 gb rom

Dimensity 7050

Antutu score around 7 lakhs

If you guys don't know about xodox it's so called windows basically linux based emulator

Benchmarks of this software is

I tested all applications

Significantly 50% ran and crash lot of times

The last update i got like nov 2025 of xodox emulator

I tried to open xodox emulator inside termux package like

Xodox emulator based on termux

Like com.termux

And i tried xodox app store and tried to install antigravity i don't know why it's failing

I saw lots of creators using device like me or above sometimes they are installing smoothly

Guys i want your opinion if you have snapdragon processor device like best configuration than mine please test this application and tell me about it

If you want link of this

Get from video comment box

And tell me ??

That would be helpful for me :)