yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
Thank you for the recommendations guys. Are you using the stock kernel or any custom kernel like BB kernel, Nagatobimaru etc?

What is your opinion about AOSPA and RR ?
[Xiaomi Mi 5 Guides, News, & Discussion] waleedshiekh:
AOSP Extended all the way. Using it from past 3 months.
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Nagatobimaru kernel has terrible battery life for me (like 1h30m SOT even though I was initially excited to try it out because it incorporates EAS). I use LOS stock freq kernel, which removes the underclock of the 32GB Mi5 from 1.8GHz to 2.15GHz but is otherwise just the stock LOS kernel. On this kernel I get between 3-4h30m SOT.

AFAIK LOS is the only ROM with display calibration and all the others have no way to fix the severe image retention which is my main reason for sticking with it. If it doesn't bother you or affect your unit then I can highly recommend AEX which seems to be the ROM 90% of the devs are on.
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
What do you mean by the image retention issue? And what have you calibrated? As far as I understand, you have just tweaked the RGB values of the screen. Can you tell me your values? I think the same thing can be done via Kernel Adiutor if you are on a kernel that supports KCAL. AFAIK, stock LOS kernel doesn't have it but most ROMs and all custom kernels have it.

What about AOSP by JDC team, it appears very stable with EAS?
[Xiaomi Mi 5 Guides, News, & Discussion] RootNightmareX:
Does this problem have anything in common to the top edge of phone bleeding? Isnt that hardware's fault?
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Yes, it's the same problem - I am unaware whether this is a software or hardware problem, but you can correct it 100% with software. It looks like lightbleed right around the border of the phone and you can see ghosting of previus apps around the corners (especially on a grey background). It's easy to fix in LineageOS, but I've had trouble in every other ROM I tried so far.
[Xiaomi Mi 5 Guides, News, & Discussion] RootNightmareX:
Its not ghosting its more like a radiant, something like a glow that increase and decrase...
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
It looks light an orange tinted lightbleed right around the borders of the display and some ghosting of previous apps are overlayed on the current app (especially visible on grey backgrounds). Check the attached image to see what mean, and this is only about 50% of how bad it can get if you don't adjust for it.

Yes I just tweaked the RGB values to 90% (anything more and you can still notice the effect).

I tried using Kernel Adiutor to fix this problem to no avail, using different ROM and kernel combinations. I never checked if the kernel supports KCAL specifically though.

It's been too long since I used JDC's ROM, but if I remember correctly it was stable and fast but lacked essential features at the time (music playback controls, lockscreen torch, display calibration settings). Their Oreo ROM is far ahead of Lineage 15 in in terms of stability though, not that it's DD ready.
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
Woah thanks for sharing this man, I didn't know about this, can you please share the screenshot of the settings you have made?
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
I have the same issue and I can't decide which ROM to flash. MIUI 8 is too laggy, MIUI 9 is faster but all apps crash randomly. I will unlock my phone tomorrow (after the stupid 72 hours waiting period) and I am hoping that this discussion will help us decide. Most probably it will be a choice between Xiaomi.eu or LOS.
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Sure, no problem. You can find these Settings under Settings > Display > Live Display > Colour Calibration
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
As someone who recently used both Xiaomi.eu and LOS14.1 I might be able to clear that up.

Xiaomi.eu MIUI9 build is almost identical to MIUI 8. There are a few minor tweaks to the UI such as the task switcher which is now more immersive and the new icon pack. Settings are now more bundled together and ROM/System info is graphically displayed. Split screen multitasking seems to be the only new feature. I haven't experienced a single app crash, but the system animation speed was set way to fast by default and transition animations show tearing each time you switch apps. In short, it's fast but not smooth.

I switched back to LOS quite quickly. The only feature MIUI has that LOS doesn't is Dual Apps, and since I don't use that the choice was very simple. LOS is much smoother and faster, with minimal features on top of AOSP. I enjoy the additions, it doesn't feel bloated or barebones.

If you are going to use LOS, I recommend doing the following:

-If you have a 32GB Mi5, flash the LOS stock freq kernel

-Set the display calibration as per my previous posts

-Activate touch home button, always on fingerprint unlock

-Install Magisk

-Flash MIUI camera Magisk module + OISprop-Magisk

-Flash iYTBP Magisk module

-Flash unified hosts Adblock Magisk module (make sure to select systemless hosts in Magisk settings)

-Install Google camera HDR+

-Use Nova (paid) or Lawnchair (free) as the launcher

That should get you going and solve most if not all annoyances coming from MIUI. You'd be amazed with the quality of Google Camera HDR+! Just check the attached samples (they are all compressed due to Xda but you'll get the point).
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
Wow! that was very informative. Thanks a lot man :good: . And yes, I get the point about the photo samples are amazing.

I have the 32 GB version and I already purchased Nova Launcher and use no matter what. I will have to find the addons you mentioned as I have no idea what they do. It's the first time I install a custom ROM on my MI 5. One final question, do you have any thoughts on AOSP Extended?
[Xiaomi Mi 5 Guides, News, & Discussion] rafix96:
[MENTION=5960570]xdadevet[/MENTION]

Hi, where is OISprop module ?

Wysłane z mojego MI 5 przy użyciu Tapatalka
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
I can add all the files you need to a dropbox folder and share the link if that would be easier? I find that the Mi5 is super easy to modify, you shouldn't worry too much. I'll add the firmware you need and GAPPS if that would help you transition.

Yes, AEX is a great ROM with many features. Most Devs seem to be on it (going by their discussions). I haven't found a way to fix my LCD issues on AEX yet, which is the main reason for not using it currently.
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
You need to run the apk after you flashed the magisk module and rebooted your phone to calibrate the OIS.
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
That would be great. Thank you so much. I am on the latest MIUI Global Beta 7.9.22. I have a question, is the LCD issue a global one? If it isn't and I don't have it, will AEX be better and more stable than LOS?
[Xiaomi Mi 5 Guides, News, & Discussion] merajafnan:
Thanks for your information... By the way which version of google cam are you using...
[Xiaomi Mi 5 Guides, News, & Discussion] jaranx:
I will be grateful for xda links or download and little description for your tips :)
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
Same here. I downloaded the latest AEX and LOS ROMs. Not sure which GAPPS to download (Open or Beans).
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Modified Google Camera HDR+ v.3.7 by B-S-G (he's on androidfilehost)

---------- Post added at 09:58 PM ---------- Previous post was at 09:55 PM ----------

It doesn't really matter but I recommend Open GAPPS Nano if you want to minimise the possibility of issues.
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
Thank you. Did you get the chance to look at my question about LCD issue and AEX?
[Xiaomi Mi 5 Guides, News, & Discussion] teddymilk:
After using MIUI (last version I used is 8.2.1.0), I'm using Paranoid 7.2.3 since last month. Quite satisfied with the results. No fancy features, but super smooth. I also install Greenify and Root Master, and since then enjoying great battery life (1,5 - 2 days of active normal use -- meaning no 3D games or HOURS of Youtube).

Things I don't like about Paranoid ROM:

1) When phone is standing-by (screen off), I can't press h/w home button to wake screen up. Fortunately, the settings allow double-tap to wake.

2) Auto brightness is way to sensitive for me. I prefer auto-brightness in MIUI.

Other than that, it's super fast, smooth, and easily recommended.

---------- Post added at 05:27 AM ---------- Previous post was at 05:23 AM ----------

Some additional apps that I used to enhance my Mi5 stock experience:

1) Install ported Google HDR+ and Mi A1 ported-camera for Mi5

2) Install Mi Calculator to replace stock calculator (available on Play Store)

3) Install Macrodroid to automate some specific action based on certain rules. It's very customable (eg: Turn on airplane everyday after 11pm-06am)

Hope it helps.
[Xiaomi Mi 5 Guides, News, & Discussion] kmrnagireddy:
Anyone can you please suggest a Custom Rom that supports Volte Video call directly from dialer.

Thanks in advance.
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
It seems that way because I've experienced it across all ROMs. AEX should be better but both is so stable that I haven't noticed any bugs.
[Xiaomi Mi 5 Guides, News, & Discussion] Xpme:
I have been on AEX for 2 days. Haven't experienced any problems with the screen. I love it so far.
[Xiaomi Mi 5 Guides, News, & Discussion] gowtham300:
you must realize that you've flashed eas kernel on a hmp rom . try hmp kernel flash that and install spectrum app and set balance profile the kernel is very stable and battery life is sometimes better than los default kernel
[Xiaomi Mi 5 Guides, News, & Discussion] fereidooni:
For me Nexus experience is the best
[Xiaomi Mi 5 Guides, News, & Discussion] snaky90:
AEX !
[Xiaomi Mi 5 Guides, News, & Discussion] Mkkt Bkkt:
AEX is the most stable with all basic features and great battery life while gaming :svetius:
[Xiaomi Mi 5 Guides, News, & Discussion] fereidooni:
Nexus experience
[Xiaomi Mi 5 Guides, News, & Discussion] rafix96:
AEX, decisively.

Wysłane z mojego MI 5 przy użyciu Tapatalka
[Xiaomi Mi 5 Guides, News, & Discussion] merajafnan:
I have tried all ROM and the only ROM which has zero bugs and most stable is JDC Team . You can try yourself.
[Xiaomi Mi 5 Guides, News, & Discussion] snaky90:
AEX or AOSPA
[Xiaomi Mi 5 Guides, News, & Discussion] deboo117:
same question. Please state your reasons.

I've already wasted my time on RR with its inconsistencies.

Lineage or AOSPA or AEX or JDCTeam?

Battery life and substratum & magisk support are priority for me.
[Xiaomi Mi 5 Guides, News, & Discussion] 144556:
I m using LOS 14.1 from about one week and for now is really good
[Xiaomi Mi 5 Guides, News, & Discussion] andrerodrigues86:
Tried AEX, switched to AOSPA. No regrets! For me its better.
[Xiaomi Mi 5 Guides, News, & Discussion] viking_kong16:
For me, with all the ROMs I've tried, the best ROMs out there that you won't regret installing are AOSPA and JDC team.. I've already abandoned those fancy features.. both ROMs is close to stock android experience.. With the latest custom kernel 'nagatobimaru'.. can't ask for more..
[Xiaomi Mi 5 Guides, News, & Discussion] deboo117:
Could you tell why? Like what are the key reasons?

And are these OMS ROMS or at least support Substratum?
[Xiaomi Mi 5 Guides, News, & Discussion] Mr°oÉvora:
I have been using AEX + Nagatobimaru but honestly I do not recommend it, the battery gets very poor. I misuse the smartphone and I go without battery, I got 3h40 and it was in 3G mode ..

Honestly I'm also looking for something really stable, which is good, but until I see all the roms have their own mantras, I've done several times I think about abandoning Mi5, I need something really pure and really stable.
[Xiaomi Mi 5 Guides, News, & Discussion] deboo117:
I think performance is more than adequate across all ROMS provided that they're relatively stable given the top specs of this phone.

The real deal is the battery life. That's also my reason for wanting to switch from RR

And these suggestions about the AOSP based ROMS seem promising in that regard.
[Xiaomi Mi 5 Guides, News, & Discussion] masterlo3:
Jdct AOSP is the best if you're looking for stability. Pure fusion comes second and has a slightly better battery life than jdct
[Xiaomi Mi 5 Guides, News, & Discussion] deboo117:
And your options on the nagatomibaru karnel to go with either of these?
[Xiaomi Mi 5 Guides, News, & Discussion] RootNightmareX:
What is the best rom+kernel for battery?
[Xiaomi Mi 5 Guides, News, & Discussion] masterlo3:
I tested NGB kernel on both and it was pretty good, but the phone would heat up sometimes and that means lower SOT so for those two ROMs I mentioned, stock kernel is my pick as I have seen more benefits. Both ROMs are eas so expect smooth UI and performance.
[Xiaomi Mi 5 Guides, News, & Discussion] Mr°oÉvora:
I left AEX and went to try out RR 5.8.5, until it looks a lot smoother than AEX, and I joined the soda kernel to see what the battery will look like.
[Xiaomi Mi 5 Guides, News, & Discussion] deboo117:
And how's the soda doing for you?
[Xiaomi Mi 5 Guides, News, & Discussion] boenklon2:
do you have the link for magisk, iYTB Magisk module, MIUI Camera Magisk Module + OISprop-Magisk, Google Camera HDR+?

thank you
[Xiaomi Mi 5 Guides, News, & Discussion] mrmathematica:
I updated the ' LOS stock freq kernel' so now it also supports AKT profiles. With proper profile used, you should get 5h+ SOT. :)
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
Thank you for your very knowledgeable help

Can you please provide the link to the XDA threads of the above Magisk modules and the Google Cam HDR+ which you use, that would be better so we can know more about them and track updates.

Where can we activate always on fingerprint, is it ok LOS settings? Pardon me as I have yet to flash a ROM on my dad's Mi 5

PS Since you use the unlocked frequency LOS kernel, have you tried using Soda or Soda upstream kernel? They seem to be quite similar to what you are using and better.
[Xiaomi Mi 5 Guides, News, & Discussion] RootNightmareX:
Naga is a very good kernel but fcking eats the battery, nearly 1% at 1 min.
[Xiaomi Mi 5 Guides, News, & Discussion] gowtham300:
Let's just say your doing something wrong , I've used the kernel for a long while and it provides me with great battery
[Xiaomi Mi 5 Guides, News, & Discussion] RootNightmareX:
Tried all versions , clean flashed and i can say its not good for battery.

Try other kernel and you will see much better battery. :good:
[Xiaomi Mi 5 Guides, News, & Discussion] Mr°oÉvora:
I try Naga in two different roms (AEX and RR), and the battery is bad... 3h max in 3G mod.

Now i use the Soda in AOSPA and im really happy.
[Xiaomi Mi 5 Guides, News, & Discussion] gowtham300:
Xda says otherwise
[Xiaomi Mi 5 Guides, News, & Discussion] frenzyboi:
What settings are you using for your Google Camera? I've been trying a lot of settings but the images all resulted in a lot of noise.
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
[/COLOR]

Here are the settings I personally use:

-PixelXL(corr)

-NEXUS_2015

-LIMITED

-LEGACY

-High

-Pixel 2017 (DR Dogfood)

-15 (Optimal)

-14 (AllPixel+AllExp)

-7 (N6P+AllPixel+AllExp)

-AllExpConfig

---------- Post added at 01:00 PM ---------- Previous post was at 12:45 PM ----------

Actually, I've since flashed Soda, LOS freq and Nagatobimaro kernel (because it was pointed out to me that I flashed the wrong version of Nagatobimaro) and ran benchmarks on all of them as well as used them for a day. I also tested AEX and PureFusion again. I can say that the best overall kernel for me is Nagatobimaro, and the best ROM in terms of features is AEX. That combination also benchmarked the highest, for what it's worth. If you want slightly better performance (+20% in benchmarks) at the expense of a little battery life (about 10%) then flash Nagabotimaro kernel (HMP version for LOS/RR and EAS vox populi for JDC/AEX/Purefusion). I've since sorted out the issues pertaining to the LCD on JDC/AEX/Purefusion (you have to manually fix the LCD with Kernel Adiutor - the kernel has to support KCAL for this to work, which Nagabotimaro does. I use the values 190 190 190 for RGB respectively).

My opinion is now as follows:

-AEX with Nagatobimaro kernel (EAS vox populi version) for best performance, features, and good battery life (3.5-4.5h SOT over a 16h workday) combination.

-JDC is essentially AEX without any features. Same performance and battery life (Nagatobimaro kernel also optional for same benefits).

-LOS if you want security and stability with minimal added features with decent performance (you don't have to root to fix the LCD, selinux is on enforcing by default, HMP is tried and tested over a longer period but probably uses more battery and have less performance). Battery life is around 3-4h SOT over a 16h workday.

-RR is essentially LOS but with lots of added features. Expect the same performance and battery life.

Unfortunately, I can't as almost none have active Xda threads. I find bits and pieces on Androidfilehost, the Telegram Dev group and a few other sources. I've since uploaded all the necessary files to Dropbox.

Here is the link to everything I use: https://www.dropbox.com/sh/1jpbbxejjqum3zj/AACXmVvYqEAMMq8mjPJouYgQa?dl=0

I've recently installed LOS on my parents' phones and set it up with all the apps and features I use. They personally love it and said they never want to see MIUI or EUI again (not that they've complained before) and are especially impressed with the camera performance of Google camera HDR+ and how the notifications are managed. I used LOS because they bank a lot from their phones and I don't want to deal with the inherent security risks of leaving their phones with root enabled to fix the LCD (I used Magisk but unrooted after changing what I want - like debloating - but unfortunately that means missing out on some features).

Yes in LOS you can activate the always-on fingerprint scanner in Settings, as with most other ROMs. Just browse a bit, most ROMs have a very similar layout.
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
I know of one way you could change the KCAL config without root, just copy the commands from the 'On Boot' section of Kernel Adiutor, to an init.d script, place it in /etc/init.d with 777 permissions. I used this method on Oreo where Kernel Adiutor didn't apply settings on boot.

With stock unrooted LOS, does SafetyNet pass? Do any banking apps detect custom OS?

My dad's bank's app detected root on my phone even with Magisk Hide, when SafetyNet was passing. Even WhatsApp detected I have a custom ROM when SafetyNet was passing.

Question, are you using the latest AEX build from 30/09, with the in built Nagatobimaru kernel or you flashed it separately? Do you use the stock settings that come with the kernel or apply using spectrum?
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Thanks that's a great tip for universally fixing the LCD issues, I'm still baffled that it's not included by default in any ROM.

Yes it passes, even with Magisk. I use my banking app on all the mentioned ROMs so far (it definitely won't let me login if safetynet fails) without problems. None of my banking apps can detect a custom OS, although WhatsApp might.

I'm currently on PureFusion as it was the last ROM I tested (Spoilers - so far it's been the least stable. Had a few random crashes in settings and it freezes sometimes. It also doesn't have all the features I use). I want to get back to AEX but haven't had the time yet. I flashed Nagatobimaru separately and used Spectrum to put it on "balanced", but I think they have since I've last used it automatically fixed the stock clock speed of my 32GB model (I will report back when I'm on AEX again).
[Xiaomi Mi 5 Guides, News, & Discussion] sravans578:
Thanks a lot man. I didn't know that we could flash seperate magisk modules via twrp.
[Xiaomi Mi 5 Guides, News, & Discussion] Plabon7:
battery backup+ no heat issue...which rom should i go for?
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
[MENTION=5960570]xdadevet[/MENTION] If you wouldn't mind my asking you, are you still using AEX with its stock kernel? How is the stability and battery life?

I am really confused between PA and AEX because PA has the reputation of being super smooth and ultra stable. I used AEX on my device, Redmi Note 3, but it had some bugs that other ROMs didn't.

By now the general consensus of the Mi 5 community seems like AEX is the best ROM with most features , but if I don't need features the best choice is either AOSP by JDC or PA. Am I right?
[Xiaomi Mi 5 Guides, News, & Discussion] xdadevet:
Well I've been ROM hopping a bit, so it's nice to see what's out there. I switched from AEX to JDC to Purefusion Oreo.

If you don't need features, JDC has the highest consistent frame rate and stability of all the ROMs I've tried. It's been a while since I've used PA so I'll reserve my judgement, but I don't remember anything standing out about it. I recommend you try both JDC and PA and see which you like more. ROMs can behave very differently between devices and even versions of the same ROM.

I'm thinking of building my own Oreo ROM (based on whatever performs the best with the least amount of bugs - probably JDC) when I'm done with my exams.

I'll link it here if it's good enough. I'm an engineering student so I might break out my oscilloscope and create a custom audio profile, fix lens distortion on the camera, calibrate the display (after fixing burn in, as it desaturates the display) by creating a custom profile with a colorimeter (spyder 4), add a toggle for stereo speakers, or create a custom feature (like charging profiles) with whatever I come up with. I'm interested in optimisations rather than trying to reinvent the wheel.

I'm also thinking of writing an "app launch" app that can do automatic speed tests while taking a system dump of the frame rate so that I can base my ROM of the best possible branch (and also fix all those lousy YouTube tests).

Anyway, we'll see. :)
[Xiaomi Mi 5 Guides, News, & Discussion] arnavbatra:
All of that sounds extremely awesome. And it sounds something like an OEM would be interested in doing to improve the UX. I have had similar ideas regarding improving ROMs for my own phone, but unfortunately I don't have any of the equipment that you do, will you use your University's lab?

But what I would suggest is applying these optimizations to a Nougat ROM because Oreo is not stable yet, evidenced by the fact that 8.1 is just around the corner and LineageOS and other ROMs like Pure Nexus and Dirty Unicorns have not released their Oreo ROMs yet.

My opinion differs from yours in that ROMs can behave very differently in between kernel versions and ROM versions, I think it all boils down to your settings, the CPU governor tunables and the IO scheduler and KCAL profile, with a very minor difference being introduced by the 'optimizations' and patches. The optimizations by the PA guys have been merged in almost every great AOSP ROM and they seem to make a difference. Things like the Qualcomm Boost Framework take the UX to the next level

I am a class 12 student, so I have almost no time for ROM development besides various other hurdles I have faced.

But please keep me posted on this project you plan to undertake.