Hello guys, I want to ask some questions. I've made a kernel compiled from source (opensource.samsung.com). Now, I want to add features to it. How to add/enable:
1. Cpu frequencies
2. Governors
3. I/O Scheduler
Can somebody explain to me
Sorry for asking noob questions
And if you know about adding more features again, please tell me.
Sent from my GT-S5360 using xda premium
Yes im askin this question too
Please explain...
Or.....ill just ask naman and deadly mah mastahz.....
Sent from my GT-P3110 using Tapatalk 2
Hey dude, I got it. You can add gov & i/o sched via .config. Just type 'make menuconfig' in terminal and include all governors that available on setting. By default, there are available govs & i/o scheds on the source.
Sent from my GT-S5360 using xda premium
And, how to add additional gov like smartass, interactive? And i/o scheduler sio?
Sent from my GT-S5360 using xda premium
just enabled in .config will not make your governor working (it's compiled but not working). you need to patching.
DennisFrea said:
And, how to add additional gov like smartass, interactive? And i/o scheduler sio?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Add Smartass interactive Source In
common / drivers / cpufreq (Copy From Other Source) Dir Then Edit Kconfig,Makefile
My Advice Check Other kernel Git Source How they Added .
Make File Ex:-
Code:
obj-$(CONFIG_CPU_FREQ_GOV_INTERACTIVE) += cpufreq_interactive.o
obj-$(CONFIG_CPU_FREQ_GOV_LIONHEART) += cpufreq_lionheart.o
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMANDX) += cpufreq_ondemandx.o
obj-$(CONFIG_CPU_FREQ_GOV_SMARTASS2) += cpufreq_smartass2.o
_______________
For I/O scheduler
Add sio-iosched.c , vr-iosched.c File In
common / block/
Then Edit Kconfig.iosched ,Makefile
Ex Make File :-
Code:
obj-$(CONFIG_IOSCHED_VR) += vr-iosched.o
obj-$(CONFIG_IOSCHED_SIO) += sio-iosched.o
Thanks
Hope My little Guide Help U To Make Great Kernel
U Can Check Guide
http://forum.xda-developers.com/showthread.php?t=1845099
irfanbagus said:
just enabled in .config will not make your governor working (it's compiled but not working). you need to patching.
Click to expand...
Click to collapse
Can you explain to me how to patching sir? I have added govs. But when I choose ondemand, conservative, smartassv2 or interactive my governor always become performance. But, I can use userpace and and powersave..
I can't use those govs so it automatically reverts back to performance..
manoranjan2050 said:
Add Smartass interactive Source In
common / drivers / cpufreq (Copy From Other Source) Dir Then Edit Kconfig,Makefile
My Advice Check Other kernel Git Source How they Added .
Make File Ex:-
Code:
obj-$(CONFIG_CPU_FREQ_GOV_INTERACTIVE)+= cpufreq_interactive.o
obj-$(CONFIG_CPU_FREQ_GOV_LIONHEART)+= cpufreq_lionheart.o
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMANDX)+= cpufreq_ondemandx.o
obj-$(CONFIG_CPU_FREQ_GOV_SMARTASS2)+= cpufreq_smartass2.o
_______________
For I/O scheduler
Add sio-iosched.c , vr-iosched.c File In
common / block/
Then Edit Kconfig.iosched ,Makefile
Ex Make File :-
Code:
obj-$(CONFIG_IOSCHED_VR)+= vr-iosched.o
obj-$(CONFIG_IOSCHED_SIO)+= sio-iosched.o
Thanks
Hope My little Guide Help U To Make Great Kernel
U Can Check Guide
http://forum.xda-developers.com/showthread.php?t=1845099
Click to expand...
Click to collapse
Hey thanks for your advice, I already added more govs from maroc-os github because some kernel makers also took source from it.
Sent from my GT-S5360 using xda premium
if Ur GOV Not Working Any Time If U Select Other Gov Its Back/Become To Performance.
Then Try This And Build/Compile ...
Find File Common/arch/arm/plat-bcmap/bcm_cpufreq.c
Find
Code:
policy->cpuinfo.transition_latency = ;
To
Code:
policy->cpuinfo.transition_latency = 1000000;
Hope Its Work For U
Thanks
manoranjan2050 said:
if Ur GOV Not Working Any Time If U Select Other Gov Its Back/Become To Performance.
Then Try This And Build/Compile ...
Find File Common/arch/arm/plat-bcmap/bcm_cpufreq.c
Find
Code:
policy->cpuinfo.transition_latency = ;
To
Code:
policy->cpuinfo.transition_latency = 1000000;
Hope Its Work For U
Thanks
Click to expand...
Click to collapse
Man it workss!! Thanks again!
Sent from my GT-S5360 using xda premium
DennisFrea said:
Man it workss!! Thanks again!
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
U r welcome my friend. Happy new year.....
Sent from my GT-S6102 using Tapatalk 2
manoranjan2050 said:
U r welcome my friend. Happy new year.....
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
Happy new year too..
Sent from my GT-S5360 using xda premium
help
what is a kernel? noob here.
Related
Hi,
how i can add other Governors and Scheduler to my defy?
I see special Governors on other handys (kernels).
http://forum.xda-developers.com/showthread.php?t=1654659
This here is nice but i think the defy need more power.
Thanks
joke19 said:
Hi,
how i can add other Governors and Scheduler to my defy?
I see special Governors on other handys (kernels).
http://forum.xda-developers.com/showthread.php?t=1654659
This here is nice but i think the defy need more power.
Thanks
Click to expand...
Click to collapse
Hi, look for " droid X cpu governors " in the forum: you will find a zip to flash in order to get them .
You will need a custom recovery to flash them before booting in the bootmenu set them as you like
Boosted governor
Does anyone know what does the "boosted" CPU governor do precisely? I have found information on all other governors except this.
Using Defy+ CM7.2 (White Rabbit 1.7), stock kernel.
Boosted is a modified smartass(v2?) governor, its quite same as smartass.
Sent from my MB525 using XDA Premium HD app
boosted is the same as smartassv2 only with different preferences.
btw the updated droidx governors zip link is in my sig.
sent from my jellybean defy...
Thanks guys have been wondering about this boosted, also which setting is best for general use and battery life.
Sent from my MB525 using xda app-developers app
Orange Kernel
Looking for testers!
Begin of Orange Kernel
I thought lets try to make a kernel my own. After a few weeks of looking to the right stuff I finally got a builded kernel. Now I just need some testers!
That was the beginning of Orange kernel. The name "Orange" is from the country I live in (The Netherlands) our king's house last name is "Van Oranje nassau". So I thought lets name my kernel that way!
Features
Governors added: Pegasusq, zzmove,smartassv2
Not really much stuff. I know, but I am trying to learn!
Bugs
Please tell me!
Isn't booting right now!
Download
Please no mirroring!
Orange Kernel Beta 0.1
Thanks to
Cocafe - His github!
For future use!
How about adding Governors like OnDemand, Smartass, Powersave or Performance...?
Do focus on Speed, Performance and Battery
I will try this kernel tomorrow (if I get some free time)
Sent using XDA-Developers' App from my GT-i9070
Sami Kabir said:
How about adding Governors like OnDemand, Smartass, Powersave or Performance...?
Do focus on Speed, Performance and Battery
I will try this kernel tomorrow (if I get some free time)
Sent using XDA-Developers' App from my GT-i9070
Click to expand...
Click to collapse
OnDemand, Powersave and Performance are there by default.
P.S. I will try it tomorow too.
Have u tried it or don't u have this phone. Kernel doesn't boot. Stuck on first screen.
Sent from my GT-I9070 using xda app-developers app
Please, focus on TRIANGLE AWAY support.
Darkness and Hope said:
Please, focus on TRIANGLE AWAY support.
Click to expand...
Click to collapse
Envoyé depuis mon GT-I9070 avec Tapatalk
Darkness and Hope said:
Please, focus on TRIANGLE AWAY support.
Click to expand...
Click to collapse
NO.
As i see op is still new to kernel compiling. I WILL NOT SUGGEST you to do anything related to sbl mods.
So please don't try to get triangle away working. If it is added incorrectly, we will have mass bricks.
Good to see a new member here though! :cheers:
Sent from my GT-I9070 using xda premium
Nice to see another person having a go at developing for our device, will try over the weekend.
b3dna said:
Have u tried it or don't u have this phone. Kernel doesn't boot. Stuck on first screen.
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I have the phone. Thanks for all the ideas! Now first gonna try to let the kernel booting!
Shaaan said:
NO.
As i see op is still new to kernel compiling. I WILL NOT SUGGEST you to do anything related to sbl mods.
So please don't try to get triangle away working. If it is added incorrectly, we will have mass bricks.
Good to see a new member here though! :cheers:
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
As result ; will it work or not ?
Thvmh said:
I have the phone. Thanks for all the ideas! Now first gonna try to let the kernel booting!
Click to expand...
Click to collapse
OK. I'll test it as soon as it will boot. I'm bit lazy to revive and flash again
Sent from my GT-I9070 using xda app-developers app
b3dna said:
OK. I'll test it as soon as it will boot. I'm bit lazy to revive and flash again
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Use this: Odin flashable Stock kernel. Its not increase binary counter.
Op : i told you in the pm that you will have to add the kernel prefversion. Instead just change the config to force load the modules.
If you are still confused, pm me again.!
Sent from my GT-I9070 using xda premium
Help coz i installed merruk before but it results into ext4 brick and after a day the galaxy y logo is not appearing tried to unbrick but cant and after a week i unbricked it using totoro pit file (used to repartitioning) and worked and after that i am planning to install it again but dont know how please give suggestions coz this is the best kernel for my phone thanks
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
Help coz i installed merruk before but it results into ext4 brick and after a day the galaxy y logo is not appearing tried to unbrick but cant and after a week i unbricked it using totoro pit file (used to repartitioning) and worked and after that i am planning to install it again but dont know how please give suggestions coz this is the best kernel for my phone thanks
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
If your own custom rom then this will work...
i use stock roms
Sent from my GT-S5360 using xda app-developers app
then http://forum.xda-developers.com/showthread.php?t=1981672
or through odin..google it
Sent from my GT-S5360 using xda premium
[email protected] said:
Help coz i installed merruk before but it results into ext4 brick and after a day the galaxy y logo is not appearing tried to unbrick but cant and after a week i unbricked it using totoro pit file (used to repartitioning) and worked and after that i am planning to install it again but dont know how please give suggestions coz this is the best kernel for my phone thanks
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
not worth installing it, latest stock ROM is faster compared to it, also its not stable, overheats easly and you can get random FCs - reboots, i'd recommend using latest stock kernel.
your phone will generate more heat on 1.248 mhz, so you'll get low performance compared to stock 1.000 mhz CPUs and it will reduce your battery - CPU life.
If you still want init.d and other kind of stuff custom kernels has to offer, try hellfusion #50, its the fastest custom kernel in my opinion, though i didn't test any custom kernels in last 2 months
ottomanhero said:
not worth installing it, latest stock ROM is faster compared to it, also its not stable, overheats easly and you can get random FCs - reboots, i'd recommend using latest stock kernel.
your phone will generate more heat on 1.248 mhz, so you'll get low performance compared to stock 1.000 mhz CPUs and it will reduce your battery - CPU life.
If you still want init.d and other kind of stuff custom kernels has to offer, try hellfusion #50, its the fastest custom ROM in my opinion, though i didn't test any custom kernels in last 2 months
Click to expand...
Click to collapse
im trying to find a kernel that supports gaming performance
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
im trying to find a kernel that supports gaming performance
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Go to this site from development section...
http://forum.xda-developers.com/showthread.php?t=1762692
I hope this help you...
Sent from my GT-S5360 using Tapatalk 2
rizxdr said:
Go to this site from development section...
http://forum.xda-developers.com/showthread.php?t=1762692
I hope this help you...
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Hey man thanks for the advice but i already used this kernel and tryin to find gaming kernels other than merruk and whitexp thanks again
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
Hey man thanks for the advice but i already used this kernel and tryin to find gaming kernels other than merruk and whitexp thanks again
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
our galaxy y aint made for gaming...
Ze3rL said:
our galaxy y aint made for gaming...
Click to expand...
Click to collapse
Yeah but because of the ideas of the developers there sgy is possible in gaming
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
Yeah but because of the ideas of the developers there sgy is possible in gaming
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
u cn still play games like cut the rope and stuff..even angry birds lag
ottomanhero said:
not worth installing it, latest stock ROM is faster compared to it, also its not stable, overheats easly and you can get random FCs - reboots, i'd recommend using latest stock kernel.
your phone will generate more heat on 1.248 mhz, so you'll get low performance compared to stock 1.000 mhz CPUs and it will reduce your battery - CPU life.
If you still want init.d and other kind of stuff custom kernels has to offer, try hellfusion #50, its the fastest custom kernel in my opinion, though i didn't test any custom kernels in last 2 months
Click to expand...
Click to collapse
Read again, try hellfusion #50, I could play jetpack joyride without any lag, except when game switches between textures (thats kind of due to RAM bottleneck)
Hellfusion #50 Kernel http://forum.xda-developers.com/showthread.php?t=1891682&highlight=hellfusion
And also keep in mind no kernel is good without tweaks, I'd recommend fly on mod and v6 supercharger [do not use fly on mod ram manager while v6 supercharger ram fixes are active]
You should also try defferent governors and I/O schedulers, I used antutu benchmark to test results with different I/O - governor combinations.Some of the kernels give low performance on smartassv2, while others give the best performance the kernel could give, so you'd better try all of them.
Galaxy y has very low internal storage, so try to keep it clean (when theres 30 mb empty or so, my phone gets lag spikes while gaming)
The kernel I gave you above has ext4 support.So use repencis ext4 converter or any other converters that convert system, data and cache partitions to ext4, then REMOVE EXT 4 JOURNALISM (IT MADE MY PHONE A LOT FASTER)
Ext 4 journalism disabling script : http://forum.xda-developers.com/attachment.php?attachmentid=2009287&d=1370093464
Yes. I am back with a new kernel. I cannot use the old name and thread and name due to some copyright issues. This kernel is what i made for myself. I am just sharing it. If anyone wants to use, feel free. It is just a lightweight kernel developed from the cocore source. So all credits go to @cocafe.
I wont be accepting any fix this request currently.
Kernel : Kangbang
Source on my github
I should reserve this ?
Although My Device Died.... :'( R.I.P but yeah can i know the changelog of the Kernel? My Friends who were part of my Rom's testers wana try it...
ikaster17 said:
Although My Device Died.... :'( R.I.P but yeah can i know the changelog of the Kernel? My Friends who were part of my Rom's testers wana try it...
Click to expand...
Click to collapse
Nothing great. Stripped governors, changed compression, removed schedulers.
Next version will have modified governors..
Also planning to merge upstream changes..
Sent from my GT-I9070 using Tapatalk 4 Beta
Omega Kernel
Slim JB Kernel : CoCore Features
Here a new kernel which developed from the cocore source... lol
Why wifi cannot turn on using this kernel ??
Sent from my GT-I9070 using xda premium
vieri_firman said:
Why wifi cannot turn on using this kernel ??
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Yes, the WiFi doesn't turn on. I can confirm.
please tell me which tweak is better for battery saving n tell me kernels which support zram int.d except white's thank u for your help.
Sent from my GT-S5360 using Tapatalk 2
Arrey yr there's a thread in General section named 'Tweaks for your Young'.All tweaks are listed there.For me Unlimited Boost V6+FlyOn+meCheat and hells #50 is the best.
aniket.lamba said:
Arrey yr there's a thread in General section named 'Tweaks for your Young'.All tweaks are listed there.For me Unlimited Boost V6+FlyOn+meCheat and hells #50 is the best.
Click to expand...
Click to collapse
hells doesn't support zram
Sent from my GT-S5360 using Tapatalk 2