yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jaannnis:
did it witth this ****ty(perhaps it isn't, but I am:D) Terminal Emulator directly on my MI5, so sorry for the bad formatting.

u0_a105@gemini:/ $ su -c 'ls -al /sys/devices/virtual/graphics/fb0'
-rw-rw-r-- root root 4096 2016-11-28 12:19 ad
-r--r--r-- root root 4096 1970-01-05 15:04 ad_bl_event
-r--r--r-- root root 4096 1970-01-05 15:04 ad_event
-rw-r--r-- root root 4096 2016-11-28 12:19 bits_per_pixel
-r--r--r-- root root 4096 1970-01-05 15:04 bl_event
-rw-r--r-- root root 4096 2016-11-28 12:19 blank-rw-r--r-- root root 4096 2016-11-28 12:19 console
-rw-r--r-- root root 4096 2016-11-28 12:19 cursor
-r--r--r-- root root 4096 2016-11-28 12:19 dev
-rw-rw-r-- system graphics 4096 1970-01-05 15:04 dyn_pu
-r--r--r-- root root 4096 2016-11-28 12:19 hist_event
-r--r--r-- root root 4096 1970-01-05 15:04 idle_notify
-rw-rw-r-- system graphics 4096 1970-01-05 15:04 idle_time
-r--r--r-- root root 4096 2016-11-28 12:19 lineptr_event
-rw-rw-r-- root root 4096 1970-01-05 15:04 lineptr_value
lrwxrwxrwx root root 1970-01-05 15:04 mdp -> ../../../soc/900000.qcom,mdss_mdp
lrwxrwxrwx root root 2016-11-28 12:19 mdss_fb -> ../../../soc/900000.qcom,mdss_mdp/900000.qcom,mdss_mdp:qcom,mdss_fb_primary
-rw-rw-r-- system graphics 4096 1970-01-05 15:04 mode
-rw-rw-r-- system graphics 4096 1970-01-05 15:04 modes-rw-rw-r-- system graphics 4096 1970-01-05 15:04 msm_cmd_autorefresh_en
-rw-r--r-- root root 4096 2016-11-28 12:19 msm_fb_dfps_mode
-r--r--r-- root root 4096 2016-11-28 05:15 msm_fb_panel_info
-rw-r--r-- root root 4096 2016-11-28 12:19 msm_fb_panel_status
-rw-r--r-- root root 4096 2016-11-28 05:15 msm_fb_split
-r--r--r-- root root 4096 2016-11-28 12:19 msm_fb_src_split_info
-rw-r--r-- root root 4096 1970-01-05 15:04 msm_fb_thermal_level
-r--r--r-- root root 4096 2016-11-28 05:15 msm_fb_type
-r--r--r-- root root 4096 2016-11-28 12:19 name
-rw-r--r-- root root 4096 2016-11-28 12:19 pan
drwxr-xr-x root root 2016-11-28 12:19 power-rw-r--r-- root root 4096 2016-11-28 12:19 rotate
-r--r--r-- root root 4096 1970-01-05 15:04 show_blank_event
-rw-r--r-- root root 4096 2016-11-28 12:19 state-r--r--r-- root root 4096 2016-11-28 12:19 stride
lrwxrwxrwx root root 2016-11-28 12:19 subsystem -> ../../../../class/graphics
-rw-r--r-- root root 4096 2016-11-28 12:19 uevent
-rw-r--r-- root root 4096 2016-11-28 12:19 virtual_size
-r--r--r-- root root 4096 1970-01-05 15:04 vsync_event
u0_a105@gemini:/ $
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
A bit off-topic, but are you sure this is still possible? Last time I checked, SafetyNet was still failing the CTS profile match because bootloader is unlocked. As far as I know, PGo still relies on the SafetyNet checks, so it won't work unless all checks pass. The only way to deal with that is: https://github.com/sultanxda/androi...mmit/abc05b16bbd33521c2fffaf491c5657a94bfcfc5.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jaannnis:
I'm not 100% sure, if I hadn't done anything else, but I believe I had it like that before the november security-patch level. One strange thing I did notice was that the phone failed at a SafetyNet checker from the PlayStore, but I was able to play Pokemon.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Okay, but currently are you able to play PGo by simply unrooting the device?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] JuanpaG94:
[MENTION=455439]bgcngm[/MENTION] can you please share with us your latest build of CM13? You say in the OP that nothing is broken but in official repository of Cyanogenmod the last nightly build it's stuck at day 21. (I know that you changed the state of build from nightly to weekly but I don't know when it's going to be available the new build)

Thank you a lot for your work
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Just wait..

21+7=28

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
i want to use superisu as an apk in this rom.

how can i do this?

pls reply

& 2 feature is missing: slightly touch on home button to reach home

& to stop the vibration of fingerprint unlock

---------- Post added at 04:35 AM ---------- Previous post was at 04:30 AM ----------

sorry bro. i don't know this. cause 4G is still not available here(Bangladesh) & i've just flashed the rom tonight
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mastersanta:
ROM: cm-13.0-20161121-NIGHTLY-gemini

Device: Mi5 64GB white (clear install, wipe all, format whole /data, set /data and /cache to f2fs)

Problem:

1. SIM settings after reboot are lost. I just set the SIM settings: data->SIM1, voice->SIM2, sms->SIM2; after rebbot settings go to: data->unset; voice->ask; sms->ask. So after typical reboot i have no internet connection (via3G/LTE) and i must go to settings and set it always again... :(

2. Unable to receive MMS on SIM2 when 'data' is set to SIM1. Messages app is unable to download it, I must change settings (again) to download message. Sometimes i'll get error anyway when download.

3. Touch Home button still not work or i'm unable to find settings ;) But fingerprint is always enable so great!

Sorry for my bad english at this time ;) but I hope you know what's going on
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Please search the thread before posting.

There are tons of guides about flashing SuperSU.

Home touch button is a feature that hopefully will be implemented at some point in the future.

Please search the thread before posting.

SIM settings reset issue has already been reported.

Home touch button is a feature that hopefully will be implemented at some point in the future.

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mastersanta:
OK about SIM now i see.... Anyway thanks fot tips ;) , but how about MMS? I use a lot of mms and maybe noone report this in time facebook/messenger/dropbox messages. Now i check "mms problem" and search give me poor answers :/

Touch button is not important, nice to see if its working ;)

BTW supersu not work for me too (i mean flash zip) but in dev settings i have options for it so I don't mind, This may be by the file system (f2fs) is badly...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Patient is a virtue. I am not hiding anything and I don't control CM build servers either. The new weekly will be available after it is compiled. You just need to wait.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] frotna:
Hi.

First, thanks bgcngm for fantastic ROM. It's pleasure to use it...

One suggestion. Can you include Status Bar Traffic monitor in future release like in the link...

http://xdaforums.com/android/general/mod-status-bar-network-traffic-separate-t3024878

Thank you...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
I dont think any official CM will alter from the original version,

Thus if they indeed decide to give any extra features, it need to be implemented for whole devices supported by official CM,

So chance is slim,

I suggest u apply the mod by on demand basis
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
yeah bro, i know that

but as the rom is rooted so if i flash the update supersu zip will it lead to a brick?

so i asked that

☺
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
The point is, this question itself is answered in this thread and others on this subforum. Your question actually was unnecessary if you had searched.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Just use an app from play store, e.g. Internet Speed Meter
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jaannnis:
Yes, tried it once again, by simply deleting the 2 su files.

PoGo works, even though the safety net example still shows me that the CTS profile match failed.

[IMG="SafetyNet example:"]http://i.imgur.com/OZfifu1.png[/IMG]
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
actually i asked that i want to use 'supersu' as an apk.

i tried from playstore but 'update binary' failed.

as the rom is pre-rooted so if i flash the update supersu.zip then will it lead to a brick?

that's what i really wanted to know
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
No it would not lead to a brick
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xdaerdeve:
Same problem for. Absolutely identical. I have put the cards out and in again, but the problem persist.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
Now https://jenkins.cyanogenmod.org is fixed i think?

lets wait for new build.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
Guess I'll be bashed of for going off topic.

Using miui for 2 days and I have to say missing the cm13 stock experience. Installed Nova launcher to feel stock-ish.. But tap on home button works so that's good and camera and 4g Volte works better on miui so there is that...

But can't expand notifications on lockscreen is now a deal breaker and also form notification bar you've to expand with 2 fingers :eek: what was xiaomi thinking not to include it.. The aosp way

Will wait for next build and will be back to cm13

Great work by the developer
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] JuanpaG94:
Finished compiling and not build for Mi5.... :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
I just returned from MIUI myself after another VoLTE debug,

and i really can't stand the MIUI in term of UX n UI, so i revert directly to CM after finishing the debug process

Too bad i still can't make native VoLTE to work with this ROM. I need to use over the top app to use volte,

As i said, my bet is with the way of how APN is handled in CM. Thus it can't connect to IMS properly like what MIUI does
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
What volte problem?

On cm13 I was able to make VoLTE call with stock dialer.. Are you by any chance using jio than you've to create apn manually
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
No, am not in india,

Am indonesian, my carrier is smartfren, the only one running volte in country

Currently only samsung n lenovo that support my carrier's volte natively,

Unlike jio that use single APN, my carrier need another APN for Volte, which is IMS APN,

Strangely, in CM if i create IMS APN, its not automatically applied like in MIUI,

And it treated like normal APN, when it supposed to be treated like MMS APN (always applied)

On MIUI i managed to use volte natively by doing some config through QXDM,

While in CM i got no love yet
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] almmpt:
Great Rom.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hklam0:
failed to launch Android wear... on 20161122 nightlies
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] :
What time zone this weeklies stick to? Just a little curious :p
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
yeah.. last build was 21 and now is 1.12.2016...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
I think they r just focusing all efforts on CM14.1

After all 21st build is fine...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] deathscythemeng:
It was fixed on Nov 26
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
bro where is the 26th build??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] deathscythemeng:
No official build. I built myself. Or you can modify ro.build.type from userdebug to user for a workaround.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
Phone is going haywire all of a sudden.

The phone was on and working all night but this morning the battery stats looked like this:

Also my mobile signal keeps dropping in and out every minute or so. Tried both SIM card slots.

Any advice?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
There's absolutely no way we can tell what's wrong without logs. We don't know what's running on your phone.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
Fair enough, here's a log of the mobile network issue:

http://pastebin.com/H4ire0Vw
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] samnangseng:
Sorry to post a question if other people may asked.

Is there anyway to bypass a permission to unlock Bootloader from MIUI?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GummiTier:
As far as i know there is no other way. I had problems after getting the permission then i switched to another PC installed the tool there and could unlock. On the first PC the tool said my device wouldn´t be supported.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xdaerdeve:
It is a long time ago :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
[MENTION=455439]bgcngm[/MENTION]: I am trying to build this ROM, my lcoal manifest contains only a reference to TheMuppets, and it fails with this message:

make[2]: Leaving directory '/home/muff99/android/system/out/target/product/gemini/obj/KERNEL_OBJ'

Makefile:145: recipe for target 'sub-make' failed

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory '/home/muff99/android/system/kernel/xiaomi/msm8996'

build/core/tasks/kernel.mk:292: recipe for target 'TARGET_KERNEL_BINARIES' failed

make: *** [TARGET_KERNEL_BINARIES] Error 2

An idea what is causing this? Do you have anything else in your manifest?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Please refer to the official wiki for building instructions. If your local manifest contains only TheMuppets repo, then you are missing everything else: all cm.dependencies.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Of course i startend at the wiki, i would have never gotten this far without.

The cm dependencies are all there (roomservice).

But OK, ill ask somewhere else. If anyone here tried to build it, please drop me a message.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] raszagar:
Hi!

When open a link in any app open it in chrome in app, but in google configuration not selected it
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Its kinda hard to get what you mean here,

But you can try to clear defaults in setting
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
I think this is about custom Chrome tabs. In that case, it depends if the app has an option to disable it, like Labs. If not, then the person would need to disable Chrome and web view, if I'm not wrong?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
He's talking about opening links from chrome to their respective apps . Like a YouTube link would go to the YouTube app. Twitter links to the Twitter app etc
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Thats what i brifly guessed as well, hahaha

thats why i suggesting him to clear app defaults, cause i worry he might accidentally set chrome as default app (always) to open certain link
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tesna:
Just got mi5 and immediately unlocks and flash latest official nightly cm13 on it, howerver I have minor issues... the touch keys (capacitive buttons/navigation buttons/back/app switch) hardly work if I have tempered glass installed. That's very odd... on MIUI it works fine. Anyone experience similar thing?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
Same here I also had it with tempered glass buttons wasn't responsive on cm13 but was on miui. I also heard it has to do with some old touch driver. So I don't complain ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
Hope someone can build latest nightly.

They have longer week than normally.

because last build was 12 days ago. thats almost 2 weeks.

:(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
**battery issues**

almost everytime the battery percentage reduces 2'/. at once.

like 99-97-96-94 etc

& battery drains while screen lock (at night)

i see about 5/7 '/. lose after wake up (after 6 hours)

waiting for the new build ☺
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Marcb:
Jenkins is f***ed up for quite a while... it's not making any new builds...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Greetings to finland, I was in Helsinki yesterday for a 1-day-business trip :)

Ok, I managed to create a new built. I appplied no changes or fixes, pure CM-bgcngm-glory including all the upstream changes since 20161121 (view them here: https://www.cmxlog.com/13/gemini/).

The build can be downloaded here: https://drive.google.com/drive/folders/0B1UDBYCQNGW7SV9zNGxkYjFHYVk?usp=sharing
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
Thanks!! :) you are great! :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yairigal:
Hi guys , thanks for the work!

I have 2 problems,

1.When plugging in a headset they don't work, I have to use soundabout to make them work.

2.The buttons right next to home button (the back and menu buttons) doesn't work. I have been told that there is a problem with the ips(that's how you say it?) Screen.

Thanks in advance!

---------- Post added at 06:07 PM ---------- Previous post was at 05:47 PM ----------

My buttons didn't work while having a tempered glass (also on the miui)

The problem was that the screen protector was 0.33mm thick.

Switched to 0.3mm and everything was good.

Now after flashing cm , it doesn't work again...

I have been told it is something with the screen type..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vikashhero:
Legendary, thank you very much <3
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] khairizal:
can i dirty flash 20161121 with this build https://drive.google.com/drive/folde...Vk?usp=sharing?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] niravnn:
Hi I added persist.camera.HAL3.enabled to build.porp after reboot all manual control shows but can't save photos it just click but doesn't save it. Any suggestions? I tried to search but couldn't find anything.

All permissons is allowed
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] :
Try bacon camera, there is no need for camera2 api...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sajib1403:
[MENTION=455439]bgcngm[/MENTION]

***one more issue***

clock has stopped.

if i go to set 3 alarms once then the clock FC.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Take a logcat.

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GalaxyS4_Lollipop:
I had clock FC too. Force stop and clear data worked. Good luck!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] big_meech:
Hi,

I clean installed cm13. But i always have micro lag with almost every app. Actually i get micro lag with the rom in general. Could it be due to me never formating userdata partion (still encrypted from miui)?

Thank you
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
That might be the possibility, never had any lag over here,

but first thing i did before flashing CM was indeed formatting internal storage
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] samnangseng:
So what is the conclusion of this ROM? Stable with or without lag and which version you've flash?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Am on latest official build,

99,9% stable for me,

No issue with function nor radio as oftenly stated above,

But please take note that am on 100% LTE network, so no signal drop off to 3G/2G whatsoever like experienced by others
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] samnangseng:
Brilliant you. Latest build 20161121? You said you format the SD card before flashing? Will the zip file loss?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Yes 21st build

So do it this way,

1. Install TWRP

2. Format everything

3. Copy the zip file (ROM, Gapps, etc) to Storage

4. Flash

Am not sure whether CM kernel do the force encryption or not, but thats how i rolled anyway,

Dont forget to flash gapps directly right after the rom, dont boot first
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GummiTier:
PS: don´t use stock-gapps!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yairigal:
Any solution for the buttons that do not work ?

And that the phone doesn't recognize the headphones?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] khairizal:
does anyone try this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
its working :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] khairizal:
:D must do clean flash or just dirty flash?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yannmrt:
Hello,

Since yesterday I lost the signal on sin card 1. When I go to Sim card setting it is writing "sim 1, sim empty". When I restart the phone I get back the signal for about 30mn them empty again.

Not sure if it is related to the room, phone or Sim card.

Do any ones experience this and how it can be solved.

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GummiTier:
I am on 20161117 and i have one of these glas-protection-thingys on my screen and the buttons next to the home-button work as well as my spotify app starts when i plug in my headphones. So no problems on my side.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yairigal:
I have been told that specific screen has this problem.

And about the headphones , I don't know what to do...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
If I'm not wrong if you have an lgd display you will face the button problems. As for headphones I have no idea if they're related. You can use on-screen buttons for now until the problem is solved if ever.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Exactly. Users can blame Xiaomi for that. Until new kernel source code with updated touchscreen drivers is released, this is going to be an issue for users owning Mi5 assembled with LGD panels.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] beast_drc:
Hi, Guys! I have some annoying problem - when phone in the pocket, facing to the leg, FP sensor trying to read FP and when I pull phone out I have "too many attempts" message.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Solution: phone in pocket, but facing away from leg.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yairigal:
as for the headphones , i found this comment :

so the problem is the audio routing?

can it be fixed?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That was fixed long ago. There is currently no issue related to headphones audio routing.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] beast_drc:
I use it, but i don't want to think how I should put phone in the pocket :D:D:D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] samnangseng:
+100 dude, I'm now successfully load CM13 my favourite ROM ever.

But just minor add to your certain step.

1. Install TWRP

2. Format everything

--Reboot to recovery again otherwise your storage won't copy able.

3. Copy the zip files

4. Flash

And make sure Gapps is for ARM64.

Everything seem bug free. Credit to all DEVs
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GalaxyS4_Lollipop:
First, congratulation for this ROM. Is amazing and I like it very much.

But I cannot connect to Data network.

The APN is ok, but it just doesn't connect. No matter what ...

I resseted the APN, but the same.

How can I fix it ?

---------- Post added at 01:30 PM ---------- Previous post was at 01:17 PM ----------

I found out, the problem is here when I disable the 2nd sim. Somehow he thinks that I need internet on the disabled one.

I enabled them both, I re-selected first sim for the internet, it asked me if I want first one for about 9 times, but now works.

I hope it will forever now.

Well, good luck!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
You can use GravityBox to prevent these wakeups (it was working on AOSP for me), but I never tried it with CM. You can try this feature in GB, however make sure you have a backup.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yairigal:
That's weird , because when using SoundAbout the headphones does work.

I tried with a couple of headphones and it does not work.

What could it be ?