yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Ok man, I hope to be clear and you can understand me.

This steps works for me and there was easy.

1. Install a MIUI ROM, this it's for encryption (if you don't want it you can skip this and continue with the steps)

2. Restart on fastboot and flash TWRP.

3. In TWRP skip password if it ask.

4. Flash OrangeFox recovery (you can get in the forum of the recovery)

5. In OrangeFox you must to install the 9.4.25 firmware version (there's a firmware thread).

Then you must to flash everything except micro SD (don't forget backup your data).

6. Optional: you can select advance wipe, select data, and change partition settings, when you are there you can change the partition file system to f2fs.

7. Install the ROM and Gapps.

---------- Post added at 04:41 AM ---------- Previous post was at 04:38 AM ----------

Thanks to the Dev, y tried this ROM (with not much expectations I had to say) but omg, this ROM it's perfect! The battery life it's really amazing, it's really smooth, and had the customization that I need. I not found any bug at this moment, and gcam works!

Again thanks Dev! You create a perfect ROM.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] zhanghg:
When can it be officially maintained?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] :
This would be a great idea if the ROM is now stable. Previously it was said it might be considered by OP.

The reason I asked about instructions for compiling from source is because I don't really feel comfortable flashing random images to my phone from untrusted sources.

I don't mean to sound disrespectful, and I am thankful for [MENTION=6623671]Subhrajyoti Sen[/MENTION]'s work but I would really rather compile my own image and verify it.

If [MENTION=6623671]Subhrajyoti Sen[/MENTION] isn't interested in submitting it officially and updating the wiki build instructions perhaps a guide here would be good or a gist/wiki on your github account.

It should more a less be the same as the wiki article, except that I suspect there's now some differences around Prepare the device-specific code and Extract proprietary blobs.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Will you please be so kind and post working original lineage os recovery which you have build? I would like to make this rom you have build a daily driver and because of this I wish to remove all "third party" solutions, like for example recovery. You have build an excellent rom! Excellent!!! Again, thank you for all hard work you have put in this project! Excellent job!!! Thank you cin advance and sorry if I'm annoying you!:D
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Shampinger:
I'm still on an old Oreo custom rom which is no longer maintained so I want to make the switch to this rom. Is there still a problem with anti-rollback protection or has this been resolved? I'm currently still on ARB 3. Is there anything I should take care of? I don't wanna end up with a bricked device.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
From my knowledge there is no need for worry. Just make sure that if you ever go back to MIUI, You can't go back to lover ARB version from currently installed! and that's it!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Shampinger:
Thanks for your answer. not planning on ever using MIUI but I might go back to some Oreo-based custom rom like LineageOS 15.1. Would this be a problem?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] zhanghg:
There is a problem with the automatic adjustment of the brightness, sometimes it is very bright and sometimes it is very dark. It is impossible to remember the manual adjustment.

How to deal with it?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Only if you accidentally make ROM flash with firmware which have ARB revision lower then ARB from which you came. But as i know all lineage ROM's are firmwareless so from this side you are safe.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Ok I'm not an expert, but I think you can flash whatever you want, the ARB brick happen when you try to change from ARB 4 to ARB 3, if you are ok with your actually firmware you can install any Oreo ROM if you want, maybe some day you must to update you firmware to use the newest ROMs. I'm on ARB 4 and now it's not a problem, after 5-6 months developers based his ROMs in ARB 3 firmware, but not now, so you can think in update to ARB 4 (if you do it, you had to take care about never come back to ARB 3)

---------- Post added at 02:38 PM ---------- Previous post was at 02:36 PM ----------

I don't know if this works, in play store there is and app that te people call YAAB (yet another auto brightness). You can tried it, I hear that works great. And when you tried it come and tell me pls :P .
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1Ishara:
Sorry for asking this.. There are two unofficial build.. Which one should use for daily driver...? Im planimg to use daily basis.. Please help
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
I love this ROM, so I recommend this. It's really smooth, great battery life, and no bug. You can use for a daily driver
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
:( huh, I'm waiting Lineage OS recovery to have everything as it should be :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] japoina92:
thanks you for this Lineage, for me the best, i love you added the ota function, awesome. keep the awesome work
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Yes the rom is really great. Not facing any bugs for the last one week. It is stable already. Thanks for the devs behind this.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] panachoi:
Firmware ? Which Firmware? I'm confused

I got my phone long ago, and immediately flashed Lineage 15, back when Whyred was a fully supported. I've also been updating the firmware on a semi-regular basis, from this thread: https://xdaforums.com/redmi-note-5-pro/development/firmware-xiaomi-redmi-note-5-t3766138

So, I'm now running more or less the latest firmware (might be 1 or 2 behind, but definitely a 10.x version) so I'm a bit confused when people talk about 9.x versions, and Oreo/Pie firmware, and a Lineage 15.1 from March 2019

So, can I just ignore this part of the discussion (its confusing, maybe this is related to ARB/non-ARB ?) and wipe my device, and install this ROM ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
I believe it's because some people are mixing ROM and firmware phrases which clearly is not the same.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Some updates and clarifications.

Lineage recovery will be uploaded along with the builds from next release onwards.

Next release will be once June security patches are out.

For users' peace of mind, builds are now signed with release keys and not test keys.

After next release, I will post a short series of steps with which you can compile your own builds if you want.

I will start deleting old builds from the download server as we proceed. There will be only 3 most recent builds available. This is because I use a small VPS to host this and upgrading to a larger one doesn't make much sense and it is double the price.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
All excellent news!

Again, I can only express my gratitude.

Once more, thank You for all of hard work you put in all of this!

P.S.

This "own build short series guide part" is especially interesting for small "personal" tweaks. Excellent news and idea!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I am not sure why that happened to you.

gps.conf is located under /vendor/etc and I was able to get a GPS fix using cab booking services, Maps, and even the 'GPS Test' app.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
The 10.x miui firmware means oreo 8.1 stable version.

Latest is

Version: 10.3.1.0.OEIMIXM Android: 8.1

And the 9.x(the numbering shows the year.month.date) means miui pie firmware beta. Which is required for flashing this ROM.

Latest is

Version: 9.5.23 Android: 9.0
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] panachoi:
Great, so firmware 9.x is actually "newer" than 10.x. No wonder this is so confusing. The question then becomes, if I flash the 9.5.23 firmware, and then install Lineage 16, can I then fallback to my Oreo/Lineage15 ROM, without having anything break (yes, I have a TWRP backup), or what will be broken ?

Then, of course the whole ARB/non-ARB question would come into play. I'm definitely non-ARB now, since I flashed Lineage early-on, but I suppose that I'm never going back to anything older then what I'm running now, but I guess that flashing 9.5.23 will bring me to ARB4........Got that right ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Shampinger:
I guess it depends on whether or not the firmware is included in the TWRP backup. If so, there shouldn't be any problem (except for ARB, see below). If not, you will have to flash Oreo FW first.

There are non-ARB versions of the Pie FW which you can find in the thread you linked. So as long as you keep using non-ARB FW, either Pie or Oreo, you should be fine.

Btw, I don't think you're entirely non-ARB right now because MIUI ships with some version of ARB. You're probably on ARB 3 which shouldn't really bother you unless you really want to flash some ancient ROM with an ARB version lower than 3. You can check which ARB version you're on by running

fastboot getvar anti

as root.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 1Ishara:
Smooth rom with most wanted customizations... Any recommendations for kernel? Or should i stay with default kernel?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 0lorenzo:
what is the difference between this rom and this?

https://xdaforums.com/redmi-note-5-pro/development/rom-lineageos-16-0-redmi-note-5-17-05-t3933988
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Supeemeb:
Since PE rom support has stopped I have been looking for a stable rom as daily driver. Installed this one yesterday and I have to say it is awesome. No bugs so far, the OS itself is quite fluid and snappy. Thank you for you work!:cowboy:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
The stock kernel works great for my day-to-day usage. So I haven't really looked at other kernels to give recommendations.

Not sure. The commit history is non-existent for me to figure out the difference. But as the OP claims, there are overlay changes in those builds (I am not sure what those changes are though)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MyCats:
First version of my ROM was released in 24-04-2019, when latest SubhrajyotiSen build was outdated and I thought it will no longer receive updates.

Then in 25-05-19 SubhrajyotiSen ROM received a new update, but I continued work on my ROM just for fun.

That is why there are two almost identical ROMs. Sorry for my bad English.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ivoxda:
Congratulations for this awesome work,all works perfectly and smooth

this rom its my daily driver..

:victory::highfive:

Regards
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] smarrendo:
Why don't you guys work together towards an official release?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Sometimes there is a bug when Magisk suddenly uninstall and I need to reinstall, it's the only bug that I faced in this ROM, any idea to solve it?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] :
I have wondered this myself. Whyred was originally an officially supported device.

There seems to be a clear interest in this device. It also seems to be stable too.

An official release would mean that maintainers would get periodically compiled releases.

https://wiki.lineageos.org/submitting-patch-howto.html

https://wiki.lineageos.org/contributors.html
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Which version of Magisk are you on?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MyCats:
Keep in mind that LineageOS Recovery is not working with OTA updates (if you are using Updater app), tested by myself
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
I'm ok 19.2 Magisk version
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I am on the 19.3 builds and haven't noticed yet. I will flash 19.2 and check. Thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
After MyCats mentioned, I checked it personally. I was not able to flash the build using LineageOS recovery. ADB sideload did not work either. So I guess no point anymore in uploading the Lineage recovery images.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Thanks man!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Pity! I was hoping that we will finally have complete Lineage OS solution, with recovery image and all, almost like some kind of "Original OS", especially because this build You have made is so stable, clean and good. I mean, it will be good to have build which will just work. I don't need any kind of tweaks, just pure and simple OS, without any additional utilities, tweaks, especially tweaked kernels, ...

Anyhow, I look forward to build guides You have mentioned previously and in some time maybe ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
19.3 released ?

The latest available is 19.2 right.?

Btw me too facing this magisk issue. This is happening once in a day. Just Rebooting the device helps to fix this issue. No need to reflash magisk.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Yes I just noticed that you only need to restart!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] imatesi:
Thanks to developer for this awesome ROM! It's great replacement for abandoned Pixel Experience :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Are you using f2f2 for data and cache ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Only for data, maybe can be a f2fs bug?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Ok maybe it's a Magisk fail... I try to reinstall the ROM with new TWRP it it's work I will tell you.

And i faced another issue (I think, I'm not sure). It I lost the mobile signal need to use airplane mode to recover it.

BTW, I only report this little two bug that I faced, but still loving this ROM and really really thank you dev, this is the best ROM
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fallacious:
Thank you for the support, as I like to understand what I do I was trying to get the meaning of your osservations,

but I couldn't, so I am going to ask you to please clarify the following points:

1) what does it means that the MIUI ROM is for encryption? Are you implying I always need to flash the original ROM before flashing a custom one otherwise I will loose the possibility of encrypting the phone? If yes, why is that?

2) why is that TWRP fails at flashing this ROM but Orangefox succeeds?

Again, thank you!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] simon3sce:
Ok, firmware it's the base of the code of the phone. The lastest official TWRP version don't support pie firmware. But de unofficial one (XDA thread here: https://xdaforums.com/redmi-note-5-pro/development/recovery-twrp-3-2-1-0-whyred-t3766113 ) support it. So now you can flash directly the ROM from TWRP and skip orangefox.

And the Encryption it's a little hard to explain. The encryption let you set a password to encrypt all your data, and you need to enter this password every time when you power on you device (including recovery mode) if want it, you must to install a full MIUI ROM before flash the custom ROM, but if you don't, you only need to flash the firmware. (If you *format* data, take care, format not wipe, you lose the encryption, but you can wipe data)

Edit: if the info helps you don't forget the tanks button! :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] imatesi:
Hi I have question. I'm reading very often about this problem. I mean that latest TWRP version doesn't support Pie FW. But then I don't understand why I don't face any issues while using latest official TWRP Recovery (3.3.1.0) and flashing this ROM or Pie firmware without any problem. Is it possible? Yeah I know it's good for me but I'm little bit confused :D Thanks you
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fallacious:
My version of TWRP is 3.3.1-0-whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Update

I think I have fixed flashing builds using Lineage recovery. Both adb sideload and flashing from internal storage are working. Will do some more testing and if all works fine, will upload with next release :)

Ended up spending an entire night on it
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 0lorenzo:
Download Link on OP is not working...

Nice News!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
The download links are temporarily down. Will be up once I renew the domain. Should be soon
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Download links are back up. I have updated in OP and my last 2 release posts.

Reason for downtime: My domain had expired. I decided to get a new one and moved a few things. That's why the delay
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Xintorrim:
Hey. I was on build 30/04. Decided to update so I flashed firmware 9.4.25 and latest LOS build. Rebooted but got stuck on Logo Screen. What am I doing wrong? Thanks.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Now that's excellent news!!! :highfive:

Excellent!!! :fingers-crossed:

Is there some possibility to get this recovery.img somehow, if that' not big problem or inconvenience?! :D

Again ,thank You very much on Your efforts and devotion to this excellent ROM project!

P.S.

I'm always flashing ROM's through asdb sideload, i have a feeling that i have more control so if You have made correct flashing in this way, i believe that this is it!

Is donation through PayPal functioning in Your way form EU country?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I will start looking into this. I have some spare time this weekend.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I will be posting the recovery with the ROM release later tonight. I just used adb sideload to flash the latest build and it was successful.

And yup, I can take Donation from EU country via PayPal
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Now, that's great!

Fantastic, then we will put some itty bitty donation in Your way, You have deserved without any question!

Thank You!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
New build is up

http://dl.subhrajyoti.me/lineage/pie-firmware-builds/lineage-16.0-20190605-UNOFFICIAL-whyred.zip

Changelog

June security patches

Update blobs from V10.3.1.0.PEIMIXM

Fix lineage recovery. You can flash from storage or via adb sideload.

Added wireguard support in kernel

Lineage recovery

: http://dl.subhrajyoti.me/lineage/recovery/lineage_recovery.img

Note: Signature verification will fail when trying to flash through LOS recovery. This is because it is userdebug build. It's normal. You can flash the build anyway after confirmation. You can refer the commit on LOS for reference. And if I am not wrong, even LOS ships userdebug builds

https://github.com/LineageOS/android_bootable_recovery/commit/e2b6a9703c43c437f1ac7dc8592c86ccb3abca7c

About the build guide I promised, it will be coming this weekend once I get some more time.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Arjab:
Thanks for the upload, but I'm getting Error 7 in TWRP. Any idea how to fix that?

Edit: Signature is not up to date.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Fantastic!!!:good::fingers-crossed:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I was able to flash it successfully using TWRP. Make sure the file downloaded properly.

What signature are you talking about?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MyCats:
Is LineageOS Recovery working with OTA?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Arjab:
I tried installing the current build and the previous via TWRP 3.3.1-0 and get the error 7 every time. Am I missing anything? Build 2019-04-30 is working but I got no OTA.

And don't mind the signature, I've meant my profile signature that says I'm on Note 4.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
You are Oreo firmware. You first need to flash Pie firmware and then use a TWRP that supports Pie firmware.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
That will fail too. Same reason I mentioned. Signature verification will fail.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] abhayruparel:
*Oof*
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Aye really? :rolleyes:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Now I can say that this is fantastic ROM, with this ROM we have completely NEW device which finally works as it should be from the start!

Without spying software, bloatware, useless applications and resource hogs!

Excellent, excellent, excellent job!!!

For every recommendation!!!

This ROM is al pari to stock ROM's from other manufacturers which are using stock android!

I'm thrilled!

Again, excellent, excellent job, You are such a great developer and human being, because You have a will to freely share Your great work and knowledge!

Excellent!

After this it can be only better!!!

Thank You!!!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] azwy:
Is lineage recovery a must? I use orangefox now, can i just use orangefox instead??
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Yes, you can use OrangeFox. Lineage recovery is only for those who prefer using it
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] azwy:
Last update can via ota or not sir? Or need to upgrade newest firmware first?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] abhayruparel:
Yos BTW it's been like 2months y nu f push after squash xd
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Only issue i have stumble upon so far is that:

- WhatApp is reporting that is installed on device with custom ROM during installation, but it's working normally and as I have correctly understood in WhatApp all Lineage OS ROM's are generally declared as "custom" ROM's.

- Also I have noticed some strange screen artifacts when I was taking few photos but pictures are fine, there is no any artifacts on photos itself.

- And yes, phone is not encrypted, from some "strange" reason although i have obeyed all installation procedures (probably i have made some error in installation so i believe it's my fault).

Again, I can thank enough mr. Subhrajyoti Sen which have made this fine OS, it wonderful, finally freedom from MIUI and Chinese useless app's and spyware!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
You can dirty flash over the last build. No need to flash any newer firmware

Done :P Thanks for the reminder. I was pushing to many branches. Missed that one

You can ignore the WhatsApp prompt. Happens on all custom ROMs I think. And the ROM will not encrypt the phone by default. That used to happen in LOS 15.1 official builds. Now builds don't force encrypt.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
Thank You on answers!

Tell me, if that's not a biggie, what will be good alternative for MIUI call recording app? I can't find recording function in stock Phone (com.android.dialer) app but i believe this is by design not by intention (as i have understood they have completely changed access logic to this "function" in android pie vs old oreo).