April 26, 2011

Download: Droid Kernels V0.2

It's been a while since my last set, so I am happy to present to you the most advanced kernels for Droid to date. This set is built from the latest source, I did not build upon someone else's, I started from scratch. Changes from my last version include updating the Interactive governor to the version found in the .38 kernels. No other kernels out have this governor yet, it has two tuneables rather than just one. I also updated the compcache module to the new zram.ko, meaning these kernels will be fully compatible with CyanogenMod and others. Thanks to cvpcs, the new .35 kernel USB switches have also been added, fixing USB tethering in Gingerbread. SDCard throughput has also been increased, for faster read/write speeds.

I did not include the "new" governors that are floating around (SmartAss, SmartMod, BumbleBee, etc). All of these are hacked versions of the old Interactive governor (not the new .38 kernel one), meaning they are outdated. All of these governors are modifications of eachother. I will not be adding any of these governors so do not ask. I assure you, using the Interactive governor built into my kernels will yield better results anyways. Here is a quote straight from the .38 kernel source, "Use the CPUFreq governor 'interactive' as default. This allows you to get a full dynamic cpu frequency capable system by simply loading your cpufreq low-level hardware driver, using the 'interactive' governor for latency-sensitive workloads." This would explain why manufacturers have chosen it to be the default governor on most of the new devices, including the Motorola Xoom.

I also kept the default compression method of the kernel. After conducting a bit of research, LZMA compression and others seen in some kernels take longer to decompress. To put this in other words, the phone will take longer to boot by not using the default compression method.

Features:
  • Available in low, standard, or increased voltages
  • Interactive governor ported from .38 kernel
  • New compcache module: zram.ko
  • USB switches from .35 kernel
  • Increased sdcard throughput
  • Bug fixes from newer kernels
  • Built in OMAP temperature sensor
  • All of the official governors
  • Lightweight, stripped of unneeded features
  • Added most popular, requested modules and features

    Downloads:

    Increased voltage (IV)
    Low voltage (LV)
    Standard voltage (SV)

    Note: You will need to use an app or script to have these kernels overclock themselves. If not they will default to whatever the ROM developer has in the ramdisk (most likely 600MHz). To overclock any GPA build, flash AutoOverClock.zip

    Update: I just wanted to give you guys/gals more info about the Interactive governor. I have seen some users on a variety of ROMs saying that the phone takes a while to wake up after pressing the battery button. It all depends on the governor and settings the ROM dev has made in the ramdisk or elsewhere (init.d). You can make a fast kernel, and have the ramdisk or other files slow it to a crawl. On my GPA builds, using the interactive governor there is no wake up delay. That being said, on other ROMs I would suggest switching to, if not already using, the interactive governor. From there if you still see a wake up delay lower this tuneable:

    /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load

    The default is 85, a good number for battery saving, but not for performance. For example, you may lower this number to 80 so the governor will ramp up to max speed (highest slot) faster. You may also want to note that the Motorola Xoom uses the value of 80 by default, maybe you will be happy with this value as well.

    Just FYI there is yet another tuneable in this governor:

    /sys/devices/system/cpu/cpufreq/interactive/min_sample_time

    This tuneable represents the minimum amount of time to spend at the current frequency before ramping down. This is to ensure that the governor has seen enough historic CPU load data to determine the appropriate workload. Default is 80000 uS.

    Unfortunately, SetCPU and possibly other applications have yet to put these tuneables to use via a GUI. So one must have a script or command change them. As you can see, this governor will allow you to save battery or crank out the performance so adjust it to your liking.

      84 comments:

      1. Just installed 1.25GHz standard and I can already see the improvement. Good work. Thanks a bunch!

        ReplyDelete
      2. Thanks Pete! Truely awesome. Flashing the 1 GHz LV now.

        ReplyDelete
      3. Is this the same kernel as is in your 4-23 nightly build?

        ReplyDelete
      4. No sir, it is a bit different, I made these today.

        ReplyDelete
      5. Awesome. I'm looking forward to getting USB tethering back.

        ReplyDelete
      6. Just wow Pete, Just wow, your work is amazing. I'll be so upset that I one day I'll be running the Droid 3 with no Bugless Beast (or will we?).


        Just wondering any reason the name shows up as "2.6.32.9-pteralfonso root @ pete #15" instead of indicating .8/.9/1 ghz?

        ReplyDelete
      7. What are the advantages and disadvantages of a low voltage kernel compared to an increased voltage kernel? Thanks in advance.

        ReplyDelete
      8. hey pete, i got a question that i think will rack your brain, are these worthy of the 'bugless' stamp...? lol

        ReplyDelete
      9. @Jay, that was too much work, these took all day as it is
        @Kevin, low voltage uses less battery power
        @Anonymous, these will power bugless beast

        ReplyDelete
      10. Works great! Awesome job. @Kevin, low voltage uses less battery and runs cooler, but some droids cant handle low voltage. Look it up. It also depends on the kernel (.8 vs. 1.25) when it comes to figuring out which performs better all around (speed, battery life, temperature, and if your phone boot loops or not)

        ReplyDelete
      11. good ole petey ;-)

        ReplyDelete
      12. Peter... You rock as always...

        ReplyDelete
      13. Why no 0.60GHz like in V0.1?

        ReplyDelete
      14. @Ben, the stock kernel is the 0.80GHz, most ramdisk default it to 0.60GHz so I figured I would just save myself some time.

        ReplyDelete
      15. Do we need to use setcpu to overclock or does this kernel take care of everything on its own?

        ReplyDelete
      16. Do we have to use setcpu to clock or does it do it for us when we flash the kernel?

        ReplyDelete
      17. why would anyone want increased voltage though? won't that kill battery life like crazy? why not just use standard if anything?

        ReplyDelete
      18. @WK: Depending on individual manufacturing variations, sometimes you need to increase CPU voltage in order to overclock it, otherwise the phone becomes unstable.

        ReplyDelete
      19. For those asking what to use to overclock. I added an AutoOverClock.zip to the post. It will work for any GPA build. It may work on other ROMs if they still load install-recovery.sh, ask your ROM dev.

        ReplyDelete
      20. Hey Pete, any news on when a final version of GPA15 will be availible?

        ReplyDelete
      21. Thanks again Pete your the man!

        ReplyDelete
      22. Peter,

        Is this an updated autooverclock.zip? It's file size is slightly different than that posted with your GPA10 announcement.

        Thank you so much for the GPA14 build. I have finally returned to being happy with my droid, for the first time since August's 2.2 update.

        ReplyDelete
      23. Is there a Howto to flash the AutoOverClock.zip?

        Do we just change it to "update.zip" and do an update?

        ReplyDelete
      24. So is there any problem using SetCPU or another program? Or have you out done yourself (and everyone else) again with some vast improvement that's just better?

        ReplyDelete
      25. Will this work with GPA 15 builds?

        ReplyDelete
      26. Pete,

        Loving the 1.10GHz_LV_V0.2 kernel~ I see a lot of improvement! Keep up the good work! Look forward to GPA15!!

        ReplyDelete
      27. Do I have to flash both files? kernel AND overclock.zip?

        ReplyDelete
      28. Pete, just installed the Beta GPA15 4-27 nightly update followed by your new 1.0ghz LV kernel and... holy smokes! My droid is running lightning fast and better than ever! GREAT work on the new kernels!! Not sure why anyone would get rid of their OG Droid with you keeping us running so fast. Keep up the good work!

        I'll be sure to donate as soon as I get paid this week!

        ReplyDelete
      29. I'm on GPA build, how do i flash the kernel? ClockworkRecovery or some other way? thanks

        ReplyDelete
      30. Perhaps this is a dumb question - I use your ROM and love it, but am using the stock OG Droid kernel.

        Given the huge number of choices here, which kernel should I start with? I don't really care about overclocking, just want more stability and possibly better battery life.

        ReplyDelete
      31. Amazing - my Droid is much smoother now. Thanks Peter!

        ReplyDelete
      32. Should I use setcpu app or your autooverclock.zip? Which is better?

        ReplyDelete
      33. Awesome work Pete. Just flashed 1.0 LV and it works awesomely. Looking forward to GPA15 too!

        ReplyDelete
      34. Are these updates included in the 4/27 GPA15 build? I'm guessing so but figured I'd check...

        ReplyDelete
      35. Thanks. Just flashed 1.0 LV. Running GPA14 too. Works like a charm.

        ReplyDelete
      36. Pete
        Good job As always. Thank you.
        What is the best way to tell if the autooverclock.zip worked

        ReplyDelete
      37. @Max, if using one of my GPA builds, you can run "cpuinfo" in a terminal and it will output all the info you need to know.

        ReplyDelete
      38. Flashed 1.0 lv, and AutoOverclock. So far, everything looks great!
        The only question I had was regarding compcache. Previously I would use "compcache start" from a terminal. Now that command complains about a missing kernel module. Seems it is looking for the old module name.
        This is on GPA14, so I'm guessing the compcache script from that rom is taking precedence?

        Relatedly, is there a better way to have compcache start on boot than using the Autostart app and autostart.sh? That hasn't been very reliable for me.

        Great work as always, and thanks again!

        ReplyDelete
      39. Kernel is amazing, phone is running smoother than ever..Can't get the new Compcache to work though, anyone have it working?

        ReplyDelete
      40. @Anonymous, you must have my modified compcache script, in GPA15 :)

        ReplyDelete
      41. i am running the 1 g lv now with gpa14 - no issues so far. is 15 getting close to ready yet? will i need to reinstall the .2 kernel after upgrading to 15, or ?

        ReplyDelete
      42. to control the cpu i'm using the "no frills cpu control" from the market, it applies on boot and lets you pick min/max and gov type. seems to work well for me!

        ReplyDelete
      43. so i am running pe so if i flash a kernal of yours and use the built in cpu max and min setting the phone will regulate itself to whats speed is needed right?

        ReplyDelete
      44. Love the kernel (1.25lv) using with cm7. compcache swap USB tether all working perfectly snappier performance than latest deprimed running same clock speeds.

        ReplyDelete
      45. @Justin, spread the word brother, spread the word!

        ReplyDelete
      46. Will this work with GPA15 beta?

        ReplyDelete
      47. Pete, I have a question. Im assuming the SD speed mod you put in this amazing kernel is the same thing as those apps that increase sd cache from stock 128mb. I am currently running an app called SD speed increase, which sets a custom cache size at boot, and recommends 2048mb. Just curious, what cache size did you choose? And I also assume that its safe to uninstall the app if im using your kernel? Thanks!

        ReplyDelete
      48. Gpa15 with your 1.0 lv kernel is working awesome! The 1.25 lv was a bit too much for my phone but the 1.0 is great. Had trouble with the market, but all is well after 1 reboot... Thanks again Pete... Everyone I know with a Droid knows about your work:-)
        Do I need the modified compcache script? If so, where can I get it?

        ReplyDelete
      49. can someone explain, when I can use LV , IV or SV? thanks...

        ReplyDelete
      50. @Scott, you do not need the modified script, it is already in GPA15. If you wish to use compcache, simply run "compcache start" in a terminal.

        @Moody, the best option is LV (Low Voltage), it will use less batter life. If your phone becomes unstable it is because it is not getting enough voltage. From there try a SV (Standard Voltage), again if it is unstable, go to a IV (Invreased Voltage).

        ReplyDelete
      51. Retraction of previous comment: Music being played at fast speeds was fixed with a reboot. Sorry for the premature post. Keep up the good work!

        ReplyDelete
      52. SPECTACULAR! I always tell my no-rooted and newbie friends to start with the best. I tell them to start here.

        ReplyDelete
      53. WTF Pete...You did it again. Kernel: 1.1ghz LV. My phone is at 60%, normal usage, running fast and cool and has been on for 23 hours. Speechless...

        ReplyDelete
      54. If I flash from a 1.0GHZLV to the 1.25GHZLV will I need to re-install AutoOverclock?

        ReplyDelete
      55. WOW... using your Kernel and CM 7.02 and it is much faster than ChevyNo1. Just finished the benchmark and all aspects of the test were faster.

        Can't wait for The Beast! =)

        ReplyDelete
      56. Thanks Pete for answering my question, Great Work.
        I used 1GHZ LV and i see the improvment.

        One question though, does GPA14 Support any other languages like Arabic? I see the letters, but they are seperated! Thanks again.

        ReplyDelete
      57. Do you have to use autooverclock if you are already on GPA14 with 1ghz low voltage kernel?

        And when do you flash it, after flashing the new kernel I guess? Thx

        ReplyDelete
      58. I was just looking through the .38 kernel changes wondering if you were going to include them in your .2 kernel. REALLY REALLY good stuff.

        ReplyDelete
      59. Does SetCPU need to be uninstalled to use AutoOverClock? Do they interfere with each other?

        ReplyDelete
      60. Thanks Peter, the "My Verizon" is working perfectly again after downloading the 4-29 update. I've noticed that this version is running way smoother using the .80 kernel vs. the 1.20 that I was using on the 8-28 update. I also love the smaller frame you have built this one on. I wrote on the Rom Manager comment page yesterday that Motorola should can all of their programmers and hire you with their collective wage.

        While perusing My Verizon, I noticed that I'm eligible for an upgrade to Thunderbolt next month, but I'm going to pass. I'd miss all the fun I'm having following your path of making the Old Geezers out perform the latest and greatest!
        I'm a retired old geezer myself so read into it what you may.

        I don't know what your major is in college, but you have a real talent in programming! I've read it a thousand times on you sites but what I'm about to say, I really mean......THANK YOU!

        ReplyDelete
      61. Would this kernel be appropriate for Bugless Beast v0.6.2.1 or just the GPA series?

        ReplyDelete
      62. @Moody

        I have the same problem with Hebrew that you have with Arabic (only in certain apps). This is a per-app issue with right-left languages that I see in the Browser most often. That's on Google, not Pete.

        ReplyDelete
      63. Love the new kernels!!!! installed the 1.0ghz lv and the phone is zooming!! I am gonna miss your builds when i upgrade in november. when are you upgrading and what are you upgrading to??

        ReplyDelete
      64. I am on GPA 14 and was wondering how I can get compcache to work

        ReplyDelete
      65. Just wanted to say thanks as well... I just donated you 5 bux, and that really can't display how much I appreciate you helping us all squeeze the last bit of life out of these workhorse devices. It really does make surviving the next three months (until I can get an upgrade) much more bearable.

        ReplyDelete
      66. Just installed CM 7.0.2 on my Droid, as I'm new to the custom ROM/kernel scene, I'm not exactly sure what to do with these. Can I just flash this on top of CM or is there some other to install kernels?

        I'm really liking some of CMs tweaks so far, but your changes to the kernel sound very promising (my Droid tends to run warm, so I'm wondering if a LV kernel could help).

        Thanks!

        ReplyDelete
      67. WOW!! I just flashed from v.1 to v.2 of the 1.1LV and this is so much better. THANK YOU for your great work Peter!

        ReplyDelete
      68. Will these Kernels work on other Android Hardware? Like the CDMA HTC Hero?

        ReplyDelete
      69. I'm running the lv 1.00GHz V0.2 kernel with the D1-MIUI-1.4.29 ROM and it's running great. However, it's only running at 800MHz. What script do I have to put in to get it to clock at 1.00GHz?

        ReplyDelete
      70. +1 on question re compatibility of these kernels with 0.6.2.1 BB. You did tell us to ask our rom dev, after all, and that'd be you ;-)

        ReplyDelete
      71. Hey Pete, will this work with Chevys SS5.2 gingerbread rom? If so, what would make it better?

        ReplyDelete
      72. Using MIUI as well - 1.1GHz LV V0.2. Running great - Ron, I am using "No-frills CPU Control" to set the governor and max freq at boot up. Seems lightweight and doesn't run in the background.

        ReplyDelete
      73. could we have a little clarity on the AutoOverClock? does it auto run on boot? what are the parameters? does it get along w/ setcpu? should we uninstall setcpu? sometimes my device runs quite slow (on 1.1 sv) which it never did on the .1 version w/ setcpu. sorry for the length, but i think some of us our wondering

        ReplyDelete
      74. Im having trouble getting compcache to work...
        I just flashed to your 1.1ghz SV kernel, I'm running UD3.1.1, and I go into terminal emulator, type "su", then "compcache start" and it returns:
        modprobe: chdir(2.6.32.9-peteralfonso): No such directory
        /system/bin/compcache: cannot create /sys/block/zram0/disksize: directory nonexistent
        mkswap: can't open 'dev/block/zram0': No such file or directory
        swapon: can't stat '/dev/block/zram0': No such file or directory
        If you can help me out, I'd greatly appreciate it... thanks

        ReplyDelete
      75. Man you need to upgrade your phone my friend. Your development is awesome. You should bring it to a phone as advanced as your capabilities. TB,Targa/Bionic....something.

        ReplyDelete
      76. not anonymous just not logged in you may call me Dwyndal - sorry i'm logged in on another browser and too lazy to switch but I get the LV, SV, IV settings but for a A855 Droid 1, what Ghz do you suggest? I am after more battery life not so much overclocking yet as i'm trying to find a stable mod - Cyanogen was just too buggy for me. I wanted to test yours but figured i'd try a full custom and i love stock because it's minimal which i prefer. Thanks for the hard work, i tip my hat to you and appreciate the help in advance.

        ReplyDelete
      77. Just wanted to give a 'heads up'. I haven't found a Gingerbread ROM that does not flake out on my bluetooth yet, but just for kicks, I fired up GPA14 with the 1ghz V0.2 kernel and the Netflix app from XDA worked like a champ!

        ReplyDelete
      78. Peter, your doing a hell of a job man! It's nice to see someone keep breathing life back into our droids! Thank you for all the heard work you always put into it. I'll be following your work, as I'm sure will a bunch of others. :D

        ReplyDelete
      79. Hi and thank you. Do I need to flash kernel, then reboot, then flash autooverclock, or can I flash kernel, flash autooverclock, then reboot?

        Also, how do I know what speed processor is running at?

        Thank you again,
        Bert

        ReplyDelete
      80. I love you Peter!

        ReplyDelete
      81. Will this kernel work Froyo, or is it GB only?

        ReplyDelete