yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gregcrago:
clean flashed lineage-19.1-20220616-nightly-dipper-signed.zip worked fine.

decided to OTA flash lineage-19.1-20220630-nightly-dipper-signed.zip, Google services kept stopping

OTA flashed lineage-19.1-20220707-nightly-dipper-signed.zip, Now Google apps keep stopping AND when trying to call I get "Turn off Airplane Mode or connect to wireless network to make call" Airplane mode is off in NETWORK & INTERNET settings. Flashing back to lineage-19.1-20220616-nightly-dipper-signed
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gregcrago:
Was getting Google Servics Stopped:

Flashed lineage-19.1-20220707-recovery-dipper (instead of TWRP) then ADB SIDELOAD of lineage-19.1-20220707-nightly-dipper-signed and MindTheGapps-12.1.0-arm64-20220605_112439 and GOOGLE started working again. Dont use OTA for updates yet, that what caused Google services to stop
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gregcrago:
Using lineage-19.1-20220707-nightly-dipper-signed, I am using an app (WLED) that talks to MCU connected to same WiFi network. It has a DISCOVERY mode that does not work with current Lineageos 19.1, but other Lineagoos ROMS do work. It uses mDNS and proprietary WLED UDP discovery. Is it possible to get this working?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ndonkersloot:
See my posts a couple of posts back.

OTA and mindthegapps work just fine, but make sure you use linage recovery.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Erics9n:
Does VoLTE work for you guys?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] asdfuc:
Today's OTA brang meaningful battery improvement. What is the easiest way to use camera's second lens? I do not use gapps.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gcholvi:
When connecting the mobile to the computer via USB cable, I cannot access the files. It just doesn't mount the drive.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] asdfuc:
I have just checked my device and I can browse my pics via USB with ease. Try clean installing the rom.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Speedbird2652:
Same here. Only appears after switching to PTP as USB config.

Pictures work just fine, at least in PTP mode (which is what it's been built for). The problem is that PTP only shows image files.

MTP mode/mass storage doesn't work for me. Doesn't even show up in Windows device manager at all. Googling for troubleshooting only seems to bring up solutions that are either 'use a different cable' or stackoverflow threads, but I guess my abilities to solve tech problems are somewhere in the middle.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gcholvi:
@infrag any fix for this bug?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Speedbird2652:
this is the only thing i've found so far, appart from other tips that involve flashing the OS again. which is not an option for me right now, I'm using the phone for phone stuff...

https://xdaforums.com/t/rom-lineageos-19-1-xiaomi-mi-8.4397383/post-87038135
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gcholvi:
I don't think it's a driver problem. With miui it worked perfectly
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] krhodney:
Como instalar esse Kernel? ele vai abrir a instalação atual formatando o dispositivo
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
Just switched from LOS 18.1 to 19.1 and everything runs smoothly. @infrag: Thank you very much for this great work!

Only one of my apps https://f-droid.org/en/packages/com.governikus.ausweisapp2/ doesn't work completely due to extended length limitation as also described in this post.

In LOS 18.1 dipper AusweisApp2 test completed successfully with this parameter in /vendor/etc/libnfc-nxp.conf:

# Extended APDU length for ISO_DEP

ISO_DEP_MAX_TRANSCEIVE=0xFEFF

In current LOS 19.1 dipper image AusweisApp2 test completed with message "extended length not supported". Following the related section in /vendor/etc/libnfc-nxp.conf:

# Extended APDU length for ISO_DEP

ISO_DEP_MAX_TRANSCEIVE=0x0105

So I kindly ask if the value can be adjusted to number/value higher than 261 as also described in

https://www.openecard.org/en/ecard-api-framework/extended-length-problem/

For any questions and/or tests I am available with pleasure. Many thanks in advance for your support.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
What version of gaps is recommended with this ROM guys?

Has anyone got revolut to work with this ROM?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Erics9n:
I am using NikGapps with this ROM and it functions.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dresior:
yes Sir :) https://xdaforums.com/t/rom-lineageos-19-1-xiaomi-mi-8.4397383/post-87121591
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aescrazy:
Hi all, looking to switch to Lineage from PE and just wanted to know how everyone likes the ROM? Battery, stability, performance are ok? I know there was an issue with microphone, is it in latest builds? Thank you
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Kershav:
I like it. Very smooth and fast but - during the day I didn't notice it but in night my phone used 30 - 40% of battery :/

No microphone problem
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] couplefly:
it is a pure AOSP, clear and no any Gapps.

Works stable and smooth.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Have you tried changing the value in the conf file yourself and verified that this actually works for you then?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Yopp5:
Hi everyone, I need a little of help just to be sure that I won't break my device...

Until yesterday I was using the official global MIUI, but i get tired of not having any update (I was a little worry about not having security updates), so I installed LOS 19.1 following the official guide (https://wiki.lineageos.org/devices/dipper/install).

Everything runs perfectly, but there are a few things that I want back (like be able to install the Netflix app which is not showing in the Play Store, i think that is because SafetyNet). That's why I want to install magisk (i think that will fix the SafetyNet check). I have been reading a lot, and I think that the best way to install magisk is downloading the .apk file (from https://github.com/topjohnwu/Magisk), renaming the file to .zip, and installing it using the LOS recovery (using the following sentence: "adb sideload <magic_file>.zip") and, after that, reboot the device and install the manager .apk file. Is that correct?

Two more questions about the magisk, if I install it in LOS 19.1, Do I still be able to install the OTA updates? Is it anyhow contraindicated to install magisk in LOS 19.1?

One more thing, if I want to install in a recent future the TWRP recovery (actually i have the LOS recovery installed and I just read that the latest TWRP is not fully compatible with Android 12), should I install it using the the LOS recovery ("fastboot flash recovery <recovery_filename>.img")?

And the same questions, if I install TWRP in LOS 19.1, Do I still be able to install the OTA updates? Is it anyhow contraindicated to install TWRP in LOS 19.1?

I tried just not to ask but to document my self, but I just want to be sure enough so I wont break my mobile phone. Thank you, and sorry about my english... xD
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] eralxda:
Lineageos19 has no sound when using wireless screen casting display, how do I fix it,please!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
I didn't root my device and consequently not able to change this parameter but did the same test on another 19.1 device with the already above mentioned parameter in /vendor/etc/libnfc-nxp.conf ...

# Extended APDU length for ISO_DEP

ISO_DEP_MAX_TRANSCEIVE=0xFEFF

... and it works successfully.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dresior:
Pretty much, at LOS recovery as a source You can use attached pendrive or local file system, just be aware there will be crc/ signature error during instation You have to ignore it.

Basically two rules:

1. Do not use TWRP.

2. After every OTA upgrade You have to reinstall Magisk at LOS recovery (app and config will survive upgrade process)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Bartłomiej:
I based on this guide when installed a Magisk (and install after each update as Dresior mentioned):

https://topjohnwu.github.io/Magisk/install.html

However I don't have GApps - installed Netflix from Aurora Store, and Netflix works for me pretty well. If the willing to install Netflix is the only reason for rooting your phone, if I were you I'd rather try firstly to install Netflix from Aurora Store :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] cazkiller:
Edited : i think it's working

MTP still not working build 21!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Kershav:
Sorry - It was "always on display" option :P

In MIUI I could set to disable it in the night automatically. When off - I lost only about 5% with wifi on.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Yopp5:
Thank you so much, but I realize that some other apps still doesnt works because de SafetyNet (like the McDonald's App xDDDDD, it do appears in the PlayStore but it show an error when its launched).

Following that guide it's seems a little more tricky to install magisk that just to change the name of the file from .apk to .zip and install it with the fastboot. So the guide says that I need to patch the magisk file with the boot.img which is inside the .zip LOS file, am I right? or should I extract it from the firmware (in that case, I dont know how because the firmware was auto-installed by the latest original MIUI global SO). Once I get the magisk patched file I just need install it using the fastboot method, right?

Thank you mate. Just two questions, how Can I install files from the local file system with LOS recovery? There is an option to mount the local file system, but even doing that i can't see any option to look up the file... The only option that I can see to install something is "APPLY UPDATE/APPLAY FROM ADB". The other question is why you don't recommend TWRP, it is just because it is still not fully compatible with Android 12 or it is for something else?

Again, thank you both for your help and I'm so sorry about my english... (I'm doing my best xD)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Bartłomiej:
Yeah, I will tell you about my workflow which I follow each upgrade time. I use OTA updates only to quickly check if there are some updates available, but prefer to flash the updates with PC - it makes me sure I'm using the same custom ROM file to both flash update and root the device:

1. I download latest both recovery image (TWRP does not work with Android 12 yet) and ROM from LineageOS page: https://download.lineageos.org/dipper

2. I connect device to my PC

3. I restart device to fastboot/bootloader mode

4. I flash the recovery using fastboot flash recovery <recovery.img> command

5. I restart device to just flashed recovery mode

6. I select "Apply update" which enters the device in ADB sideload mode

7. I run the command adb sideload <lineageos.zip> - it usually stuck on 47% but then I got success message

8. I reboot to the system

At this point my device is running the latest LOS version without root. If you update your device with OTA, you can possibly skip the steps above, but I like to be sure I use the same zip file when I'm both flashing ROM and rooting device :)

Now it's time to root following the guide I pasted above:

1. I connect my device to PC

2. I always make sure I'm running latest Magisk app on my phone - if not, I'm downloading the apk file from GitHub (https://github.com/topjohnwu/Magisk/releases) to my PC and install it with command adb install <magisk.apk>

3. I open the lineage OS .zip file with file archiver, check if vbmeta file is there (in my case it always was there) and extract boot.img file

4. I push the boot.img file to my device with command adb push boot.img /storage/emulated/0

5. Now on the device I open Magisk application, select "Install Magisk", then - according to the guide - if vbmeta file was in archive, then I don't need to select the checkbox "patch vbmeta" (I don't remember the exact names of the options, what's more - I use Magisk app in my native language, so the names may be slightly different)

6. I select the boot.img file that I pushed before to /storage/emulated/0/ (internal storage) directory and click Next

7. Now Magisk is patching my file. Once it's done it will export it to Downloads directory

8. I pull the patched image to my PC using adb pull /storage/emulated/0/Downloads/<patched-boot.img> <your-local-directory> - basically this command will fetch the file from your device to some directory. I'm personally using Linux, so I always pull the file to my home directory (i.e. adb pull /storage/emulated/0/Downloads/magisk-patched-boot.img ~/)

9. I restart device to fastboot/bootloader mode

10. I run fastboot flash boot <just-fetched-patched-boot.img>

11. I restart the device And at this stage my device is already rooted.

This is my workflow which I follow each time I want to update my device. The original guide is more tricky since it covers more devices and configurations, so please double check that if you want to follow mine.

Unfortunately, I will not tell you how to pass SafetyNet since I don't have and don't want to have Google services on my device.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Yopp5:
Wow man, thank you so so much!!!!! I'll try your guide (and copy it in a docx for future references xDD) this weekend.

I own you a few beers!!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nullfeed:
Reading through the thread, it appears this ROM has issues with battery drain, MTP (mounting to PC), and possibly connecting to GPS satellites. Is this correct?

Also, since TWRP is incompatible with Android 12, how do you all backup your data?

Lastly, I see a "Kernel test fix audio problem in calls" boot.img patch in the original post. Has this been merged or will it ever be merged into LineageOS?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dresior:
I'm using Linux and both MTP and PTP modes are working perfectly.

GPS working fine - average fix location time is 3s.. (where did You get this - in the first place?)

For me the only battery issues I have are related to buggy Edge browser sync, but it's a Microsoft fault :)

Mic fix has been merged.

For the backups - there is a built-in support for Seedvault.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
Does anyone know how to use miui weather app on LOS? It seems that there are some model restrictions in this app.That's to say, if it detects itself runs on non-miui ROM, it refuses to run, I think. Maybe we can remove these restrictions, but I have no idea how to do that, sad...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] uli-hh:
Did you already do a google search for your question? Then you would find this:

Xiaomi Miui 12 Weather App on Any Android Without Root
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
actually, i'd like to know how to mod this app myself, coz it updates sometimes
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nullfeed:
I believe I read it in one of the previous posts, but I'm glad it's not a real problem for most people.

That's great to know. It wasn't clear from reading the OP.

I've never heard of Seedvault until you mentioned it. Can't wait to try it out.

Looks like I'll be upgrading this weekend! I haven't messed with ADB in a long time.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] uli-hh:
Then you should join the Miui Weather App Port telegram group/channel.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aescrazy:
Hi all, I've recently flashed to the latest zip and I've noticed that I'm only able to get 4G on my device. Is this right or is there a fix?

Also, is the rom based on 12L?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
I'm curious. What were you expecting to see there? 5G?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aescrazy:
Hopefully yes 😂. But LTE I was hoping for
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
infrag said:

Have you tried changing the value in the conf file yourself and verified that this actually works for you then?

@infrag ... just saw that the request has been already placed in https://review.lineageos.org/c/LineageOS/android_device_xiaomi_dipper/+/334057 .
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Yes I saw that too.

I just have to test it first and make sure it has no adverse affects that I can notice. I obviously cant test if it fixes anything on my own device as I dont have that problem.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
@infrag Many thanks for your great willingness. And I'm ready to test with pleasure. In case it's of interest https://download.lineageos.org/pioneer with standard installation also uses "ISO_DEP_MAX_TRANSCEIVE=0xFEFF" successfully.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nullfeed:
Is dirty flashing from LOS 18.1 to 19.1 supported? *fingers crossed*
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
Just did an upgrade from 18.1 to 19.1 following this instruction on https://wiki.lineageos.org/devices/dipper/upgrade without any data loss. Only home screen had to be rearranged. Nevertheless backup of all productive data before is self-evident.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
FYI change has been merged.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] asdfuc:
What is you camera app recommendation for this rom without gapps? Stock cam sucks tbh (but the whole rom rocks!)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nullfeed:
I saw the following recommendation on the PE Thread, for what it's worth: https://xdaforums.com/t/rom-official-11-0-12-0-dipper-pixel-experience-aosp.4244675/post-87191729

Last night I finally had time to upgrade to android 12 and everything works great! The only tiny problem I had was 1) no working fingerprint reader and 2) the Wifi Sharing button did not activate -- These problems were easily fixed with a reboot. The update process was a bit different from the previous methods, but luckily the LOS documentation has you covered.

I gotta say, battery life and responsiveness seem to have improved. I'm loving the update. Huge thanks to everyone here that take the time to answer everyone's questions. I wouldn't have upgraded without your help.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
Thanks a lot! I will check this with upcoming release and give feedback next week.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] srilampi:
I'm using "GCam_7.3.018_Urnyx05-v2.6" from https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/ and it works fine. Please note that you also need https://github.com/lukaspieper/Gcam-Services-Provider from F-Droid if microG isn't installed or not wanted.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
you have to flash magisk, pretty easy. Just search for a guide
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gelrav:
@infrag

Thank you very much for this version! Most apps work fine for me.

Two hints for the developpers:

I tried to install Vocalizer_e2.tts. But it crashes when I started it. (I know that it has been developped for an older Android version, but it worked fine in Lineage 18.1.)

Advanced restart is not working.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
New gapps included build in OP.

Non Gapps build to follow
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Tom_wvw:
Nice job!!!

I met a problem about lineageos 19 compiling.

I synced the source code of lineageos 19 , device tree and kernel , and the first time I followed the official build guide and I succeed. But when I want to build it again without any changes to the source code, I met this error message:

FAILED: out/soong/build.ninja
cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp
***************************************************************************
Could not find ui.xml for TW_THEME: not set
Set TARGET_SCREEN_WIDTH and TARGET_SCREEN_HEIGHT to automatically select
an appropriate theme, or set TW_THEME to one of the following:
landscape_hdpi landscape_mdpi portrait_hdpi portrait_mdpi watch_mdpi
****************************************************************************
(theme selection failed; exiting)
17:15:21 soong bootstrap failed with: exit status 1

So anyone knows how to fix this ? Thanks a lot :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
@Tom_wvw

https://www.reddit.com/r/LineageOS/comments/jon74x

Just googled.......
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] minax007:
Today I have installed the latest non-Gapps version and it works like a charm.

But I couldn't install the Nanodroid-patcher for signature spoofing.

Furthermore it got stuck in boot-screen after installing the Nanodroid-mircrog package.

Does anyone have an idea how I can install signature spoofing and MicroG on it?

Thanks in advance!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Tom_wvw:
ok, although that is not my problem.After deleting the vendor/, device/ and out/ directories, and run `repo sync --force sync`,the ninja went well . So this may caused by the non-perfect build scripts,Or may be the mirror I synced from was different from the origin.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] procyon77:
Hello,

Statusbar is very small for icons for right side of notch. If I choose battery icon as text, no space remaining for anything on this side. I'm using default font and icon size.

Is there any way to fix this?

Thanks in advance.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Lineage-19.1 builds in OP.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] GoDieNow:
@infrag I've encountered a few weird things that are not a real issue for the usage of the rom but you might want to check:

The files app is restricting the usage of special folders like sdcard/Android/* with a message about your privacy. A simple way to trigger it is to open Mix explorer (or any other file explorer I guess) and try to enter into that folder.

I checked and it seems to be a problem with the version of the app in A12.

The accent coloring seems to default to a pink-ish color when the background has too much black and to blue-ish when the predominant is white. I attach a couple of images as sample.

The brightness of the screen seems to be lower than it should/was before.

I'm not sure if this is a general thing or just happened to me. The way I discovered it was because after install the rom I noticed that the NFC wasn't working so I endup installing latest firmware and then is when I noticed that from before the reinstall and after the bright of the screen brightness got reduced (and the NFC was back to working), can say how much but enough to notice without actively looking for it..
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] sexyboi:
Can i just flash it directly without flashing miui? What will be the problem?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] couplefly:
You must Install MIUI's official firmware.

Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com

Recommended firmware is latest MIUI stable firmware.

No custom kernels are supported in this thread. Only stock kernel and official builds will be supported.