yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Battery is same in both version

Updated build has few additional changes which i mentioned in my previous comment
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I've had it installed for about 2 hours, the latest version.

I will let you know in a few days if everything is ok.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] wikwikXDA:
Thank you so much for update sir
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I will confirm when it is my turn to charge the battery.

But so far, I have almost 2 days with this charge, after updating to the latest rom.

looks good.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yes, i also got around 36 hours standby with 4 hours 30 minutes screen on time (Mine is 4 years 9 months old mobile)

Everything is based on the official lineage-18.1 source, So the build is similar to official release
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Would you recommend cleanflash or dirty for this build for the battery update to be noticeable
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Dirty flash will work but make sure to clear cache
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] cruncher1234:
Hi, i installed this ROM but USB transfer mode is not working. Has somebody else this problem ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
hello.

I would like to say that this version goes very well.

the battery lasts me 4 days. just like the official rom.

When you say that the usb transfer does not work, what do you mean?

reinstall the rom, and delete caches just before rebooting to start for the first time.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] cruncher1234:
I don't know. I can sideload from the recovery but if i connect the phone from LOS to a pc and switch to transfer mode then the phone doesn't show up (but i hear a windows system sound). I formatted already everything and also reinstalled MIUI (Android 9) and then twrp and then LOS but it didn't help. If it works for you then there is a problem with my setup. Also another USB cable or a different port didn't change anything.

I must say that i didn't test it from MIUI because i didn't start it before flashing LOS but it worked at least a year ago and i don't want to start again from scratch because of all the effort i had already put in the custom rom ( to configure all apps to connect with their servers).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I don't think it's the rom because it works for me.

I always have it in data transfer mode.

But, sometimes, because of the drivers, I did not recognize it.

Therefore, it did not appear in the list of devices.

solution for me: uninstall the current driver with the phone connected, disconnect the phone from the pc, and reconnect it to install the drivers correctly.

if you say you have formatted, it is supposed to install the correct driver when you connect the phone. don't use programs, let windows do it.

I have now connected the cell phone, and as I said, I have it in data transfer mode.

I have switched to ptp, and after installing and configuring the driver, I have switched back to transfer mode, and everything is fine.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] oscarkim:
Wow, this has come far XD. Nice work.

I have a question ...trust gives me a warning about being signed with public-key. I have some apps I normally install outside of play-store ...is it safe to use them ...can they possibly take advantage of the public key.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Warning message is expected as it is a UNOFFICIAL build (Build from outside lineage server)

It shouldn't be a security issue.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Thanks for the update

Sadly no progress on LineageOS 20

Maybe i should try AOSP instead of LineageOS 20 as there are many Android 13 builds out there for Whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
pixelexperience is fine for whyred.

the only thing that does not decrypt the rom.

in version 12 of the pixelexperience rom, it does decrypt.

would be a good option, the version 13 of the pixelexperience but with a recovery that decrypts the rom.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] oscarkim:
The problem with android 13 is the broken camera / camera API. I think Google changed it and the old one became deprecated 😆
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] cruncher1234:
So, at least with PTP it works (only pictures). I will try to reinstall a driver later. Thanks.

Update: So i tried maybe 3 different USB drivers and had no success. Then i selected something like "Kenda USB Driver" (it is now gone so i am not sure about the name) and "update" and "automatic update" et voila - now i have ADB interface in the normal USB devices section and can access the redmi folders.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] P13rLu:
Hi, what firmware should i use before flashing the rom?

And also, how do i flash it with the los recovery?

Or if i can use a custom recovery like twrp or ofox, which version should i use?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] oscarkim:
Use the latest 12.0.2.0. You can use the latest twrp to flash or pbrp ...I don't know about los recovery.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
I have faced this several times , just go to your device settings and resinstall your drivers in the manual mode ensure you are picking .bin file from the right place. There is also other issues like the USB cable .
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com

Choose your version - Global / China
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Hi. I want to ask about how to dirty flash this rom to its older build, since there is different opinion as to what should be wiped. So, should i just wipe cache and dalvik or should i wipe the system and vendor too? Thx
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Just wiping Cache and Dalvik should be fine

No need to wipe System and Vendor
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
Hey mate,thanks for your rom,is really the fastest rom i have ever tested on my old Whyred.Btw,could you please add signature spoofing so we could install microG?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New build with April security patch 2023-04-05

lineage-18.1-20230418-UNOFFICIAL-whyred.zip

Changelog :

Synced with lineage-18.1 sources

Chromium Webview version 112
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I will try to check that
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
Hmm i have an idea.Maybe you can contact these dudes to make a rom with implemented microG?It would be just awesome.

LineageOS for microG

lineage.microg.org
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Sir, i've been using the official whyred 18.1 for so long. And when i tried your build i know i will use this for long time because i feel its very2 smooth and stable, until i found there is a problem maybe with safetynet or smthing else idk. I cant open bank apps and playstore not certified. The only way i know to fix this is with magisk, but i hate to hide root because its become very complicated now since magisk doesnt support magiskhide anymore. I just hope maybe you can look for this issue sometime in the future. Thank you so much for your work😊
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Also the build i used before is the march build, sorry for replying to the new build
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
you can hide the root with magisk.

enter magisk, and first of all, hide the magisk app.

second: in the magisk settings, activate the option: apply deny list.

and just below, go to: configure deny list, and activate the app that fails you, so that magisk hides the root.

It works perfect for me.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Thank you for the reply.

1. Maybe I'm not explaining it clearly in the above thread, but I want to have LOS 18.1 installed without anything root-related (non-root). So is this possible, or maybe there is something I did wrong during installation? Because when I installed this 18.1 March build, I was detected as a root user, even though I did nothing root-related.

2. What Magisk version did you use? Because, afaik, Magiskhide is not working anymore to hide root, and we should depend on Magiskdelta with Sulist?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I think you are confused.

if you don't want root, magisk is not installed.

if you have magisk installed, you have root.

my previous message is clear.

with the latest versions of magisk, it hides as I have explained, the root to certain apps.

So, you say you don't want root but you talk about magisk, which is the way to root.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Sorry for my bad explanation. I'm flashing this rom only with nikgapps core; I don't even have magisk zip or anything root-related in my file. But after installation, bank and other apps said that my device is rooted, so I can't use banking apps.

So, my problem is that after installing this rom without root, apps still say that my device is rooted.

This problem doesn't seem to occur in other roms, so I think it's related to this rom (safetynet problem maybe), but I will be glad if that's not the case.

As to why I ask about Magisk, it's because, afaik, the only way to hide root is with Magisk (Magiskdelta and Sulist now since official Magiskhide is not supported by TopJohnWU anymore).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
is that lineage has root if I remember correctly.

download magisk, install it, do what I told you, and that's it.

That's how I have it.

the latest version of magisk is 26.1.

install and configure as i told you, and zero problems. at least in my case.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] oscarkim:
Lineage does not pass SafetyNet by default (so banking apps will detect this). You have to use magisk. So flash magisk ..then use safetynet fix (by kdragon) and zygisk with the needed apps in enforced denylist. Also, Lineage is not rooted by default.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] super_gut:
Hello! Thanks for the great work and thanks for another update)!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Take a look at this safety net fix solution without magisk or root. It is developed by the lineageos team members.

Releases · luk1337/ih8sn

Contribute to luk1337/ih8sn development by creating an account on GitHub.

github.com

I am currently using a different ROM . So I can't test it right now. Can you please test and report here.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
To Pass SafetyNet, Build fingerprint has to be changed other than Redmi Note 5 Pro

If you take PixelExperienceROM for Whyred, It passes SafetyNet because it uses Pixel 7 Pro as a FingerPrint (Means your device identifies as Pixel 7 Pro)

I will try to build the ROM in user mode that may resolve safetynet (Currently its in Userdebug mode similar to all LineageOS build)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
if that doesn't affect battery life, and the current rom, perfect.

although I have no problem with the app of my bank. if with another, but doing the magisk, solved.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jd_dpgc:
What happens when you try to uninstall magisk totally? i am sure you see this option on the main magisk view. did your bank app still catch root?

If you havent. please try to flash magisk properly and then remove it. to see if it can solve your problem.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
thank you very much.

today day 22, I have entered to see if you had published new rom, and it turns out that it was already published since day 18.

I'm going to install it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yeah, i did that as soon as security patch got merged to lineage-18.1 branch

I will change title with build date, so that other can get quick information about last build date
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
grateful.

I just installed it half an hour ago.

everything is fine.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KzrKzr:
Im using the latest build of this rom with magisk now and can confirm some facts:

PROBLEM: bank apps detect root when the phone is unrooted;

PROBLEM SOURCE: 100% safetynet, because official lineage doesnt spoof/bypass safetynet (read here);

SOLUTION: spoof/bypass safetynet (ideally and hopefully built-in with the rom/manually with kdrag0n safetynet fix magisk module);

PRICE/CONS:

1. Some apps will detect your device login info as other device (hard to explain so i attach screenshot of my google device login).

2. Fixing it manually force you to root your device with magisk and install safetynet fix module.

3. If your phone is rooted (to use module), some bank apps (that i used) still detect root when i use official magisk (even with zygisk and enforce list activated). The solution is to root and install safetynet fix module with magiskdelta and activate zygisk, bootloop protection, magiskhide, and enforce sulist. Sulist is byfar more effective on hiding root and more convenient since it only allow root if u list that app on sulist, so all apps cant detect root by default.

And to answer your question, i have tried it and the answer is no. You cant root your device then unroot/uninstall magisk to fix this, because the problem is not with the 'root' itself. The problem is safetynet not passing.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I have uploaded new build with user mode today 2023-04-23

can you download that and check safetynet onnce
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
the only difference with the rom of the 18th, is the safetynet fix?

I installed the rom today, day 23, and it does not start.

It tries to boot, stays in the lineage logo, and finally restarts in recovery mode.

I went back to the rom of the 18th, but it doesn't start either.

What could be the problem?

on orange fox recovery say this: android rescue party trigger
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Sorry about that, I will delete the build

I just changed the build to User mode instead of Userdebug

But kept the kernel in User_Debug mode
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I am now trying to recover the system.

I have a backup from 1 month ago or so, but I don't know if it will work. it has been stopped for a while at 69%.

What can I do to recover the boot?

I have tried flashing the rom of the 18th. nothing.

I tried flashing the latest official rom. same problem.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
means ?

are you unable to boot into system ? or are you trying to restore the backup ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I try to start the system, but it does not boot.

I have flashed previous roms, and also the official one, with identical result.

now i was restoring a full copy, and it just stopped.

i forced reboot, restored only the most relevant partitions, and flashed again.

same result, it does not start. after a while, it goes back to recovery.

I don't know what you have touched in the rom, but at least for me it has corrupted everything.

I am now trying to delete all partitions, except the internal and external memory, and is installing the rom of the 18th.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I havent touched anything.

For building the ROM one has to provide command as brunch whyred

this will build the rom in userdebug mode by default

instead of this i made brunch whyred user

Can you please try respective old recovery (Means, for 18th build please flash recovery of that build)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Sorry again,

You may have to format the data which may erase internal storage
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
the backup I don't remember which rom it was from.

In the end, I formatted all the partitions, installed the rom of the 18th, and it booted.

But now I have put the backup (only the data folder) and it fails.

You say that if the backup is made in the rom x, to install that same rom?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I am able to boot 2023-04-23 build

Problem is with respect to new recovery (2023-04-23) which encrypted system partition

I flashed 2023-04-18 recovery and then flashed new build 2023-0423
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I figured it had something to do with encryption.

but I use orange fox recovery.

I have installed the latest official rom and gapps.

I will try to restore the data partition. to see if I recover my system.

so, the rom of the 23rd is encrypted?

If so, I will not be able to continue installing with orange fox recovery.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
ROM is not encrypted but recovery is causing the problem to system partition.

When i flashed 2023-04-23 recovery i was unable to see system partition (I think this is expected because user build doesnt have root access to modify the system partition)

Sorry for the trouble, I wont build any build with user mode and use userdebug mode.

For now i will test 2023-04-23 build (Which is build in user mode to verify the safetynet or root warning message)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I installed the latest official rom, and recovered the system.

The problem I have now is that I unlock the sim, but the screen lock code does not accept it.

let's see how to solve that.

What madness.

I have not needed to touch the safetynet thing, there is a mod for magisk that does it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
but i not used this recovery. i use orange fox recovery. problem is the same?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yeah, Even user build is fail to pass safetynet

Google Play Store still shows Device is not certified
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I finally recovered the system, when you load the backup, you have to remove the password, and it removes the password from the lock screen.

I have not lost much, but some data since February, which was when I did the backup, for sure I have lost.

Good thing I don't use my cell phone much. xd

it says to me: certified device.

I have magisk and the safetynet fix module.

please, sunilsuni, if it is possible, these small changes, that you test, it would be more convenient to indicate it in case someone wants to try, because if you do not touch anything, and it goes well, and you only update the security patches, it is the most stable.

because if I don't have backup, I would lose all my system.

I think it is safer to keep the roms stable on one side, and then testing on the other. and indicate that it is a test, so we know what to expect.

Thank you.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
Any new build here?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yes, Within 1-2 days

Waiting for May Security Patch merge changes (i can do that manually but still waiting for merge)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New build with 2023-05-05 May security patch and updated LineageOS source

lineage-18.1-20230510-UNOFFICIAL-whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] super_gut:
Thanks bro for your work! :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
Thanks for new update!! Btw,can u recommend a stable gapps build?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
You mean stable gapps ??

I recommend opengapps
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
yes.open gapps nano?phone became 100% stable with this rom,so i unfortunately i have to borrow it to my mom even if i love it so 😢
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
pico, nano, stock all gapps works fine
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
I think Open gapps is a little bit outdated at the moment. No updates for the last one year. Nikgapps is a nice alternative. I am currently using it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] wikwikXDA:
thank for update sir,,,, you best
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
i use nikgapps basic.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
installed without problems. thanks sunilsuni.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] wikwikXDA:
Nice BB. Use Full WIFI
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Xazu:
Thanks a lot for your effort, SunilSuni, I deeply rely on stable and monthly updated rom, and a LineageOS one is absolutely perfect. Your work is deeply appreciated, I hope I can use my whyred for more years. Thanks again for your work, and good luck with everything
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Thanks for maintaining and posting regular updates -

Downloading the June version. Did you make changes to the kernel , saw some discussion in other threads ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
No changes to LineageOS 18.1 kernel, Talk was about LineageOS 20 but couldn't find any way to solve the issue, Will try to work again based on the comments received from other user.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Thanks , Wanted to be sure before I dirty flashed , if there were any major changes
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New build with June Security Patch 2023-06-05

lineage-18.1-20230612-UNOFFICIAL-whyred.zip

Changelog :

Updated Chromium

Synced with LineageOS source https://review.lineageos.org/q/owner:haggertk@lineageos.org+branch:lineage-18.1
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
installed right now without any problems.

thank you very much for your work sunilsuni.

too bad we don't have android 12 or 13 on the note 5.

cheers.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] azz_kikr:
spark os has a build for whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
yes, but as far as I know it does not decrypt the data partition.

It does not work for me.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] wikwikXDA:
Wow... Fast Update , Great work, thanks sir
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Thanks :)

Tried LOS20 with the help of one user but kernel failed to build, will try to check that again on weekend

Special thanks to LineageOS team for maintaining the source
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AkshitGupta:
Hello, developer.... I am currently using Pixel Experience 13 Plus, and I was thinking of changing it too something else.. why? Because this rom I think is too heavy for whyred to handle , I see lags/jitters/stuttering too much, and for some reason around 75% of the ram is always in use (out of 4gb) even when there is nothing opened in the background.. so is there this issue in this ROM? Is it always smooth? Is the ram management good? Are you considering making a ROM of Android 12 or 13? (Shall I wait till that)..
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I have been using lineage on this phone for a long time.

I've had official versions first, and since sunil compiled this one, it's the one I use.

it behaves the same as the official one.

install and test.

it's the only way to check if a rom works for you or not.