PDF download Download Article
Get root access on your Android using Magisk with this detailed guide
PDF download Download Article

Rooting your Android phone or tablet allows you to enjoy the benefits of extra memory, custom software installs, and much more. Rooting usually requires access to a PC, but with a little patience and technical know-how, you can root your Android without using any other devices. The safest and most reliable method is to root your device with Magisk using Shizuku and Termux. Rooting your Android may cause it to stop working and will almost always void your warranty. Proceed with caution.


The Best Way to Root Your Android Without a PC

To safely and reliably root your Android with no PC, you’ll need to enable your device’s developer mode and install Shizuku and Termux. Use Termux to flash a custom recovery, such as TWRP or OrangeFox. Then, you can install Magisk from your recovery to root your Android.

Section 1 of 7:

Preparing Your Android

PDF download Download Article
  1. 1
    Unlock your device’s bootloader. The bootloader is responsible for loading the kernel, one of the core programs on your Android that helps manage a wide variety of basic tasks. [1] Unlocking the bootloader is a critical step in the process of rooting your phone or tablet. [2] Always back up any data on your device that you want to keep before proceeding, since this process will factory reset and erase your Android. Here’s how to unlock the bootloader: [3]
    • Put your device in bootloader mode. If you have the Android Debug Bridge (ADB) installed, you can use it to send the command adb reboot bootloader . Otherwise, check your phone or tablet’s documentation for information on how to boot into the bootloader. For example, you can do this on many devices by holding the volume down button while booting up.
    • Run the command fastboot flashing unlock . If this doesn’t work, you’ll need to enable OEM Unlocking first:
      • Boot to the Home Screen.
      • Open Settings > System > Developer options .
      • Enable OEM unlocking.
    • Accept the warning about unofficial images, then wait for your device to reset and reboot.
  2. 2
    Enable your Android’s developer options. If you haven’t already enabled developer options, you’ll need to do so before you can root your device. The exact process for doing this varies depending on your device model, but typically, you will go to Settings > About (or About phone ) > Build Number . Tap Build Number 7 times, or until you see a message that says “You are now a developer!” [4]
    • On some devices, the path is something like Settings > About > Software Information > Build number .
    • To look up the exact path for this option on your device, check out this article from Android .
    Advertisement
  3. 3
    Turn on USB Debugging. This feature is located in the Developer Options menu. To enable it, go to Settings > System > Developer options and toggle on USB debugging . [5]
    • On some Androids, you may need to go to Settings > System > Advanced > Developer options > USB debugging .
    • Note that not all Androids support rooting without a PC , even if you’ve enabled all these settings. If you’re unable to use the process described below, you may need to try a more standard rooting method .
  4. Advertisement
Section 2 of 7:

Installing Shizuku

PDF download Download Article
  1. 1
    Download the Shizuku app. This app is available in the Google Play Store . Download and install it on your Android phone or tablet. [6]
    • Shizuku allows you to manage permissions that you normally can’t get to without root-level access on your Android. You’ll be using this app, in combination with another app called Termux, to root your device without a PC.
  2. 2
    Start Shizuku with wireless debugging. Once Shizuku is installed, launch the app and follow the setup instructions. When you’re able to, select Start via Wireless Debugging .
  3. 3
    Let Shizuku run commands. Follow the prompts to give Shizuku permission to run commands on your Android.
  4. Advertisement
Section 3 of 7:

Setting Up Termux

PDF download Download Article
  1. 1
    Install Termux on your device. Termux is a terminal emulator that allows you to run commands using code in a command-line interface. You can install it from the Google Play Store or from F-Droid . https://magiskmodule.gitlab.io/blog/root-android-without-pc/
    • You’ll use Termux in combination with the Shizuku app to root your Android.
  2. 2
    Update your Termux packages. Once you’ve installed Termux, run the commands pkg update and pkg upgrade . This will ensure that you’re running the most up-to-date version of the app.
  3. 3
    Run a command to install the tools you need. Once you’ve updated Termux, run the command pkg install curl wget unzip . This will install tools that will allow you to flash recoveries and more.
  4. 4
    Install ADB. ADB, or Android Debug Bridge, is an Android command line tool that allows you to run a variety of commands you’ll need during the rooting process. [7] Here’s how to install it in the Termux app: [8]
    • Run the command pgk install root-repo .
    • Enter the command pkg install android-tools .
    • Type adb version to verify that ADB is installed. This will also tell you which version you have.
  5. Advertisement
Section 4 of 7:

Flashing a Recovery

PDF download Download Article
  1. 1
    Download the TWRP or OrangeFox image. Next, you will be flashing a custom recovery for your Android. The custom recovery will allow you to create a custom ROM, back up your system, and root your device. The most popular custom recovery options are TWRP and OrangeFox. Download the image file for your preferred option to your Android device. [9]
    • You can download the TWRP image here .
    • The Orange Fox image is available here .
    • If multiple options are available, choose the one that’s compatible with your specific Android device.
  2. 2
    Boot up in fastboot mode in the Termux app. Open Termux on your Android and enter the following command: adb reboot bootloader .
  3. 3
    Flash your preferred recovery. The command will be slightly different depending on which option you chose. Enter one of the following commands in Termux:
    • For TWRP: fastboot flash recovery twrp-x.x.x-x-device.img . Replace “x.x.x-x-device” with the appropriate version number and device name for the image you downloaded.
    • For OrangeFox: fastboot flash recovery recovery.img . You may need to change “recovery.img” to the actual name of the recovery file you downloaded. [10]
  4. 4
    Reboot from fastboot mode. In Termux, enter the command fastboot reboot . This will restart your device.
  5. Advertisement
Section 5 of 7:

Rooting Your Device

PDF download Download Article
  1. 1
    Download the Magisk zip. You can find it here . You’ll use Magisk to complete the rooting process. [11]
  2. 2
    Boot up in recovery mode using Termux. Launch the Termux app, then enter the command adb reboot recovery . Your device will reboot using the custom recovery you flashed.
  3. 3
    Flash Magisk using your custom recovery. The way you do this will vary slightly depending on which recovery you chose, but you should see an obvious “Install” option that will allow you to flash Magisk.
    • For example, in TWRP, tap Install , then select the Magisk zip file. Swipe to flash. Once the process is complete, select Reboot > System .
    • Your device is now rooted! You can use Magisk to do things like installing root-only apps or granting root permissions to trusted apps.
  4. Advertisement
Section 6 of 7:

Tips and Troubleshooting

PDF download Download Article
  1. 1
    Keep your device up to date. After you root your Android, it’s especially important to regularly update your apps and system. This will help prevent security problems and compatibility issues. [12]
    • The correct way to update your system on a rooted Android depends on your type of device. Read a detailed guide here .
    • Disable automatic updates, since they can cause problems on a rooted device.
  2. 2
    Back up your device frequently. Rooting your Android can potentially destabilize it. Use your custom recovery to make backups on a regular basis so you can restore your phone or tablet if something goes wrong.
    • You can easily back up and restore your device with the custom recovery you installed. For example, if you have TWRP, boot up in recovery mode (you can do this in Termux with the command adb reboot recovery ). Tap Backup and follow the prompts on screen to create your backup. If you already have a backup and need to restore from it, tap Restore instead. [13]
  3. 3
    Use recovery mode to escape a boot loop or fix other common issues. If your rooted Android gets stuck in a boot loop, you may be able to get out of it by booting up in recovery mode. If you can’t enter commands, you can forcefully enter fastboot mode by holding the right button combination for your device (such as power and volume down).​​ [14]
    • Once you’re in recovery mode, you can restore from a backup and even reflash your custom recovery and root if necessary.
    • You can also use this method to reflash your root package if root access isn’t working or your device becomes unresponsive.
  4. 4
    Try one of these workarounds if you get security alerts. Some apps won’t work on your Android if they detect Magisk. For instance, you might get a security alert error message when you try to use a banking app. If this happens, you can use a few possible methods to hide Magisk from the app: [15]
    • Install the Shamiko module, which has advanced hiding capabilities. Read a detailed guide here .
    • Enable DenyList. This allows you to hide Magisk from individual apps. Check out this detailed guide .
    • Reinstall the app. Sometimes, uninstalling and reinstalling the problematic app will solve the problem.
    • Try installing a custom ROM . A ROM that passes SafetyNet checks may help hide root better.
  5. Advertisement
Section 7 of 7:

Other Options

PDF download Download Article
  1. Try one-tap root options at your own risk. Apps like KingoRoot, KingRoot, and OneClickRoot may work for rooting your Android without a PC. Theoretically, this is quicker and easier than using the Magisk method. However, these solutions are unreliable, and many users claim they are potentially malicious.

Community Q&A

Search
Add New Question
  • Question
    How can I root an Oppo A37?
    Måns Arvidsson
    Community Answer
    Use Magisk Manager. It is one of the best Android rooting tool in the industry in these days.
  • Question
    What is the best and safest Android rooting tool?
    Anis13
    Community Answer
    Download KingoRoot, the safest rooting tool on earth. Just wait a few minutes and you have successfully rooted your device without blockading or breaking it.
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Warnings

      • Root your Android device at your own risk, as rooting will void the manufacturer's warranty. You may not be able to exchange or return your Android for repairs if needed.
      Advertisement

      About This Article

      Article Summary X

      1. Allow app installs from unknown sources.
      2. Download the Framaroot APK.
      3. Open the APK.
      4. Tap INSTALL .
      5. Tap OPEN .
      6. Tap Install SuperSU .
      7. Reboot your Android.
      8. Open SuperSU and tap Update Binaries .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 176,748 times.

      Is this article up to date?

      Advertisement