yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] ketut.kumajaya:
Sync your source and cherry-pick https://github.com/kumajaya/android_hardware_ril/commit/c00cb015b1cab3ba13f63c183eebf5ffc7321d3b to hardware/ril-caf . Good luck! A clean rebuild always better.
[Xiaomi Mi 4C] emfox:
That doesn't work either. The visible change is network type selection now many choices such as GSM/wcdma, instead of 2g 3g and lte. But no matter I choose which choice, the little signal icon on status bar is only a empty triangle.
[Xiaomi Mi 4C] KopiJahe:
It's not booting. :confused:

Here's a boot.img from MIUI stable channel.
[Xiaomi Mi 4C] ketut.kumajaya:
It's boot libra. Is it completely no go (blank screen) or just the system fail to boot?
[Xiaomi Mi 4C] simonsmh:
Does rk kernel boots on kumajaya cm13? The RR still have something I don't like, but the kernel is much better than the default one on cm13 because it have hotplug which saves lots of battery.

The rk kernel is 3.10.101 but the cm kernel is 3.10.84.
[Xiaomi Mi 4C] ketut.kumajaya:
In my very limited free time, I'm not too ambitious here. Fully working and stable more than enough for me. And remember, I maintain device, vendor, and kernel here, a lot of tasks of course. About 5.5 hours screen on time and 12.5 hours on time, I don't expect more, it's enough for me and I also have a power bank here if I want more.
[Xiaomi Mi 4C] KopiJahe:
It just showing "mi" logo over and over again.
[Xiaomi Mi 4C] BlackXhorneT:
Same for me. Tried over clean install and dirty flash over 14th kernel. With and without root patch
[Xiaomi Mi 4C] csolanol:
[MENTION=4021423]ketut.kumajaya[/MENTION] SlimTeam is looking for device maintainers. You should apply for Mi4c/s :p
[Xiaomi Mi 4C] ketut.kumajaya:
I just upload updated version of boot-20160616-libra-aqua.img, please try it and report back.
[Xiaomi Mi 4C] ketut.kumajaya:
Not sure. With permissive SELinux, I believe CyanogenMod won't accept our device as official device. How about Slim?
[Xiaomi Mi 4C] KopiJahe:
now it is just stuck on "mi" logo (no rebooting like before).
[Xiaomi Mi 4C] BlackXhorneT:
Just sticks on the Mi logo now... Not rebooting but not getting to the CM loader either I'm afraid :/
[Xiaomi Mi 4C] csolanol:
Well, it is in the works, right? :D
[Xiaomi Mi 4C] christianvari:
Thanks for your work [MENTION=4021423]ketut.kumajaya[/MENTION] . Can you see if is all ok with WIFI? It power seems to be less strengh that in MIUI.

UPDATE Camera flickering in last build but only in default camera app. With retrica or others it is working

UPDATE 2

Speacker volume is lower than in MIUI
[Xiaomi Mi 4C] KopiJahe:
[MENTION=4021423]ketut.kumajaya[/MENTION] I noticed that you pushed 2 commits for libra, maybe this is why the kernel doesn't want to boot? I'll try to compile the full rom tonight.
[Xiaomi Mi 4C] ketut.kumajaya:
I don't think so. I just start compile the kernel, keep the original fingerprint driver and add only missing sysfs nodes for user space blobs. I have found aqua fingerprint hardware always on all the time and they advertise it as the fastest fingerprint sensor on the world. Someday, maybe they will make a phone without sleep feature :D
[Xiaomi Mi 4C] ketut.kumajaya:
[MENTION=2689045]awaaas[/MENTION] Updated 20160616 kernel available for download. Don't flash a test kernel until you confirm the kernel boot your device using "fastboot boot boot.img" command. Sometime it's hard to quit from a boot loop ;)

EDIT: You don't need to rebuild a full ROM for now. You can manual copy updated fingerprint blobs from libra vendor to your device.
[Xiaomi Mi 4C] BlackXhorneT:
Tried the new build as a dirty flash over the 14th build (already done one clean install today, I don't mind doing another tomorrow but I need my phone this evening haha). It got further than the last one, in that it got to the point that the boot animation finishes where it would normally launch into the OS with the "android starting..." dialogue, but instead the animation froze on a frame and then rebooted back to the "mi" bootscreen.

Each build has got further mate (1st one = instant reboot, 2nd one = reboot at the point the animation started to load, 3rd one = reboot as the animation started to load). Logic dictates you'll have it next time haha!

Really excited for this :) didn't think I'd miss the fingerprint at all but it was actually pretty cool on MIUI. Will be seriously cool to have on CM.

Keep up the great work!
[Xiaomi Mi 4C] akrai:
and we really appreciate that you focus only in the most basic things, its the base for the rest of the developers doing a good work

let other developers do that hotplug thing

good job, really, last cm is 100% stable

edit: also, achieving the selinux enforced without bugs is totally a big step
[Xiaomi Mi 4C] KopiJahe:
Heh...

I originally always boot the image first, but when it didn't work, I'll try to flash it :silly:

anyway, your latest kernel boots on aqua, and after reaching the lockscreen, it reboots (kernel panic?).

I've grabbed a logcat and dmesg quickly enough though :D

Here's a snippet from dmesg:

[ 1.396869] WARNING: at ../../../../../../kernel/xiaomi/msm8992/fs/sysfs/dir.c:530 sysfs_add_one+0x98/0xb4()

[ 1.396875] sysfs: cannot create duplicate filename '/devices/soc.0/f9968000.spi/spi_master/spi12/spi12.0/clk_enable'

[ 1.396880] Modules linked in:

[ 1.396894] CPU: 5 PID: 1 Comm: swapper/0 Tainted: G W 3.10.84-blackhawk-g2c2d6ce-00104-g13f65c1-dirty #1

[ 1.396900] Hardware name: Qualcomm Technologies, Inc. MSM8992 MTP (DT)

[ 1.396906] Call trace:

[ 1.396918] [<ffffffc000206b98>] dump_backtrace+0x0/0x23c

[ 1.396926] [<ffffffc000206de4>] show_stack+0x10/0x1c

[ 1.396937] [<ffffffc000dff934>] dump_stack+0x1c/0x28

[ 1.396947] [<ffffffc00021c6a4>] warn_slowpath_common+0x74/0x9c

[ 1.396953] [<ffffffc00021c718>] warn_slowpath_fmt+0x4c/0x58

[ 1.396960] [<ffffffc000357760>] sysfs_add_one+0x94/0xb4

[ 1.396968] [<ffffffc000356a6c>] sysfs_add_file_mode+0x74/0xcc

[ 1.396975] [<ffffffc000359428>] internal_create_group+0x130/0x1c0

[ 1.396980] [<ffffffc0003594c8>] sysfs_create_group+0x10/0x1c

[ 1.396991] [<ffffffc0007b02e8>] fpc1020_probe+0x458/0x4f8

[ 1.397001] [<ffffffc000686d18>] spi_drv_probe+0x1c/0x28

[ 1.397010] [<ffffffc000608a18>] driver_probe_device+0xd4/0x240

[ 1.397016] [<ffffffc000608c30>] __driver_attach+0x60/0x90

[ 1.397022] [<ffffffc000607a60>] bus_for_each_dev+0x74/0x94

[ 1.397029] [<ffffffc00060849c>] driver_attach+0x1c/0x28

[ 1.397035] [<ffffffc0006080b0>] bus_add_driver+0xf8/0x214

[ 1.397042] [<ffffffc000609244>] driver_register+0x94/0x110

[ 1.397049] [<ffffffc000687064>] spi_register_driver+0x54/0x60

[ 1.397060] [<ffffffc001a365a8>] fpc1020_init+0x18/0x64

[ 1.397066] [<ffffffc0002007a4>] do_one_initcall+0x80/0x118

[ 1.397076] [<ffffffc001a00960>] kernel_init_freeable+0x190/0x230

[ 1.397085] [<ffffffc000df6044>] kernel_init+0x10/0xcc

Edit: And I also like to report, that 5Ghz wifi regional settings seems overwritten after each ROM update, so I can't connect to my home wifi before setting my region once more.
[Xiaomi Mi 4C] csolanol:
[MENTION=4021423]ketut.kumajaya[/MENTION] built a stock slim for our device. Same sources as SlimRoms, just added some configuration options for hardware buttons. If you want to see how it flies i will share.
[Xiaomi Mi 4C] Brunnys:
Just create a new thread :D
[Xiaomi Mi 4C] csolanol:
Ummmmm no.
[Xiaomi Mi 4C] ketut.kumajaya:
A derp from my side :(

Please create a new thread.
[Xiaomi Mi 4C] ketut.kumajaya:
[MENTION=2689045]awaaas[/MENTION] Build 20160617 ready for test.
[Xiaomi Mi 4C] KopiJahe:
OK, no reboot this time :highfive:

See attached for logs.

a snippet from dmesg:

[ 1.404368] fpc1020_probe -

[ 1.404704] fpc1020 spi12.0: found pin control spi12_fpc_active

[ 1.404713] fpc1020 spi12.0: found pin control fpc1020_reset_reset

[ 1.404720] fpc1020 spi12.0: found pin control fpc1020_reset_active

[ 1.404726] fpc1020 spi12.0: found pin control fpc1020_irq_active

[ 1.404865] input: fpc1020 as /devices/soc.0/f9968000.spi/spi_master/spi12/spi12.0/input/input0

[ 1.404930] fpc1020_probe enable-wakeup

[ 1.405238] fpc1020 spi12.0: Enabling hardware

[ 1.409826] fpc1020 spi12.0: fpc1020_probe: ok

[ 1.409850] fpc1020_init OK
[Xiaomi Mi 4C] ketut.kumajaya:
Please give me "ls -l /sys/bus/spi/drivers/fpc1020/spi1.2/" command output.
[Xiaomi Mi 4C] KopiJahe:
Here it is:

shell@libra:/ $ ls -l /sys/bus/spi/drivers/fpc1020/spi12.0/
total 0
--w------- 1 root root 4096 2016-06-17 08:12 bus_lock
--w------- 1 root root 4096 2016-06-17 08:12 clk_enable
lrwxrwxrwx 1 root root 0 2016-06-17 08:12 driver -> ../../../../../../bus/spi/drivers/fpc1020
--w------- 1 root root 4096 2016-06-17 08:12 fabric_vote
--w------- 1 root root 4096 2016-06-17 08:12 hw_reset
drwxr-xr-x 3 root root 0 2016-06-17 08:12 input
-rw------- 1 root root 4096 2016-06-17 08:12 irq
-r--r--r-- 1 root root 4096 2016-06-17 08:12 modalias
--w------- 1 root root 4096 2016-06-17 08:12 pinctl_set
drwxr-xr-x 2 root root 0 2016-06-17 08:12 power
--w------- 1 root root 4096 2016-06-17 08:12 regulator_enable
--w------- 1 root root 4096 2016-06-17 08:12 spi_owner
--w------- 1 root root 4096 2016-06-17 08:12 spi_prepare
lrwxrwxrwx 1 root root 0 2016-06-17 08:12 subsystem -> ../../../../../../bus/spi
-rw-r--r-- 1 root root 4096 2016-06-17 08:12 uevent
--w------- 1 root root 4096 2016-06-17 08:12 wakeup_enable
[Xiaomi Mi 4C] ketut.kumajaya:
[MENTION=2689045]awaaas[/MENTION] Updated 20160617 ready for test. Please check in stock system image if keylayout fpc1020.kl exist.
[Xiaomi Mi 4C] KopiJahe:
There's no fpc1020.kl in factory image, here's the list of /system/usr/keylayout:

atmel-maxtouch-edge.kl
atmel-maxtouch.kl
AVRCP.kl
ft5x46.kl
Generic.kl
gpio-keys.kl
qwerty.kl
synaptics_dsx.kl
synaptics_dsx_edge.kl
Vendor_0079_Product_0011.kl
Vendor_045e_Product_028e.kl
Vendor_046d_Product_b501.kl
Vendor_046d_Product_c216.kl
Vendor_046d_Product_c219.kl
Vendor_046d_Product_c21d.kl
Vendor_046d_Product_c21f.kl
Vendor_046d_Product_c294.kl
Vendor_046d_Product_c299.kl
Vendor_046d_Product_c532.kl
Vendor_054c_Product_0268.kl
Vendor_0583_Product_2060.kl
Vendor_05ac_Product_0239.kl
Vendor_0b05_Product_4500.kl
Vendor_1038_Product_1412.kl
Vendor_12bd_Product_d015.kl
Vendor_1532_Product_0900.kl
Vendor_1689_Product_fd00.kl
Vendor_1689_Product_fd01.kl
Vendor_1689_Product_fe00.kl
Vendor_18d1_Product_2c40.kl
Vendor_1949_Product_0401.kl
Vendor_1bad_Product_f016.kl
Vendor_1bad_Product_f023.kl
Vendor_1bad_Product_f027.kl
Vendor_1bad_Product_f036.kl
Vendor_1d79_Product_0009.kl
Vendor_22b8_Product_093d.kl
Vendor_2378_Product_1008.kl
Vendor_2378_Product_100a.kl

Also, attached logs for the latest kernel :)

Ooh, and also, the 5Ghz wifi problem. I think the culprit is somewhere inside the kernel? Because when I loaded new kernel, the region setting reset by itself.

Edit: Also attached screenshots about the wifi problem.
[Xiaomi Mi 4C] Gabbbbbbb:
I installed the latest emfox build & it's just about perfect. The removal of double tap seems to have fixed the deal-breaker problem that I had with the previously tried builds.

Thank you guys!
[Xiaomi Mi 4C] ketut.kumajaya:
[MENTION=2689045]awaaas[/MENTION] Which fingerprint firmware do you use to check the latest test kernel? From libra vendor or ether? A bit progress there but failed to register the firmware to trusted environment.
[Xiaomi Mi 4C] KopiJahe:
[MENTION=4021423]ketut.kumajaya[/MENTION] latest libra vendor.

I'm currently out of my house right now (just got in the car :D ), maybe later tonight I'll check using the other and post logs.

Edit: **** it, jumped out of the car, running to my room, grabbed this logs :silly:
[Xiaomi Mi 4C] ketut.kumajaya:
Almost similar error, fingerprint firmware fail to register to trusted environment. When you back home, please restore back libra firmware, and try updated 20160617 kernel.
[Xiaomi Mi 4C] KopiJahe:
latest kernel didn't boot again, stuck in mi fastboot logo.
[Xiaomi Mi 4C] ketut.kumajaya:
D*mn, wait a minute. I just started a new build.

[MENTION=2689045]awaaas[/MENTION] Just uploaded a new 20160617 build. Please try it.
[Xiaomi Mi 4C] ketut.kumajaya:
I just want to say, I like your reply.
[Xiaomi Mi 4C] KopiJahe:
latest kernel with the latest libra vendor's log attached.

Edit: also, with ether's firmware too.
[Xiaomi Mi 4C] ketut.kumajaya:
Still no go, both tz* app fail to register to trusted environment. I'll push my local kernel changes and then we focus on user space part later.

[MENTION=2689045]awaaas[/MENTION] I have a sounds stupid idea. Please try copy /firmware/image/sampleap.* to /system/vendor/firmware/fpctzappfingerprint.* Reboot using my latest test kernel, give me dmesg and logcat output. I'm a bit understand how fingerprint hardware working on Android now. Only trusted application (TA) can read finger image from fingerprint sensor.
[Xiaomi Mi 4C] KopiJahe:
Maybe with updated ROM it will? My latest compile just finished now. Will report later :)

[MENTION=4021423]ketut.kumajaya[/MENTION] here it is, with both firmware ;)
[Xiaomi Mi 4C] BlackXhorneT:
Any luck?
[Xiaomi Mi 4C] KopiJahe:
I don't think so? I mean, it boots normally, but in the logs, fpc is still errors when opened (with different errors for each firmwares).
[Xiaomi Mi 4C] BlackXhorneT:
Thanks for doing the testing :). Can't wait to see it run agaib
[Xiaomi Mi 4C] KopiJahe:
Sorry quoting an old reply again. My latest build has the music app FC fixed, it turns out that libavcodec wasn't compiled right the last time, gallery probably is fixed too (I still have it deleted with opengapps).

Also, for slow animation when pulling notification, there's a workaround by giving nova root access (Nova settings -> Look & feel -> Expand action using Root).
[Xiaomi Mi 4C] BlackXhorneT:
Find figured the Nova one out, as for the other two, awesome!
[Xiaomi Mi 4C] AndropaX:
[MENTION=4021423]ketut.kumajaya[/MENTION]

One suggestion from me:

https://github.com/AndropaX/android...mmit/a96a01c91bf36a91eee560ced7c7e176dc3ac190

In miui and official cm for cancro keys are also mapped as that
[Xiaomi Mi 4C] jelennn:
What are the real differences between this CM13 build and CM13.1 build of Team Superluminal? Something special? Which one is more stable and faster?
[Xiaomi Mi 4C] Gabbbbbbb:
If you use the default settings this will be way faster, because the TS dev favors battery over speed just a bit too much. (if you set up a different power profile or use kernel auditor I'd guess the difference is minimal)CM 13.1 is just a TS term to differentiate from their older builds, no real difference there.
[Xiaomi Mi 4C] scrofanionel:
[MENTION=2689045]awaaas[/MENTION], I see in your drive a new build 20160620. What is the changelog?

Thank you
[Xiaomi Mi 4C] KopiJahe:
Merged latest cm and kumajaya's source. Nothing from me personally.
[Xiaomi Mi 4C] scrofanionel:
Ok. Updated. All fine , like usual in the Kumajaya ROM. Very fast and smooth.

Thank you.
[Xiaomi Mi 4C] ketut.kumajaya:
Sorry guys, I leave you for a while for Redmi 2. You can ask [MENTION=2689045]awaaas[/MENTION] and/or [MENTION=3813099]emfox[/MENTION] to build this ROM for upstream CM changes. Please ask it nicely ;)
[Xiaomi Mi 4C] scrofanionel:
Thanks for all, my friend. I hope to see you back soon.

This is the best ROM for mi4c.
[Xiaomi Mi 4C] BlackXhorneT:
Thanks for all your work on this bud. Look forward to your return :)
[Xiaomi Mi 4C] KopiJahe:
Yeah, i was wondering where are you, but then on redmi 2 thread you are very active, lol.

I was thinking that I might be selling this device, and go back to nexus. But then, this phone has 64GB of internal memory, AND sdcard slot :silly:
[Xiaomi Mi 4C] BlackXhorneT:
Too good to sell mate, once the fingerprint works we'll be on par with the 5x in pretty much any way you slice it regardless[emoji14]
[Xiaomi Mi 4C] KopiJahe:
Yeah, I decided to wait for the fingerprint thingy (and SELinux enforcing) to works.

One thing I missed from my nexus 5? My sister said I take a picture like a lazy person using that phone. Now, I must become a statue to get a nice pic ._.
[Xiaomi Mi 4C] BlackXhorneT:
Haha yeah the camera isn't exactly rapid without great lighting is it. We'll get there with the fingerprint and enforcing SELinux. Just give it time :)
[Xiaomi Mi 4C] mangojain:
I tried the rom for a few days on my 4S, but battery life is very poor compared to MIUI. In most other ways, it is better.

I can live without fingerprint recognition and slow camera, but not with this battery drain.
[Xiaomi Mi 4C] BlackXhorneT:
Yeah the camera is an issue. Battery isn't something I have an issue with... Approx 5hrs screen on time
[Xiaomi Mi 4C] Gabbbbbbb:
it's easier to get steady pics with FreeDcam than Snap, even you don't need the dng support.
[Xiaomi Mi 4C] BartAfterDark:
Where do I find awaaas latest builds? :)
[Xiaomi Mi 4C] KopiJahe:
Here you go mate :)
[Xiaomi Mi 4C] RandomDude:
Hi all,

Before I post my Logcat - is anyone else receiving choppy audio with the Google Dialler inbuilt SIP client on outgoing calls?

I did a clean install of TS CM13.1 just to compare and it also occurs there. There is no choppy audio heard by the receiver, its only local to the handset

Not sure if its my gapps, sip provider or CM13
[Xiaomi Mi 4C] Elias_Foreman:
Support fingerprint scanner is postponed indefinitely? :confused:
[Xiaomi Mi 4C] BlackXhorneT:
For the foreseeable future yes. It's worth noting that AndropaX from RR was also working on a few ideas for supporting it so hope isn't lost
[Xiaomi Mi 4C] ermacwins:
Snap camera slow at taking photos?
[Xiaomi Mi 4C] BlackXhorneT:
Slow to focus and jerky performance in low-light. Google camera seems much better
[Xiaomi Mi 4C] shems1:
Hi, my PC, windows 8.1 doesn't recognize my Mi4c 16GB, but no problem with W 7. I've tried last Emfox and Kumajaya builds, same result. Never had this problem with MIUI. Maybe have to install/upgrade something for CM or AOSP..., I don't know, sugestions, please.

thank you :)
[Xiaomi Mi 4C] BlackXhorneT:
Select mtp storage mode
[Xiaomi Mi 4C] shems1:
No, that`s not the solution, the problem should be with Windows 8.1, because w 7 is ok, I`ve tried all modes many times... Thanks any way :)
[Xiaomi Mi 4C] muff99:
No problems with latest built on win 10
[Xiaomi Mi 4C] NevehOod:
CPU is stuck on 960mhz! What is that?

CPU scaling range is 960-960. Thats crazy, something is defenetly wrong.
[Xiaomi Mi 4C] muff99:
My first 4cpus are chilling at 384mhz right now. You have any additional scripts installed?
[Xiaomi Mi 4C] NevehOod:
Clean install. And my battery is draining fast, when screen is on.
[Xiaomi Mi 4C] scrofanionel:
All fine for me...
[Xiaomi Mi 4C] KopiJahe:
I somehow fixed my 5 GHz wifi issue (turned out to be not detecting after each restart(!), not after flashing new ROM or kernel) by reflashing latest MIUI stable, and come back to CM :)
[Xiaomi Mi 4C] egnchr:
mi win 10 dont se mi4c

i am 20160616 build by emfox
[Xiaomi Mi 4C] BlackXhorneT:
Interesting reading about the redmi 3 thread on the homepage that has a functioning band 20 baseband... As that would give me fully functional 4g on my network, would be awesome if we could run that modem firmware on 4s/4c... Anyone have an idea on what I can read into to learn more on the subject?
[Xiaomi Mi 4C] dcastro28:
New build day 26, changelog?

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] gonzalocav:
Why don't stop asking for changelog? This is already answered here:

Kuma said: No much end user really aware to ROM source code and asking me about changelog. This is not MIUI or closed or partially closed ROM but a real CyanogenMod ROM. ROM source code and changelog always available, traceable, and sync to ROM release.

So please go for the changes in Kuma's github. Everybody knows where they are. Otherwise, upstream.
[Xiaomi Mi 4C] egnchr:
i can see internal storage for transfer file

win 10 hire
[Xiaomi Mi 4C] rhd-android:
That's too bad.

Is there any ROM for the Mi4S, short of stock, that supports it?
[Xiaomi Mi 4C] BlackXhorneT:
Not really, you've got this and RR which is derived from the same source so not a massive difference, or MIUI/sMIUI as it stands.
[Xiaomi Mi 4C] keatbo:
May I know this Mi4c ROM/kernel support fast charging? How long you guys took to charge your Mi4c phone from empty to full while leaving screen off?
[Xiaomi Mi 4C] solis_f:
Is ambient display working now?
[Xiaomi Mi 4C] agileart:
Any posibilities to transver the Indonesian language from flyme UI ROM, to mi4s/mi4c? You can check the ROM here. http://bbs.ydss.cn/thread-645297-1-1.html
[Xiaomi Mi 4C] csolanol:
Hi [MENTION=4021423]ketut.kumajaya[/MENTION] and [MENTION=5868201]AndropaX[/MENTION]. Finally i have sorted out all the problems with selinux for libra. Had to start from scratch.

I used the qcom/sepolicy repo from SlimRoms and fixed all denials in the device sepolicy dir. I assume that it should work too using cm's qcom/sepolicy.

Removed aqua stuff so if you want to work with fingerprint and sdcard you need to readd permissions.

Selinux commit: https://github.com/reposte/android_...mmit/0a8d7d54c7eb1417a50258eff8ed8230c46e695b

Hope it helps.
[Xiaomi Mi 4C] KopiJahe:
I'm gonna test a build againts your device tree and report back, being bored for a little while :silly:
[Xiaomi Mi 4C] KopiJahe:
[MENTION=2511007]csolanol[/MENTION] here it is, logcat and dmesg output. No gapps or any apps installed. With and without ether fingerprint firmware.

It is compiled againts cm13 and kumajaya's kernel. The one with ether firmware is also have a lockscreen set up.

A little review regarding this build of mine:

MTP storage is listed as not having a file (both of them), but it is detected properly inside android, and I can pull the files with adb.

Screen still flickers on snap camera.
[Xiaomi Mi 4C] BlackXhorneT:
Lovely to see some more life in this wonderful thread. Still looking forward to some fingerprinting goodness in our future :D
[Xiaomi Mi 4C] ydd0ras:
Yes, that's right, fully agreed. Nice guys here. I like my Xiaomi and MIUI, but a device without CM? No!
[Xiaomi Mi 4C] jelennn:
I flashed Emfox's build (cm-13.0-20160626). I have problem with WiFi. WiFi only works while the screen is on. What about this problem? Any help? Older client DHCP in developer settings doesn't help.
[Xiaomi Mi 4C] Gabbbbbbb:
I have the same issue :-I
[Xiaomi Mi 4C] KopiJahe:
It is running normally in my 20160628 build running on my phone, you can try it if you want :silly:
[Xiaomi Mi 4C] BlackXhorneT:
Currently trying out your 29th build with the enforcing SElinux :) wouldn't recommend it (yet) as a daily driver as it's had a fairly large performance hit. But so awesome to see it in action! 28th build is indeed ace
[Xiaomi Mi 4C] Gabbbbbbb:
Can I dirty flash it over Emfox's?
[Xiaomi Mi 4C] BlackXhorneT:
All built from the same source :) of course you can
[Xiaomi Mi 4C] csolanol:
[MENTION=2689045]awaaas[/MENTION] github updated with selinux fixes
[Xiaomi Mi 4C] KopiJahe:
And here are the logs :)

On a side note, man, these SELinux changes sure do make compiling longer (~6 hours of compiling after changes), rather than the usual device tree or kernel changes from kumajaya (~1.5 hours of compiling after changes).

Ooh, and I also catch this in the logs:

QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.

We might need vendor/lib/libconnctrl.so, as per this, CMIIW.
[Xiaomi Mi 4C] billbuds:
Camera flick, problem in kernel or lib dude ?
[Xiaomi Mi 4C] KopiJahe:
Dunno, but probably kernel, since kumajaya previously changed dynamic fps in the kernel for each display in an attempt to fix it (it is fixed on his phone though). CMIIW.
[Xiaomi Mi 4C] csolanol:
Well, close to 3 hours to build SlimYAOSP from a clobber with ccache here. Will take a look about that lib.

We still have to sort out a denial with xiaomi_hwaddrs but looks like all is working as it should.

Maybe we can make the device (libra for now) official at cyanogen or slimroms projects.