yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lordemore:
Mi 9T Official build?!

Hi,

Thank you for developing this. I have quick question: Does this build goes to official build in download.lineageos.org?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
Maybe you will see it, when the time comes you can read it at lineageos.org until then we let the dev do his job

he work on LOS16 and LOS17
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] epicblue8:
wiped everything except internal storage and now every files and folders are encrypted

is there any way to recover those files :(
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
is no encrypt code required by twrp?

Anosnaten you have to wipen everything and restart twrp.

a backup should always be made or disable the security code in the old image before.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] epicblue8:
what encryption key?

i wiped data system vendor system of global rom and rebooted back to recovery to install LOS but upon clicking install and files and folders have long names cannot select anything

i had no screen lock or security code enabled
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
wipe full (advance wipe > select all) and push button "format data" and swipe to factory and reboot twrp.

after this you can install lineage
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] epicblue8:
i know that but is there any way to restore the decrypted files before formatting internal?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
if you are not asked for a pin, because not

that is the meaning of an encryption

always do a backup

Maybe you can still import a backup, if you have one made with twrp

With luck you can boot the old software and access the folders, but without a guarantee - I would try it!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Medeon:
Sorry guys, gotta set this straight. It's possible to mount a usb-otg drive with LOS by enabling usb-tethering in the USB-preferences. ;) So far, I am am very happy with the OS.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Subteras:
How did you do that? Can you describe in more detail?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Maheshzx:
How it's faster than the stock?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Shlyify:
Yeah and with tempered glass on it...i guess cause roms animation off
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
animation on/off has the same time for unlock here

i use temepered glass too

i'am happy with lineage
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Maheshzx:
Usable as daily driver?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
jeah, since the first version of lineage for k20 / 9t!

Everything I need without any problems, I have not found any errors yet, i love this ROM and LineageOS :good:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Shlyify:
yes everything is working fine, im using it 10days
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Subteras:
My settings item is not available.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tsdogs:
Bluetooth crash

Just installed this rom on my new Mi 9T

Problem is that bluetooth keeps crashing when trying to connect a device.

Is it a known issue? Any hint on how to fix this?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
bluetooth is always connected to me and with a mi band 4. the multiple training, pairing and disconnecting, I've found no problems

What kind of device do you want to connect? Handy, Headset, Speaker....?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tsdogs:
It's a Polar Vantage M, could be a problem with the specific device/app (working with another android phone though).

I'll pair it with the car and other devices tomorrow and see if it's device specific.

I've also tryed updating firmware with https://xdaforums.com/mi-9t/development/firmware-xiaomi-mi-9t-redmi-k20-t3955314

result is the same.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Medeon:
In the settings go to 'about phone' and tab the build number 7 times to get the developer options menu. Then search for usb-tethering or go to the developer options >>> standard USB settings and choose usb-tethering.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Mietjelan:
Deleted
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] epicblue8:
Vibrate while ringing doesn't work.

Anybody else has the same issue.

??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] h2sa2004:
Feedback & Issues etc

It's great to have a native android rom, however there are a few issues I'd like to report.

Battery overheats while charging, which didn't happen in stock rom. So at a time I only charge around 40%.

Battery drains faster. I'm not sure since I wouldn't have statistics, but, being free of bloatware, it should run lighter, but I'm down to 3 or 4 charges (not full) per day.

Front camera retraction sometimes keeps pulling after it's level and I've heard gear slip.

It's imperative that to unlock the phone using fingerprint sensor, the screen is on, such that I couldn't put my finger on locked phone to open it. Which means I'll need always on display, which will drain battery so it's set it start when picked up. However, the pickup is only registered when phone is vertically at an angle with its head up and legs down. That's how you'd pick a phone most but not always, and there are instances you might do a legs up or side up, which won't invoke display, forcing you to use power button.

Double tap to wake up isn't exactly working, the sequence is, power button to get the always on thing, then swipe or double tap to get lockscreen or the one with wallpaper. So we are back to power button.

Some minor things I wouldn't exactly care about:

Front camera LED may or may not come alive.

Minimize notification makes it disappear from status bar but it's not shrunk which was same in stock rom, wonder why.

No support to replace nav bar with gesture navigation, which could help with some KLWP themes.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GodOfEgo:
You are right for most part.

Battery drain faster, but that's because LOS keeps minimized apps in memory, rather than killing them like on miui.

Dt2w would be working on next update(info from mi 9t telegram group).

If your device is rooted, you could use greenify for battery life improvement.

You could also use fluid gesture navigation from playstore for full screen nav like on miui.

This build is in 2nd beta still so far the best rom available imo.

I hope these minor issues would be fixed in upcoming updates.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Medeon:
However usb mounting seems not to stick:crying: but when I try to mount the usb-drive in twrp and then reboot it's there again. I have also tried 'stickmount', an old app by [MENTION=631273]Chainfire[/MENTION], but it didn't seem to mount the proper drive.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] guilhem_h:
Hi ! I'm using LOS right now on my 9T, I remember there was an option on MIUI that allows both sim cards to connect simultaneously to mobile data.

(How) does this work on LOS ?

Thanks ! ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] coderex96:
Same problems, I hope a better ROM soon, I love Lineage
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] londonhilton:
My battery does not overheat when charging, battery life is quite good in my opinon considering it doesn't aggressively kill apps like MIUI does. Like, I don't have to worry I will miss hangouts or whatsapp messages like I would on miui. Why do people expect 3rd party functions like gestures if they are not part of LOS, even though the devs are aiming for official LOS is beyond my comprehension.

It's OK to report bugs, this is what this forum is about, not to answer 100x questions people have that do not follow basic procedures, but for god's sake stop with the "hoping for better ROM soon". You are not paying the devs, so stick to MIUI if you want it all. This is still beta, and it is damn fine for everyday use.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Maheshzx:
Can someone post a video review about this rom? Or share the link if already there in YouTube
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tsdogs:
I confirm that the problem seems to be raised only with the App Flow and Polar sync.

Car and other BT devices are working just fine.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tristan1990:
I've been using this daily and really enjoying the experience. Thank you for your work on this.

I too have noticed battery draining faster, but it was explained well earlier in the thread that this is due to the aggressive task killing of stock MIUI.

I'm in the UK and have a Mi 9T. I've noticed that the boot screen has changed to Redmi K20... Is this a problem? I don't mind the K20 boot screen, but want to check that it isn't limiting the hardware on my device or anything. I bought the EU version so that I have Band 20 support. On stock, it said 4G as a mobile network type, now it says LTE.

One issue that I've faced is that trying to Cast to a TV I get an error, though this could be my TV I guess.

Many thanks again.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] testguest:
It's the same. In some roms it's calles 2G / 3G / 4G, on others E / H(+) / LTE.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GodOfEgo:
I have k20, which is currently shown as mi 9t while on mtp and the boot logo(prior to LOS boot screen).

It depends on which miui rom you had prior to los(boot logo) and which twrp you currently have on your device(mtp).

When I had indian(or Chinese) miui rom I had "redmi by xiaomi" logo and when I flashed global rom it changed to "mi" logo.

There's even a logo.img in miui fastboot rom, which might correspond to boot logo.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Avernakh:
I know this is kind of off topic, but which one will have more developers, k20/9t or k20 pro/9t pro? Thank you.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] don.peugot:
Same issues. I love LOS (used it on my devices since Cyanogen days) and the battery issues were definitely significant for me in this ROM. I assume it's due to the half-assed Kernel that Xiaomi has provided us with. So not much the devs can do, unless someone can re-write / fix the sources. For everyone saying MIUI has better battery because it's killing apps in the background: After configuring MIUI properly (turning off battery optimization for every app individually, yes it sucks and shouldn't be necessary, but it's a fix), the problem is gone (I use medication reminders and running them in the background is crucial - and they work fine after proper setup).

In general, LOS had better battery life on all other devices I used, and as I said above I believe the kernel sources are to blame. I did some research while on this ROM (using BBS and GSAM) and couldn't pinpoint the problem to a specific app or wakelock which leads me to assume the SOC doesn't clock down or deep sleep properly / quick enough.

I also witnessed significant heat (uncomfortable to the touch) while charging with USB-PD, which did not happen under MIUI. If you only use a 1A or 2A charger, for sure the device will not heat up because the amperage is simply too low. For higher currents, the device should regulate the power it accepts to keep temperatures in check.

All in all, this ROM is a great start considering it's using a custom built vendor partition but I went back to MIUI / mi-globe because of these two reasons (battery and heating).

We are all just sharing our experiences here, so that the dev can get proper feedback on his ROM. Maybe you use a lower watt charger and therefore no heating occurs. For Whatsapp and Hangouts notifications, I suggest you to turn off all battery optimizations in the battery menu and in the app info page as well (in your words: It's "beyond my comprehension" why you need to mention this in a LOS-related thread?). For more details, here's a good link with instructions: https://dontkillmyapp.com/xiaomi.

As you said yourself, this Forum is about reporting and giving feedback to the dev, which is exactly what h2sa2004 and coderex96 are doing. Whereas you only complain about people reporting bugs throughout the entire thread. Keep the discussion focused please.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Schnedi:
Just take a look to the K20 Pro Forum, they have 10 or more custom roms.

Mi 9T has 2 (Lineage and Paranoid).
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Salzor:
Wiped partitions like described.

Now i'm getting following error message in twrp. (installing image from internal storage)

Update process ended with ERROR: 7

Error installing zip file "file path"

ERROR: This package requires firmware from MIUI 9.8.1 or newer. Please upgrade firmware and retry!

Now i'm confused again.

Seems like I have to flash developer firmware after all. (any suggestion where i can get a legit developer firmware?)

I thought this is not necessary for this rom?

Can somebody explain why this is necessary? (would like to understand)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
[MENTION=10114650]Salzor[/MENTION]

1. wipe (full wipe partition, format data and swipe)

2. reboot in twrp

3. copy * .zip into the mobile phone via usb

4. install image (gapps or magisk - if you need it)

5. boot system

after Wipe (format) are files (image and gapps deleted) and it comes to an error message!

test it!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] sp4rt4n-i17:
Having the same issue, tried it with three different TVs, wfd service is crashing everytime.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Rhaegar93:
The face unlock not work if magisk is installed. How i solve this?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
which gapps did you install? you need nano or higher!

https://github.com/opengapps/opengapps/wiki/Package-Comparison
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Rhaegar93:
I've installed micro gapps.. before install magisk the faceunlock work fine.. after magisk installation smartlock crash.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
do you have install magisk face unlock modul?

test this file and report
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Rhaegar93:
Don't work..
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
you can delete the old modul and test 2 other modul für pie: https://androidfilehost.com/?w=files&flid=289256

otherwise I have no answer, because I do not use it myself

does not really synonymous sense because of the extendable cam and fingeprint works really good!

magisk is the lastest?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Maheshzx:
Does unlocking bootloader voids warranty in MI devices. Why there is no development for this device? How's the video and image quality in this rom?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] radogost:
How you can say that there's no development for this device under a great, working and active developed custom rom?

Unblocking bootloader voids warranty. But if you flash stock if something would broke you should be OK.

Video/image quality same as stock MIUI.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
Its not right:

Xiaomi officially allow unlocking bootloader under warranty. You can approach service center for hardware related issues
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Salzor:
Same error again.

Tried also via ADB sideload. (same result)

"ERROR: This package requires firmware from MIUI 9.8.1 or newer. Please upgrade firmware and retry!"

Other ideas?

Maybe i should try it with MIUI 9.8.1

Is it possible that this is TWRP related?

I'm using TWRP [RECOVERY][3.3.1-3] from mauronofrio. (from XDA board here)

Update:

If i wipe all partitions i'm not even able to enter twrp again(neither flashed or boot version) and get stuck in fastboot loop.

Than i'm forced to flash a fastboot/recover MIUI rom via MiFlash

Meanwhile i tried the current greek, russian and mauronofrio TWRP version with the same outcome.

Only one time i got the russian twrp flashed so that i can enter it by pressing vol + and power.

I guess it's my mistake but i don't know what i'm doing wrong.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] alok11:
I received the same error. You need to flash recent MIUI(in my case it was V10.3.11.0 weeks ago) before Lineage OS.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
you have to wait for a fix from dev, magisk or lineageos
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Salzor:
THX for reply.

Will give it a try.

If the MIUI version is relevant i guess i'm not able to wipe all partitions?

I dont get why it's not possible to flash Lineageos with all partitions wiped and why i'm getting a fastbootloop after wiping. (and not be able to boot twrp in this state neither if its flashed or by boot command)

Is this some kind of security feature by xiaomi? (maybe like the A/B partition at oneplus)

Or is this twrp related. (because there is no final twrp an its all in beta state)

Had not such a trouble by flashing oneplus or samsung devices in the past.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
why can not you install LineageOS after wiping the partition? I have all partitions wiped + factory settings + format data

Sure, that is and should be so, because Lineage uses its own vendor.

if your system does not boot after booting or bootloop I would first see if vbmeta disable is.

If you used TRWP from the first thread and run the script, it should be disabled. If you have twrp installed via fastboot you have to catch up!

there are no more and less annoyances with other manufacturers - maybe you should try ios / apple
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lionel00:
Always on display clock not changing place and fingerprint always on should lead to burn out.

Other than that battery is ok with batery saver on and greenify. Love this ROM and is my daily driver.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
nobody reads the thread?

you can also turn off AOD, because it will be displayed when lifting
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] dickdistortion:
Just a thank you to the devs!

I've been on CM/LOS since the Note 1. Past year I was LOS-less, happy to be back!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Salzor:
My comment was not ment to be offensive.

I Just want to understand my mistakes.

And maybe this will help more people to get into lineage or other custom roms.

Sry. I'm not a native native speaker.

The vbmeta thing i read first here.

Can you explain what it does exactly?

Maybe thats my fault.

But for the other two twrp's there is no vbmeta mentioned.

I try to flash as few from sources i don't know about.

Again. It was not ment offensive and i appreshiate the devs work.

Regards

Salzor
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
patched vbmeta needs for boot GSI Roms, read here more

You can download russian TWRP extratct the zip and flash vbmeta via fastboot: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img or use script "Flash_TWRP" to install vbmeta and TWRP

I use TWRP 3.1.1-2 FIXED from 4PDA.... and it works fine

I hope it helps you and answers your questions
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Medeon:
I keep getting this Trust System security notification saying: "SELinux is not enforcing, your security has been weakened." Could this have to do something with gaining root access with Magisk? If so, is there any fix for it?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
I want to install this rom so what twrp do you think I should use
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
read the first post, use the board search or read this thread!

it is not repeated every 2 pages! even 2 posts higher is the answer #328
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
Ok thanks , I know a little bit about room flashing. It just that the first version of this phone got hard bricked and I couldn't repair so I had to send it back. lucky me I got my money back so I don't want to brick this one too . So sorry if I asked a useless question just wanted to be sure before I do anything.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
unlock the phone and read the instructions (fist post or here), you can not break normally. use the right firmware and twrp.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
I have miui 10.3.12 which is the EAA or EU version will it work or I need to flash a different one.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
Either it is the EEA version or the EU, but has no influence, because lineageOS comes with its own vendor

I have linked 3 articles in the above post (#331 + #333) , so you get the image into the phone

read, read and read this thread!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
Thank you very much.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mvha:
Can anyone play HDR content on Netflix App on this rom?

Youtube working fine but Netflix not.

DRM Info shows me:

High Dynamic Range: Supported

Wide Color Gamount: Not Supported

Anyone know how to fix that?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Meisterqn:
I thought, that's a Netflix related issue.

They verified several phones and ours is not supported by Netflix.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mvha:
But why on miui is is working good?

Are You sure that's device specific issue?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Salzor:
hi, me again. :)

i'have still trouble installing LOS

what i did:

- flashed vbmeta

(fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img)

- flashed twrp (twrp_davinci_3.3.1_12-08-19_blue_Ss_new.img)

- wiped all partitions

- executed factory reset

- formated data

- rebooted twrp (finally twrp stays after partition wipe, thx nill3bor)

- copied lineage-16.0-20190824-UNOFFICIAL-davinci.zip to internal storage

- selected install and lineage-16.0-20190824-UNOFFICIAL-davinci.zip from internal storage

- swiped to start installation

-- getting same error like before

--> "ERROR: This package requires firmware from MIUI 9.8.1 or newer. Please upgrade firmware and retry!"

after that i tried to update the MIUI firmware

(to check if thit is the reason or a requirement. even if i don't get it because LOS should not need a vendor firmware like described by dev)

- downloaded firmware from this thread

--> https://xdaforums.com/mi-9t/development/firmware-xiaomi-mi-9t-redmi-k20-t3955314

- flashed firmware via twrp

--> fw_davinci_miui_DAVINCIEEAGlobal_V10.3.12.0.PFJEUXM_946a02f6df_9.0.zip

-- after flashing the firmware i had no access to twrp anymore

-- tried to flash and boot all current twrp versions

got no errors in fastboot console but none of the twrp's has loaded by pressing vol up + power

fastboot is still working fine

now i have to flash a recovery image which will bring me to the starting point again

i'm open for further ideas. ;)

maybe i will wait for a new LOS or TWRP version and try again later

it bothers me slightly that i'm not able to get it to run

edit:

bootloader is unlocked

usb debugging is active

and i'm using a xiaomi 9t :)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] :
please try this:

1. flash latest image (fastboot Version) with Miflash (do not lock option)

2. after boot MIUI (no setup) you turn off the phone

3. start the phone in fastboot mode

4. load TWRP, extract this and run the "Flash_TWRP.bat" (TWRP install + vbmeta disable automatic)

5. boot into TWRP (Power + Vol.up)

6. Wipe all what you find and reboot TWRP

7. Copy Lineage into flash and install

8. boot system
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mvha:
I think the same
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] AtzeMatze:
Really happy with this ROM so far. Using it as my daily driver. Very excited for it to go official. Does anybody know, if you can change the fingerprint animation? I know it's only a minor cosmetic thing, but the green point is really irritating me for some reason.