[KERNEL] vz-oc-linaro kernel v4: CM10.1 overclocking kernel - Linaro build

Search This thread

vanja_z

Senior Member
Oct 1, 2012
125
130
Hi all! I've put up a new build (v3) which now contains all kernel modules and the modified thermald.conf in the flashable zip to improve compatibility with future builds.

IMPORTANT:
I've changed the refresh rate to the sense default (57 Hz). This works better with "Disable HW overlays" selected. I recommend you all use this option to get rid of screen tearing. You will unfortunately need to set it at each boot.
 

macropterous

Senior Member
May 14, 2012
187
42
nyc
Hi all! I've put up a new build (v3) which now contains all kernel modules and the modified thermald.conf in the flashable zip to improve compatibility with future builds.

IMPORTANT:
I've changed the refresh rate to the sense default (57 Hz). This works better with "Disable HW overlays" selected. I recommend you all use this option to get rid of screen tearing. You will unfortunately need to set it at each boot.

Thanks for the update, will report back.

dbd
 

blacklistedcard

Senior Member
Dec 30, 2010
885
174
Re: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

Thanks for the update, will report back.

dbd

+1

Sent from my One X using xda app-developers app

---------- Post added at 05:41 PM ---------- Previous post was at 05:29 PM ----------

So far the updated kernel is running great. With the Hz set to 57, made a huge difference to the screen tearing problem.

Sent from my One X using xda app-developers app
 

bball606

Member
Feb 15, 2011
36
1
On latest cyanogenmod M-release and this is the smoothest I've ever experienced Android. With HW overlays off there isn't any screen tearing or graphical issues at all and I've had it pretty bad on the CM kernels. Outstanding job!
 

erick1499

Senior Member
Aug 28, 2010
150
33
Great kernel when I was using it, but now that I am not using 20130219 and am on the m2 build I am hesitant to use it. Can we expect a release that is optimized for m2?
 

For1n

Senior Member
Sep 28, 2012
247
35
Odp: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

Great kernel when I was using it, but now that I am not using 20130219 and am on the m2 build I am hesitant to use it. Can we expect a release that is optimized for m2?

It works fine with the M2

Send from my One XL CM10.1
 

The_Zodiac

Senior Member
Aug 28, 2010
1,956
260
Unknown
Re: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

Any point in using this if you don't plan on overclocking

Sent from my One X using xda premium
 

sm753

Senior Member
May 1, 2008
256
62
Dallas
I find the linaro kernel provides generally better operation even at the same clock speeds. The kernel seems to sleep more readily as well.

dbd

Thanks for the information. I'll give it a shot. Yesterday was my first day on a CM ROM. I love the "experience"...not sure what the right word is, but battery life was atrocious compared to what I was accustomed to on Sense-based roms and kernels. Note that I am not knocking the ROM nor the kernel. Still trying to get accustomed to the settings and customizations.
 

macropterous

Senior Member
May 14, 2012
187
42
nyc
Thanks for the information. I'll give it a shot. Yesterday was my first day on a CM ROM. I love the "experience"...not sure what the right word is, but battery life was atrocious compared to what I was accustomed to on Sense-based roms and kernels. Note that I am not knocking the ROM nor the kernel. Still trying to get accustomed to the settings and customizations.

No problem. NFC has trouble turning off in recent cm builds (10, 10.1), try disabling NFC if you notice the pn544 wakelock eating up the battery. There are some good tools in the general android thread that may help you increase battery performance as well.

Best,
dbd
 
  • Like
Reactions: sm753

neocryte

Senior Member
Jun 8, 2012
272
26
New York City
Going to try this tonight - curious to see how this helps with the screen tearing! Unless - do you guys know if folks with hboot 1.14 (and no s-off) - can use FlashImage GUI and TWRP to flash the kernel without separately using fastboot to flash boot.img? :) I feel like that has worked for me in the past, but not always.
 

neocryte

Senior Member
Jun 8, 2012
272
26
New York City
Going to try this tonight - curious to see how this helps with the screen tearing! Unless - do you guys know if folks with hboot 1.14 (and no s-off) - can use FlashImage GUI and TWRP to flash the kernel without separately using fastboot to flash boot.img? :) I feel like that has worked for me in the past, but not always.

Went ahead and flashed at work, before getting home - was getting too impatient. I can confirm that flashing via FlashImage UI and then TWRP worked just fine, even though I have hboot 1.14 and no s-off. Did not need to manually fastboot flash boot boot.img.

At first glance, this kernel is fantastic - the screen tearing is virtually gone, I can't notice it on the home screens or most scrolling areas (can see it a little in Titanium Backup, but very minimal).

The interface seems quite a bit snappier as well. Can't wait to see how the battery performs.

Thanks vz!
 

tropazr

Senior Member
Aug 26, 2008
791
631
Columbus
I just flashed this over Rohan's Official Liquid Smooth build....wow. I had flashed Rohan's build without this kernel at first because I was unsure of compatibility and had noticeable tearing when scrolling thru menus so i went ahead and flashed v3 and I am extremely impressed. AWESOME.

This kernel is solid.
 

Arrow44

Senior Member
Aug 21, 2012
401
143
San Antonio
Re: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

Problemo over here. When my phone turns on the scree works perfectly, no lag no nothing, but when I turn the screen off and try to turn it back on, only the capacitive buttons turn on and if I tap around on the screen I get vibration feedback (like I'm hitting a button).
Hope this helps https://www.dropbox.com/s/2egztixh8u7gyg7/dmesg.txt

-Sugardaddy Duncan
 

Wonton Soup

Senior Member
Jun 13, 2012
78
28
Re: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

All I do for tearing is disable hw overlays in developer options and it disappears immediately.

Sent from my One X using xda premium
 

Arrow44

Senior Member
Aug 21, 2012
401
143
San Antonio
Re: [KERNEL] vz-oc-linaro kernel v3: CM10.1 overclocking kernel - Linaro build

Thanks for the report, I won't be able to look at it for a day or two though. What build of CM10.1 are you using?

I'm on Rohans Liquid Smooth 4.2.2 ROM. I know it's not CM10 but everyone over there say to flash this kernel.

-Sugardaddy Duncan
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Introduction
    This is a replacement kernel for CyanogenMod 10 and 10.1 evita builds. The kernel is designed to be as close as possible to the stock CyanogenMod kernel with a few improvements.

    Linaro toolchain:
    The kernel is compiled with the latest Linaro toolchain based on gcc 4.7 rather than the default Android toolchain. This may provide performance improvements in some situations. I have made a few patches applied to make it compatible with gcc 4.7.

    Overclock:
    The highest frequency now available under Settings -> Performance with these kernels is,
    Code:
    CPU: 1782 MHz 1.25 V
    L2:  1350 MHz 1.15 V
    BUS:  532 MHz
    I've also included a modified thermald.conf in the flashable zip.

    Refresh rate:
    I've reverted the refresh rate to the original value from the sense source code (57 Hz). This works better when "Disable HW overlays" is selected.

    Downloading and installing
    Download the flashable zip,

    cm10.1_vz-oc-linaro.4.zip MD5=7233ccffa17fa16a2dc6292ecf755fb4
    mega.co.nz
    ubuntuone.com

    Older versions:
    cm10.1_vz-oc-linaro.3.zip MD5=5e0efdfd0390f3f923090a574d142808
    mega.co.nz
    ubuntuone.com
    cm10.1_vz-oc.2.zip MD5=cf2c4ee8ba09627e598b78dcea225d39
    cm10.1_vz-oc-linaro.2.zip MD5=2931cc59515949fa461a89ea17c99328
    vz-oc.1.zip MD5=2f1740d67cd1d5c02a7ac5489bafe7a0
    vz-oc.2.zip MD5=4e4d444130e8eb71c27cc23fed65fc88
    vz-oc-linaro.1.zip MD5=ca674641e05595e64698afda8aa02943
    vz-oc-linaro.2.zip MD5=2b01472d00e069c53f934c30b49475d1
    cm10.1_vz-oc.1.zip MD5=576db9e99b2289dae7fc5b548a0d61b4
    cm10.1_vz-oc-linaro.1.zip MD5=1a5f3b50608e6b44da50829b2c04ec5c

    If you have HBOOT earlier than 1.14 or have S-OFF, then you can just flash the zip from recovery. This will flash the kernel as well as all required modules and thermald.conf. Otherwise, HBOOT 1.14 users will need to extract the boot.img, enter bootloader mode and run
    Code:
    fastboot flash boot boot.img
    Then you will also need to flash the zip to get modules and themald.conf.

    Compatability
    cm10.1_vz-oc-linaro.4 is compatible with CM10.1 UNOFFICIAL build from 16/04/2013 onwards.
    cm10.1_vz-oc-linaro.3 is compatible with CM10.1 NIGHTLY build from 01/03/2013 onwards.
    cm10.1_vz-oc.2 (and linaro) are compatible with CM10.1 NIGHTLY build from 19/02/2013 only.
    cm10.1_vz-oc.1 (and linaro) are compatible with CM10.1 UNOFFICIAL build from 06/02/2013 only.
    vz-oc.2 (and linaro) are compatible with CM10 NIGHTLY builds from 26/12/2012 to 13/01/2013.
    vz-oc.1 (and linaro) are compatible with CM10 NIGHTLY builds from 28/11/2012 to 25/12/2012.

    Future development
    I hope to introduce GPU overclocking soon and there will be updated builds as
    soon as changes come into the main CyanogenMod repo.

    Building the kernel
    For those who would like to build the kernel themselves, here are some basic
    instructions. First you will need to acquire some tools. You can get the default
    toolchain from the CM10 source code at,
    Code:
    system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/
    Otherwise, if you want to use the Linaro toolchain, you can get it at
    Linaro toolchain
    You will also need a working boot image to get the ramdisk from. You can build
    mkbootimg using these instructions
    building mkbootimg
    Finally, you can get split_bootimg_pl from William Encks site
    download split_bootimg_pl
    Clone the repo and change to your desired branch
    Code:
    git clone https://github.com/vanja-zecevic/android_kernel_htc_msm8960.git
    git checkout jellybean-oc
    Now export an environmental variable pointing to your desired toolchain
    Code:
    export CCOMPILER=$PATH_TO_TOOLCHAIN/bin/arm-eabi-
    Copy the config file, run menuconfig once and start the build replacing -j12
    with your desired number of threads
    Code:
    cp ./config-oc ./.config
    make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER menuconfig
    make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER -j12
    Extract a ramdisk from a working boot image and repack with your freshly built
    kernel using the following command for cm10,
    Code:
    ./split_bootimg_pl ./boot.img
    ./mkbootimg --base 0x80400000 --ramdiskaddr 0x81800000 \
      --cmdline 'console=ttyHSL0,115200,n8' \
      --kernel arch/arm/boot/zImage --ramdisk boot.img-ramdisk.gz \
      -o boot_vz-oc.img
    cm10.1 will need the following cmdline
    Code:
    --cmdline 'console=ttyHSL0,115200,n8  androidboot.hardware=qcom'

    You are ready to flash your new kernel!

    Contact
    I hope you enjoy using this kernel! Please also visit the github page for this project for alternative download links and for the source code.

    GitHub

    Cheers,
    Vanja
    8
    Hey all, posted a new build with some minor updates. Works well with Corys unofficial builds.
    4
    I am really glad that people are enjoying this kernel but I would like to urge you guys to NOT report any issues in the CM10.1 thread or anywhere other than in this thread unless you are using the stock kernel for that ROM.

    Also, just to reiterate, cm10.1_vz-oc(linaro).2.zip kernels are ONLY properly compatible with cm-10.1-20130219-NIGHTLY-evita.zip

    ps. I will look at Rohans helpful suggestion soon but probably not for the next build.
    3
    There has been a lot of active development on the kernel for our device with new commits almost every day. For this reason, the kernels I put up have been becoming outdated pretty quickly. For example, the cm10.1-oc(-linaro).2 builds are only EXACTLY compatible with the 20130219-NIGHTLY. You may find the kernels also work with other builds however it is not guaranteed.

    I will be putting up new builds roughly once per fortnight and I will attempt to keep the compatibility section up to date.

    If you set the kernel to install the modules the kernel build generates as well, you will almost completely rid your kernel of these compatibility problems. Unless a kernel commit is merged that also has parts in the device trees, your kernel will still function as it was intended, and nothing should break.

    If you need help with an installer for the modules, feel free to grab one of my recent kernel release packages and see how the updater script i use does it.
    2
    I've put up cm10.1 kernels!

    ps. cm10.0 stable kernel is coming soon, I haven't forgotten, sorry for the delay