yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] plusminus_:
You can do something like this by dialling *#*#4636#*#* > Phone information > select Phone 1 (should = SIM 2) under Select Phone Index and then toggle 'Mobile radio power'

I'm sure there's a quicker way though.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New update with February 2023 security patch (2023-02-05) is available

lineage-18.1-20240218-UNOFFICIAL-whyred.zip
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] alecxtra:
Thank you for keeping it updated 😃
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] duckyduck!:
how to pass integrity? tried play integrity fix but kernel string " lineage os " is banned. changing kernel works but causes reboots on my whyred, any fix
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] duckyduck!:
google blacklisted lineage os kernel name, is it possible to change kernel name?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] duckyduck!:
hi i found this for you look,

🔧 [MODULE] Play Integrity Fix (SafetyNet fix)

PLAY INTEGRITY FIX This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation. BEFORE YOU START: - Your ROM must be signed with a private key from maintainer, you can check with this command: unzip -l...

xdaforums.com
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] FantasyLand@:
For anyone wondering to try lineage os 21 on whyred.

Some steps:

1) Take full backup and download pe13 from telegram by alref.

2) Flash it by recommended recovery.

3) Download LOS gsi by andy from sourceforge.

4) Extract system.img from gsi.

5) Boot into fastboot and type fastboot erase system in cmd.

6) Now type fastboot flash system <system.img> and hit enter.

7) DO NOT CLICK ANYTHING, Disconnect the phone and press power and volume up. And from recovery format data and cache.

8) Reboot system and wait.

After this if you face bugs like like no camera, brightness just let it settle for a while it would be okay.

NOTE -----There is still fingerprint sensor bug.

In my openion it is best rom compared to other A12,13 and 14 roms.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] barbe31:
Interesting feedback but off topic.

You should move to the right place.

Thanks anyway
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] tunag:
Hey is there a way to install miui camera to this rom to shoot 1080p60?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
Thank you for the work, Sunil. Have you noticed that when recording videos, the sound is very low? too low. Can it be ROM problem?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Xiaohei233331:
lhdc doesn't work
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Say goodbye to LineageOS 18.1

LineageOS devs discontinue version 18.1 based on Android 11 after Google releases final security patch

www.androidpolice.com

Great work by Sunil, however these security patches are coming to an end, need to gear up for Los 20
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yeah, Will probably build one last LOS 18.1 build
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] tunag:
Are you planning to continue building with a different version like LOS19 or LOS20?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
we are running out of updates.

it would be interesting to upgrade to lineage 19 or 20, but I don't know how difficult it is.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] phoenix1778:
I got it working.

I downloaded ..... bvn...version of lineage 20.

To tackle brightness and camera issues, toggle on and off brightness curve and force enable camera2 api hal3.

Also there is no fingerprint sensor bug in 20 unlike 21, everything is working smooth and also it installs it in encrypted format which is plus for me.

Finally we can squeeze more time from this device.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] :
I'm aware that there are other newer ROMs for this device, but I'm reluctant to switch because usually they require a specific non-TWRP-based recovery. My whyred still refuses to connect to my computer via USB despite already replacing the port, so changing the recovery is kind of risky.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
don't take my comment badly, but I prefer the project to be led by someone with a certain reputation in the forum.

but, if you are working on it, talk to sunil, between the two of you something interesting can come out if he wants to do it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fungko8888:
Last week, the banking app suddenly detect my phone is rooted. I run SafetyNet test which told me CTS profile match failed. May be google start ban the kernel name contain the string "lineageos". In my other device also with Lineage OS (Android 10) installed, the kernel name does not contain the string "lineageos" which is still pass the CTS profile match test.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New update with updated chromium

Probably last lineageos18.1 update

lineage-18.1-20240331-UNOFFICIAL-whyred.zip

Thanks to everyone
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
thanks for your hard work.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] super_gut:
Thanks SunilSuni great thanks!​
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] plusminus_:
I flashed the February update recently and have just discovered that I cannot access Android/data (with Solid Explorer or MiXplorer) any more! It seems to be related to restrictions in the February security patch, now I am wondering, would replacing DocumentsUI with a previous version (e.g. with Magisk) restore this function, or is this something at a deeper level - would I need to go back to the January update if I wanted this vack?!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Djsam92:
Thank you @SunilSuni !

A small request if possible, since few months some keyword inside kernel release string has been banned in Play Services Integrity check (see Play Integrity Fix). Could you please release a newer build with a kernel release string which doesn't contain any of the keywords listed in the link above (there are also some patches listed in the linked post)? 🥺 Thank you anyway! 😁
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Why??? I don't need that! If you need it than fix it by yourself, don't beg others to fix your problems with Google Cr@p... I don't use this and will never use it, so why op need to fix it?

Go cray to Google or go back to stock ROM if you can't fix it by yourself!

Use search and you'll find a tons of modules to do same thing.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Use termux with su (y).Access Granted!

Lol soo easy to bypass this Feb security restrictions... basic of knowledge of Linux, all you need is root.

Well that's the reality

https://www.securityweek.com/critical-remote-code-execution-vulnerability-patched-in-android/
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] plusminus_:
Interesting. I have actually been using a different kernel with this ROM - Extended Kernel, which has Eas in the release string and I currently pass Basic/Device Integrity with PIF so it seems I have been lucky!

(I wondered if apps could check for things like this because there is one that does not behave properly on my phone though I have done everything I can, even though it works fine on a different phone also running LOS 18.1, but unrooted, with Momo finding far more 'details', hmm...)

Certainly an option, but I flashed the January ROM again for convenience

:p I'll... deal with this vulnerability later 😅 (nice website btw)

However, there seem to be some restrictions here as well - the /Android/data/ folder on my external SD card appears to contain a list of 0B files, instead of folders. ls -l says they are all 4KB, and ls -d produces nothing (i.e. they are not directories) 🤔
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
In termux you need root as su and than you can access to all files... Also if you use basic file manager aka build in file you can access to SD card android/data.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
thank you!!! last generally, or last 18.1? 😮‍💨🥰
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kos25k:
Today phone is out of sudden at bootloop.i have installed nockgapps core.how to solve this?did anyone face the same issue? Also latest build is qpr1 or qpr2?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] duckyduck!:
Reflash los 18.1 rom file(.zip) and mindthegapps, clear dalvik-cache, hope that it boots up.

Don't flash magisk after this, first make sure rom boots up and works.

With lineage os builds, if said by dev to use any gapps like nikgapps then sure use them but if not then fall back to mindthegapps.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] plusminus_:
I have lost device integrity in TB Checker recently, and I'm not sure why. I have installed the latest Play Integrity Fix but I'm only getting basic.

Is this ROM signed?

https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-88780835

https://github.com/chiteroman/PlayIntegrityFix/issues/331#issuecomment-2134169952

https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89526334

-----

Actually, the only problem this recent change has caused me is with my main banking app. I have had to install LSPosed and HMA again, but it's working once more.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
@SunilSuni - Would be great if you could try updating LOS 20 with the latest security patch , again if you have the time. Thanks for the work.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] xfhfr:
Hi Mate! Thank you for maintaining LineageOS for whyred!!! Great work! Keep it up and don't care for the android version. Just keep updating security patches! Thanks!!!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I have been trying to build LOS 20 for more than a month now but build is failing at Kernel.

I will try to check the issue on weekend
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Thanks :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jianjianus:
Thanks, looking forward to experiencing it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
There have been sdm660 activities from Sebastiano and Michael for Kernel 4.19
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New update with February security patch

lineage-18.1-20230218-UNOFFICIAL-whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] emlo16:
Bluetooth audio not working.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Agree, LDAC not showing up or working in BT settings
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
LDAC no longer working on whyred (#3396) · Issues · LineageOS / issues / android · GitLab

After flashing today's update (18.1-20210426-NIGHTLY-whyred) when connecting my LDAC-enabled Sony WH-1000XM3 with HD audio enabled, the phone (Xiaomi Redmi Note 5 Pro) correctly picks the LDAC codec. However...

gitlab.com
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I thought issue is because of vendor blobs as i was using different vendor blobs

Now rebased vendor blobs to official lineageos and rebuild the package today

If issue was there in official build then it will be present in this unofficial build also.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Please do share your updated link once you've repackaged
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Here is the link to Unofficial build which has vendor blobs based on the last official LineageOS 20221024 release.

I installed today's build over my previous build (Which had different vendor blobs) without any issues.

lineage-18.1-20230222-UNOFFICIAL-whyred
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Thank you for looking into this , appreciate your quick turn around on this. Will keep you posted on how this goes.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Seems like the build has changed , the first few screens
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Thanks for checking out the build

Now everything should be similar to official build.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Bluetooth is working in this recent build . fyi
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jianjianus:
>fastboot reboot-recovery lineage-18.1-20230222-UNOFFICIAL-whyred.img

Reboot to recovery

format data

format cache

format system

Reboot to recovery

>adb sideload D:\lineage-18.1-20230222-UNOFFICIAL-whyred.zip

>.................

>E:error 21

The installation did not go smoothly, at the appearance of error E: Select Yes, then another error E:

Reboot to system

No automatic installation. Finally reboot into the system
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
Latest works fine , back to the original build , bluetooth working
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Thanks for testing bluetooth fixes.

It mightve resolved in official vendor blobs
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Can you please tell me which OS you were using before trying unofficial lineage os build ?

Can you try below steps and check if you still face problem

fastboot flash recovery lineage-18.1-20230222-UNOFFICIAL-whyred.img

fastboot boot lineage-18.1-20230222-UNOFFICIAL-whyred.img

format data

format cache

format system

Reboot to recovery once

adb sideload lineage-18.1-20230222-UNOFFICIAL-whyred.zip

Optional : adb sideload open-gapps*.zip

wipe cache

Reboot to system

If problem persists, please try again by downloading the package once again.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jianjianus:
The MD5 is correct and the installation steps are fine, the problem is that the installation does not complete automatically and prompts an error. Tried several times and confirmed the problem.

I re-edited the original post.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] yossSP:
Hi everybody, this Lineage ROM comes with a 4.4 kernel. Anybody knows if it can work with a 4.19 kernel?

Thanks in advance.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] iulisan27:
Hey i'm having random reboots from time to time. It started happening after a couple of days and i don't know how to solve it. For the time being i reflashed to the new version.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
hello.

I have been using this rom for several days.

I come from the official 18.1, so it does not change much.

what i have noticed, so far, important for me, is that the battery, in the same conditions, does not reach 2 days of use. with lineage 18.1 official, i'm doing 3 days of battery. i use this mobile little.

What could be the cause?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
with the day 22 version, my battery lasts 2 days.

with the version of day 18, it lasts me about 3 days. that is, like official lineage 18.1.

something you have touched in the most updated version, that makes the battery drain faster.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yes i also noticed that.

20230218 version build is based on the different vendor blobs

20230222 version build is based on the official lineage vendor blobs (Vendor blobs extracted from official lineageos build 20221024)

Its strange that official vendor blobs is causing battery drain

In next version i will switch back to previous vendor blobs
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] sayyedmohseen:
Can you please help me with the specific settings for this, as facing same issues
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
Wasn't the 22nd version released to fix a problem with bluetooth?

that could be where the problem is coming from.

I don't use bluetooth, except when I use my car.

I always have it turned off.

but I can confirm, and I confirm, that being on the official rom, it lasts me 3 days, and using the day 22, it lasts me 2 days.

now i have put yours from the 18th, and everything is back to normal.

The bad thing will be when you take the next update, but come that day, we will try.

isn't it supposed that this rom that you prepare, is the official one adding the security patches only?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Yes i am just updating lineageos source to get security patch and other system app updates.

22 build is supposed to be same as official as everything is build based on the official sources (device, kernel and vendor)

I will clean up everything (soong build leftovers) and rebuild once again
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
then what difference is there in the rom of the 22nd with respect to the one of the 18th?

it is assumed that the day 22, if it is the same as the official, should go exactly the same as the official, but it does not happen so.

that's why I have now the version of the day 18, because if not, I drain the battery faster.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quest2012:
I think the carrier service is getting replaced when you reinstall the ROM , so do not have the carrier service app replace the default set up , I cancelled it from play store
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] chefuik:
Hi, as it is now prevent applications from launching when the device is turned on?

(as in LineageOS 16, Settings > Security & location > Trust > Privacy protection > Long tap on app > Launch on device startup > Deny).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] filipe_m:
@SunilSuni thanks for your great work. After lineage official ends i move for A13 roms. I tested almost all and the battery drain was really unbelievable...

Finding your lineage releases saved my whyred... Great work!!

Any change to port Lineage 19 or 20 for this device?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I had zero luck in building LineageOS 20, Because my build always failed at kernel

I almost tried every kernel out there but all kernel failed to build with LineageOS 20 and i didnt get proper time to research so i halted that.

I will see what i can do for successfully building lineageos 20 from next week onwards
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] filipe_m:
I have strange battery behavior:

I charges to 100%, I disconnect from the charger. It stays at 100%, with the internet off and without any use until the next morning. The next morning, 7 or 8 hours without any use, it has 90% battery. After turning on the internet, checking the email and a few more minutes of use, it quickly reaches 80%. From then on it has a more normal decrease and when it gets close to 15% the drain is normal for me: around 20%.

I changed the battery 4 or 5 weeks ago, I don't think that will be the problem.

I also noticed something else:

- If I let the phone run out of battery and turn itself off, when I plug in the charger (with the phone turned off) I have information about 50% of battery available. If i turn it on, the available battery information is roughly the same... it lasts for about an hour and it turns off due to lack of battery... if i connect the charger, i can repeat the whole process again... many times

I already followed the procedure to calibrate the battery:

"Fully discharge the phone until it turns itself off.

Connect your phone to a charger and, without turning it on, let it charge until the screen or LED indicator reads 100%.

Turn off the charger.

Turn on your phone. It is likely that the battery indicator will not indicate 100%, so reconnect the charger (with the phone on) and continue charging until it indicates 100% on the screen as well.

Disconnect your phone and restart it. If it doesn't show 100%, plug the charger back in until it shows 100% on the screen.

Repeat this cycle until it is at 100% (or as close as possible) when you start it without being plugged in.

Now let the battery drain to 0% and let the phone turn off again.

Fully charge the battery one more time without interruption and you should reset the Android system battery percentage."

But without success. Any tips?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
the method I use to reset battery stats is as follows:

charge battery to 100%.

use the phone until it turns itself off.

charge the phone to 100% again.

without disconnecting the charging cable, delete the batterystats.bin file.

disconnect the cable and check.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] filipe_m:
I will try it!! Thanks!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
I always use this method, and several times, in several phones, when the battery is fine, but does strange things, due to so many updates or flashing, I do it.

I also do it, even if the battery is fine, every 6 months or so.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] iulisan27:
well the random reboots and crashes started happening again after 2-3 weeks of using this rom. I get this same behaviour on various roms like pixel experience and crdroid. I don't know why this happens
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Can you tell me which build you have installed ?

Is it 20230222 build ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] iulisan27:
Yes. The previous update had the same issues
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
These are the different between old vendor blobs and Vendor blobs extracted from 20221024 LineageOS official zip file

Vendor blobs used in official LineageOS has Energy, Performance and Thermal related files which are missing in previous vendor blobs

refer to attached txt file

Previous vendor blobs used in 20230218 and older builds--> /home/sunil/Downloads/vendor_xiaomi_whyred-lineage-18.1

Vendor blobs from LineageOS 20221024 build --> home/sunil/android/lineage/vendor/xiaomi/

I will switch to previous vendor blobs as it has good battery life
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
hello. i don't know if others have noticed.

that's what I can tell you.

with the rom of the 18th, I have a similar duration to the official rom.

With the rom of the 22nd, it lasts less.

that's why I have installed your rom, but the rom of the day 18.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I think i have corrected the battry isssue

There was some difference in sdm660-common source

Now battry remains on 68% throughout the night

Initially 2% drop from 70 to 68% but after that battery remains same

Now build is using everything from the official source including vendor blobs from official LOS build 20221024

This is my test build with chromium webview 113

Because official lineage chromium_webview apk file is corrupted and builds are failing
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
thank you for your progress.

I have left the phone on standby all night and it shouldn't drop that much.

When you release this month's update, we'll try it.

greetings.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
New update with March Security Patch

lineage-18.1-20230322-UNOFFICIAL-whyred

Synced with lineage sources

Updated chromium webview version to 110 (Couldnt update to version 111, as the build was failing)

Fixed battery drain issue

Everything is based on the official lineage source

Vendor blobs from lineage build 20221024
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
I have re-uploaded the new build with some of the lineage-18.1 merge changes

https://review.lineageos.org/q/owner:haggertk%2540lineageos.org
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] TFT69:
hello. this latest version, the re-uploaded one, will it behave the same as the previous one?

i.e. today you uploaded the update, and now this one.

in terms of battery life, will they behave the same?

I have installed the one you uploaded at 9:34am.