by sunshine-o · 1y ago · 0 comments
On two different Pixel phones (6a & 8a) I had a terrible experience:
- Very slow
- Crash all the time
- The app need to be reinitialised almost every day
But I have heard some people have no complain.
Also, since I couldn't really keep it alive long enough: what as the prospects in terms of battery usage? will it be realistic to have it running all time in the background?
Nice idea, nowhere near ready for anything but playing.
I suppose normal GNU/Linux might have this issue as well if you run an OS with lots of background services that randomly consume large amounts of RAM or if your desktop environment does. I don't so outside of kind of insane environments like raspberry pi zeros or weird situations on servers I don't typically run into this. (and no. It's not 2010, phones are normal PCs not a weird embedded environment.)
See also https://developer.android.com/guide/components/processes-and...
> just running regular apt-get upgrade if it has too many packages to update, or takes too long
That's really interesting! How's it handle nala[0]? I ask because it parallelizes apt. So if it crashes fast then might be a good hint that it is overloaded but if it is more successful could be a timeout?Also... I mean nala is also a much better experience than apt...
In Android's case, a Java or Kotlin written Terminal app, exposing CLI capabilities, taking advantage of Android's APIs.
Even assuming the Terminal app works great, it is still only usable for playing, unless I am able to plug a keyboard, mouse and external monitor to a phone, and I have used both DEX and Windows Continuum in the past.
I am not sure why VT100 emulation is relevant in this context. Removing it will break a lot of existing Unix/Linux terminal applications and the point of this emulator is to bring the wealth of existing applications (as well as X11/Wayland applications) to Android.
Exactly because we should stop dragging UNIX all over place, and embrace new computing models, the world already has enough UNIX clones always redoing the same stuff over and over again, as if Lion's book had been published last week.
That sounds more like it's being killed for RAM reasons rather than "crashing"
Apps are meant to be started and destroyed dynamically when the user does something else, their phone is idle for a long time, battery life is low, etc. If something is in the background it's fair game to kill.
+ Doesn't have the same compatibility issues Termux has, so I can install things like bun.js and npm packages with native bindings (e.g. database connectors)
- Can't edit text selection, which makes it difficult to copy text
- Can't paste text
- Frequently restarts and loses all progress while switching apps
I can't say much about the battery because I just haven't used it enough to tell the difference. Honestly, with all these major flaws, I usually end up just using Termux.
I hope they fix these glaring flaws soon, IMO they're a lot more urgent to get devs to actually use this than GUI support.
Nitpick: also, a more distinctive name would be nice. Right now, it's basically impossible to search for solutions to Android Terminal issues
For context, I use it mostly for web development. It runs a desktop environment with VNC, so I'm able to connect and run software like a browser. I don't develop on the device, but instead connect to a remote machine. Although the browser takes a few seconds to start, I didn't have any issues doing frontend development or doing web searches and reading docs, but I tend to be careful regarding the number of open tabs.
The Terminal app does crash from time to time. It can crash after 15 minutes, but I've also had it running for about 2 hours without issues. I'm not bothered by this as I just reconnect and continue where I left.
The reinstall is not needed every day. When I run the app, sometimes it says there was an unrecoverable error and suggests to reinstall. I ignore this, because it's a timing issue; the app was slow to start. Usually, if I run it again after closing the activity, it starts normally. The same VM has been running for me without a need to reinstall for a few months.
The battery usage is not too bad. I use an external display and make the phone screen black during this time. The battery gets depleted at a rate between 5% and 20% per hour, but this is only for active usage. I haven't been running it all the time in the background.
You used to be able to run Unix fine on computers with 64MB of ram. A modern phone has more than enough memory.
Probably more the fact that the memory and battery management logic assumes all user apps which are not in focus can be killed aggressively, which makes the system unsuitable for any background task by design.
Now I am not very knowledge about memory management on Android but I just noticed the 8Gb of the Pixel 8a are almost all used just after reboot. So this is very different than a Linux desktop...
Expecting Android to be just another Linux distro is exactly the root cause of many Termux developers frustations.
> Pixel 8a has 8gb ram. It's not a low end number for Android phones.
I mean... linux runs fine of a Gen 1 raspberry pi... I have several machines around me that are running linux with 4GB or less. Hell, my 3D printer only has 128MB and my car has under a gig and run Linux fine. A low end phone *should* be just fine...