FORUMS
Remove All Ads from XDA

[Ultimate Guide][Riva] Unlock, Root, TWRP Guide for Redmi 5A [6/3/2018]

793 posts
Thanks Meter: 603
 
Post Reply Email Thread
This will the Ultimate Guide to Unlock Bootloader. Install TWRP and Root.

Unlock Bootloader

Requirements:

• Mobile
• PC
• USB Cable
• Internet connection


Procedure:
• Setup your MIUI account by going to Settings -> Mi Account
• Apply for permission here (Use MIUI browser on the phone-Mandatory) (http://en.miui.com/unlock/download_en.html)
• Use your phone number with your country prefix to log in (ex. +91 Mobile number, is for India. Ex +91 99999999)
• Write why you want to unlock the device in 2-3 sentences (it may take a few days, Be patient. You will receive SMS confirmation if approved)
• Download Mi Unlocker from here (http://en.miui.com/unlock/download_en.html)
• Enable developer options by going to Settings -> About phone and tap 7 times on MIUI version
• Go to Settings -> Additional Settings -> Developer Settings and tick OEM Unlocking and USB debugging
• Go to Settings -> Additional Settings -> Developer Settings -> Mi Unlock Status and press Unlock
• Turn your Mobile data, Sync , WiFi and GPS on and wait for 5 minutes and don't turn them off afterwards
• Go to Mi Cloud by clicking here (https://i.mi.com/)
• Login with your phone number
• Click on Find device and locate your phone
• In the folder where you've extracted the Mi Unlock tool, you will find a program called MiUsbDriver, open it and press Install
• Log in to Mi Unlock by opening miflash_unlock on PC with the same phone number you used in obtaining the unlock permission
• Switch off your phone and go into Fastboot by pressing Volume down and Power simultaneously and connect your phone to the PC
• Once it shows a handset in Mi Unlock click on Unlock button
• Wait for a minute and you are done
• Your phone's bootloader is now UNLOCKED

NOTE: if you are stuck anywhere during this procedure, please start from step 1.
The main advantage of this procedure is that you don't need Developer ROM, it will work on Official builds as well.

Flashing TWRP


Requirement
ADB
TWRP for Redmi 5A (Riva) (https://forum.xda-developers.com/and...mi-5a-t3712243)
LazyFlasher zip https://androidfilehost.com/?fid=673368273298947108

Procedure:
1. Reboot to Fastboot mode by pressing and holding Volume down + power button
2. Connect the phone to the computer with the original usb cable.
3. On your computer download the recovery from the link below and move it to the ADB folder.
4. Now in the adb folder, press shift and right click, select “open command prompt here”
5. Type the following

fastboot devices (to check if the computer recognizes the phone)

fastboot flash recovery twrp-3.2.1-0-riva.img (Flashes the TWRP to the phone)

6. Reboot the device to recovery. DO NOT BOOT TO SYSTEM YET Use Volume Up + Power to boot to recovery.
7. Flash Lazyflasher to disable dm-verity & forced encryption on MIUI.
8. Reboot to system

Now you have TWRP and MIUI.

Cheers.
The Following 11 Users Say Thank You to zeyaan For This Useful Post: [ View ] Gift zeyaan Ad-Free
 
 
8th March 2018, 04:28 PM |#2  
ezrawk's Avatar
Senior Member
Flag Bogor
Thanks Meter: 78
 
More
If you've visited the MIUI forums, you'll be seeing complaints everywhere about the unsuccessful account binding that shows error code: 86023 hardwareId abnormal (<- Chinese fonts), and it has to do with Indonesian Xiaomi products. I'm certain Indian devices are all good to go for unlocking. But other devices are having a hard time. Trust me I've done you're guide before, with the same procedures, I've even tried other guides, but it's the same results. If you want to see my logcat, I'll upload one for you.
12th March 2018, 08:54 AM |#3  
Junior Member
Thanks Meter: 1
 
More
TAM warranty problem
I think it is related with this issue for Indonesian Mi user. http://en.miui.com/thread-719126-1-1.html
28th March 2018, 10:53 PM |#4  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ezrawk

If you've visited the MIUI forums, you'll be seeing complaints everywhere about the unsuccessful account binding that shows error code: 86023 hardwareId abnormal (<- Chinese fonts), and it has to do with Indonesian Xiaomi products. I'm certain Indian devices are all good to go for unlocking. But other devices are having a hard time. Trust me I've done you're guide before, with the same procedures, I've even tried other guides, but it's the same results. If you want to see my logcat, I'll upload one for you.

That's a server issue
29th March 2018, 08:13 AM |#5  
ezrawk's Avatar
Senior Member
Flag Bogor
Thanks Meter: 78
 
More
Quote:
Originally Posted by Gowtham55

That's a server issue

Which has been fixed since like a week ago. Yeah that's what they say. Server issue. For Indian user's yeah it was a server issue, but for Indo users nope, we had to totally go crazy on social media and forums until they enabled UBL (ENABLED UBL?).

Let me get this straight, I asked several local Xiaomi authorized service centers and even TAM service centers, I emailed local Xiaomi CS, even did an online chat with them. What did all of them say? They all said the same thing: that UBL has been disabled for Indonesian Xiaomi devices under TAM warranty. Do you have proof that it was a server issue for TAM devices? If you do please post it. Please if it was a server issue, why the heck did the replies of Xiaomi CS Indonesia emails to me all said the same things: "UBL has been disabled for devices under TAM warranty."

I had to wait for a total of 3 months and several days (plus an extra 15 days after binding account, which right now I'm in my 9th day of waiting). I needed my 5A to be unlocked and rooted from day 1. Why? Because my old phone died out, I needed my 5A to be my daily driver. I needed it for work, for communication, for projects. I was willing to wait for 15 days prior binding, but it didn't get resolved for 3 bloody damn months. Would Xiaomi compensate my loses? Nope. So please if it was really a server issue, bring me proof, because I am already totally disappointed in Xiaomi.
30th March 2018, 05:34 AM |#6  
luistro's Avatar
Senior Member
Flag Barcelona
Thanks Meter: 335
 
More
360 hours mi flash unlock wait
8th April 2018, 04:42 PM |#7  
Senior Member
Thanks Meter: 26
 
More
Today I unlocked my bootloader finally after 360 hours of waiting
10th April 2018, 05:00 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Thanks for guide its very helpfull
16th April 2018, 02:00 AM |#9  
Junior Member
Thanks Meter: 1
 
More
Thanks for the post. It'd be so cool if there was an alternate method than the legit one... I've request it to be unlocked 15 days ago, maybe more, and still havn't gotten any news...
21st April 2018, 08:25 AM |#10  
Junior Member
Thanks Meter: 27
 
More
Quote:
Originally Posted by parpagnas

Thanks for the post. It'd be so cool if there was an alternate method than the legit one... I've request it to be unlocked 15 days ago, maybe more, and still havn't gotten any news...

If you are not afraid of voiding the warranty, you could try this method: https://forum.xda-developers.com/and...ariva-t3772381
22nd April 2018, 11:44 AM |#11  
Junior Member
Thanks Meter: 0
 
More
After the 6th step, I got stuck in the mi logo... any solution?
Post Reply Subscribe to Thread

Tags
redmi 5a, redmi 5a root, redmi-note-5a, xiaomi redmi 5a

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes