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

and8eye

Senior Member
Jan 2, 2013
105
3
0
Magisk V19 is working!
New TWRP is out!
thanks but the thread has been deleted or something, do you have "how to" and download links?
p/s: im using a redmi note 7 bought from china (default language is chinese), if theres any difference between mine and the global/eu one?
 
Last edited:

senerex

Senior Member
Apr 15, 2018
120
449
63
Prishtina, Kosova
thank you, some more details about which miflash button/options i have to click/check (im afraid of getting bootloader relocked), which fastboot/adb command i have to enter, would be nice too :p
just some words are enough, no need pictures xD
1. Your bootloader must be unlocked
2. Download the latest "twrp-3.2.3-0331.img" from previous post and put it into a dedicated folder in your computer and rename it to "twrp".
3. Download latest Magisk from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 and put it into internal memory of your smartphone or into the micro sd-card or into on-the-go memory stick
4. 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"
5. Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
6. 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!
7. 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
8. In the main twrp screen please click "Install", search for the Magisk-*zip*-file and flash it
9. Restart your smartphone :fingers-crossed:
 
Last edited:

mierdaseca

Senior Member
Jun 25, 2012
105
4
0
When I enter twrp it asks for password, I tried putting the pin code, the unlock code, "password " and "default_password", but says it's invalid.
How do I retrieve, change, or get rid of it?
If I hit cancel, I cannot mount the partitions and cannot install magisk.
 

IsirisVN

Senior Member
Aug 27, 2012
63
17
0
When I enter twrp it asks for password, I tried putting the pin code, the unlock code, "password " and "default_password", but says it's invalid.
How do I retrieve, change, or get rid of it?
If I hit cancel, I cannot mount the partitions and cannot install magisk.
Just delete all data in wipe options
 

svg1234

Member
Mar 25, 2019
11
5
0
After doing it and adding pin code,fingerprints,etc... Will it ask again when I get into twrp?
No. Encryption is a separate thing.
While I haven't looked at TWRP source code to see exactly what it does when just selecting "wipe", you should choose "Format Data" from the Wipe screen. That will reformat the partition... and it won't be encrypted.
 

mierdaseca

Senior Member
Jun 25, 2012
105
4
0
No. Encryption is a separate thing.
While I haven't looked at TWRP source code to see exactly what it does when just selecting "wipe", you should choose "Format Data" from the Wipe screen. That will reformat the partition... and it won't be encrypted.
Done,thanks. I kinda wish I could set a password though, its a nice security layer.

EDIT: Restored the app/settings backup and TWRP is asking for pw again. Wiped data again, and now when I connect the phone ,I can see the magisk.zip I put inside the internal sdcard,but can't see it in TWRP. So I had to use adb push to send the zip file but....can't mount /system to flash it so ti gives an error
 
Last edited:

omnikohh

Senior Member
Mar 12, 2006
84
2
0
so, my windows 10 doesn't recognize phone in bootloader, try to install various drivers , follow different guides , disable signed driver , nothing, fastboot device ...nothing, try different usb port and cable, nothing mi pc suite say "you need to update your device to connect , phone had oem unlock in developer options usb debugging enable mi account paired on the phone....
 

AdRi_232

Member
Mar 15, 2019
42
18
0
so, my windows 10 doesn't recognize phone in bootloader, try to install various drivers , follow different guides , disable signed driver , nothing, fastboot device ...nothing, try different usb port and cable, nothing mi pc suite say "you need to update your device to connect , phone had oem unlock in developer options usb debugging enable mi account paired on the phone....
Same problem but in Windows 8.1. I screwed Windows and used Linux, and it worked first time!
 

sanbarian

New member
Apr 11, 2019
1
0
0
Can i somehow root the phone without permanently changing recovery? Like in some other android phones you could use adb command to boot once in custom recovery without rewritting original one. Or at least somehow save OTA updates. Thank you
 

omnikohh

Senior Member
Mar 12, 2006
84
2
0
Same problem but in Windows 8.1. I screwed Windows and used Linux, and it worked first time!
linux? to unlock bootloader?or just to send fastboot command? i need to unlock bootloader.. windows 7 in virtual and 10 x64 in the machine doesn't recognize phone in bootloader mode.. i don't know why
 
Last edited:

AdRi_232

Member
Mar 15, 2019
42
18
0
linux? to unlock bootloader?or just to send fastboot command? i need to unlock bootloader.. windows 7 in virtual and 10 x64 in the machine doesn't recognize phone in bootloader mode.. i don't know why
I used Linux for the whole process. I found a link in XDA to use the Mi Unlock Tool in Linux, and In my opinion drivers work much better when using on it.

I would suggest you to try and install Ubuntu on a VM and do all the steps there, just to try!
 

omnikohh

Senior Member
Mar 12, 2006
84
2
0
I used Linux for the whole process. I found a link in XDA to use the Mi Unlock Tool in Linux, and In my opinion drivers work much better when using on it.

I would suggest you to try and install Ubuntu on a VM and do all the steps there, just to try!
do you have link for this? thank you
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone