yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] :
I have collected samples about issue when you use swipe up. I have found a way to reproduce this always. Here is what i have done:

- make sure you are using gesture navigation for LOS nav, hide "Navigation Hint" and

- opened Telegram FOSS

- went to "Saved Messages"

- opened keyboard and tried typing something

- swiped from bottom open to display list of all apps

System almost always hangs there. Now I have tried collecting logs via logcat and I have attached them here:

0xBin

Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.

bin.0xfc.de

One note: this is not happening when you have something to occupy space at the bottom of the screen like navigation with 2 or 3 buttons at the bottom. Full gesture based navigation with "Navigation Hint" is not enough tho and it can expose same bug. I thought it would take longer to identify this but it was quite simple. This same issue is happening in other programs as well however i have seen it mainly in Telegram FOSS so it was easier for me to capture it from there. Other users might experience this in other places of the system.

@althafvly i cannot comment on other LOS devices with different builds but this bug might be affecting all users if it is related to LOS launcher.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Darkmasterhk:
Wish I would have seen this before figuring it out for link an hour myself...
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] barturblits:
Running 22-07 version of LOS with microg and have a small bug in the last couple of versions. Running on 60 Hz is basically not usable. Extreme stutter and lag. In both browser as the entire UI and apps. 120 Hz is smooth and normal.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] RCkiller:
You can check with AIDA64 which firmware version is running. Check the fingerprint section under the Android tab.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] 天使的练:
Required firmware version must be based on MIUI 13.x.x builds (Based on Android 12).

V13.0.5.0.SKHCNXM 12.0 China

V13.0.4.0.SKHINXM 12.0 India

V13.0.3.0.SKHMIXM 12.0 Global

Others flash region specific firmware MIUI 13.x.x.x 12.0 (eg: Europe, Indonesia, Russia, etc..)

i fix it,look this.don't update MIUI 13.0.6.0
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] renaldofreire:
Could someone help me solve this problem with the CTS Profile Match? I am having trouble accessing a credit card app that does not accept custom roms, and I believe it is related to this error below.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Boracho:
Did you change the fingerprint of your device with props config accordingly?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] RCkiller:
Use Magisk Delta instead, it's a fork that still has Magisk Hide. I use bank apps and NFC payment with that, despite failing SafetyNet.

Props config passes CTS, but the latest fingerprint it has is for Android 11 for the F3. It works, but I don't know whether it may cause problems.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Make sure you are running correct firmware - MIUI 13.x.x builds (Based on Android 12).

- For Redmi K40 China V13.0.5.0.SKHCNXM 12.0 China

- For MI 11X India V13.0.6.0.SKHINXM 12.0 India

- For POCO F3 V13.0.3.0.SKHMIXM 12.0 Global

Note: Newer/older firmware than this may or may not cause any issues, so it is not recommended.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] KardingVerdugo:
having an error for setting up work profile

please help.. No Connection even though i have a wifi connection
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] CiupaSs:
sound is not working with V13.0.7.0.SKHEUXM version
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] renaldofreire:
I am trying this guide, however, when I use the props command in termux, it doesn't work. Do you have a tutorial for beginners?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] renaldofreire:
Thanks for the recommendation. Some banking apps work, I'm having trouble with a single one that refuses to start in Custom Roms. I'll try that Magisk Delta option if I can't edit change the fingerprint.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] RCkiller:
Run su first and then run props on the elevated terminal. Then 1, f, 22, your version from 3-8.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Use V13.0.6.0.SKHEUXM
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] booci:
I can confirm this. Video is playing very very bad with no sound.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] booci:
Will you release a newer version? This is old and does not contain the newer commits.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
https://github.com/althafvly/ih8sn/releases/download/alioth-ih8sn/ih8sn_adbroot.zip
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] renaldofreire:
Thank you very much! I was able to solve the SafetyNet tests, everything got the status success. Unfortunately it was not possible to solve the issue of this one application not working on custom roms. Do you think Magisk Delta is still worth a try?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] booci:
latest doesn't pass "CTS profile match". This works great.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Thanks for letting me know. it should be working now. Updated links
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] booci:
Yes, it works now.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] BigbyKun:
is this rom spoofed as pixel 6 pro for unlimited google photos?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Updated build is UP (Check OP for link)

- Based on android-12.1.0_r2

- Some features are up (like expandable volume panel)

- Fixed recovery assert issue

- https://download.lineageos.org/alioth/changes/
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Updated build is UP (Check OP for link)

- Based on android-12.1.0_r4

- April security patch

- Fix for slow fp wakeup

- New lineageos icons

- https://download.lineageos.org/alioth/changes/
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] nokulan:
I am new to XDA and created an account to ask you a few questions about your LineageOS ROM and the Xiaomi Poco F3 device. I apologize if these questions sound misplaced as I don't know XDA's forum culture yet.

I have been looking for a while for a device that's at least somewhat protected against water ingress and supported by a custom ROM in order to get rid of Google's prying eyes as good as possible. I am very glad to have found your LineageOS ROM for the Poco F3.

The official LineageOS Wiki (https://wiki.lineageos.org/devices/alioth/) says that the following devices are supported:

M2012K11AC

M2012K11AI

M2012K11AG

In Switzerland however, I only seem to be able to order the following devices:

MZB08REEU

MZB08RHEU

MZB08RGEU

MZB08RIEU

And a few strange device codes like these, presumably the seller using a device code from a different catalog:

xiapof3128bleu

xiapof3256wheu

I haven't been able to find a device with a code that's officially supported by LOS, so I'd like to ask if the devices available in Switzerland are supported by your ROM?

Furthermore, I'd like to ask if VoLTE is working in your ROM? What about VoWiFi?

Unlocking Xiaomi devices requires Windows. I don't have a machine running Windows but I could visit someone who does. With a new Xiaomi account and no previously owned Xiaomi devices, will it be possible to unlock the Poco F3 in the same session or will there still be a waiting period of a few hours or days?

And one last question - I apologize for asking this here as it's not ROM related: There's no official IP53 rating for the Poco F3. Are your Poco F3s protected against heavy rainfalls? What about carrying it in a wet pocket?

Thank you very much for your great work (and maybe answering my questions) !
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] AudioSculpt:
Amazing work guys.

Can't wait to test an official build on 13.0.4.0

Cyan is my daily driver since Nexus 4 so it's amazing to see how far this project has come.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Rstment ^m^:
Hello!

I wrote to Sahil before in older release of lineage about touch issue... Later he told me that the patch has not been merged yet so it's out of his hands.

Well looks like it did get merged April 28th? Was it this year?

Could you update the build to include the newly merged touch fixes? Although I'm not sure , maybe you are already using them since that's your patch that got merged in the first place and this is unofficial build as well so maybe you already went ahead and applied it?

In which case I guess that's not what's causing the touch issues...

Let me explain - when you hold the finger on screen and swipe around the touch performs pretty well, no noticeable stutters or falling behind. Isn't as good as other ROMs/kernels that enable 480hz touch polling but is alright...

Anyways that only works while your finger is in the screen , I noticed that if you try scrolling while lifting fingers in between there are stutters... Not noticeable at first , it takes a really good eye to spot, I even went ahead and used adb to make sure it's actually touch issue and not some rendering defect where it slows down scroll to freeze then catches up later.

By running this : adb shell getevent -r -t -l | awk '{print $8}

You will notice what I'm describing above. With finger constantly on screen and swiping around it never goes below 350-360hz.

When you lift finger in between scrolling it it's usually at the same 340-360hz BUT if you scroll up in terminal you will find instances of 0-20hz , now I think those are the stutters... I really can't tell for sure if they are or not but it would explain a lot , especially since once I managed to stop as soon as stuttering happened and it just so conveniently showed 0-11hz entries in terminal as the last polling results...

My guess is - the touch polling sleep is occurring way too fast , sometimes in between lifting finger and placing it back on the screen ( sometimes perhaps it just goes to sleep directly instead of waiting ) resulting in display sleeping when it's supposed to be reacting to touch...

Is hard to explain and even harder to catch it on video lol, you have to see it in first person for yourself...

If you need more info or something isn't clear let me know!
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Updated build is UP (Check OP for link)

- Based MIUI 13 Blobs (Android-12) - Make sure to update firmware to latest miui 13

- https://download.lineageos.org/alioth/changes/
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
I'm not sure whether its different from global poco f3, if not then you can try flash this rom. Make sure to use your stock firmware (EU firmware) and don't try flashing any other firmware.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
New lineage-19.1 builds has increased touch polling rate feature. Try using that. Settings-> Display -> High touch polling rate
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] piaci:
here is what spanish support says about this:

"La única diferencia en cuanto a la terminación es que todas son Global Stable ROM, pero dentro de la Global Stable ROM, existen unas cuantas variantes, dependiendo del territorio para el cual sean destinados los Mi Phones, EU es para Europa. Todas son globales, con multilenguaje, pero adaptadas a las leyes de cada territorio."

Mod Edit: English Translation Below

"The only difference in terms of termination is that they are all Global Stable ROMs, but within the Global Stable ROM, there are a few variants, depending on the territory for which the Mi Phones are intended, EU is for Europe. They are all global , with multilanguage, but adapted to the laws of each territory."
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Rstment ^m^:
Alright ty !

Are the sources published anywhere BTW? I know how to find lineage github xd

But what about your changes and stuff ? Do you keep anywhere the changes and stuff you made when porting to alioth?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Sahil_Sonar:
Epic we have a new thread now!
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] mattcri:
using it on my day phone

really smooth, no issues, battery life is a bit worse than 18.1 but still very reasonable. Kernel is very aggressive ramping up frequencies (im using high touch polling rate and 120hz , maybe related)

active drain is 10-11%/h standby drain is around 0.5%/h on wifi and around 1-1.5% on LTE (countryside, mediocre signal)

Fast charging works correctly but always report "slow charging"

sunlight brightess is missing and it is a bit too dim outside
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
Updated build is UP (Check OP for link)

- May security patch

- Updated Display/Graphics from motorola_nio

- https://download.lineageos.org/alioth/changes

Note: Build is based on MIUI 13 Blobs (Android-12) , so make sure to update firmware to latest miui 13 stable build.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] mattcri:
updated, running fine

probably not related but phone service is accessing location a lot today, like every every few minutes
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] nokulan:
That's normal and supposed to happen. Previous AOSP versions just didn't notify you of it happening.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] mattcri:
good to know
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] smacktooo:
are you also trying to bring it official or what are the requirements for it?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] R!ffRaff:
it's official - waiting for the first build

many thanks @althafvly, Sahil, Ramii & supporter for many changes in last time (y)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
LineageOS 19.1 official build is out

Make sure follow steps before upgrading to lineage-19.1

- Follow this fresh install https://wiki.lineageos.org/devices/alioth/install

- Follow this for upgrade https://wiki.lineageos.org/devices/alioth/upgrade

- Install Android 12 Gapps after installing rom (if you use)

- Update firmware to required firmware version MIUI 13.x.x builds (Based on Android 12).

V13.0.5.0.SKHCNXM 12.0 China

V13.0.4.0.SKHEUXM 12.0 Europe

V13.0.4.0.SKHINXM 12.0 India

V13.0.2.0.SKHMIXM 12.0 Global
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] R!ffRaff:
Firmware flashable (not Android/MIUI)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] PocoPunch:
Does anybody know how to set up digital wellbeing on LOS?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Smultie:
@althafvly

with regards to the 4G Calling issue that has been mentioned a couple of times in this thread... I've been having a discussion on another forum where I was pointed towards a way to change/adjust mbn files. This way unfortunately requires root on Lineage so I skipped that solution (at least for now).

After further discussion however, him and I came to the conclusion that there might be some files missing from the Lineage ROM. To be more precise: EU profiles for 4G calling.

Would you mind taking a look at below link where the EU profiles for the Poco F3 are shared?

mbn - Google Drive

drive.google.com

Can you confirm that these are missing in the current LineageOS rom for Poco F3?

Would you consider adding them?

You would win my eternal gratitude :)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
This file is not shipped with lineageos (its different for regions), its included within miui firmware. You must be using different firmware, use region specific firmware if you are facing issues.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
If theres anyone here using any of these models with lineageos, then please let me know which firmware version is working fine for you.

- POCO F3 Global : V13.0.3.0.SKHMIXM

- Mi 11X India : V13.0.6.0.SKHINXM

- POCO F3 Turkey : V13.0.1.0.SKHTRXM

- POCO F3 Taiwan : V13.0.1.0.SKHTWXM

- POCO F3 Indonesia : V13.0.2.0.SKHIDXM

- POCO F3 Russia : V13.0.2.0.SKHRUXM

- POCO F3 EEA : V13.0.6.0.SKHEUXM

- Redmi K40 China : V13.0.5.0.SKHCNXM

Note : Broken firmware usually have audio/touch issues
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] ZChuckMoris:
@althafvly, Please, add "TTL target support" module to kernel config.

I have made commit on GitHub, but i am unable to make pull request on kernels' repository.

Configure kernel build with IP_NF_TARGET_TTL · Moris-Shalon/kernel_xiaomi_sm8250@95b7447

Add "TTL target support" module to kernel config. This module is required to bypass cellular operator's restrictions on Wi-Fi tethering. It makes possible to change TTL of all incomin...

github.com

This module is required to bypass cellular operator's restrictions on Wi-Fi tethering. It makes possible to change TTL of all incoming and outgoing packets, so tracking Wi-Fi tethering becomes harder for cellular operator.

Avoiding restrictions on LTE -> Wi-Fi/Bluetooth/USB tethering becomes easy with this module, using simple script through Magisk:

#!/system/bin/sh
iptables -t mangle -A POSTROUTING -o rmnet_data+ -j TTL --ttl-set 64
iptables -t mangle -I PREROUTING -i rmnet_data+ -m ttl --ttl 1 -j TTL --ttl-inc 4
ip6tables -t mangle -A POSTROUTING ! -o rmnet_data+ -j HL --hl-set 64
ip6tables -t mangle -I PREROUTING ! -i rmnet_data+ -m hl --hl 1 -j HL --hl-inc 4

# Check that everything is working
#iptables -t mangle -L -n | grep -i TTL
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
https://review.lineageos.org/c/LineageOS/android_kernel_xiaomi_sm8250/+/322484
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] ZChuckMoris:
I see that this patchset was abandoned. Does it mean, that there will not be such and option? I need this module (for personal usage, of course), and without it I can't stay with LineageOS for now.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Smultie:
Just asking the question in the hope someone here knows the answer.

What firmware version is required for working 4g calling in Europe - The Netherlands - KPN.

Can I somehow scan the firmware to check for availability of the required config files or something?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] cgb.spender:
Using V13.0.6.0.SKHEUXM on Poco F3 EEA, apparently with no issues
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
I have updated the list. If anyone faces issues with above firmware version while using lineageos, then please let me know.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Smultie:
@althafvly

I dived some deeper into the 4G Calling issue.

What we found out is that vendor.prop (https://github.com/LineageOS/android_device_xiaomi_sm8250-common/blob/lineage-19.1/vendor.prop#L241) refers to oem_sw_j11.txt

However, oem_sw_j11.txt has no reference to KPN (my provider).

Other files in the /data/vendor/modem_config do have reference to KPN:

alioth:/data/vendor/modem_config/mcfg_sw # grep -i kpn *.txt

mbn_eea.txt:mcfg_sw/generic/EU/KPN/Commercial/NL/mcfg_sw.mbn

mbn_sw.txt:mcfg_sw/generic/EU/KPN/Commercial/NL/mcfg_sw.mbn

oem_sw_l3a_eea.txt:mcfg_sw/generic/EU/KPN/Commercial/NL/mcfg_sw.mbn

Could that be the issue?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] panachoi:
I'm planning to upgrade from 18.1 today, using the following procedure.

1) reboot to recovery, adb sideload 13.0.6 EU firmware

2) reboot to recovery, adb sideload Lineage 19.1 (latest is 20220730)

3) reboot to recovery, adb sideload gapps

4) adb sideload magisk (v24.3)

Now, I'm running magisk (I think v23), and passing Safetynet basic and CTS, with MHPC (6.1.2) and SNF(2.2.1). My problem is that I no longer have access to Magisk, its just crashing (but it works, obviously since I still have root access). In addition, with 18.1 I had flashed OpenGapps, but this is no longer recommended, it seems (and may not have been with 18.1 either, but thats water under the bridge now), and I'll need to flash MindTheGapps. I'm wondering if I'm going to face any issues moving to a different Gapps package.

In any case, can anyone confirm the following, after upgrading from L18 to L19 ?

1) Safetynet basic and CTS profile passing (what hoops do I need to go through for this)

2) Widevine L1 certification

Do I need to/should I flash the latest SNF (v2.3.1) and what about the ih8sn "fix" discussed in this thread ? Do I need that too ?

Thanks for any hints.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Boracho:
I also came from 18.1 with opengapps and have mindthegapps installed now. Working without any issues.

I took the same procedure you described.

You might want to consider using one of the older builds of 19 for the initial upgrade, since a lot of users here used that builds to upgrade and haven't had any big issues, as far as I can tell. There has been a lot work going on 19 since then.

I'm still using the universal safetynet fix, which is still working. I never touched ih8sn.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] panachoi:
Well, I actually used the latest, and other than this one small issue (see below) all is working more or less as expected.

I had some issues with Magisk, after booting there was this weird issue that the MHPC didn't work at all (command not found)

I ended up uninstalling and then re-installing Magisk without first hiding it. After doing that, and rebooting, everything worked as expected. YASNC shows SN passing both Basic and CTS Profile.

Strangely enough, although Magisk shows MHPC as being installed, it does not show that SafetyNetFix (any version) as being installed as a module, and yet, I'm passing SafetyNet, so I'm relatively happy, although I cannot really expain why,

But it appears work, even the pesky Po*tFin* app doesn't detect root.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] barturblits:
In the firmware update guide, firmware is updated through fastboot. I always did it through sideloading the special firmware package. Are there any disadvantages updating through sideload?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] martimor:
a newb question: how would one revert this process to get the build prop unaltered in case anything does not work.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
added ih8sn-uninstaller.zip in ih8sn downloads, use that.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] barturblits:
Got another bootloop after updating (previous update also). Restoring super and boot with a manual booted Foxrecovery and then changing slot back saved me this time. After this restore all magisk modules were disabled. With this information, anybody an idea what could be the problem? Something to do with the Magisk modules? After the failed update, I first tried to flash the recovery to the boot partition to disable Magisk but that did not help. Btw, after executing the update, I did the magisk OTA install. Always worked on A11. Might be the culprit here.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] :
Originally, i thought that i have 13.0.6.0 but it turns out i have 13.0.3.0 (SKHMIXM). I have no issues with LOS functions and everything works fine on 13.0.3.0.SKHMIXM (bluetooth, sound, calls, messages, 4G). The only thing i cannot test is VoLTE because i have no subscription with support for it.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Smultie:
@althafvly could you maybe look at this? Thanks a lot
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] althafvly:
That prop is same as your stock miui. mcfg_sw is in modem.img in firmware (lineage just mounts that image in vendor partition). If you use any other region firmware you might have this issue, use firmware of EU region for poco f3 EEA. Follow linked guide to flash firmware.

Update firmware on alioth | LineageOS Wiki

wiki.lineageos.org
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Smultie:
@althafvly

Okay, I got you.

That's quite different from how I've been flashing firmware before.

What's the reasoning behind this change?