Obtaining Root rights to Xiaomi. Obtaining Root rights for Xiaomi With which programs we could not get root


Detailed instructions for installing custom recovery and obtaining superuser rights on Xiaomi Mi5 (Gemini) with an unlocked bootloader.

    Drivers and programs

    Files

Attention!

To install custom recovery on your device, you need .

Installation instructions

    Make backup copies of all necessary data and files and save them to your computer, removable media or cloud.

    Create a folder in the root of the C:\ drive named " Android».

    Disable driver authentication.
    Windows 7
    When turning on the computer, after loading the BIOS, you must press the key F8. In the menu that appears " Additional download options" choose " Disabling mandatory driver signing" This method may not work the first time, so you should repeat the action or open a command prompt as an administrator and enter two commands:
    « bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS»
    « bcdedit.exe /set TESTSIGNING ON»
    Windows 8
    You need to press a keyboard shortcut Win+I, hold down the key Shift and select "". When you turn on the computer, select " Diagnostics» > « Extra options» > « Boot Options» > « Reboot" When loading, select the “mode” by pressing the key F7.
    Windows 10
    You need to hold down the key Shift and select menu " Start" > "". After downloading, select " Troubleshooting» > « Extra options» > « Boot Options» > « Reboot" Then select " Disable mandatory driver signature verification", pressing the key F7.

    Download custom recovery in *.img format, rename the file for convenience to “ recovery.img" and move it to the "Android" folder. It is recommended to use.

    Connect your phone to your computer via a USB cable.
    It is recommended to use an original or good quality cable, as well as the USB 2.0 port located on the motherboard (for PC).

    Open the command line and go to the created Android folder with the command “ cd c:\Android\"(commands are written without quotes).

    Make sure that the computer finds the device via ADB.
    To do this you need to enter " adb devices" to the command line. When a request appears on your phone for permission to debug via ADB on this computer, you must click “ Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “List of devices attached” and a list of all devices will be displayed (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change the USB port/computer.

    Reboot your smartphone into Fastboot mode.
    To do this, enter “ adb reboot bootloader»or turn it off, then turn it on while holding down the Volume Down key. A hare wearing a hat with earflaps should appear on the screen.

    Make sure that the computer finds the device in Fastboot mode.
    To do this you need to enter the command “ fastboot devices" If the response is “ xxxxxxx fastboot" means the phone is connected correctly. If “waiting for device” or nothing at all is displayed, you need to check the status of the USB connection or reinstall the drivers.

    To install recovery, enter the command “ fastboot flash recovery recovery.img».

    At the end of the operation, reboot the device into recovery mode with the command “ fastboot boot recovery.img».

    When entering recovery mode, you must allow writing to the system partition by swiping to the right and refuse the password prompt.

    After that, reboot the phone again into recovery mode by selecting “Reboot” > “Recovery”.

    Then make a backup copy of all necessary partitions, as well as the “EFS” and “OEM” partitions.
    To create a backup, you need to click on the “Backup” item, select a save location in the “Storage” section, mark the data to be saved, swipe from left to right and wait for the operation to complete.

    After that, go to the menu “ Mount" and activate the section " Data».
    If the “Data” partition is not mounted or is not there at all, then you need to format the internal memory.
    ATTENTION!
    This operation will erase all your files on the phone's internal memory. It is strongly recommended to make backup copies of all necessary data to removable media or a PC, including backup partitions.
    To format the section " Data"you need to go to " Wipe» > « Advanced Wipe" and activate the items " Data" And " Internal Storage».

    Go to the “Settings” menu and on the first tab “General” uncheck the “Promt to install TWRP app if not installed” item.

    Reboot your phone into recovery mode again by selecting “Reboot” > “Recovery”.

    If the memory has been formatted, you will need to re-copy the archive to set MagiskRoot superuser rights and the MagiskManager utility to manage permissions to the internal memory of the device.
    To do this, in recovery you need to select the “Mount” menu and click the “Enable MTP” button in the lower right corner. Then connect the phone to the PC and transfer the desired file to the smartphone’s memory.

    Go to the “Install” menu, find and select the MagiskRoot.zip archive and confirm the installation of the file by swiping from left to right.

    After installation is complete, reboot the phone into the system by selecting “Reboot” > “System”.
    If the “Data” section has been reset, then the first boot may take up to 15-20 minutes.

  • share

Sometimes users get bored with the standard MIUI interface. Also, some are annoyed by the limitations of the proprietary shell from Xiaomi. But in order to change something, you need to get Superuser rights (root rights).

The superuser has the right to change anything in the gadget’s operating system that seems unaesthetic to him. However, unknowingly, you can seriously damage the file system of your smartphone. Therefore, this mode is not activated by default.

“Superusers” can change almost everything in the standard firmware of Xiaomi devices. However, there is a list of features provided by rooting that will be useful to almost everyone.

  • the ability to install “custom” firmware;
  • you can remove useless system applications;
  • it is possible to customize the interface;
  • you can increase the autonomy of the device;
  • It's easy to install custom recovery.

And this is not the entire list. It’s worth rooting the device, if only because it will work much better this way. If configured correctly. But in any case, the presence of root rights promises owners of Xiaomi devices a lot of interesting things.

How to root the device?

There are several ways to do this. It all depends on the type of smartphone and the year of its release. For example, owners of Xiaomi Redmi 4X, Redmi 5 Plus, Mi Max 2 and later models may encounter some difficulties. But more on this a little later.

Method number 1. We don't use a computer

For devices released before 2015, there is a very simple way to obtain root rights. There is no need to use a PC, unlock the gadget or otherwise influence its file system. You just need to download the KingoRoot program.

  1. So, download “kingoroot.apk” and move the file to your phone.
  2. In the security settings of your smartphone, we allow installation from unknown sources.
  3. Install Kingoroot in the most usual way.
  4. Launch Kingoroot using a shortcut on the desktop.
  5. Click on the big button labeled “Root” and wait for the process to complete successfully.
  6. If it doesn’t work the first time, then repeat the operation several more times.

It’s worth noting right away that this method will not work for devices such as Redmi Notre 4, 4A, 5S, 5A and A1. You can install root rights in this way on 3S, 3X, Redmi 3 Pro and other smartphones of the same category.

Method number 2. Flashing root

This option is suitable for those who have a smartphone released after 2015. In this case, it is much more difficult to obtain Superuser rights. The developers have covered all the obvious loopholes. Therefore, you will have to resort to the help of a computer.

  1. The first thing you need to do is unlock your smartphone's bootloader. To do this, you need to go to the website en.miui.com/unlock, log into your Mi account and leave a request to unlock the device (you need to write in Chinese, so Google Translate will help). As soon as the unlocking is approved, you need to download the MiUnlock program from the official website and follow its instructions.
  2. After unlocking, you can proceed to the next stage. We go to the website https://twrp.me/Devices/ and select the desired recovery image based on the model of your device. Let's download it.
  3. Now download the ZIP archive with the files necessary for root firmware. You can find it at this link: https://yadi.sk/d/U2vwVVS93F42pT. Transfer the archive to the root of the SD card.
  4. We enable USB debugging on the smartphone (the process depends on the device model) and connect it to the computer.
  5. We return to the recovery files and double-click on the “Flash.bat” element. The recovery firmware will begin.
  6. After successful completion of the firmware, turn off the device. Then press and hold the power button and volume + at the same time. We are waiting for the recovery to launch.
  7. Now click on the “Install” item, select the “Update SuperSU v.2.46.zip” file in the root of the flash drive and wait for the installation process to complete.
  8. Click on the “Reboot” button and reboot into the working system.

This is how you can enable root rights on Xiaomi Mi5, Mi6, Redmi Note (all versions), 3 Pro, and other devices released after 2015. It is worth noting that the Android OS will not suffer at all from this.

If you are the owner of root rights, it means that your device is equipped with additional useful functions, the security level is at the maximum, and any operating system option can be fine-tuned. This extension is simply necessary for people who want to have an almost perfect phone. How to get Root rights to Xiaomi without unnecessary skills and problems? After all, this process is quite long and painstaking, but if you do everything correctly and carefully, the result will only please you.

Why do you need Root rights on Android?

  1. Ability to remove factory apps, which do not bring any benefit to the smartphone, but worsen the battery life and take up significant space on the built-in memory.
  2. from applications in two clicks. This does not require either turning off the Internet or installing special programs.
  3. You can interfere with the operation of the phone itself, that is, edit, delete, add system files. Don't forget that to do this you need to have good technical knowledge, otherwise there is a risk of damaging your smartphone!
  4. Complete change of the entire interface, starting from icons and ending with the launch of the desktop.

We have presented only the main additional functions of the “Super User”. In fact, the number of small changes and innovations is huge.

Brief instructions and explanations

  1. First you need to unlock the bootloader. To do this, we bind it to the phone. Now we expect 360/720 hours, this is a mandatory condition that cannot be missed. Then install MiUnlock and unlock the bootloader.
  2. Install TWRP, this process is easier than the previous one and takes no more than 20 minutes.
  3. Download and install the archive with Superuser data. Ready.

It will be easier for owners of not quite modern Xiaomi models. You can immediately start installing TWRP recovery. If your model was released in 2015 or later, the bootloader is most likely unlocked.

How to enable Superuser mode on Xiaomi

How to understand that this mode may be on your phone? If you bought a new phone, then 99% of the time you don’t have Ruth’s rights. If you bought the device secondhand, ask the seller.

Look for an icon on the screen with the name "Superuser", "Super SU"(there may be others, but almost similar). Open the application as you would any other. Next, open “Settings” and check the box next to “Allow”. Usually the device is automatically required to reboot, but even if you did not receive a mandatory notification, it is still worth playing it safe and rebooting immediately without proceeding with other operations. Otherwise, the risk of malfunctions, incorrect operation and errors increases.

We remind you that root rights can only be obtained if you have . We check through “Update”. If it is missing, you need to install it additionally. Read about how to flash Xiaomi in our article.

This point is quite extensive and requires maximum care, so for convenience I have divided it into sub-points.

ATTENTION! These steps no longer need to be completed; the process of obtaining approval to unlock the bootloader has been simplified. Please see our updated instructions at the link above.

Go to the official MIUI website


Entering personal data


Download MiFlashUnlock from the official website

  1. We go to the official MIUI forum (en.miui.com/forum.php), log in there using the data that was entered when requesting to unlock the bootloader.
  2. Now it is imperative that you show good activity on your account. You can send messages, search for some information on forums, turn on all available servers.
  3. Go to the page with the application itself - (en.miui.com/thread-200858-1-1.html)
  4. Scroll down a little and download the archive (example in the screenshot).
  5. Next, download a special application called MiFlashUnlock. Unzip it, install it on your PC and launch it. Before us is the usual login screen. Enter the password and login that you came up with when unlocking the bootloader.

http://en.miui.com/unlock/download_en.html

Now turn off the phone and turn it on immediately, but not in a completely standard way: press the off/on key and the volume down button, we hold them for 10-15 seconds, and when the image of a hare in a green earflap appears, we release them. The next action is, and in the program click “ Unblock" If three green checkmarks light up, it means the operation was completed successfully and there were no problems.

Install TWRP (advanced recovery)

Now comes the most difficult and lengthy stage with the help of Recovery. Please treat this section with special care and caution! .

The final stage is obtaining Root rights to Xiaomi

Attention! SuperSU is no longer officially supported; the company that developed it resold the rights to another company. Now its development is frozen.

Latest version works on:

Android: 2.3 - 8.1.0.
CPU architecture: armeabi, armeabi-v7a, arm64-v8a, mips, mips64, x86, x86_64.

Installation process SuperSu 2.82-SR5

Download the archive and move it to the root of the smartphone’s system memory. No SD card if you have one.

How root Xiaomi Mi5X without spending money on a service center? Read our guide, created by an Android genius. Before getting started, we recommend that you familiarize yourself with the terminology in more detail.

What are root rights and how to get them on Android

These are your privileges in the Android operating system, allowing you to do any actions with applications and the system:

  • Installing applications not in the device memory.
  • Fine-tuning the system.
  • Energy saving optimization.
  • Move/uninstall system applications and edit system files.
  • Full device customization.
  • Overclocking of the processor.
  • And also other possibilities.

Getting root on Xiaomi Mi5X

Almost all instructions consist of 1-2 steps in the program and a few minutes of waiting. Even a beginner can handle it. If you have any problems or something didn't work out, write a comment with a detailed explanation of the situation.

Via Rootkhp Pro 2.2


Via ZYKURoot 2.2

The program is relatively new compared to others, but it is also easy to use, we learned about it purely by chance, and it coped well with the task.


Using Kingroot APK without computer

Using Kingroot on PC


What programs did we use to get root?

Do not use the following utilities:

How to check root on Xiaomi Mi5X

We will use well-known applications that can be downloaded from Google Play, for example:

  • Root Checker.
  • Advanced Root Checker.

How to flash Xiaomi Mi5X

First, let's list the cases when users update the firmware on Android

  1. The smartphone does not want to turn on;
  2. Constant reboots, glitches, battery problems;
  3. To restore from a “brick” state;
  4. The owner wanted to install different firmware.

Step by step guide

  1. Download the archive to your PC and unpack it, it contains text instructions and a utility for flashing the firmware for this model;
  2. Open the howto.txt instructions and follow all the instructions in order.

You can download the archive + firmware below, you can choose:

Full hard reset android

Fastest option

Open “settings” → “backup and reset” → “reset settings” → “reset phone settings”.

Reset using secret codes

Codes are dialed from the dial menu. The codes may not work, depending on the phone manufacturer and the specific model.

  • *2767*3855#
  • *#*#7780#*#*
  • *#*#7378423#*#*

If you are the happy owner of Android 8.1 Oreo (you have it installed or you installed it yourself). Use the following instructions:

Go to “Settings” → “System” → “Reset” → “Reset to factory settings”. Ready!

Using Recovery

Turn off the device, hold down the power button and volume up, so we get to the Recovery menu. Alternative options:

Using the volume up and down buttons navigate to “Wipe data / factory reset” and click on the power button to confirm. Then select and confirm “Yes - delete all user data”, then select “Reboot system now”. All is ready.

As you can see, you don’t need to pay money to service centers, you can do everything yourself using our instructions.

Review of Xiaomi Mi5X

Nowadays they don’t make them for centuries; although this phone is well made, it will last no more than 5 years, and then it needs to be replaced with a new one. The advantages include a good loud speaker, application speed and excellent communication.

* Recommended to upload a 720*312 image as the cover image

Article Description

Good day MI fans. Today I will try to describe in detail how to get root on Xiaomi devices. Although, I admit, getting root rights on Xiaomi turned out to be a much longer process compared to Samsung phones. Since before Xiaomi I used exclusively Samsung products, getting root rights on my MI5 was new to me. I’ll describe the steps step by step: 1) Unlock the bootloader - it’s worth noting that the process itself is not complicated, but in the near future I will describe how to do this. 2) Install a modified recovery (TWRP). 3) Obtain root rights, install SuperSU accordingly. Since the first stage will be described in detail in another topic, I will proceed directly to the second. Installing a modified recovery ( TWRP) And so my friend, you have Unlocked your phone, your desire and zeal to get ROOT does not fade (and this is wonderful), which means: 1) Go to the Official TWRP website - select your device. 2) Go down to the Download sign Links: 3) Select Primary (Europe) 4) In the page that opens, select the latest available version for your phone. (In my case, on Xiaomi Mi5 I was offered twrp-3.1.1-0-gemini.img)5) Download the Adb Run program (you can download it from this link). We install the program, on the desktop we see the following: 6) Go to the Adb folder, then go to the img folder, after which we open another recovery folder (yes, yes, you need to open 150 folders, nothing can be done: (7) To the recovery folder we are discarding our downloaded TWRP.8) You MUST enable USB Debugging in your phone settings, otherwise the Adb Run program will send you to hell, but we don’t want that, right?9) Turn off the phone, put it in Bootloader mode (volume down button + power button).10) Launch the Adb Run program, the phone must accordingly be connected to a PC/Laptop/MacBook, etc.11) Select Fastboot, respectively write 5 and press Enter:12) In the next window select Recovery, respectively We write down the number 3 (well, you guessed it yourself, but I’m just in case, for those who don’t understand)13) We wait for the end of the process. Congratulations my dear friend, you now have a modified TWRP recovery. And you’ll probably ask, how can you check whether it’s installed or not? It’s very simple: Turn on the phone with the volume up button pressed. Voila, TWRP appears before you. (For those who want to ask or write: “What for do I need your TWRP, let’s quickly write how to get ROOT” - patience is my friend, because we are just moving on to the long-awaited stage! Obtaining ROOT rights (SuperSU) And so, my friend, you have come all this thorny path in anticipation of enjoying the task at hand. Let me warn you right away: - After receiving the root, it is possible that the original data in the ROM may be lost (i.e., the data in the internal memory of the phone may be erased). - Upon receipt of ROOT, the phone's warranty is void. You should carefully study whether you need root privileges at all. I hope you have assessed the risks, and since you are still full of desire, then we proceed to the next step. 1) Download the Kingo Android Root program 2) Install and run it. 3) Connect the phone to your USB cable (you remember that USB Debugging must be enabled for you, otherwise the program will not see the phone) 4) Press the ROOT button, the phone will offer to install SuperSU, confirm the action on the phone, and enjoy the process. That's it, I can congratulate you, ROOT rights have been obtained. If you still have doubts, download ROOT Checker from the Android market and check. Thank you all for your attention, grammatical errors and punctuation errors were not made by me on purpose, in Russian there were 4 =(I hope the article will help you. In the near future the full process for Unlocking Xiaomi devices will be described through the official website en.miui.com







2024 gtavrl.ru.