yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] celrau:
upgrade twrp
[Xiaomi Mi 4C] rianawirawan:
Right now, i'm using 3.1.1 -1 btw

It's latest twrp ver from official
[Xiaomi Mi 4C] cacafaruq:
This ROM is running smoothly on my device guys :angel:
[Xiaomi Mi 4C] celrau:
There is a 3.2.x around. If you don't want to bother go in the zip, /META-INF/com/google/android/ and delete the first lines (the ones starting with "assert") from updater-script, save and flash again.
[Xiaomi Mi 4C] rianawirawan:
I did it, but still error 7 :(
[Xiaomi Mi 4C] cacafaruq:
Flash this file after you flash the ROM, and don't forget to flash the Gapps
[Xiaomi Mi 4C] rianawirawan:
"Flash this file after flash the ROM" ?? U mean flash "this file" before flash the ROM, right ? :confused:

Because when i'm flashing the ROM, it said error 7.

Or I must update twrp using Vovan77's twrp ??
[Xiaomi Mi 4C] celrau:
On the contrary, forget about gapps. Why promote spyware when there's a lot of good open source software for all practical purposes? Unless there is a particular need for some google app because of job or something . F..k gapps. Besides, a lot of people complain about very good roms 'because they didn't know better and flashed gapps right away.
[Xiaomi Mi 4C] bnesic:
^ true :svetius:
[Xiaomi Mi 4C] rianawirawan:
Finally, the one and only is update twrp from Vovan77's twrp. Thank you. :)
[Xiaomi Mi 4C] rianawirawan:
This
[Xiaomi Mi 4C] rianawirawan:
First day, this Pie is better than Oreo build. Thank you so much. Feels snappy and very good for daily driver.
[Xiaomi Mi 4C] arturkin:
How it's doing after a week of usage? Can you recommend it for 7.1 replacement?
[Xiaomi Mi 4C] cobraplayer:
Does it work with lollipop bootloader?
[Xiaomi Mi 4C] dpatrongomez:
Hi, can you upload the files?
[Xiaomi Mi 4C] lolailogd:
to [MENTION=9635581]WJXXBSH[/MENTION]

I am with LineageOS 16 Unofficial (android v9.0) (2019-08-22) by WJXXBSH https://androidfilehost.com/?w=files&flid=289411

also Firmware v9510 , BiTGApps arm64 v9.0.0 v8.0 Signed , Magisk root

-The phone on the charging is very hot (very very hot)

-Sometimes the lamp (flashlight) is out of service. Only when i want to use as lamp.... photo flash is ok
[Xiaomi Mi 4C] WJXXBSH:
For the first problem, me too. Because CPU hotplug is currently unsupported with the EAS scheduler (if any core is offlline, it will never online again), it's unavailable to make some of the cores offline when the temperature is higher. So all six cores are online at any time, the frequency is the only thing to change, no matter charging or not.

For the second problem, I opened the flashlight for minutes, but it always works. You should check if there are background apps that using your camera secretly. If the phone is too hot, the flashlight may also be disabled.
[Xiaomi Mi 4C] lolailogd:
thanks for reply. Of all the ROMs Pie that I have tried this is the one that best for my device... so it is the one that I will definitely use :good:

hopefully there are android 10
[Xiaomi Mi 4C] Aray21:
thanks a lot for the review.

May have you provide me links for those three?

Because what I found is the link all dead.

thank you anyway

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

may have you send me the firmware?

sorry but I cant find it anywhere, either the link is dead or full packet with miui

thanks in advance
[Xiaomi Mi 4C] SalCelli:
Here, i uploaded a zip with all three files inside. Hope it helps.

https://drive.google.com/open?id=1WONKcsVI2v81i9RxapLyaDaOYybxPE74
[Xiaomi Mi 4C] Aray21:
Sure it will help me a lot

Thank you so much
[Xiaomi Mi 4C] SalCelli:
I will delete the file tomorrow.
[Xiaomi Mi 4C] 00002972:
No circular battery icon

Thanks a lot:good::o. I just wonder why there is no classic LOS/CM circular battery icon on status bar? I can only find setting for showing battery percentage. If the setting for battery icon is deleted, is there any other app (I don't want a launcher) or Xposed module can offer circular battery icon?
[Xiaomi Mi 4C] rojobrono:
just use other kenga rom, it's pixel experience > install 2 magisk modules 1st riru core, 2nd riru edxposed (there 2 version i use yahfa ) > install xposed module gravity box

based on my experience , Gravity Box isn't suitable for LOS

---------- Post added at 06:53 PM ---------- Previous post was at 06:49 PM ----------

here the rom : https://androidfilehost.com/?fid=1395089523397924485
[Xiaomi Mi 4C] karven:
unable to install

rom dont boot :| , already tried install twrp 3.3 to fix the problem but the recovery itself wont boot, had to revert for 3.1 using fastboot. Does someone have a mirror for libra_miui_fw_patch_MI4c_V9.5.1.0.NXKCNFA.zip?

Edit: Forgot to read last replies, ty anyway
[Xiaomi Mi 4C] corwinux:
sourceforge.net/projects/xiaomi-firmware-updater/files/Stable/V9/China/libra/

androidfilehost.com/?fid=673956719939834323
[Xiaomi Mi 4C] cacafaruq:
https://sourceforge.net/projects/havoc-os/files/libra/Havoc-OS-v3.0-20191215-libra-Official.zip/download

Guyys... We have new updates for libraa yeaah
[Xiaomi Mi 4C] mallorca:
Tried and works fine. Haven't tried calling, however...
[Xiaomi Mi 4C] mr-mauro:
I didn't try it yet, I'll clean install it :)

I imagine it is android 9 right? Thanks!
[Xiaomi Mi 4C] mallorca:
No, it is actually Android Q!
[Xiaomi Mi 4C] mr-mauro:
Wowww!!! This phone has 7 lives :)
[Xiaomi Mi 4C] corwinux:
Mokee also provides Android 9 and 10 for our phone.

download.mokeedev.com/libra
[Xiaomi Mi 4C] despeh:
yes..Finally!! i am able to resurrect the phone to use the latest android 10 on mi4c (libra).

I tried a full day and at the end manage to get it work, but it takes some trial on error and the prerequisite is to have the phone bootloader unlock using the mi unlock official software. The downgrade to 6.1.7 with unlock bootloader wont work for me. The phone will stuck at mi logo after you load the TWRP 3.1.1.1. The reason is it can only work on twrp 3.1.1.0 due to boot loader is android 5.1(lollipop) and twrp 3.1.1.1 only work for android 7(nougat). Look back the thread from slimdick 31st August 2017, 05:26 PM |#123. (https://xdaforums.com/mi-4c/development/libra-twrp-3-0-t3315059/page13)

besides, If read through the history of the thread here, files from vovan77 has locked from the androidfile website so cant get all the necessary files to flash to android 10. (Yossarrian

10th January 2019, 09:18 PM |#63 , this thread )

my way to make it work,

1. flash back the mi4c back to MIUI latest version V10.1.1.0.NXKCNFI (https://mifirm.net/model/libra.ttt) using the fastboot method.

2. unlock the bootloader by going to the developer setting. it will ask for mi account to link to the phone. For me, i ran the mi unlock app and i can successfully unlock the bootloader without and waiting period. it unlock instantly!

the version that i used is miflash_unlock-en-3.4.703.18, not sure why but probably due to the model itself is old.

3.once the bootloader is successfully unlock, boot back to the fastboot mode and start to flash the TWRP.

4. The twrp version that i used is 3.3.0.0 ( https://androidfilehost.com/?fid=1395089523397945946)

5. Once TWRP flashed successfully, boot to the twrp 3.3.0.0 and start to perform full WIPE, that mean everything. It will ask you to type YES.

6. Once done. Reboot the phone and back to TWRP recovery.

7. Now side load the rom that you want to install, my case i am using the havoc 3.1 from kyoto44. Full Credits to him and the team behind Havoc OS. (https://sourceforge.net/projects/havoc-os/files/libra/) .

8. For Gapps , i am using unofficial android 10 beta version. You can get it from this link. ( https://sourceforge.net/projects/opengapps/files/arm64/beta/20200116/)

9. Both rom and gapps installation didnt give me any error. Once done boot back to system. and voila, your have the android 10 on Mi4c.

Hope you all will have the same result and good luck. :)

,,,,
[Xiaomi Mi 4C] Tufir_Hawat:
Many thanks despeh for describing your method, followed it and managed to install the latest Havoc OS version, nevertheless I have run across an issue that I was wondering if anyone might have a solution. After I did the installation, the phone recognised my sim cards by the original number they had, not by the current ones that were changed by transferring them from another providers and I did manage toget mobile signal with any of them. Tried the sim cards in another old phone and and they work, and as I need the phone working for tomorrow, went back to latest MIUI 10 stable version from XIAOMI.EU for libra (10.1) and they are working fine, am I missing something that neds to get done?
[Xiaomi Mi 4C] kdk_warhead:
GPS do not work with Havoc-OS?

I followed despeh instructions #199 but I used the latest files. I went from cm-13.1-20161231-TS-libra.zip to havoc-os 3.2 with the following files (clean flash):

Firmware: V10.1.1.0.NXKCNFI

TWRP: 3.3.0.0

ROM: Havoc-OS-v3.2-20200208-libra-Official.zip (newer version than the instruction)

Gapps: open_gapps-arm64-10.0-nano-20200212.zip (newer version than the instruction)

It’s nice upgrade but the following don’t work:

GPS (GPS Test app: “The GNSS is receiver is turned off”, GPS status app “GPS: disabled)

Included keyboard crash when swiping (booth Swedish and English).

Call recording don’t work (because of android 9/10 don’t allow it).

Screen seems dimmer even when set to full. (might be my imagination)

(I checked that there are no battery saving activated and a full battery)

Swiftkey works so the crashing keyboard is not a problem but GPS not working is a deal breaker.

I then did a dirty flash with Havoc-OS-v3.1-20200121-libra-Official.zip (same as instruction) with the same result. I can’t find open beta gaps 20200116 for android 10.

What to do? I would like to run android 10 but if the GSP don’t work then I have to try Lineage 15.1 instead.
[Xiaomi Mi 4C] despeh:
No idea on this as i am not expert on custom rom. Probably can drop a msg to kyoto44 and check if he can advise on this. he is the PIC of havoc dev for mi4c.
[Xiaomi Mi 4C] kdk_warhead:
I might do that. Is the GPS working for you?:confused:
[Xiaomi Mi 4C] despeh:
same. The gps not working.
[Xiaomi Mi 4C] corwinux:
--------- mistake
[Xiaomi Mi 4C] godbenu:
The link to the libra_miui_fw_patch_MI4c_V9.5.1.0.NXKCNFA.zip seems to be outdated. Can anyone provide the file or does this manual also work with the following file, I found: libra_images_V10.1.1.0.NXKCNFI_20181009.0000.00_7.0_cn_24e34e7e33.tgz

Thanks a lot.
[Xiaomi Mi 4C] ThePeKo:
You can find the Firmware Versions here:

https://xiaomifirmwareupdater.com/archive/firmware/libra/

but libra_miui_fw_patch_MI4c_V9.5.1.0.NXKCNFA.zip seems not available.

Earliest is V9.5.2.0.NXKCNFA

Ah i found some fastboot version, but it's the whole ROM:

http://bigota.d.miui.com/V9.5.1.0.NXKCNFA/miui_MI4c_V9.5.1.0.NXKCNFA_e805b31b81_7.0.zip

Here: https://xiaomifirmwareupdater.com/archive/miui/libra/
[Xiaomi Mi 4C] Schmith:
Hy all,please help-me with my Mi 4c,now work only with FASTBOOT.

I can't install twrp anymore.

Help me please!
[Xiaomi Mi 4C] Gourcuff14:
You locked the phone in mitools flash. Use the clean all option.
[Xiaomi Mi 4C] celrau:
no

---------- Post added at 09:11 AM ---------- Previous post was at 09:03 AM ----------

I also recommend AEX 6 by Vovan77, very good rom. Just don't **** it up with gapps.
[Xiaomi Mi 4C] rianawirawan:
Very good for replacement from 7.1

Before, i'm using 7.1 and 8.1

And i think it's very stable.

The only one problem is sometimes process system isn't responding. But u can fix with clear dalvik and cache
[Xiaomi Mi 4C] boomblebee:
how to disable the phisycal button and enable in screen navigation gesture? i can;t find it on Button menu
[Xiaomi Mi 4C] prazola:
It drain battery really fast on my mi4c 3gb.
[Xiaomi Mi 4C] cacafaruq:
My device has 2gb ram bro,

And battery really good for me, than 8.1 ROM
[Xiaomi Mi 4C] rianawirawan:
Yeah me too. It's better than 8.1 IMO
[Xiaomi Mi 4C] chelsea_fc:
Anyone tried on aqua? Does fingerprint works?
[Xiaomi Mi 4C] cacafaruq:
Any PIE ROM

This another pie ROM by Vovan77

https://androidfilehost.com/?fid=11410963190603859857
[Xiaomi Mi 4C] cacafaruq:
AEX 6 is very good rom, but i have problem, i can't capture with front camera.. how to solve this problem?
[Xiaomi Mi 4C] Mzihsan:
What's wrong if you use gapps?

---

Also another question, is this rom rooted? Thanks
[Xiaomi Mi 4C] celrau:
I didn't check if the rom was rooted before I rooted it myself but I don't think so.

Regarding gapps, several issues. A lot of people complain about perfectly good roms after installing gapps which means that there are some incompatibilities. There are custom roms with gapps included and the developers take care of whatever issues arise. On the other hand (I'm repeating myself here) unless one has particular needs for any apps within gapps, there are lots of open source really good apps to satisfy most needs. Google apps could be a good thing if they were open source and didn't track all your activities like crazy, to the point where you are not the user anymore but the product.
[Xiaomi Mi 4C] Mzihsan:
---------- Post added at 09:11 AM ---------- Previous post was at 09:03 AM ----------

Well since magisk now supports android pie that's not a big problem i guess

Ah i see, it can create a problem on certain rom, in my experience mostly is fine though. Still it's back to the personal preference and needs. Btw thanks for the explanation
[Xiaomi Mi 4C] Alcoholicc:
No, you should root it with Magisk or SU by yourself as soon as you flash it.

I've used this room for more than two weeks,it is really a good rom.
[Xiaomi Mi 4C] CreateYourDream:
link for twrp? are compitable for nougat bootloader?
[Xiaomi Mi 4C] rianawirawan:
Type Vovan77 and find twrp on his androidfilehost
[Xiaomi Mi 4C] igaumlopes_:
Which one is better (especially for battery): LOS Pie or AEX Pie?

Thx!
[Xiaomi Mi 4C] rianawirawan:
AEX more stable, battery approximately same
[Xiaomi Mi 4C] caxwan:
Finally can enable quickstep on Aex Pie even use any launcher as default...

Just install QuickSwith from Magisk Repo, install and apply..
[Xiaomi Mi 4C] jonilaskar15:
i have try flash twrp by vovan77 but dtb not found.. why ? thanks.

---------- Post added at 09:04 AM ---------- Previous post was at 08:29 AM ----------

How to update twrp to vovan77 twrp ? thx.
[Xiaomi Mi 4C] rianawirawan:
In my case, before using twrp from vovan77, i'm using 3.1.1-1 official. I can't flash this ROM (it said error 7)

Update from twrp, (wipe dalvick + cache 1st), select image, choose twrp from vovan77 (twrp 3.2.3-0 CMIIW), Then reboot to recovery. It will be 3.2.3-0 version.

---------- Post added at 03:13 PM ---------- Previous post was at 03:12 PM ----------

Nice info for AEX.
[Xiaomi Mi 4C] jonilaskar15:
I hvae try but i can't boot to recovery after update the twrp..
[Xiaomi Mi 4C] rianawirawan:
Really ?

2/16 or 3/32 ?

Mine is fine. Nothing wrong.
[Xiaomi Mi 4C] jonilaskar15:
Ya 2/16.. i can use twrp 3.0.2 only on my phone..
[Xiaomi Mi 4C] rianawirawan:
Can't u update via twrp official ? The last from official is 3.1.1-1. Cmiiw
[Xiaomi Mi 4C] edu27:
I have the same problem. Right now I'm using 3.1.1-0 on lollipop bootloader. If I update to a 3.2 recovery version I can't boot to it.
[Xiaomi Mi 4C] asphalt73:
I hope to fix the function of livedisplay. I have a pain in my eyes at night. Thank you! This rom is very smooth!:good:
[Xiaomi Mi 4C] matskr:
The new version of LineageOS 16.0 has been released: https://androidfilehost.com/?fid=11410963190603889118 :)
[Xiaomi Mi 4C] rianawirawan:
How about the problem ?

Is it good ? Is TRUST disable after magisk installed ?

Random error like 1st build ?
[Xiaomi Mi 4C] jones321:
Did you find a fix?

I never had so much trouble getting TWRP to work :(

I did the same upgrade to new TWRP and PIE with a Redmi 4 Prime (Markw) and it took me 5 min to succeed. But when I tried with updating TWRP on my Mi4C (Libre) it would not boot into new TWRP. I have spend hours with no luck. I tried several offical and non-official versions of TWRP for Libre. They all show success when flashing TWRP both from within TWRP and with adb/fastboot. But then won't boot to recovery, but hangs at Mi logo. I originally came from twrp cofface from Teamsuperluminal, which I believe was around version 2.8.

I tried flashing all newest officiel from AndropaX (twrp-3.1.1-1-libra.img, twrp-3.1.1-0-libra.img)

then from other developers and lastly:

twrp-3.2.1-0.img (Vovan77)

TWRP+3.2.3-0_libra.img (Vovan77)

TWRP+3.2.2-0_libra.img (Vovan77)

As mentioned all succeeded with no errors, but then would not boot. However from fastboot/adb I could flash, but not run fastboot boot <img file name>. It would give me the error: FAILED (remote: dtb not found).

I did manage to get TWRP 3.1.0.0 (twrp-20170815-0837.img from Cozzmy13) to boot with no issues, but when inside TWRP it gave me error 7 when flashing. I then tried to remove the first lines starting with assert from the custom rom and TWRP was then able to flash the ROM with no errors. However now the ROM did not boot :( Tried with both PixelExperience_libra-8.1.0-20180825-0823-STABLE & lineage-16.0-20190102-UNOFFICIAL-libra)

I checked my bootloader and it is not locked and I was still able to restore my nandroid with TWRP 3.1.0.0.

Really want to upgrade to PIE and don't want to give up. Hope someone found the fix.

At the moment my last guess is that I new to update my bootloader somehow - indicating from the errors I received. I believe the current was marshmellow. To do this I need to flash latest miui? Meanwhile I'll try to flash xiaomi.eu_multi_MI4c_V10.1.1.0.NXKCNFI_v10-7.0.zip and see if it updates the bootloader.
[Xiaomi Mi 4C] edu27:
Unfortunately no, I don't found a fix for it. I'm staying with Oreo for now.

I don't want to update to MIUI just to only update the bootloader and have to unlock it again. That's it the last option.
[Xiaomi Mi 4C] aurano:
try with magisk?

en.miui( dot )com/forum.php?mod=viewthread&tid=3111433
[Xiaomi Mi 4C] edu27:
Seems a good option. Have you tried this method?
[Xiaomi Mi 4C] aurano:
Yes, when installing magisk, you will see 'detect stock boot image...' log etc..

I installed twrp to miui 10 , without magisk it won't boot. When i changed this rom, no need magisk to boot, maybe 'Magisk already patch the boot image '

("dt2w" "network traffic" not working in this rom)

I had installed Oreo rom on Lollipop bootloader with this method. "twrp-20180106-1033.img" has touch screen freeze bug for me. Need to wait about 5mins and then, it work normally.
[Xiaomi Mi 4C] rianawirawan:
Link for xiaomi.eu_multi_MI4c_V10.1.1.0.NXKCNFI_v10-7.0.zip ?
[Xiaomi Mi 4C] prazola:
Short rewiev:

- The rom is smooth, but to get a smooth UI the GPU is forced to idle at 300MHz instead of 180Mhz = more battery drain

- Deep sleep not used = more battery drain

- Notification sometimes working and sometimes not

- Slow SIM activation
[Xiaomi Mi 4C] Yossarrian:
Hey guys,

I have 100% the same issue as jones321 has. I'm not able to flash any Pie ROM and most of the OREO Roms to mi4c. I have unlocked bootloader (old method - lollipop) an using 3.1.1.0 TWRP an [OFFICIAL][7.1.2] LineageOS 14.1 for libra/aqua ROM. I suspect that I have to install official miui Nougat ROM and ask to unlock bootloader again with official method... I tried several times & with several Miui 10/9 stable roms but I could not add my verified XIAOMI account to Unlock OEM Status via Developer setting with various errors : 90001 Cant add error or Try again later error. So it seems I'm stuck unless someone explain to me why it is not possible to flash PIE or most OREO ROMS (all with error 7 or after deleting assert lines in updater-script with infinite bootloop).

My questions are:

- do we need to unlock nougat 7 bootloader official way to use OREO/PIE Roms?

- or we just need proper boot img/kernel to be flashed before trying to install OREO/PIE Roms?

If someone knows the answer, please let us know. It would be greatly appreciated.
[Xiaomi Mi 4C] rianawirawan:
IMO, yes. I'm using official unlock bootloader and then flash with official twrp. In pie rom, u can't using official twrp because it's old ver (3.1.1-1).

After that, i flashed new twrp from vovan77 (3.2.3.0). It worked well.

I don't understand about old method lollipop ? What is it ?
[Xiaomi Mi 4C] Yossarrian:
OK. I thought you had to have unlocked nougat official way...because you managed to install the new 3.2.3.0 TWRP and we can not. I unlocked the bootloader the old way without official xiaomi unlocking service back in 2015. You just had to flash some of the old official Lollipop ROMS ...after that you could unlock bootloader via fastboot command

I t seems that Nougat / 7.0, the bootloader is locked again, with a different bit. The lock bit used up to 5.1 can be unlocked via downgrading to 6.1.7, but the lock bit used since 7.0 can only be unlocked via the official Mi Unlock procedure.

My question is if there is any way how to install Kengas PIE ROM or any other PIE ROM without officially unlocked Nougat / 7.0, the bootloader???

I was able to install Nitrogen OS Oreo 8.1 ROM which seems to be somehow compatible with [OFFICIAL][7.1.2] LineageOS 14.1 for libra/aqua. Other OREO Roms does not work for me unfortunately (bootloop)
[Xiaomi Mi 4C] rianawirawan:
How about unlock bootloader again (official) ?

Are you already try ?
[Xiaomi Mi 4C] Yossarrian:
I wish...I've tried several times & with several Miui 10/9 stable roms but I simply could not add my verified XIAOMI account to Unlock OEM Status via Developer setting with various errors :

90001 Cant add error or

Try again later error.

So it seems I'm stuck unless someone explain to me how to flash PIE ROM with unlocked bootloader (unofficial) and TWRP 3.1.1.0

If there someone who is able to flash PIE under above mentioned condidtion...please share your experience.

Thanks.
[Xiaomi Mi 4C] jones321:
https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv10/
[Xiaomi Mi 4C] rianawirawan:
Thankyou
[Xiaomi Mi 4C] Yossarrian:
Ok I've just managed to get PIE working on mi4c. Here are the steps for those who cannnot unlock their phone officially or for those who just dont want to wait if Xiaomi allows them to unlock their Nougat 7 bootloader.

1. Unlock the bootloader the old way by using MiFlash application (phone in fastboot EDL mode) and flashing old version of miui dev china with unlocked bootloader libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz (if you already have unlocked bootloader you may skip obviously)

2. Install with fastboot universal TWRP (works on both lollipop and nougat bootloader) twrp-20180106-1033.img

3. In TWRP (without rebooting!!!) install via adb sideload in batch firmware patch libra_miui_fw_patch_MI4c_V9.5.1.0.NXKCNFA.zip, install ROM RR-O-v6.1.0-20180627-libra-Unofficial.zip, Gapps (in this case PixelMod_Gapps_arm64_Oreo_libra_universal_27.06.18.zip) and finally Magisk-latest_version.zip

4. Restart to the system

5. After that I was able to copy twrp-3.2.1-0.img to sdcard and install this image to upgrade TWRP (This way you can upgrade also to TWRP+3.2.3-0_libra.img)

After this you have a locked bootloader but it is working with latest TWRP and you can install PIE ROMs and updates, but always remember to install Magisk !!!​

All files mentioned except the the dev ROM are accessible at Vovan77 https://androidfilehost.com/?w=files&flid=256671

Unlocked dev ROM can be found here: https://xdaforums.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779

All credits goes to Vovan77 and his work...thanks mate for updating mi4c for PIE...much appreciated!!!

original thread found here: http://en.miui.com/thread-3111433-1-1.html

Not sure yet if the PIE is worth to upgrade but the first impression is good. And last crDroidAndroid-v5.0 was updated 2 days ago by Vovan77!
[Xiaomi Mi 4C] Gourcuff14:
Hello. I tried this rom but it was only giving me a few hours if that after a full charge. Like crdroidv5.0 linked in the above post the battery life is really poor :( pls fix

edit: unless my battery is shot, gone. I don't know I'm getting terrible battery life.

edit: I have ordered a replacement battery it looks like mine is gone. I will update here after fitting it into the phone.