Beta MECHA Kernel 6 Apr 11

I guess something got messed up in the release on 4 Apr, the proximity sensor wasn’t working correctly. I had just re-done my entire source tree, I decided to rebase so that I could move an older patch forward, and wasn’t paying attention to what I was doing, so I messed things up. No big deal really, just started from scratch again, and re-applied the patches.

I wasn’t planning on releasing anything until I finished re-writing acpuclock-7×30.c, which I started on yesterday. There’s really no change you will see, everything that’s done is mostly transparent to the end user. What I’ve done so far is to get rid of the damn hard-coded freq_table, and create it dynamically from the acpu_freq_tbl, just like it’s done in acpuclock-scorpion.c. If you’re not a kernel dev, don’t worry, it works. lol

Enough rambling, on to the good stuff……

Changelog:
Started rewrite on acpuclock-7×30, now dynamic freq_table
Enabled 2.03GHz, remember, you guys asked for it 😉
Proximity sensor appears to be working better, still need to do more with it.

md5sums:
10f9ac880fe3ddb6c21a564c4380a4c3 ztest-MECHA-BFS-040611-1739-test.zip
cb47f08bf9515282d356e517ee2bdf4d ztest-MECHA-CFS-040611-1739-test.zip

Downloads:
Beta Kernel MECHA CFS 6 Apr 11 (1042 downloads)
Beta Kernel MECHA BFS 6 Apr 11 (3000 downloads)

To Do List:
Finish re-writing acpuclock-7×30
Implement HAVS
Re-do the voltage table, I think there’s even better battery life to be obtained.
Even more, to include requests from you guys

Changes so far:
Just in case you guys are curious, here’s how many changes I’ve done from the original HTC source:
Lines added: +30179
Lines subtracted: -12130

And here’s the command I use to do that:
git log –numstat –pretty=”%H” 08683a509c588c050fc6de93ed7bbdadc0b719a9..| awk ‘NF==3 {plus+=$1; minus+=$2} END {printf(“+%d, -%dn”, plus, minus)}’

08683a509c588c050fc6de93ed7bbdadc0b719a9 is the sha for the initial commit, I got that by running git rev-list –all –pretty.

26 Comments

  1. Ping from Nikolai:

    Loving the kernel! Im gonna use yours for a bit now and see how the battery is like. Got it to 2 ghz on performance.. im scared to try smartass, itll probably lock lol. I underclock to 806 on any kernel now, it doesnt seem to make a difference

  2. Ping from Slice:

    Do you personally recommend CFS or BFS. Just tried new kernel at 2ghz (CFS) and stable. Is this kernel undervolted at lower (10036) frequencys. When do you imagine HAVS to be done, really looking forward to get better battery life on my thunderbolt.

  3. Ping from morpheousrx:

    Ziggy…thanks for the awsome kernal…super fast. Was wondering if you could make the same kernal with more aggressive voltages for people who have extended batts and dont mind having to hook up charger by dinner time. I myself am a performance freek. Once again…thanks for all your hard work. 🙂

  4. Ping from [ROM] [MikRoms] The Perfect Storm v1.0 [03-23-11] Thunder and Lightning! - Page 8 - Android Forums:

    […] are some new kernel that are said to fix the light sensor. Beta MECHA Kernel 6 Apr 11 __________________ [Only registered and activated users can see links. ][Only registered and […]

  5. Ping from detox246:

    They closed your thread at xda. Is there any other site you use to publish your releases or should I just come here for updates. Love the bfs kernel. Best battery life I’ve had to date on my bolt

    • Ping from Ziggy471:

      It really wasn’t my thread at XDA, someone who tried my kernel posted that thread.

      I really wouldn’t call them releases, more like a public beta. I can only find so many problems myself, so I decided to open up my kernels for public beta to help me track down the other issues. I still plan on posting more betas, since I know there are a whole lot more issues to be found. Most of those errors come from me moving the source as close to mainline as possible, that patch alone has 14K+ added lines and 8K+ deleted lines. I’m sure that’s what has caused the errors I’m finding now, i.e. the prox sensor.

      • Ping from Thunderbolt_Fan:

        Your kernels are amazing. The BFS flies! And battery life is incredible. Please don’t stop developing for it ever! 🙂 haha. Hopefully when AOSP ROM’s come out you can make it compatible there too. Because once HAVS is on these kernels it’s going to be the best around hands down.

  6. Ping from Droidaholic:

    Hi Ziggy,
    Just wanted to say “thank you so very much” for your work on the Bolt. Just wanted to let you know that I personally found your 04/04/2011 kernel to be best for my phone. I am getting THE best battery life. As I currently write, I’ve been using my phone moderately for 1day 2 hours with 30% battery still left. I was thinking of getting an extended battery but now I find no need for one.

    As concerns the proximity issue, I actually don’t have that issue with that version of your kernel. Not sure if the issue is device specific or not but I am just speaking from my own experience.

    Again, thanks so very much for everything!

  7. Ping from Joe V:

    Where can I find the CIFS module for this kernel. I want to mount shared Windows folders.

    • Ping from Ziggy471:

      There is no module, it’s built into the kernel.

      Directly from the config file:
      CONFIG_CIFS=y

      • Ping from Joe V:

        so what should I do to mount a cifs share (from my win7 pc) via wifi? The app I have wants a module (cifs.ko) from what I can tell.

        • Ping from Ziggy471:

          I just connected to a server I have here at home via ES File Manager, and it worked just fine. Which app are you trying to use, I’ll download it and take it for a spin.

          • Ping from Joe V:

            “Mount Manager” is the app I would like to use. I can connect to my pc shares already using AndFTP and Astro File Manager. But those are only connections through those apps.

            I would like to Mount my shares so that my other apps (for music and movies, etc) can browse and access those files/folders as if they were on the SD card.

          • Ping from Joe V:

            And from what I have read, it seems this is only possible with a cifs.ko module. I have heard that other Kernel makers needed to decompile to get this.

            (ex. /system/lib/modules/2.6.34-cyanogenmod/kernel/fs/cifs/cifs.ko)

          • Ping from Ziggy471:

            I just did a successful mount with Mount Manager, but here’s the problem, at least with BAMF 1.2, /system/bin/mount is linked to toolbox, not busybox. Here’s how I fixed it:
            1. adb remount
            2. adb shell
            3. cd /system/bin
            4. rm mount
            5 ln -s /system/bin/busybox /system/bin/mount
            6. exit
            7. adb remount

            Hope that helps.

          • Ping from Joe V:

            cool… thanks.

            What was your exact procedure in Mount Manager? Did you have to load any Modules? What were your mount settings?

            Thanks again.

          • Ping from Ziggy471:

            You don’t have to load modules, because they are none to load, it’s built into the kernel. I didn’t change anything in the settings for Mount Manager, just put in a windows share. Now I did just mount it as Guest, not authenticated user, but that should work too.

          • Ping from Joe V:

            Awesome, it works. Thanks again.

          • Ping from Ziggy471:

            np, anytime

  8. Ping from houseboatwayne:

    Any kernel updates coming soon for us to test?

  9. Ping from Paul:

    Changing VDD does not work? after an echo no values actually change.. im disapointed any1?

Leave a Reply