[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] isouzz:
/*
****Disclaimer: We are not responsible if you destroy your device. Use at your own risk.****
*/

Pure Fusion is an AOSP based ROM which aims to bring stability and features to your device, while keeping Google's vision in mind.

Pure Fusion is highly optimized, utilizing some of the latest code compiling technologies. We take pride in spending time learning about and testing all the different options for compilers and optimizations. We pick and choose the most optimized and stable toolchains, then optimize them further.

We encourage developers and device maintainers to join our project and contribute or port their devices to this ROM.

[B]
-General-
*Based on AOSP
*Busybox, and Init.d support
*Pixel sounds and OEM wallpapers from factory images
*Pixel theme and Pixel navbar animation
*Pixel colors
*Bug fix's and stability improvements
*UI Improvements (fixed a bunch google forgot to materialize)
*Rootless Substratum OMS Theme Engine support
*ADB enhancements (ADB over wifi, Hide ADB icon, colored logcat "abd logcat -C")
*Developer settings by default
*Enabled Night mode for all devices
*Custom night light brightness options
*Disabled forced encryption
*Disabled tether provision checks
*Download speed in notification
*Advanced reboot menu
*Advanced screenshot functionality (longpress tile/power menu for selectable screenshot)
*Back volume adjust sounds and toggle
*Advanced rotation control and lockscreen rotation toggle
*Ability to lock app in landscape via rotation tile
*Advanced charging sound controls
*Advanced seekbar style animation controls
*Quick setting header Longpress actions
*Ability to see app version when sideloading app
*App package name to app info screen
*Ability to launch app when touching app icon in app info screen
*Phone info shortcut to about phone/status on top
*Dynamic vendor image notification
*Additional battery saver trigger steps
*Ability to unlink notification volume from ringer volume
*Increasing ringtone option

-Lock Screen-
*Lockscreen item option(time, date, alarm text toggles & Clock font style)
*Double tap anywhere to sleep
*Long press power for torch
*Option to disable lockscreen media art
*Option to scramble the pin entry layout
*Option to disable the pin ripple background when entering lockscren pin
*Option to disable fingerprint success vibration

-Notification Drawer-
*Quick settings pulldown (left,right,always)
*Smart pulldown (no ongoing, no dismissable, no notifications)
*Advanced quick settings easy toggle
*Brightness slider on/off toggle
*Haptic feedback on quick setting on/off toggle
*Ability to disable quick settings on secure lockscreen
*Ability to disable the quick settings title text
*Ability to change number of quick settings columns
*Ability to change the amount of rows in quick settings
*Ability to set contexual or custom header images

-Recent apps-
*Immersive recents
*Kill all fab
*Kill all fab location

-Statusbar-
*Battery customization(percentage/icon style)
*Sync battery icon with quick settings tile
*Battery bar options(location, color, style, thickness, animation)
*Carrier Label customization(placement, text)
*Clock customization(show clock, show seconds, alignment, ampm, date, date style, date position, date format)
*Network traffic meter options(enable, display units, update interval, hide arrows, auto hide, inactivity threshold)
*Statusbar icon blacklist
*Double tap on statusbar to sleep
*Status bar brightness control
*Status bar notification count
*Status bar bluetooth battery meter toggle

-Navigation Bar-
*Navbar toggle and Height/width options
*Navigation bar tuner
*Pixel navbar animation toggle
*Ability to enable one handed mode
*Ability to enabe double tap to sleep
*Longpress back to kill
*Configurable longpress back to kill timeout

-Hardware keys-
*Custom key binding
*Backlight control
*Backlight brightness
*Backlight on only when buttons pressed
*Pocket Judge (disable screen and keys while light sensor blocked)
*Accidental touch protection (disable keys while touching screen)

-PowerMenu-
*Option to disable on secure lock
*Add/remove (reboot, screenshot, screen-record, torch, airplane mode, user switcher,settings shortcut, search, voice search, lock now, sound panel)

-Volume Rocker-
*Volume keys control media volume
*Volume key wake
*Volume key music control
*Volume key orientation swap
*Volume key keyboard cursor control
*Volume up and power action (screen record/selectable screenshot)
*Volume down to enter do not disturb
*Volume up to exit do not disturb
*Do not disturb volume panel switch
*Volume steps customization

-Display-
*Expanded desktop options
*Option to enable/disable wake on plug
*3 finger swipe for screenshot toggle
*Battery and Notification LED controls

-Media & Notifications-
*Ability to turn off vibration when double tapping power button for camera
*Power notification controls
*Peeking notification option(on/off, timeout, snooze length)
*Low battery notification toggle

-Miscellaneous-
*Ability to enable app icon on toast
*Force enable or disable scrolling cache
*Incall vibration options
*Much, much more!

[/B]

Download ROM, GApps here for your device!

GEMINI

Google Apps

-OpenGApps

[b]-Download the ROM and GApps of your choice
-Backup each and every partition from TWRP Recovery
-Make a full wipe (system, data, cache, dalvik)
-Flash PureFusionOS Package
-Install GAPPS package
-Wipe cache!
-And at last Reboot!
[First boot will take few minutes! Have patience]
Clean Flash is always recommended![/b]

The changelog here!

Our Gerrit

When plugged into AC charger it does not say charging for more than a couple seconds (it is still charging).

Please Join Our Google+ Community. Also join our Telegram Group Chat!

-[MENTION=5687366]Eliminater74[/MENTION]- Lead developer and HTC 10 Maintainer - Donate on PayPal

-[MENTION=5471195]Tabp0le[/MENTION]- Lead developer and HTC 10 Maintainer - Donate on PayPal

-[MENTION=4826467]Enzoo96[/MENTION]- Xiaomi Mi5 (Gemini) Maintainer - Donate on PayPal

Special thanks To:

LineageOS

Dirty Unicorn

AospExtended

SlimRoms

OmniRom

-[MENTION=5438598]RenderBroken[/MENTION]- For EAS Commits and Help

-[MENTION=6745491]joshuous[/MENTION]For Vox Populi EAS PowerHAL

-[MENTION=4395895]BeansTown106[/MENTION]

-[MENTION=6519039]jhenrique09[/MENTION]

So you want to enter the competitive world of professional ROM flashing? If so, you need to take your phone flashing to a new level. How can you position yourself and your expertise so you are the dev's obvious choice? Be honest. Do you enjoy troubleshooting? Do you have a problem with things going wrong? If so, then you might be better off staying on your current OS.

If you are still reading this and are sitting in your chair thinking: “I could do that, if I tried”, then maybe you have a chance.

If you can't read, watch this video: https://youtu.be/JmvCpR45LKA

-How can I prevent the loss of TWRP when updating?

->You need to flash root to prevent TWRP from being overwritten.

Note that this is only true for older builds as of July 2017. The problem with TWRP has been resolved as of the first official release of July 2017.

-I’m coming from other custom ROM or stock ROM. What do I need to do?

->If you’re encrypted, you need to format (different than wipe. You have to type “yes” in TWRP) your internal storage.

1. This will wipe everything from your internal storage including TWRP folder with backups, titanium backup, etc. If you have anything you want to keep, move it to external storage or back it up to the computer before proceeding.

2. If you’re not encrypted, just do a normal wipe (system, cache, dalvik, data) and flash the ROM, gapps, and either SuperSU or Magisk for root.

-I want to use this ROM, but I don’t want root. Is that possible?

->You’re in luck. This ROM does not come pre-rooted. So you can use this with no root if you desire. Although, I’m not sure why you would want to do that, but you can.

-My phone reboots randomly

->Use adb or any other file explorer tool to pull a copy of /sys/fs/pstore/console-ramoops (command: adb pull /sys/fs/pstore/console-ramoops) after the reboot and post that. Try to include what you were doing when experiencing the reboot. Also refer to the next question before filing any reports.

-I’m having weird crashes/reboots

->Do you have other third party software installed such as a different kernel, Magisk, sound mods, etc.? Remove all of these before submitting a bug report. Reports made with unsupported software like what is listed above will not be addressed.

-Will this ROM receive frequent Security Updates?

->Yes.

-Does this ROM pass SafetyNet?

->It should if you don’t flash root when installing the ROM, since it doesn’t come loaded with root out of the box. If you want root, Magisk will allow you to pass SafetyNet.

-Does OTA work?

->Yes.

-Do I need to do a clean install?

->If you’re coming from another ROM, yes. If you’re already running ours, a dirty flash should be fine unless otherwise specified. If you have problems, try a clean flash before reporting issues. Refer to an above question if you are coming from a stock-based ROM or are possibly encrypted.

-Will you add stuff to the ROM?

->*insert perhaps cow meme here*

-Does the camera work?

->See the OP for current stuff not working.

[/B][/SIZE]

​

Source:

Device Tree : GitHub

Kernel Source : GitHub

XDA:DevDB Information

PureFusionOS Oreo, ROM for the Xiaomi Mi 5

Contributors

enzoo96

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

Version Information

Status: Beta

Current Beta Version: 20171031_174823

Beta Release Date: 2017-10-31

Created 2017-10-31

Last Updated 2018-01-12