[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Jonas Cardoso:
​

Frequently asked questions

Q: Will this conflict with any mod I'm using?

A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!

Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?

A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to [MENTION=5514152]Paget96[/MENTION] for the solution)

Q: Which version should I flash?

A: Flash kernel with toolchain that you prefer.

Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?

A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.

Q: What is the difference between the HMP and Miui kernel?

A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp

Q: Is your kernel secure?

A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.

Q: WiFi doesnt work for me.

A: Reflash ROM and Kernel.

Q: All variants of the Xiaomi Mi5 have the same CPU and GPU clock?

A: Yeeh.

Q: I have problems with the sound control of the speaker and microphone

A: Yeeh, I have too, bugs today, bugs tomorrow, bugs forever.

Q: What application can I use to configure the kernel?

A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.

Q: Can I use the kernel source in my ROM?

A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.

Q: Does your kernel support writing to the NTFS file system?

A: Yeeh, you can use flash drives and HD with NTFS via OTG.

Q: My cpu clock is locked in 1190Mhz with any governor.

A: Just disable the thermal control in the kernel temperature settings.

Q: I have problems with your kernel.

A: Take a logcat and kmesg, this website and this video should help you

Q: Why does my magisk and root disappear after installing your kernel?

A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.

Q: Does your kernel support Miui ROM?

A: Yes, support was added in "RC1.1".

Q: What is the "Battery" profile in the spectrum?

A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.

Q: What is the "Balanced" profile in the spectrum?

A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.

Q: What is the "Performance" profile in the spectrum?

A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.

Q: What is the "Gaming" profile in the spectrum?

A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.

Q: I want more information about your spectrum profiles.

A: Read this thread.

Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.

A: Read this thread.

​