[MOD] Get Governers of your choice on your Custom-ROM or Kernel - Samsung Galaxy SL i9003

Hello people!
Here is something interesting for everyone..
You can get the Governer of your choice on your Custom ROM or Kernel.
Governers Present in this pack-
Lazy
Scary
Brazilianwax
Minmax
Lionheart
SmartassV2
Conservative
Userspace
Ondemand
Interactive
InteractiveX
Savagedzen
Lagfree
Download this zip and flash it via CWM
Make sure you have atleast 2mb of space free in /system.
Incase you do not wan't to use a particular governer.
Using Root Explorer , go to /system/etc/init.d
Open up 'insmod_governers' with text editor.
For Eg. If you do not wan't lagfree governer, strike out this line.
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Same applies for other Governers.
NOTE TO ALL ROM Developers:
If you wish to use a particular governer, simple copy over the module to /system/lib/modules/governers
In your updater script add this line while setting permissions,
For Example:
Code:
set_perm(0, 0, 0777, "/system/lib/modules/governers/cpufreq_lagfree.ko");
Now final step,
Open up any init.d script and add this line,
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Here I have taken lagfree as an example , you may use any governer of your choice.
PS: This will work only on Universal-CF-ROOT or Kernels with CF-ROOT Ramdisk.
The Idea-
The idea here was building the cpufreq drivers as Loadable modules. Here by 'insmod' we load the module thereby making the Cpufreq driver i.e Governer to work.
Hit Thanks if this helped you! Enjoy, Cheers , bye

WOW! Nice work!
Will this work on Bam Custom Kernel #13.. yes I am using the universal one with the CF-root ramdisk. Will this work?

Silentkiller101197 said:
Will this work on Bam Custom Kernel #13.. yes I am using the universal one with the CF-root ramdisk. Will this work?
Click to expand...
Click to collapse
Yes it will work.
Sent from my GT-I9003 using xda premium

Adi_Pat said:
Yes it will work.
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong

vishal24387 said:
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong
Click to expand...
Click to collapse
Yeah right.
Sent from my GT-I9003 using xda premium

vishal24387 said:
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong
Click to expand...
Click to collapse
And then, by editting init.d can we delete some governers of the list?

Are all the governors optimized to work well with our device?

Simply brilliant dude !
Can we use it with ICS kernel ? Currently that's the one which needs lot of love

silentvisitor said:
Simply brilliant dude !
Can we use it with ICS kernel ? Currently that's the one which needs lot of love
Click to expand...
Click to collapse
Yes I concur. Great work, is it implementable on the ics kernel?
Edit:btw, I saw that in the op that only amit's kernel will work, just clarifying. And if not possible can this be ported? Thanks for your work
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!

bscraze said:
Yes I concur. Great work, is it implementable on the ics kernel?
Edit:btw, I saw that in the op that only amit's kernel will work, just clarifying. And if not possible can this be ported? Thanks for your work
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Click to expand...
Click to collapse
This shud work on All galaxy sl software combos,including ICS

It should work since ics also has init.d and updater-script (i think). The best way is trying and testing
Enviado desde mi GT-I9003 usando Tapatalk

luiseteyo said:
It should work since ics also has init.d and updater-script (i think). The best way is trying and testing
Enviado desde mi GT-I9003 usando Tapatalk
Click to expand...
Click to collapse
Send me any module from ICS kernel ramdisk. I will change the vermagic and recompile the governers.
Sent from my GT-I9003 using xda premium

great job!

sakindia123 said:
This shud work on All galaxy sl software combos,including ICS
Click to expand...
Click to collapse
This imho will work in actual version of ICS for our device because the kernel is the simply samsung kernel with modifier ramdisk to boot ics and not kernel 3.x
( of course , maybe , it can work also in 3.x kernel )
anyway great idea, thanks!

Adi_Pat said:
Hello people!
Here is something interesting for everyone..
You can get the Governer of your choice on your Custom ROM or Kernel.
Governers Present in this pack-
Lazy
Scary
Brazilianwax
Minmax
Lionheart
SmartassV2
Conservative
Userspace
Ondemand
Interactive
InteractiveX
Savagedzen
Lagfree
Download this zip and flash it via CWM
Make sure you have atleast 2mb of space free in /system.
Incase you do not wan't to use a particular governer.
Using Root Explorer , go to /system/etc/init.d
Open up 'insmod_governers' with text editor.
For Eg. If you do not wan't lagfree governer, strike out this line.
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Same applies for other Governers.
NOTE TO ALL ROM Developers:
If you wish to use a particular governer, simple copy over the module to /system/lib/modules/governers
In your updater script add this line while setting permissions,
For Example:
Code:
set_perm(0, 0, 0777, "/system/lib/modules/governers/cpufreq_lagfree.ko");
Now final step,
Open up any init.d script and add this line,
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Here I have taken lagfree as an example , you may use any governer of your choice.
PS: This will work only on Universal-CF-ROOT or Kernels with CF-ROOT Ramdisk.
The Idea-
The idea here was building the cpufreq drivers as Loadable modules. Here by 'insmod' we load the module thereby making the Cpufreq driver i.e Governer to work.
Hit Thanks if this helped you! Enjoy, Cheers , bye
Click to expand...
Click to collapse
Nice idea to distribute IO governor as a kernel module. Althought I do not own a I9003 any more, I still feel nice to see such a development on I9003 forum.
btw, since you are distributing the binary compiled from GPL src code, make sure you upload and distribute the src code as well.

UnknownzD said:
Nice idea to distribute IO governor as a kernel module. Althought I do not own a I9003 any more, I still feel nice to see such a development on I9003 forum.
btw, since you are distributing the binary compiled from GPL src code, make sure you upload and distribute the src code as well.
Click to expand...
Click to collapse
Please see my github Its the same as my i9003 source
Sent from my GT-I9003 using xda premium

Hey adi_Pat. Shouldn't the init.d insmod_governers have numeration? Something like....
01insmod_governers
02insmod_governers~
?

Hey adi_pat dont works for me, i have KPU and cf-root bam kernel 12. I flashed your zip and gives me bootloop, i had deleted insimod_goveres from init.d

luiseteyo said:
Hey adi_Pat. Shouldn't the init.d insmod_governers have numeration? Something like....
01insmod_governers
02insmod_governers~
?
Click to expand...
Click to collapse
Numbers are useful to organize init.d scripts, because they are always executed in alphabetic order (numbers have the priority over letters).
Sometimes scripts need to be executed in a determined order, but not this/these.
You can delete insmod_governers~. Usually, files that end with '~' are a backup copy made by text editors: http://en.wikipedia.org/wiki/Tilde#Backup_filenames
@Adi_Pat
I think it's better to remove it from the flashable zip, because when you extract a zip, extracted files usually get "Execute" permission, so users will have the same script executed two times, but I'm not sure.
(there's updater-script~ too, but this one shouldn't give problems)
EDIT:
The backup copy is different and I think it does nothing, but it's still better to remove it.

@IoSconoscutio
I actually set permissions for modules to chmod 777 as well as chmod 777 for the init.d script. I made it flashable because people may find it difficult to manually insert each module.
Sent from my GT-I9003 using xda premium

Related

(OC)Official GingerBread Kernel/**Multitouch fix added Aug 08**/Ring no Fade updated

********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Personal Thanks to Andy, Mik_os, Franciscofranco, Ciaox, Noejn and all other devs.
AmonRA to flash it with the need to disable the verification of signatures.
Overclocking
Smartass
Smoothass
Cifs
Supports EXT4
+upstream to 2.6.35.13
+oc, interactive, smartass, smoothass, cifs, ext4
+governor added SavagedZen
+autogroup scheduler (the patch of 200 lines)
+ smoothass smartass with a capped rate (standby) to set minimum
V3 Kernel -Old kernel:
ADB Bugfix for device
Reconfigured various kernel parameters (For better power management, CPU profiles)
-Added for the inversion axes Sippola in the new touch screen driver.
-Simple-inserted I / O scheduler (sio)
-Included various other patches 5-6
-Removed references-debug (smaller kernels)
-Small fix to reduce the impact on the CPU more pressure on the display (you can check with Neocore first ... the difference came in 8-well 9fps now settles down to 2-3fps)
******Updated 25 July*********
Magazine-routine to increase the stability and overclocking performance, cameraflick is absent up to 729mhz
Touch-fix which decreases the occupation of the CPU when you press your finger on the display (should no longer have the lag that had the first version of V4 (I hope))
Magazines-and reinsert all the previous patches (66 patches in total)
Inserted by the kernel-2.6.36 backport of block, and mtd workque
Backport-inserted by the kernel 3.0rc6 and cpufreq of cpuidle
http://www.mediafire.com/?g8r37pzsr3ig21j
+same kernel but without the fix for employment cpu (maybe better in the scroll lag if you have one) **No touch fix kernel***
http://www.mediafire.com/?bed0ht9kcz0071c
******Updated 08 Aug*********
Touch V6 2.6.35.14
V5-like, but updated to version 2.6.35.14
-Added 2.6.36 kernel backported from the i2c
-Support Module tun.ko
-Vsync enabled
http://www.mediafire.com/?otpne0w1v8bhnp8
If you want to try the version NoTouch kernel
http://www.mediafire.com/?4wuiscjcu5xal58
After flashing, wipe cache and davlik.
If you have a2sd then run the following in terminal:
su
a2sd cachesd
The phone will reboot automatically.
Download Ringing with No fade :Now supports Gingerbread 2.3.3 :
http://www.mediafire.com/?1xqcc0jppl2w9ic
Flash and enjoy
To know more the original idea, please visit the thread here :
Special Thanks to Januka for the idea.
For devs :
I/Paolo doesn't have a repository, So its uploaded here :
Kernel Ginger Source
http://d-h.st/jvn
u only need to change one line in Makefile
at line 193 change from
Code:
CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- #CROSS_COMPILE ?= arm-eabi-
to
Code:
#CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- CROSS_COMPILE ?= arm-eabi-
Yes, I know I should use search, but please, can anyone explain to me how do smartass and smoothass work in comparison to, for example, conservative and ondemand?
And massive thanks to you mansirawat!
If you already know that you should use the search function, maybe you don't know HOW to use it...
Here's a "tutorial": http://lmgtfy.com/?q=android+governors
Otherwise, you're just plain lazy... which one is it?
Ciaox should see this thread , he is waiting for GB OC Kernel
P.S : Thank you for the Kernel
Otherwise, you prefer wasting perfectly good post space in order to lecture me. Just like half the members of XDA. And the fact that you supposedly come from Romania as well just shows...nah, why bring that up here, all foreigners know it already.
Great! Awesome! Pure awesome!
Thanks a lot!
Stock rooted GB with this kernel (652/320)-> 1152 in quadrant. I don't care too much about those points, but my phone is smoother.
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
do i have to flash a new baseband before flashing this on any custom rom? thanks
Flashed it,let's see!
Thanks!
Best!
Great!
Awesome!
Pure awesome!
mansirawat said:
********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Overclocking
Smartass
Smoothass
Cifs
Doesn't support EXT4
Click to expand...
Click to collapse
Hey mansi hows the performance??? If its good then it will be included in my new ROM.
CWM can also be used to flash this zip. Tested(CWM 3.1.0.0) and worked.
sajjan said:
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Why would you use this on a custom rom? We have Francisco's kernels for that.
devlin2427 said:
Why would you use this on a custom rom? We have Francisco's kernels for that.
Click to expand...
Click to collapse
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Well I tried it out of curiousity ....and if not better it's definitely at par.....I still have to check battery life....
Sent from my LG-P500 using XDA App
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
does this kernel require a new baseband?thanks
roi14 said:
does this kernel require a new baseband?thanks
Click to expand...
Click to collapse
Yes, of course.
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
devlin2427 said:
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
Click to expand...
Click to collapse
ya you can use franco's kernel on any custom ROM other then those which are built from official 2.3.3
doktornotor said:
Yes, of course.
Click to expand...
Click to collapse
No. kernels have nothing to do with baseband. I flashed on v20g and its improved performance and another guy flashed on void forever and it improved performance.

[KERNEL] [MODULES] [TOOLS] [SOURCE] savieSGY "[email protected]"

Hii all
Since i can provide kernel source so its more wise to remove this thread..
@MOD: sorry to break xda rules
@all: thanks to all support for this 1years expecially my bro @irfanbagus and @kurotsugi
More thanks to : @HARRISh2704 @zcop @mai77
@b16h22
@faqbly
@doky73 @Maroc-OS @madteam
@Amarullz
@alfiyan.sys @PsychoGame
@rom maker: please dont integrate my kernel and share it on xda
Regard
[email protected]
Just flashed it, working perfect on stock XXKK5 ROM and Merruk's kernel.
Edit: not all governors are showing as listed and then I tried some, UI started to lag, even through the frequency is the same, 832Mhz.
It seems the lag becomes apparent when i change ONLY the governor. If I change I/O sched, It's lag-free.
Seems like a bug/problem ?
Will try this.. thanks hitted!
you can make one .zip to integrated in kernel sources with alls governors and i/o ?
sorry my bad english !!!
whitexp said:
you can make one .zip to integrated in kernel sources with alls governors and i/o ?
sorry my bad english !!!
Click to expand...
Click to collapse
Actually i have and support cm7 too..
This another way to get gov+io in stock kernel and kernel with less gov+io.
Will it work on stock ddle rom and kernel or does it require the kernel to be modified and also does it require init.d support because stock kernel doesn't have init.d support ?
rkmiks said:
Will it work on stock ddle rom and kernel or does it require the kernel to be modified and also does it require init.d support because stock kernel doesn't have init.d support ?
Click to expand...
Click to collapse
Dont know. But try with scriptmanager application and apply start in boot maybe can solve activate script in booting.
savie ..
I'm trying to update kernel 2.6.35.7 to .14
savie said:
Dont know. But try with scriptmanager application and apply start in boot maybe can solve activate script in booting.
Click to expand...
Click to collapse
One more thing , how to decide which of the governors or tweaks will be most appropriate for my device.
Not working....got bootloops using creed 3.5 with merruk kernel
Had to again reflash stock rom..!!!
Sent from my GT-S5360 using xda premium
Hey op can you try to compile a kernel from cm sources?? We need the wifi to be working
Sent from my GT-S5360 using XDA
rkmiks said:
One more thing , how to decide which of the governors or tweaks will be most appropriate for my device.
Click to expand...
Click to collapse
You can try to understand more in here: http://forum.xda-developers.com/showthread.php?t=1369817
Explains a lot about governors, I/O schedulers and what they do. I tried SIO I/O and interactive governor and it's lag-free. Can browse internet with stock browser and it is smooth as butter.
kuulbhaskar said:
Not working....got bootloops using creed 3.5 with merruk kernel
Had to again reflash stock rom..!!!
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
U know u must back to stock kernel or someone kernel support init.d anf not supported i/o sched and governor
If u want u can back to stock kernel and use script manager to use this tweak work
Sorry my english so bad
Sent from my GT-S5360 using xda app-developers app
shoutokuyaki said:
U know u must back to stock kernel or someone kernel support init.d anf not supported i/o sched and governor
If u want u can back to stock kernel and use script manager to use this tweak work
Sorry my english so bad
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
So can i use merruk kernel after having these governors..????
Sent from my GT-S5360 using xda premium
hell_lock said:
Hey op can you try to compile a kernel from cm sources?? We need the wifi to be working
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
As a matter of fact,his kernel does boot cm7.
Sent from my GT-S5360 using XDA
kuulbhaskar said:
So can i use merruk kernel after having these governors..????
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
i think u can use in merruk kernel just make sure it flashing.
hell_lock said:
Hey op can you try to compile a kernel from cm sources?? We need the wifi to be working
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Yes we need it.
Sent from my GT-S5360
kuulbhaskar said:
Not working....got bootloops using creed 3.5 with merruk kernel
Had to again reflash stock rom..!!!
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
+1
I ve tried many times.
But i made some governors working fine.
Like hotplug etc..
I made some tweaks with the modules and scripts.
See attachments.
I've flashed via CWM but still no added governors and I/O. Using Merruk + Chobitz.
eyjay1991 said:
I've flashed via CWM but still no added governors and I/O. Using Merruk + Chobitz.
Click to expand...
Click to collapse
I think that merruk kernel problem in installing.
Make sure to mount before install something with merruk kernel.
Hope help.

[share][kernel]ironbuang_systems

good day fellow xda members,,, after some coaching from some friendly people i am now gonna share my kernel....:victory::victory::victory:
to you guys armed with your flame throwers please stand down and have some mercy :laugh:,,, this is my 1st share and well its not yet on par with other kernels like kuro,savie, merruk etc.... but ive been improving it ever since i first started..... and i will continue on with its improvement...
this is also for my kabayans(countrymen) they have produced some roms for our galaxy y but none of them rolled out a kernel so i myself made one
FEATURES:(not much but its basically the essentials)
init.d support
4 cpu frequencies (156,312,624,832)
flash player support
ext2,3,4 support
swap support
droidwall support
undervolted by -100mv
added some governors
userspace
powersave
ondemand
ondemandx
minmax
lionheart
lazy
lagfree
intellidemand
hotplug
interactive
conservative
performance
added io scheds
sio
cfq
deadline
vr
Click to expand...
Click to collapse
DOWNLOAD LINKS - Mod Edit: Links removed as kernel has no source code so is violating the GPL and XDA Forum Rules.
KERNEL#38
KERNEL#39rev1
additions
5 cpu frequency
KERNEL#48
removed unstable 468mhz
undervolt integrated
KERNEL#50
i went loco mode on this one
7 frequencies all in all!!!
now works on jellyblastv3
back on proper 4 cpu freq
KERNEL #53
back to the stable 4 freqs
added ext4 support
added swap support
added boot splash
smaller kernel size(using lzma compression)
312mhz boot now fixed
lionheart, interactive govs built in (disregard metaphase gov its a fail)
can run flashplayer on our phone
only 1 bug 312mhz cant go down to 156 and vice versa must be on 624 or 832 for it to ramp down to 156 (fix coming soon)
312mhz cant go down to 156 and vice versa must be on 624 or 832 for it to ramp down to 156 (fix coming soon)
sorry if development is slow.. busy for my upcoming board exam
Click to expand...
Click to collapse
INSTRUCTIONS
1.reboot to CWM recovey
2.if on kernel with built in cwm go to mounts and storage and mount /system
3.choose install zip from sdcard
4. look for the directory you downloaded my kernel zip
5. flash away
6. reboot and see how it works
Click to expand...
Click to collapse
known bugs
1.INCOMPATIBLE with JELLYBLASTv3
wont boot and logcat show no such file or diretory /system/xbin/busybox(but i checked it busybox is there)
2.HYPERION ROM-reportd by vanhalen35
battery charging wont reach 100% when using setcpu stucks at 99% but unistalling setcpu and rebooting it charges up to 100% dont know why but on my ussrv6 it charges just fine up to 100%
3.#39rev1
468mhz isnt working properly yet
4.#48
kernel version shows up as unavaiable under settings>about phone>kernel info .but is seen using cpuspy
startup is laggy due to it boots up using 312mhz
5.#50
CPU states cannot be read except for deepsleep
still laggy at booting but after a while it is fine
728 is not stable, the rest seems fine need verification from you guys
6. #51
still havent solved the cpu booting at 312mhz
7. #53
312mhz cant go down to 156 and vice versa must be on 624 or 832 for it to ramp down to 156 (fix coming soon)
just report anyother bugs you encounter
big big thanks to these guys:good::good::good:without them i woulld not even know how to compile a kernel without their help
irfanbagus
marco-too
savie
master_key
kurotsugi
and this guy for being my tester...
vanhalen35
and lets always not forget to mention
YOU
Reserved..
I am a true kernel-holic so thanks
Sent from my GT-S5360 using xda premium
finally,
nice job,
and i lol at the english translation of the title,
see?
i told you people will appreciate your work
it also motivates you and lets you have lots of testers instead of you testing it alone
deathnotice01 said:
finally,
nice job,
and i lol at the english translation of the title,
see?
i told you people will appreciate your work
it also motivates you and lets you have lots of testers instead of you testing it alone
Click to expand...
Click to collapse
yeah... i guess you are right... now trying to fix the undervolt so there will be no need for bacem tweak and
trying to add smartassv2 governor
good work sir but is this compatible with repencis v3.5?
deleted (double post)
blackpanther2209 said:
good work sir but is this compatible with repencis v3.5?
Click to expand...
Click to collapse
give it a try... only tested on 3 roms as of now which is ussr hyperion and jellyblast and only jellyblast was incompatible,,, it should work on yours just have back up kernel just in case
Congratulations for ur new kernel.
tnx sir i will give u some feedback after i flash my rom.
Finally you posted it!! Great job
Sent from my GT-S5360 using xda premium
cool.. how about on stock rom?
Sent from my GT-S5360 using xda premium
tjsgy said:
Finally you posted it!! Great job
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Indeed i did.... figured that development would be slow if i kept it to myself
Sent from my GT-S5360 using xda premium
pm sent..
Sent from my GT-S5360 using xda premium
the kernel is still the same bro after i flashed it.anyway,tnx a lot and congratz of ur new kernel.
blackpanther2209 said:
the kernel is still the same bro after i flashed it.anyway,tnx a lot and congratz of ur new kernel.
Click to expand...
Click to collapse
What do you mean the same??? #38 is same as #39
Or your kenel did not change on your rom???
Sent from my GT-S5360 using xda premium
the kernel did not change on my rom.
did you flash it thru cwm or stock recovery?
Sent from my GT-S5360 using xda premium
blackpanther2209 said:
the kernel did not change on my rom.
Click to expand...
Click to collapse
Did you get any errors???
Sent from my GT-S5360 using xda premium
i flashed with cwm and follow all the instructions and i did not get any error or fc after reboot.

[CUSTOM][KERNEL] D.F's Kernel RC1

DennisFrea said:
Sorry guys I lost my laptop. So maybe it'll take a time to get all my data back so I can't make an update of this for now. I m verry sorry.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Hello, everybody! I wanna share to you my little work of compiling a kernel. This kernel is compiled from the latest source on opensource.samsung.com, GT-S5360_GB_Opensource_Update3. This kernel has been tested and works on DXLF stock also on JellyBlast. And please don't expect something perfect on this kernel since I'm only a super noob.
These are the features of this kernel.
Droidwall support
Init.d support
Ext2, ext3, ext4* file systems support
5 freqs
12 governors
5 i/o scheduler
Bacem tweaked
and maybe many more...
Cpu freqs
Deep sleep
156 mhz
312 mhz
468 mhz
624 mhz
832 mhz
Built-in governors
lulzactive2
virtous
wheatley
smartassv2
interactive
conservative
ondemand
userspace
powersave
bcm21553
Lionheart
performance
Built-in i/o scheduler
noop
deadline
cfq
vr
sio
DESCLAIMER
Do it with your own risk. I don't take any resposibilities about your phone!
NOTE
Feel free to inform me about bugs.
Source
In order to follow the rules, here is the source file from this kernel. This file contains edited files (only).
http://db.tt/qD8RhXeI
The complete source is on opensource.samsung.com. I use the latest source just like described above at the first post, update3.
Downloads
CWM Flashable
Odin Flashable
Installing
Via CWM
- Download zip file
- Go into recovery (home+vol. up+power) and choose CWM
- Install zip from sdcard and choose the zip file
Via Odin
- Open Odin 1.85
- On Pda, choose the .tar file and let Odin works
Or you can use mai77 method to install boot.img from cwm.
Credits
Allah
Me
My girlfriend (LOL I never contact her when I was compiling this kernel)
irfanbagus (without him, I will never be able to compile a kernel)
manoranjan2050 (thanks for answering my stupid questions about my problems)
kurotsugi (great thanks for his kernel source)
Maroc-OS (for some governors from his source @github)
mikstev (for droidwall instruction)
dsixda (for his kitchen)
google
You!
Who else?
Reserved
Again
Hey bro, I'm on Hell's Fusion #40 kernel and i want to try out your new kernel.
Do i have to flash your kernel directly while i'm on Hell's Fusion ? or i must go back in STOCK KERNEL ?
Regards,
Rmhoh
rmhoh said:
Hey bro, I'm on Hell's Fusion #40 kernel and i want to try out your new kernel.
Do i have to flash your kernel directly while i'm on Hell's Fusion ? or i must go back in STOCK KERNEL ?
Regards,
Rmhoh
Click to expand...
Click to collapse
I've tried from hell's to this kernel and it works. No need to go back to stock kernel. But, it is more safe to go back to stock kernel first. It is your choice
good! keep it up.. :thumbup:
Sent from my Android System using Busybox Command.
My work
========================
- AndroBot SGY tweaks
- Nandroid md5 Fixer
- Ext4 to RFS Converter
Keet it up nice work :thumbup:
yes i m Flasholic
Reserve. Hope it'll good 4 battery.
Reserved for me
great work bro :good:
Sorry, I have a problem after installing this kernel it show E: Can't mount /blabla (Invalid Argument).. I flash it directly from hell fussion n repencis, is there something wrong?
Sent from my GT-S5360 using Tapatalk 2
Random Reboots
After flashing it, I was like "WOAH, that fast boot you got there!" but after media scan, my phone reboots by itself.
From savie73 to your kernel.
I'll try to revert to stock kernel and inform you if any results were made
---------- Post added at 05:18 AM ---------- Previous post was at 05:10 AM ----------
Woops, still having the same problem.
woah keep it up...good work bro :good::good::good:
Baskhara said:
Sorry, I have a problem after installing this kernel it show E: Can't mount /blabla (Invalid Argument).. I flash it directly from hell fussion n repencis, is there something wrong?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Have you mount everything before flashing? Just try, revert to stock kernel first before installing this kernel.
iDUMMY said:
After flashing it, I was like "WOAH, that fast boot you got there!" but after media scan, my phone reboots by itself.
From savie73 to your kernel.
I'll try to revert to stock kernel and inform you if any results were made
---------- Post added at 05:18 AM ---------- Previous post was at 05:10 AM ----------
Woops, still having the same problem.
Click to expand...
Click to collapse
Thanks for informing. Did it always reboot or just once? What rom do you use?
DennisFrea said:
Have you mount everything before flashing? Just try, revert to stock kernel first before installing this kernel.
Click to expand...
Click to collapse
I've mount everything.. btw I am on Ext4..
Okay, I'll try to install it from stock kernel..
Sent from my GT-S5360 using Tapatalk 2
This reminded me of kuro's features... btw how did u add ext4 support? Just by editing .config file?
Sent from my GT-S5360 using XDA
hell_lock said:
This reminded me of kuro's features... btw how did u add ext4 support? Just by editing .config file?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Yes because I took some from his source. Yes, but I don't know it really works or not. Any wrong? Then explain to me sir how to do it..
DennisFrea said:
Yes because I took some from his source. Yes, but I don't know it really works or not. Any wrong? Then explain to me sir how to do it..
Click to expand...
Click to collapse
U need to edit the ramdisk too!
Sent from my GT-S5360 using XDA
hell_lock said:
U need to edit the ramdisk too!
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
What files? init.rc?
DennisFrea said:
What files? init.rc?
Click to expand...
Click to collapse
Ya
Sent from my GT-S5360 using XDA
OP just in case you didn't get my PM to you, you have 48 hours to upload your sources and comply with GPL and xda forum rules.

Galaxy Y Stock Kernel compiled from source

Hello Guys, I would like to present you my first SGY kernel which I have compiled from source. This is only for Stock or Stock based ROMs.
Features :
1) Loads of governors like userspace,ondemand,powerspace,conservative etc. so that users will not get biased towards only one configuration
2) I/O schedulers like noop and cfq with cfq as a default scheduler
3) Max frquency 832 Mhz and min frequency 312 which I found the best in terms of battery and performance because Overclocking decreases the life of Phone.
I am currently lookoing forward to add Extra I/O Schedulers although cfq is best out there with Conservative governors in my opinion. CPU underclocking will be in my roadmap as well. I hope you guys will appreciate me.
Steps for Installing/Flashing :
1) First reboot into recovery and flash any CWM recovery(Note: don't flash it through stock recovery directly)
2) Go to mounts/Storage and mount everything system,cache,sd-card
3) Now flash the Zip I have provided
4) Now Wipe cache partition from Main menu
5) from Advanced option-> wipe dalvik cache and reboot
I have tested it myself.Please report in case you guys run into any issues.
Credits :
To me Of course
@google
@samsung for providing kernel source
GitHub :
https://github.com/lokesh3440/Galaxy_Y_Stock_Kernel
Kernel Sources :
https://github.com/lokesh3440/Galaxy_Y_Kernel_Source
Changelog:
V2 Build execution is in Progress.......I just checked. V1 works pretty well with Hyperion V9.
Initial Build
Here are few Screenshots :
Don't forget to submit logcats in case you run into any issues.
Testing now...
Sent from my GT-S5360 using Tapatalk 2
İ will test it
Sent from my GT-S5360 using xda app-developers app
Initial impressions
1)Performance seems decent.
2)No support for amarulzz a2sd
3)No CWM integrated
4)Deepsleep not working.
Cant talk about battery so soon.
Sent from my GT-S5360 using Tapatalk 2
Souroking said:
Initial impressions
1)Performance seems decent.
2)No support for amarulzz a2sd
3)No CWM integrated
4)Deepsleep not working.
Cant talk about battery so soon.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I will add amarullz a2Sd support and integrated CWM recovery very soon. I still need to check why deep sleep isn't working. Thanks for feedback.
lokesh.3440 said:
I will add amarullz a2Sd support and integrated CWM recovery very soon. I still need to check why deep sleep isn't working. Thanks for feedback.
Click to expand...
Click to collapse
İ'm waiting for CWM
Sent from my GT-S5360 using xda app-developers app
Hello,
According to XDA Rule on GPL and Apache Compilence
For kernel developers: You must provide FULL source code, not just the edits you made (reference here). Your source code must also be up-to-date with any binary releases. If in doubt, update your github first, then release the binary, NOT the other way round.
Click to expand...
Click to collapse
the stuff you have provided on your github is only the kernel.
You have to upload the whole source code you've used while compiling this kernel.Do it ASAP if you didnt knew it.Or your thread will be closed soon.
Take this as a suggestion :good:
Regards.
DC07 said:
Hello,
According to XDA Rule on GPL and Apache Compilence
the stuff you have provided on your github is only the kernel.
You have to upload the whole source code you've used while compiling this kernel.Do it ASAP if you didnt knew it.Or your thread will be closed soon.
Take this as a suggestion :good:
Regards.
Click to expand...
Click to collapse
Thanks for your suggestion brother. This is my first contribution,that's why i wasn't aware of it. Do you mean the Samsung open source update which i have used to compile it ?
can you guide me how exactly i need to update it ?
deep sleep is present in stock kernel too.
only states files is not enabled/present.
if cpu spy is displaying freq. usage and deepsleep is notshowing up then there is some problem.
else by default its enabled in stock kernel.
Nitzz said:
deep sleep is present in stock kernel too.
only states files is not enabled/present.
if cpu spy is displaying freq. usage and deepsleep is notshowing up then there is some problem.
else by default its enabled in stock kernel.
Click to expand...
Click to collapse
But CPU spy says "kernel is not compatible".......
lokesh.3440 said:
Thanks for your suggestion brother. This is my first contribution,that's why i wasn't aware of it. Do you mean the Samsung open source update which i have used to compile it ?
can you guide me how exactly i need to update it ?
Click to expand...
Click to collapse
in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good:
DC07 said:
in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good:
Click to expand...
Click to collapse
Thanks, I will upload it on my github in the evening.
Well anybody tried compiling the kernel on Ubuntu 14.04? Gonna try it today! xD
lokesh.3440 said:
But CPU spy says "kernel is not compatible".......
Click to expand...
Click to collapse
check again.
its says- states file not found.
kernel is not compatible with that app cz freq. states file is disabled by default.
but deepsleep is enabled in kernel.
also the kernel u build is having old source.
latest kernel from samsung in update like dxmj is best n having many changes.
just add init.d support in it and compare the battry life with ur kernel.
and that stock one is far more stable than urs.
no offense
but untill and unless u add some more features in it, stock kernel will still be my preferred choice.
add more featrs into it to make it better than stock one.
aniket.lamba said:
Well anybody tried compiling the kernel on Ubuntu 14.04? Gonna try it today! xD
Click to expand...
Click to collapse
I have built it on ubuntu 14 only
Sent from my GT-I9505 using Tapatalk
lokesh.3440 said:
I have built it on ubuntu 14 only
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
You serious?
That's good.Gonna try soon!
Good one... :good:
the problem is it seems to have update2 source.... :-/
can run newer firmwares (ddmd,dxmj, etc).
Looking forward to this one. Please use update3 in the next one. Best of luck
P.S. As @Nitzz Said, Deep sleep is pre-included. if u have used the defconfig command, it is included in the kernel. try adding cpu_stats file...
Nachiket.Namjoshi said:
Good one... :good:
the problem is it seems to have update2 source.... :-/
can run newer firmwares (ddmd,dxmj, etc).
Looking forward to this one. Please use update3 in the next one. Best of luck
P.S. As @Nitzz Said, Deep sleep is pre-included. if u have used the defconfig command, it is included in the kernel. try adding cpu_stats file...
Click to expand...
Click to collapse
@nachiket,,,I have used Update 3 only,,,,but i forgot to add cpu stats file i guess.......It will be included in the next build. Thanks for your suggestion
lokesh.3440 said:
@nachiket,,,I have used Update 3 only,,,,but i forgot to add cpu stats file i guess.......It will be included in the next build. Thanks for your suggestion
Click to expand...
Click to collapse
see..
told ya.
u can ask anyone of us(senior membrs of sgy section) or anyother kernel dev for help or any doubt if u want.

Categories

Resources