Galaxy Y Stock Kernel compiled from source

Search This thread

lokesh.3440

Senior Member
Apr 24, 2012
1,314
534
Shimla
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.
 

Attachments

  • My_Stock_Kernel.zip
    4.5 MB · Views: 1,290
  • 2014_04_28_09.35.14.png
    2014_04_28_09.35.14.png
    23.1 KB · Views: 814
  • 2014_04_28_09.35.44.png
    2014_04_28_09.35.44.png
    24.3 KB · Views: 723
  • 2014_04_28_09.35.58.png
    2014_04_28_09.35.58.png
    20.8 KB · Views: 677
Last edited:
  • Like
Reactions: saikiranravula

Souroking

Senior Member
May 4, 2012
1,007
254
Kolkata
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
 

lokesh.3440

Senior Member
Apr 24, 2012
1,314
534
Shimla
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

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.
 
Last edited:

DC07

Senior Member
Aug 8, 2013
1,067
2,888
26
18.9750° N, 72.8258° E
deveshnegi.me
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.

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.
 

lokesh.3440

Senior Member
Apr 24, 2012
1,314
534
Shimla
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.

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 ?
 
Last edited:

CheckYourScreen

Senior Member
Sep 19, 2012
978
3,035
Delhi
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.
 

lokesh.3440

Senior Member
Apr 24, 2012
1,314
534
Shimla
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.

But CPU spy says "kernel is not compatible".......
 
Last edited:

DC07

Senior Member
Aug 8, 2013
1,067
2,888
26
18.9750° N, 72.8258° E
deveshnegi.me
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 ?

in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good:
 
  • Like
Reactions: lokesh.3440

CheckYourScreen

Senior Member
Sep 19, 2012
978
3,035
Delhi
But CPU spy says "kernel is not compatible".......

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.
 

Nachiket.Namjoshi

Senior Member
Aug 16, 2012
710
2,054
◄♪♫██ ♪♫►
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...
 

lokesh.3440

Senior Member
Apr 24, 2012
1,314
534
Shimla
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,,,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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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.
    1
    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 ?

    in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good: