Android 16 Linux terminal
Posted by Dry_Amphibian_5340@reddit | linux | View on Reddit | 42 comments
guys , I just activated android built-in linux terminal, updated and upgraded, now want to install gui and set vnc, do anyone did it before? just wanna know if it's laggy or not.
phone : poco x7 pro
kalzEOS@reddit
Where do you enable it? Developer options? My OnePlus 12 doesn't have it, even though I'm running Android 16
Dry_Amphibian_5340@reddit (OP)
enable developer options by tapping your rom version couple of times then find "linux development environment" in developer options and enable it. it will add an app named "Terminal", open it and the next is easy just agreeing and waiting to download itself. it's not available in some kernels afaik
kalzEOS@reddit
I've always had developer options, I use it for other things, too. Not there. Guess my kernel isn't on the list then. About to root this fucker anyway. Will see if I can find a custom ROM that has it.
Butze1@reddit
https://community.oneplus.com/thread/1993681126266241029
Since Oneplus isn't Oneplus anymore there are a lot of things that aren't working as expected. No Linux Terminal. ADB isn't working properly. Tried USB Thetering some days before. First it produces errors, after some trials I received an IP, but didn't get Internet access.
My Oneplus 12 will be my last Oneplus if they don't improve a lot.
curstwordZ@reddit
Wow. And here I am just bought a OnePlus 13 solely for the power of 16gb ram to run these exact types of things. And now I'm learning all this real time right now. Wtf. So. In other words. I'm fkd huh? Shld I just go ahead and get the pixel 10 pro and send the other back? I liked the OnePlus 13 as well bcuz they can run with kernelsu next and have a decent rooting community. Wth. I'm beside myself atm.
kalzEOS@reddit
Btw, I also have a pixel 10 and just ran a full Linux app on it. It's so damn cool. Installed and opened libre office right away.
kalzEOS@reddit
Same here. OnePlus 12 will be the first and last OnePlus I own. I was looking forward to the 15, but man, was it a flop. They're consumed by the endless pursuit of Apple.
CrossyAtom46@reddit
How did you enable it? I have OxygenOS 16, but can't find it anywhere
Dry_Amphibian_5340@reddit (OP)
enable developer options by tapping your rom version couple of times then find "linux development environment" in developer options and enable it. it will add app named "Terminal", open it and the next is easy just agreeing and waiting to download itself.
curstwordZ@reddit
I'm on my pixel 8 pro with the option enabled but the terminal app immediately closes every time I click on it.
CrossyAtom46@reddit
Seems like my device does not support it. It could be awesome, my phone's specs are way better than my PC. It could be awesome to replace it
mtlnwood@reddit
while i cant help you i envy you. I have been waiting for the feature and found out snapdragon is not a supported architecture for linux on android. so chugging along with termux for now.
Regular-Matter-1182@reddit
I have s25FE with an exynos chip. I don't have the terminal either. It only appears when i search it in developer settings and It's disabled.
Destroyerb@reddit
What would you use it for?
mtlnwood@reddit
I didn't pay a whole lot of attention to it when I was hearing about it but this was my takeaway for what they were going to deliver as part of it. An easy way to run gui linux apps out of the box, access to parts of linux that you can't access in termux, that could have been things like systemd but I cant be certain unless I go back to look.
Another that is useful is that I can have different apps work together how they should. For example right now I might do CLI stuff in termux but I have the emacs gui running as an android app. I have to go through the process to resign the emacs android app with the same key termux uses so that it has access to the same filesystem as termux is using. Even then I cant emacs to run properly apps installed in termux.
This will make all that process seamless like it is on my linux desktop.
xkcd__386@reddit
that's expected; these things tend to be subjective, and your impressions above do answer my question more than adequately.
The one question that I wanted to ask you, and this is pretty much a yes-no question, is: does this new terminal avoid or get around the problem described in the following URL: https://www.xda-developers.com/android-12-background-app-limitations-major-headache/
At the moment, the only solution I have for this is a bunch of ADB shell commands where I have to do something like set sync disabled and max phantom processes and so on. Not a hardship, but it would be nice to know if that problem was solved by default in this new terminal.
As to the rest of your points, I keep most of the data I keep in the shared part of the file system. Only scripts which need
chmod +xgo into the pure termux area because you can't do that on the "normal" files. As such, the GUI apps I use (Markor, orgzly, Thunderbird/K-9, and so on) all work interoperably with vim and fzf and ripgrep and my personal scripts.xkcd__386@reddit
I can't find the link but my impression is it doesn't do a heck of a lot more than what termux does.
What do you see as the "extras" it has?
mtlnwood@reddit
I replied below.. I can't quantify the 'lot more' but I can point out some things that make life a lot easier for me.
Alternative-Skin5406@reddit
como? queria ativar no meu cllr One UI 8 com Android 16
thetarun03@reddit
i am also getting unrecoverable error, maybe due to different roms in different countries, can you please tell the region of your rom
Sayze_A_@reddit
How did you get it working? I keep getting an unrecoverable error.
bussondev@reddit
Samsung user?
Sayze_A_@reddit
As in the post: Poco X7 Pro
Dry_Amphibian_5340@reddit (OP)
I did nothing special, just opened it and it started downloading then boom it's done and up
mmmboppe@reddit
how much RAM does your phone have?
Dry_Amphibian_5340@reddit (OP)
12GB
JJ3qnkpK@reddit
Are you using a VPN? The terminal app uses networking to connect to itself. If you have a VPN blocking connections, it won't be able to connect and will throw that error.
Sayze_A_@reddit
I don't use any VPN or DNS during terminal installation.
Dry_Amphibian_5340@reddit (OP)
btw i disabled child process restriction in developer options
mmmboppe@reddit
did not help
mmmboppe@reddit
same. can't even copy the error text to search for it online. outrageous
ddscentral@reddit
From what I understand, Android Linux terminal is basically a full-blown VM running on Linux KVM. AVF just exposes a non-root framework to run them.
partev@reddit
On Google Pixel 10 GUI apps work out of the box.
They need to upgrade to Debian 13.
winntfan@reddit
Does it have systemd
Dry_Amphibian_5340@reddit (OP)
the return value of "ps --no-headers -o comm 1" is "systemd" so I think, the answer is yes
meanest_flavor@reddit
in due timed
program321@reddit
Any update on Snapdragon support for this?
Far-9947@reddit
It should have better support than a Dimensity chip (the chip the OP's x7 pro uses) in theory.
program321@reddit
Yes, in theory it should have. But even the Snapdragon 8 Elite Gen 5 doesn't have support for it.
Far-9947@reddit
Yeah, it's definitely odd and something I was not aware of. Perhaps they will roll out software updates that will give it support. Good thing there is always Termux, which I use constantly.
Also, happy cake day!
asm_lover@reddit
i was kinda eager to try that on my nothing phone 2 because it recently got an update to android 16.
Turns out the kernel they provide doesn't have the virtualization features enabled.
is it too much to ask that OEMs update kernels?
Anyway barely matters to me. termux is also fine.
i-hate-birch-trees@reddit
You'll need LocalDesktop