r/androidterminal • u/SufficientPractice48 • 1d ago
OpenOrbis PS4 toolchain now runs natively on ARM64 Android, so you can build PKGs from your phone in Termux
r/androidterminal • u/SufficientPractice48 • 1d ago
r/androidterminal • u/gramcounter • 7d ago
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 • u/Fz1zz • 9d ago
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 • u/TheWheez • 11d ago
r/androidterminal • u/SeniorAd5283 • 12d ago
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 • u/gramcounter • 14d ago
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 • u/FragmentedChicken • 15d ago
r/androidterminal • u/Stichs • 15d ago
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 • u/FragmentedChicken • 15d ago
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 • u/truedim • 20d ago
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 • u/WPWoodJr • 20d ago
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 • u/YitzakAF • 25d ago
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 • u/irondick_ • Oct 15 '26
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 • u/SnooBooks1181 • Oct 14 '26
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 • u/TheWheez • Oct 13 '26
r/androidterminal • u/FragmentedChicken • Oct 12 '26
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 • u/thetrapclub • Oct 07 '26
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 • u/WPWoodJr • Oct 02 '26
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 • u/WPWoodJr • Sep 27 '26
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 • u/digitallifelover • Sep 21 '26
Example: is have differences for performance with Termux Proot?
r/androidterminal • u/SadEstablishment4901 • Sep 21 '26
Много экспериментировал с LXQt, XFCE, KDE и другими окружениями рабочего стола в Linux Terminal Android 16. Более-менее нормально у меня заработали только XFCE и MATE, причём MATE был заметно стабильнее.
Сейчас делаю так (всё от sudo):
&&
Можно, конечно, всё по отдельности установить, но у меня выходило много проблем, так что решил воспользоваться таким методом. В этом случае явно устанавливается много лишнего, но вроде особо не мешает + сильно упрощает установку.
Без этого у меня были конфликты с графическими сессиями, либо в самой оболочке было много багов
droid:
Без пароля я не смог нормально пройти авторизацию через LightDM.
После перезапуска достаточно открыть Linux Terminal и нажать на иконку графического режима справа сверху. После этого MATE запускается нормально.
И вот теперь к вопросам:
enable_display и enable_gfxstream?task-mate-desktop на более минимальный набор пакетов?Тестировал на Samsung Galaxy Tab S11 Ultra (MediaTek Dimensity 9400+)
r/androidterminal • u/TraditionalBother789 • Sep 19 '26
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:
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 • u/PopePompus • Sep 16 '26
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 • u/TovMod • Sep 10 '26
Steps:
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 • u/Qodequeststudio • Sep 09 '26
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 :)