Termux crashes after a while (android 11)
Im using termux on my rooted moto g20 to do some proxy's and to run a minecraft server
Performance is great, and i have also setup ssh for external access
The only problem that i have is that after a few hours termux crashes and closes, it seems to be only it, since i have also open tailscale (android app) and caffeine to keep the screen on
The phone is running android 11 "stock" from motorola with magisk for root, im pretty sure that the phantom process killer is android 12+, so maybe it's not that? i would really like some help, since my minecraft server constantly closes 😦
The proxie's are running in native termux with socat, and the minecraft server is running on proot-distro on debian...
Termux-api commands fail in proot
Termux api commands run in proot output the following message: "/data/data/com.termux/files/usr/bin/am: 30: exec: /system/bin/app_process: Operation not permitted".
The same does not happen in non-proot Termux where the command just works. Example command "$termux-toast test"
They worked at some point, which means I probably have broken something without noticing.
...

Error messages when trying to uninstall LibC
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable...
Trying to run Wings3D but result in "No Driver Error" in the Erlang Shell
I tried to Build this Particular Program, which is Wings3D, which probably the Best Lightweight Blender Alternative, The Build Process fortunately is succeeded without any Error (Only Warn about no
rebar2
found, the documentation says that rebar2
is Optional tho), but, when i try to run it with the Command provided by the Doc, EShell return error that says something:
```
Erlang/OTP 27 [erts-15.2.7] [source] [32-bit] [smp:4:2] [ds:4:2:10] [async-threads:1]
...'su -c "/system/bin/mount -v -t ext3 /data/data/com.termux /storage/emulated/0/t"' not working?
Objective
- be able to temporarily give access to files inside Termux directory even for apps which only support using Internal Storage (don't want to use ‘mv’ as that's particularly slow for lots of files, and I'd like to avoid having to physically remove/insert an SD card)
Problem ...

How do i fix this?
I was trying to open my python script trough termux
Solution:
ln -s $PREFIX/bin/nano ~/bin/termux-file-editor

firacode nerd patched fonts get cut-off when in italic
does anyone know how to fix nerd font that get squished when in italic, also some icon cut in half even in regular mode, this also persist inside qterminal x11

Termux Change default Cursor (AKA; "block" cursor) when exiting program such as `tmux` and `yazi`
Hello y'all, i found really annoying bug in Termux, for some reason, if i set the Default Terminal Cursor to pipe in
termux.properties
file, it change the Cursor to nice pipe cursor, but for some reason that i don't know, everytime i exit from a Program like Yazi, or TMux, the cursor suddenly change to Default one, which is block cursor, for a reason that i don't know, this is really annoying because i have to Restart Termux to reset the Cursor back to pipe cursor, does anyone knows why this h...Cargo rust build fail
Hello, actually I don't know if that makes sense to try but I wanted to install this project https://github.com/marin-m/SongRec on termux
And after a few commands :
```bash
pkg install openssh build-essential rust
cargo install songrec --no-default-features...
Cant get lsp to work inside LazyVim
I am using the LazyVim preconfigured nvim starter and cant get lsp to work here is the error:
Failed to run
config
for nvim-lspconfig
...share/nvim/lazy/LazyVim/lua/lazyvim/plugins/lsp/init.lua:215: module 'mason-lspconfig.mappings.server' not found:
no field package.preload['mason-lspconfig.mappings.server']...Solution:
i use this one:
cat mason-workaround.lua
```lua
return {
{ "mason-org/mason.nvim", version = "^1.0.0" },...I installed java and for some reason it cannot run .jar files?!
I tried running a midi player (ultralight midi player) also fabricmc nothing worked. OPENJDK-21 is used.

error using apt
i get a
Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)
error trying to do anything using apt (tried apt upgrade, apt purge, apt remove, etc.)
dpkg --configure -a output ( part of it at least, the rest doesn't fit)
```
dpkg: error processing package libadwaita (--configure):...Has anyone successfully compiled onnxruntime-node?
Has anyone successfully built onnxruntime for node for termux. I've been able to build onnxruntime.so for arm64 from WSL. But cross compiling the node bindings seems impossible. Cuz the build toolchain requires linux-x86_64 but then it doesn't bind to nodejs for arm64. After a lot of trial and error and monkey patching, cmake stops at [100%] build progress.
I've even tried to just use:
```
npm I onnxruntime-web...
pulseaudio can't record on LineageOS 20 / Android 13?
So, I have a Xiaomi Smart Clock running LineageOS 20 (Android 13) that I'm trying to get Wyoming in Termux (https://github.com/T-vK/wyoming-satellite-termux/tree/main) running on.
I am able to get everything installed and running ... but it seems like the mic isn't getting any input.
If I use
termux-microphone-record
I'm able to record audio and play it back with termux-media-player
but when I try to use sox
(via rec
) or parecord
, the output file is exclusively 0x00 data. This is even if I run pactl load-module module-sles-source
immediately before....Usb tty usage on unrooted
Im guessing its not in the api yet, I didnt see it
Just got some tty lora modules; rq question about it, because I want to use in termux is there a easy way now, or are we still stuck with using a diffrent app, or writing a usb parser in termux?
If proot can parse, thats fine too; I just want to mess with them in python, instead of directly sending at commands to it....
Ollama Vulkan
There is this specific version that leverages every GPU because of the Vulkan API, theoretically even Mali GPUs should work...
I'm no expert, regards....