To root an Android device running on the 5.1.1 Lollipop version, you will need to follow a series of steps. Rooting gives you administrative access to your device, allowing you to unlock its full potential and customize it as per your preferences. However, it is important to note that rooting your Android device can void its warranty and may also cause security risks if not done correctly.
Before You Begin:
Before you proceed with the rooting process, there are a few things you need to do:
- Backup Your Data: Rooting involves modifying system files, which can result in data loss. It is crucial to back up all important data such as contacts, photos, videos, and documents to a safe location.
- Charge Your Device: Ensure that your Android device has sufficient battery charge (at least 50%) before starting the rooting process. This will prevent any interruptions during the procedure.
The Rooting Process:
Now let’s dive into the step-by-step guide on how to root your Android 5.1 device:
Step 1: Enable Developer Options
In order to enable developer options on your Android device, follow these steps:
- Go to Settings: Open the Settings app on your Android device.
- About Phone or About Tablet: Scroll down and look for “About Phone” or “About Tablet” (depending on your device).
- Build Number: Tap on “Build Number” seven times until you see a message saying “You are now a developer!”
- Developer Options: Go back to the main Settings menu and scroll down to find “Developer Options.”
- Enable USB Debugging: Inside Developer Options, enable “USB Debugging” by toggling the switch.
Step 2: Install ADB and Fastboot Drivers
In this step, we will install the ADB (Android Debug Bridge) and Fastboot drivers on your computer. Follow these instructions:
- Download Drivers: Visit the official Android developer website and download the ADB and Fastboot drivers compatible with your operating system.
- Extract Files: Extract the downloaded zip file to a folder on your computer.
- Add Folder to PATH: Open a command prompt window and navigate to the folder where you extracted the files. Copy the folder’s path.
- Edit System Environment Variables: Right-click on “This PC” or “My Computer” (depending on your Windows version) and select “Properties.” Click on “Advanced system settings” and then “Environment Variables.
- Edit PATH Variable: In the System Variables section, scroll down until you find the variable named “Path.” Select it and click on “Edit. “
- Add Folder Path: Add a semicolon (;) at the end of the existing value, followed by the path of the folder you copied earlier. Click “OK” to save changes.
Step 3: Unlock Bootloader
To unlock your Android device’s bootloader, follow these steps carefully:
- Note: Unlocking the bootloader will erase all data on your device, so make sure you have backed up everything important.
- Boot into Fastboot Mode: Power off your Android device. Press and hold the Volume Down and Power buttons simultaneously until you see the Fastboot mode screen.
- Connect Your Device: Connect your Android device to your computer using a USB cable.
- Open Command Prompt: Open a command prompt window on your computer.
- Type Command: In the command prompt, type “
fastboot devices” to check if your device is recognized.
If it shows a device ID, you are good to go.
- Type Unlock Command: Next, type “
fastboot oem unlock” in the command prompt and press Enter.
- Confirmation on Device: On your Android device, you will see a confirmation screen. Use the volume keys to navigate and select “Yes” to unlock the bootloader. This will erase all data on your device.
- Reboot Your Device: After unlocking the bootloader, reboot your Android device by typing “
fastboot reboot” in the command prompt and pressing Enter.
Step 4: Install Custom Recovery (TWRP)
In this step, we will install TWRP (Team Win Recovery Project) custom recovery on your Android device. Follow these instructions carefully:
- Note: Installing custom recovery is crucial for rooting and other modifications.
Make sure to download the correct TWRP recovery image for your specific device model.
- Download TWRP: Visit the official TWRP website and download the TWRP recovery image (.img) file for your device.
- Flash Recovery Image: In the command prompt, navigate to the folder where you downloaded the TWRP recovery image. Type “
fastboot flash recovery twrp.img” (replace “twrp.img” with the actual filename) and press Enter.
- Reboot to Recovery: After flashing TWRP, reboot your Android device into recovery mode by typing “
fastboot reboot recovery” in the command prompt and pressing Enter.
Step 5: Root Android Device
In this final step, we will root your Android device using SuperSU. Follow these instructions carefully:
- Note: Make sure to download the latest version of SuperSU from a trusted source.
- Transfer SuperSU: Connect your Android device to your computer and transfer the SuperSU zip file to its internal storage or SD card.
- In Recovery Mode:
- If using physical keys:
- Select “Install” or “Install ZIP. “
- Navigate to where you transferred the SuperSU zip file and select it.
- Swipe to confirm the installation.
- Once the installation is complete, select “Reboot System.
- If using touch interface:
- Select “Install. “
- If using physical keys:
Congratulations! You have successfully rooted your Android 5.1 device.
Rooting opens up a world of possibilities, allowing you to install custom ROMs, remove bloatware, and customize your device to your heart’s content. Remember that rooting can be risky if not done correctly, so proceed with caution and always follow instructions carefully. Enjoy exploring the new capabilities of your rooted Android device!