Custom Kernel 4.1 JB

Discussion in 'Lenovo IdeaTab A2109 Development' started by vampirefo., Mar 3, 2013.

  1. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Use at your own risk.

    This kernel is complied from current JB source.
    The kernel performs same as stock, but more power, all bench tests on this kernel will be higher than stock kernel.
    If you are happy with stock kernel stick with it, if you want more power than stock, give my kernel a try.

    It's best to bench test your kernel, before you try my kernel, that way, you will know how much this kernel, has or has not increased your performance.

    Below are some bench tests results.

    average bench

    quadrant 4600

    Antutu 14200 *note all the highest bench tests posted are from this kernel, my kernel currently holds all the top spots in this test for the a2109.

    Epic Citadel 49

    Linpack 125.00

    schedulers

    deadline
    row
    cfq
    sio
    vr

    governors

    smartass2
    lagfree

    This is the kernel I use on my dual boot, it's a work in progress, I only add what I like in the kernel.


    This is a first release so this should be considered beta.

    will list more details about kernel as time permits, right now getting ready for the The Bible (TV series)

    Dev-Host - vampirefo_jb_kernel.zip - The Ultimate Free File Hosting / File Sharing Service


    Below is my build script, I make my own scripts, to build kernels.

    Code:
    #!/bin/bash
    #variables
    initramfs=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/jb_sd_boot.img-ramdisk_FILES
    modules=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/jb_sd_modules/system/lib/modules
    makeboot=/media/22ce18ab-d780-4388-a21a-57d2c2464bc7/home/vampirefo/Desktop/Lenovo/custom_kernel
    inv_mpu=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/drivers/misc/inv_mpu
    drivers=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/drivers
    net=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/net
    tegra=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/arch/arm/mach-tegra
    crypto=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/crypto
    bcm=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/drivers/net/wireless/bcmdhd_fxn_125_120
    zImage=/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/A2109-JB_GPL_RC1_227/arch/arm/boot/zImage
    cc=/home/vampirefo/x-tools/arm-lenovo-linux-gnueabi/bin/arm-lenovo-linux-gnueabi-
    
    #setup kernel
    export CROSS_COMPILE=$cc
    export ARCH=arm
    cd A2109-JB_GPL_RC1_227
    #cd A2109N_GPL_kernel_570
    make distclean
    #make ics_tegra3_android_defconfig
    make jb_tegra3_android_defconfig
    make xconfig
    make modules
    
    #Copy modules to jb initramfs
    rm -r $modules/*
    cp $inv_mpu/mpu6050/mpu6050b1.ko $modules
    cp $inv_mpu/compass/inv_mpu_ak89xx.ko $modules
    cp $net/wireless/cfg80211.ko $modules
    cp $net/wireless/lib80211.ko $modules
    cp $net/mac80211/mac80211.ko $modules
    cp $tegra/baseband-xmm-power2.ko $modules
    cp $inv_mpu/accel/inv_mpu_kxtf9.ko $modules
    cp $inv_mpu/mpu3050/mpu3050.ko $modules
    cp $inv_mpu/compass/inv_mpu_ak8975.ko $modules
    cp $drivers/usb/serial/baseband_usb_chr.ko $modules
    cp $drivers/net/usb/raw_ip_net.ko $modules
    cp $drivers/scsi/scsi_wait_scan.ko $modules
    cp $crypto/tcrypt.ko $modules
    cp $bcm/bcmdhd.ko $modules
    
    make -j5 
    
    cd $makeboot
    rm -rf ./zImage_jb_sd
    rm -rf ./jb_sd_gboot.img
    
    #build boot.img
    cp $zImage $makeboot/zImage_jb_sd
    ./repack-bootimg.pl ./zImage_jb_sd $initramfs ./jb_sd_gboot.img
     
    Last edited: Mar 4, 2013
    • Like Like x 18
  2. flashallthetime

    flashallthetime Senior Member

    Joined:
    Dec 28, 2012
    Messages:
    499
    Likes Received:
    235
    Trophy Points:
    132
    Tablet / Device:
    ideatabA2109
    So just flash it in recovery? of course dalvik and cache should be wiped, I will give it a go. Note, I guess updater script is set up for your dual boot scenario, so the zip flashes but doesn't inject kernel , so I just replaced the boot IMG in my ROM zip and I am know running your kernel, looks like a nice jump in antutu score:D, nice work, I'll test it for awhile and would love to use this in my ROM?
    Also looks like multi-touch is working far better, the keyboard works fanatastic know, camera works, WiFi works, Bluetooth turns on

    Sent from my IdeaTabA2109A using Tapatalk HD
     
    Last edited: Mar 3, 2013
    • Like Like x 4
  3. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Thanks, I changed update script, should now work, Yes you can use in your rom, LOL your rom is what I am using to do my tests.:cool:
     
    • Like Like x 2
  4. flashallthetime

    flashallthetime Senior Member

    Joined:
    Dec 28, 2012
    Messages:
    499
    Likes Received:
    235
    Trophy Points:
    132
    Tablet / Device:
    ideatabA2109
    Great, fast as heck now I guess a simple update is in order, thanks and I will give you credit

    Sent from my IdeaTabA2109A using Tapatalk HD
     
    • Like Like x 2
  5. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Thanks, I think your rom and my kernel compliment each other, on my tablet they both work great together.
     
  6. flashallthetime

    flashallthetime Senior Member

    Joined:
    Dec 28, 2012
    Messages:
    499
    Likes Received:
    235
    Trophy Points:
    132
    Tablet / Device:
    ideatabA2109
    Yes, agreed
    New Roms online,, buuutttttteeeerrrryyyyy smooth:thumbup:

    Sent from my IdeaTabA2109A using Tapatalk HD
     
    Last edited: Mar 3, 2013
    • Like Like x 4
  7. ownjoouk

    ownjoouk Member

    Joined:
    Feb 24, 2013
    Messages:
    79
    Likes Received:
    13
    Trophy Points:
    72
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    Awesome news guys! Thanks for the work!!
     
    • Like Like x 2
  8. ramdyc

    ramdyc Member

    Joined:
    Dec 26, 2012
    Messages:
    19
    Likes Received:
    6
    Trophy Points:
    62
    Location:
    SF Bay Area
    Tablet / Device:
    Lenovo Ideatab A2109
    Sweet! How's battery life with this? Any noticeable difference?
     
    • Like Like x 2
  9. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    I haven't really used stock kernel much to compare. I used stock kernel to set benchmarks, then worked on custom kernel to beat them. To get the best from this kernel install flashallthetime's rom. He has included kernel in his latest rom.
     
    • Like Like x 2
  10. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I know that you will post your custom JB kernel soon after your post the information about JB kernel source!! :) Thank you so much for making us a custom kernel!! :D I really really appreciate your work :D :D
     
    • Like Like x 2
  11. stal2k

    stal2k Member

    Joined:
    Dec 13, 2012
    Messages:
    35
    Likes Received:
    11
    Trophy Points:
    72
    Very nice work vamp. You have recommendations for I/o and governed? And yes the ROM/kernel combo is wonderful. The whole community just got a nice gift. Thanks both of you!

    Sent from my IdeaTabA2109A using Tapatalk HD
     
    • Like Like x 4
  12. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    I use row for scheduler, For the governors I use Performance for bench tests, and games, for battery, I use conservative or Interactive.

    Those are just my choices, I sometimes switch and try other governors, but for the most part, I just use the two above.
     
    • Like Like x 2
  13. stal2k

    stal2k Member

    Joined:
    Dec 13, 2012
    Messages:
    35
    Likes Received:
    11
    Trophy Points:
    72
    Harm I was playing around with em I ran a bunch of benches I seemed to get by and fire highest score 500+ I/o with that vr scheduler. Haven't ever seen it before. Govs were close but smartass topped me out. Could that just be mine? I couldn't top 1400 but got 13600. Didn't oc. But using the ROM / kernel all day man its smooth. The whole reason ppl flash is hoping their device runs like this.

    What's the deal with that glow ball by the way didn't you have it running at one point? Its kinda the forbidden fruit I'm sure it prob sucks but I won't lie I tried it haha.

    Sent from my IdeaTabA2109A using Tapatalk HD
     
  14. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    What ever combo works best for your setup, is fine. I have turned up the power slightly on the kernel I am working on right now. As far as glowball that's not kernel specific. That's lib problem, I have contacted lenovo techs, and requested they fix it.
     
    Last edited: Mar 5, 2013
  15. Linsalata28

    Linsalata28 Senior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    Very glad to see this. I'll give it a try later when I have time.
    Thanks for your work and time you put into this.
     

Share This Page

Search tags for this page
cmw rom s2110a
,
custom kernel a2109
,
custom kernel for tablets
,
custom kernels in tablet
,
custom rom for lenovo s2110
,
custom rom lenovo a2110 tablet
,
download lenovo custom kernel
,
download oc kernel for lenove tablets
,
download oc kernel for lenovo tablets
,

ideatab rom 2110

,
ideatab s2110 cyanogenmod
,
ideatab s2110a custom rom
,
lenovo custom kernel
,

lenovo s2110 custom rom

,

lenovo s2110 rom

,
linux auf lenovo s2110a
,
s2110 custom rom
,
s2110 cyanogenmod
,
s2110 upgrade rom
,
s2110a upgrade