• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] [OUTDATED] Android One Port for Mi5X [7.11.18] [Nougat]

Aex12

Senior Member
Aug 8, 2014
88
227
0
This thread is outdated, Oreo port will be uploaded to this other thread from now on.

Download link 7.11.18:
Mega
Baidu

Android One Nougat 7.12.19 is out but not ported. However, you can install it using my modded TWRP
https://forum.xda-developers.com/mi...rp-3-1-1-0-t3715084/post74745680#post74745680

How to install:
- Unlock bootloader
- Flash TWRP
- Wipe data, cache and dalvik
- Flash A1 Firmware
- Flash rom zip file
- Reboot

How to update
- Boot into TWRP
- Wipe cache and dalvik/art
- Flash rom zip file
- Reboot

Known issues:
- If you dont flash A1 firmware your fingerprint will acts as a button while unlocked.
- If you don't have Goodix fingerprint variant, fingerprint may not work.
- You tell me.

FAQ:
Q: Can I flash over August patch without wiping data?
A: Yes, you can. However WiFi may not work. If that's your case try restoring network settings. (Settings -> More -> Restore network settings). If WiFi still doesnt work, you'll need to wipe data.

Q: Can I update via OTA?
A: No, you can't. You'll need to wait until I port the update.

Q: Does this ROM come pre-rooted
A: No, it's the A1 stock rom which doesn't come rooted. If you want root, flash Magisk through TWRP

Q: Can I install Xposed?
A: Yes, you can. Just make sure you download xposed for SDK 25.

Q: Will this rom unlock 4G 800MHz band (B20)?
A: No, it won't unlock it. Mi A1 uses a different modem which supports it. Mi 5X modem doesn't.

Q: Do I need to unlock my bootloader?
A: Yes, you need to unlock the bootloader before you can install any custom ROM.

Q: How can I unlock my bootloader?
A: Apply for permissions on http://en.miui.com/unlock/ then download the tool and follow the steps.

Q: Where can I download TWRP?
A: You can download it from here

Donations:
If you like my work and want to contribute, you can donate via paypal.me/aex12

XDA:DevDB Information
Android One Port Nougat, ROM for the Xiaomi Mi 5X

Contributors
Aex12
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
Based On: Android One

Version Information
Status: Stable
Current Stable Version: 7.11.18
Stable Release Date: 2017-11-24

Created 2017-10-21
Last Updated 2018-03-07
 
Last edited:

killswitx

Senior Member
Feb 23, 2015
109
31
0
anyone know if it is possible to sideload the ota updates maybe??

---------- Post added at 03:30 PM ---------- Previous post was at 03:15 PM ----------

looks like it would be ok to dirty flash this hmm...
 

Aex12

Senior Member
Aug 8, 2014
88
227
0
anyone know if it is possible to sideload the ota updates maybe??
As stated on FAQs, you cant update via OTA, as this OTAs are made for an A/B device, and Mi 5X doesnt support A/B.

looks like it would be ok to dirty flash this hmm...
It's OK if you come from another Android One port. Probably you will face some WiFi issues, to solve them read FAQs.
 
  • Like
Reactions: pereirao

jonjon88

Member
Nov 30, 2009
18
6
0
32
Lausanne
@Aex12

Thank yoouuu! After waiting so long to unlock my bootloader I finally made it and flashed your rom right away. And it's working as a charm. I'm so happy I got rid of Miui 8 Chinese version and it's many bugs and problems (and occasional Chinese language notification I got no idea what it was saying). MiUi was cute and nice on a few parts, but it just seemed like an unfinished piece of software on many points (super aggressive ram management, brightness slider problem, crazily complex settings menu -especially the applications permissions one divided in three sections-).

This rom works just flawlessly for now, and I had no issue with the fingerprint reader acting as a button on my side. It's really great to see some functions works like fingerprint swipe for notifications or lock-screen notifications. Oh ! And I can finally make the google assistant and feed works out of the box without complex tweaks :laugh:

Camera is still ****ty though (especially coming from a nexus 5x) but, hey, it's a 200€ phone.

Do you have a paypal donate account so I can offer you a beer and encourage you to port the next android updates :) ?
 
  • Like
Reactions: alekos panagulis

Aex12

Senior Member
Aug 8, 2014
88
227
0
@Aex12

Thank yoouuu! After waiting so long to unlock my bootloader I finally made it and flashed your rom right away. And it's working as a charm. I'm so happy I got rid of Miui 8 Chinese version and it's many bugs and problems (and occasional Chinese language notification I got no idea what it was saying). MiUi was cute and nice on a few parts, but it just seemed like an unfinished piece of software on many points (super aggressive ram management, brightness slider problem, crazily complex settings menu -especially the applications permissions one divided in three sections-).

This rom works just flawlessly for now, and I had no issue with the fingerprint reader acting as a button on my side. It's really great to see some functions works like fingerprint swipe for notifications or lock-screen notifications. Oh ! And I can finally make the google assistant and feed works out of the box without complex tweaks :laugh:

Camera is still ****ty though (especially coming from a nexus 5x) but, hey, it's a 200€ phone.

Do you have a paypal donate account so I can offer you a beer and encourage you to port the next android updates :) ?
You can make camera a little better by downloading the Google Camera modded with HDR+ and adding these two lines to build.prop:
Code:
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
However, you will lose HDR support on native camera.

If you want to donate me you can do so on paypal.me/aex12
Thank you, donations are very appreciated!

As we all know all these 3 devices (Note 4x, MIA1 and MI5x) have the se chipsets
Is it possible to port it also on note 4x?
Probably it can be done. Just ask a dev who have Note 4X to port it.
 
Last edited:
  • Like
Reactions: pereirao

rEsonancE_0404

Senior Member
Nov 2, 2016
396
110
0
You can make camera a little better downloading the Google Camera modded with HDR+ and adding these two lines to the build.prop:

However, you will lose HDR support on native camera.

If you want to donate me you can do so on paypal.me/aex12
Thank you, donations are very appreciated!



Probably it can be done. Just ask a dev who have Note 4X to port it.
Edit: Can't PM you

Did you port the MIA1 rom.on 5x or did you build it on source?
I wonder what porting software did you use as android kitchen is not working on newer roms now

Edit2: do you have google+ or anything? To PM you?
 
Last edited:

Aex12

Senior Member
Aug 8, 2014
88
227
0
After a few hours I noticed that unlocking with fingerprint has become very slow again. Something like 3 seconds.
The slow fingerprint sensor is an A1 related issue. Maybe it get improved in the future with updates.

Edit: Can't PM you

Did you port the MIA1 rom.on 5x or did you build it on source?
I wonder what porting software did you use as android kitchen is not working on newer roms now

Edit2: do you have google+ or anything? To PM you?
I dont use any kind of AIO software. I use a bunch of linux tools and use them through CLI.

I use simg2img and make_ext4fs for the system.img and mkbootimg and unpackbootimg for the boot.img
 
Last edited:

alekos panagulis

Senior Member
Aug 11, 2010
390
59
0
Hello Aex12, I have no coding skills, so maybe my question is silly: it is possible to introduce in this rom the possibility to set different ringtone for each sim? Thank you.

Inviato dal mio Mi A1 utilizzando Tapatalk
 

Aex12

Senior Member
Aug 8, 2014
88
227
0
Hello Aex12, I have no coding skills, so maybe my question is silly: it is possible to introduce in this rom the possibility to set different ringtone for each sim? Thank you.

Inviato dal mio Mi A1 utilizzando Tapatalk
Yes, it would be possible. However this rom is intended to be an exact same copy of the Mi A1.
 
  • Like
Reactions: schiway

alekos panagulis

Senior Member
Aug 11, 2010
390
59
0
Yes, it would be possible. However this rom is intended to be an exact same copy of the Mi A1.
Oh wow! Please consider to introduce this feature, please!! You could make a copy of Mi A1 and one more rom with experimental features. You would be my hero.

Inviato dal mio Mi A1 utilizzando Tapatalk