17
submitted 11 months ago* (last edited 11 months ago) by alphacyberranger@lemmy.world to c/android@lemmy.world

I'm thinking of using Shizuku to give root access to Automate app. My doubt is will it backfire in some way. I'm trying to automate enabling and disabling of Work Profile based on a schedule which frustratingly is missing on Samsung. I'm trying to run the adb commands "am stop-user -f 10" using privileged user block in Automate. Can anyone comment on this? Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[-] kayaven@lemmy.world 4 points 11 months ago

You can run Shizuku in ADB privileged mode (running a shell command through ADB that starts a service so other apps can access that same privilege), or run Sui, a Magisk module that provides a same service but with root access instead. The ADB privileged version doesn't trip Knox since it doesn't require unlocking your bootloader, but Sui/Magisk most definitely will.

[-] Xirup@lemmy.dbzer0.com 1 points 11 months ago

Exactly, in other words, Shizuku is safe if you are afraid to lose the guarantee of your device, Shizuku are simple ADB commands (not so simple) and ADB is a tool known and used by developers, there is nothing wrong, it would be like losing the guarantee of a Windows PC by using a script to delete Edge (And so, there are GUIs that use background commands)

load more comments (1 replies)
this post was submitted on 09 Nov 2023
17 points (94.7% liked)

Android

27776 readers
157 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:

!android@lemmy.ml


founded 1 year ago
MODERATORS