Bad performance with custom kernel - Android Q&A, Help & Troubleshooting

Hello, I have compiled a custom kernel from LineageOS sources for my device (Galaxy A5 2017). My device is running crDroid 5.8, the kernel is build from the same sources as my custom kernel.
I only added a governor to my kernel and flashed the boot.img in TWRP.
But the problem is that the performance is really bad (phone is laggy, apps need 10 secs+ to start), even when NOT using the added governor.
Restoring the stock boot.img didnt fix the problem.
Any ideas?

Related

[Q] Kernel Module

Hi guys so am running a certain ROM based on JB 4.3 and kernel based 3.0.31, this particular kernel doesnt support undervolting. To enable undervolting do i install any undervolt module based on kernel 3.0.31 >>>system/lib/modules OR do i compile one from scratch( rather advanced)

[Question] Galaxy s6 kernel from source code & ROOT

Hi, i have success compiled kernel for Galaxy S6 (G9200 HK). For 5.0.2 is full working can root via pingpongroot.
BUT now i use 5.1.1 and have problem.
Have compiled kernel for 5.1.1 without ROOT it working good on stock ROM but i can't root my ROM.
After i try root via TWRP, i tried use (SuperSU v2.52 and another versions)
After i root my ROM i have bootloop and frezzes.
I too tried use custom kernels with integrated root and it working good!
But i need have selfcompiled kernel, because i want have mac80211 support.
Now i have question.
How i can compile kernel with root inside without have bootloop.??
My selfcompiled kernels for 5.1.1 working good but without root. I must have root :/
Samsung have special security lock rooted phone in kernel another than the one below?
Or my problem is i don't know how compile kernel with unchecked restriction feature?
I know that in source code are options in menuconfig is
Kernel hacking --->
[*] Samsung Rooting Restriction Feature
but i can't uncheck this, because without it can't compile kernel :/
Bootloop is too when i try root STOCK kernel 5.1.1 or try back to Stock kernel when i used custom 5.1.1 rooted kernel.
and small question Comunicat "kernel is not seandroid" don't make problem, but in custom kernels compiled by another people it don't appear how i can remove it from my kernels?
I hope someone can help me
SLOVED:
TIMA security removed in kernel
and
in build.plop
security storage = false

Lineage OS kernel support

HI guys. I have galaxy i9300 and I have installed the lineage os rom 14.1. My phone used to face a problem with charging because the ac charging gets down to 100mah or 200mah if I install new roms. so always I need a kernel to control that digit and make it 1000mah.. but on this rom lineage os 14.1 I didn't find any kernel that I can control my phone
my question is what configurable kernels does lineag os 14.1 on I9300 support? please help.. thanks
Edit: I found the solution by youtube.. I couldn't find the compatible boeffla kernel on their site for this rom. but at youtube I found a specific boeffla kernel for lineage os 14.1 or cm 14.1 for I9300 which is weird that I couldn't find it on boeffla site... Everything works just fine the kernel is functioning and the rom come with 35000+ aprox antutu score which insane considering the device
youtube link? and name and version of the kernel?
https://www.youtube.com/watch?v=BVocfB8uqVg
go to download link in description. don't forget after flashing the kernel to install the boeffla apk
The problem with custom roms is they get slow and glitch out over time so make sure you do a backup once you get the phone into the state you're comfortable with so you can restore efficiently. You have to remember that the i9300 is about 5 years old now.
Beamed in by telepathy.

Do I need to update kernal with custom ROM?

I am currently on stock MIUI but I came from a Nexus and prefer stock android. The phone is on MIUI 9 which is based on Android 7.0. Am I right in thinking that the kernal I am currently using will only work with a ROM based on android 7.0? If I pick a 8.0 ROM can I use my existing stock kernal or do I need to update the kernal?
I fancy moving to LineageOS and I see I can pick LineageOS 14.1 (based on android 7.0) or LineageOS 15 (based on android 8.0).
Thanks.
Every custom rom including miui, have their own kernel source, you need not worry about the kernel used in a particular rom, because they are not cross supported. Miui's kernel is not supported by lineage and lineage's kernel is not supported by miui. Only custom kernel formed by merged source code support both of em. What exactly is your purpose?
Ahh so each custom rom also includes a new kernel, I hadnt realised that.
I havent rooted a phone since my ZTE Blade about 7 years ago, since then I have had Nexus phones and havent needed to change anything. I did update kernel then and my phone signal suffered so I wanted to avoid updating my kernel. I understand that the kernel contains the 'drivers' for all the components in the phone and I didnt fancy messing with them but seems I have to.....
Thanks for your input...

i'm thinking of building a new kernel for lineage os

my device is teclast x80 power B2N4 (cherry trail cpu)
its stock kernel supports x86
but, i want to use x86_64 kernel to improve performance...
where can i get the kernel source that i need
and.....
as kernel architecture is different, when flushing the kernel, I know it will not boot after flashing. will I have to flash a kernel, ROM, and recovery without rebooting it in fastboot?

Categories

Resources