How to Unlock the HyperOS Bootloader (Solved)


In this step-by-step tutorial, you will learn how to Unlock the HyperOS Bootloader or ByPass HyperOs Bootloader Add Account Issue in any Redmi or Xiaomi Phones.


Published on: June 3, 2024

How to Unlock the HyperOS Bootloader (Solved)

Level Up Your Web Skills: Master Advanced Development

Stop building basic websites. Unleash your coding potential with in-depth lessons on Python, Django, and Bootstrap 5. Take your career to the next level.

Sign Up Now!

In this step by step tutorial, I going to show you, how to unlock HyperOS Bootloader. Since the HyperOS update, Xiaomi has made the Bootloader unlock almost impossible.

I bought this new Xiaomi Phone, and it had MIUI 14. But it soon received and update for HyperOS. I was excited and everyone, and updated it. Later, I saw that it had Google Dialer. The one of the reasons why I use Xiaomi Phone is because it comes with a native call recorder. But the phone came with Google Dialer, and there is this annoying Call Recorder Announcement. Later there was an option to change the announcement to just a beep. I hate that too.

Yeah, there are some tips and tricks out there to silence the call recorder announcement, but I really wanted the Xiaomi Native Dialer. So, the only way I could get that was to use Xiaomi’s Indonesia ROM, that has the Xiaomi’s Native Dialer in it.

Now, when I sat down and followed the official way to unlock bootloader, I was just stuck in “Add your Account” part. It said to join the Mi Community. Which I did, like 2678 days ago. So, I went to the Bootloader unlock option, it just said, try tomorrow, again and again.

It was kind of frustrating. I wasn’t able to add my account with Mi Community App too. So, I started Googling and found some other ways of doing it. So, after a couple of tries with 10 to 15 methods, I realized one thing.

NEVER TRUST YOUTUBE TUTORIALS!

I mean seriously, why so many fake videos and misleading information? I hated that. Anyways, after a lot of research I did find a method that actually works. Here’s how it works.

Step 1: Set Up a Local Server

You need to create a local server, where you can bypass the official Xiaomi server. For that, you need to download and install PHP from here – Download PHP

I am a Web Developer, so I use XAMPP, and XAMPP comes with PHP, and its easier to manage things. So, go ahead and download XAMPP and install it.

Step 2: Install PHP ADB

Next, you will need PHP ADB. PHP ADB is a Simple wrapper of Android Debug Bridge for PHP. So, you need to download PHP ADB and place it in the PHP folder inside your XAMPP. Here’s the download link to PHP ADB – Download PHP ADB.

If you are having trouble finding the PHP folder, you can navigate to C:\xampp\php and place the PHP ADB there.

Where to install PHP ADB

Step 3: Start XAMPP Control Panel

Now, that you have installed XAMPP and place the PHP ADB there, you need to start your XAMPP control panel. Just search XAMPP in your start menu, and you should see XAMPP control panel.

Open that and Start PHP and MySQL both. This is enabling your PC to create a private network within, so that PHP can run as a server. Now, stop the running server, because we need to enable some things in PHP.

We need to enable “OpenSSL and Curl extension” in PHP.ini file. You can find that file, in your XAMPP control panel, config, “PHP (php.ini)”. Inside that, search for “OpenSSL” and remove the comment. Then search for “Curl” and remove the comment.

Open SSL Extension in PHP INI

Curl Extension in PHP INI

Removing the comments, will enable that extension in PHP. Great, now that the extensions are enabled, let’s move on to the next step.

Step 4: Install Android Platform Tools

Now you need to download and install Android Platform Tools in your PC. You can download the Android Platform Tools from here – Android Platform Tools

Step 5: Check Device Connection

After you have installed the Android Platform Tools, its time to check if your PC has all the tools required. So, keep your phone switched on and connect your phone to PC via Data cable. If you and when your phone shows “Charging” message, tap on that and select “transfer files and folders”.

This will automatically install some drivers that are required, for your PC to be connected with phone. Once you have done that, go to “Device Manager” and check if there is a new device called “Android”. If it’s there great. If not, don’t worry I have got you covered.

Android Phone in Device Manager

Step 6: Ensure Proper Driver Installation

If the device manager is now showing “Android” in your devices list, then the drivers for your Phone have not been installed correctly. For that, you need to download and install “ADB and Fastboot Tools”. You can download that from here – Mini ADB and Fastboot Tool.

Once you have installed it. It’s time to check if your phone is connected. Reboot your phone to “Fastboot” more, by holding “Volume Down and Power” button. Make sure you can connect to PC. Once you are in Fastboot mode, open “Mini Adb and Fastboot” terminal from start menu, and type in “Fastboot devices”.

Your terminal should show your device with a alphanumeric name. If it does, great. If it doesn’t don’t worry. I still got you covered. In case the device is not showing in the terminal, you can go ahead and download the “Mi Flash Tool” and install it. You can download it from here – Download Mi Flash Tool.

Once you install that, all your drivers will be install and ready to proceed.

Step 7: Enable Developer Options

Now, you need to enable the developer options. Once you have enabled the developer options, go to settings and enable OEM unlocking, USB Debugging, Install via USB, and USB Debugging (Security Settings). You will see a pop up in your phone, tap on allow option.

Now, you need to download and install the Modified Settings APK file. This entire procedure works only if you install this APK. It’s okay, you can download the APK, and run a security scan from virus total. If its infected, don’t install it. If it’s clean go ahead and install the APK. Here’s the Settings.apk file – Download MI Settings APK Mod.

Step 8: Configure Platform Tools

Remember the platform tools that we installed? Now, copy all the files of platform tools, and place it in the “libraries” folder inside PHP.

That’s it. We are almost done now. Make sure you are logged in your MI account in your Phone, and inside that disable “Find my device” and enable the “Quick Sync” option.

Step 9: Add Your MI Account

Now that everything is set up, go to your PHP folder, and open in CMD. Just type “cmd” in the path of the explorer and the terminal would open. In the terminal, type in “bypass” and hit tab key, this will select the bypass program, now hit enter.

In your phone go to “Mi Lock Status” and tap on “Add Account”. After some seconds, you will see a success message in the terminal, that your MI Account has been successfully added.

Step 10: Check Waiting Period

Its time to check the waiting period. For that, download the official Mi Unlock Tool from here – Mi Unlock Tool. Extract the unlock tool and login to your account.

After that, reboot your phone to Fastboot mode, and try unlocking the phone. You will end up with an error showing a waiting time. It’s usually 7 days. Until then use your phone as you would normally do, and don’t mess around the settings until then.

After 7 days, enable the developer options, OEM unlocking, USB Debugging, Install via USB, and USB Debugging (Security Settings). But don’t touch the MI Unlock status.

Connect your phone and reboot to Fastboot mode, and try unlocking again. It will be a success.

I hope this tutorial help everyone looking unlock bootloader in HyperOS.

Level Up Your Web Skills: Master Advanced Development

Stop building basic websites. Unleash your coding potential with in-depth lessons on Python, Django, and Bootstrap 5. Take your career to the next level.

Sign Up Now!

3 responses to “How to Unlock the HyperOS Bootloader (Solved)”

  1. The link for settings apk file is dead, and i trying to learn how to unlock my Xiaomi 14 instead of paying money. But there is no information, noone teach, they keep selling service with very high price. Can you find out how to unlock Xiaomi 14?

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.