Android Pie libra by @Kenga

dpatrongomez

Member
Dec 24, 2017
23
28
0
Guadalajara
dpatrongomez.es
Hi, can you upload the files?
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://forum.xda-developers.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!
 

WJXXBSH

Senior Member
Dec 22, 2018
86
56
18
to @WJXXBSH
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
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.
 
  • Like
Reactions: lolailogd

lolailogd

Member
Jun 29, 2017
14
0
0
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.
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
 

Aray21

Member
Oct 27, 2015
17
3
0
yes, pixel experience is running on Xiaomi MI 4c. It has very smooth animations, fast phone opening and closing, doesn't heat at all, battery power is ok and applications run a lot better. Before I had on lineage stable for MI 4c, but if I wanted to share a picture from a web page to instagram, I had to close all the apps in memory or the sharing bottom panel would not show up. Now, with pixel experience, this is not a problem anymore. The ROM is not official, but comparing it with an official ROM running on a Xiaomi RedMi 4x, The only two differences that I see is that the Theme App doesn't have pixel backgrounds loaded and that on black stand by screen, notifications show in with a low light. If you have the idea to load the ROM, i would remember you to install xiaomi's firmware update before the ROM, or it wouldn't load at all. These are the files I used:

twrp-3.1.1-0-libra.img
libra_miui_fw_patch_MI4c_V9.5.1.0.NXKCNFA.zip (firmware patch)
PixelExperience_libra-9.0-20190324-0524-UNOFFICIAL.zip

Thats it. No need for GApps.
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 ----------

to @WJXXBSH
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
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
 

SalCelli

Member
Jul 22, 2013
20
1
0
Frosinone
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
Here, i uploaded a zip with all three files inside. Hope it helps.
https://drive.google.com/open?id=1WONKcsVI2v81i9RxapLyaDaOYybxPE74
 
  • Like
Reactions: EpilepticMoose

00002972

Member
Jul 16, 2018
22
4
3
No circular battery icon

Here latest rom by @kenga

Give our support :highfive::good:
Thanks a lot:good::eek:. 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?
 

rojobrono

Member
Aug 7, 2018
12
1
0
Thanks a lot:good::eek:. 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?
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
 

karven

New member
Dec 21, 2010
4
0
0
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
 
Last edited:

corwinux

Member
Apr 17, 2012
13
3
0
androidfilehost.com
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
sourceforge.net/projects/xiaomi-firmware-updater/files/Stable/V9/China/libra/

androidfilehost.com/?fid=673956719939834323
 

despeh

Senior Member
Apr 15, 2014
62
19
28
Kuala Lumpur
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://forum.xda-developers.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. :)

,
,
,
,
 

Attachments

Last edited:

Tufir_Hawat

New member
Feb 2, 2020
1
0
0
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://forum.xda-developers.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. :)

,
,
,
,
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?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone