yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] rahulshankar:
Thanks for the reply!

I wouldn't quite call it a faulty sim, as it's not a hardware issue, at least i think it isn't. I think that one sim must be interfering with the second one for some reason and there is no signal appearing so cannot make or receive any calls from SIM 2. Sim works fine in another phone i tried.

So the panorama feature isn't present in this version? A pity! It's available in CM 13.1 as soon as you enter camera mode on the right hand side.

---------- Post added at 07:41 AM ---------- Previous post was at 06:57 AM ----------

Another question:

It says that LOS 14.1 has safetynet enabled...

does that mean apps like Netflix will now work? Or do we need to do other things in order to get such applications to work (this assumes the device has TWRP and has LOS14.1)

Thanks.
[Xiaomi Mi 4C] trtlja:
Does someone use microg enabled with signature spoofing and how to enable it in terms of non Google services phone but with few working apps from Google ...
[Xiaomi Mi 4C] waingro808:
OP is there any miracle you can perform to make RAM management better on 2GB Mi4c? My phone can't even keep Chrome, Google Maps, and Youtube in memory with almost all other background apps disabled in Privacy settings.

Love your work!
[Xiaomi Mi 4C] Cozzmy13:
I'll try, but no promises.
[Xiaomi Mi 4C] rahulshankar:
OP, this is such a great ROM!

Any chance the panorama feature in the camera can be added onto any future updates?

Also can Google cast controller notifications be enabled? This was good in CM13.1 as we stream a video from video stream we can control it automatically. Currently I have to use Google Home to control it.

Thanks.
[Xiaomi Mi 4C] Cozzmy13:
I don't think Snapdragon camera has this available as an option and I don't work on apps.

Don't know what the other thing is.
[Xiaomi Mi 4C] Shervrar:
I use microg too. You will have to use something like tingle to patch the framework yourself.

I think this is something to do with Android 7 running on the Android 6 bootloader. You can technically get it to work if you flash the Android 7 bootloader as well as AICP's Nougat Kernel zip file, but I highly doubt that is supported. Also, I was not able to set the wallpaper after doing that since it would keep crashing, and I doubt that is the only issue so use at your own risk..
[Xiaomi Mi 4C] Cozzmy13:
The same button that lets you change from camera to video recording also has a "landscape" icon that does panorama pictures I think.

Never noticed it.
[Xiaomi Mi 4C] laserkater:
Thanks for the insight! I guess I'll have to wait until these issues are resolved. Maybe when Lineage works with the official Nougat Kernel for this device.
[Xiaomi Mi 4C] militantmind:
Stutter and Lag due to Ram shortage.
[Xiaomi Mi 4C] Cozzmy13:
Isn't that RR? :P I saw you posted the same thing in RR thread and I don't think I have this problem on Lineage.
[Xiaomi Mi 4C] militantmind:
I was on wrong thread, anyways i switch back to LineageOS due to pertinent ram shortage problem on RR.
[Xiaomi Mi 4C] sammirati:
How to enable hardware test ?
[Xiaomi Mi 4C] Cozzmy13:
Tomorrow's build will have improved interactive parameters, I managed to get close to 7h SOT with 24h on battery. Don't expect wonders, but it's better anyway. I haven't noticed any smoothness loss.

In other news, my charger broke, and [MENTION=2511007]csolanol[/MENTION] bought me a new one because I don't have money and he's shipping it to me. Can you guys donate to him to cover the costs? It was 15$. Click here to go to the PayPal donation page.
[Xiaomi Mi 4C] crack1933:
do you have kernel for nougat BL.?? [MENTION=5994357]Cozzmy13[/MENTION]
[Xiaomi Mi 4C] Cozzmy13:
No, but I can try to compile one today.
[Xiaomi Mi 4C] notohp:
I find the saturation on this device insane and have been using kcal regularly. Do you maintain any other branch of kernel with kcal support?
[Xiaomi Mi 4C] Cozzmy13:
Settings -> Display -> LiveDisplay -> Color Calibration.
[Xiaomi Mi 4C] Cozzmy13:
First post has been updated with nougat kernel link.
[Xiaomi Mi 4C] Arefoe:
so now this rom is based on nougat bootloader?
[Xiaomi Mi 4C] hanuraiga:
This is what i'm waiting for. Too lazy for downgrade bootloader. Thanks man.. :silly: :good:
[Xiaomi Mi 4C] G59:
Same question.
[Xiaomi Mi 4C] Cozzmy13:
No, but flashing the nougat bootloader kernel after flashing the ROM makes the ROM work on nougat bootloader.
[Xiaomi Mi 4C] Arefoe:
Can i use substratum on this rom?
[Xiaomi Mi 4C] waingro808:
Confirming TWRP 3.0.2 TS works for upgrading nightly through Updater app. Yay, no more manual download and flashing!
[Xiaomi Mi 4C] Cozzmy13:
Installation guide in first post has been updated. There's an extra step for installing 8.5.1.0 firmware (it won't update your bootloader!). In the next build, encryption will work as long as you have that firmware installed!
[Xiaomi Mi 4C] G59:
Ok, thanks for answer.

Am i right that nougat bootloader doesnt affect on ROM in terms of battery usage, quality of network etc. ?

And does f2fs supported by this ROM?
[Xiaomi Mi 4C] laserkater:
Amazing news! That's what I call customer service. ;)

Thanks a lot!
[Xiaomi Mi 4C] Cozzmy13:
Nougat bootloader does not improve nor decrease anything.

F2FS should work, but I don't use it.
[Xiaomi Mi 4C] Cozzmy13:
I'm glad you like it.

I've been going through all the bugs in the past weeks, hopefully this is the last big one.
[Xiaomi Mi 4C] lslowmotion:
As per usual, I'll give you my personal experience with [MENTION=5994357]Cozzmy13[/MENTION]'s latest tweak regarding performance on the latest build:

Buttery smooth as the 2607 build but with much better optimization regarding battery life. I noticed it has a way to use the big cores at 384 MHz and the LITTLE cores at 864 MHz simultaneously in a way so it gives the buttery smooth feels and about 1.2-1.4x more efficient compared to 2607 build even on balanced battery profile. If I remembered correctly it was more than 1 GHz on both big and LITTLE cores when you use it even on general usage (not the high demanding games) on the 2607 build.

App launch still feels snappy and responsive. I already on 3h of SoT, and still got about 41% battery left. I remembered it would be about 25% battery left on the 2607 with 3h of SoT. Kudos to [MENTION=5994357]Cozzmy13[/MENTION]!
[Xiaomi Mi 4C] Arefoe:
Did u use that nougat patch?

I want to move to laos, your review is awesome. That sot. I want it
[Xiaomi Mi 4C] lslowmotion:
I'm on lollipop bootloader so I don't use it. You should have the same experience as the nougat one with the nougat patch provided. It's basically the same kernel with a simple patch to support the nougat bootloader.
[Xiaomi Mi 4C] G59:
Dude how long do u use ur mi4c? And have u swapped the battery?
[Xiaomi Mi 4C] lslowmotion:
Almost a year.

No I haven't.
[Xiaomi Mi 4C] Cozzmy13:
Well, that's nice. This is what I had a few days ago. My battery is about 9 months old.

https://m.imgur.com/VXqwI6x,ciXdGnE
[Xiaomi Mi 4C] Arefoe:
Is something wrong with my phone, my sot is so bad. Not like yours guys,
[Xiaomi Mi 4C] lslowmotion:
Try to use it till 10% left on battery. It should at least reach 4h of SoT.
[Xiaomi Mi 4C] Uzuki:
Question, I have nougat bootloader, do I also have to install 8.5.1 firmware as mentioned in 1st post?
[Xiaomi Mi 4C] Cozzmy13:
Yes. But it's required only for encryption. Everything else should work with any other firmware version.
[Xiaomi Mi 4C] fathyle:
i have 2 random reboot today, anyone have same experience? it reboots when play video on facebook
[Xiaomi Mi 4C] Cozzmy13:
After you get a random reboot, copy and send me the contents of the /sys/fs/pstore directory.
[Xiaomi Mi 4C] flow2fly:
[MENTION=5994357]Cozzmy13[/MENTION]

Is this behavior of the ntp server in gps.conf intentional or not? If not it should be changed. Without ntp it's difficult to get a quick fix.
[Xiaomi Mi 4C] Cozzmy13:
Can someone with nougat bootloader test this kernel?

https://www.androidfilehost.com/?fid=889764386195922381

We might have discovered something that works both on lollipop and nougat bootloaders.
[Xiaomi Mi 4C] Cozzmy13:
No, it's not intentional. I think it depends on where you're located. It may work for some but not for others. GPS never worked for me.
[Xiaomi Mi 4C] hyppykeppi:
I tried this but it doesnt boot. It just hangs at boot animation.

Edit: It works. I made some mistake when flashing the first time.
[Xiaomi Mi 4C] flow2fly:
If the ntp server is replaced with a working one then it works for me.

However I have to change it with each weekly update :(

Is the gps.conf predefined by lineageos and can not be modified by device maintainers or are you allowed to change it?
[Xiaomi Mi 4C] Cozzmy13:
I'm allowed to change it. Just don't know how to change it so it works for everyone.
[Xiaomi Mi 4C] flow2fly:
I suggest we could begin with setting the ntp server to

pool.ntp.org suboptimal but should at least give some result.

So changing the line

#NTP server
NTP_SERVER=pool.ntp.org

Another option is to set the pools for each continent.

But I don't know if it's good to have many ntp servers here. Will probably increase network traffic and not necessarily yield the optimum synchronization.

We can also check how manufacturers are handling this. For example in Nexus or Galaxy devices. Maybe each local firmware comes with different ntp servers.

Further research and discussion is necessary but having pool.ntp.org is at least better then the current broken solution in my opinion. Maybe it's even "good enough". We need some testers on different continents.
[Xiaomi Mi 4C] G59:
So fastergps does not work anymore?

https://play.google.com/store/apps/details?id=org.fastergps
[Xiaomi Mi 4C] flow2fly:
Even if it works, the default shouldn't be broken. Not everyone wants to tinker around and spend a lot of time fixing stuff.

I don't say that's me but I know many people.

So having a non existent ntp server as the default is not a good idea.

---------- Post added at 02:37 PM ---------- Previous post was at 02:07 PM ----------

I tried the app and it doesn't work. Probably due to Android 7 architecture.
[Xiaomi Mi 4C] Cozzmy13:
I think I might have fixed this in this commit https://github.com/LineageOS/androi...mmit/e0022daa149754636cc5cfa04b82208c5fbf5e99 .

You should test the next release.
[Xiaomi Mi 4C] h4waii:
Yep, saw the commit. Will apply once next nightly is built and advise.
[Xiaomi Mi 4C] schnelle:
Did someone try this? https://www.xda-developers.com/google-camera-hdr-ported/

Does it work?

Gesendet von meinem Mi-4c mit Tapatalk
[Xiaomi Mi 4C] Ydraulikos:
The 6P version yes, but only if you enable HAL3 (which rotates the viewport). Can't we just mount the camera 180 degrees? :confused:

=== EDIT ===

zero-effort shots taken using Google Camera with HDR+ enabled. I only rotated the photos with Snapseed (no further processing involved).

https://ibb.co/mqJKCF

https://ibb.co/gYaMRa

https://ibb.co/nf5uev

https://ibb.co/eXtEev

https://ibb.co/mNtmsF

https://ibb.co/cjLSzv
[Xiaomi Mi 4C] Shadee13:
I just upgraded from one of the last Unofficial builds from May to the latest Nightly.

I must say, wow, it's incredible what you've done in the past few months Cozzmy, keep up the amazing work!
[Xiaomi Mi 4C] HarryCustom:
Hi, I've done all the operations of the first post, but the device now is bricked.

I can access Fastboot and TWRP, but when I try to reboot to system I see the Mi Icon for half an hour.

Could you please give me some advice to recover the phone.

I was on Lollipop... I also tried to unlock the device but Xioami website when I login takes me to a strange Chinese pag, I think the forum and I can't do nothing. Maybe is it not anymore possible to unlock the phone?
[Xiaomi Mi 4C] Yossarrian:
Temperatures and big cores

Hi,

firstly thx for a great magnificent and smooth ROM :good:

I'd like to clarify few things though ... big cores are OFFLINE when CPU temp is above 41° at this ROM? ...

If so...well.. my mobile never uses its potential because to be honest the CPU gets to 41° very quickly and therefore the big cores are not used. I've seen a different thread on XDA (I can look up for it if you wish) where some developer was providing script where he gradually changed the temp and related MHz for big cores (the higher temp the lower MHz for big cores...gradually to OFFLINE) which makes sense to me.

Are you actualy thinking of implementing such a behaviour to your ROM or is there any easy way how to change it?

Thank you very much.

Best Regards

L.
[Xiaomi Mi 4C] Cozzmy13:
-- moved --
[Xiaomi Mi 4C] Cozzmy13:
Human readable changelog for today's incoming build.

* Nougat bootloader support!

(you don't need to flash anything else, the build on the Lineage website will boot on both on lollipop and nougat bootloaders!)

* encryption support!

* (probably) fixed the empty WiFi MAC issue

^ fixed in today's build, but you need the 8.5.1.0 firmware from first post
[Xiaomi Mi 4C] Arefoe:
Wow, great news. Thanks for your hardwork sir.
[Xiaomi Mi 4C] tukino:
hey, thanks for your work. Where is the built file to download :angel::angel: ?

only can find the Official LOS build on their website (from 10/08).

Thanks in advance,
[Xiaomi Mi 4C] LVroon:
Check lineageoslog.com

Mi4c is still in queue for building
[Xiaomi Mi 4C] tukino:
Maybe the OP has built himself the rom and uploaded somewhere else and we don't have to wait for official build. Just questioning..
[Xiaomi Mi 4C] Cozzmy13:
Nope. Wait for the official build to finish. That's why I said that the build is "incoming".
[Xiaomi Mi 4C] HarryCustom:
Finally I've installed the rom, but no app (chronus or others) can identify the position both on GPS actived or not. Any advice?

I've also try the Lineage nightly it is the same...
[Xiaomi Mi 4C] tukino:
you have to wait because the available version from the lineageOS is old, new version is still in queue to be built (build server is really slow :D)

---------- Post added at 03:50 PM ---------- Previous post was at 03:44 PM ----------

Cozzmy, is GPS working on the latest version ?
[Xiaomi Mi 4C] Cozzmy13:
I have no idea, the GPS never worked for me (probably a hardware problem?).
[Xiaomi Mi 4C] tukino:
You mean on every ROM (AICP, RR , MIUI) that GPS never worked for you ?

Thanks
[Xiaomi Mi 4C] Cozzmy13:
Yes, it never worked for me on any ROM.
[Xiaomi Mi 4C] flow2fly:
GPS is working very well if gps.conf is updated with a working ntp server. See Screenshot above.
[Xiaomi Mi 4C] Cozzmy13:
I already tested the ntp server you suggested and no dice. Mine must be broken from the factory.

I investigated how to set custom NTP servers for each continent and it's not possible, but it is for each country (mcc). The NTP server we have now is from the MIUI gps.conf, but they might be using the contry-specific NTP servers if it works on MIUI.
[Xiaomi Mi 4C] trtlja:
It worked on any ROM for me:)
[Xiaomi Mi 4C] tukino:
Rom is on the oven :D
[Xiaomi Mi 4C] flow2fly:
You have different layers

See http://www.pool.ntp.org/en/use.html

You can use continental zones like

europe.pool.ntp.org of course you can also go down to a country level but pool.ntp.org should be fine as they say:

"Looking up pool.ntp.org (or 0.pool.ntp.org, 1.pool.ntp.org, etc) will usually return IP addresses for servers in or close to your country. For most users this will give the best results."

So why don't we try it.

BTW really nice that the lock screen is showing the rapid charging now!
[Xiaomi Mi 4C] flow2fly:
I have a problem with the new weekly, it sometimes gets stuck when opening a folder in the launcher and doesn't go back to the home screen. Probably this bug is not device specific so I think we just need to wait for the next weekly build for a fix.
[Xiaomi Mi 4C] Cozzmy13:
This happens in Trebuchet, right?

Maybe try wiping its data/cache.
[Xiaomi Mi 4C] caothuv:
Thanks you ! You are perfect !
[Xiaomi Mi 4C] flow2fly:
The deleting of the Trebuchet app data seems to have solved the issue so far.
[Xiaomi Mi 4C] genghz233:
Could yoy please add network traffic to your lestest lineage os 14.1，I will be very grateful.谢谢
[Xiaomi Mi 4C] celrau:
Hi, I enabled camera2 API with persist.camera.HAL3.enabled=1 in build.prop and while I can shoot raw (as I wanted) the displayed image in camera apps is now upside down. I found some instructions how to fix this for Mi 5 here but I couldn't find the equivalent file in this rom. Any help Cozzmy13, please?
[Xiaomi Mi 4C] Cozzmy13:
Camera2 API is buggy so I don't intend to support it and no you can't solve the flipped camera by editing files, a special kernel change is needed.
[Xiaomi Mi 4C] agileart:
How to Get Back.

I tried this method and succesfully install LOS14 in my Xiaomi MI4s. Thanks a lot Sir.

But i get a problem to get back to MIUI. when i tried to flash Custom ROM from xiaomi eu via TWRP superluminal, i get this line :

This package is for "aqua" devices; this is a "Libra".

Updater process ended with error: 7

Please let me know what i miss and need solution for this.
[Xiaomi Mi 4C] Cozzmy13:
Flash a Mi4s recovery.
[Xiaomi Mi 4C] celrau:
I understand. I found the kernel source (is it the right one?) and I'm planning to try to do the necessary changes and build it myself. I used to build kernels for Linux but that was some time ago, is there a guide or something you would recommend? Thanks.
[Xiaomi Mi 4C] Cozzmy13:
Use the source on https://github.com/LineageOS/android_kernel_xiaomi_msm8992 since I don't ever push changes that aren't ready there so you won't run into issues.

I haven't tried but changing the mounting angle of the back camera should work.

https://github.com/LineageOS/androi...m/boot/dts/qcom/libra/common-camera.dtsi#L307

https://github.com/LineageOS/androi...m/boot/dts/qcom/libra/common-camera.dtsi#L356

Try to replace 90 with 270, that should flip it both ways.

I can't make a guide right now, but try to follow this guide by kumajaya, but only the how to build part.

https://xdaforums.com/mi-4c/development/incomplete-how-to-reconstruct-mi-4c-t3304608
[Xiaomi Mi 4C] celrau:
Thanks a lot.
[Xiaomi Mi 4C] Cozzmy13:
No problem.
[Xiaomi Mi 4C] ViTAMiNCHEG:
On the latest build gps lock is much faster.
[Xiaomi Mi 4C] G59:
What about SOT and standby life time on latest build?

Currently I am on 11.06 build by HnT, and average SOT is 4.5 hrs.

I had a pretty tough week and almost didnt use my phone, stand by time was 6 days with 2hrs of SOT.
[Xiaomi Mi 4C] Cozzmy13:
I don't think I did anything to it.
[Xiaomi Mi 4C] Cozzmy13:
I get ~6-7h SOT in 24h. But that's on Wi-Fi only, browsing internet and watching videos. Hikari uses my kernel anyway afaik.
[Xiaomi Mi 4C] celrau:
It took me a while but I got the image built following that guide, the thing is I'm getting 2 images: Image and Image-dtb, which one is the "good" one? So far after assembling the boot.img none worked.
[Xiaomi Mi 4C] Cozzmy13:
Image-dtb should work as the kernel. It's the one we are using on official builds.

You need to repackage it with a ramdisk.
[Xiaomi Mi 4C] VVMM:
I have been on Ressurection Remix Official until I found that Lineage is also now official. Can I dirty flash over RR?
[Xiaomi Mi 4C] Cozzmy13:
No. You need to clean flash.
[Xiaomi Mi 4C] celrau:
Changing the mount-angle parameter makes no difference, there must be some other trick but I don't know enough to investigate.
[Xiaomi Mi 4C] Cozzmy13:
Are you sure that you've done everything correctly? Maybe you repackaged with the default kernel accidentally. Check kernel version in about phone. Your username and hostname should show there.

If that didn't work then the mount angle might be hard coded in the closed source binaries.
[Xiaomi Mi 4C] celrau:
Just checked and it's my build. This device has a good camera sensor though, I shut some raw (dng) images with camera2 and they were really good. Thanks for helping me though.
[Xiaomi Mi 4C] celrau:
I had the same problem which seems to be mechanical not software and the fix described HERE actually works, I get my location in less then a minute. It's basically some oxidized contacts which need to be cleaned.
[Xiaomi Mi 4C] Jesus Krist:
GPS is working fine. Bug i found Is accidental wakeup or how its named this in eng. When i cover the upper sensors next to front camera and press the power button the phone starts normaly. In miui you get warning you are covering this and press the combination to unlock. How it may work? Thank you for updates!

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] celrau:
Is this related to Prevent accidental wake-up? On AICP there is a checkbox for it (I'm not on LAOS right now). If it is enabled and you cover the proximity sensor you can't wake up the phone with the power button, that's normal behavior.
[Xiaomi Mi 4C] Jesus Krist:
There is checkbox too and it seems to not work correctly

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] morcibacsi:
Hi, I tried to install the latest nightly from lineageos.org but got stuck at the bootlogo (blue half-circle with the animation). I waited like 10 minutes, but nothing happened.

What I did:

- rebooted to twrp, did a factory reset from the Wipe menu

- updated the twrp from the recommended page (twrp-20170817-0823.img).

- installed lineage-14.1-20170816-nightly-libra-signed.zip from twrp

- installed open_gapps-arm64-7.1-pico-20170822.zip from twrp

- rebooted the phone

However I forgot to install the firmware file :(

Previously I had cm-13.0-20161107-NIGHTLY-libra.zip which worked fine. (I reverted to this after the failed attempt).

Does the firmware necessary to have it working? What does the firmware zip contains? If I install the firmware file can I revert to CM13 if something goes wrong with lineage?

EDIT:

I took a deep breath, and installed the firmware file too and the phone started to work. So it seems that it is needed. The mentioned animation took like 2-3 minutes after I've installed the firmware.
[Xiaomi Mi 4C] marcobuu:
+1 :D
[Xiaomi Mi 4C] Cozzmy13:
I don't add features.
[Xiaomi Mi 4C] bartleby_06:
How can i go back to the original boot.img? I mean overwrite yours.

I would like trying something in CM13 but when I remove root it says that my boot img is modified and the root is not removed completely.

Thanks.

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] slimdick:
Flash original boot.img in fastboot mode

"fastboot flash boot boot.img"
[Xiaomi Mi 4C] bartleby_06:
Where can I download it? I don't have it.

Thanks for the answer.

Enviado desde mi iPhone utilizando Tapatalk
[Xiaomi Mi 4C] slimdick:
Do not have any rom fastboot on disk?

Download from http://en.miui.com/download.html and expand with winrar or 7zip.
[Xiaomi Mi 4C] bartleby_06:
I got one.

Thank you very much!

Enviado desde mi iPhone utilizando Tapatalk
[Xiaomi Mi 4C] marcobuu:
too bad :(
[Xiaomi Mi 4C] dlaidxx1314:
Will Android O adapt when?
[Xiaomi Mi 4C] slimdick:
Tomorrow at 17:43
[Xiaomi Mi 4C] dlaidxx1314:
Thanks, where can I get updates?
[Xiaomi Mi 4C] trtlja:
Any response for vibrate on answer :( ?
[Xiaomi Mi 4C] Phlogistol:
Jesus Christ, hold your horses. The code hasn't been out for a week yet.

Cozzmy is an awesome developer, we don't want to lose him, so don't bloody rush him.
[Xiaomi Mi 4C] dlaidxx1314:
Sorry, I see. thank you：○
[Xiaomi Mi 4C] waingro808:
when LineageOS updates to O...
[Xiaomi Mi 4C] flow2fly:
Lol, funny :laugh:

Guys, this thread is about 14.1 so please no off topic discussion about Android O in here!
[Xiaomi Mi 4C] Cozzmy13:
But we could plug some LineageOS 15.0 hype here. xD

Status: got it to boot, but a Bluetooth crash is preventing me from doing anything on it. I've thought of a solution and I'll implement it when I have time, in about 3 days.

Expected not to immediately work:

Camera, sensors, GPS.

Sensors could be an easy fix but our proprietary HALs are a bit old so we'll see.

Same with Camera because we don't have API2.

GPS will probably work if we kang bullhead.
[Xiaomi Mi 4C] slimdick:
[MENTION=5994357]Cozzmy13[/MENTION]

For Mi3 and Mi4 went pretty fast and it looks like she's got everything AOSP 8.0 for Xiaomi Mi3 and Mi4 [Cancro]

Good luck with MI4C.
[Xiaomi Mi 4C] Cozzmy13:
Taking into account that this is my first real bringup, it will take some time xD

At least one week to get everything working. It will be easier once Lineage start merging stuff.