this post was submitted on 17 Apr 2024
108 points (93.5% liked)

Linux

48328 readers
617 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

The OnePlus Watch 2 has 2 chips, and basically runs a lightweight OS while keeping the hungry one in very very low power, and only powering it up when necessary.

I was thinking that maybe such idea could be applied on a Linux phone that could run all your banking apps without Waydroid's "you-must-be-a-hacker" issues, literally by having a half-asleep Android running on another chip, which you can wake up whenever to do your "non-hacker" things, while at the same time you can run the rest of your system (calls, messaging, calculator, calendar, browser...) on your lightweight, private and personalized Linux mobile OS.

I think I would pay big bucks for something like this, and it could serve as a transition device for ditching Android in the future when Tux finally governs over the world.

What do you guys think?

top 50 comments
sorted by: hot top controversial new old
[–] onlinepersona@programming.dev 29 points 7 months ago* (last edited 7 months ago) (3 children)

That already exists with waydroid. It's what people use on the Librem 5 and PinePhone to run linux apps. It would save much more battery if it were at OS level, but I assume that would be akin to merging Android and mobile linux distros and a lot more work.

Why do you have the impression that waydroid has a "you must be a hacker" issue?

Anti Commercial-AI license

[–] Lojcs@lemm.ee 21 points 7 months ago (5 children)

Does waydroid support safetynet? That seems to be what op is talking about

[–] boredsquirrel@slrpnk.net 20 points 7 months ago* (last edited 7 months ago)

SafetyNet is deprecated and replaced by "Google Play Certification" checks. This means any custom OS may be blocked. Its pretty horrible.

[–] onlinepersona@programming.dev 2 points 7 months ago* (last edited 7 months ago) (1 children)

Safetynet worked at some point, but it's proprietary tech that changes on a whim. Any other emulator or container will probably run into the same problem. Starting an entire new emulator with the purpose of circumventing safetynet or other proprietary attestation is an effort that could've gone into making it work on waydroid instead.

@unknowing8343@discuss.tchncs.de

Anti Commercial-AI license

[–] Rustmilian@lemmy.world 8 points 7 months ago* (last edited 7 months ago) (5 children)

That's specifically for Magisk.
This is for Waydroid.

load more comments (5 replies)
[–] warmaster@lemmy.world 1 points 7 months ago (1 children)

AFAIK waydroid doesn't pass the AVB (Android Verified Boot) check

[–] Lojcs@lemm.ee 2 points 7 months ago (1 children)
[–] Rustmilian@lemmy.world 5 points 7 months ago (1 children)
[–] boredsquirrel@slrpnk.net 3 points 7 months ago

Damn, interesting. Only works with Google Tracking at root level, but at least it works... for now.

[–] ReversalHatchery@beehaw.org 1 points 7 months ago

I doubt it does, google would never approve that. Maybe if it would pretend to be an other, genuine device, but I'm not sure the devs want to deal with that

[–] unknowing8343@discuss.tchncs.de 16 points 7 months ago (2 children)

If I am not mistaken, not all apps run on Waydroid, specially banking stuff will freak out because they have systems to know that you are running on true, verified hardware or not.

[–] ReversalHatchery@beehaw.org 9 points 7 months ago (1 children)

I'm afraid banking apps cannot be solved. They already require you to install sketchy system mods if you have just rooted your genuine phone with the original OS

[–] unknowing8343@discuss.tchncs.de 2 points 7 months ago (2 children)

I mean, with this dualOS device it would be solved... And recognition of Linux mobile would increase, hopefully making banking apps look for other systems of "verification".

[–] boredsquirrel@slrpnk.net 6 points 7 months ago

No, not that easily. Your phone could have 2 flash storages and do all the android stuff in there, with hardware TPM, A/B root, verified boot, rollback prevention, not rooted etc.

Ironically this is not even enforced by those shitty banking apps, GrapheneOS is way more secure and will probably be blocked by some apps soon, as they are not a "google certified OS", replacing the old SafetyNet.

[–] ReversalHatchery@beehaw.org 2 points 7 months ago

I see now, you're partly right. But I don't think such a device would be "approved by google", the party who decides which device configurations are "trusted"

[–] Cwilliams@beehaw.org 2 points 7 months ago (1 children)

@onlinepersona did you change your license? List time I saw, it was CC by SA or something

[–] onlinepersona@programming.dev 1 points 7 months ago (1 children)

Text links to the same license. Just using a different text to make it a little bit clearer what it's for. (Still raises many questions)

Anti Commercial-AI license

[–] Cwilliams@beehaw.org 1 points 7 months ago
[–] JubilantJaguar@lemmy.world 23 points 7 months ago (3 children)

Alternative utopia: do online banking in a desktop web browser while seated comfortably at home, rather than on a street corner in the sun squinting at a tiny screen.

[–] unknowing8343@discuss.tchncs.de 21 points 7 months ago (1 children)

Some banking services do only work through the app, believe it or not, as it is "the trusted device".

[–] JubilantJaguar@lemmy.world 14 points 7 months ago

Indeed, this is the case with Revolut, a bank which literally requires iOS or Android spyware to sign up and use. But it's rare. And a reason to NEVER USE that bank.

[–] Codilingus@sh.itjust.works 7 points 7 months ago (1 children)

I agree, but if you're like me, situations arise where I'm not at home, and unexpectedly spending money. Being able to look at my bank on my phone in the moment helps me judge if what I'm about to do is worth it.

[–] Para_lyzed@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

You can use a mobile device for this.

I use Bitwarden, so I just have a shortcut in my launcher to my bank's web browser page, Bitwarden autofills, and I'm in my account in a few seconds. Honestly, it might just be my bank that's the issue, but their old mobile app took longer to load than it takes me to log into their webpage anyway (and it would log me out half the time). Years ago I thought this would be an issue for me when I planned to de-google, but it turns out it's a complete non-issue (for me) and in fact I actually like the web page better. I'm able to do a lot of things in the browser that the app didn't have the ability to access (at least at the time; it's likely been updated).

Just throwing it out there that it's not necessarily an issue, and often the difference between the app and the webpage is blown out of proportion.

load more comments (1 replies)
[–] danhab99@programming.dev 10 points 7 months ago (1 children)

I thought the whole point of android is to be open source. We shouldn't let Google own it

[–] zwekihoyy@lemmy.ml 8 points 7 months ago

aosp and android aren't necessarily one in the same.

[–] barbara@lemmy.ml 8 points 7 months ago* (last edited 7 months ago) (3 children)

I hope your big bucks are big millions

Anyway, full and very easy android app support would be enough. Imaging installing an android apk app via your fdroid software store without thinking about it. Just like a flatpak. That's the future I want to live in.

[–] unknowing8343@discuss.tchncs.de 2 points 7 months ago (1 children)

Yes but the problem is that currently banking apps and possibly other "legally important" apps will freak out running under Waydroid.

[–] barbara@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

Linux market share is increasing. If we can get the phone I described, banking apps will adjust in 5 years if enough people demand it.

Anyway 2fa banking apps should become open source as well and work on any 2fa app. It's ridiculous that you have to use their app for it.

[–] Fisch@discuss.tchncs.de 2 points 7 months ago

Installing F-Droid via Waydroid should do exactly that, no?

[–] ReversalHatchery@beehaw.org 1 points 7 months ago

That's probably more work to do

[–] kuneho@lemmy.world 7 points 7 months ago (1 children)

BlackBerry was managed to run Android next to QNX somehow (BB OS10)

[–] Peasley@lemmy.world 5 points 7 months ago (1 children)

Pretty sure it just had an emulation layer for Android. I had a Passport when it was new, and I remember the phone was emulating a version of Android a few years old, so a few apps didn't work properly

[–] kuneho@lemmy.world 3 points 7 months ago* (last edited 7 months ago) (2 children)

Yeah, it was already on old enough version when it was a thing.

But to my understanding, it wasn't emulation, rather having a compatibility layer between QNX and Android.

so AFAIK, it was rather like Proton on Linux? but maybe I'm totally wrong here, haha.

[–] OsrsNeedsF2P@lemmy.ml 4 points 7 months ago (1 children)

I worked at BlackBerry (many years later) and this was my understanding. They were brutally reimpmementing all the Android APIs

[–] kuneho@lemmy.world 2 points 7 months ago (1 children)

I kinda liked how Android apps almost integrated to the Hub. 😄

[–] Peasley@lemmy.world 2 points 7 months ago

I was really impressed with the hub. Such a well-implemented feature. I also miss the led that would blink a different color for different types of notifications or conversations

[–] Peasley@lemmy.world 2 points 7 months ago

I think you have it right, I was being clumsy with my phrasing

[–] tfowinder@lemmy.ml 6 points 7 months ago

I would like such a device too.

[–] Dariusmiles2123@sh.itjust.works 5 points 7 months ago

I guess something like what you’re talking about or some kind of Virtual Machine to run these difficult apps would be perfect.

Or the ability to dual boot.

Basically, I would want to do everything I can on a PC, on a smartphone 😅

[–] qwesx@kbin.social 3 points 7 months ago* (last edited 7 months ago)

This should work on Jolla's Sailfish OS phones as they're running a legit Android in a sandbox. Unfortunately their hardware support is pretty abysmal if you want all features working - and since it's legit Android it's also not free (monetary) and Sailfish OS's UI toolkit is also not free (freedom).

edit: also, last time I checked, Bluetooth support for Android apps is terrible, basically only audio work(s|ed).

[–] sirico@feddit.uk 2 points 7 months ago

Something like distrobox export for the few apps you need

[–] bigmclargehuge@lemmy.world 1 points 7 months ago* (last edited 7 months ago) (1 children)

Some Android phones can already be dual booted with (in theory) any other UEFI compatible OS. There's a whole guide on the PostmarketOS about setting up a dual boot environment.

I briefly tested PostmarketOS on a OnePlus 6T. The core functions seemed fine but overall it lacked functionality, so my plan was to dual boot with LineageOS (a degoogled android project) for the bits that really just want a true android environment to function properly, and PmOS for everything else I could manage. In the end I just wasn't up for the process of setting up a dual boot, and went with just LineageOS. Been really happy with it so far, and will probably revisit dual booting when PmOS is more feature complete.

Edit, I suppose this doesn't touch on the idea of running two separate OS's on separate chips, and it does require a reboot to get the functionality of one OS or another, but besides that hiccup you'd get mostly the same functionality out of less complex hardware.

[–] unknowing8343@discuss.tchncs.de 4 points 7 months ago

This is not dual booting in the classical way. Imagine your laptop had 2 processors, and you could be running Linux on one, while the other processor is dormant with Windows, and wakes up when you launch League Of Legends or something. But then, you minimize LoL and you are back on Linux.

load more comments
view more: next ›