Hi folks,
So after a fun weekend I have compiled my first working kernel! Yay.
Its basically a stock CM10 kernel with a bunch of governors added and sio scheduler (basically taken from klin's initial commit in his old Fusion kernel). No undervolting yet or overclocking (will add them too, but playing around one step at a time).
I used regular 4.6 eabi toolchains for this build. Nothin fancy there either.
Im posting this because there might be a number of people who want to use a custom CM10 base ROM and just want to get some better battery life by using some different governors.Basically its for someone who would be interested in a kernel synced with the latest CM10 sources for 4.1.2 JB and who wants to wait until CM10.1 gets a bit more stable.
It also represents my first forray into kernel compiling and development. I likely wont be much of a developer at all, but should gain at least enough understanding to cut and paste source code from people smarter than me and maybe do some slight modifications here and there (and slowly learn more by browsing around github).
I learned a lot of this by reading many of klin's posts as well as some stuff from rohan32 over in some one x forums. I gotta thank these folks for posting threads that really allow a n00b to get started in this world.
I am a complete kernel mod n00b so pls dont make fun of me just yet.
Im simply trying to have some fun! I will also be creating a github account soon and working off of there, and grabbing the best sources etc for the One S should be much easier once i figure out the github world. After I figure out github a bit, I will come back to this and add a few more basic features. We will see if it will be worth it though, as there are some amazing kernel folks out there (including klin, zarboz, and showp) who have contributed to One S kernels. I have noticed though that there hasnt been much AOSP based custom kernel development for the One S. So Im just trying to make a (very) small contribution.
Please let me know if anything doesn't work! And dont blame me if your device gets borked, lol.
If its not obvious for this kernel, simply fastboot flash boot the attached image.
Also I recommend using kernel tuner to tweak, following Zarboz's suggestion. It's a good program and let's you set governors for individual cpus and settings tend to stick well.
So after a fun weekend I have compiled my first working kernel! Yay.
Its basically a stock CM10 kernel with a bunch of governors added and sio scheduler (basically taken from klin's initial commit in his old Fusion kernel). No undervolting yet or overclocking (will add them too, but playing around one step at a time).
I used regular 4.6 eabi toolchains for this build. Nothin fancy there either.
Im posting this because there might be a number of people who want to use a custom CM10 base ROM and just want to get some better battery life by using some different governors.Basically its for someone who would be interested in a kernel synced with the latest CM10 sources for 4.1.2 JB and who wants to wait until CM10.1 gets a bit more stable.
It also represents my first forray into kernel compiling and development. I likely wont be much of a developer at all, but should gain at least enough understanding to cut and paste source code from people smarter than me and maybe do some slight modifications here and there (and slowly learn more by browsing around github).
I learned a lot of this by reading many of klin's posts as well as some stuff from rohan32 over in some one x forums. I gotta thank these folks for posting threads that really allow a n00b to get started in this world.
I am a complete kernel mod n00b so pls dont make fun of me just yet.
Im simply trying to have some fun! I will also be creating a github account soon and working off of there, and grabbing the best sources etc for the One S should be much easier once i figure out the github world. After I figure out github a bit, I will come back to this and add a few more basic features. We will see if it will be worth it though, as there are some amazing kernel folks out there (including klin, zarboz, and showp) who have contributed to One S kernels. I have noticed though that there hasnt been much AOSP based custom kernel development for the One S. So Im just trying to make a (very) small contribution.
Please let me know if anything doesn't work! And dont blame me if your device gets borked, lol.
If its not obvious for this kernel, simply fastboot flash boot the attached image.
Also I recommend using kernel tuner to tweak, following Zarboz's suggestion. It's a good program and let's you set governors for individual cpus and settings tend to stick well.