yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) Q&A, Help & Troubleshooti] sewermike:
You shouldn't have any problem... All Hardware is the same between both units and I have run Roms for AT&T and non-AT&T, CM, Slim, and stock (TW)... all Roms were compatible. Right now my SGH-I467M is showing as a GT-N5120, running 4.4.2 on CivZ Flexburst KK... Only difference may be the modem, which might be more region specific for CSC.
[Galaxy Note 8.0 (Tablet) Q&A, Help & Troubleshooti] jok3sta:
Sweet. Ill try it out. Thank you for the help
[Galaxy Note 8.0 (Tablet) Q&A, Help & Troubleshooti] jok3sta:
thanks for trying to help man. unfortunately this doesnt even begin to flash with Odin. It instantly fails.. I guess its time to toss this the trash and start looking for a new tab.. Thanks again
[Xperia Z5 Premium Q&A, Help & Troubleshooting] Ryuu.:
Can anyone help me find a sony xperia z5 premium single firmware for indonesian market. I've searched all over internet and i just found for the dual.

I want to root my phone but its required to have a firmware based on my country market right? And someone at xda ttold me not to use another country firmware. Thank you very much
[Xperia Z5 Premium Q&A, Help & Troubleshooting] elias.parasini:
AFAIK, there's no single SIM for Z5P in Indonesia..
[Xperia Z5 Premium Q&A, Help & Troubleshooting] TrafalgarD:
No
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fillonov:
Im waiting for cm14.1 for our redmi 4 prime.

Is there any links?

==================

NEW from [MENTION=6034262]wsydgx[/MENTION]

==================

ReUploaded m13 19-01-2017

https://drive.google.com/file/d/0BzNLclqMCVhgRlJhZ2QxcHhUZmM/view

____

[MENTION=5594486]xiaobai112220[/MENTION] ported CM13 onto Redmi 4 Prime (625 ONLY)

Here is the original thread (in Chinese)

http://www.miui.com/thread-6365009-1-1.html

I've downloaded ROM from the Chinese site and re-uploaded to Google Drive for faster download.

https://drive.google.com/open?id=0Bz...HUyMm8yZ19UbVU

NOTE: BEFORE flashing this ROM you need to unlock the bootloader and flash TWRP recovery made by Cofface

No one will be responsible for any damage it may occur your device and all credit goes to [MENTION=5594486]xiaobai112220[/MENTION] and [MENTION=4477466]cofface[/MENTION]
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] krestean:
I have not come cross by any cm versions yet. I'll bet we are awaiting kernel sources to be released by xiaomi before we have any developers working on this device.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] brownsmell:
I did a bit of searching and on the mi5 they waited more than 5 months to released the kernel source and they release the MIUI 7 kernel source as they rolled out the MIUI 8 update. I want to buy this phone so badly, but I am holding my breath for now. Anyone know more about the time that xiaomi usually takes to release the kernel sources?

I saw someone wrote "xiaomi is the blackberry of the east" LOL. I hope that was just a troll, I really want to buy the redmi 4 prime.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
yep... CM14.1 would be nice or CM13 at least.

But you are right about the kernel sources :(

on Redmi 3S brave developers had built their own kernel for CM13 and it's working pretty stable :)

Maybe we have luck and there's a nice, brave developer for our Redmi 4 Pro ? :)

Fingers Crossed!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wsydgx:
[MENTION=5594486]xiaobai112220[/MENTION] ported CM13 onto Redmi 4 Prime (625 ONLY)

Here is the original thread (in Chinese)

http://www.miui.com/thread-6365009-1-1.html

I've downloaded ROM from the Chinese site and re-uploaded to Google Drive for faster download.

https://drive.google.com/open?id=0Bzzy8W2VPrH7THUyMm8yZ19UbVU

NOTE: BEFORE flashing this ROM you need to unlock the bootloader and flash TWRP recovery made by Cofface

No one will be responsible for any damage it may occur your device and all credit goes to [MENTION=5594486]xiaobai112220[/MENTION] and [MENTION=4477466]cofface[/MENTION]
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ilhamazdi:
Whoa, thanks for the info and reupload!

Just got my bootloader unlock permission yesterday but still stuck at 50% unlocking process :(

EDIT : Got my device unlocked
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
Thanks! I've overseen this :)

Anyone tested yet ? My google translater tells me something about LED Notification bug ?

EDIT: I flashed it and I'm using it for 4 hours now - it's completely stable until now, the only bug is that the soft touch buttons are not reconfigurable.. and the LED Flash isn't working...
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ilhamazdi:
Mine flashed and running for about 8 hours and yes, it's quite stable.

My LED Flash working just fine either in camera or as Flashlight.

Also, I solved soft touch bug with temporary fix using GravityBox via Xposed.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
Sorry I meant the Notification LED xD it's not working :(

With Gravity Box it's possible ? Cool I'll try

EDIT: Another big problem is the chinese bloatware, which reinstalls every reboot - it's annoying, reflashed my MIUI backup
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fforward72:
Can you guys post some screenshots???
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ilhamazdi:
Yep, notification led only works for charging indicator.

Those chinese bloatware doesn't reinstall in my case. But it does auto startup and takes about ~100MB of RAM which is quite annoying.

Another bug is Video Recording (idk if this is CM13 bug or ROM port bug), so when you record a video whether using Stock Camera app or third party app, video result is freezing but the sound play just fine.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
look at this guys!

http://www.miui.com/thread-6549643-1-1.html
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Nethill:
Did you have try unlock without sim card, it working on me.. :fingers-crossed:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ilhamazdi:
I did unlock my phone using this method

http://en.miui.com/forum.php?mod=redirect&goto=findpost&ptid=425058&pid=7967588
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] angelgf90:
has anybody tried that CM14 Rom? ( http://www.miui.com/thread-6549643-1-1.html )
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] alexeius:
I think it's not yet released.

But, there is another CM13 ROM for our china friends.

Loading it right now, will post a link to GDrive later.

Here it is. testing right meow.

It installs a s***load of bloatware. Also, xposed dont work.

tl;dr dont install it.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
Hmmm thank you for testing!

Any bugs discovered ? everything working ?

I hate those chinese bloatware
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] alexeius:
As in the previous CM13 build, camera does'not work in video mode, buttons virbation is low, and the recents button is working like a menu button.

Oh, and notification light is not working.

This is a pointless build, the previous one mentioned in the thread has only 2 chinese apps and basically is the same rom.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] angelgf90:
is not possible to install xposed in this rom?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Here are things to check for you:

Oem unlock on your dev settings: must be on

USB debugging on your sev settings: must be on

Drivers on your PC: must be updated/ok

Log in MIUI account your device: must be logged in

X send reply: ?

---------- Post added at 11:33 PM ---------- Previous post was at 11:31 PM ----------

Here are things to check for you:

Oem unlock on your dev settings: must be on

USB debugging on your sev settings: must be on

Drivers on your PC: must be updated/ok

Log in MIUI account your device: must be logged in
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] trane5700:
About what tweaks are u talking?:confused:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fforward72:
[MENTION=4462779]pilililo2[/MENTION] Maybe is this?

In: /system/build.prop

Add this: persist.camera.HAL3.enabled=1
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Its that and the monotonic line in build.prop also. Otherwhise the build is pretty good.;
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
thanks for you replies!

Whats with the lineage build mentioned last site ?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
What do you mean?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fforward72:
I think he means the version "Lineage OS13 (2017.01.03)"
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Yes but I can't understand what he asked.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] WayneInc:
Sry but on which build are you right now? The lineage? The newest cm13? The RR..?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
Sorry - I wanted to know, if some1 tested it already :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Yes, I have tested it.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] WayneInc:
btw/may be offtopic - the global rom is now online for everyone whos interested:

http://en.miui.com/download-320.html
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Tribes11:
So, when you guys think we will be getting supported custom roms, like Ressurection Remix, Mokee, and so many great ROMs out there?

Cause now that we have global, that's a step ahead for it, isn't it? Also, I really dislike MIUI, this system is not meant for me...
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ardrift:
I think it depends on Xiaomi, whether they will release the kernel source code sooner or later... But yea, it may be a step forward.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Tribes11:
I guess so, I know they released it for Redmi 3S pretty quickly, Redmi 4 phone has been around since November, I hope they release kernel source soon, otherwise my phone is never going to be felt like "mine" until I can use a custom ROM with everything I like. All we can do for now is wait, but the phone just got Global ROM, so I guess we're making progress...
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ardrift:
Yea, I hope that Xiaomi will release it soon, it's my first Xiaomi device and one thing because I chose this instead of the note version was the Qualcomm SoC, I thought this device would have a bigger developer community... I hope it will be true, since the phone came out just roughly 2 months ago.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
For now we have all these rom ports already: https://drive.google.com/open?id=0B59J92mcYFcnRVZscHg3NWFlZWc but until xiaomi releases kernel, forget about developing roms from scratch. We will have to settle with porting and fixing bugs until then
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] edurb:
About cable otg

Sorry for running away from the subject, but was wondering if Redmi 4 pro has otg cable support?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ock:
yes it has
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] -droidberg-:
I know is OT but is there any one who managed to unlock the 800 mhz lte band for this device?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fforward72:
They describe it here:

http://en.miui.com/thread-437098-1-1.html
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
It's not working with B20 and other bands - be careful before you rip off your NVRAM
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
I unlocked it on mine, but the antenna doesnt support it, so even though the chipset does, the antenna cant connect to 800MHz
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] d3s4nn:
True - read it already on miui forums
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] -droidberg-:
So it is pointless to unlock it then.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Mainly, yes
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] gregory678:
2017.01.12

https://drive.google.com/uc?id=0B59J92mcYFcnY0Nuakpza2UzVVE&export=download
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
That version is only chinese/english and has bloatware.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] trane5700:
I create the thread about Kernel Sources for Redmi 4 Prime, RATE AND COMMENT PLEASE! - >>>Xiaomi Redmi 4 Prime Kernel Sources!<<<
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] fforward72:
100% agree with you!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] testadaz:
pilililo2 On your google drive there is a ResurrectionRemix folder with a Rom inside it.

Does anyone tested this ROM ?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Yes lots of people have. Has locationservices wakelock as all the other ones. But for the rest it is good.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Hello pilililo, between RR and LineageOS, which is better. I am currently on RR. But i want to know comparison between performance and battery, which is better. TIA!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] trane5700:
If you have battery drain on RR or other CM based ROM, try this(Need ROOT), helps with locationservices wakelock:

1) Install My Android Tools (https://goo.gl/uDWrt4)

2) Services - System - LocationServices

3) Turn OFF NetworkLocationService

No need to reboot!;)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
Yes, that is the fix for location services as far as we know, but I just like to keep them off. Between RR and LinOS I preffer LinOS as it has a little bit better battery life.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Thanks! Will flash ROM tonight!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ChriMo:
I one description I have seen NFC chip is present but all the others report no NFC which seems the only hardware flagship standard feature missing, maybe also a Lens Stabilizer.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] kyrogex:
Hmmm, does this ROM support 4g and 3g at the same time for dual sim ? 2g is ceasing in my country :(
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] rusty75:
Hi, I have two questions after installing LineageOS13_20170112 (bloatware removed with Titanium Backup):

1) What is best tool for monitoring power consumption and active processes?

2) How to modify /system/build.prop? Should I use a terminal emulator, which one?

Edit - this question was answered, thanks pilililo2, suggestion was to use any Buildprop editor (google play). So not hard.

Thanks for the help!

Edit2: as per pilililo2's suggestions i am now using MokeeMk60.1 from his drive, removed all the bloatware, installed opengapps pico, all is fine now.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Any bugs on MK ROM? TIA!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Drummer605:
MOKEE_6.0.1_markw_19.01.2017 https://drive.google.com/file/d/0BzNLclqMCVhgRlJhZ2QxcHhUZmM/view
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Edit1: Already installed the ROM, initial run on AVG malware detected on a chinese system app. Extensive run, there's jumobile that needs to be deleted, remove all detected via system app remover and ES explorer. Other than that the ROM is smooth.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Drummer605:
Thanks for testing! I'm still waiting for the device to arrive..:)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] rusty75:
YES :mad:

ESET detected a virus in the Settings App.

I unfortunately didn't catch the name, something with Ad.<xxxx> but it seemingly is a backdoor to allow other apps to be installed later.

Cant uninstall the Settings app, so I decided to throw mokee off and go back to lineageos for now.

Big shame, really liked it.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Yeah, big shame that this ROM have a malware. Though for me i removed it via system app remover. I rerun over kaspersky andfound no malware.

Edit1: i believe we have different installer of mk since you've used the one from pilililo2 and i used the one from drummer. Sizes are different i wonder if they got it from different sources. Drummer versions don't have bloatwares but have a chinese malware though. Hope.official deliver shows up soon here at xda.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] rusty75:
Yes i got it from pilililo2.

Did some more tests, only ESET finds this in the Settings App :

AdDisplay.Waps.Q (variant)

I think now that it is Ok. Because of the word 'variant' maybe it is just a piece of code that is looking like a virus dna.

I tested also with AVG, Avast, Sophos, Kaspersky and all of them gave a green light.

Searched for the word Addisplay.waps.q and there is only one hit, in a chinese forum, google translate tells me he found it using ESET testing Mokee...

So ok, green flag for now:)

Still curious about the difference between the two packages that we used, though...

Ps you said the malware was called jumobile?

They create System App Safe Remover, the app that you used.

Confused..

Anyway I used Titanium Backup.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Mine is different malware, cant understand it because it is on Chinese character.

Sorry for confusion. I remove the chinese malware via system app remover. For the jumobile folder, i deleted it via ES explorer, since AVG says it contains risk.

Other than that, the ROM is buttery smooth and idle time does not consume any battery. Most of my battery ia consumed by spotify and hearthstone. ?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
First thing I did after flashing was removing all chinese apps. ROM is running very nicely for me :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Mithrandir107:
Actually i love this mokee ROM. Almost perfect!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] jones321:
I think I deleted around 7 chinese system apps. Here is a screendump of some of the bad stuff.

Must say I'm loving the Rom besides the awful start.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] voshchronos:
Noob questions

Just finally got my device on the mail. As a complete noob on Xiaomi devices, how do I begin the process of getting a custom rom on it? Mine came with the fake global MIUI 8.0.5.0.0 (MBECNDG). How do I unlock the bootloader and get TWRP?

And in terms of battery life, which one should I go: LinOS or MK? How much screen on time are you guys getting on them? Thanks.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] laviniu_c:
https://xdaforums.com/general/rooting-roms/xiaomi-redmi-4-prime-pro-unlock-t3519811

however until the kernel sources are released customs will be a bit limited. i would stay on the stable/dev official miui.

the lengthiest part is getting permissions to unlock, so make yourself a xiaomi account and request permissions to unlock (permissions is per account, not per phone)

in the mean time, http://en.miui.com/thread-408889-1-1.html you can use this to clean flash an official rom (global 8.1.2 i think is the latest available)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] voshchronos:
Thanks. But what kind of limitations are there in the custom roms? I think I'm going to test them until the official global rom gets released.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] KeiOffice:
Did anybody else ran into an issue with fingerprint scanner not working on any of three CM based ROMs?

I've flashed the Lineage, Mokee and the CM13 rom, and on all of them I don't have an option to add fingerprints after setting up the screen lock PIN.

Flashed back the Xiaomi EU MIUI rom and the fingerprint scanner works perfectly... Is there a setting or something that I am missing somewhere?

Thanks!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] jones321:
In my Mokee under screenlook, It is listed as the 7 option.

Did you wipe properly before flashing?

---------- Post added at 08:35 PM ---------- Previous post was at 08:27 PM ----------

I'm using Mokee for daily driver and is well pleased. Before I was using Global Rom, which is a customized xiaomi.eu. Reason for changing is that there are always something I don't like in MIUI compared to pure Android and my native language usually lacks in both global version and xiaomi.eu.

I have been using Mokee for some days and did not run into any bugs. Battery is fine this far.

Only downside was there isn't a official developer and ROM came with malware, which had to be deleted.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] KeiOffice:
I wiped Dalvik /ART cache, Cache, Data and System before flashing every time, going to try and flash Mokee again now and checks whats the 7th option

Edit:

Still the same as it was... I've attached the screenshots of the lock screen settings
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] laviniu_c:
there is a global official available. http://en.miui.com/download-320.html Version: V8.1.2.0.MBEMIDI

i think you can even flash it from the updater app. if not that vendor 8.0.5 should support download mode. read a few more threads/replies and you can easily flash to official global.

what i said we don't have yet is kernel sources (so devs can't build a proper custom rom, they need to port things for it). obvioulsy no official lineageos/cm until the kernel sources are released
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pilililo2:
You should first apply in the miui web page for the boogloader unlocking permission. Then after receiving it you should unlock it and flash TWRP via fastboot. After that you are set to go and flash any custom rom. I would personally recommend Mokee on top of all the other ones (ive tried all of them)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] rusty75:
Im loving Mokee. Been through the dev and global installs. Cm13, also. Mokee is the best. Newcomers there are many guides, most important is to apply for the unlock code. Then get your device unlocked. Then get TWRP on there because the recovery menu is not a real recovery mode (if you see a black&white image of a phone + usb cable you found it). Then install mokee, then supersu then Opengapps google apps bundle (i use pico). Titanium backup helped me to get rid of the crapware. Astro file explorer to backup and migrate apk's from old phone to new so i didn't have to download them again

My findings, some comments on other how to's, : search for 3 posts by rusty75 on the miui forum. Just linking to others plus some additional hints, how i worked it out. Mokee it is for me now, apart from the sloooooww charging, all is fine incl the fingerprint scanner.

Reason for abandoning miui was (amongst others) that i didnt trust the software, can't put a finger on it but I don't like it somehow.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Charloam:
I have the same problem. I wiped Dalvik /ART cache, Cache, Data and System and flashed Lineage 13 with TWRP, lights & gapps as described in: Lineage OS 13 UNOFFICIAL ROM posted on xda forums.

Fingerprint worked fine on the MIUI8 Global ROM that came with my device:

* Android version 6.0.1 MMB29M
* MIUI version: MIUI Global 8.1 | Stable 8.1.2.0(MBEMIDI)

And my device was unlocked officially:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:

But now it doesn't work at all and I can't find it anywhere in system settings. It's my first time flashing a ROM so it's a bit confusing. I haven't noticed any other problems with the ROM. Should I have wiped dalvic cache, cache and data after flashing the ROM too or just before?

EDIT: I went back and wiped cache and dalvik cache with TWRP, booted back into lineage and it went through recovering/installing all the apps I had on. No change to access to fingerprint scanner though, can't see it at all.