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

Linux

48008 readers
1681 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
[–] [email protected] 29 points 6 months ago* (last edited 6 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

[–] [email protected] 21 points 6 months ago (5 children)

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

[–] [email protected] 20 points 6 months ago* (last edited 6 months ago)

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

[–] [email protected] 2 points 6 months ago* (last edited 6 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.

@[email protected]

Anti Commercial-AI license

[–] [email protected] 8 points 6 months ago* (last edited 6 months ago) (5 children)

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

load more comments (5 replies)
[–] [email protected] 1 points 6 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

[–] [email protected] 1 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 5 points 6 months ago (1 children)
[–] [email protected] 3 points 6 months ago

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

[–] [email protected] 16 points 6 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.

[–] [email protected] 9 points 6 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

[–] [email protected] 2 points 6 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".

[–] [email protected] 6 points 6 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.

[–] [email protected] 2 points 6 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"

[–] [email protected] 2 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 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

[–] [email protected] 1 points 6 months ago
[–] [email protected] 23 points 6 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.

[–] [email protected] 21 points 6 months ago (1 children)

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

[–] [email protected] 14 points 6 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.

[–] [email protected] 7 points 6 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.

[–] [email protected] 2 points 6 months ago* (last edited 6 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)
[–] [email protected] 9 points 6 months ago (1 children)

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

[–] [email protected] 8 points 6 months ago

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

[–] [email protected] 8 points 6 months ago* (last edited 6 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.

[–] [email protected] 2 points 6 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.

[–] [email protected] 1 points 6 months ago* (last edited 6 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.

[–] [email protected] 2 points 6 months ago

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

[–] [email protected] 1 points 6 months ago

That's probably more work to do

[–] [email protected] 7 points 6 months ago (1 children)

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

[–] [email protected] 5 points 6 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

[–] [email protected] 3 points 6 months ago* (last edited 6 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.

[–] [email protected] 4 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 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

[–] [email protected] 2 points 6 months ago

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

[–] [email protected] 6 points 6 months ago

I would like such a device too.

[–] [email protected] 5 points 6 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 😅

[–] [email protected] 3 points 6 months ago* (last edited 6 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).

[–] [email protected] 2 points 6 months ago

Something like distrobox export for the few apps you need

[–] [email protected] 1 points 6 months ago* (last edited 6 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.

[–] [email protected] 4 points 6 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 ›