[Xiaomi Redmi Note 4 Guides, News, & Discussion] x3m.zone:
Let's start this with a Disclaimer

* Your warranty is... well, who knows?!
* I am not responsible for bricked devices, dead SD cards, etc!
* Do some research if you have any concerns!
[COLOR="Red"] * Following this guide will wipe all your data. Take backup before proceed! [/COLOR]

Note: Redmi Note 4 can be unlocked ONLY with China Developer firmware.

That's why to unlock the bootloader, first you need to flash China Developer ROM.

Then unlock bootloader, and then install any desired ROM.

Prerequisite:

1. Xiaomi Redmi Note 4 (MTK) phone (Codename: nikel). Both version supported: 2GB / 3GB RAM.

2. Unlock approval from MIUI -> Obtain it from here

3. Mi Unlock app -> Download from here

4. Drivers & SP Flash Tool -> Download from here

5. Latest Redmi Note 4 China Developer Version Fastboot -> Download form here (TGZ file). Note: for unbrick, you may chose Global ROM as well.

6. Custom CUST.BIN file -> Download from here

Steps to Unlock Bootloader:

1. Install drivers. Drivers are found in folder MTK_Driver_Installer_.1352 ext. To install, run DriverInstaller.exe as Administrator.

Edit: Some users reported that they cannot install drivers on Windows 10. If this is the case, you need to disable Driver Signature Enforcement in Windows by running the following command in CMD (Run as administrator) and then restart PC:

bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON

2. Extract ROM files (from TGZ file) in a new folder.

3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!

4. Run flash_tool.exe as Administrator.

5. After program starts, click on Download Agent and select file MTK_All_In_One_DA.BIN. The file is located in SP Flash tool folder.

6. Next, click on Scatter-loading button file select MT6797_Android_scatter.txt . The file is located in ROM \images folder.

7. The phone partition will show-up. Uncheck preloader, and select all others partitions.

8. Turn off the phone. Click Download button. Don't connect yet the phone to computer.

9. On the phone, hold the Volume Down (-) button and then connect the USB cable. Hold the Volume Down (-) pressed untill it is detected by the SP Flash Tool and the flashing process begins (see yellow progress bar).

10. Wait for process to complete (about 3-5 minutes). A Download Ok message will appear.

11. Remove the USB cable and hold Power button until phone vibrates. Now wait to finish the first boot (may take up to 10minutes).

12. Congrats, now you have a China Developer firmware. After boot, select English and follow the first setup steps. Don't skip steps! Login to MI account.

13. Go to Setting -> About phone -> And tap on MIUI version for 10 times. This will enable Developer options.

14. Go to Setting -> Additional settings -> Developer options -> OEM Unlocking and allow unlocking. This will pair your MI account with your MI phone, in order to unlock. Also turn on USB debugging.

15. Go to i.mi.com and login. Then tap on Find device. Wait a minute to find your device (will appear: Online, Located).

16. Start MI Unlock app and follow the steps. To put your phone in Fastboot mode: turn off the phone -> press Volume Down + Power and keep it until Fastboot Mode screen appears.

17. Congrats, now you have unlocked bootloader on Redmi Note 4.

How to Check Bootloader Status:

Use this command from Fastboot Mode:

fastboot getvar unlocked

The command will return an [yes/no] response, meaning:

"yes" -> Unlocked bootloader

"no" -> Locked bootloader

Steps to install TWRP recovery:

1. Download TWRP recovery image from here

2. Run in ADB console:

adb reboot bootloader
fastboot flash recovery cofface_twrp_nikel_recovery1124.img
fastboot boot cofface_twrp_nikel_recovery1124.img

Steps to Unbrick:

Are basically the same as unlocking... only that you can use Global ROM or China Stable ROM to flash, but the procedure is exactly the same.

Don't connect the phone yet!

1. Install drivers. Drivers are found in folder MTK_Driver_Installer_.1352 ext. To install, run DriverInstaller.exe as Administrator.

2. Extract ROM files (from TGZ file) in a new folder.

3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!

4. Run flash_tool.exe as Administrator.

5. After program starts, click on Download Agent and select file MTK_All_In_One_DA.BIN. The file is located in SP Flash Tool folder.

6. Next, click on Scatter-loading button file select MT6797_Android_scatter.txt . The file is located in ROM \images folder.

7. The phone partition will show-up. Uncheck preloader, and select all others partitions.

8. Turn off the phone. Click Download button. Don't connect yet the phone to computer.

9. On the phone, hold the Volume Down (-) button and then connect the USB cable. Hold the Volume Down (-) pressed untill it is detected by the SP Flash Tool and the flashing process begins (see yellow progress bar).

10. Wait for process to complete (about 3-5 minutes). A Download Ok message will appear.

11. Remove the USB cable and hold Power button until phone vibrates. Now wait to finish the first boot (may take up to 10minutes).

12. Congrats, with some luck, now you have unbricked your phone.

All credits goes to and [MENTION=243298]masterross[/MENTION] and [MENTION=4180094]mitch002[/MENTION] for makeing this possible.

Special thanks to [MENTION=4477466]cofface[/MENTION] for his Recovery :good:

.