back to top

How to Share Device Owner Permissions with Other Apps Using Dhizuku

Follow Us
placeholder text

In this guide, we’re gonna show you how share device owner permissions with other apps using Dhizuku When you have device owner permissions on Android, you get full control over a device. This is mostly for businesses. We’ll break down how to use this feature & link it up with other apps through Dhizuku. Just follow the steps closely for an easy setup.

What Is Dhizuku

Dhizuku is a handy tool that lets apps do things needing special permissions without needing full root access. It uses the ADB interface to connect powerful tasks with third-party apps. This makes it super useful for developers & advanced users who want to handle device permissions better.

Key Terms:

  • Device Owner Permissions: Complete control over a device, mostly used in business settings.
  • Shizuku: The main service that lets you do privileged actions without rooting your device.
  • ADB: Android Debug Bridge, a command-line tool that helps communicate with your Android devices.

Prerequisites

Before starting, make sure you’ve done these things:

  • Enable Developer Options: Go to Settings > About Phone. Tap the “Build Number” seven times to unlock developer options.
  • Enable USB Debugging: In Developer Options, turn on USB Debugging.
  • Download Shizuku: Get Shizuku from the Google Play Store.

Step-by-Step Guide to Share Device Owner Permissions via Dhizuku

  1. Install and Set Up Shizuku

First, grab the Shizuku app and install it. Shizuku is key here—it’s what allows apps to talk to Android’s ADB system without needing full root access.

  • Once it’s installed, open Shizuku and follow the setup instructions for ADB mode.
  • Now, connect your phone to your PC using USB and type this ADB command into your PC:
adb shell shizuku

This turns on the Shizuku service.

  1. Install the Hail App from GitHub
  1. Next up is Hail. This app helps manage sharing those device owner permissions with other apps. Go ahead & download Hail from GitHub.
  2. After it’s installed, open Hail and set the Working mode to Shizuku – Disable. This stops Shizuku permissions for a bit so you can be flexible.

Then, give Hail permission by authorizing it.

  1. Download and Install Required Apps

Now comes downloading the other apps you want to share those permissions with. You’ll bring these into Hail for management.

  • Get those apps from their websites or app stores.
  • Open Hail again and add them to the list inside the app.
  • It’s a good idea to freeze these imported apps for now so they don’t do anything while assigning permissions.
  1. Enable USB Debugging & Set Up ADB

Make sure USB Debugging is on & connect your device again to your PC. If you haven’t done it yet, go back to Settings > Developer Options > USB Debugging to enable it. Let’s move forward:

  • Download & unzip Android SDK Platform Tools on your PC from Google’s website.
  • Open Command Prompt in that platform-tools folder.
  • Now type in this command to assign device owner permissions through Dhizuku:
adb shell dpm set-device-owner --user 0 com.rosan.dhizuku/.server.DhizukuDAReceiver

This command will set Dhizuku as the device owner for those apps you’ve selected.

  1. Unfreeze the Apps & Manage Permissions
  1. Once you’ve assigned those permissions, head back over to Hail:
  2. Unfreeze all those apps you froze earlier.
  3. Remove them from the freeze list so they can start working again.
  4. Now, change Hail’s working mode back to either Dhizuku – Hide or Dhizuku – Suspend based on how you want each app’s permissions handled.
  5. These options let you keep track of what shows up or gets paused using Dhizuku.
  1. Adding & Managing Apps

Finally, if there are other apps that need device owner permissions, add them in Hail too! After adding them, they’ll snag the same privileges through Dhizuku so they can do advanced tasks on your phone.

Troubleshooting & FAQs

Common Issues:

  • Having trouble starting Shizuku? Check if ADB is set up right! Restart both your phone & PC if needed.
  • Running into an ADB Command Error? If the command fails, make sure your phone is connected via USB & USB Debugging is on!

Frequently Asked Questions:

Do I need root access for this?

Nope! You don’t need root; just Shizuku & ADB help manage those permissions fine!

Can I take back those device owner permissions later?

Sure thing! Just use this command:
adb shell dpm remove-active-admin –user 0 com.rosan.dhizuku/.server.DhizukuDAReceiver

Will this work on all Android devices?

Most devices that support Device Owner features should be good—generally Android 5.0 (Lollipop) or newer should do fine!

Conclusion

Sharing device owner permissions through Dhizuku really lets you handle what your Android can do without rooting it! By following these steps closely, you’re gonna have more control over sharing those important capabilities across different apps while keeping everything safe too!