this post was submitted on 07 Mar 2024
643 points (96.0% liked)

Android

28148 readers
414 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 2 years ago
MODERATORS
 

I'm lucky my banking app works (GrapheneOS), as it's now requiring 2FA with the app anytime I login on the browser. Can't use an actually secure form like TOTP. At least they now allow passwords over 8 characters (yes, serious).

(Meme in comments)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 51 points 9 months ago (2 children)

Magisk plus DenyList luckily works for my banks. Couldn't imagine not having a rooted phone.

[–] [email protected] 7 points 9 months ago (4 children)

Beat the main purpose of GrapheneOS. Open the phone to a broad lot of security issues.

[–] [email protected] 27 points 9 months ago (2 children)

Graphene only works for Pixel phones, and I don't want a Google device.

[–] [email protected] 5 points 9 months ago (2 children)

thats fair. device support is a major downside of GOS. but, remember: its not really the fault of the OS, as it requires a lockable/unlockable bootloader, which only pixel phones provide (at least in terms of mainstream phones). blame the OEMs like samsung

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

There are a ton of unlockable bootloaders. On my OnePlus that's a matter of flipping a switch in the settings.

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

can it be re-locked? i may be wrong, btw. this is just what ive heard.

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

I don't know, never tried that.

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

That's the main issue really, as it open the possibility to manage your device for anyone getting hold of it. Probably some debug attack methods also with it.

[–] deweydecibel 3 points 9 months ago* (last edited 9 months ago) (2 children)

which only pixel phones provide (at least in terms of mainstream phones)

Mainstream phones? Pixel is a smaller market share than Motorola, and Motorola has unlockable bootloaders, and lineage supports a fair number of them.

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

I thought Google owned Motorola, but I missed the sale to Lenovo ten years ago.

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

Sadly, can't be re-locked. Would have loved to get a Motorola if it was.

[–] [email protected] 15 points 9 months ago (2 children)

What are the security issues? Rooted just means the potential to give trusted apps root access. Of course, if you give an app root access that you trust but is then abusing that trust and being malicious, yes it's a security issue. But if you don't do that, the simple fact of having a rooted phone should have no security change in any way. (Ok, except for potential bugs in Magisk/su or whatever)

[–] deweydecibel 17 points 9 months ago* (last edited 9 months ago) (1 children)

The whole issue revolves around the fact Google is presuming a device is compromised or being used for illicit shit simply because root access is possible. If they put in effort to detect/prevent the actual problems they're concerned about, this wouldn't be as big a deal. This broad punishment for simply having root access is lazy and ridiculous.

It's like if Windows apps just stopped working if they detected a local admin account. It's patently absurd to assume the ability to access anything means the device is inherently "unsafe".

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

But the previous commenter talked about security issues, you're only talking about usability issues.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

https://www.reddit.com/r/GrapheneOS/comments/13264di/comment/ji54e19/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button

If you have the UI layer able to grant root access, it has root access itself and is not sandboxed. If the UI layer can grant it, an attacker gaining slight control over it has root access. An accessibility service trivially has root access. A keyboard can probably get root access, and so on. Instead of a tiny little portion of the OS having root access, a massive portion of it does.

In the verified boot threat model, an attacker controls persistent state. If you have persistent root access as a possibility then verified boot doesn't work since persistent state is entirely trusted.

A userdebug build of AOSP or GrapheneOS has a su binary and an adb root command providing root access via the Android Debug Bridge via physical access using USB. This does still significantly reduce security, particularly since ADB has a network mode that can be enabled. Most of the security model is still intact. This is not what people are referring to when they talk about rooting on Android, they are referring to granting root access to apps via the UI not using it via a shell.

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

I'm pretty sure whoever wrote that was talking out their ass. The fuck is "UI layer" on Android, or rather, what does it have to do with it xD

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

The actual Magisk prompt that ask you if you want to give root to such app. This UI layer.

Although, i suppose it could be countered by explicitly refusing all requests or enabling a biometric confirmation

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

But granting root is not done by "the UI layer", "the UI layer" is not running with root. There is no such thing as "the UI layer" as a separate entity, an app can have a UI layer as part of its architecture, but the UI is not running on its own. Just because Magisk shows you a UI for you to grant/deny a root request, that doesn't make it insecure. Nothing is able to interact with this prompt except the Android kernel/libraries itself and Magisk.

Only if you added an application as accessibility tool (or give it root) can it interact with anything within the UI. An app with a UI is generally not much different than an app on the command line.

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

It still create an attack vector, as it allows a potential extra method to get access to it, in addition of potential hardware exploits that i shared to gain root. Yes, you can minimize the risks correctly, but the user is the only real barrier against it, not the software anymore. The less potential way to exploit your phone, the better it is. You shouldn't rely on thinking that such feature is fully attack-proof.

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

don't give root to any app duh

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

Non-rooted phones are just like iPhones. Ewww...

[–] LoremIpsumGenerator 4 points 9 months ago

Like bicycles with training wheels.

[–] RaoulDook 1 points 9 months ago (3 children)

Can you compile your own OS from source for an iPhone and install it yourself? I don't think so.

I have done that with my non-rooted android, and I can do anything I want with my phones through the powers of open source software.

Rooting is unnecessary now and that's a good thing.

[–] davidgro 8 points 9 months ago (1 children)

You can't do that without unlocking the bootloader, and that alone will trip "root detection" (Play Integrity).

Some apps take it further and won't run if you enable Developer Options! (Or have any number of "hacking apps" installed, such as autotap apps that don't even need root.)

[–] RaoulDook 1 points 9 months ago (1 children)

Yes, I am aware of how it works. Unlocking the bootloader is not the same as rooting, and all my apps work just fine.

[–] davidgro 5 points 9 months ago

If they work with an unlocked bootloader then they would almost certainly also work fully rooted, with the advantages that brings (such as actual working app+data backups, limiting max battery charge, better automation possibilities with apps like Tasker, etc)

I'd much rather switch banks than give up rooting my phone.

[–] deweydecibel 5 points 9 months ago (1 children)

Who cares if it's necessary? If people want to do it, they should be able to, without punishment.

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

Rooting is unnecessary now and that's a good thing.

Rooting is always necessary, you can't convince me otherwise, imagine not having root permissions in your Windows, Linux or macOS machine...

Without "rooting" capabilities we wouldn't have custom firmware for tech that is quite locked (like the PSP, Vita, 3DS and whatever OS they use), emulation would not be the same.

Heck, even some iOS versions can be jailbroken yet, I cannot conceive a world where iOS is less locked than Android.

You need to be the one who decides how your hardware is managed.