yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] spike371:
Tried the Recovery Method for going back from xiaomi.eu to the original Global on my Note 7. Not a chance. Getting a "Treble" Error everytime, even after deleting the compatibility.zip from the zipped original Rom.

With TWRP, that is. Fastboot won´t work either. Tried Mi Flash Tool and the all in one Jar ADB Tool. It starts and then it is finished after 2-3 seconds. Nothing happens.

So I am stuck with xiaomi.eu?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Harsh199605:
Do you got the solutions

I am having same problem

---------- Post added at 01:13 PM ---------- Previous post was at 12:57 PM ----------

I followed the mentioned procedure but the problem i am facing is my phone get detected in fastboot mode but when i open mi unlock tool it gets disconnected everytime.

Tried installing and uninstalling many times but nothing happened

Plz help i can't bear ****y ui.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] senerex:
Update to the latest Xiaomi.Eu. Then try using some older fastboot flashing tool to return to (equal or higher android level) original rom. If that doesn't help, then pls try the flashing procedure from another computer...
[Xiaomi Redmi Note 7 Guides, News, & Discussion] ecopat:
It could be an exceptional phone if they added an nfs module
[Xiaomi Redmi Note 7 Guides, News, & Discussion] - emcee -:
ive followed the instruction and downloaded the right twrp.. but why when i try to boot in twrp its not the custom twrp but the original main menu redmi recovery 3.0... did i do something wrong?

reboot

wipe data

connect with miassistant
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jeircm:
new user

do i need to flash a vbmeta? after i unlock the bootloader?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Alifirdaus:
Need help guys. After rooting my phone (install twrp and magisk), my phone stuck at redmi logo when I charge my phone (switch off) and does not display battery logo. any workaround to fix this??
[Xiaomi Redmi Note 7 Guides, News, & Discussion] senerex:
Can you enter twrp or fastboot?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Alifirdaus:
yes. I try to wipe cache and data but it get worse. My phone lags and wifi cannot switch on.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Alifirdaus:
The culprit is the magisk itself. after uninstall root, i can charge my phone again. i try to root my phone using different version of magisk but although it says the flashing is done in twrp but no root is found. same goes when i try to root using supersu.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] bla.tiga:
Can we ubl non official way?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Arrowblue:
No.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] eloyco21:
Can someone give me a link with lineage os ROMs? Because the link of lineage os that are in that post are disabled.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
There isn't yet official lineageos for lavender. Just search here on xda to find the unofficial builds. Please don't quote the entire OP just for asking about lineageos
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jackson88:
I realise that OTA won't work however my phone has alerted me to a new system update and I'd like to be able to install it without having to remove root. Is there any simple method? I used to use Globe Rom Miui roms on my Mi Max to install new Miui versions via TWRP however the latest V10 version they have seems to be older than what's on my phone currently.

Any help greatly appreciated.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] kefi999:
Guys please help i get this :

https://prnt.sc/p2889d

https://prnt.sc/p288pk

A week ago it said i need to wait 200+ hours i did wait i tried again and now this xD What do i do ?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
You can look here https://xdaforums.com/redmi-note-7/help/ota-update-unlocked-rooted-device-t3963409

1) download the full recovery rom

2) reboot to recovery

3) wipe cache and dalvik art/cache

4) flash the rom and magisk (don't reboot to system until you have flashed magisk)

5) reboot to system

6) enjoy

If you get an incompatibility error when you flash the rom just delete the file compatibility.zip from the rom zip
[Xiaomi Redmi Note 7 Guides, News, & Discussion] swati1234:
Hi having problem with fastboot it didnt show my device have attached screenshots as my device drivers are installed properly how ever my device is not unlocked but i think it should show the device etechpk. com/Screenshot_1.png

etechpk. com/Screenshot_2.png

plz remove space from the urls to see screenshots

my phone is redmi note 7
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
Do you have a computer with ryzen cpu?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jackson88:
Thanks so much for this, I realise it has probably been asked a bunch before. Legend!

Excuse one more dumb question - where do I find the full recovery rom that is flashable in TWRP? Is that the same Global rom available from the Miui site?

Thanks again!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] technochronic:
You're thinking the same as me, dahrma, as I found out the hard way.

Swati, have you disabled driver signing to install xiaomi drivers, and do you have a USB hub?

---------- Post added at 12:28 PM ---------- Previous post was at 12:18 PM ----------

Did you disable driver signing, as per the OP? Mi drivers will not install otherwise.

Do you have a Ryzen CPU? If yes, like I found out the hard way, then connect a USB hub to your PC via a USB port and THEN connect the phone in fastboot mode via the USB hub using the factory USB cable.

It's something I read somewhere about Ryzen CPU's and USB stuff, I was having issues unlocking until today after seeing something somewhere, maybe here, about Ryzen systems, so I first rebooted with driver signing disabled (look online to see how to temporarily disable driver signing), THEN installed USB drivers via Mi Unlock Tool with the phone connecting via USB hub. As soon as I did that, everything went smoothly and my bootloader was unlocked.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
https://xiaomifirmwareupdater.com/miui

Be sure to download the right one ;)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jackson88:
Thankyou so much!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] bm124:
I read a couple of questions in this thread regarding charging issue with magisk installed, but none answer for that.

The issue is it only show redmi/boot logo instead of green battery indicator while the phone is switched off and charging.

Is there any solution for this ?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] swati1234:
Hi thanks for reply no i have intel processor and not using hub
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
Do you have tried to disable driver signature enforcement in Windows as said in the first post?

---------- Post added at 05:42 PM ---------- Previous post was at 05:28 PM ----------

Do you have a computer with ryzen cpu? If yes do you have issues transferring files beetween device and pc? Can you contact me in private (just to avoid to go OT)? Thanks
[Xiaomi Redmi Note 7 Guides, News, & Discussion] technochronic:
Yes, have Ryzen, no issues transferring files at all with USB-C to USB-C as well as USB-A to device. Fastboot, on the other hand, need to use the hub. Go figure.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] swati1234:
thanks guys its working now i was doing it wrong i was not putting it in fastboot and trying fast boot bin then i tryed adb and it showed and read the article it says to but phone in fastboot i dont know how i missed that before thanks was very helpful

http://prntscr. com/p32f6u
[Xiaomi Redmi Note 7 Guides, News, & Discussion] ENG.Mohamed Ahmed:
how can i relock the phone?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] wheelnut:
When you said relock you probably mean relock bootloader?

You can do that by flashing stock firmware with Xiaomi Mi flash tool.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Xipe_Totec:
Just a question: I am trying to unlock the bootloader through the MiUnlockTool. When I click to Unlock it says that all internal data will be erased.

What does that mean? It is a complete erasure or it just mean that I have to re-configure again MIUI rom?

Moreover, the OP mentions that you have to wait several days in order Xiaomi permits you to unlock the bootloader. Does this mean that MiTool will erase my data and I will have an unusable phone for that entire wait time?

Sorry for these questions, but the main post is not clear in many points. For example, latest MiTool only works if you put it in C:\ drive, you should mention this in the main post.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
When you unlock the bootloader it delete all the data like when you format data or make a factory reset so you lose all your files (photos, videos etc.). The phone is perfectly usable all the time so the only thing that you have to do is a backup of your files
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Xipe_Totec:
now it is clear, thank you
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Harsh199605:
Yes the problem got solved by using usb hub thank you
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Bellegar:
I followed the steps exactly but whenever i get to the Fast-boot oem device-info i hear a device disconnecting and i can see a push any key to shutdown on the device at the top of the fastboot screen in the cmd window it says FAILED (command write failed (unknown error)) please help!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] edwardenglish:
Why don't you wipe system? I thought dirty flash only keeps data...?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
If you have to update make a dirty flash (generally) is ok
[Xiaomi Redmi Note 7 Guides, News, & Discussion] edwardenglish:
But if there are problems, wiping system and keeping data should work, right?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
If there's problems you can try to wipe system and keep data, that should work. Usually I prefer to make a clean flash if there are problems and make a backup with migrate to restore all the apps
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Xipe_Totec:
I am trying now the unlocking procedure on my Redmi Note 7.

I would like to ask a question: I installed the drivers included in the miflash_unlock tool. Since I need to install TWRP can I keep those drivers and install ADB and FASTBOOT tool through "15 seconds ADB Installer v1.4.3" skipping the installation of the drivers included in this tool? Would it work?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] askreddy2:
Recently I have purchased redmi note 7s (Indian version of international redmi note 7). This was my first redmi device. Now I want to install a custom ROM on my device. Can I install it directly? Or should I convert my redmi to international model? If so is there any guide to convert my redmi to international model?

I was new to redmi family and any help is highly appreciated. Thanks in advance.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
All roms for redmi note 7 are compatible with redmi note 7s but most of custom roms needs the global firmware so you can download the global firmware from here https://xiaomifirmwareupdater.com/firmware/lavender/

flash it from recovery (I recommend orangefox) and then flash the rom
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Tommes24:
TWRP has flashed, but not really

Hi,

i've the problem, TWRP has been flashed, but the mirecovery is already starting

The TWRP don't start, not on pressings buttons or fastboot boot

On fastboot boot recovery the device boots up to system

device: lavender unlocked BL, miui 10.3.6.0

TWRP: offical/unoffical/orangefox tested

PC: I3 cpu, fastboot 1.4.3

fastboot flash recovery C:\recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (30488 KB)...
OKAY [ 1.037s]
writing 'recovery'...
OKAY [ 0.219s]
finished. total time: 1.265s

fastboot boot C:\recovery.img
downloading 'boot.img'...
OKAY [ 1.048s]
booting...
OKAY [ 0.137s]
finished. total time: 1.191s

C:\fastboot oem device-info
...
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
OKAY [ 0.023s]
finished. total time: 0.025se

EDIT: SOLVED

Used the Windoze PowerShell, not cmd:

fastboot format userdata

fastboot flash recovery recovery.img

fastboot reboot (+ Vol +)

solved
[Xiaomi Redmi Note 7 Guides, News, & Discussion] bla.tiga:
I see the your flashing rom tutorial in global

But How about treatment vbmeta, dmverity and forceencrypt disabler, is this mandatory flash, or when i have to flash or when i didnt have to flash it?

And if i need to flash like three of that before i flashing the rom but i forgot flashing three of that, and i simply enter the rom, did i need to repeat from the begining the whole proses or i just simply enter recovery and flash the three of that and enter the rom again. Or what consequences of being forgot flash the three of that in installing custom rom?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jamessullivan7:
Device Encryption

Device Encryption

good afternoon guys I need help with my redmi note 7, I already did the unlock but I can not install twrp, when I do the installation and boot, go to the encryption password screen, so that does not recognize my password and can not undo The encryption, my note 7 was with version 10.3.6 EEA, I installed the Global version 10.3.10 and still did not remove the encryption, already updated to the latest version and does not work.

I can't undo device encryption and install twrp .. I did all the procedures I found and it didn't work.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] moksy_1:
Can't unlock redmi note 7 "parameter exceptions" error in chineese with mi unlock

[IMG="Mi Unlock Error"]https://u01.appmifile.com/images/2019/10/07/81e2a9ff-db5b-4c75-9077-60c78ccf7f77.png[/IMG]
[Xiaomi Redmi Note 7 Guides, News, & Discussion] aydinbahadir88:
I got my Note 7 today, unfortunately I have to wait 170 hours... :(
[Xiaomi Redmi Note 7 Guides, News, & Discussion] papo_blue7:
Help please!

Flashed TWRP but when restarted the phone asks me for a password. How can i solve it?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] zlata:
Format /data partition .
[Xiaomi Redmi Note 7 Guides, News, & Discussion] MohRez:
I know how unlock bootloader of xiaomi phones ( i have other mi phone and knew what to do )

but with all of these it said i can not unlock and should wait 170 hours !!! and after 3 weeks when i want to unlock it again , it tells me to wait 170 hours again !
[Xiaomi Redmi Note 7 Guides, News, & Discussion] iPAQ 6515a User:
You need to have the phone on for a bigger part of 24hrs with a SIM in. Otherwise the time stops ... for your phone at least.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] MohRez:
phone is always on
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Goatshocker:
I had a lot of issues getting the unlock tool to recognize my phone on win10... Picked up fine in powershell/cmd...

Eventually I figured out the tool, for some reason, did not like the phone being connected to a USB3 port. After plugging it into a USB2 port it worked perfectly fine.

I dont know if this is common among newer phones(I rarely change phones, my previous J5, and subsequently Odin, worked just fine through the very same usb3 port though), or just an isolated case with xiaomi's tool.

... But now I have to wait 168h before I can unlock the darn thing, which apparently will also wipe the data, meaning a whole week of "not-really-using-and-personalize-it-cause-its-gonna-get-wiped-anyway"... sigh...

Anyway, guide here seems fine so far, so thanks for that :)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] somerandomhash:
When I use https://www.miui.com/unlock/apply.php I get redirected to a Chinese page (obviously) and I cannot login or change the language I tried using Google Translate but am getting nowhere. Can someone direct me to an english version if such a place exists?

EDIT Figured it out, you need to be logged in before it works
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
Hi,

I have China Note 7 and I unlocked the bootloader and flashed TWRP and then Global ROM.

All went OK but after relock bootloader the phone reboot in stock recovery and said " This MIUI can't be installed on this device".

Can you help me?

thanks!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] senerex:
Same problem was also with Xiaomi Mi 6 (China version). At Mi 6 you even got a soft brick when you flashed global rom on Chinese version and relocked the bootloader.

If you have now a soft brick then you have to enter fastboot mode and first flash the original china rom (pls use *.tgz*-file). Afterwards you have to again unlock bootloader and flash the global rom either through fastboot method (pls use *.tgz*-file, but be careful do not relock bootloader - see selection section at right hand bottom at flashing tool) or through twrp method (pls use *.zip*-file).
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
Actually, I only needed to unlock again to fix it.

But you mentioned Mi 6. I did same operation on the relaseof Mi 6 and succesfully flash Global over China and relock the bootloade 2 years ago. So probably this is something new. Shame Xiaomi!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] zambelo:
When returning to MIUI from a custom rom do I need to wipe the custom rom before doing the MiFlash fastboot rom?

Does selecting "clean all" wipe all partitions before flashing?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] stranger_88:
Dear friends

I unlocked my phone and tried to flash twrp a few times.fastboot says everything is okay and recovery is flashed but I can not open that.the phone always shows me default mi recovery whenever I try to open it.I tried to flash it both on windows and Linux by fastboot.the problem is the same.nothing has changed.how can I fix that?any suggestions? Thank you.

Edit : I have also just tried to do that by Windows powershell but it has not worked too.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
yes, you need to do that because some custom ROMs use different partition parameters.

After you flash TWRP you need to restart the phone in recovery mode manual with vol up + power.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] stranger_88:
Yes i already did that but it wasn't working for me.I have just fixed that.Let me update it.

-I updated my adb drivers.Then i tried to flash it on windows by CMD.And it worked this time.Thanks.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] stranger_88:
Friends abother problem...Iam trying to root the phone.I tried to flash a few magisk file by TWRP.It flashes without any error.But then phone stucks on boot screen "REDMI".What can i do to fix it?I tried a few versions like 17, 18, 19, 20.Nothing has changed.Thanks.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] ghst7:
Use OrangeFox and the latest Magisk (v20). And everything should work.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] bb62:
Help please briked my phone lavender no bootloader please
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Nedraz:
Why i'm get this error? :crying:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] somerandomhash:
Ok have successfully unlocked to bootloader and flashed TWRP but have hit an issue, I am being asked for a password (the device isn't booting into TWRP that I can see) I didn't set a password or pin when I setup the rom I just flicked through so now I cannot start Android. EDIT: Duh, Vol UP and Power

It's been a while since I modded any phones but still have fastboot how do I get back to the stock rom?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Deli_S:
Edit: Seems like option one to reboort into recovery rebooted me only into xiaomi recovery

I will ask here before I screw things up.

I have bootloader unlocked and flashed twrp.

Lineageos tells me to wipe data which I did.

After data wipe, phone starts back into miui 10. Is this suppose to happen?

twrp screen has only 3 options, and no "button" list like I see in the screenshots. There is no install option in there.

How do I continue to install lineagos?

Thanks
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Cooperx:
If I install the Pixel Experience ROM that comes with Android 10, can I return to the stock MIUI ROM with Android 9 without any problem? It may be a silly question, but I am new with a Xiaomi phone.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Alifirdaus:
I'm trying to flash twrp on my redmi note 7 using adb command. The cmd doesnt show anything like nothing is being processed. It works flawlessly before im updating to miui 11. or is that not the case?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] jastonas:
This works, after having booted to system, how do I get back to TWRP without phone restoring stock recovery?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
Hi,

This works all the cases.

After you flash TWRP and you are still in fastboot mode hold the vol up and power button until the phone restarted. Release the power button BUT Keep holding vol up until you see the image of TWRP.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
Once you booted for the first time in twrp you have to root your phone or install a custom rom to avoid that miui overwrites the recovery
[Xiaomi Redmi Note 7 Guides, News, & Discussion] akins0405:
I can't get into twrp after flash, need some code For anyone to have an idea, what and how? Thanks in advance.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Andrio:
Yesterday I flashed TWRP into Vince(RN5) via adb fastboot. But even I booted into recovery. It always boot into Miui recovery. So instead I flashed OrangeFox Recovery via adb and used this command in cmd

fastboot flash recovery "fileName.img"

fastboot boot "fileName.img"

Replace fileName with recovery image name without quotes.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] okAndrea:
Tried this method too but the outcome was no different to the twrp recovery.

When I type fastboot boot "fileName.img" it just boots into Miui OS.

There is no way to get the recovery to stick!

What’s worse is that when I try to modify the recovery I get a message that I need to enter a password to enter android and even if I enter the correct one to get the system up and running again I need to wipe all the data!

Yelp!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
If you read my replies, you'll find the solution...

You CANNOT load twrp with fastboot boot "fileName.img" on RN7!!!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] akins0405:
I tried fox recovery but it comes back to stock recovery after restart, any idea. Thank you
[Xiaomi Redmi Note 7 Guides, News, & Discussion] okAndrea:
I'm sorry, I just copied and pasted your text in my post... of course I did not type "fileName.img".

I renamed the file to orangefox.img and typed:

1) fastboot flash recovery orangefox.img

2) fastboot boot orangefox.img

the outcome was when I did step 2 the device rebooted into the OS and not in recovery.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] masterross:
Ok,

I'll tell you once again - YOU CANNOT USE fastboot boot on RN7! (At least on later firmware)

Reboot in Recovery manually!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] PipeSick:
Bro is there a way to root my rn7 without changing the stock recovery?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] darhma:
No
[Xiaomi Redmi Note 7 Guides, News, & Discussion] okAndrea:
I did, I tried manual rebooting as you suggested with the same results :/

BUT

In the end I changed USB cable, removed the device and all its drivers. Restarted my computer and reinstalled the "15 second ADB installer" and ended up with TRWP running!

So, its was either the cable, the drivers (although everything seemed fine) or a combination!

Anyway, thank you!