yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rizkhan999:
Custom Kernels Comparison

Stock kernels normally do not have the options for CPU under volting and fast battery charging. This becomes pretty considerable for a phone like Nexus 5 that is brilliant indeed, except for its 2300mAH battery, which is no less than a nightmare.:(

For this reason, I have tested 06 x different custom kernels on both MIUI8 v8.5.2 (AOSP-based from the OP of this thread) and MIUI8 v7.6.8 (from the MIUI's official Russian site). Here are my observations:

1. RACER-M (Rel: 13-03-2016, Min Freq allowed: 96 MHz, CPU Governor Types: many)

=> v8.5.2: Stable

=> v7.6.8: Stable

2. UBER-M v4.9.4 & v5.3.1 (Rel: 16-10-2016, Min Freq allowed: 96 MHz, CPU Governor Types: many)

=> v8.5.2: Unstable (system apps FC issue)

=> v7.6.8: Stable

3. HELLS-CORE Beta 23 (Rel: 03-03-2017, Min Freq allowed: 96 MHz, CPU Governor Types: few)

=> v8.5.2: Stable

=> v7.6.8: Unstable (Wifi does not work)

4. FRANCO r110 (Rel: 18-08-2017, Min Freq allowed: 300 MHz, CPU Governor Types: few)

=> v8.5.2: Stable

=> v7.6.8: Stable

5. BLUE SPARK r138 (Rel: 16-08-2017, Min Freq allowed: 300 MHz, CPU Governor Types: few)

=> v8.5.2: Stable

=> v7.6.8: Stable

6. ELEMENTALX v6.27 & v6.17 (Min Freq allowed: 300 MHz, CPU Governor Types: few)

=> v8.5.2: Unstable with both v6.27 and v6.17 (stucks on MIUI startup screen and notifies that MIUI SDK has stopped).

=> v7.6.8: Stable with v6.17. Unstable with 6.27 (Wifi does not work).

Conclusion is that Racer-M is the most customizable of all the above kernels since it also offers several CPU hotplugging options that even Uber-M does not, and is stable on both MIUI8 versions under discussion. Then comes the Uber-M w.r.t customization. And then the rest.

Currently I am using Uber-M on v7.6.8 with Min. Freq = 96 MHz @ 700 mV and Max. Freq. = 1267 MHz @ 785 mV with "Conservative" CPU Governor and "Aggressive" MultiCore Power Saving and getting a pretty good balance of decent performance and battery time. I don't need advanced CPU hotplugging options (offered only by Racer-M) because the CPU frequencies cannot be modified when CPU hotplugging is used, as per my info. But I can also shift to v8.5.2 with Racer-M kernel in future just because MIUI8 v8.5.2 is newer than MIUI8 v7.6.8. :)

Those who find this post helpful or informative, please hit Thanks!.....

---------- Post added at 06:42 PM ---------- Previous post was at 06:26 PM ----------

You can install Multirom or EFIDroid and try different ROMs yourself and then settle on which ever you like the most.:o
[Nexus 5 Android Development] thogz11:
Cool! Thank you. I appreciate it! :D
[Nexus 5 Android Development] Rebuman:
Yes, me too. I flashed today the AOSP version from first post and i have the same issue. Someone has solution for this ?

Is there a way to set a ultra power saving mode like this???

Thanks.
[Nexus 5 Android Development] lulli1:
Try another cam app, or the modded aosp one by [MENTION=1143630]osmosis[/MENTION] (do a search, please). It's a known AOSP problem.

For ur ultra power save mode: no, not out of the box.
[Nexus 5 Android Development] Rebuman:
Thanks. Sorry for O.T.

I solved with this
[Nexus 5 Android Development] mnsiw:
I'm on 8.5.2, want to flash Uber-M or Racer-M, links in your post not working for me, can you please share if you have a copy on your PC.
[Nexus 5 Android Development] rizkhan999:
Here is the direct androidfilehost link to the racer-m kernel. Tell me if it does not work so that i may upload the file somewhere myself.

And uber-m does not work properly on 8.5.2. So leave that one.

---------- Post added at 11:36 AM ---------- Previous post was at 11:31 AM ----------

I am facing an issue after flashing racer-m kernel with v8.5.2 and uber-m with v7.6.8. The issue is that the wifi mac address changes (including the vendor specific part) whenever i reboot the phone. Its problematic for me since we have mac filtering enabled in my office. So each time I have to put the new mac in our router's white list.

Im using hells-core kernel on v8.5.2 till the time I find a solution for this. Stock kernels of both miui8 versions and hells-core retain the mac address upon reboots. But racer-m and uber-m do not.

Any one having any idea how to resolve this issue.
[Nexus 5 Android Development] mnsiw:
Thank you. I'm on dual boot setup, let's see it works.
[Nexus 5 Android Development] rizkhan999:
I also used it on multirom while miui8 v8.5.2 being one of the secondary roms. It worked well.
[Nexus 5 Android Development] mnsiw:
Thanks Riz [emoji4] 96MHz @ 700mV and 1268MHz @ 785mV, what about in between frequencies, should I leave them on default values?
[Nexus 5 Android Development] rizkhan999:
No you should change all intermediate frequencies as well because they also come into use. But undervolt them with the same ratio. Means if you have changed 96MHz from 750mV to 700mV, you have undervolted by 50mV. So undervolt each frequency's default voltage by 50mV. And disable "Apply on Restart" so that if your phones turns off due to undervolting, you may get the default values back. Enable it only after using your phone a few minutes after undervolting in order to make sure that the changed voltages are suiting the frequencies.

Lastly, you may check if you phone can be further undervolted or not. Because volts vary from device to device even if the phone model is same. Like my phone turns off when 96MHz is set to 650mV. May be your phone would not. So it is kind of a hit and trial method. The bottomline is the same, minimum the voltage used by processor, longer the battery time.
[Nexus 5 Android Development] mnsiw:
Settled on -75mV, it's working good, thanks. 'Apply on boot' is on for all settings and it work for 'CPU Voltage' and 'USB Fast Charge' but 'CPU' settings always revert back to defaults, even if I set them manually and check back after few minutes, it does not retain modified values for 'CPU Max Frequency' or other settings in the section. I'm using Kernel Auditor, SuperSU 2.82-SR3 and 3.4.0-RACER_M_20160311
[Nexus 5 Android Development] rizkhan999:
Well I havent observed any such behaviour. Try some other kernel app like no frills cpu or synapse etc. May be kernel audiutor is either not changing the values or its not displaying the correct values. But do not keep more than one kernel app at a time otherwise you may end up in conflicting results.

Edited: Sorry i totally forgot its Racer kernel. Actually you have to disable all the cpu hotplugging options that are enabled by default in ”CPU” option of kernel audiutor app. Only then it will retain the changed frequency values.
[Nexus 5 Android Development] mnsiw:
Ops, I have tried many kernel manager with same result :) thanks for update.
[Nexus 5 Android Development] qwerty1669:
Time not syncing

Very nice rom, in fact i was surprised by MIUI, fast and battery friendly with cool features. But i have a problem :) time doesnt seams to sync, i have different times on lockscreen, main screen and the others screens so i cant use any alarm, it doesnt ring at time, is there any way to fix it? Does it have something to do with the "region" setting that i cant change from "China"?
[Nexus 5 Android Development] qwerty1669:
Forgot to mention thats only on AOSP, i would use CM13 but the Mobile Network Signal error happens too many times...
[Nexus 5 Android Development] mnsiw:
There's some problem with ROM, it need internet connection on every reboot to show proper time.

---------- Post added at 12:04 PM ---------- Previous post was at 11:48 AM ----------

In 'CPU Hotplug' there was only one enabled option, 'Screen off Single CPU', turned it off, rebooted, kernel manager applied custom settings on boot, after few hours checked back and all settings were reverted to defaults, so leaving it as it is :(
[Nexus 5 Android Development] rizkhan999:
No, you have to disable CPU Quiet, CPU Input, CPU Boost, CPU Hotplugging etc. in the "CPU" option of Kernel Adiutor app. When you disable them, your modified frequency values will be retained permanently.

---------- Post added at 07:45 AM ---------- Previous post was at 07:43 AM ----------

True. This is a problem.
[Nexus 5 Android Development] mnsiw:
Thanks for reply, I got it, but when I open 'Hot Plug' settings, all are disabled except the one I mentioned, so I disabled that. FYI I'm on this Dio_S version, not he Russian one.
[Nexus 5 Android Development] rizkhan999:
No. The options I mentioned e.g. CPU Quiet, CPU Boost, CPU Input etc. are available within the "CPU" option. Not within the "Hot Plug" option. Please send screenshots of both "CPU" and "Hot Plug" options of Kernel Adiutor. Actually I am using Hells-core with MIUI v8.5.2 so I can not see that myself. I am telling from what I remember.
[Nexus 5 Android Development] Rebuman:
Rom (Aosp version V8.5.2.0) is stable and has a very nice use of battery when screen is turned off. I am with stock kernel and i am very satisfied. I do not know if i should try other kernel or not.
[Nexus 5 Android Development] qwerty1669:
If you are satisfied with the Rom and don't need others tweaks, you should always stay with stock kernel ;)
[Nexus 5 Android Development] kamild_:
I was getting a bit annoyed by the issues Nougat has on our device so I decided to skip back to Marshmallow, and gave this ROM a try since I felt like using something very different rather than just another slight variation of vanilla Android. Just installed MIUI 8 today and first thing I'm trying out is the battery life while idle. Looks like you guys weren't kidding about that "bad battery life", I unplugged the phone from my charger 40 minutes ago and it's already at 85% right now. At this pace it's not even going to survive the entire night...

E: Thanks for the kernel test [MENTION=8423206]rizkhan999[/MENTION], but looks like things are slightly different on CM-based version. After flashing RACER-M, my phone just straight up turns off after a few seconds of using it (default voltages too low?), and Wi-Fi breaks too (can see networks but cannot connect to any)... I tried franco's instead and it seems to be working fine, no Wi-Fi issues or random shutdowns.
[Nexus 5 Android Development] rizkhan999:
Yes I had only used AOSP based images in kernel testings. And I had found RACER-M rock stable but had to leave it because it changed wifi mac address on every reboot which didn't suit my requirement. But it used to drop only around 20% battery after whole night when idle.

But I have a habit to disable wifi before sleeping. Moreover I use Greenify to hibernate almost all apps when phone locks. And I also undervolted the default values by 75mV and had underclocked the cpu's min and max freqs to 96MHz and 1267MHz respectively. So with all such tweaks, battery time was considerably good.
[Nexus 5 Android Development] MoistPicklez:
So just curious as to which MIUI is best on battery life, v7.6.8, or v8.5.2? Also, I know root is cooked in, but is it possible to use Magisk so I can hide root?
[Nexus 5 Android Development] kamild_:
Yeah, you can just install Magisk and it will work straight away. Magisk Hide works as well.

Additionally, if you want to pass SafetyNet, use this fix: https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431 (currently the latest beta for Magisk 14.0+)
[Nexus 5 Android Development] hanafi2009:
Green line when record video both camira

---------- Post added at 11:40 AM ---------- Previous post was at 11:34 AM ----------

After record video .
[Nexus 5 Android Development] Rebuman:
I solved with this
[Nexus 5 Android Development] hanafi2009:
I am on this ROM how get this file. You can. Add this file libmmcamera_interface.so
[Nexus 5 Android Development] voyagerair:
deleted
[Nexus 5 Android Development] voyagerair:
wish this ROM is made for Note 4 too.
[Nexus 5 Android Development] MoistPicklez:
I'm about to attempt installing MIUI from their official site, but as far as I know the official version doesn't have gapps built in, does anybody know which gapps would be best to use, or will GoogleInstallerV2.apk work fine??

EDIT: Installed 7.6.8 and Magisk, rebooted and went through setup, then installed opengapps + Magisk safetynet fix for MIUI, and all went well passing safetynet too, aside from google play services crashed once. Gonna try that Russian 7.6.8, and hope that Magisk can overwrite SuperSU, I need me some Magisk!

EDIT2: I was able to successfully get Magisk installed on the Russian MIUI version 7.6.8. I downloaded both the official China and Russian version, extracted the boot.img from the China 7.6.8, and installed the Russian 7.6.8 in TWRP. Then used 0smosis’ unSU.zip, and then installed the China 7.6.8 boot.img overtop the Russian MIUI, then simply flashed Magisk, let it boot, back to TWRP and installed that SafetyNet fix. No bloat, SafetyNet passes, and all is well aside from one FC once every boot.

I'm gonna try adding my own MIUI 7.6.8 debloated and gapps built in version, if anyone's interested in it.
[Nexus 5 Android Development] losl1946:
IN http://techofeed.com/miui-8-custom-marshmallow-6-0-1-rom-google-nexus-5/

I found this download: https://www.androidfilehost.com/?fid=24588232905723790. and

in the OP of this thread, I found this download: https://www.androidfilehost.com/?fid=817550096634788058. Are they both "MiUI 8 Android 6.0.1 for Nexus 5"? I feel a bit confused, please clarify, thank you.

Edit: all files mention 6.0 not 6.0.1 and not found in:https://www.androidfilehost.com/?w=files&flid=74340

SLo
[Nexus 5 Android Development] losl1946:
Please add "Canada" to the region page, thank you.

SLo
[Nexus 5 Android Development] daedric:
I believe the first is MIUI V6, while the last is MIUI V8.
[Nexus 5 Android Development] losl1946:
How could i get this "libmmcamera_interface.so" file of the factory Nexus 5? Would someone please post this file or its download link here!

Thank you!

SLo
[Nexus 5 Android Development] Rebuman:
You must have a Root File manager and paste/replace this file into /system/lib and set permission of the file to -rw-r--r-- (644)
[Nexus 5 Android Development] losl1946:
Thank you, i will give it a try .

SLo
[Nexus 5 Android Development] daedric:
After 134 pages, with multiple options, ideas, and rom+kernel+tweaks combos, i believe it's wise to ask:

Which version did you flash ?

Which kernel are you using ?

What about gapps?

Any other tweak or mod ?

BTW, anyone kind enough to point me in the direction of another rom similar to this one (device itself doesn't matter) where i can steal the miui launcher apk ?

I believe that's the only thing bugged in the Portuguese language.
[Nexus 5 Android Development] lelemito95:
Base AOSP no mirrors found, or find texas mirror but do not download... pls fix..
[Nexus 5 Android Development] solved:
that's an issue with AFH , he can't fix that ..

so is MIUI dead? no Update / Patch against this BlueBorn BT?
[Nexus 5 Android Development] M Asad Khilji:
[MENTION=7096343]Dio_S[/MENTION] Since MIUI 9 has launched and is amazingly fast with cool features.

Can that be ported to our beloved Nexus 5?
[Nexus 5 Android Development] nitrunter:
Hi, sorry my bad English

WhatsApp audios crash system un cm build

How fix? Thanks

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Android Development] vietales:
Hi, sorry my bad English

How to root this ROM?

Thanks!
[Nexus 5 Android Development] hajking:
i think that can but there is no topic for miui9 so i will try to port it.

you dont have to flash supersu or magisk etc... go to settings permissions>root permissions
[Nexus 5 Android Development] Rebuman:
Every time i listen a rec in whatsapp, launcher crash with error "com.android.systemui has stopped working". Someone has the same problem ?
[Nexus 5 Android Development] vietales:
Pls help me fix this error. I cant download any thing from internet
[Nexus 5 Android Development] Neroi:
crash system

I have same problem

have you solved it?
[Nexus 5 Android Development] ovu85:
Just flashed AOSP version, works very fine and battery life is amazing!

Any clues how to can notifications from Whatsapp and facebook messenger wake the screen?
[Nexus 5 Android Development] fhlawa:
same with me i think it's a rom issue , also problem with time needs internet afer reboot , and whatsapp voicenote crashs system ui , xposed framework cause bootanimation endless..!!

hope the dev make an update and fix that
[Nexus 5 Android Development] lillo9546:
Miui 9 on the nexus 5 would be something awesome! Could you try to port it?
[Nexus 5 Android Development] chyri1:
Settings always stop in setup, what can I do?
[Nexus 5 Android Development] hitman1376:
Anyone got any Idea how to enable the wake from cover's magnetic lid opening ?
[Nexus 5 Android Development] RioFebrian:
thanks bro
[Nexus 5 Android Development] WNSTNSNRS:
Any known bugs on the final version? I want to flash this on my n5. Thanks
[Nexus 5 Android Development] M Asad Khilji:
[MENTION=7096343]Dio_S[/MENTION], will you work on MIUI 9 ?
[Nexus 5 Android Development] ovu85:
would we have any chance to see miui 9 on the beloved Nexus 5?
[Nexus 5 Android Development] Avez8959:
after flashing it will ask MI account Password and don't belong this MI account... how can i skip login step or sign in new Mi account
[Nexus 5 Android Development] s_mondal:
miui 8 for nexus 5

I have installed the miui 8 for nexus 5 hammerhead from this forum but this rom is draining battery too much and heating very much . Miui rom was good and i would suggest the developers plz consider this issue.
[Nexus 5 Android Development] looney_tkp™:
this is why i stopped using it years ago...
[Nexus 5 Android Development] mnsiw:
Riz thanks for sharing this, I have some Xiaomi devices running MIUI 9, so switched my old Nexus 5 (and 6) to this ROM, your suggested ROM version, kernel and settings are working really well, initially it was bit laggy but now it's good.
[Nexus 5 Android Development] rizkhan999:
Thankx. Btw your signature shows that you are using AOSP. Kindly tell me which android version? Secondly does it have the low speaker volume issue as is the case with AOSP Extended rom?
[Nexus 5 Android Development] mnsiw:
N5 is not my primary device, don't know why it was showing ASOP in signature, it was the ROM downloaded from the link in your post, the Russian one. For now I have restored it back DU 8.1 (my favorite one).
[Nexus 5 Android Development] rizkhan999:
Sorry its a bit off-topic. Any bug in Dirty Unicorns 8.1? Like low speaker volume or anything of any sort?
[Nexus 5 Android Development] mnsiw:
Maybe there are some bugs, but I haven't notice any so far, I think voice distortion on bluetooth calling :confused:
[Nexus 5 Android Development] Avez Khan:
please help I got a problem after install this rom. my device say it will existing other mi account cz i buy this phone on olx so i didn't know the passport. i have my own MI account but it wants only existing account what can I do?
[Nexus 5 Android Development] solved:
Go to the Website change the password and try again
[Nexus 5 Android Development] Avez8959:
I know my MI account Password but I don't knw existing account which can added by someone.. so how can i change password without any knowledge about it.
[Nexus 5 Android Development] solved:
just reset the password .. u don't need to know the actual one
[Nexus 5 Android Development] M Asad Khilji:
[MENTION=7096343]Dio_S[/MENTION] Will you port MIUI 10 ? It is available for Mi4 now.

Link: http://bigota.d.miui.com/V10.1.1.0.MXGCNFI/miui_MI4LTECT_V10.1.1.0.MXGCNFI_282a6572ea_6.0.zip

Edit: I'm working on Porting MIUI10 to Nexus 5 :) Can you help ? ;)
[Nexus 5 Android Development] b_ophir:
Do you get full contact photo in call screen?

---------- Post added at 09:32 PM ---------- Previous post was at 09:25 PM ----------

It's actually accessible by pressing the person icon on the top left of the main theme screen> costumize the [emoji3]
[Nexus 5 Android Development] Fast-Droid:
Not really sure what your asking..Im only able to see a small circle with a photo i assigned for the contact when im in the contact or call screen..
[Nexus 5 Android Development] b_ophir:
When you receive a call
[Nexus 5 Android Development] Fast-Droid:
Nice..I never tried the upper left icon lol..Thanks..I was getting tired of putting my phone into airplane mode to customize my themes.. :good:
[Nexus 5 Android Development] Fast-Droid:
Im getting the small circle with no pic when i receive a call even if the contact has an assigned photo..
[Nexus 5 Android Development] Dio_S:
After synchronizing your contacts, just open contacts with photos and wait a bit the image will load if if does not work reboot and try again, this working for me.

Sorry my english.
[Nexus 5 Android Development] Dmitry ExTip:
you'll excuse me , and from where have version 6.7.2 miui ???? yet it is no where !!!
[Nexus 5 Android Development] Dio_S:
Version 6.7.2

6= Miui Version (beta)

7= Month update

2= day that the update was launched

Versions are named after the date of its release. E.g. the update released at June 6, 2016 is named 6.6.16
[Nexus 5 Android Development] Wazowski1:
omg is beautiful, let's see how I can take with it xD

thx

Regards
[Nexus 5 Android Development] izzyserious:
Man, I can't remember the last time I didn't have MMS issues on this phone, with ANY rom. Mms messages always start failing to send and receive like the day after I flash a new rom, no matter what APN settings I use(straight talk) it never works for very long afterwards. It randomly sends and receives some every now and then, but never consistently
[Nexus 5 Android Development] Bluekolsky:
Clock mod not working

Just flashed the ROM and everything is working fine, but the clock mod. I tried reinstall the rom twice and nothing changed, when I'm at clockwordmod trying to flash the mod it says "this update is only for hammerhead devices and this is '' '' " that what it says. Do you already knows how to fix this? I'd love to get this mod working properly! Oh! And keep up with your incredible work! You're amazing! Thank you from now.
[Nexus 5 Android Development] Bluekolsky:
clock mod

Dude, how did u get the clock mod to work? I mean, I'm trying to flash after the ROM first boot, but it says "This update is only for hammerhead devices; This is a '' '' " that what it says. Im using clockworkmod recovery, did u use TWRP?
[Nexus 5 Android Development] izzyserious:
I used twrp and it worked fine after flashing... Although last night, the centered clock in status bar froze somehow and stopped updating the time. My widget in home screen was up to date. Noticed when i look-up and realized it was a good 45 minutes later than it said on my status bar time. Reboot fixed it for now, but i can see that making me late for something potentially lol. Not sure if it was guaranteed the mod that caused it or not, as I flashed the mod right after I flashed the rom.
[Nexus 5 Android Development] Dio_S:
[MENTION=7575578]Bluekolsky[/MENTION]

Flash de Mod Center clock using TWRP no caf.

I tested the mod and is working.
[Nexus 5 Android Development] Dio_S:
Version 6.7.7 official (en.miui.com) :confused:
[Nexus 5 Android Development] morfances:
Miui 6.7.7 is out

http://gizchina.it/2016/07/xiaomi-6-7-7-china-developer-changelog/

There are hopes for an update of this beautiful unofficial?
[Nexus 5 Android Development] Dio_S:
New update will be delayed due to white navbar implements the official version, Attached post #135

I plan to update this ROM one or two once a month, or as needed, and also depedende of my free time.

Sorry my english
[Nexus 5 Android Development] morfances:
Ok, I'll wait .
[Nexus 5 Android Development] Fast-Droid:
Xposed/ Miui tweaks.apk/ IOS status bar
[Nexus 5 Android Development] ast00:
Did anyone get Viper4Android working? I tried setting SELinux to permissive to allow it to work, but it resets when I reboot.

I've done this many times on many ROMs, but I just can't get it to work on this.
[Nexus 5 Android Development] Fast-Droid:
Just flashed 6.7.7. navbar reposition works but the nav keys are really close to each other lol..Using ''lite mode'' now its pretty good..Excited for next update :good:
[Nexus 5 Android Development] Dio_S:
Read the post: http://en.miui.com/thread-217297-1-1.html
[Nexus 5 Android Development] RevUnix:
from MIUI 7 to MIUI 8 works via. durty flash?