160
all 30 comments
sorted by: hot top controversial new old
[-] cmeu@lemmy.dbzer0.com 44 points 4 days ago

I just need sudo and a package manager

The promise of the smart phone was a mini computer in your pocket. I think we got it, but then the vendor locked the user out of admin on their own bought and paid hardware 🤷‍♂️

[-] derin@lemmy.beru.co 18 points 4 days ago

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.

[-] AceSLS@ani.social 6 points 4 days ago

You can totally use sudo if you're rooted. Using su also allows you to acces your native shell instead of Termuxs

[-] derin@lemmy.beru.co 2 points 4 days ago

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.

[-] AceSLS@ani.social 2 points 4 days ago

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

[-] derin@lemmy.beru.co 2 points 4 days ago

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!

[-] Caboose12000@lemmy.world 2 points 3 days ago* (last edited 3 days ago)

what package manager?
edit: nvm its apt

[-] psud@aussie.zone 3 points 4 days ago

Last I looked you could pretty easily get root on many phones, just if you did you couldn't use stuff that checks the device security

If you want to carry two phones you could use one for banks and 2 factor authentication, and have root on the other

[-] Flax_vert@feddit.uk 1 points 4 days ago

Banking is pretty significant

[-] psud@aussie.zone 1 points 4 days ago

Yeah, that's why you'd want two phones

[-] Dutchie@lemmy.world 5 points 3 days ago

I prefer the other way around. A decent android emulator for Linux.

[-] hendrik@palaver.p3x.de 19 points 5 days ago

Terminal applications only? Or does that make me able to run LibreOffice, Kdenlive and whatever I like?

[-] helenslunch@feddit.nl 12 points 4 days ago

It gives you a Linux VM but the only interface is the terminal. I've used this with a ChromeOS fork.

[-] dai@lemmy.world 1 points 3 days ago

Let's me repurpose an old phone for some headless container funtimes. If I can infect it with NixOS I'll be golden.

[-] hendrik@palaver.p3x.de 1 points 4 days ago

Thx. I have limited use for it then. I tend to carry my laptop anyways and just whip it out once I need to type in long terminal commands with pipe symbols, extra characters and press Ctrl-C. I don't think my phone has an adequate form factor for terminal tasks. Though, I occasionally use it to ssh into machines and do some quick fix. But I already have an app for that.

[-] woelkchen@lemmy.world 7 points 4 days ago

Terminal applications only?

As a first step definitively, simply because such a feature needs to start somewhere and text mode is easier than writing a wrapper for graphics systems.

Or does that make me able to run LibreOffice, Kdenlive and whatever I like?

I'm thinking that this is the end goal. Google struggles to get desktop-like apps onto Android tablets. Many people use iPads as primary work computer these days. My employer is switching to them and we're late to the party.

An audacious step for Google would be to distribute Flatpaks in the Play Store. That's very unlikely but it's technically a possibility.

Also, Steam integrating an x86 emulator for ARM devices makes even more sense now. I thought it's mainly for ARM Chromebooks but Android tablets getting an "Install Steam" button and becoming more compatible to games than Windows on ARM would be so bonkers.

[-] Moonrise2473@feddit.it 4 points 4 days ago

Desktop apps in a WebView using vnc on a VM on a tablet are a miserable experience that nobody wants to endure

[-] hendrik@palaver.p3x.de 2 points 4 days ago

I tried that, too. I already had a Debian VM on my phone years ago. Along with some VNC software and an android app to connect to the virtual desktop. It was really cumbersome to use. Especially keeping it open in the background and using it while doing other things was next to impossible.

[-] woelkchen@lemmy.world 3 points 4 days ago

Samsung ships a traditional desktop environment on their phones and tablets since years. Phones need to be pluggeg into a USB-C dock, tablets need a type cover. Others followed them with similar environments. Surely this is not meant for touch-only use.

[-] hendrik@palaver.p3x.de 1 points 4 days ago* (last edited 4 days ago)

I know. And that seems to be quite well made. Unfortunately they don't have HDMI output on their mid range devices. At least the Samsung phone of my wife doesn't output anything when connected to the TV. And we both refuse to spend $1.000 on a phone. And I mean this convergence is kind of a strange use-case. On my desktop I have a computer attached to the screen anyways. KDEconnect syncs everything and I don't need to attach my phone. And on the go, I don't have a keyboard and monitor with me. I think convergence is useful if you want some private stuff on the second monitor at work. Or while sitting in the computer science lab at school/uni and those machines are locked down. It's a bummer only/mainly Samsung does that. And the situation with HDMI and that USB alternate mode and the manufacturers using that to distinguish their flagship devices from the regular ones. It's probably only a few cents and mainly politics that keeps me from enjoying thinks like this.

[-] woelkchen@lemmy.world 2 points 4 days ago

I think it's more targeted at tablets than phones.

[-] hendrik@palaver.p3x.de 1 points 4 days ago* (last edited 4 days ago)

Okay. I mean I already have Termux for that. And I don't think a phone or tablet is a good device to operate the terminal or type in VI key bindings. They're much more made for graphical applications and touching buttons and graphical elements. Let's see where this is going. I still like using computers and having like 105 proper keys accessible for my fingers. Especially if my mode of interacting with the device is typing in text. And not clicking on things. But I get that nowadays lots of people use tablets and phones and stuff. And this certainly is a necessary first step.

[-] mp3@lemmy.ca 10 points 5 days ago

Nice, so I'll have a workaround if Termux is too crippled by Android's restriction.

I need yt-dlp in my pocket 😬

[-] calamityjanitor@lemmy.world 12 points 4 days ago
[-] FrameXX@discuss.tchncs.de 2 points 3 days ago
[-] notTheCat@lemmy.ml 5 points 5 days ago
[-] mp3@lemmy.ca 6 points 4 days ago

More flexible, and works on a lot of websites.

[-] badbytes@lemmy.world 7 points 4 days ago

They run like shit on ChromeOS, so Google can shove it where the sun don't shine.

[-] helenslunch@feddit.nl 8 points 4 days ago

Probably because ChromeOS is only installed on crappy computers. Runs like lightning on my Lenovo.

this post was submitted on 11 Oct 2024
160 points (96.0% liked)

Android

17532 readers
244 users here now

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

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. 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.

  5. 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.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS