FORUMS
Remove All Ads from XDA

[All-in-One] Redmi Note 7 (lavender): Unlock Bootloader, Flash TWRP, Root, Flash ROM

85 posts
Thanks Meter: 298
 
By senerex, Member on 17th January 2019, 08:32 AM
Post Reply Email Thread
Dear Redmi Note 7 user,

I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems.

Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!

A. Prerequisites:

1. Disable driver signature enforcement in Windows

If your computer doesn’t recognize Xiaomi drivers then please disable driver signature enforcement. How to do this please read here: http://en.miui.com/thread-237673-1-1.html

2. Install ADB and Fastboot tools with drivers on Windows

How to do this please read here: https://forum.xda-developers.com/sho....php?t=2588979

3. Enable "OEM unlocking" and "USB debugging" in your device

a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"

4. Check if your bootloader is locked

a. After successful installation of "ADB and Fastboot" enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable).
b. Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
c. Enter the terminal command in command line: >>fastboot devices<<

If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers from Point A. 2. or try these drivers here:

http://xiaomiadvices.com/download-xiaomi-usb-drivers/

d. If you see your device then enter the terminal command in command line: >>fastboot oem device-info<<

If your bootloader is locked, you'll get the following status (or something similar):

…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………

If your bootloader is unlocked, you'll get following status (or something similar):

…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………

5. Request Permission from Xiaomi to Unlock the Bootloader

a. Create a Mi Account: https://global.account.xiaomi.com/pass/register
b. Sign to Xiaomi and apply for unlocking http://en.miui.com/unlock

You have to give a reason for requesting to unlock the bootloader. Something like:

"I purchased my Redmi Note 7 from the vendor xxx and they have installed a fake/custom rom. I want to install an original rom from Xiaomi. So please approve my request to unlock the bootloader."

c. Wait for permission. If your request is approved then you should receive a message with following content:

"You've been granted the permission to unlock your device (Mi Account xxxx). Donload Mi Unlock Tool At http://en.miui.com/unlock"

6. Connect your Mi Account to your Device

Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device"

B: Unlock the Bootloader

Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!

1. You must enable "OEM unlocking" and "USB debugging" as per point A. 3.
2. You must connect your Mi Account with your device as per point A. 6.
3. Download Mi Unlock Tool here: http://en.miui.com/unlock
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
5. Start the Mi Unlock Tool
6. Enter your eMail and your password of your Mi Account
7. Connect you device to your computer and start the unlock procedure
8. Follow the unlock tool instructions until the unlock procedure is finished
9. Reboot your device

If you get the message, that the unlocking can be done after 72h or 360h or 720h etc., then you have to wait for that time to pass.

C: Install the TWRP Recovery

a. Your bootloader must be unlocked
b. The official twrp can be downloaded here: https://twrp.me/xiaomi/xiaomiredminote7.html. However the official twrp for Redmi Note 7 is not yet available. For the time being please download the latest unofficial "twrp-x.x.x.img" from here https://forum.xda-developers.com/red...overy-t3921637 and put it into a dedicated folder in your computer and rename it to "twrp".
c. Go to the folder where you have put the twrp-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
d. Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
e. Enter the terminal command in command line: >>fastboot flash recovery twrp.img<<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery twrp!
f. Boot your device into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot twrp.img<<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery

If you only want to root your smartphone, then please continue to point D
If you want to install a custom rom, then please continue to point E

D. Root Your Smartphone

a. Download latest Magisk from here: https://forum.xda-developers.com/app...mless-t3473445 and put it into internal memory of your smartphone or into the micro sd-card or into on-the-go memory stick
b. In the main twrp screen please click "Install", search for the Magisk-*zip*-file and flash it
c. Restart your smartphone

E. Install A Custom Rom

1. Download the desired rom and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick:

a. Lineage

The official Lineage for Redmi Note 7 is not yet available, but when it becomes available you can download it from here:

https://download.lineageos.org/lavender

Lineage roms don't have Google Apps integrated in them.

b. Resurrection Remix

The official Resurrection Remix for Redmi Note 7 is not yet available, but when it becomes available you can download it from here:

https://get.resurrectionremix.com/

Resurrection Remix roms don't have Google Apps integrated in them.

c. AospExtended

The official AOSP for Redmi Note 7 is not yet available, but when it becomes available you can download it from here:

https://downloads.aospextended.com/lavender

AOSP roms don't have Google Apps integrated in them.

d. Xiaomi.EU

Download the latest rom (weekly or stable) from here: https://xiaomi.eu/community/

Global Xiaomi.EU roms already have Google Apps integrated in them.

2. (in case you want to have root on your device) Download "addonsu-arm64-signed.zip" (for Lineage: https://download.lineageos.org/extras) or (for other Roms) the latest Magisk (from here: https://forum.xda-developers.com/app...mless-t3473445) and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick.
3. If the rom doesn’t contain Google Apps then download Google Apps ARM64, Mini, Pico, Nano etc. from here www.opengapps.org and put them into device's internal memory or computer or on-the-go memory stick or micro sd-card.
4. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
5. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
6. Go back to main twrp screen and install the Rom, install Google Apps (if the Rom doesn’t contain them), install "addonsu-arm64-signed.zip" (in case of Lineage) or the latest Magisk (in case of other Roms).
7. Reboot. That's it, you are done.

If my guide helped you please click "thanks" and enjoy your phone.
The Following 36 Users Say Thank You to senerex For This Useful Post: [ View ] Gift senerex Ad-Free
 
 
17th January 2019, 08:40 AM |#2  
senerex's Avatar
OP Member
Flag Vienna, Austria
Thanks Meter: 298
 
More
Reserved
The Following User Says Thank You to senerex For This Useful Post: [ View ] Gift senerex Ad-Free
18th January 2019, 10:06 PM |#3  
ColtonDRG's Avatar
Senior Member
Flag Aurora, CO
Thanks Meter: 308
 
Donate to Me
More
You know you can probably root without recovery using Magisk Manager and fastboot. You'll just need the original boot image which you should be able to extract from Xiaomi's firmware downloads.
19th January 2019, 08:12 AM |#4  
Senior Member
Thanks Meter: 38
 
More
any confirmation how many hours to unlock this device (after 72h or 360h or 720h) ?
20th January 2019, 10:50 AM |#5  
senerex's Avatar
OP Member
Flag Vienna, Austria
Thanks Meter: 298
 
More
Quote:
Originally Posted by Cryslin111

any confirmation how many hours to unlock this device (after 72h or 360h or 720h) ?

Unfortunatelly the waiting time varies from person to person and also which smarphone model we are talking about. Until now the longest time I waited to unlock a bootloader was 72h. In Xiaomi forums people are reporting that they are waiting btw. 72h - 720h, sometimes even more than 1000h.
21st January 2019, 04:32 PM |#6  
tuancollection's Avatar
Member
Flag Ha Noi
Thanks Meter: 18
 
More
TWRP for Redmi note 7 from LR.TEAM 21/1/2019
https://drive.google.com/file/d/1nYu...ifc82l-Sc/view
Attached Thumbnails
Click image for larger version

Name:	img-ff1985b91e1322552b2656a3af4e7246.jpg
Views:	3568
Size:	17.2 KB
ID:	4691060   Click image for larger version

Name:	img-0d27921f18e39eb206b403b9788c5b00.jpg
Views:	3566
Size:	19.1 KB
ID:	4691061  
The Following 5 Users Say Thank You to tuancollection For This Useful Post: [ View ] Gift tuancollection Ad-Free
30th January 2019, 08:13 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by senerex

Unfortunatelly the waiting time varies from person to person and also which smarphone model we are talking about. Until now the longest time I waited to unlock a bootloader was 72h. In Xiaomi forums people are reporting that they are waiting btw. 72h - 720h, sometimes even more than 1000h.

I register my mi account by a google voice number,would it make the unlock process faster?OR perhaps I even could unlock my redmi note 7?
30th January 2019, 10:01 AM |#8  
senerex's Avatar
OP Member
Flag Vienna, Austria
Thanks Meter: 298
 
More
Quote:
Originally Posted by wangweitung

I register my mi account by a google voice number,would it make the unlock process faster?OR perhaps I even could unlock my redmi note 7?

No, I don't think so. No.
30th January 2019, 10:32 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by senerex

No, No.

I will soon check how long I will wait to unlock bootloader.

---------- Post added at 11:32 AM ---------- Previous post was at 11:12 AM ----------

Quote:
Originally Posted by senerex

No, I don't think so. No.

It's sad to see that I have to wait 360 hours before I can unlock.
30th January 2019, 06:43 PM |#10  
Enddo's Avatar
Senior Member
Flag Atlanta, Ga.
Thanks Meter: 862
 
Donate to Me
More
Quote:
Originally Posted by wangweitung

It's sad to see that I have to wait 360 hours before I can unlock.

same here
1st February 2019, 12:24 PM |#11  
Member
Flag Zagreb
Thanks Meter: 8
 
More
Quote:
Originally Posted by Enddo

same here

Sam here (actuall 359h)
Post Reply Subscribe to Thread

Tags
custom rom, redmi note 7, root, twrp, unlock bootloader

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

Advanced Search
Display Modes