this post was submitted on 10 May 2026
1 points (100.0% liked)

Android

1150 readers
2 users here now

Android news for android developers. Everything that happens in android world.

For Android development specific topics please see /c/android_dev

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

founded 3 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] Auster@thebrainbin.org 0 points 1 month ago (1 children)

Tutorial, I can't remember, but I do remember some pointers:

  • Termux first needs the phone to be rooted to properly interact with anything outside of its $HOME, including Android's user's internal storage and SD card
  • Iirc Termux lists useful packages in its default text, including the one for being able to interact with root
  • Termux is a Linux distro heavily adapted to work as an Android program, but that makes commands familiar; if you used Debian, Ubuntu, Mint, etc., commands follow the same structure as apt's, but using pkg instead
[–] hexagonwin@lemmy.today 0 points 1 month ago* (last edited 1 month ago) (1 children)

Termux first needs the phone to be rooted to properly interact with anything outside of its $HOME, including Android's user's internal storage and SD card

this is false, termux does not need root for most things including accessing internal storage (/sdcard)

Termux is a Linux distro heavily adapted to work as an Android program, but that makes commands familiar; if you used Debian, Ubuntu, Mint, etc., commands follow the same structure as apt's, but using pkg instead

this is also not true, it's not a linux distro, it's just *nixy tools natively compiled for android. thus for example it uses android native libc. apt command also still works on termux, as pkg is a wrapper around apt.

[–] Auster@thebrainbin.org 0 points 1 month ago

Went to double-check both things.

About root, I think I got it confused with two different things at the same time, termux-setup-storage, and the external storage specifically requiring root to work (first paragraph after the data table).

About (not) being a Linux distro, reading deeper into it, it sounds a lot like DOSBox, which is also a terminal emulator which can run programs for the system it pretends to be while using the host system's file system.