yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cognosco:
Hi all,

I am planning to use this ROM on my Xiaomi 9T Pro. Before moving to this one I have a few questions. I did research and I guess only the confirmation is required:

- I would like to go for the most secure (and functional) ROM. I thought about choosing this LineageOS based one, since that normally has all updates/patches as fastest as possible included. I think it's faster up to date than Xiaomi official rom, and also faster than AOSP based ones. Not saying that AOSP is much less secure or outdated, but if I understood correctly LineageOS, which has many patches included from baseline, is updated more quickly compared to AOSP since for AOSP device-specific patches need to build since AOSP is more barebone.

- Can LineageOS be updated (once you did a fresh wipe and installed LineageOS) without losing your data and setup?

- What kind of applications do you suggest to increase security? I was thinking about root + magisk and then for security a firewall app like blokada/noroot firewall/netguard or perhaps a better application to track applications and their connections? I am open for the best suggestion to limit/control connections.

- What kind of HIPS software is currently the best? I am wondering which software can "limit" permissions/actions of applications the best. Is it still Xposed? I would like to increase security by having more grip on applications and what they "try" to do. Also for 0days. I am open for suggestions.

Also please let me know if you think LineageOS is not the way to go.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
Quick report. The expanded desktop is still causing the settings to force close.

I think it's LOS problem, hopefully they get it fixed soon
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hcbraun:
Dirty flash from previous version with Magisk installed worked fine for me. Removed /data/system/package_cache/* after flash before boot.

Clock and media manager now works. Thank you!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] birdr:
I'm having huge problems with the fingerprint sensor on my European Mi9T pro with the past two releases.

This time I clean flashed 25/1 coming directly from Muiu 11 (vendor 11.0.3) without reflashing vendor.

Fingerprint sensor fails most times.

I flashed fw+vendor single download from op. Deleted finger prints and tried again. Same problem.

I tried flashing fw+vendor for latest Euro, latest global and previous global from https://xiaomifirmwareupdater.com/vendor/

Same issue.

I tried flashing the firmware and the fw+vendor files from the downloader above to see if it resolved. It did not...

I assume others are not having the problem - could someone highlight what I am doing wrong?

Thanks.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] _labello:
Is this build going to be official any time soon?

And is there a support for ota update?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mistersixt:
Man, LineageOS 17.1 isn't even out, what do you expect? It is ready when it's ready.

Kind regards, mistersixt.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] lelouchsama:
Hello everyone, i'm having serious problems with the fingerprint scanner, since the last update, (25th January), i can't have it activated, it causes after a few time, the device to got stucked on an infinite loop at the lock screen, having the screen turned off and turned on really quickly, without further option to me to unlock it than reboot the device or power it off.

The issue comes when i try to use the fingerprint scanner.

I have to admit that i did a dirty flash, but i re-flashed the firmware and the ROM and it stays the same way (i wiped the Dalvik cache and the cache the second time i flashed it), it's pretty disturbing, so, for the moment, i'm have it disabled, but it's not the expected behavior, of course.

I'm asking for help, to know if this is because of the dirty flash (i suppose that's the case), and to find a workaround, (i suppose that one will be re-flash doing a clean flash, so i'll have to backup everything.

I would like to comment a bug i detected since the very first version of this ROM, and that it's still there.

The bug i mean is the Quick Settings Tile of Mobile data, in the Status Bar. The expected behavior of it would be to show the current data spent, the data warning (if you have any enabled) and the current App data usage cycle, when you tap on it, but even configuring it, as i have it, it doesn't change, being the "default" by the system or the one that have it, leaving it unchanged even when i changed it a few times at the settings.

Thank you very much in advance and sorry for the inconveniences.

Bests ˆˆ.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Prixes:
Does someone succeed in recording calls ?

Default app does not record them 3rd party software like "Call recorder" doesn't catch any sound from call too.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
I can't use my fingerprint on my banking app right now. But can use it for unlock and granting access for root (via magisk) (the last build I use, 20191216, my banking app can use my fingerprint sensor)

And now, the auto brightness sometimes freaks out on not well lit room, see these video where I show you the brightness slider just go back and forward xD

[youtube]Xut7KZIxqa8[/youtube]

My setup is using the latest LOS (20200125), OpenGApps 20200127, Fw/V 11.0.1.0 Global and a clean setup (including format data)

I hope next update can be dirty flashed from these build
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jimb0p:
I'll give it a try again. How do I dirty flash?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 197:
just flash the .zip without wiping anything first.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] KuroRyu:
[MENTION=6070905]abhishek987[/MENTION]

I noticed another bug when the camera is force retracted, which, I assume, is not a bug in the camera itself.

You can reproduce it by doing the following:

1) Opening the camera app (ANXCam 158)

2) Switch to front camera

3) Let the phone fall in your hand to trigger the force retraction mechanism of the front camera.

4) The closing sound will play twice, instead of once.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Gennesÿs_1:
I found a couple of mistakes, which can be easily improved for sure, especially the second. Android Auto crashes when you connect it and select it on the car, and the coverage is lower than any other AOSP/Stock ROM.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] birdr:
I finally managed to get my fingerprint sensor working on my EU Mi 9t pro with the following steps.

I reflashed my boot partition with an image extracted from a stock firmware download.

Then I clean flashed latest EU vendor from https://xiaomifirmwareupdater.com/vendor/

+

Latest lineage 17.1 (25/1)

+ latest gapps (29/1)

Full wipe (type yes), then booted. Fingerprint sensor was working ok'ish.

Then flashed iMMENSITY kernel

iMMENSITY-RAPHAEL-V13.0-Mi9FOD-25-01-2020.zip

Fingerprint now working properly in both regular and work profiles.

However, if the always on display is in use it causes the fingerprint some problems. I guess there is a ROM issue here.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] zacox123:
Extended desktop is not working

---------- Post added at 11:48 PM ---------- Previous post was at 11:46 PM ----------

Extended desktop is not working

---------- Post added at 11:49 PM ---------- Previous post was at 11:48 PM ----------

Extended Desktop is not working
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
Anyway. Did anyone get the screen off fingerprint working ? I can't get the fingerprint sensor read my fingerprint while the screen is off

No response, no feedback like vibration or anything else

I already turn on the gesture but j can't find it working
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] g0t.milkk:
I use with success Call Recorder from Day 1 on this rom without problem.

Installed with the Magisk module so it's a system app, but I don't think that's required.

Very nice app ! But quite expensive too :s (10€ AFAIR)

Link : https://github.com/Magisk-Modules-Repo/callrecorder-skvalex

Edit : Screenshot with working configuration added, but it's basically default settings (API) + tweaking the recording format (FLAC/22Khz)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] johnsamte:
Is the rom enforcing?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
Nope. Se linux is disabled
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Amit Kumar21:
Any clue on how to stop distorted notification and ringtone after installation of viper4androidfx...?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] BRDigung:
which twrp is recommended, the unofficial version from the frist post or the official one at https://eu.dl.twrp.me/raphael/?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] JohnFlowerful:
I'm using official twrp. Everything works well.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
I found a solution to this.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] grosjo:
Network speed in status bar

Hi

It seems the option display network speed in status bar has disappeared.

Any clue ?

Thank you so much
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Amit Kumar21:
Didn't work for me:(
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Xaymar:
It seems that the Fingerprint sensor is broken with this. It randomly triggers by itself (causing the device to lock, or some apps that rely on it to lock me out) and the success rate dropped from ~60% to <10%. Is there any way to adjust the sensitivity on the sensor?

For information, I'm using a Xiaomi Mi 9T Pro using EEA 11.0.3 (latest available firmware from Xiaomi for MIUI). Most things work surprisingly well, and the device feels much more responsive than it did with the stock MIUI. Still need to find a Camera app that supports all three cameras on the device.

Edit: More broken Stuff:

- If the Front Camera is in use and the device is locked, the front camera does not retract even if the Camera app closes.

- Ultrawide and 48MP mode is missing on the Xiaomi Mi 9T Pro.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Shinichi Kudo:
Did you try the latest gcam from

https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Xaymar:
Just tried it. It does have 0.6, 1.0 and 2.0 Lenses shown, the same issue with the front camera though (likely a problem with Lineage OS). 48MP mode doesn't work though, no idea what Magisk module the GCam mod is even talking about.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
so you dont want to read and just complain?

with this magisk module (eszmod) you can use 48mp in gcam.

you can build lineage os by your own sources and fix some things and make a perfect gcam mod, if you have the skills. if not, dont be rude.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Xaymar:
I fail to see where I have been rude. I have reported issues I've encountered with the Lineage Unofficial build, as the "Known Issues" section just says "you tell me". And clearly I have read too, otherwise I wouldn't even know that it needs a Magisk module - I just can't seem to find it in Magisk, and hours of searching later I found a very old post that only supports MIUI 9-10.

Also, I'd love to help out. I have programming skills in C, C++, Rust, JavaScript, Java, C#, PHP, Assembler (x86, x86_64, SSE, ARMv7, some sort of 8-bit microcode) and various other languages. The entire point of flashing a working baseline onto my Xiaomi Mi 9T Pro was so that I could even begin to work on it, as the stock ROM is quite limiting and has unremovable ads.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
It's in the camera fixes section of the website

https://f.celsoazevedo.com/file/cfiles/gcm1/EsMod_K20pru_imx586_A10.zip
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
What are you on about? It's still there, go to "Settings/System/status bar/network traffic monitor". It's disabled by default, but still available.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TuraSatana:
Take this: https://xdaforums.com/attachment.php?attachmentid=4779565&d=1560976880
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] grosjo:
Hi,

I can not find this folder . Is that specific to sonething ?

Some menus appear with xml name
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
Menus? Are you sure you were using TWRP (recovery)?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] grosjo:
Menu : Yes, this is the root problem (menus appears with xml names instead of proper labels)

Twrp : Yes, I am in TWRP console to search for the folder
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
This sounds like your data is encrypted.

What TWRP version are you using? Does it ask you for your pin before it starts?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Lonelobo:
Can somone give me the correct seps to get 48mp camera working? I have flashed the latest rom (comming from stock EU 11.03) and pico gaps+latest official twrp. I didnt find the full steps to do this.

The rom is realy stable (playing pogo+HPWU) + webbrowsing+.... Good battery life 6+h onscreen pogo play.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Go here for ANX Camera, which is a port of the official MIUI camera app.

As far as I know, v158 is the most recent version compatible with this phone. You'll also want to go to the add-ons further down and get the 48MP fix for Q file. These are both flashed as Magisk modules.

For GCam go here https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/. You'll also see a section on the site called camera fixes. There's a 48mp fix for this phone in that section.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] grosjo:
I don't know why my English is not clear : the folder just does not exists. Is that linked to a specific model ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] norbert.x:
I don't know what your initial problem was/is?When I use TWRPs file browser I can see that folder, no idea whether this is device specific ?.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] birdr:
Do you know if it is possible to open ANX Camera from the lockscreen on this rom? I can do it with gcam, but it requires an unlock whenever I try with ANX.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Morak75:
No google

Hey guys. I'm soon gonna flash for the first time my Mi 9T Pro (tired of xiaomi bloatware & google and the fact that I can't uninstall lot of preinstalled apps.....).

If I understand it right, LineageOS is the only ROM that can provide me with no Google apps, like no google dialer, no google contact etc (maybe just the play store of course, I'm trying to use the minimum google possible since 2020 :) ) ?

Thanks btw for the author and all contributors, you're doing a great job giving us alternative to bloatwared official ROM :highfive:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mistersixt:
As long as you don't flash any Gapps ... you are fine!

Kind regards, mistersixt.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Morak75:
But it says to flash gapps in the install process, will this boot without flashing gapps ?

But if I don't flash pico gapps, I won't have the play store right ? And if I flash pico gapps, will it replace the default/non google dialer ? (as I read "Dialer Framework" in google pico description)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mistersixt:
Pretty(!) sure, yes.

Kind regards, mistersixt.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Morak75:
Hi there, you were talking about having this ROM installed + microG + signature spoofing right ?

Could you be so kind and explain to me the steps to do all that please ? :D:o

I want to get rid of Google yet still using fully the phone (like having access to play store application with Aurora et using google maps which I didn't find any reliable alternative)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
You can run the ROM without any Google stuff at all. You can use the Yalp app to access the Play Store without the Google framework. It can connect with your own account, so you still access paid apps.

However GApps Pico is the smallest package that has the Play Store, if you want to keep that official. The Pico pack only provides the Google framework and Play Store, it does not add any other apps or replace any apps. You will still have the LOS dialer app, etc.

I've been using the GApps Pico pack for years, then adding any other Google apps I decide I want from the play store. Nothing will get replaced.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jejer:
Seems screen cast has some issues on Jan 25 version. some screen shot app using screen cast hang entire Android system. e.g. https://play.google.com/store/apps/details?id=pro.capture.screenshot
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Morak75:
Hummmmm maybe it's the easiest way to do. Classic install with just pico gapps.... if I still have LOS contact/dialer, because installing without gapps means going through magisk+xposed+signaturespoofing seems more complicated and a bit secureless.. :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] R@mpage:
Is there any way to enable smart lock -> trusted face feature ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MartonDev:
Trusted face has been removed form Android 10 sources, as it is no longer considered as a safe biometric authentication, Google instead made a new API for 3D scanner face unlock phones.

This basically means that until someone ports trusted face to Q, there is not option for it
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] buddy2020:
Hey, first things first: This ROM is fantastic! I'm using it as my daily driver for the past few days.

One question: My device is encrypted, and I'm using a PIN as screen lock.

The recovery (TWRP) is protected by the PIN, so i have to insert the PIN before i can use the recovery.

Is it possible to have this PIN query at startup, before booting into the OS? I didn't find an option for this.

Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] trashographer:
thanks

Thanks for this LOS 17.1, love this OS and it works fine without gapps.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] testtubebaby:
How many wallpapers does this build have?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Morak75:
Hey guys.

Since yesterday, I'm now a proud user of LineageOS 17.1.

My steps of installation from an official build:

I followed this guide https://xdaforums.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543

---------- Post added at 11:41 AM ---------- Previous post was at 11:39 AM ----------

I don't think the PIN as screen lock encrypts your phone. The PIN encryption should be during startup I think

---------- Post added at 11:41 AM ---------- Previous post was at 11:41 AM ----------

Maybe 10 but how is it important as you can set whatever wallpaper you want ? ;)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] motorh3ad:
hallo guys,

first of all i want to thank you for doing that great work on the rom!

i installed it 2 days ago, i found some misbehaviors you might want to hear about:

- the fingerprint is not working as expected. when display is locked, i have to switch on display that the scan is starting and the scan itself which is not the way it should work i expect?

also not working as reliable as it should.

- i can not find option to unlock with face id

- when i use alarm to wake up and have mp3 selected in main settings and also in the alarm itself, this is working when phone is turned on. if phone is turned off and switches on for the alarm, the alarm itself is without any sound.

thank you
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] abhishek987:
Okay guys time for Update :p

Changelog

February security Patch

Added Bluetooth a2dp Offload

Fod improvements (better speed and more consistent)

Fixed error message with screen off fod

Increased more notification icon in statusbar

Lineage Upstream

As usual links are updated in op enjoy :p
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MacGyver17:
Can i dirty flash it from 20200125 ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Going off past releases, I would say maybe, just don't rely on it. Back everything up so your prepared to clean flash if there's issues.

Beta Open GApps gave some issues when dirty flashing, so maybe now that they've gone to official release (for pico and nano at least) it may be easier to dirty flash.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jejer:
dirty flash from previous release,no issue.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 5i1v3rStorm:
I just dirty flashed as well.

Updated gapps package before dirty flashing to version 20200208.

Only flash ROM and gapps in a row, Magisk survives that. No issue here.

Still: do your backup :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] buddy2020:
No issues here as well, after dirty flash. Thanks for the update [MENTION=6070905]abhishek987[/MENTION] :victory:

So if your device is encrypted, and you set a PIN or Pattern as the Screen Lock, do you have to insert your PIN/Pattern during startup? On my device i have to insert my PIN/Pattern just after the device booted into android. I'm just wondering if that's the normal behavior. :p
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] birdr:
[MENTION=6070905]abhishek987[/MENTION], thank you - this is a really good update.

On Mi 9T Pro, EEA Global vendor the fingerprint is much better, including using from always on display. Generally the rom seems very stable.

I still see issues with

- gpay (phone flags as rooted or modified even if you are not rooted, so you can only use for paying at checkout if you root with Magisk and run hiding patch script)

- camera (these issues may or may not be rom related - i can't tell...)

a) all the latest gcams (Burial / Urnyx05) crash on front video and leave the pop out camera extended

b) the ANXcam can't be launched from the lockscreen - it requires unlocking first.

FYI, dirty flash with opengapps pico 8 feb worked for me too (note - i turned off the lockscreen security before updating).
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] grosjo:
Network time (from telco provider) does not update the system.

Only rebooting makes it happen
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
Tried to flash dirty form latest (do to previous events saved my data) again lost encryption after drity flashing and reboot :(

Would love to know what's different or special on my device, so that i always need to ultra clean flash
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ichmyselfandi:
Does this or any other custom rom support hifi mode for wired headphones?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cognosco:
Thanks for the update. I flashed the following way (is this called dirty flash?):

Download zip of latest build.

Shutdown.

Hold power + volume up to boot into TWRP.

Install latest LineageOS zipfile.

Wipe cache.

Reboot!

Seems to work fine.

Regarding fingerprint I think I found the thing which decides if it works well or not. I had issues with multiple kernels and both, even current, LineageOS build.

However when I turned off automatic brightness it started working fine and stable.

My impression is that a low brightness and auto brightness (which can be low, especially in darker environments) break FOD.

When using FOD with auto brightness enabled you see it increases screen brightness quickly. If you do a quick double tap while the screen is bright, it mostly works. If you just keep your finger, it is broken. Probably because it tried to read the finger during the low brightness.

I hope this is helpful.