Which custom stable kernel for wireguard and maximum battery life? - Xiaomi Poco F1 Questions & Answers

Hi, I'm a big fan of LineageOS and use the standard LOS kernel without rooting my phone. I want to have a kernel with wireguard support. I don't care about any other feature, only stability and battery life. So I guess the less changes the better.
Is there a comparison somewhere for all the available custom kernels for beryllium?
I've never used a custom kernel before, which one should I use?
Thanks!

Arter97 kernel
6~8% drops per hour without gaming

Related

Stock and Custom Kernel

So I was wondering, I notice that there are several advantages of using Custom build Kernel over the Stock Kernel, such as extended battery life, overclock cpu, that gave smoother performance, etc.
However, if the kernel can be tweak and customize to that extend that give your phone to a very great performance, lag free, great battery life, why don't the manufacturer (Sony, Samsung, etc) apply these things to their Stock Kernel, the things that the freelance developer's been doing to their Custom Kernel? Is there any reason that blocking them from maximizing their phone's performance for the customers?
Because what oem after is stability, not perfomance. Many of the things applied in custom made kernel is not well tested, some dirty hack here and there.
If we compare ratio of we xda user, we the geek, we who like to flash our phone several times a day to all cumulative android users in the world, we are minority.
Many of them just want to use their phone as a phone, not to reflash it over and over to fix bugs that came with the custom made things.

[Q] why no bln support in most custom roms?

I am a big fan of custom ROMS, to be more accurate cyanogenmod. And I like it just like that, without changing kernel or other mods. The downside is it not supporting bln.
Nowadays I am giving a try at Cyanogenmod 11 M9 + Gustavo_s Kernel just because of bln but I am not happy with battery.
So my question is why don't major custom roms support bln? Since our device has no led i see this as a great feature.
most likely for battery saving, having 2 leds always on when you have a notification will and does drain your battery can cut off a significant amount off my battery life

Planned to build kernel, but for better stability and battery life, miui or cm?

So my new redmi 3 is on its way. I've chosen this phone over redmi 4a because of kernel source already available. I love tinkering, modifying and compiling kernel. But before doing so, I need to know which rom are stable for daily usage, with better battery life and overall stability, because I'll be compiling the kernel against the rom and I'll be looking into the kernel source while waiting for the phone to arrive.
From my reading on the threads here so far, I understand that miui roms have better battery life than cm roms, is that still true? Is it noticeable better on miui compared to cm? How about stability, are cm roms still buggy?
Thank you for any feedback :highfive:
LineageOS ?
Inviato dal mio Redmi 3 utilizzando Tapatalk
CM ROMs are really really stable. For me, they feel more stable than MIUI simply because some of the MIUI modifications make some apps bug out (like the battery saver and notification shade).
On the battery side, though, MIUI is way ahead of CM in terms of battery. The hotplug in CM ROMs is INCREDIBLY bad. The one in the latest LineageOS build is always keeping 1 BIG core active (that's the default setting for it) and turns on BIG cores at any touch of the screen. Previous builds had no hotplug, and other CM-based ROMs have some horrible hotplug who turns on little cores and high demand and always keeps the BIG ones active. All of them. Seriously, some ROMs heat up faster when keeping the phone idle with the screen on than MIUI does with hotspot active.
As a battery comparison, MIUI has like 8-9 minutes/1% and CM had 2-3 minutes/1% (SoT) for light tasks. It's now better for CM, like 5-6 minutes, but still a lot behind.
Since you want to modify the kernel, the above battery issue is something you might want to modify, though. You could even get some contributions for LineageOS to make it better for everyone.
vlt96 said:
CM ROMs are really really stable. For me, they feel more stable than MIUI simply because some of the MIUI modifications make some apps bug out (like the battery saver and notification shade).
On the battery side, though, MIUI is way ahead of CM in terms of battery. The hotplug in CM ROMs is INCREDIBLY bad. The one in the latest LineageOS build is always keeping 1 BIG core active (that's the default setting for it) and turns on BIG cores at any touch of the screen. Previous builds had no hotplug, and other CM-based ROMs have some horrible hotplug who turns on little cores and high demand and always keeps the BIG ones active. All of them. Seriously, some ROMs heat up faster when keeping the phone idle with the screen on than MIUI does with hotspot active.
As a battery comparison, MIUI has like 8-9 minutes/1% and CM had 2-3 minutes/1% (SoT) for light tasks. It's now better for CM, like 5-6 minutes, but still a lot behind.
Since you want to modify the kernel, the above battery issue is something you might want to modify, though. You could even get some contributions for LineageOS to make it better for everyone.
Click to expand...
Click to collapse
Thank you for the reply!
The hotplug issue can easily be mitigated by either adding thirdparty hotplug standalone driver or inbuilt in cpu governors. I'm not sure which hotplug implementation does default miui/cm kernel uses, either standalone driver or inbuilt in cpu governor because i dont have the phone yet, but adding thirdparty standalone hotplug driver are definitely in my plan for the kernel. They usually give much more refined control on the cpu core hotplugging mechanism. Plus with thirdparty thermal driver, it should be way better than the default one in those miui/cm kernels.
Actually i like cm based rom better than miui, but reading the cm/mokee/rr threads made me believed that they're more buggy and more battery hungry than miui roms.
nulldash said:
Thank you for the reply!
The hotplug issue can easily be mitigated by either adding thirdparty hotplug standalone driver or inbuilt in cpu governors. I'm not sure which hotplug implementation does default miui/cm kernel uses, either standalone driver or inbuilt in cpu governor because i dont have the phone yet, but adding thirdparty standalone hotplug driver are definitely in my plan for the kernel. They usually give much more refined control on the cpu core hotplugging mechanism. Plus with thirdparty thermal driver, it should be way better than the default one in those miui/cm kernels.
Actually i like cm based rom better than miui, but reading the cm/mokee/rr threads made me believed that they're more buggy and more battery hungry than miui roms.
Click to expand...
Click to collapse
Buggy, not at all. Battery hungry not really, just that MIUI has better optimisations.
My vote is for CM/Lineage. I am currently on Mokee CM/Lineage Marshmallow. It would be great if there was a hotplug option available.
Please build it for CM/LineageOS
It would be nice if you can add better hotplug driver and options to underclock the GPU for better battery life
@nulldash check PM
Hello,
I'm actually vote for LineageOS based ROMs instead because the kernel source is complete. Xiaomi's official source code doesn't include Prima WiFi driver.
OP, choice is on your hand, and up to you. We could only expect for things to come.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Hello,
I'm actually vote for LineageOS based ROMs instead because the kernel source is complete. Xiaomi's official source code doesn't include Prima WiFi driver.
OP, choice is on your hand, and up to you. We could only expect for things to come.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
i actually already expected that their original source are incomplete and broken like what they always did with their kernel source release, hence i'm syncing cm14.1 kernel source. unless cm did major changes in their source especially in graphic driver, the kernel would theoretically boot on any lp, mm and n roms if using anykernel zip installer.
already succesfully built the kernel but my phone didnt arrive yet to test :laugh:
nulldash said:
already succesfully built the kernel but my phone didnt arrive yet to test :laugh:
Click to expand...
Click to collapse
Lol,
As for AnyKernel2 template, we need to remove BusyBox in order for the template to work correctly. I've uploaded the modified one if people want to use it as the base (it's also a part of my build script).
Sent from my ASUS_Z00A using XDA Labs
I have always wondered how to achieve great camera results with custom Roms. I know it is kind of off-topic, but it would be nice to have a kernel with xiaomi's camera source for lineageOS etc. Though, I have no idea if the kernel source release included camera sources.
George_ioannidis said:
I have always wondered how to achieve great camera results with custom Roms. I know it is kind of off-topic, but it would be nice to have a kernel with xiaomi's camera source for lineageOS etc. Though, I have no idea if the kernel source release included camera sources.
Click to expand...
Click to collapse
I think no. Blame Xiaomi why they release incomplete sources
Sent from my ASUS_Z00A using XDA Labs
I prefer MIUI and I would appreciate the function DT2W (double tap to wake).
The most stable rom I've ever seen is RRemix. Battery life is great and there are no bugs (at least I did not see)
vesi said:
I prefer MIUI and I would appreciate the function DT2W (double tap to wake).
Click to expand...
Click to collapse
There is already a kernel for miui with dt2w. I would like one for lineage with dt2w
Enviado desde mi Redmi 3 mediante Tapatalk
could anyone upload, or just paste the content of /system/etc/init.qcom.post_boot.sh please? if want to paste please use code tags to preserve whitespace
nulldash said:
could anyone upload, or just paste the content of /system/etc/init.qcom.post_boot.sh please? if want to paste please use code tags to preserve whitespace
Click to expand...
Click to collapse
I'm on lineage official nightly, can't find what are you looking for
ainurrofiq said:
I'm on lineage official nightly, can't find what are you looking for
Click to expand...
Click to collapse
It's on the root of the ramdisk.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
It's on the root of the ramdisk.
Click to expand...
Click to collapse
So I have to unpack boot.img first?
I'll send boot image for you
---------- Post added 26th January 2017 at 12:23 AM ---------- Previous post was 25th January 2017 at 11:56 PM ----------
ainurrofiq said:
So I have to unpack boot.img first?
I'll send boot image for you
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B4H7TUQI5FnxSU8tZEVKam83a0E/view?usp=sharing

Best Kernel settings for battery and performance?

Hey everyone!
First of all, I hope I'm writting in the right subforum.
Anyway, I've first rooted my OPX and flashed it with SultanROM about 2 or 3 months ago, with hopes of getting more out of my phone. Fast forward to the present time, and I've accumulated some knowledge on the whole ROM - Kernel tweaks and have changed now to CM13 ROM and flashed Arsenic Kernel after.
Then I found out Kernel Adiutor and saw that I can basically now tweak Arsenic even more, with many functions of the said app.
I just want to get a discussion going on what did you guys do to achieve better battery life ( i currently avg about 3-3,5h SOT), without sacrificing the performance too much, as all the options I have available in Kernel Adiutor are still a bit confusing to me.

Battery life with Custom Kernel

Hey,
First of all thanks to all the support from you.
I want to switch back to MIUI 8 developer, but I want a good battery backup( At-least 1.5 days).
I want to ask that do custom kernels really make any difference?
I know that CPU Governors may affect performance and battery life, but will custom kernel really work?
Can someone tell what is the difference (Idle drain, SOT, etc. ) between the battery lives with stock MIUI kernel and with Custom Kernel.
Adarsh2000 said:
Hey,
First of all thanks to all the support from you.
I want to switch back to MIUI 8 developer, but I want a good battery backup( At-least 1.5 days).
I want to ask that do custom kernels really make any difference?
I know that CPU Governors may affect performance and battery life, but will custom kernel really work?
Can someone tell what is the difference (Idle drain, SOT, etc. ) between the battery lives with stock MIUI kernel and with Custom Kernel.
Click to expand...
Click to collapse
Anyone?

Categories

Resources