yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Zaydy:
After wiping, formating data around 30 times, I have finally flashed my MIUI 10v3 stable ROM. Pretty sure the problem was coming from my USB port ... (when I changed, everythink worked as expected).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] zhad0ws:
ofc you can't flash that.. its not flashable zip

you need to copy this zip to root/system/media replace the default
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] arl0ng:
TWRP successfully installed.

But

doesn't work after flash

The only solution after

is

to get in twrp recovery
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Twrp recovery download link ple
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] OrgasmicCry:
Can't get into TWRP or recovery mode

[EDIT 1/8/19 13:50 have now flashed back to original MIUI ROM using MiFlash and am trying again more carefully with TWRP!]

Was following the instructions on this site, wanted to get rid of crappy Miui UI and put Pixel 3 (best UI) rom on instead. I think I've made a silly noob mistake :crying:

Redmi Note 7 (non Pro, so Lavender) now has bootloader unlocked. I followed the steps and got into Recovery mode successfully and was wiping the device with TWRP (Wipe: Dalvik / Art Cache; System; Data; Cache; (was careful, didn't wipe internal storage!) when I think I pressed the wrong button in TWRP.

Rather than go back to the main TWRP screen and install the rom I think I rebooted the device. I now know - a silly mistake.

My phone now won't boot into recovery mode and only boots to the FastBoot screen, no matter which volume keys I hold down.

I try to install TWRP recovery with fastboot flash recovery recover.img command in ADB but still can't get to recovery.

Help!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dragon2668:
i got this massage ,FAILED (command write failed (No error))

i try this commadn ,fastboot flash recovery twrp.img

and another method, fastboot boot twrp.img

both of them get that massage anyone can help ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Imdonewithlife:
i tried everything TWRP just wont boot. i tried the command fastboot boot recovery.img it justs reboot the systems and gets to the home screen.

i tried the volume up plus power, volume up,down and power. none worked. idk whats the problem. the bootloader is unlocked. usb debugging is on. Twrp sucessfuly flashes but have no way to boot into the recovery itself.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Sm0L:
I have the same problem, the TWRP showed up after i flashed with fastboot flash recovery recovery.img and i pressed power+up volume but now when i press power+up volume it does nothing and when i reboot to recovery via adb (adb reboot recovery) the standard xiaomi recovery is appears, so TWRP was not permanently flash, cannot understand this, i tried to flash again with this recovery https://xdaforums.com/redmi-note-7/development/recovery-twrp-3-2-3-2-unofficial-touch-t3945271 and doesn't work either, what is the deal? never had a phone that was so hard to install TWRP

---------- Post added at 02:02 AM ---------- Previous post was at 01:46 AM ----------

Now my phone doesn't enter fastboot nor recovery with hardware buttons, only with adb, and TWRP doesn't get flashed permanently, still have Xioami Recovery when running adb reboot recovery

can someone help, what is the deal with all these twrp recoveries? if i lose adb i will get bricked (no way to fastboot)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Finsnevis:
Put the recovery image inside the adb folder then connect phone in fastboot mode.With this recovery just open command window in adb enter fastboot flash recovery recovery.img and when you see it flashed press power and volume up together.When power button vibrates release it but keep holding volume up until it boots into twrp.When in twrp reboot the rom again into twrp holding power and volume up and this time power button may not vibrate.I usually restore a backup at this stage miui same as current rom wiping usual dalvike data system and cache first and after restore twrp is always there.This twrp is good because the time is below the notch.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] didigoo808:
Access TWRP

I NEED THE ANSWER QUICK PLEASE

How can i access TWRP? When i hold volume up + power and release the power button, it enters the original MIUI recovery. I'm afraid of wiping data at the original recovery and brick the phone.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
If you flash it, you should enter first to the recovery, because if you boot the rom it will get replaced by the stock one. You can try to boot it with the command fastboot boot recovery recovery.img or something like that.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] didigoo808:
When i try fastboot boot recovery recovery.img after flashing the recovery, the redmi boot screen shows up and stays there, it never goes to the twrp screen.

---------- Post added at 06:51 PM ---------- Previous post was at 06:45 PM ----------

I just need to know if i wipe data on miui recovery i will lose the OS and brick the phone. because i don't know what to do anymore. At this point i just want my phone working again.

somebody help please

EDIT: It doesn't erase the OS. I just came back to MIUI because none of the recovery installation methods works.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
If you erase data it will only delete your data, system is where the os is. I didn't have any issues at this point, are you flashing the correct TWRP? Witch version your phone is?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] pix106:
You can try :

fastboot flash recovery recovery.img

Press and keep volume up

fastboot reboot
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] didigoo808:
Already tried that. Already tried XiaoMI Tool too. Everything stops at this: after flashing TWRP never appears, doesnt matter what i do, it just dont make sense.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Dirkaios:
If you flashed TWRP, but you can't get into the TWRP recovery screen, this is for you:

I was having the same issue, but this phone is tricky.

Just DON'T USE fastboot boot recovery.img

1. Boot into Fastboot screen

2. fastboot flash recovery recovery.img

3. Check if flashed ok in the cmd prompt and remove the usb cable while the fastboot screen is on

4. Keep pressed Volume UP + POWER until the phone reboots - after the first vibration, remove your finger from power button, but keep Volume UP.

5. You should boot into TWRP screen.

If you use "fastboot boot recovery.img" - the old recovery from gets back - DON'T USE IT

Well, at least that's how it worked for me on two Redmi Note 7 lavender (64gb rom/4gb ram).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Zaidi91:
I want flash it manually from playstore official Twrp app link u provide of Twrp I already download it can I manually flash it through Twrp app.....any error if I do this method plz suggest me
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
If you are rooted it should be the same, but i never used the app before.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Marvin732:
seriously? read the first main post......

It says:

Download:

https://drive.google.com/uc?id=1rp_cgVuk6fsRybN0wDoOTbt_Pc-vOiHx&export=download

but READ EVERYTHING before you rush into it.

I am not responsible for any damages to your phone.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Marvin732:
Okay my phone is unlocked, twrp installed and i installed magisk too, i just wanted to ask something very important before i do anything, what things are important to back up to save things like IMEI etc?

compared to all the other phones i had with TWRP, i dont see NVRAM on this one.

Are the things saved in System_Image and Vendor_Image?

and what is the Vendor Partition?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SecretKiller:
A simple question out of curiosity

Hi, at first, Thank you for your great work! Recovery works just great, no problem found. I have just one question. It is just for curiosity... What caused the bug of the "TO START ANDROID, PLEASE ENTER PASSWORD" After the first flash of the recovery? I got that error, I did the format data, and it did NOT disappeared. So I flashed Magisk, and it "fixed" this bug. How could that be possible? I'm just curious. I fixed that problem. Thank you anyway!

Edit: After any modify/any flash, I have to flash magisk, Or i'll encounter the "TO START ANDROID, ENTER PASSWORD" error. And it forces me to format data, because no password will be accepted. I just want to know why/what causes it... Thank you
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
I assume that's how security works now, it happen the same with orange fox.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Eber-Hard:
[MENTION=7513094]thelazyindian[/MENTION]

Thank you for your work. Have you pushed it to official already? I don't see anything in the way to this device being officially supported. Thanks!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] seities:
got a problem. I flashed the twrp ok.

rebooted straight into twrp after flashing.

then erased data. reboot into factory os.

then when I reboot into recovery, it reverts to miui recovery. what gives? how do i keep twrp in place? seems like the stock OS has found a way to change the recovery?'

phone is on the latest miui 10 which i intend to keep if possible. i only need root and was just going to get to the magisk part

update: because magisk was all i needed for now, i thought i'd put magisk zip inside the phone, flash twrp, boot into twrp, and flash magisk. interestingly, twrp also stayed and didn't get reverted to the miui recovery. dunno why, but twrp is now the recovery even after several reboots.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] RedMiAndroid:
TWRP on Redmi Note 7

Hello,

My Redmi Note 7 has MIUI Global 10.3.5. I unlocked the device using MI Flash Unlock (now "Developer Options/OEM-Unlock" says "Bootloader already unlocked") . I followed the steps as described here. The flashing process tells me, everything is okay, but rebooting to Recovery always ends in the MI-Recovery 3.0, no matter whether I do rebooting with the volume up and power button or in a terminal with adb. I tried recovery.img as described here with the same result. Did I miss something?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] edgard20001:
Works fine, but I can´t update with official rom.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sanchofro:
I have tried on both windows and linux. But after trying to flash twrp or even a boot image fastboot just stays on the next line down and nothing persists after. The bootloader is unlocked as per the settings and "fastboot oem device-info". I know adb and fastboot are properly installed because I have no issues flashing anything to oneplus one, nexus 5, and nexus 7. It's just this phone. I thought it might have been a time issue, so i hit enter on the command, "fastboot flash recovery recovery.img" and I've tried the recovery files named violet.img, recovery.img, and TWRP.img. it doesnt seem to matter what I name it. And I've also tried dragging the file in to terminal from the file explorer and that also did not work. I even waited for an hour on each way the recovery image was named. And it just stayed blank. I can include screenshots later. Tomorrow I'm going to try using a mac. Any solutions or help would be welcomed. Thanks in advance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] pix106:
Did you try with another usb port ? And with a usb hub ?

Using an old usb2 hub made flashing possible on my side.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sanchofro:
I tried using every port available. I will try hubs next and also another machine entirely. What doesnt make sense to me is that it works with no issues on any other port for my other devices. But when it comes to the redmi note 7. I am running into this issue.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] 60hz_:
Your pc using AMD cpu by any chance?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sanchofro:
Intel, it's a T440s, going to try on a macbook pro which is an it late 2013. And then on another spare lenovo. Its I think an s71-40 or something like that. But is also Intel. That one I'm going to do a fresh install of windows and then adb and fastboot. And test with one of my other devices that has no issues before I move to the note 7
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sanchofro:
I got it to work, I just had to use an entirely different pc. I used my old lenovo. And it flashed with no issues
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redskitter:
After flashing TWRP, flash Magisk right away then you're good to go.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Prabhakarlal15:
I m facing a lock screen bug

I flashed twrp and magisk successfully and also sucfully booted my phone and used for 2-3 days after that I setup a screen lock to protect my phone but after 2-3 min after I tried to unlock my device with same password it dont unlock. Then I have to reset my phone in twrp and again flash magisk and again done all setting on miui, after that I gain set up a lock but again same thing happened. PLS HELP ME.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] herlgl:
Thank you!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Alifirdaus:
hey guys, my phone got an issue where if i switch it it off and charge my phone, it wont pass redmi logo and not charging. any solution to this? I installed twrp and magisk from the guide in xda here
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
When will there be an official version?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] JosephusQuint:
No partition can be mounted, how to flash .zip's

If you like me didn't properly avoid the encryption-bug of Lavender, you may therefore have TWRP showing you 0 bytes on all mountable partitions (Although that of course is not true). You may have already flashed a ROM, configured it, and don't want to clear the data partition to get rid of the bug.

In this case don't forget you can sideload flashable .zip's with ADB in TWRP. This circumvents having to store the .zip on the phone (Even temporarily).

I have successfully flashed Magisk 19.3 that way.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
ADB Link ple
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] AaronVB:
Requested download size is more than max allowed

When trying to fastboot flash recovery recovery.img i keep getting

fastboot flash recovery recovery.img
target didn't report max-download-size
sending 'recovery' (65536 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.005s
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Sithhy™:
"Support decrypt /data!"

Just wanted to say that this does work, yes, but for some reason the internal storage is still encrypted & I have no access to it...

If someone could help me with that, it would be lovely

P.S. This is the error I'm getting through adb (same goes for directly through TWRP)

C:\Users\Sithhy>adb shell twrp decrypt xxxx

Attempting to decrypt data partition via command line.

Data successfully decrypted, new block device: '/dev/block/dm-0'

Updating partition details...

...done

Unable to mount storage
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] juliatan:
Would have helped if OP's install guide would have mentioned directly after flashing TWRP must reboot to TWRP not system (via vol up + pwr), then must flash Magisk or a custom rom or otherwise TWRP will be replaced by stock Redmi recovery. Had several fails not knowing this until going through this TWRP and letsmakecakes TWRP xda-threads

But well, this TWRP is working fine now. For now on rooted stock Global MIUI 10.3.6.0 PFGEUXM (on my first ever Xiaomi device) until I make my mind up about which custom rom I want. (Unfortunately the probably most stable custom rom Pixel Experience (Plus) has white notifications only in Pie with dark theme (Google's fault), which is a dealbreaker for a white theme hater like me).

Thanks for this TWRP Lazyindian!!! :good:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ssaikia3:
Hello everyone, I'm new to lavender and I have a couple of questions, regarding this encryption thing.

1. Does the encryption thing only shows up with MIUI roms?

2. Is this issue pops up with custom roms too?

3. Recently flashed PE+, and now if I try to update to a newer version or try to flash a different rom, like LOS, will I be forced to wipe my internal storage?

4. If it is common to every rom, is there any way to avoid such scenerio? (apart from keeping a manual backup to pc/sd card)

I googled all these (and a few more) but couldn't find a comprehensive explanation, it was all very intimidating to me. So if anyone of you could please explain in short? Thanks in advance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
1) no

2) yes

3) if you just update the rom there are no problems. Every clean install of a rom there will be encryption password request.

4) I've found a workaround that maybe or maybe not work look here (the 4° post): https://xdaforums.com/redmi-note-7/help/how-to-disable-force-encryption-t3959583
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
How my device is un encrypted please solution anna
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Novikovmex:
The last version of Orange Fox is official and does not have those encryption problems.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] PYCON:
I've seen on youtube some tutorial related to TWRP for our RN7 with a strange logo... LR TEAM or something like that. The version of that TWRP seems to be 3.3-0517.

Someone knows what's different in that release? Is newer than this one? And where to find it?

Thx
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] marianoasis:
What about battery backup? how much screen hours?

im new on device, on miui 12/13 hs screen duration

how much after unlock bootleader+root+custom rom
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Anna twrp recovery official release date ple
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tanay nag:
When i am trying it on RN7s

I flash recovery from computer it flashed successfully

Then i boot into recovery then i flashed the recovery zip again and i boot in recovery.

Then i boot in system futon recovery.

Next time when i go to recovery it replaced with stock recovery.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Why mobile encrypted problem reason.ple
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] artaeun:
well this saved my ass.. i wiped the Data and Cache like a dummy because i got stuck into the password screen for not wiping the data on the first boot, and got stuck on an endless boot.. now i finally managed to boot into TWRP and flash the damn dalvik and get back from the beginning. Thanks!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Ptathavi:
Hello, I need help does the same recovery works with Redmi note 7s? It's exactly the same as redmi note 7(Lavander). Someone, please reply as I tried this with redmi note 7s and it kinda bricked my devices, i wasn't able to boot to fast boot and if luckily if i did; it stayed there just for a second or two and then rebooted back to system and then asked for the password to turn back on the devices. Any help would be appreciated, thank you. :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
All the stuff is same for Note 7 and 7S.

Regarding yhe issue you faced , it didn't get brick. Fastboot mode doesn't stay there usually if you haven't connected the usb cable or the port is faulty. The password thing is called encryption , it happens when you switch from aosp to miui or vice versa , maybe sometimes with aosp to aosp rom. You need to format data from recovery in order to fix it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Ptathavi:
Ok Bro thanks a lot, it was really a great help!? Thanks again a million!!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ssaikia3:
"...You need to format data from recovery..." By "data" do you mean the internal storage or the data partition? I know it's silly but please confirm. Thanks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
It means internal storage and data partition both. "formatting data" means wiping /data and internal storage , while "wiping data" simply means wiping /data.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Anna recovery latest version update ple

---------- Post added at 11:56 PM ---------- Previous post was at 11:51 PM ----------

Any custom roms install problem Anna please mobile no.call back
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SugnaB:
So i recently just flashed the unofficial 16.0 lineage OS on my Redmi Note 7 (lineage-16.0-20191006-UNOFFICIAL-lavender.zip).

Everything was going pretty well twrp installed successfully. Then i hit an error when side loading Lineage OS which was that there was a "ZIP treble compbatibility Error"

I searched up how to fix this and someone said delete compatibility.zip, did that and it booted fine into Lineage OS with no issues. After that i tried flashing gapps (open_gapps-arm64-9.0-nano-20191009) which took me to a boot loop where it would try boot into lineage, then after about 3mins would reboot in to recovery. I read up on people saying you needed to flash them together. So i factory reset AND Formatted my data. Then i side loaded lineage (without compatibility.zip) and then i side loaded Gapps. Which then did the exact same thing and keeps taking me back to recovery. I also tried pico Gapps and that didn't work either!

I am also on twrp 3.3.0-0 if that helps

I am lost as to what to try and what to do now. Any help would be great! Thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Flash orangefox twrp , wipe data, system, cache and dalvik along with formatting data. Then flash rom and gapps.

Report if that worked.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SugnaB:
Thanks for the insight on orangefox, much nicer than twrp! But yeah, turned out the issue was gapps 2019.10.10 and 2019.10.09. They both do not work on the unofficial lineage OS 16. 2019.10.06 worked well for me. Hope this helps other people
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] cldborges:
Me too

Happens with me too.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tanay nag:
I solve it just flash disable dm verity zip for note 7 and enjoy.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] MHDhsn:
The recovery is not bootig instead the official miui recovery is booting after installing this one.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Install orangefox recovery , and don't boot into the system immediately after flashing recovery. Boot into recovery first and flash the recovery zip there
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aryen66:
Absuletly right . Thanks you save my day
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] PipeSick:
I can just boot to this recovery to install magisk? I don't wanna change the stock recovery
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ddj123:
Hello, I want to root my Xiaomi redmi note 7. Just root, and keep miui10 leave as it is for the moment.

On many sites I see it is very easy with twrp or orange fox.

But I also read that if you put a recovery on it, (and flash magisk) you get a password error and have to format data.

Which is it? Can you easily root, or will you get password error?

Ps: what if you have to format data, what happens? Is everything gone incl miui?

Safe to root my device?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] adri9ESP:
Can use lazy flash just after install TWRP???
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Kodize:
when the twrp for android 10 support?