yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] billy996:
Bro, I really appreciate all your contributions to this.

There are fewer and fewer phones that support Lineage, which is the only reason to buy it, regardless of the price of the phone itself.

Regarding GAPPS, I'm looking forward to the reserved space in future builds.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Hi everyone, just wanted to let you know that the latest builds have fixes for FPC fingerprint sensors, DT2W, headphone jack and added reserved space for GMS. They're available for download at the usual location in the original post.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] jz_b:
Hi all :)

First of all big thanks for your work.

After clean install (GMS, 24-Feb-2024) tried to install Gapps (first Mindthegapps and then NikGapps Core), In both cases - not enough space to install.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Don't try to flash GMS over a build that already has GMS. There's no space reserved, and there's no point in doing so. Either use the GMS build as is, or flash GMS over the vanilla build.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] jz_b:
Reflashing now, thx for clarification.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
@Adrianyyy does it make sense to support lineage with a donation instead of you, as long as it isn't official?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] jz_b:
After some testing evertything look great but i have one issue i want to mention. There are small brightness flickering. I can see that effect on low levels of brightness, little screen brightness pulsations. I realized that switching to 60hz in screen settings helps. Is this something to improve? I didnt saw this on stock however i didnt using it on stock rom much in unlock period (dont like miui/hyper).
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Aaand yet another update! I published a Lineage 21.0 build (based on Android 14). You can find it at the download link in the original post. This update also pre-includes the required firmware.

Happy flashing!
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
I personally didn't put up a donation link in the post because I don't ever want to feel indebted to the community. I do this because I enjoy it and because I love tinkering with phones (and particularly kernels), but not because I intend to get any financial gain.

Supporting Lineage is a great way to ensure that the custom ROM with the highest quality control and best maintainance history remains updated and can host their CI that does weekly builds. If you can, drop them a donation. It'll be put to better use than any money I would receive (which would probably go towards new devices). Sorry for the essay! :LOL:

edit: I have created a paypal.me page, but please only use it as a means to say thank you. I don't require you to donate and neither do I want to receive money from people who can't afford it.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] kosmatyj:
So you inserted required firmware into zip-file, but still we need to flash 3 files separately. Why don`t you build a full installation zip for recovery?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
3 files...? All you need to do is sideload the ZIP in the recovery and you're good to go. The boot, dtbo and vendor_boot image are only required to get the recovery booting when you flash for the very first time (because recoveries don't bundle a kernel on this device).
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] kosmatyj:
Ahh, got it. So if I already on a custom ROM and TWRP or OF Recovery is installed all I need is just flash zip with sideload. OK! Thanks
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] lizard999:
Hi Adrianyyy, thanks for your great work.

Might I know, if Google Wallet and Banking app work with this version without root? Thanks.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Not sure about Google Wallet, never used it so I don't know if that performs play integrity checks. I would assume it does, which means it's likely not going to work without a spoofing module. Same for your banking apps, every bank does it differently; some check for root, some don't, some do play integrity checks, some don't. Your mileage may vary and there's no definitive answer. The only thing I can tell you is that safetynet and play integrity will fail out of the box.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] lizard999:
Understand, thank you.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
Which region firmware is included? Does it matter if my phone is from a different region than the provided firmware? I see there're firmwares for Europe (EU), Global (MI), China (CN), India (IN)

Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
The reason why it's included is because it doesn't matter which region your device is from, it works on all and you don't need to think about it anymore. The bundled firmware is the global one.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Great Summer:
请问这个rom是否有任何影响使用的错误，如果没有，我稍后会尝试刷新它。感谢开发人员的努力。
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] SageDroid:
Thank you so much for your work, you are incredible! Is the zip meant for a dirty flash (coming from the latest LOS 20 build) or is a clean flash required?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Should be possible to dirty flash, although I haven't tried it and would still recommend you to make backups.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] bosco chung:
The download link doesn't work, Chrome says that the file doesn't existView attachment 6079217

Firefox just downloaded 25MB

View attachment 6079219
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] bosco chung:
Even tried Internet Explorer and VPN

View attachment 6079223
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
It's working here (Brazil, no VPN). Even verified the checksum file and it's passing. Downloaded lineage-21.0-20240306-UNOFFICIAL-marble.zip around 2024-03-12 19:30 UTC. File contains 1.691.073.896 bytes / 1.691073896 GB / 1.574935295 GiB.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] townkat:
1. does this work with twrp, can it be made to work with it?

2. can you also include please play integrity fix? (the easiest app to test is mcdonalds app)

3. can you also please fix double tap fingerprint gesture, broken in official lineage afaik?

4. same as 3 for adaptive brightness?

thanks👍🙂🦫🐒
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
1. I don't recommend (and support) TWRP for various reasons but it will work

2. No, I will not modify the LineageOS sources. The plan is to go official, not to build a "LineageOS+++"

3. There is no official Lineage

4. I'm working on it
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
then for sure I would not donate to you, otherwise you get rid of your F5 and don't develop further for marble ;)
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Gnzlo:
Any known problems receiving sms?

I answer myself, by deactivating the SIM and activating it, the sms will arrive again, it seems to be a failure that also CrDroid had.

Anyway LineageOS is an amazing build, thanks Adrianyyy
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] townkat:
1. please give at least some reasons if you can, it would be of value for our understanding

2. some extra version maybe? altought i think 2 versions should be enough, a clean one and and one for day to day use with gapps, play integrity and other useful fixes, i think many would need something equivalent of the official rom, which would just work

3. ok, but would you also please try to fix that too ? (fingerprint double touch gesture)

in any case, thanks a lot 🙂👍🐭
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] V I N O D:
you can do play integrity & other things you mentioned by flashing kernelsu/magisk modules. it will be better to have official lineage os build suitable for daily drive for this device than having more & more variations which can be simply done to your taste with flushable modules.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] townkat:
that's why i said, 1 version for thinkerers, 1 for users, what if i want banking apps and no root?, some banking apps detect root no matter what

and even if someone take the moding path, then the questions still remain, which kernelsu, how to flash... and the steps are not that easy, many involve using the pc which is not that convenient sometimes, if you just want something working that's not a solution
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
I'm sorry to say that, but if you just want something easy and working , then you're probably better keeping with stock ROM. Even custom ROMs that include fixes can fail due to changes on Google and 3rd party apps.

If the dev isn't willing to (from his messages I believe he is not) provide modified versions, you'll probably have to use another custom ROM, or wait for someone to develop a modified LineageOS for marble.

Personally I'd prefer the dev to develop and maintain the LineageOS version sans modifications and/or even bringing it to similar devices than investing time on separate version(s). I believe there's higher probability of organizations basing their work on LineageOS when/if it becomes official. Then we will have more options.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
1. LineageOS recovery is included and provided for flashing the ROM and verified to work. TWRP's code is (in my opinion) extremely ugly, and most builds of it use closed-source trees (I'm looking at you, SKKK). Stay away from that, it is a security hazard.

2. No, no matter how often you ask. My time is limited, and I'll invest it into improving the device support and fixing bugs rather than ricing Lineage for you

3. What do you need that for?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] townkat:
1. really apreciate your insight into that

2. i never thought to repeat the question, i did not try to ask again, just to extend the question a bit/give some more context

3. i was using it for flashlight, i find it very convenient, works with screen on/off, does not wear power button, i don't know if it uses more battery, that would be a con. in original rom that and 3 finger screenshot were some of the few cool and useful new things. and this option is there, in lineage os, having it non functional is like a bug right?

thanks again 👍🙂

edit: added point 2.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] fpozar:
Edit: mistake
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] V I N O D:
flash melt kernel & install ksu apk.

melt is working fine on AOSPA Uvite.. don't know about LOS.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Please don't advise people to flash kernels that violate the GPL and aren't even compatible with this ROM. If you want to root, use Magisk.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] duLouser:
So probably a stupid question, how exactly do I get rid of this bar ? I already deactivated the navigation bar ... Fresh los 21 install on the f5 using gestures...

View attachment 6080074
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Gnzlo:
This is IME space and in LineageOS it cannot be disabled.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] duLouser:
Well, that's unfortunate, but thanks for the reply.

Also, I'm having trouble receiving SMS, which does seem to be a longstanding issue of lineageos...
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] kuroya2mouse:
I have same trouble on my phone.

and what's about this margin in status bar? it doesn't look semitrically
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] eatnooM:
A workaround for SMS is to disable your sim and reenable it - for my device the sim must then be removed and reinserted to be seen and this fixes SMS until I reboot. Not ideal but it's better than nothing
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] duLouser:
I know for a fact that on a certain Rom that is based on lineageos these things are fixed (as far as i can tell)...

@Adrianyyy

The sources you linked are for cupid, not marble, which obviously uses a different SoC (sm8450) than marble (sm7475-AB). Am I right in assuming that since they are so similar (in fact, i recall reading that a sd 7+ gen 2 is just a rebranded and slightly downclocked/cut down sd 8 gen 1) that the same device/vendor/kernel files can be used for both?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
...the sources are for cupid? what? Our github organization contains device trees for multiple devices, cupid and marble are both supported and use the same common tree. For instructions on how to build using these trees, go to the development question post that I linked in the bottom of the original post.

The Snapdragon 7+ Gen 2 is a downclocked Snapdragon 8+ Gen 1, which is a Snapdragon 8 Gen 1 with higher clocks and some Snapdragon 8 Gen 2 technology. All 3 chipsets are part of the same family though, so it only makes sense to support them all in a common kernel and device tree.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] aqwgtj:
1. make sure to SMS normal must be to disable your SIM and re-enable it after restarting machine eachtime, either no SMS can see.

2. The window colour can be controlled independently of the system mode, you can see attachment for 3 pictures about this

3. can we add a reduced gap functionality in 3 button navigation like lineage 20 or crdroid 9.13?

Thinks for you working, Best Regards
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
Do you feel that "going official" is near? I'm thinking about waiting for the official of you instead doing the fresh start two times.

Not many new xiaomi devices got ever to official. But it would be so nice if it's on the official roaster.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Revontheus:
Not all of the Kernel modules released by Xiaomi for this device are open source, hence I doubt this device will ever get official status. LineageOS requires everything to be fully open source, including all kernel modules.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
as I correctly remember they deploy their own firmware
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
Our kernel uses only source built kernel modules, that is not a blocker.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
You don't need to install fresh once this goes official, I will provide signature migration scripts.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] dostname:
I think there is no vowifi in this rom. This is the main reason ı can't use this. Celluar signal is very low on my location.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
Thanks for this fabolous outlook. Remember that I used that on beryllium :)

not sure if it's an explanation.. in Switzerland for instance as far as I see no LineageOS has vowifi, because swisscom spread that information only to "official" vendors. Which lineage unfortunately isn't.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] dostname:
I'm using vowifi all poco f5 roms except this.

When ı use mi10t(official support devices) there was vowifi.

I hope dev can add vowifi with the next update
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] ngr.hd:
I just want to thank you for making this ROM and going for official status.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] luissalas:
Great job.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
Which camera and config are you using?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
Hi! Is there any way to make sure to SMS without disable and re-enable SIM by myself after reboot the phone?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
It dosen't work... I can't receive any SMS until I re-enable SIM every time I restart the machine.

I use the marble version ROM with magisk root
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Adrianyyy:
A new release with UI performance improvements and SMS fix is now available! It adds burn-in protection and also re-adds the charging control from the A13 builds.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
...and so far it works. Thank you
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] 鲁迅说得对:
Any chance of becoming an official lineageos?

🙏🙏🙏
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Blank504050:
The dev has already answered that question.

Look on the first page
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
Oops... The new ROM works well, but it bumps after flashing boot img fixed by magisk
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
Maybe I need the newest version of <boot>.img?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
Solved! I have extracted the boot image from the latest ROM via payload-dumper-go, and fixed it in magisk. Then I reflash the boot image and it works perfect, including Root
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
BTW, thanks for your hard work! I really enjoy the perfect ROM!
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
You could try to preserve Magisk after OTA update by restoring the images before installing and then after OTA finishes, install Magisk to inactive slot. I'm gonna try it and come back to tell you the result.

And yes, the boot image to patch must be the same of the installed build.

OTA Upgrade Guides

The Magic Mask for Android

topjohnwu.github.io
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
It worked, although for some reason Magisk didn't make a backup of my stock boot image when I first installed it. So I've used some commands as root to create that backup, which is needed to use the option to uninstall magisk (restore images).

Probably Magisk didn't backup my stock boot image because I directly flashed the patched image instead of first booting into it. I'm not sure, the official install guide tells to flash, reboot, launch magisk, click the prompt for environment fix and reboot.

Anyway, here's step by step what I've done:

Magisk app/Uninstall/Restore Images

Got message "Stock backup does not exist!"

Used magisk script to backup:

# place boot.img into /sdcard/
# boot.img must be the same of the
# current installed ROM

cd /data/adb/magisk
cp /sdcard/boot.img stock_boot.img
./magiskboot cleanup
. ./util_functions.sh
run_migrations

Now it created the backup:

ls /data | grep magisk
magisk_backup_f5f873596b4afda95319aa34d922fa5ac76ac5c5

And then restoration done successfully through Magisk app. DO NOT REBOOT now or you will loose root.

Install ROM zip through system updater

Settings/System/Updater/Top Right 3-dot menu/Local update/select the ROM zip

Wait for it to completely finish and DO NOT REBOOT

Installing took me about 6min

Magisk app/Install/Install to Inactive Slot (After OTA)

It correctly created the backup for the new ROM (e29475...):

ls /data | grep magisk
magisk_backup_e2947530b5c23d6563604354113b73b35d90f6f9
magisk_backup_f5f873596b4afda95319aa34d922fa5ac76ac5c5

Now the next OTA update will be easier, won't need to run the previous commands, just touch Uninstall/Restore Images

Reboot

UI is definitely smoother at 120Hz now. 60Hz is still a little bit laggy/stuttering.

Unfortunately LSPosed stopped working after this update, even after uninstalling, rebooting, then reinstalling it. There's the usual notification saying it's loaded, but touching it won't launch LSPosed, there're some error messages in the log, I'll have to look into this later...

Here're the logs if anyone is interested:

Spoiler content hidden.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Allen_Wu:
Thanks a lot! BTW LSPosed stopped working for me too
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Silac_8:
First of, thank you for developing LineageOS for our device.

Are lineage 21 builds vanilla or GMS?

If vanilla, which Gapps you recommend to flash?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
Standard LOS procedure, for beryllium:

Upgrade LineageOS on beryllium | LineageOS Wiki

wiki.lineageos.org

Manually upgrading LineageOS - Point 3​

Redirecting…
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] EmPiFree:
It is said in the first post at the bottom:
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Great Summer:
Hi,what are the gaps between it and the official version, or do you think the official version is still far away?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
This one is working:

GitHub - mywalkb/LSPosed_mod: My changes to LSPosed

My changes to LSPosed. Contribute to mywalkb/LSPosed_mod development by creating an account on GitHub.

github.com
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
I believe this is good news for us hoping for official:

EvolutionX switched to LOS tree

[ROM][14.0_r53][marble][OFFICIAL] Evolution X [07/04/24]

Evolution X 9.2 for the POCO F5 / Redmi Note 12 Turbo [marble] /* * Your warranty is void. Or valid, probably? * * I am not responsible for bricked devices, dead SD cards, Ebolation X, * thermonuclear war, or the current economic crisis caused...

xdaforums.com
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Blank504050:
That's awesome. Hope other roms follow soon
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] billy996:
Bro, Could u add the IFAA to the rom?

https://review.lineageos.org/c/LineageOS/android_device_oneplus_msm8998-common/+/216705
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] QingKongBaiYu:
and also SoterService for WeChat fingerprint pay
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] diegopl2:
Hi, what is the advantage for a custom rom on going with LOS tree? Thanks
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
For them, I believe they should have less issues/bugs because of open source kernel and modules, that's what the dev of EvoX said (at least what I understood from what he said). I believe it should be easier to maintain, since updates on proprietary stuff could potentially break a lot of stuff and be hard to fix.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] MacFly76:
Hello!

Coming from A14 PixelOS, what am I supposed to do to avoid the bootloop when flashing this rom please?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
I believe you can just follow the OP guide on the first page of this thread. When I did it phone was on MIUI and there was only the 2024-03-06 build. Now there is the 2024-03-06 and 2024-04-01. The guide says you must flash boot, dtbo, vendor_boot and recovery. Currently those images are from the 2024-03-06 build, and the latest full ROM zip is 2024-04-01. I didn't test it myself, but I believe you can flash those images and download the latest 2024-04-01 full ROM to sideload from recovery, it will install the new version of those images.

Since the dev didn't say anything about it, I believe the provided recovery should work out of the box, but I heard that other recoveries shared/provided in this forum wouldn't work (touch) when using AOSP based ROMs. If for any reason the provided LineageOS recovery don't work for you I believe you would have to flash latest HyperOS then proceed with the OP guide.

But I believe if touch doesn't work on recovery you could just use volume buttons to navigate.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] NamenIos:
It's now on the lineageos gerrit for picking it manually: 389135
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Lakshit.5:
How is the idle drain and overall battery performance compared to stock miui.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] youvedone:
Don't know for stock... but fully ok for me
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] Lakshit.5:
Hmm fine

Also only reason im not able to switch is due to camera and poor display quality compared to stock maybe Ill have to wait for sometime anyway thanks!
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] conceded:
What do you mean by poor display quality?
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] w_tapper:
colours probably not as boosted as miui so he thinks its worse