view the rest of the comments
Android
The new home of /r/Android on Lemmy and the Fediverse!
Android news, reviews, tips, and discussions about rooting, tutorials, and apps.
🔗Universal Link: !android@lemdro.id
💡Content Philosophy:
Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.
Support, technical, or app related questions belong in: !askandroid@lemdro.id
For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id
📰Our communities below
Rules
-
Stay on topic: All posts should be related to the Android OS or ecosystem.
-
No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.
-
Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.
-
No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.
-
No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.
-
No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.
-
No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.
-
No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.
-
No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!
-
No affiliate links: Posting affiliate links is not allowed.
Quick Links
Our Communities
- !askandroid@lemdro.id
- !androidmemes@lemdro.id
- !techkit@lemdro.id
- !google@lemdro.id
- !nothing@lemdro.id
- !googlepixel@lemdro.id
- !xiaomi@lemdro.id
- !sony@lemdro.id
- !samsung@lemdro.id
- !galaxywatch@lemdro.id
- !oneplus@lemdro.id
- !motorola@lemdro.id
- !meta@lemdro.id
- !apple@lemdro.id
- !microsoft@lemdro.id
- !chatgpt@lemdro.id
- !bing@lemdro.id
- !reddit@lemdro.id
Lemmy App List
Chat and More
Try Termux, it's great.
While it doesn't get you sudo, it does get you a package manager and a decent amount of programs.
I use it and rclone to sync my cell phone's photos to a S3 bucket.
You can totally use sudo if you're rooted. Using su also allows you to acces your native shell instead of Termuxs
You're totally right, but I wasn't assuming they had a rooted phone.
Is there any difference between the native shell and Termux's? I just installed fish and chsh'ed it to default: after syncing over all my dotfiles it looks and acts as expected.
I did the same, but that's not what I'm talking about.
I don't know for sure, but if I hat to guess I'd say that Termux uses chroot to emulate a more Linuxy experience by changing your root to /data/data/com.termux/files/ with it's own bin, etc, lib and so on directories
Using su you escape that chroot and start using your roms root directory at /
I might be totally wrong with this, but that should hopefully clarify the way it behaves
Aah, okay.
I don't mind the chroot too much, especially as you can just use Termux's
termux-setup-storage
script for accessing files.But, yeah, I can see how one would want to use su for that!
what package manager?
edit: nvm its apt