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.

  • pete_the_cat@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    8 months ago

    Nope, currently have it running on my S23 Ultra. There’s not much you can do though that’s actually useful. Hexx is about the only useful thing because it allows you to theme the UI. Canto allows you to install system apps. Other than that, there’s not much else. You can install LSxposed but most of the modules are old and do basic things or don’t even work properly.

    • drwankingstein@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      There’s not much you can do though that’s actually useful

      I disagree with this myself. Here are some of the apps I use that make good use of shizuku.

      1. lemmy redirect
      2. ffupdater
      3. SystemUI Tuner
      4. SMT Shell (system privledged escalation for older samsung devices)
      5. Aurora store
      6. Droidify
      7. RootlessJames DSP

      It’s also possible with the recent changes affecting Android 14 regarding filesystems, good chance good fs explorers will need shizuku in the future since they patched some loopholes that allow accsessing the Android/data and Android/obb folders.

      There is a decent list of applications some interesting some not to me, and im sure different people can get different things from it https://github.com/ThePBone/awesome-shizuku

    • dantheclamman@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      The one I like most is Darq. Allows me to force some apps to use dark mode which wouldn’t otherwise. I also use SD Maid SE from F-droid, which allows me to auto-clean app storage without having to have accessibility loop through the settings. Pretty useful!

      • pete_the_cat@lemmy.world
        cake
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        I’ll check out Darq, thanks. SD Maid is also in the Play Store (or maybe I sideloaded it, I don’t use F-Droid).

        I just updated to OneUI 6/Android 14 today and Hexx doesn’t appear to work anymore, it says to use Theme Park with it, but you apparently have to make your own theme now? Maybe I’m forgetting how to use Hexx since it was a one and done for me and I didn’t have Theme Park installed before.

  • kayaven@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 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.

    • kayaven@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Now that I think about it, I’m not sure that Automate currently natively supports running commands with the Shizuku service. It uses its own privileged service that does practically the same thing. If you’re really desperate for using Shizuku, you could look into using the rish adb shell that Shizuku provides, but I’d suggest trying out the native privileged functionality in Automate first.

    • Xirup@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 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)