[HELP][KERNEL]I'm a newbie on kernel flashing and I have a few questions. - Xiaomi Mi A1 Questions & Answers

Hello. First of all, i have experience flashing roms on my phone (I have my bootloader unlocked already, and i have root permissions), but right now I'm on stock pie, up to date with last updates. I noticed that my kernel is 3.18.xx.
The last couple of days I have been doing some tweaking to my phone, and I'd like to have as much battery life as possible, so, of course, I read about different kernels like lightning, franco's, extreme, and so on.
The thing is that, for example, for lightning, which seems the only one that still supports A1, I have to be on kernel 4.9 and using a custom rom.
My questions are:
Is it mandatory to be on a custom rom to flash a custom kernel? or
Is it possible to flash a custom kernel under a stock rom? If that's the case,
Should I update my kernel to 4.9 by flashing a stock kernel? Or I can apply a custom kernel directly?
Honestly, most of this is pretty confusing to me since there isn't as much info on kernels/flashing kernels like there is for flashing roms.

Leito360 said:
Hello. First of all, i have experience flashing roms on my phone (I have my bootloader unlocked already, and i have root permissions), but right now I'm on stock pie, up to date with last updates. I noticed that my kernel is 3.18.xx.
The last couple of days I have been doing some tweaking to my phone, and I'd like to have as much battery life as possible, so, of course, I read about different kernels like lightning, franco's, extreme, and so on.
The thing is that, for example, for lightning, which seems the only one that still supports A1, I have to be on kernel 4.9 and using a custom rom.
My questions are:
Is it mandatory to be on a custom rom to flash a custom kernel? or
Is it possible to flash a custom kernel under a stock rom? If that's the case,
Should I update my kernel to 4.9 by flashing a stock kernel? Or I can apply a custom kernel directly?
Honestly, most of this is pretty confusing to me since there isn't as much info on kernels/flashing kernels like there is for flashing roms.
Click to expand...
Click to collapse
If you wanna custom kernel on stock, find one there that the kernel version is 3.18, like eXtreme Kernel for example.
By flashing 4.9 kernel on stock will cause issues. 4.9 custom kernels are only for Custom ROMs that comes with Kernel 4.9 already.

i have tried Extreme kernel and Moun kernel 6.2 version on srock pie both r working good but i suggest extreme kernel you can choose oc version and non-oc version
---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------
http://t.me/eXtremeKernel_Channel
here is the extreme kernel telegram channel link you can download from here

ranjodhricky said:
i have tried Extreme kernel and Moun kernel 6.2 version on srock pie both r working good but i suggest extreme kernel you can choose oc version and non-oc version
---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------
http://t.me/eXtremeKernel_Channel
here is the extreme kernel telegram channel link you can download from here
Click to expand...
Click to collapse
Thank you. I'm glad you tried ex-kernel. My idea was to use it to limit the clocks of my cpu and maybe reduce the number of cores… i'm a little obsessed with battery saving… i have no isues with draining, but since i charge my phone to 80% i'd like to get the most of my battery. Could you tell me if you perceived better battery life with that kernel?
Enviado desde mi Mi A1 mediante Tapatalk

Related

[Q] Rooting, flashing custom rom but necessary to flash a kernel as well?

Hi,
Quick question I am still having trouble wrapping my head around the concept about kernels. I am planning to root my nexus 4 and flash a custom rom (purity rom) but am i required to also flash a custom kernel? Or am I suppose to leave the kernel as is?
Thanks!
Next123 said:
Hi,
Quick question I am still having trouble wrapping my head around the concept about kernels. I am planning to root my nexus 4 and flash a custom rom (purity rom) but am i required to also flash a custom kernel? Or am I suppose to leave the kernel as is?
Thanks!
Click to expand...
Click to collapse
Depends upon your requirement .
As an example i use Fast USB charge a lot and is not available in any custom rom .
I also use Headphone volume boost which is yet again a kernel level change.
I would suggest you to use a custom kernel since it also gives better battery than stock .
If you are happy without it then forget about kernels . And in case u plan on flashing one make a CWM backup just in case.,
You could if you want to since you're already flashing custom roms. However, most custom rom come with custom kernel, so when you flash a custom rom it will replace your kernel with it's own. You can manually flash back your stock kernel if you want, using fastboot, but there is a flashable package as well in the Dev section.
Just know that due to codes and drivers, different kernels work with different roms. If you flash a 4.3 kernel to a 4.4 rom, it might lack certain necessary driver, such as PRIMA, so your wifi will no longer work. (You can fix this by flashing dePRIMAtor). CyanogenMod use Code Aurora Forum drivers, so if you use a kernel that doesn't support CAF, the screen colors will be messed up (you can lash a colorfix package which replace it with the non-CAF liboverlay.so).
A lot of people get wrapped too far up into flashing kernel and thinking it determine everything (performance + battery life) in their phone. As much of a heavy flasher that I am, I am willing to bet that you generally get the best battery life and stability just running stock. I did my own trial for this, with stock rom and kernel, the phone staying cooler and screen on time was longer. This is just my personal experience, it varies for each person.
But I mainly use custom kernel for features. Such as kernels that incorporate Faux color and sound, this allows changing their settings for much a better screen color and making the speaker louder. I also use the sweep2wake/sleep feature to turn on and off the screen.
If you intend to use custom kernels, I recommend using TricksterMod, it's the best app for modifying kernel settings.
Also just to mention this ahead of time, it's against XDA rules to make threads about what is the best rom/kernels.

Kernel for Stock MIUI?

I really want to use Stock MIUI, but I want a custom kernel, so I can control temperature and other stuff. And now that Xiaomi released kernel sources I'd thought I'd find a kernel easily here. So if anyone has a kernel with thermal for Stock MIUI on kitkat, please share it

[Help] [Question] Which ROM of Lollipop is stable without lags?

Hello guys, im a n00b but yet i carry great intrest in android, recently switched from iphone to a6000 - so which ROM of A6000 model is stable the most in your opinion and in lollipop. I have tried cyanogen 12.1 (both 32bit by ED-300 and 64bit by satagass or uber_dimion) with kernel of Telo however after opening a few apps my phone freezes and screen goes black and its a complete overkill for a tech savy, so can you please give suggestions of which rom with which kernel is best compatible and any other tweaks i may be missing out on. Also is there a way to disable autostart apps that run such as facebook messenger when you fresh boot the phone. Thanks in advance =) Cheers :good:
Im currently using CM 12.1 by ED300 with Phantom Kernel, rom is very stable and minimal lag. I think its one of the best roms for A6000 including MIUI 7 (russian build)
u5man4 said:
Hello guys, im a n00b but yet i carry great intrest in android, recently switched from iphone to a6000 - so which ROM of A6000 model is stable the most in your opinion and in lollipop. I have tried cyanogen 12.1 (both 32bit by ED-300 and 64bit by satagass or uber_dimion) with kernel of Telo however after opening a few apps my phone freezes and screen goes black and its a complete overkill for a tech savy, so can you please give suggestions of which rom with which kernel is best compatible and any other tweaks i may be missing out on. Also is there a way to disable autostart apps that run such as facebook messenger when you fresh boot the phone. Thanks in advance =) Cheers :good:
Click to expand...
Click to collapse
If you want extreme battery life, try CM11 with chappil's MoStock Kernel. But, I would suggest MIUI7 Russian Build with weekly updates. It has good battery life for everyday use and doesn't have any lags. Also, it has beautiful UI and you can apply a no. of themes from the MIUI store. And, it has USB Fast Charging and OC included in its stock Kernel. Other kernels like GoD's Kernel and Phantom Kernel works with it too, and has no bugs. :fingers-crossed: :silly:
sasukay said:
If you want extreme battery life, try CM11 with chappil's MoStock Kernel. But, I would suggest MIUI7 Russian Build with weekly updates. It has good battery life for everyday use and doesn't have any lags. Also, it has beautiful UI and you can apply a no. of themes from the MIUI store. And, it has USB Fast Charging and OC included in its stock Kernel. Other kernels like GoD's Kernel and Phantom Kernel works with it too, and has no bugs. :fingers-crossed: :silly:
Click to expand...
Click to collapse
=) thanks alot for your opinion, at the moment im running stock lollipop 5.0.2 (lenovo) with Telo kernel and so far so good, the ram management is excellent and no lags compared to cyanogen although that seemed to be alot snappier in use
do you use FB and messenger ver main ?
---------- Post added at 02:16 PM ---------- Previous post was at 02:11 PM ----------
u5man4 said:
=) thanks alot for your opinion, at the moment im running stock lollipop 5.0.2 (lenovo) with Telo kernel and so far so good, the ram management is excellent and no lags compared to cyanogen although that seemed to be alot snappier in use
Click to expand...
Click to collapse
do you use FB and messenger ver main ?
can anyone plzz give the link of miui Russian build
Shivanshkhare100 said:
can anyone plzz give the link of miui Russian build
Click to expand...
Click to collapse
Here's the thread for MIUI 7 russian build. And here's the link of the latest MIUI v6.5.26.
The OP has not updated the thread yet, so download the latest version from the above link.
MrTaxii said:
do you use FB and messenger ver main ?
---------- Post added at 02:16 PM ---------- Previous post was at 02:11 PM ----------
do you use FB and messenger ver main ?
Click to expand...
Click to collapse
yes i do

Kernel in 2020

Hello everyone,
I'm using a 2gb Redmi 3s and running Pixel Reloaded pie ROM. Which kernel would you suggest me to flash?
Also can I flash the kernel now without formatting or re flashing the ROM?
I was looking at Chimera, anything better than it for gaming plus a bit good battery backup?
I am running LOS 15.1 based e/ OS on my 2GB variant(because of less RAM consumption). The stock kernel is very barebones and doesn't expose much features to the user. I flashed Chimaera and it works well. Battery backup,performance and idle drain , everything is A-OK.
amn1987 said:
I am running LOS 15.1 based e/ OS on my 2GB variant(because of less RAM consumption). The stock kernel is very barebones and doesn't expose much features to the user. I flashed Chimaera and it works well. Battery backup,performance and idle drain , everything is A-OK.
Click to expand...
Click to collapse
Have you used any Pie ROM which worked well on 2gb variant with enough free RAM?
I tried most of them and they only let around 200 mb RAM free...
LOS 16 + Magisk + FDE.ai
harshitsharma03082005 said:
Have you used any Pie ROM which worked well on 2gb variant with enough free RAM?
I tried most of them and they only let around 200 mb RAM free...
Click to expand...
Click to collapse
Among Pie ROMs, I have only tried AEX 6.7. It used 1.3-1.4GB RAM after fresh boot, all stock, no GApps. LOS by e/ foundation (with microG integrated ) averages only around 800-850MB leaving almost a gigabyte available for use. Multi-tasking is now viable once again. Land is my secondary device but it still wasn't a pleasant experience with Pie ROMs. I have also flashed the low RAM enabler patch.
P.S. Carbon Oreo uses 1-1.1GB RAM reportedly.
Oh and have you tried Hyper kernel which was updated very recently? Officially only compatible with P/Q but it worked well in O. But since exFAT support seemed to be missing I switched over to Chimaera.
Thanks to both of you. I will try both of the ROMS as suggested by both of you ASAP.
Once again, thanks to help me..
After using Chimaera kernel for almost a month I can now say that it excels when it comes to idle drain. Mostly 0.2-0.3%/h. Many a times goes below 0.1%/h. Active drain is decent and on par with stock LOS kernel 8-10%/h. General performance is as good as can be expected. No bugs so far.
Oh and here's the link to e/ OS for land in case you are interested
https://doc.e.foundation/devices/land/install
harshitsharma03082005 said:
Hello everyone,
I'm using a 2gb Redmi 3s and running Pixel Reloaded pie ROM. Which kernel would you suggest me to flash?
Also can I flash the kernel now without formatting or re flashing the ROM?
I was looking at Chimera, anything better than it for gaming plus a bit good battery backup?
Click to expand...
Click to collapse
I think stock kernels is good nowadays ( android 9/10 ) since 3.18.x kernel isnt get any update/upstream by linux ( EOL ), so we cant expect any custom kernel update
harshitsharma03082005 said:
Have you used any Pie ROM which worked well on 2gb variant with enough free RAM?
I tried most of them and they only let around 200 mb RAM free...
Click to expand...
Click to collapse
Use nicheream's lineage os it has Linux 4.9 kernel and 700-800 mb free ram on 2gb model it's the smoothest rom for this device.
I'm having havoc OS 3.6, android 10, can I change the kernel for better battery performance and which one do you suggest?
I'm trying to flash a kernel (chimera) with twrp 3.2.2.0 on my 3s but, i have havoc os rom 3.6 with sd card as internal storage, so when i try to flash anything, twrp cant see internal storage (0MB) - I/O error...
Is there a way of bypassing this problem without formating everything?
PanosT said:
I'm trying to flash a kernel (chimera) with twrp 3.2.2.0 on my 3s but, i have havoc os rom 3.6 with sd card as internal storage, so when i try to flash anything, twrp cant see internal storage (0MB) - I/O error...
Is there a way of bypassing this problem without formating everything?
Click to expand...
Click to collapse
Chimaera isn't officially supported on Android 10 ROMs.
Your recovery is really old. Latest is 3.4.0 R3. Flash the latest TWRP/Orange Fox(I use this) /Pitch Black Recovery etc.
amn1987 said:
Chimaera isn't officially supported on Android 10 ROMs.
Your recovery is really old. Latest is 3.4.0 R3. Flash the latest TWRP/Orange Fox(I use this) /Pitch Black Recovery etc.
Click to expand...
Click to collapse
I took this screenshot showing havoc os 3.6 with chimera kernel.
1. Was this kernel the default kernel on havoc, or have i somehow managed to flash it?
2. Suddenly double tap stopped waking the device, could this be a result of flashing chimera kernel (in case this wasn't the default kernel)?
PanosT said:
I took this screenshot showing havoc os 3.6 with chimera kernel.
1. Was this kernel the default kernel on havoc, or have i somehow managed to flash it?
2. Suddenly double tap stopped waking the device, could this be a result of flashing chimera kernel (in case this wasn't the default kernel)?
Click to expand...
Click to collapse
That's strange because AFAIK Chimaera isn't the stock kernel in Havoc Q. Also Chimaera supports DT2W. Use any kernel manager to activate it. If using Franco Kernel Manager check under Kernel settings>Miscellaneous, in Smartpack/Darkness kernel mgr. under Wake Gestures etc.
And you really need to update the recovery if you haven't already. It will solve the issue of not being able to handle encrypted partitions. Plus the ability to deal with ROMs with 4.9 kernel.
amn1987 said:
That's strange because AFAIK Chimaera isn't the stock kernel in Havoc Q. Also Chimaera supports DT2W. Use any kernel manager to activate it. If using Franco Kernel Manager check under Kernel settings>Miscellaneous, in Smartpack/Darkness kernel mgr. under Wake Gestures etc.
And you really need to update the recovery if you haven't already. It will solve the issue of not being able to handle encrypted partitions. Plus the ability to deal with ROMs with 4.9 kernel.
Click to expand...
Click to collapse
1. Is there a way of returning to havoc's default kernel back again without loosing apps n' settings? (I couldn't back up at twrp because of the old version...).
2. Are there any roms now that use kernel 4.9?
You've been very helpful so far! Thank you very much!
PanosT said:
1. Is there a way of returning to havoc's default kernel back again without loosing apps n' settings? (I couldn't back up at twrp because of the old version...).
2. Are there any roms now that use kernel 4.9?
You've been very helpful so far! Thank you very much!
Click to expand...
Click to collapse
If you have the original ROM zip just extract the boot.img from it and flash it in recovery while choosing the partition type as "boot" when asked.
There are more than a few kernels running 4.9. LOS 17.1 unofficial, Corvus OS latest, Pixel-Reloaded latest etc. with more expected to follow. All are Q ROMs. There was even earlier one, LOS 16 by nichcream who was in fact the first to bring 4.9 kernel for land. But it was closed source. The recent release OTOH is open source. Performance wise reportedly pretty good but idle drain is quite high for now.
amn1987 said:
If you have the original ROM zip just extract the boot.img from it and flash it in recovery while choosing the partition type as "boot" when asked.
There are more than a few kernels running 4.9. LOS 17.1 unofficial, Corvus OS latest, Pixel-Reloaded latest etc. with more expected to follow. All are Q ROMs. There was even earlier one, LOS 16 by nichcream who was in fact the first to bring 4.9 kernel for land. But it was closed source. The recent release OTOH is open source. Performance wise reportedly pretty good but idle drain is quite high for now.
Click to expand...
Click to collapse
Can i flash one of those kernels as you described instead of havoc's kernel or it would be a hassle in terms of factionality?
PanosT said:
Can i flash one of those kernels as you described instead of havoc's kernel or it would be a hassle in terms of factionality?
Click to expand...
Click to collapse
No. 4.9 kernels can only work in ROMs that shipped with the same.
---------- Post added at 05:10 PM ---------- Previous post was at 05:05 PM ----------
PanosT said:
Can i flash one of those kernels as you described instead of havoc's kernel or it would be a hassle in terms of factionality?
Click to expand...
Click to collapse
What exactly are you trying to accomplish? Fixing high idle drain with Chimaera? Its true that Chimaera is very good in that aspect but its active drain is a bit high. LOS 16 Official is pretty good in both aspects but very little in the way of customization. I use the stock LOS kernel in AEX 6.7 for now. Battery backup is pretty good although idle drain at 0.8%/h is higher than in the LOS ROM itself.
amn1987 said:
No. 4.9 kernels can only work in ROMs that shipped with the same.
---------- Post added at 05:10 PM ---------- Previous post was at 05:05 PM ----------
What exactly are you trying to accomplish? Fixing high idle drain with Chimaera? Its true that Chimaera is very good in that aspect but its active drain is a bit high. LOS 16 Official is pretty good in both aspects but very little in the way of customization. I use the stock LOS kernel in AEX 6.7 for now. Battery backup is pretty good although idle drain at 0.8%/h is higher than in the LOS ROM itself.
Click to expand...
Click to collapse
Yes! I tried lineage 17.1, pixel experience plus and now havoc 3.6. I liked very much havoc with its customisation aspects but for some strange reason in my case it uses a lot of battery even at sleep mode. So i thought maybe i can use a deferent kernel...
Is aosp anywhere near havoc's customizing? I'm using the phone as primary, trying to revive it!
I want customisation ability and battery life, I don't play games, any suggestions?
Thanks again!
PanosT said:
Yes! I tried lineage 17.1, pixel experience plus and now havoc 3.6. I liked very much havoc with its customisation aspects but for some strange reason in my case it uses a lot of battery even at sleep mode. So i thought maybe i can use a deferent kernel...
Is aosp anywhere near havoc's customizing? I'm using the phone as primary, trying to revive it!
I want customisation ability and battery life, I don't play games, any suggestions?
Thanks again!
Click to expand...
Click to collapse
AEX has a good deal of customization (otherwise I wouldn't be using it!) but not as much as Havoc. I think the battery is either degraded or in need of calibration as I have had inconsistent results. Yesterday I could have achieved 12 hour SoT(purely web browsing with a little TElegram) but today it would struggle to breach 7-8 hours. Battery percentage occasionally doesn't budge at all for a long while but at other times it will drop few points within minutes. That being said with LOS kernel in AEX battery life is still decent. Accubattery estimates SoT at over 9 hours. YMMV.

Can I actually make this phone perform faster?

So I have the Indian variant of the device- ZB555KL, which performs even for basic, day to day stuffs like a colossal piece of crap. I was thinking of flashing some custom ROM, PE or LOS or whatever, but before going through all the troubles I just want have some confirmation that it's worth it, that the custom ROMs are noticeable faster than the crap Asus zenUI is. Anybody?
Which custom rom is stable and gives good performance for Asus zenfone Max pro M1 6gb variant
---------- Post added at 11:11 AM ---------- Previous post was at 11:07 AM ----------
ithehappy said:
So I have the Indian variant of the device- ZB555KL, which performs even for basic, day to day stuffs like a colossal piece of crap. I was thinking of flashing some custom ROM, PE or LOS or whatever, but before going through all the troubles I just want have some confirmation that it's worth it, that the custom ROMs are noticeable faster than the crap Asus zenUI is. Anybody?
Click to expand...
Click to collapse
I am a heavy app user, I basically have 100+ apps in my mobile, in stock pie, I had noticed few crashes and lagging, but now I am using LOS with PBH 29 EAS kernel and it gives satisfied performance with some crashes ( obvious thing for a custom rom). I would suggest to root the stock and flash any custom Kernel if performance is all you are sought after or wait for android 10 stock update ( going to release soon). Custom roms are for more features and looks..

Categories

Resources