this post was submitted on 17 Apr 2024
105 points (92.7% liked)

Linux

48179 readers
1110 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?

all 45 comments
sorted by: hot top controversial new old
[–] [email protected] 29 points 7 months ago* (last edited 7 months ago) (2 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 7 months ago (4 children)

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

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

[–] warmaster 1 points 7 months ago (1 children)

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

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

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

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

@[email protected]

Anti Commercial-AI license

[–] Rustmilian 8 points 7 months ago* (last edited 7 months ago) (1 children)

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

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

My understanding is the Google Integrity API is not the same as Google Play Protect:

The Play Integrity API helps you check that interactions and server requests are coming from your genuine app binary running on a genuine Android device
[...]
Determine whether Google Play Protect is turned on and whether it has found risky or dangerous apps installed on the device

Google Play Protect seems to function more like an antivirus

Google Play Protect includes on-device capabilities that help keep devices and data safe. These on-device services integrate with cloud-based components that allow Google to push updates that constantly improve their functionality.

Because Play Protect works doesn't mean Integrity API will.

Anti Commercial-AI license

[–] Rustmilian 5 points 7 months ago* (last edited 7 months ago) (1 children)

You need Google Play Certification to pass Play Integrity checks.
For Waydroid this is the only step you should need, unless you add Magisk.
Magisk breaks other checks.

Play Integrity :

Free of known malware: Determine whether Google Play Protect is turned on and whether it has found risky or dangerous apps installed on the device.

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

Where did you get that second screenshot from? It's not available on my Waydroid instance.

Anti Commercial-AI license

[–] Rustmilian 3 points 7 months ago (1 children)
[–] [email protected] 0 points 7 months ago

Oh, it does work 😮 That should solve OP's problem then 🤔

Anti Commercial-AI license

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

[–] JubilantJaguar 24 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.

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

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

[–] [email protected] -3 points 7 months ago

Ok boomer? This is just out of touch with modern day reality.

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

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

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

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

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

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

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

[–] kuneho 7 points 7 months ago (1 children)

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

[–] Peasley 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 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.

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

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

[–] Peasley 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 2 points 7 months ago

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

[–] [email protected] 5 points 7 months ago

I would like such a device too.

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

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

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

Something like distrobox export for the few apps you need

[–] bigmclargehuge 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.

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