questions about g850's kernel, and the way I cant install my kernel. - Samsung Galaxy Alpha

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

Related

[Q] kernel patch/module

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..?

[Q] modify io scheduler

Hi everyone!
I have a nexus 5 with Android 4.4.4 (hammerhead). I would like to make few changes to the io scheduler (fair scheduler for example) but I am not sure where to start. I hope someone can guide me
The thing that I want to modify in the io scheduler is to add two steps:
1) before selecting the next task to run, check its pid to recognize if it is a task of a specific process
2) schedule it on a specific core, or migrate it to a specific core
Forgive me if I am lacking of more details but I am relatively new to kernel stuff
Does anyone have any suggestion on how to add those 2 steps?
Thanks
Maybe the question is too narrow...Even a guide to understand the source code of the CFS scheduler implemented in Android would be more than fine at this point...I could not find a good one. Any suggestion for where I can find an explanation of the CFS source code?
Solved
brok85 said:
Maybe the question is too narrow...Even a guide to understand the source code of the CFS scheduler implemented in Android would be more than fine at this point...I could not find a good one. Any suggestion for where I can find an explanation of the CFS source code?
Click to expand...
Click to collapse
Never mind...thanks anyway!
I have solved by setting the affinity of a given process to a specific core.

Hello, I have questions about kernel of g850.

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 2 questions about that.
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 install 3.18 kernel which include Energy Aware Scheduler, what kind of defconfig 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)?
I've been built kernel for linux, but I'm new to android, so I wish you guys help me for this...

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.

overclock?

I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
sactownie said:
I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
Click to expand...
Click to collapse
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
LAST_krypton said:
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks for the info, I have installed smart pack and tweeked some settings, phone seems a lot snappier now.

Categories

Resources