yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Minimorphee:
Thank you for your answer. I actually had no problem with the build just before the August 9 build. For Amazon I already had hide with magisk. but it didn't change anything (on the old build it worked even without hide!)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AudioSculpt:
You have to create a whiterule on adaway like *amazon*.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Minimorphee:
Hm, you mean Magiskhide mode or something else? If so, then I have already enabled hide mode for Amazon. If it's for something else, then I don't know how to do it, would you have a tutorial?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AudioSculpt:
Nope.

Are you using some sort of Ad Block? If yes, that's the problem.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Minimorphee:
I use "Adaway" do you think the problem would come from this blocker?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AudioSculpt:
That's what i was saying when i wrote to you

"You have to create a whiterule on adaway like *amazon*."
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] zerowork:
Does it work with Redmi Note 5?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
Install Devcheck or Cpu z or Cpu X. And using any of these apps, check your processor. If it is snapdragon 625 then it won't work. If it is shown as snapdragon 636 or 660 then it will work.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
See the attached image. Add these things as exceptions in your adaway.

The amazon thing will allow your Amazon app to work properly. The other 5 will allow your youtube app to save your mobile watch history. If you notice, your mobile watch history is probably not being saved. The only way for it to work normally is to add all these exceptions in Adaway. (Adaway has become very aggressive with the blocking these days)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Does anyone else get update error on 23.Aug... like installer error?

Can't update and yes I downoaded it like 15x times always same error on 23.aug. update.

Really weird..
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] $as:
I am booting to recovery after update please someone help

Fixed. Had to flash gapps
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I am able to install August 23 build without any issue

I am using Orange Fox 11.1 unofficial recovery
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] srbhsks1:
Is this ROM FBE or FDE ? Previously I Flashed PE ROM on an old Orangefox recovery and got struck at bootloop when reboot to recovery.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Dzulfiqar Zahran Safhana:
System usage 16GB, is that normal ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Do you use gapps ? Mine is 10GB without gapps. GAPPS are cr@p!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Dzulfiqar Zahran Safhana:
Yep, I use gaaps, ahh so that's why it took so much space, thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
With MindTheGapps I'm at 12GB for the system.

I regularly delete the /data/magisk_backup........... folders ~ 15MO each one and just keep the last one.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
is power off alarm working now ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] brianmolko1981:
Try it for yourself
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Did someone noticed new charging animation when phone is turned off and plugged in ?

I guess OTA update install error is still here (no reboot in recovery, but instead throw out an error in notification area), at least on my phone (need to read log).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] mik101:
OTA is still working fine here using last week's build + Magisk23 and MindTheGapps. I will report back after tonight's build though.

Do note that I'm using the last official TWRP release, not OrangeFox Recovery (which seems to be the common denominator for those of you having issues with OTAs).

The only thing not working currently in 18.1 for Whyred is Miracast (wireless display).

Edit: The Sept 6 OTA installed without errors or bootloop using TWRP 3.5.2 and the open recovery script restored magisk automatically as it was supposed to. I know TWRP is less full-featured than OrangeFox but I recommend those having issues give it a try to see if it resolves them. Then at least we can try to point the OrangeFox devs in the right direction.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] bojack_horseman:
Hello, I've just installed this ROM with mindthegapps and magisk. Great ROM.

I have a problem with some application like signal, gmail and sometimes also WhatsApp and I cannot receive notification if I don't open the app. It's like the system it's too aggressive. I also tried to to disable battery optimisation but it still doesn't works. Any suggestion? Thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jackson_c:
Does this ROM have reboot option in quick settings? I ask because the power button on my smartphone is broken so it's necessary.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
No, I don't see a boot option in the quick settings. But there are many applications that can do it (even without root), you just need to allow accessibility to one of them. Shutdown (without Root) for example. (It is better to deny access to data for this kind of application).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] aleMarvel:
3 fingers gesture for screenshot is present ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
How do you turn on your phone ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jackson_c:
I don't turn it off. But when it happens, accidentally, I turn it on by pressing the button hard and for a while. Sometimes it works, but not always. Sometimes it also turns on by connecting the power.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
I'm realise just now that you also have to enable advanced boot menu in developer option. this one is available in system setting menu, after you have pressing several time the built number at the end of the about setting menu.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] aleMarvel:
nothing ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Frollito:
Hi, stuck in recovery bootloop here after OTA update.

First i was with OrangeFox, then flashed TWRP but the issue still remains (latest version for both).

Phone is recognized in fastboot mode (that's how i flashed TWRP) but no internal storage is detected to try something...

When i shut down the phone, it comes back alive stuck in recovery mode.

Any idea?

Thanks.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] brianmolko1981:
No. Use your Nandroid Backup to restore.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Frollito:
Unfortunately, no nandroid backup available.

I'm gonna restore stock Xiaomi fastboot ROM via MiFlash Tool.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
I'm a few days late. But if this happens again, try flashing the gapps again. This generally works for me.

If this doesn't work then instead of flashing miui fastboot and flashing recovery again etc, just boot to recovery, format data (type yes) and flash the rom and gapps again. You will lose all your data but at least you can avoid the lengthy process of flashing miui fastboot rom.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Well OTA is not throwing install error on last one, but now I get blank quick settings and settings are also blank.... really weird..... I think its EdXposed fault. Not 100% sure, further investigation needed. Will report on next OTA.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Frollito:
First of all thanks for your help.

Actually i didn't flash yet (phone is just one old piece of many in the drawer, that sometimes i care to update), but the weird thing is that i'm stuck in recovery mode, but i cannot do anything other than watching the OrangeFox or TWRP logo. It just hangs there. No ADB connection, but only fastboot connection when i reset it with proper key combination... so weird...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
Oh. If the recovery is not usable then I guess the only option is to flash miui fastboot and start all over again.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
Hello guys, sorry if this isn't on-topic enough – I'll make a separate post and delete this one if this doesn't belong here!

I currently use my Redmi Note 5 Pro (Global) with an unofficial LOS 15.1 (Android 8.1.0). I now want to upgrade to this official LOS 18.1 build without bricking the phone.

My TWRP is 3.2.3-2 an I never upgraded the Firmware since buying the phone. MIUI version was 9.5.19 at the time btw. My questions:

1. Should I upgrade to latest TWRP before flashing LOS?

2. Should I upgrade the Firmware to V12.0.2.0?

I have the adb tools (fastboot) installed, and my phone shows up ready when I run fastboot devices. Should I try to flash via these CLI tools, or should I try to flash from within my current TWRP? My lack of experience makes me concerned about doing the wrong thing with these upgrades.

Thanks!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] brianmolko1981:
Yes

Yes

No
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
I would suggest you to do a clean flash. Keep in mind that once you upgrade, it might be hard to go back to 8.1 Oreo roms. Sim might not work in those old roms.

I was in the same boat as you. I installed DOTos based on Android oreo in October 2018 and kept using the phone till June 2021. I literally used a custom rom for such a long time without doing anything else. I guess I'm tired of flashing roms often and moving all the data.

Anyway I wanted to try new Android 11 roms as Android 8.1 had become quite old in 2021.

So here's the process i followed to ensure 0 issues -

Flash the last Miui 11 fastboot rom using Mi Flash. (Miui 12 fastboot roms for whyred doesn't boot. Avoid them)

Flashing the last version of Miui 11 fastboot rom will bring you on the latest firmware.

While flashing be careful and select flash all and erase. There's another option that locks the bootloader while flashing the rom. Don't select that option obviously

After flashing the Miui 11 fastboot rom, boot your phone into bootloader/fastboot mode.

Download the latest orangefox recovery. Flash the img files using fastboot command

Boot to recovery and flash the orangefox zip using orangefox recovery. This might sound weird but it is an important step to make orangefox permanent. You need to first flash the recovery img using pc fastboot and then flash the zip file using the orangefox recovery itself

Phone will reboot to recovery

Now format data. Type "yes". This is very important. Don't wipe data. FORMAT data by typing yes.

Wipe system, Cache. Dalvik etc.

Flash rom and gapps together. Don't reboot before flashing gapps otherwise you will have permission issues with gapps.

After flashing rom and gapps together, reboot to system

Setup your new rom.

Reboot to recovery and flash Magisk(version 23) if you want. (you need to rename the apk file to zip. Then flash the zip by recovery)

You can watch youtube tutorials on how to hide Magisk. It is a onetime hassle.

That's it.

I personally recommend you to use official LineageOs 18.1. I'm using it since June and it is working really. Zero bugs. Super smooth. Although it had less customization features but I like it compared to feature filled heavy roms.

If you decide use a rom like Pixel Experience or Fork LineageOs then you would need to use a different kind of recovery that supports those roms. Official orangefox will not work. Read those threads carefully and flash the required recovery if you want to flash those roms.

And remember, 99% of the time, a bootloop can be fixed by formatting data. But it will wipe your internal storage totally. So before installing a new rom or updating old rom, backup important files and apps, just in case you are forced to format data.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] brianmolko1981:
Thats not correct. V12.0.2.0.PEIMIXM fastboot rom boots up normally.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
No to "flash firmware via CLI" or to both that and "flash firmware TWRP"?

If no to both, what approach do you recommend instead?

My phone is not rooted btw (never found it necessary for daily use). I can't really find clear guides online, everyone seems to have different convictions on the matter, and that's not reassuring.

Update: I'm on TWRP 3.3.1-0 now, which is the latest version willing to boot on my device. Unless a higher version should work, I guess we can leave it at that. This leaves the Firmware question.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
Right, a clean flash (starting over) is my intent. I have my essential data backed up already.

I should have mentioned that I don't have access to MS Windows. Since the LOS guides don't mention the Xiaomi tools, I assumed they wouldn't enter the picture again.

So the MIUI 11 OS ships with the V12 stable firmware? I can certainly see the appeal of just getting one's firmware properly updated this way. Someone in this thread say “Just flash the [V12] firmware via TWRP”. If the latter is viable for my use case, I'd much prefer that!

Btw, does "MIUI 11 fastboot ROM" simply mean that the ROM is built in a fastboot-compatible way? Are there other versions that aren't?

Thanks a lot for the detailed pointers.

Yup, that's my plan, I'm not a heavy phone user anyway, the conservative LOS design served me well.

Yes, I'm totally ready to lose all data, just wanna avoid bricking the phone.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
Ah, it was even you who made that comment. So should I try this as well then? Do I need my phone to be rooted? My TWRP was certainly able to write to the recovery partition when I updated that.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yes upgrade to latest twrp version 3.5.2

Download TWRP for whyred

Download TWRP Open Recovery for whyred

dl.twrp.me

You dont have to upgrade your firmware because LineageOS relies on firmware version 9.5.19 which you are already using

If you want you can flash latest MIUI 12 firmware

Upgrading process

1. Flash twrp 3.5 and boot to twrp

2. Wipe data cache system and data

3. Flash LineageOS 18.1

4. Flash opengapps android 11 pico package or any other package

5. Wipe cache and reboot to system.

If you want to do CLI method then follow official installation guide

Install LineageOS on whyred | LineageOS Wiki

wiki.lineageos.org
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
Oh. I don't know what went wrong on my end then. I tried flashing 12.0.2 using mi flash and it succeeded but it didnt boot on my whyred. So i flashed the last MIui 11 build which booted and then i continued with orangefox and lineage installation.

If miui 12 is working for others then they should flash that.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
Every miui rom has two versions - fastboot and recovery. Recovery roms are smaller and they're the ones that can be flashed using recovery.

Fastboot roms are bigger and have all the partitions and data that is needed to completely reset the phone. When the phone is bricked or messed up tto much by random zips, flashing the fastboot rom using PC resets it totally. Its like a clean slate.

If you want a totally clean slate - flash fastboot rom. But needs a large file to be downloaded and needs pc

If you want an easier method - flash recovery rom using latest orangefox. Still more than 1 gb file

Even more easy method - flash firmware. This firmware was taken out from the recovery rom and turned into a small zip. Generally 50-70mb

But you are coming from 8.1 Oreo like me. Flashing the fastboot rom will guarantee a complete clean slate. Since you don't have pc, try the method of updating orangefox, flashing firmware and then flashing los. Remember to format data before flashing los.

If you get any errors or problems in your los rom - like sim error, or location error etc then the only method might be to find a pc and flash fastboot rom and then go to lineage again.

If you don't get any errors then congrats, updated recovery and firmware was enough.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
Unfortunately 3.3.1 (from 2019) is the latest release my phone is willing to boot. From 3.4 upwards I get an eternal MI logo. I don't assume there's anything I can do about that? From what I read one needs a more recent version to accommodate Android 11 (LOS 18.1).

Should I try the discontinued Orange Fox which 1emrys1 alluded to? Maybe that gives me a better shot at having a more recent bootloader?

I see, that's good to hear.

Thanks a lot, this gives me confidence to go ahead. The various "help, I bricked my phone" threads in the Redmi section made me cautious, as I don't have another phone to fall back onto.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
That makes sense now, thanks.

OK, I'll give that a shot and Windows method as last resort (setting up a VM might work).

Let's hope, thanks again!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
@1emrys1: That would be this Orangefox release, right?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
Hello guys. With the help of someone in chat I was able to regain functionality (I had messed things up after post #949) and install LOS 18.1. I just erased my earlier posts so you don't waste your team sifting through my trials and tribulations.

I will report back later with how I did it (in case someone runs into similar issues). Thanks again for your help!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
I just saw this message. Glad that you managed to flash LOS. Enjoy your new rom.

How's your battery holding up? Accubattery says that mine is at 71% capacity. I am planning to get a new one.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
The trouble

Since neither recent TWRP nor Orangefox releases would boot, I decided to try flashing the firmware first using my old TWRP, as the TWRP site suggests old firmware might cause the incompatibility. This flash appeared to finish without error, but when I rebooted LOS didn't boot (OK) and neither did fastboot mode (bad).

My old TWRP kept working fine, so it was my last leg to stand on. I then decided to just try flashing LOS 18.1, even though Android 11 based ROMs should use newer TWRPs. I put the LOS ZIP on my external SD card and flashed it from within TWRP.

This worked! Alas, TWRP always flashed into the directory where the ZIP file is, so it flashed the whole OS onto my SD card, not the phone root! I could actually boot into LOS from the SD card though, wicked!

With fastboot broken, and no response to adb in TWRP, I was once again out of ideas on how to get LOS installed properly.

The solution

Someone in a chatroom was able to guide me through. He said it's unlikely fastboot is actually broken, so I booted back into it and though the screen stayed blank, it turns out the device still responded to abd, I hadn't even tried again!

I then tried a LineageOS recovery (right column) and that booted! It's very basic but allows sideloading packages/scripts and isn't outdated like my TWRP, so I had what I needed for the LOS flash.

# Boot recovery (enable sideloading once in recovery menu)
$ fastboot boot lineage-18.1-20210920-recovery-whyred.img

# LOS 18.1
$ adb sideload lineage-18.1-20210920-nightly-whyred-signed.zip

# GApps
$ adb sideload MindTheGapps-11.0.0-arm64-20210920_084011.zip

To my delight, all commands finished without error and I could reboot into a fresh LOS, which I'm running now. I think I did my best to wipe prior in TWRP, so that part should hopefully be fine as well.

I still don't know if my firmware update actually worked. Baseband reads 660_GEN_PACK-1.336736.1.337834.1. I compared that to others on the web, and assuming this numbers counts up, it looks fairly new?

TL;DR

LineageOS recovery image to the rescue.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PrinceVince:
I haven't looked into it yet. I think mine is still OK, I recharge about every ~3 days I think. I'm a light user, mostly messaging, music/audiobooks/podcasts (from device, never streaming), simple browsing, no videos. So that's not very representative.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jnsson:
One question: How is the call volume? On Pixel Experience 11 it's too low, so I went back to Experience 9, but I want Android 11, so is the volume loud enough to hear the call when your outside?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] bojack_horseman:
Hello. I've flashed this ROM a couple of weeks ago with mindthegapps and magisk. Now I'd like to update the ROM. Is it enough to flash the new ROM file or should I also reflash gapps or magisk? Thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] mik101:
You can just flash the ROM. If your magisk manager isn't hidden it will recover itself automatically after you flash the ROM. Do not flash gapps again. Works for me every week using TWRP 3.5.2. I found if I leave magisk manager hidden the magisk recovery script doesn't always run and then I have to manually install magisk from the magisk manager again after rebooting.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] djfron:
Hello,

I have always read you but I have never written until today. I have gone from MIUI to this version of Lineage OS and I have these questions:

1. Can call recording be activated by default? Without having to activate it on every call? If not, what apk do you use?

2. I have tried to send the screen to TV of different brands (although they are not of the latest model) and although it finds them and I give it to connect, it does not finish doing it. If it is a recognized bug, is there an apk that works for this?

3. I want to remove apks that come by default with the ROM, what way is there to uninstall them or is there an apk for it. If I uninstall them, will they re-install when I upgrade to a new version of nightly?

I am root.

Thanks.

Regards.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1emrys1:
1. No call recording by default. I don't know any all that allows it by default but you can try apps from play store and see if any of them work.

2. Chromecast works well on the rom but miracast probably does not. You should search the specific tv brand name and how the casting works on it. I don't use this feature much. But if miracast doesn't work in lineage , you can't do much to add the feature.

3. You can use a root app like titanium backup or ice box or SD maid etc to remove them. Or just search system app remover. I would suggest you to freeze the app and let it. Don't remove it. Freezing it makes sure that it can't use any ram or battery. And since it is in the system partition, removing it won't give you any extra space either. You can't use the system partition for your user apps anyway. So just feeze it and leave it. It will disappear from launcher. There's will be less chance of any errors or problems. If you choose to remove them then updates will bring them back. If you freeze them then they should stay frozen after updates
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Nico2416:
Flashed the ROM a week ago after nearly 2 years of stock MIUI: the difference are really noticeable in terms of functions and smoothness. I haven't encountered freezes, bugs, not even a minimal graphic lag, you did a great work, the ROM is amazing!

I have just a question: when I connect the phone to my PC with the USB cable, it can't be seen by the computer, is it a know bug? There is a solution?

Thank you in advance.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KSLevel11:
I think that after you connect your phone to PC, you should choose option "Sending files" from notification panel. Default option is "charging only".