[Q] kernel patch/module - Galaxy Ace S5830 General

hi.. i need some advice/guide regarding this matter..
first of all, i'm planning on compiling custom kernel myself for my ace. i've succesfully compiled a kernel on my debian box using kernel sourcecode from samsung and also applied bfs patch. but now i dont want to just stop here.
the problem is i dont know where to look for those undervolt patch, smartass governor patch, interactive governor patch etc etc. gooling for "android kenel patch/module" just bring me to precompiled kernel thread, not the source patch itself. so maybe anyone can guide me the right direction? thx before

an0nym0us_ said:
hi.. i need some advice/guide regarding this matter..
first of all, i'm planning on compiling custom kernel myself for my ace. i've succesfully compiled a kernel on my debian box using kernel sourcecode from samsung and also applied bfs patch. but now i dont want to just stop here.
the problem is i dont know where to look for those undervolt patch, smartass governor patch, interactive governor patch etc etc. gooling for "android kenel patch/module" just bring me to precompiled kernel thread, not the source patch itself. so maybe anyone can guide me the right direction? thx before
Click to expand...
Click to collapse
better to see the github site, lot of kernel source with many patching in there. and i think, for the much customized of samsung kernel, you can just patching, manual diffing will more better because samsung kernel is not vanillaish android kernel. much modification in there.
Sent from my ViewPad7 using XDA App

Custom kernel for the Ace on it's way..?

Related

[Q]How to build a kernel

HEY GUYS,
My device is M8tl and I want to build an ElementalX kernel.... However, I am not familiar with it .I searched rhe forum but I cannot find a tourial like this....I have downloaded My device's kernel source from HTCDEV.com and ElementalX kernel source from GitHub... Can anyone tell me what to do next?Waiting for reply...

[Q] Porting kernel?

Hi guys, I'm doing a Cyanogenmod 12.1 porting for my device that is unsupported. I can build everything and I get a flashable zip but I'm using a prebuilt stock kernel image extracted from the stock lollipop rom. After flashing, the phone does not boot and It's impossible even to access to logcat, so I think it's a kernel related issue. My question is:
- I have the stock kernel source (v.3.10) given by the vendor
- I have the cyanogenmod kernel source (v.2.69)
Do I have to build the stock kernel or I can build the cyanogenmod one by merging the drivers modules and others stuff?
And if I flash a wrong kernel image can my device become unusable?
I read that is not fair importing built kernel modules from other kernel version, but if I merge the kernel trees, is it the same?
Sorry in advance if my question is a noob question
Well I don't know much about porting roms or kernels though. But with what I've heard flashing the wrong kernels can permanently render your phone useless..
Sent from my Tecno F7 a ...?

Custom kernel?

I've been searching after a custom kernel wich includes mpdecision hotplug with no luck.
Is anybody working on a custom kernel for the stock sony rom?
Bump for updates.
I wonder if disabling hotplug was done on purpose to make the Z series have longer battery life in comparison.
You're probably right. Mpdecision would make battery life better.
Have'nt found a custom kernel yet. Is it really that hard to build or port one and add mpdecision or intelliplug?
Source code that sony released.. Crashes after booanimation... So wait for update when they release new souce code..
@vinay Which kernel and branch?
If you got issues you can post their logs here https://talk.sonymobile.com/t5/Kernel/bd-p/Kernel and jerpelea will try to help you

questions about g850's kernel, and the way I cant install my kernel.

I have never rooted it or touched my g850 's kernel, it is 5.0.2 lollipop and kernel version is 3.10.9-8213318.
I want to benchmark performance and power consumption on exynos5430 with HMP scheduler and Energy Aware Scheduler.
I have questions about this.
Is my g850's kernel include HMP scheduler(Global task scheduler)? I mean, does it applied on my kernel and my g850's processor is running with HMP Scheduler without any configuration?
And, If I want to compile 3.18 kernel which include Energy Aware Scheduler, what kind of defconfig do I have to use?
I checked arch/arm/config, but there are only arm's fundamental defconfig files.(like acs5k, armadillo, exynos, versatile .... etc)
Is there any defconfig for g850? or can I use 5430-base_defconfig(I can't paste link here)?
If I compiled 3.18 kernel, How can I install it on my device? I tried to unpack original rom and change kernel image, but it's md5 file, so I dunno how to. Is there any ONE SIMPLE WAY to just install my zimage on my device? or appropriate guide to install it on g850. I found bunch of guides on google, but most of the uses nexus.
I'm so desperate to do this, I wish I can get an answer here. Thanks

Android kernel how to make compatible with higher os? (+Where can I find the patch?)

Hello, I'm newbie dev trying to build CM13 for Lenovo Phab plus.
I think I'm almost finished with device and vendor, but I cannot figure it out what to do with kernel.
The circumstance is,
I have a stock kernel source which runs in 5.1.1 LP, with version of 3.10.49.
What I want is to make kernel compatible with 6.0.1.
I already know that linux kernel version doesn't have to be exactly same with new Android OS versions and I can just make a few patches in order to run kernel in higher OS.
So I googled and studied(?) for 2-3weeks, but got not many useful informations and I still cannot figure out where to find required patches for 6.0.1 .
So here's what I am not sure about.
1. I found that I can either upstream, merge, cherry-pick kernel sources from higher OS. For instance, if I merge kernel patches (starting from 3.10.50 to 3.18 step by step) and check if the kernel compiles successfully, is this a right thing to do? I am confused whether merging or cherry-picking is required for my situation.
2. I see lots of commits when comparing with other kernel sources in github. How do you find those kinds of patches? -> just keep compiling kernel and if error comes out->search->commit
Always this pattern goes again and again till boot properly?
3. i'm quite curious with backports. What i know is that "backports" are the files which is compatible for lower version kernels. For example, backported audio driver originally based on 4.9 can be used in kernels with version below 4.9. Is it right?
4. If there is an useful links, anything could be helped a lot.
THANKS IN ADVANCE.

Categories

Resources