yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Uploaded the build I did yesterday to AFH: https://androidfilehost.com/?fid=673791459329061831 . My builds have the inbuilt weather plugins removed, plus a small tweak to the lockscreen, and all vanilla LOS apart from that. Try it at will.

Kudos to Cenkay and hondajohn88 - this is all their work, I've done nothing worthy of mention here. If either of you feel this is inappropriate, give me a call and I'll take it down.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KevinLuong:
[MENTION=4467696]AndyYan[/MENTION] Is Android Auto and VoLTE working on your device?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] :
[MENTION=4467696]AndyYan[/MENTION], what tweak to the lockscreen is it? Would want to know before flashing.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I have no way to verify either, sorry.

I reverted the lockscreen fonts back to how they look in Lollipop - see here for details on execution and screenshot. Aside from that, I removed weather apps, cLock (LockClock) and basic Daydream screensavers at compile time. Both are personal preferences.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
Hey there ! First of all, thanks devs for porting lineage to our great mix2. I installed release from the OP and while known bugs are no issues for me, it's going to be my daily driver. However, i'm acountering a weird issue : while receiving calls or making calls, I don't have the INCALL screen. Meaning, I can't slide to respond / reject, as well, I can't hang out my calls. Has someone else facing this ? And / or have a fix ? Thx

EDIT : Damn it ! Found it. After being able to install this fine, I feel a bit stupid not having checked the default apps. Anyway, if someone's is going to ask for the incall, here it is. :/

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
[MENTION=4467696]AndyYan[/MENTION]

Does DT2W work on your build?

On my build it doenst work.

Raise to wake works by the way.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I made no improvement upon the 2 devs' work, so naturally doesn't work here either. I don't expect it to work unless we are ready to move away from prebuilt kernels...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Fjux:
So your build is the OP Build + fixes for the BT? (and some small additional fixes)

I can unlock my bootloader tonight (72H finally over) and want to test LOS as i hate MIUI by now (in that 72H).

and i'm also using BT headphones, so i would like them to keep working ;)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
aha, i never installed the version from OP and _Phoenix_ mentioned in a post in this thread "Double Tap To Wake - In order for this to work, your screen must be off for a short period of time - This function works"

So i assumed it worked ....
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] _PhoeniX_:
I ended up switching over to Xenon Rom as the BT seems to work on that Rom. Funny thing, it is actually built on the LineageOS framework. Almost all of the frustrations I was experiencing with the other Roms seems to have been fixed in the newest version of Xenon. DT2W, DT2S, BT, etc. Will be sticking with Xenon as a DD for a while until an official LineagOS comes out. Love the stock android feel. :good:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Pretty much. Security patch still isn't updated to November so not much interesting on that front. If you feel comfortable with the personal additions I mentioned earlier, flash away. Been using BT headset alright for the past 2 days.

So DT2W works even in deep sleep over there? I should probably ask hondajohn88 what made it possible - after all, as you said, XHD and LOS has a lot of similarities (the ease to import the BT fix is a testament).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] _PhoeniX_:
From what I can tell, yes, all is functional. I use that feature all the time instead of wearing out the power button.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] defkev:
Sounds about right.

Just got myself a QC 3.0 wall charger from Anker which pumps in ~2800mA according to /sys/classes/power_supply/battery/current_now and its still only showing "Charging"
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
I did a build with the device and common xenonhd tree from hondajohn88 but still no dt2w.

Might not be pushed to github?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] deugiaforever:
Behide a big gap from MIUIpro, I tested one day and switch :(, still a lot of buggies
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
I don't get it. I'm using it since a week now and evertything's smooth and stable. Except the BT streaming which fix is a time matter, I encountered no apps crashes, freezes, reboots or weird issues. Having used many custom roms, I'm impressed that this one is that reliable with all sensors working. A really good job for an early release !

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] deugiaforever:
Sensor proximity bug, led light so fast...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] 3473:
Is there any way to make the ambient display respond a bit quicker? It takes a few seconds to come on
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Nynn:
Is there any chance that we get an update including the Bluetooth Audio fix?

Another question. I have in the best case 2.5h sot. It looks like the Lineage OS System, in detail the CPU is draining a lot of battery. I have attached two Screenshots showing the Problem.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] isRaZZe:
Is there a fix for this in another available rom?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
Using my own personal build I get better sot then you mention. I USB charged as some point but that was only a few percent extra.

BT is fixed.

If you like I can upload so you can try?

I tried RR but I like LOS better , I don't need that much customisations.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] isRaZZe:
Absolutely. Upload it, please, and I'll test it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Nynn:
I would love to try your build. Can i dirty flash it?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Planet X:
I would als like to test your build. Di you have got your DT2W problem fixed too? I am now on XenonHD Rom and DT2W works as intended. Please upload your rom,
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
i flashed over previous personal LOS builds without issue., but YMMV.

DT2W works after rebooting the rom after first flash.

Flash >> boot >> DT2TW doesn't work >> reboot >> D2TW works

(you can reboot after , it D2T2W works) not sure why this is needed.

issues:

- proximity doesn't work

- tilt sensor for active display is a bit slow to respond.

- accu led flashes fast (i just disable it by hand in settings).

did a clean build today:

https://nofile.io/f/d34R9rKxfj3/lineage-14.1-20171123_135319-UNOFFICIAL-chiron.zip

md5sum: bc6ca95b5aac5968246813f3342f0592
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hillolp:
did a clean build today:

https://nofile.io/f/d34R9rKxfj3/lineage-14.1-20171123_135319-UNOFFICIAL-chiron.zip

md5sum: bc6ca95b5aac5968246813f3342f0592[/QUOTE]

Volte working with your build ?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
Volte working with your build ?[/QUOTE]

no
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] isRaZZe:
Thanks for that. Did you run a new build today to integrate your commit from https://github.com/koen01/android_v...mmit/dfa61f8f8625bc527717160eb000313b4ea47c42 ?

Is there any changes i you used the blobs from xiaomi.eu ?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
wlan and camera are broken after using new blobs.

need to research what went wrong there..
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] isRaZZe:
Now i have flashed your rom and it works great. Bluetooth Audio is working and now its my daily driver. Thanks for you work ! :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
Got a working 'base' build with new blobs and kernel image from global stable (miui_MIMIX2Global_V9.1.1.0.NDEMIEI_232bee13eb_7.1.zip) and lineage sources synced up until today.

Next is a a rebuild with [MENTION=5372388]hondajohn88[/MENTION] usf additions.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] xream:
Will proximity sensor be fixed? Thanks.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
Nope. Still nothing.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] daniel51:
Hello, does the 180 rotation of the screen work with the front camera? For use in video, or selfie.

I tried a previous version, it did not work properly.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] pegasus21:
I am using the version initially posted and front camera works with rotated screen. At least the ui elements are rotated properly. Is your screen rotation toggle enabled in the drop menu?

BTW, is anybody able to use EAP-SIM to authenticate WiFi? I don't seem to be able to do so even when the right SIM is selected.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Freisturz:
Try longpressing the rotation icon in drop-down menu. In the display orientation settings you should be able to activate 180 degree rotation.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] daniel51:
Thanks.I'm going to try. The rotation was activated, but the screen did not turn 180, just 90 °. I'm temporarily flashed EPIC ROM
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
I gave up.

Am switching to a oneplus 5t i think.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] _PhoeniX_:
:laugh:

I had thought that same thing a few days ago, but I really like my Mix2. I had the OP5 before this Mix2, and while the OP device was very stable, I like the Mix2 much better. Since this phone is so new, it will take a little time to work all the bugs out and get the software where it needs to be. Patience is key at this point for using a modded Mix2.

Good luck to you if you decide to make the jump. I am sure you won't be disappointed with the OP device! :good:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] TrustAugustus:
Is there any active development going on with lineage 15 for this device? Thanks!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Chill, even 14.1 is still slightly buggy and using a prebuilt kernel at the moment.

Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] TrustAugustus:
I am chill thanks, it's winter here after all...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] RayfG:
I am using a Huaweeii Mediapad X2 at the moment and i am willing to change device to mi mix 2. How is the display like and is the suspected device fast and smooth during lineage OS usage? Stability and Notifications are very urgent and should not be a concern. Are there chinese language signs Luke in mediapad X2 in some roms? Will the lineageos be supported til next Version?

Thx for ur support, Greetz

Ray
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
Excepting the fact that unlocking bootloader is a pain, I'm using lineage since I got my mix 2. The screen is Amazing and lineage is rock stable (using it since a month). The only things you will have to deal with are the frenzy notification light (even slowing it down to max, but not a concern for me since it works) and the proximity sensor not working (you will have to play the power button during phone calls). Otherwise, everything pretty smooth and I really enjoy the phone right now. Fixes for led light and proximity are already on the go in the XENON Rom thread and will probably reach lineage someday but this ROM's dev seems to be away since a while. Hope that somebody takes back lineage for fixes and maybe official repo. Cheers.

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] RayfG:
Merci pour ca. Tres gentile.

Ray
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ncbell:
Flash

I tried to flash your build, but got stuck on the LOS splash screen. Any ideas why? I flashed over LOS.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Africa2k2:
You can try format userdata partition from pc. In cmd you type:

fastboot format userdata

with the phone conected in fastboot mode (vol- and power)

Works for me.

Sorry my english, Good Luck.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] HAN216256:
Bluetooth audio can use it?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Feenfleisch:
Yes it's work perfect
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] prophet558:
But the UI is hideous and juvenile. Even after themes. But it has great battery optimisation tho.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DakiX:
I have now RR but i want to try Lineage. Can i flash without fullwipe?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
Wipe system cache and dalvic no need to wipe internal.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
Not 100% sure about that. I reflashed it over LOS itself because I messed up with something and two times I got many apps freezes and system random crashes. I would really recommend a clean install after having made your previous install backup.

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] fabian_screta:
Hello, i have TWRP 3.1.1 from XDA Flashed, works good.

Now i Flash the Rom but dont work:

checking for TZ Version TZ.BF.4.0.6-00130

assert failed: xiaomi.verify_trustzone("TZ.BF.4.0.6-00130")=="1"

updater process ended with ERROR 7

i have make the easymethode with Edit updater-script (the 2 Second assert with Notepad++) und repack the zip file with winrar, Flash down after this Boot and boot and boot...

Why Error 7 with the Rom and the dont work the easymethode not?

Is the Global Version from gearbest...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
You won't be able to flash anything from the global version. You will have to fastboot flash first the MIUI chinese dev rom, then reflash TWRP 3.1.1 and you're good to go. I had the official chinese ROM first and got also stucked until I flashed the dev ROM.

Grab it here :

http://en.miui.com/a-234.html

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] fabian_screta:
Thanks this is the solution!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Wahoux:
Hello,

So, as the Mi Mix 2 Kernel sources has been released few days ago, we should except LOS 15 soon no? :)

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/sagit-n-oss/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
Glad to help ;)

I don't see any ref to MIX 2 sources (Chiron).

Those are for MI 6 (Sagit).

EDIT : My Bad, seems to share the same code.

Envoyé de mon MIX 2 en utilisant Tapatalk

---------- Post added at 05:25 PM ---------- Previous post was at 04:47 PM ----------

Stupid question but ... While MIX 2 shares code with MI 6 ... Are MI 6 Roms flashable on our device ? Just asking because a stable Oreo build is already available for SAGIT.

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] UltraCLD:
Why I can only find lineage os 14.1 Roms on official website but there are many lineage os 15 stock Android Roms based on Oreo for many devices on other website? RootmyGalaxy.com for example.This is not a ad for them,I I'm just confused,because I want a Oreo build on my phone but I can't find it on lineage os official website.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
LOS15.x source code is a work-in-progress. Everyone can compile from it, and skilled devs can crank out fully working builds and put em on the web, but those are all marked "unofficial". Until LOS team themselves think the code is release-ready, you won't see anything official.

Also, trust none of these sites, most if not all just make a fancy title and link the ROM download to XDA, which I see as stealing credit from respective devs.

Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
Does your self-built LOS 14.1 work well? Don't feel like sharing it with us plebs here? :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Already shared a November build earlier. I checked the repos and nothing device specific going on since then, so a new build wouldn't serve much purpose.

Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] UltraCLD:
Got it.Thanks.What about lineage os 14.1 Roms for mix 2?Any official Roms released yet?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
This unofficial one still has quite some bugs due to using a prebuilt kernel. Until devs sort it out we won't ever turn official.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Drethis:
Is this still in development? Doesn't seem like the OP has been updated in a while now.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] fabian_screta:
Camera App Crash and phone does not Work (Phone works but i Can not hang off or Incoming i can not accept(The Field commes not!)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jayz2K:
Those are known and already discussed un thread.

Camera :

Edit build.prop and add line :

persist.camera.HAL3.enabled=1

Then clear camera app datas and cache and restart camera.

Phone :

Go to settings > apps and set phone default app as Google phone.

Envoyé de mon MIX 2 en utilisant Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] fabian_screta:
Thanks! Very Nice, now works allllll!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] warg0:
Will BT Audio be fixed soon? Is a official version close?

Thanks!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Builds from other users with BT audio working are scattered in previous pages. Also...

Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Just noticed some changes in honda's audio-related repo, dunno how relevant, but figured I should make a build anyway. Here it is: https://androidfilehost.com/?fid=817906626617955492

For those new/unaware, this build incorporates BT audio fix from hondajohn88.

Difference from vanilla is still the same, as quoted below.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DaCoolX:
Thanks for the time and effort, little question, does this support device encryption?

Edit: Tested it out, works with Encryption, yay.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] bud.de:
Works great. I came from Xiaomi EU ROM with unlocked bootloader and flashing this was a breeze. BT Audio great, dialer works, only the proximity sensor is left. Battery life not as good as before, but more than acceptable.

Thanks a lot for the work. Phone is much better now, especially because it feels like the phone is not calling home anymore.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Emergency edit: WiFi broke, probably because of the vendor change. I'll see if I can fix that independently.

Welp, I derped with the last build - fixed and updated links. Lesson learnt, always clean before building :P

Great news for people still watching this - with extensive help from [MENTION=5372388]hondajohn88[/MENTION] (the maintainer of XenonHD for our device), I was able to make a build that incorporates more of his fixes, including for proximity sensor (which many have been waiting for a fix), so it's functionally on par with XenonHD.

Here goes:

AFH (recommended): https://androidfilehost.com/?fid=889964283620776115

Baidu Netdisk (for certain Chinese users): https://pan.baidu.com/s/1hskxx68

Again, this is all thanks to [MENTION=5372388]hondajohn88[/MENTION] - go spam his Thanks button! :)

Small differences from vanilla LOS for your reference:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hey [MENTION=4467696]AndyYan[/MENTION]!

Great to hear this! THX!

Is it possible for you to post/link to the github repos that contains your fixes?

My plan would be to setup an build environment with that to create an twrp 3.2.1-0 based recovery (that works ;)) and maybe build an own ROM.

Thanks in advance!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I didn't fix anything on my own - I just replaced some of OP's repos with ones from hondajohn88, in which he wrote his fixes to XenonHD. The two ROMs are kinda similar (along with MoKee but that's out of the question for now).

Here's the manifest I'm using:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CenkayKESER/android_device_xiaomi_chiron" path="device/xiaomi/chiron" remote="github" revision="cm-14.1" />
<project name="CenkayKESER/android_device_xiaomi_msm8998-common" path="device/xiaomi/msm8998-common" remote="github" revision="cm-14.1" />
<project name="MoKee/android_kernel_xiaomi_msm8998" path="kernel/xiaomi/msm8998" remote="github" revision="mkn-mr1" />
<project name="hondajohn88/android_vendor_xiaomi_chiron" path="vendor/xiaomi/chiron" remote="github" revision="xenonhd" />
<project name="hondajohn88/android_vendor_xiaomi_msm8998-common" path="vendor/xiaomi/msm8998-common" remote="github" revision="mkn-mr1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.1" />
<remove-project name="LineageOS/android_system_bt" />
<project name="hondajohn88/android_system_bt" path="system/bt" remote="github" revision="xenonhd" />
<remove-project name="LineageOS/android_hardware_qcom_audio" />
<project path="hardware/qcom/audio/default" name="hondajohn88/hardware_qcom_audio" groups="qcom,qcom_audio,pdk" revision="xenonhd" />
<project path="hardware/qcom/audio-caf/msm8998" name="RR-chiron/hardware_qcom_audio" groups="qcom,qcom_audio" revision="proximity" />
</manifest>

I might have missed one or two basic repos (I have different manifests for devices I build for) but running "breakfast" should reveal those (if any).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
[MENTION=4467696]AndyYan[/MENTION] thanks for your fast reply!

One last question before going to kitchen: With what repo did you init your build environment? (i suppose: LineageOS -b cm14.1)

Thanks man! :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Yeah that's it - basically I followed the official guide on LOS Wiki but used the custom local_manifest and skipped extracting blobs (vendor repos cover that).

I suppose one could use LineageOMS repos to make a build that supports OMS mode (Substratum), but that repo is fairly outdated by now so I didn't try.

Also, I seemed to have broke WiFi by replacing vendor - I'm looking into what's wrong.

Edit: fixed and updated links.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hey [MENTION=4467696]AndyYan[/MENTION]!

Thank you so much! Your manifest collection guided the my way to an good working TWRP 3.2.1-0 :D

I'll do some tests within the next hours.

If everything went fine i'll open an new thread with an download and update TWRP for this device as needed.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Good one - I actually have no idea how to build recoveries, might have to ask you back about it some time. Looking forward to it!