• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[KERNEL][AOSP/TW][27 Dec] War Kernel r3 // colder than ever

Search This thread

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
Hi all,

I'm happy to present you my kernel, War Kernel, based on latest TW kernel sources.
Here you go, @XxPixX :highfive:

Changes over stock :
  • Mali r3p2 merged
  • GCC 5.3 compiled (feels snappier!)
  • Defaults to interactive/ROW
  • 59hz panel overclock for lower input lag (disabled for now)
  • FPBug patchset merged
  • TRIM support (read this)
  • 13-step cpufreq
  • 3-step GPU DVFS
That's all. These tiny changes are trully noticeable. ;)

Download :
(if the download page gets stuck disable your ad blocker)

old: r2/war, r1/war, r10, r9, r4/TW, r8, r7, r3/TW, r6, r2/TW, r1/TW, r5/KK4.4, r4/JB4.3, r3, r2/JB4.3, r2/JB4.2, r1

Dear developers
War Kernel repo
Raw Kernel repo
Raw Kernel for Touchwiz repo

Dear adventurers
nothing to see here

Have fun.
 
Last edited:

log30

Senior Member
May 30, 2012
158
29
Good news! New kernel for note, thanks and i hope this will be a good kernel!

Enviado desde mi GT-N7000 usando Tapatalk 4
 

onyez

Senior Member
May 22, 2013
100
3
fashed the kernel and so far so good everythig is ok. if its not to much to ask for a request. please in ur next release please add slide2wake function and sound boost like in dorimanx kernel.
 
  • Like
Reactions: pSyCh¤_O_O

chasmodo

Senior Member
Dec 28, 2011
12,406
41,141
Novi Sad
please in ur next release please add slide2wake function and sound boost like in dorimanx kernel.

It would also be extra handy if your next kernel iteration could be able to prepare delicious meals, automagically disconnect when my ex-wipe™ calls and bark at postmen when they enter my front yard. Please consider including these useful futures®, I'd much appreciate it.
 

onyez

Senior Member
May 22, 2013
100
3
OK so after a few hours of testing, the phone is not heating up at all and its very fast and fluid but the battery runs down too quickly, lost 3 percent in time it took me to type this. I'll test how well it sleeps next and report back
 
Last edited:
  • Like
Reactions: hateserials

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
Thanks everybody !

I will release two undervolted test builds (CPU and GPU) as soon as I can. CPU will only affect group B as I can't test for group A and C.
I do not intend to add some fancy features or overclocking to this kernel. I'm trying to make simple changes that have a real impact.

Remember : the main bottleneck of the Note is in userspace, not the kernel. The latest Insignal source drop may improve a lot the smoothness of our device. It is not merged yet into CyanogenMod, as it requires some big changes, but it will come some day. Crossing fingers.

I'm waiting for some more feedback... :cowboy:
 

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
CPU undervolting test build.

Here's the hardcoded voltage table I'm using (only for group B), based on my own tests :
Code:
MHz         mV      crash   nominal delta
1400        1200    1125    1300    100
1200        1100    1025    1225    125
1000        1000    950     1125    125
800         900     850     1050    150
500         875     825     950     75
200         850     775     950     100

Download : raw_kernel_r1_cpu.zip

This is a TEST BUILD so it may be UNSTABLE. Report any problem but don't complain.
 

noteandfound

Senior Member
Nov 11, 2012
677
258
munoz
CPU undervolting test build.

Here's the hardcoded voltage table I'm using (only for group B), based on my own tests :
Code:
MHz         mV      crash   nominal delta
1400        1200    1125    1300    100
1200        1100    1025    1225    125
1000        1000    950     1125    125
800         900     850     1050    150
500         875     825     950     75
200         850     775     950     100

Download : raw_kernel_r1_cpu.zip

This is a TEST BUILD so it may be UNSTABLE. Report any problem but don't complain.

Im on a volt group B.

The most stable undervolt I use from ICS to JB is:

MHZ----------VOLT

1400---------1175
1200---------1150
1000---------1075
800-------------950
500-------------875
200-------------850

I use this all the time on TW, NX, LoKi kernel and no instability.
Will try your kernel later when I get to charge it a little bit more.
Lets see how those undervolts go :thumbup::D

EDIT: now testing :thumbup::thumbup::thumbup::thumbup:

Sent from my GT-N7000 using Tapatalk 2
 
Last edited:
  • Like
Reactions: GeeckoDev

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
GPU undervolting test build #2

Slightly increased lowest GPU step from 133 to 134MHz as Tegrak was reporting an actual frequency of 115MHz. It should be even smoother now.
CPU voltage is stock, while the GPU voltage table is set as follow :
Code:
mHz         mV      crash   nominal delta
267         900     800     1100    200
200         850     750     1100    250
134         800     <750    1000    200

Download the build here : raw_kernel_r1_gpu.zip

Same advice applies. This is a TEST BUILD. Please report back ! ;)

EDIT: I spotted a mistake in mali_platform_dvfs.c which was setting a higher voltage than needed when ASV_LEVEL was set to 0, so I set it to 1 (fix included in this build). Default voltages are 1100 and 1000mV in CM10.1 while it should be 1000mV and 950mV :)
 
Last edited:

bratboo

Senior Member
Dec 20, 2009
782
244
GPU undervolting test build #2

Slightly increased lowest GPU step from 133 to 134MHz as Tegrak was reporting an actual frequency of 115MHz. It should be even smoother now.
CPU voltage is stock, while the GPU voltage table is set as follow :
Code:
mHz         mV      crash   nominal delta
267         900     800     1100    200
200         850     750     1100    250
134         800     <750    1000    200

Download the build here : raw_kernel_r1_gpu.zip

Same advice applies. This is a TEST BUILD. Please report back ! ;)

EDIT: I spotted a mistake in mali_platform_dvfs.c which was setting a higher voltage than needed when ASV_LEVEL was set to 0, so I set it to 1 (fix included in this build). Default voltages are 1100 and 1000mV in CM10.1 while it should be 1000mV and 950mV :)

Hi! Just to clarify. Does this new build raw_kernel_r1_gpu have stock CPU mV like in OP or is this packed with the test build raw_kernel_r1_cpu from above?

Thanks!
 

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
Hi! Just to clarify. Does this new build raw_kernel_r1_gpu have stock CPU mV like in OP or is this packed with the test build raw_kernel_r1_cpu from above?

Thanks!

This build indeed has stock CPU voltage table as said in the previous post. Thus if anyone has a problem, it will help me to fix the right voltage table (cpu or gpu).

However, the next r2 build will have both included. Also, you must know that the modifications only affect group B as I can't test for group A or C, and group B represents 90% of the Notes out there. :cowboy:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 218
    Hi all,

    I'm happy to present you my kernel, War Kernel, based on latest TW kernel sources.
    Here you go, @XxPixX :highfive:

    Changes over stock :
    • Mali r3p2 merged
    • GCC 5.3 compiled (feels snappier!)
    • Defaults to interactive/ROW
    • 59hz panel overclock for lower input lag (disabled for now)
    • FPBug patchset merged
    • TRIM support (read this)
    • 13-step cpufreq
    • 3-step GPU DVFS
    That's all. These tiny changes are trully noticeable. ;)

    Download :
    (if the download page gets stuck disable your ad blocker)

    old: r2/war, r1/war, r10, r9, r4/TW, r8, r7, r3/TW, r6, r2/TW, r1/TW, r5/KK4.4, r4/JB4.3, r3, r2/JB4.3, r2/JB4.2, r1

    Dear developers
    War Kernel repo
    Raw Kernel repo
    Raw Kernel for Touchwiz repo

    Dear adventurers
    nothing to see here

    Have fun.
    73
    I made another interesting discovery today. :) It's related to the Insignal graphics stack I tried to merge last year.

    So, last year, Insignal released their jb-mr1.1 source for Exynos 4412 that was insanely great because their graphics stack is entirely revamped from the ground up, looking a lot like what's found in the Nexus 10 which uses an Exynos 5 SoC. When doing the diff, it turns out this SoC is not so different from our Exynos 4, so the code is like 95% similar.

    The first thing to do was to merge the userspace code. That's a slightly modified gralloc with an entirely new hwcomposer that does the job. After testing it, it was barely working, crashing a lot, and after some inspection it turned out that we needed to update some kernel drivers.

    The Insignal kernel is based on the 3.4 Android kernel reference, s3cfb driver is nuked and replaced by a new s3c-fb framebuffer driver that interacts with the new hwcomposer and uses dmabuf/ION. This new driver in turn depends on a new 3.4 ION driver and Mali blobs with UMP disabled and dmabuf enabled (r3p2).

    I could merge the new ION driver without much problems, and the Mali driver was just a matter of replacing the blobs. However, removing the old s3cfb driver meant that the panel driver was also gone (the Origen board uses a LCD, which is completely different), and I had no idea how to get the panel working at this point. Also, merging the s3c-fb driver meant that the kernel was crashing early with no way to debug it. I was hitting a wall...

    This morning I looked at the i9500 (S4) kernel code and guess what... Everything's there, the new framebuffer driver with all the panel drivers, even OUR panel driver! It includes: s3c-fb, MIPI-DSI driver, lcdfreq driver, s6e8aa0 panel driver. I know how to merge this sh*t. And we have three reference sources: exynos4 insignal, exynos5 nexus, exynos5 i9500 that share almost the same code.

    One problem though, Insignal has taken down the sources and binaries a few months ago. However, we have it all backed up: kernel source, userspace code (1, 2), and the last missing piece, the blobs (thanks @sbrissen !).

    This is our chance to get a graphics stack that surpasses what Samsung ships and will ever ship with Touchwiz for i9100/N7000/i9300/N7100 :victory:

    Edit: I'm writing this wall of text to help other developers understand what's going on. This is something I needed when I started developing... It is very hard to get any documentation, so I hope it will help others that would like to take part of this.

    Edit2: by looking at gralloc_priv.h, it seems Insignal's gralloc is based on r3p2-01rel0 release.
    50
    Announcing Raw Kernel r6

    Boom!!

    Changelog :
    * Latest Omni changes included
    * Updated ramdisk, finally fixes SD card issues on Kitkat!
    * JB version includes Mali r3p2 blobs!

    KitKat version is only compatible with OmniROM 4.4.
    Jelly Bean version is only compatible with CyanogenMod 10.2.

    Download :
    * raw_kernel_r6_k44.zip
    * raw_kernel_r6_j43.zip

    My new pc is totally awesome, I can compile my kernel in less than two minutes now :D
    Expect another announce in a few days. :)
    44
    Announcing Raw Kernel r4

    More than two months after r3, here comes r4 :angel:

    Changelog :
    * Rebased upon cm-10.2 branch with latest changes included
    * Updated Linaro toolchain to 4.7-2013.09
    * Updated ramdisk with latest CWM recovery

    No more phone app issues!

    Download :
    * raw_kernel_r4_j43.zip

    Looking forward to KitKat, OmniROM and a source drop from Samsung to have proper r3p2 drivers... :good:
    43
    Great to see some more work being done on this Geecko, thank you!

    http://irclog.whitequark.org/teamhacksung/2014-02-17

    I don't like being watched like this :D

    EDIT:

    More details about what I'm trying to do :
    - Backport ION kernel from Insignal 3.4 (it's compiling now). It's a mandatory requirement for the framebuffer driver, also the hardest part in my mind. Will totally break the camera stuff
    - Disable UMP and use older r3p2-01rel0 Insignal Mali binaries which are using dma-buf instead (easy to merge in theory, it's also required)
    - Use s3cfb framebuffer driver from Insignal with dma-buf support
    - Finally switch to this [email protected]@@@cking hwcomposer that will do wonders (the pull request is ready to merge since months)

    Nexus 10 grade graphics stack for our Exynos 4 devices. Even better than what's shipped in the stock firmware. :D