yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] zelendel:
I will say this only once.If there is an issue then it needs to be taken up in private PM.

As for the allgations. XDA rules and the GPL require that the current linked source be buildible and current to the kernel that is in the rom. (which will be verified)

Now if there are any other issues about this then feel free to send the dev a pm or contact me the same way.

PS. It doesnt matter if people do it for free or not. The rules will be upheld.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Slagathor:
Since the second early build (the second link Bruno provided) I have some noticably battery drain, around 10 hours of use instead of 15 hours. Anyone can confirm or is it just my phone?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Slagathor:
Here is a screenshot of my battery life.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
About capacitive home button: I found out the OP3 has the same fingerprint sensor and has capacitive home button. Useful resources:

OP3 fingerprint sensor driver: https://github.com/CyanogenMod/andr...blob/cm-13.0/drivers/input/misc/fpc1020_tee.c

Mi5 fingerprint sensor driver: https://github.com/CyanogenMod/andr...rs/input/fingerprint/fpc1020_ta/fpc1020_tee.c

OP3 virtual home button triggered by fingerprint sensor driver: https://github.com/CyanogenMod/android_device_oneplus_oneplus3/blob/cm-13.0/keylayout/fpc1020.kl

So it should definitely be possible and maybe we can copy some things from OP3.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mrsachou:
I still have the headphone issue, i'm the only one?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muhrizky:
Sorry to interrupt.

So about the newest build, is it getting better?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
I think so, [MENTION=455439]bgcngm[/MENTION] is working on headphones fix.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muhrizky:
It's fine on build 20160916 that I'm using.

---------- Post added at 07:19 PM ---------- Previous post was at 07:16 PM ----------

Ah yes the headphone issue. Thanks for the confirmation anyway.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] schjor:
Yes, but that version is with prebuilt kernel...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muhrizky:
I don't understand technically about the kernel.

But this build 20160916 still working fine here.

I seen no further progress on the capacitive touch, so perhaps better to keep watching first before update.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Maybe [MENTION=455439]bgcngm[/MENTION] will add capacitive touch in the next update he will release, nobody knows.. I would rather want to have headphones fixed than the capacitive home.. :fingers-crossed:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] elrombios:
Hello, any chance to get aptx support in bluetooth stack? Is it possible anyway or it's a mountain high?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] veimus:
soft touch on home button is working great on cm-13.0-20161001 :) good job [MENTION=455439]bgcngm[/MENTION]
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xpdev:
This is a beautiful news

Waiting fix for Ambient Display then this cm 13 is almost perfect
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] schjor:
It's working just for waking the phone, not when display is on...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
No drain overhere. Same latest beta build.

---------- Post added at 10:38 AM ---------- Previous post was at 10:33 AM ----------

As for soft touch,

You can reconfigure the menu/recents button, (or even back button)

For example so that long press will act as a home, short press is well, recent. And double tap is go to sleep.

This is what i use myself. Since i dont like to press physical button. My iphone days teach me a lesson that any button has an age and it getting shorter with wear and tear, hahaha.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Don't forget that there's also statusbar double-tap to sleep feature. ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Yup, indeed,

But for a guy with short finger like me, reaching top of the screen sometimes kinda feel like am doing gymnast, LoL

Anyway, have a good day bruno, thx for the good work, as always
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Yeah, I had already noticed that. However, capacitive home button is a new feature not a fix, so it can be added later. The highest priority at the moment is to deal with all major issues in order to turn on CM nightlies for Mi 5. The only issue I see so far is the audio routing to heaphones, so that's the focus now. But of course, I would appreciate your or anyone else help, so join me on Gerrit. :fingers-crossed:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xpdev:
Great bgcngm

Your work is amazing.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mmugatti:
You can use all in one gestures

https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=es
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
If anybody still is interested in: I updated both (Userdebug and Userbuild) releases on my OTA Server. So if you're still on any of my releases, you should get the updated Device / Kernel Tree now via OTA. I will stop publishing userdebug releases until this thing is "Official" from Cyanogenmod side, however i'll still building and publishing my Userbuilds (With my own Releasekeys) via OTA.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
[MENTION=455439]bgcngm[/MENTION] sorry for the super late reply regarding Bluetooth tethering. I finally got around to updating. This is on the 1001 release. http://cloud.tapatalk.com/s/57f243ef378f1/2016-10-03-19-38-55.txt

I'm trying to tether connection to my iPad mini retina running iOS 9.3.3 . it goes connecting for a few seconds then goes back to not connected
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Headphones don't work with this update. Idk if this is the same kernel that upload [MENTION=455439]bgcngm[/MENTION] before.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Huh? Not gonna even try.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
He mentioned it's from the updated kernel tree. Idk what else you expected
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Hmm, idk that update was from the official kernel build.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Fırat.ç:
So how is Camera image quality on last CM roms? Is it good as much as miui roms?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
I see all the videos at x0.25 speed (like the one shown on YouTube) and with no sound at all.

Hmm, nvm, after 3 reboots the problem was solved.

Edit: So all of these problems come after unplugging the headphones. Sometimes there is no audio from the speakers, or the audio got desynchronized.

Rebooting solves the issue.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Yes, everything is related to the headphones audio routing problem. As I said already, this is being worked on.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Ok, thank you!

Enviado desde mi MI 5 mediante Tapatalk

---------- Post added at 05:28 PM ---------- Previous post was at 04:36 PM ----------

Btw, I know that solving the headphones issue is the most important thing, but are you taking in consideration the wifi problems? I mean the random disconnection even when you have range. Just again, I'm not talking about doing something now, just to make you know. Thanks for your work.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
WiFi is working in general, but of course I will check later for any kind of issues. That will not be a blocker to start CM nightlies, but the audio routing is.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
That's nice. I guess this will come sooner than I thought. Thanks!

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] it00x32:
i cant find the option for "home" in the keys settings? It would be nice to change left and right as Miui uses the right soft touch for back and i got used to it

---------- Post added at 07:59 PM ---------- Previous post was at 07:57 PM ----------

would be nice to know - same quality with the cyanogenmod Camera?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
Can't complain but never took a photo with Miui. So i only can tell you, for me the quality with CM is "good" to "really good".

You can't compare it with iPhone 6 / 7 but...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I see you are new here. Read the commit message: https://github.com/CyanogenMod/andr...mmit/c9d477fece3853195a04afeb7eeb4c4d5aeca168.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
i ordered mi5, this is so great. hope these developers never stop. it will bring new life for my new mi5. i love cyanogenmod.

hope we see official nightly soon!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] matthieu.g:
Hi there, how can you manage to make the recent button act as the home button without xposed ? Under button settings we can't right ?

Thx a lot.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
If it's not a CM official feature, it won't be added to this ROM, afaik.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chiragkrishna:
Backup your phone first !!!

you can try flashing this to restore your Xiaomi keys or if you want to do it manually,...

Make sure you grant root access to your file manager.

open file manager or ES Explorer or any other root file manager in phone and go to

system/usr/keylayout/

open the file "synaptics_dsx.kl" in any text editor

edit the following

key 139 APP_SWITCH VIRTUAL
key 158 BACK VIRTUAL

save & set permission as follow

S R W X
OWNER [] [x] [x] []
GROUP [] [x] [] []
OTHERS [] [x] [] []

Reboot...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
OK I just got this phone. I'm not new to flashing rom and unlocking stuff. But first can anyone be kind enough to say how is the picture quality with this rom?... Because good camera is my priority these days... And I'm used to stock aosp coz I have oneplus x so miui seems childish...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
MIUI has better pic quality imo, but CM is not that bad.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
Thanks I guess will hold to miui for sometime coz in my side festival is going on so need a good camera and I'm impressed with the mi5 camera. Will try this rom after couple of weeks.. I'm not gonna off topic anymore. See you soon
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nxr_:
Ask Xiaomi for your unlocking privileges now so you don't have to wait in the future.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
The Updates menu shows a new release from 1003. What's new [MENTION=455439]bgcngm[/MENTION]?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
You're using [MENTION=7476656]shade.sh[/MENTION] 's build. He builds weeklies. Nothing new and nothing fixed iirc. You can tap on it and view the changelog
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
When I tap the build it says "No changelog available".

So is this build using the prebuilt kernel [MENTION=7476656]shade.sh[/MENTION]?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
No, it's build with the Kernel Source bgcngm is managing at the moment.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
I see sometimes that battery percentage makes some weird "jumps". I mean, instead of going from 100% to 99%, it goes from 100% to 98%. Is not a big deal, but I guess you might take it in consideration.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] schjor:
+1
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Yeah same like me
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] @ndrey:
Is this a very important problem? No need to write the same, one message is enough, there are more important issues for the moment, but the same problem is also on MIUI 8, but does this actually matters? Please don't spam.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] wellsgz:
with 10.3 build additional button option seems to be missing, couldn't swap menu/back button
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vikkolts:
#offtop

I haven't got this problem on MIUI 8 ROMs

Надіслано від мого MI 5, використовуючи Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vibranze:
Is the audio issue affecting BT audio as well or only wired connection? How about speaker phone? Thanks.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chiragkrishna:
Here
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Only wired. No problem with Bluetooth or speaker

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vibranze:
Thank you for the confirmation, I will flash it soon as I only use BT headset. :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ggdsn:
I want to build cm rom too, could you tell me where to find the local_manifest.xml of mi5? thank you
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] @ndrey:
For the moment all operates fine except good camera, it crashes often, but it is much better for panorama then stock camera in CM13. Also from the first day it seems that battery life is lower than on MIUI, will continue to monitor.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Uninterrupted:
Hi. I'm on the global estable rom and I'm thinking to flash CM13. Is everything working? It's better in terms of battery? Thx
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hampa:
Check first page to see whats "broken"

Batterywise it's similar.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
Mi5 DT & kernel are already in official CM repos. Just run `breakfast gemini` in your build root and it will automatically compile the right manifestand fetch the repos.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Dearminder:
So I shouldn't to upload to this version If i want use Headphones?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Yeah, stay on the pre-built kernel if you want working headphones.

Sent from my Mi 5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
It may be the camera app you're using that's causing the crashes.

I have Camera2 enabled and am using Footej camera and have not experienced a crash using the camera so far.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] baldomo:
How can you have Camera2 on? It's not (yet) supported on this ROM afaik.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
There's another thread on here that details how to enable the Camera2 API. It appears to work for me.

http://xdaforums.com/mi-5/how-to/enabling-camera2-api-t3423719/page3
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] baldomo:
Aye thanks man. :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Is there any change in build 20161006?? Is audio headphone already fixed?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
What's the last build with working headphones? And will it be OK to dirty flash a new build over the top of it when headphones are fixed, even though the kernels are different?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
Dirty flash is ok, wired headphones still broken tho
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vibranze:
Is dirty flash ok from 20160922 to 20161002? Thanks.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
yes, i do that too with no problem, but yeah all the broken things in new kernel will be there
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] adix82:
Hey guys, did you all had a decent batt life from this rom? It seems to suck 1% every 2-3 min. Is it normal?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vibranze:
Thank you. Camera2 API is working so I m good with it. :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
I can report good battery life especially when the screen is turned of it didn't suck any battery for like 12 hours.

When the screen is on, it's normal - like 1% every 5 min..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] @ndrey:
it is stupid T9, I wanted to write "Google Camera".
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
What's the last build with working headphones?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Zinken:
20160922 I think.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DaveP2611:
Does Android Pay and the Sky Sports app work with this or does it say that the Android version cannot be verified? One reason I went back to Stable MIUI instead of the BETA program I was in.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bayusuputra:
Is doing this messes up your front cam? As in, is it upside down like before?

I'm thinking of going back to CM (although I might have to carry my bluetooth receiver all the time as I listen to music a lot), but camera is also one of my top priorities, including front cam.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
It does, but there's a flashable zip in the thread that fixes it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
You have to install an older version of Google Camera as the newer uses camera2api.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
I'm not a great coder by any means and I've only done a diff and search through both files but it almost looks like Xiaomi removed the soft touch lines from the driver code.

Line 296-346 in the OP3 driver looks like it should be in line 250-262 in the Xiaomi driver, but it isn't. There's also no mention of the home key in the driver.

[MENTION=455439]bgcngm[/MENTION] what do you reckon?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] @ndrey:
I am using 3.2.045 it is not new one. It crushes time to time. And always crushes when change from photo to video.What version do u recommend?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] elrombios:
Can you be so kind to repeat this flashable zip?

Thank you!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] s0ur0v:
Should mention about broken headphone in OP.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
it is clearly written in OP.... in broken stuff part

guys, with custom kernel can you really disable now the hw buttons when enabling virtual navbar, or they still come back automatically after locking/unlocking phone?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
Was quoted on the last page of the thread :rolleyes:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
I see the phone doesn't go into Deep sleep when the wifi is on. I don't know if It's something related with this tasks

Everything is ok if I disable it.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
It's a bit more complicated than that. While the file from OP3 source is the whole kernel module for OP3 fingerprint sensor, the file from Mi5 is only a part. Some of the code that is in the OP3 file is in another file in Mi5 kernel source. Also I think OP added the feature rather than Xiaomi removing it.

I'm going to the local hackerspace today (google or https://hackerspaces.org) may be someone there can help, I know a few of them have more experience with low-level development.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DotNetCoder:
Magisk can apparently do it, but I've not managed to do it yet. Not easy.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
dear [MENTION=455439]bgcngm[/MENTION] i have just experienced again a serious problem really hope you can help me. This happened to me twice already, once in aicp and now in dirty unicorns, all based on CM. Plus it has been reported also by one guy using CM by shade, so the problem must be in CM.

Problem is that even if i never encrypted my phone (neither in miui nor on custom roms), with any custom rom i flash i see phone is crypted. But this is not a big problem. Then i always use fingerprint unlock + pattern security (and i always choose to NOT ask for it at boot) but it asks for the pattern anyway every boot (longer boot) and when entering twrp, i think this is due to the encryption being actived dunno why/how. Again not a big problem though. The BIG problem is that if I disable pattern security at some time, always next boots phone asks me for a pincode at boot or while entering in twrp, but i never used pincode as security so i can neither boot the phone nor enter in twrp now, cant do anything! :crying:

I know how to fix things (fastboot flash all partitions with miui rom) but this way i am going to lose all my data in the sdcard!! :( and i have important data there, pictures of my baby etc etc :crying: would you know how to get my data before completely wiping the phone maybe? :fingers-crossed:

And btw if the all above is confirmed it would be better to mention it in OP?

Thanks in advance and in any case :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That is exactly the reason why you have to format userdata partition completely before flashing CM, which is clearly stated in the first post. If you do that, whatever encryption that was set before is gone. Then you can opt to encrypt the device using CM or not. Also, I will not comment on anything about other custom ROMs, even if those are based on CM and Mi5Dev's device tree / kernel, so please don't bring that up for discussion.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Not sure about Android Pay, but I can confirm that other apps such as Pokemon Go, which requires the device to pass SafetyNet checks work flawlessly with Magisk + a systemless root solution. You can search on XDA because there is a lot of information about Magisk and even a dedicated support thread, so let's keep on-topic here.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
If your custom recovery still works (TWRP) , there's an option to enable file transfer while in Recovery.

Try it

Edit : whoops sry , I miss the part you said can't boot TWRP
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
Any way to set different coloured LED notifications for certain apps? I turned off "choose colours automatically" but didn't see any other options appear.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] _nahman:
There is "+" button on top right when you enable "use custom values" .