yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] wolkenjaeger:
First, thanks for bringing CM to the Mi5. I finally get rid of the Chinese MIUI.

Here is my first feedback. I (for some reason) installed cm-13.0-20160910-UNOFFICIAL-gemini. Everything went smooth and I completely wiped the phone after coming from the latest MIUI8 Global (Dev Edition). Google Play crashed during the initilisation process, but that's it. Never had a problem, everything installed.

This morning I rebooted the phone, just because and it gave me a PW prompt before starting Android. This was very strange, as I never added a password. So it seems the filesystem has been encrypted (overnight?). Tried all my passwords, but was not able to solve the problem. So I wiped the phone via TWRP and installed the above mentioned ROM again. Google Play Store crashed again.... but everything installed smoothly again anyway. I did a reboot once, and did get the PIN entry (Setup while adding fingerprints).

Now everything runs smooth so far.

Summary:

* Google Camera sometimes is not able to connect to the camera. Movie mode never works.

* Strange occurrence with the encrypted file system after the first boot (-> maybe because I added fingerprints and as backup security feature Pattern, on the second install I used PIN as protection)

* CM Updater still shows cm-13.0-20160910-UNOFFICIAL-gemini as next update, but in the build it's 20160908.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] isibiki:
I came from miui 8 global dev rom like you, but I've never faced rest of those problem. 1st time android unlock after reboot, you must enter your pin or pattern or password that is the rule to use fingerprints scanner
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
hi guys, did search and found others with the same problem but couldn't see a solution... you confirm there is no fix for the HW buttons (recents and back) being re-enabled after locking the screen, even if disabled for using the virtual navbar instead? TIA!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Did you read the instructions on first post, when it comes to the advisable Gapps package? Stock and super variants of Open Gapps are not recommended!!! And also, Gapps can only be flashed on clean installs.

System is not encrypted without user consent. I don't know what happened to you. Setting up a fingerprint requires you to switch to a secure lock method: pattern, PIN or password. None of those methods actually require you to encrypt device.

That's not related to the main development. OTA updates *unofficial* feature is being supported by [MENTION=7476656]shade.sh[/MENTION].
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
There's no fix yet. I am working on the kernel stuff, which is what worries me now.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
You're welcome. Well, next build (Weekly Build) is planned for tomorrow morning (GMT+2).

Which one did you install, Userbuild or Userdebug?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Sometimes the same notification wakes up the screen over and over again (Talking about ambient display). Someone with the same problem?

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sazinas:
Any reports about camera quality/issues? Also does android pay work with this? Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] grievous2004:
I used fastboot but you may try recovery rom too. Though I don't know if all the partitions are included in recovery flashable roms.

I solved flashing official "Xiaomi Mi 5 Latest China Stable Version Fastboot" from http://en.miui.com/a-234.html
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DotNetCoder:
Liking the new release, love me some working audiojack! Cheers
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] RandomPRSN:
Flashed the dev ROM and nothing worked, will definitely be a tester if needed

---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------

I shall try this one too ?

I hope anyway
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Yes i saw this,too. Not always, though, i played around with different ambient display settings, but could not pinpoint it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Over and over again? Not the predefined pulse schedule?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Nope, for me it was way shorter: Gmail notification became visible, ambient display went dark again, 2 seconds later the screen lit up again displaying the same notification without any sensor being triggered. This repeated several times.

I just installed syslog, next time im hopefully able to provide logs
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
That's what happens to me too.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] rafael.fessel:
Hey guys, its awesome...

searching here in xda, found a way to add camera api 2 enabled for our devices... tried it and work!

adding this line 'persist.camera.HAL3.enabled=1' (without the quotes) to buildprop, manual camera was able to enable everything inclusive raw pictures.

but, now... my front camera goes inverted... anyone do this... and how to fix? i dont know if it oky to post this is here... but... im using this rom.. so...

tks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
You're late dude, way too late
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Try to turn off the "wave over sensor" trigger. Sometimes, even shadow movement can trigger it
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] markic22:
Hi guys. Maybe somebody knows how to disable cell broadcast notifications? I get those notification every time my phone connects to other cell tower and is especially annoying during traveling...

In setting all i can find are emergency broadcast and even if i turn those off, i still get cell notifications.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
i always delete the cellbroadcast apk from system ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Termynat0r:
So now I experienced my first issue with this ROM. Tried to charge my phone and the LED went yellow and stayed on. But the moment the phone switched to fast charging the notification LED just went crazy blinking like there is no tomorrow.

Is it intentional that there are two blinking rates for normal and fast charging?

If yes, is it intentional that we can't change the fast charging pulse value in the settings?

If yes, who thought it would be a good idea to make an amok LED blinking fest out of this?

(I hope you get my humour ;) )
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] babaqpqp:
I think you'd better shut led down....

Really humor , by the way
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] verma.avesh:
So I started facing another problem. Once the battery went 0% I restarted the device and the mobile network keeps on restarting itself. I switched to airplane mode and tested with wifi, it was working properly. While the wifi hotspot had the same issue. I think there is something wrong with the radio signals.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] _nahman:
SETTINGS -> More -> Emergency broadcasts uncheck all boxes

works for me
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DaveP2611:
Can you not long press on the notification and then choose the hide notification option?

I also noticed this so turned off charging LED was crazy stuff!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] markic22:
[MENTION=2041137]nahman[/MENTION]

Well i wrote that i tried to disable that but still gets them. Will try again.

[MENTION=5986338]DaveP2611[/MENTION]

Nope. It just mutes notification from that specific tower.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DaveP2611:
Ergh thats a pain then! Sorry don't really know what else to suggest on that one. :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Root your device and uninstall broadcast app. I always uninstall it anyway. Useless stuff
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] m6mm:
Very strange issue over here. Clean flashed the official cyanogenmod and there is no sound in some earphones. Earphones with mic or control buttons work fine but typical earphones don't. Phone just don't detect them. Pic added for better understanding. On the left is xiaomi piston and on the right just a common aux cable. Both work well on other devices. And aux works well on latest miui (xiaomi .eu version). So the phone itself is not faulty. Any ideas?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jauhari:
Let's me in... :)

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

as far I know it one of CM13 current issues on Xiaomi Mi 5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] m6mm:
Funny thing is that the common aux cable was working in my car. And then out of the blue it stopped.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kazprotos:
USB OTG not working for me. Used to work with prebuilt kernerl
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jauhari:
what the different between JDI and LGD? and how to detect my Mi 5 using JDI or LGD?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
This info is readily available in the Mi5 TWRP thread. You could have searched...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] GForceXIII:
Something strange happened earlier.

When listening to spotify through earphones, I received a call.

When I answered the call, call audio wasn't routed to the earphones, they came out through the ear speaker.

Known issue?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Probably something to do with spotify or any other apps that do audio routing,

Because it also happened to me on my OP3 with stock rom, also after playing music,

Reboot fix the problem

So, i guess its not CM ROM issue, since it happened on OOS as well
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Aloysius496:
Me too. I wish we could stop it flashing, I can't sleep with it on :p

Would a bug report help? Or a logcat? I haven't collected either in years but I'm happy to help if I can xD

Thx for the rom guys :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Forbizzn:
Only thing I can complain right now is the speakers while talking on the phone is lower than on miui roms and that annoying led flashing while charging, other than that superb rom :good:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
The annoying led flashing while charging only happens in fast charge mode. Nevertheless, it's a bug and something that I'll look at. This was not considered as a blocker to start with the nightlies. Besides, the decision was to either having this problem when fast charging or no control over leds. If you look at the options you have now, led brightness control is now possible as well as pulse length and speed.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
A quick sidenote. If I am not replying here or answering to all questions, doesn't means I am ignoring you. It is just that I can't make any development progress if I am always here at XDA.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Marcb:
don`t worry about it...

Regarding bug repporting, what works best for you? Us reporting the bugs here? Attaching logcat? I want to help on this...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
Searching if it has been reported properly before comes first. Then comes reports with logs
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Schnedi:
For the blinking flash led, i use "Light Flow" ("Light manager" works too) and it's always on, because in the nights it's annoying.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
Hello Sir, I recently bought a mi5 and will install your build... Any bug that I need to know in your rom ? Or is free bugs ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Marcb:
C'mon man.... really?

Read first post...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jauhari:
Hello, I want ask about EMOJI, as far I know, Android M build in with multi tone emoji if we using Google Keyboard. I was download and use latest version Google Keyboard and tried many time using multi tone emoji, each time I choose emoji and hold for a while the alternate didn't available.

What's wrong? and how to fix it?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Captain_Obviyus:
Installed the CM13 Official build on here (dirty flash from the Unofficial one) and it works perfectly. No problems so far. Had to reinstall Xposed but that's hardly an issue. I have this ROM paired up with Harrynowl's Falcon Kernel (ideal setup for Mi5 IMO).

So far this is the best ROM for Mi5.

---------- Post added at 02:38 PM ---------- Previous post was at 02:34 PM ----------

I simply installed Xposed then used Gravity box to control the lights. Alternatively, you can turn the lights off altogether if you like...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
Racially diverse emoji (or multi tone, in your term) is not implemented yet as per 6.0.1 afaik.

It firstly implemented by apple. And if you want to use it, you can use whatsapp. They already implement it.

Anyway, this is totally unrelated to the ROM topic. Since CM has nothing to do with it. So lets stop discussing it here.

Just google up for more info.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jauhari:
thanks you for your information, I will close this discussion about it right now :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hampa:
wifi

My wifi is quite odd. It disappear out of the blue. Have to manually turn it off then on again to be actived. Hope the logs is for any help.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
You do not happen to use system profiles dont you?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
I have a strange request regarding screenshots. On other phones when I press volume down and power the volume slider won't show while taking a screenshot. Here if I want to do that I have to press both really fast else it'll show the volume button in the screenshots. Is this able to be tweaked somewhere?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sc754:
Hi bgcngm, did you get anywhere with my screen flashing to full brightness when the screen turns on bug? I'd love to stop using lux and use the standard android brightness control again. I last updated on the first official rom, and it was still having the same bug then.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
Is it just full brightness or is it to the point the colors look weird/oversaturated? If it's the latter you can try setting ro.qcom.ad to 0 in build.prop and rebooting.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sc754:
I do have the oversaturation problem so thanks for that. However, the bug I reported is where the screen jumps to 100% brightness when you turn it on, then quickly drops down again. It's quite noticeable, especially if you use it at night.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neogen17:
for the users with network reset bug while data is on here is a work around until op fixes it, open the latest zip file of the cm 13 and copy the NON-HLOS.bin from firmware folder and flash it manually in fastboot mode. it worked for me. Hope this helps

command for new users(fastboot flash modem NON-HLOS.bin)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Nonsense... The firmware is flashed during CM installation.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neogen17:
sir i was trying around to fix myself so i first flashed the whole miui latest dev rom in twrp and again cm13 after that but bug was persistent so this time i flashed cm zipfile and after the bootup i flashed the modem file only from miui and it worked but broke incall volume and fingerprint sensor and then i extracted the modem file from the cm13 and reflashed it and voila it fixed the bug and bug was gone. Nothing wrong in trying i guess. iam using the twrp (TWRP-recovery-gemini-test3) just incase. Hope this helps
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] muff99:
Could someone please check videorecording? I tried 720p, 1080p and 4k using CM camera, video does look a little laggy, as if I didnt get enough fps ...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] pakistanish:
I flashed the ROM and booted up my device but couldn't bypass the checking info screen. Any way to bypass it? I am living in China and all the Google services are blocked here.

------------------------------

Problem solved! The best ROM ever!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] V1k70r:
It's awesome that CyanogenMod for the Mi 5 is official, never had it working this good on my Sony Xperia Z3 Compact. I do however have some minor issues.

- I have my WiFi set to 'Never stay away while sleeping' and it doesn't come back after the device goes to sleep. The transmitter is on according to the OS, but no networks are found even though the device says 'Scanning'. It can find and connect to networks again after toggling WiFi.

- Touch screen responsiveness is really bad while fast charging. When charging at a 'normal' current, everything is fine. I've had this problem on all the CM-based ROMs since I first flashed one (which is the beginning of October, when I bought the device).

BTW, I'm running the official 22/10 nightly with the stock kernel.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Aloysius496:
Has anyone noticed that single-button inline headphone controllers don't respond to double tap (skip) and triple tap (previous)?

Single tap (play/pause) works, as does long press (Google trigger).

---------------------

A few reboots later, and it works :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
My WiFi keeps going off when on range (Talking about 2-3 stable lines). As you can see there, WiFi is saved after disconnection and doesn't connect automatically

How can I do logs of It?

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] rafael.fessel:
laggy camera and delay when take pictures? cm problem?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Try to delete data and chache of the app.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] rafael.fessel:
Nope... Didnt work :(

Edit: noticed this happens when i turn camera api2 on :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] pakistanish:
Same problem is faced by me. Whenever I restart the phone the Wi-Fi never connects automatically.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] RandomPRSN:
Tried it and didn't seem to work,in the end not getting any data with this method at all.

Did u get success with a clean install and then flashing the modem?

Edit: Wipe of Dalvik/Art got my data back but still havin issues with the network
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Another problem I got... Clean installed the rom (Nightly) and phone doesn't go into doze mode. CyanogenMod system is always above everything, even the screen, taking a lot of percentage. Battery went from 32% to 30% with the screen off in only 10 minutes? What can I do?

EDIT: Ok, It seems to be working now. I don't know why this reboot took effect and the others plus dalvik chache not. Sorry for spamming guys.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DetourToNirvana:
The touchscreen doing strange antics happens sometimes because of earthing issues with the electricity wiring. Note that our chargers don't have the 3rd (big) earthing pin, so any problems with the electrical wiring may cause this.

Here are some things you can try observing:

1. Are you sure that this issue doesn't happen on miui? Only on cm? (if so, next 2 points are moo points. Yeah, moo points. They r like a cow's opinion. Nobody cares about it. ;) )

2. Try a different wall socket with your fast charger

3. If u can lay ur hands on a different fast-charger, try observing while charging with that.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
For those of you who don't watch Gerrit and are itching for the the soft touch home button it appears are number of commits have been made to the kernel to get it working.

I've no idea if they'll be included in the next nightly or not so hopefully somebody more well versed in Gerrit will chime in.

Hopefully that'll put an end to the request spam :D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] rssfeed:
Also make sure you use the original or a high quality 3rd party cable, I think it makes a difference....

*love the FRIENDS reference by the way"

yeah, I saw some subjects about fp-gemini there... when is the next update going tu push by the way? I'm curious
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
I found it pretty easy to be done overhere. Is there a chance that your button is slightly more sensitive from the construction itself ?

Never had problem with screenshot
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
Maybe that's the case.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ext23:
Regarding screenshots, I have found all my previous phones have been sensitive about showing the volume slider as well with the two-press method. Best solution is to enable screenshot in the power menu!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
So how can I make WiFi logs? I would like to help for that weird WiFi disconnections.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] pakistanish:
How to switch menu button and back button? It's really hard for me to reach back button on left side with my right thumb. I prefer it Xiaomi's MIUI way on the right side. That way it's quite easy to access.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
Until its implemented in the ROM you can flash this https://store.shade.sh/mi5/xiaomi_hw_key_layout.zip

You'll have to reflash it every time there's an update
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Uninterrupted:
Hi everyone, i have the 20161001 build and ive heard that now the audio issue with the earphones has been solved. The thing is that I have never updated a nightly over other nightly, and i Dont know how to do it bc I have the dpi different from the original build. Do I hve to make a clean install?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
A clean flash is always recommended. You're not required to do it but you may run into bugs that aren't present for other users by dirty flashing.

Also cm has a built in DPI changer in settings so a different DPI shouldn't cause any issues
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Uninterrupted:
I understand that the phone will come as new, but will I still be root user?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
You'll need to flash SuperSU for root. I'm not sure if the root access function from developer settings gives you superuser functionality as I never tested it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] harish15:
Yes the native CM root function will give root access to ADB and the apps.. But SuperSU has an advantage over the CM's with Pin access and also can be flashed as Systemless.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hampa:
No I'm not.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
Why there is no new nightlys?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Nightlies aren't released following some predetermined schedule. Once the developer feels that the ROM code has changed or improved enough to justify getting users to flash it, then he releases a nightly. This ain't opengapps, you know. ;)