[KERNEL] [4.4] [Multiboot] GraKernel

Search This thread

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
GraKernel

This kernel only supports i920x variants! TW 4.4 and AOSP 4.4

Welcome to GraKernel! I am horrible in naming things, so I just take the first 3 letters of my name and combine it with kernel.

I won't include useless feature to this kernel, only features which give the users proper benefits. Currently I am trying to give the users a balance of performance and battery life, so don't expect this kernel will make your phone faster than other ones. This kernel is made for daily usage!

Most of the features I will port from the msm8960 platform (i9505).

The kernel comes with Synapse. You will find all advanced settings in it.

Sources
Kernel: https://github.com/Grarak/grakernel-msm8930
Ramdisk: https://github.com/Grarak/RomSwitcher-melius

Features
  • boot multiple roms on your phone
    (up to 5 roms only 4.4 AOSP roms are supported currently)
  • 3.4.94
  • based on msm8930 kernel from CyanogenMod (CAF-Kernel)
  • Build with Linaro 4.9.1 Toolchain optimized by Christopher83
  • CPU Overclock up to 2052 MHz
  • CPU Underclock down to 81 MHz
  • CPU Governors:
    • conservative
    • ondemand
    • intellidemand
    • powersave
    • interactive (default)
    • performance
    • intelliactive
  • GPU Governors:
    • performance
    • ondemand (default)
    • simple
  • I/O Schedulers:
    • deadline
    • row
    • cfq
    • bfq (default)
    • sio
    • fiops
  • XZkern
  • CSnappy compression/decompression:
  • CPU Voltage Control
  • exfat
  • f2fs
  • Battery Voltage Control
  • Intelliplug (intelligent hotplug)
  • Intelli-Thermal
  • Dynamic Fsync Control
  • Frandom Support (module)
  • Vibration Control
  • LED Control
  • MSM Kcal
  • zRam
  • Kexec hardboot
  • Support for Synapse

Download
GraKernel

TW = TouchWiz
KTT = Korean Version

Credits
faux123
arco68
AndreiLux
Ezekeel
Torvalds
Tassadar
F4K
Codeaurora
ktoonsez
CyanogenMod
Google
Samsung
 
Last edited:

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
Changelog

2.6
  • Patch kernel to 3.4.94
  • Intelliplug upstream patches
  • Intellidemand upstream patches
  • Sync with CM
  • Update RS Recovery

2.5
  • sync with CM (AOSP)
  • update synapse options

2.4
  • sync with CM (AOSP)
  • Merge with KK (TW)

2.3
  • update RomSwitcher Recovery to 6.0.49 (not for TW version)
  • update Ramdisk

2.2
  • patched kernel to 3.4.91
  • remove 2106MHz CPU step

2.1
  • new CPU frequencies
  • add TW edition

2.0
  • remove Sound Control
  • remove GPU Voltage Table
  • add Input limit and fastcharging current to Battery Control

1.9
  • remove fastcharge
  • add Battery Voltage Control

1.8
  • remove 2106 MHz CPU Freq step
  • fix fastcharge
  • Linaro Toolchain 4.9.1 2014.15 by christopher83


1.6
  • switch to Linaro Toolchain 4.9.1 A15 by christopher83
  • add LED control
  • add f2fs format
  • add romswitcher

1.5
  • add Intelli-Thermal
  • add 2.1 GHz step
  • intelliactive: add upstream patches

1.4
  • wlan: Prima 3.2.7.47
  • update BFQ scheduler to v7r2
  • add cache2dmanager
  • intelliplug: special adaption for dualcore devices

1.2.3
  • Sync with latest cm sources

1.2.2
  • add support for newer cm builds and pacman

1.2.1
  • remove romswitcher for now
  • wlan: Prima 3.2.7.42

1.2
  • add Intelliactive
  • wlan: Prima 3.2.7.38
  • updated RS Recovery with latest cwm sources
  • fix installing recovery from synapse

1.0
  • clean up intelliplug and intellidemand to avoid log spamming
  • increase max voltage limit (fix 2052 MHz step)
  • decrease min voltage limit

0.9
  • wlan: Prima 3.2.7.33
  • modify intelli plug for our phone
  • add an option to enable negative display
  • add missing mdnie options for synapse

0.8
  • add GPU Voltage Control
  • add some missing options in Synapse

0.7
  • add CPU underclock down to 162 MHz
  • add GPU overclock up to 512 MHz
  • wlan: Prima 3.2.7.27
  • fix wifi for all roms after 20140116
  • add Vibration Control
  • add support for Synapse
  • fix Kexec Hardboot
  • enable Android Logger by default
  • change to Linaro 4.8.3 Toolchain optimized by Christopher83

0.6
  • ML2 source drop
  • exfat update to 1.25
  • wlan: Prima 3.2.7.24
  • Implement kexec-hardboot
  • Back to 3.4.0 kernel (stability issues)

0.5.1
  • fix sdcard mounting

0.5
  • add Multiboot support via RomSwitcher
  • update Prima to 3.2.7.23
  • enable Vmalloc saving

0.4
  • back to Faux Sound Control 2.1
  • update ext4 to latest version
  • patch to 3.4.11
  • add sys interface to control logger mode

0.3
  • update Faux Sound Control to 3.1
  • add simple GPU Governor
  • switch to CyanogenMod Ramdisk
  • add Google's Snappy compression
  • add Google's Snappy decompression
  • add sio scheduler
  • add fiops scheduler

0.2
  • add Fastcharge Control
  • overclock to 2052 MHz
  • increase read speed of deadline scheduler
  • increase default readahead value to 1024kB
  • add LZ4 compression
  • add LZ4 decompression
  • add Intelliplug
  • add Dynamic Fsync control
  • remove noop scheduler
  • add intellidemand governor
  • add Frandom module

 
Last edited:

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
How to use kernel features

This kernel comes with Synapse. Synapse has been written by @AndreiLux. The App works with JSON which will generate from UCI (Universal Configuration Interface). So it is possbile to add an interface for a specific kernel. After installing the kernel you will find Synapse in your App Drawer.

Screenshot_2014-02-04-02-15-09.png
Screenshot_2014-02-04-02-15-47.png
Screenshot_2014-02-04-02-16-07.png
Screenshot_2014-02-04-02-16-12.png
Screenshot_2014-02-04-02-16-19.png
Screenshot_2014-02-04-02-16-25.png


Kexec hardboot

Code:
kexec --load-hardboot zImage --initrd=ramdisk.gz --mem-min=0x85000000 --command-line="$(cat /proc/cmdline)"
kexec -e
 
Last edited:

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
How to use Multiboot feature


Make sure busybox is installed
Make sure your internal SD card has at least 1GB free space (one AOSP + Gapps rom requires 650MB)
Download RomSwitcher App: Download
Follow the instruction in the app
Select Reboot to RomSwitcher Recovery
In romswitcher section install a rom of your choice

How to select roms
Use the App

FAQ

I can't switch back to firstrom! why?
Check root access, check busybox, use SuperSU (Flash it, do not install it from store)
or you open Terminal and type in "echo 1 > /data/media/.rom"

I want to remove 2nd rom. How???!!
Wipe options in romswitcher recovery or in the App

Where are the roms?
/data/media/.(2/3/4/5/etc.)/rom
 
Last edited:

yusopa

Senior Member
May 25, 2009
519
183
Gud job grarak. Hope more from you in future

Sent from my GT-I9205 using XDA Premium 4 mobile app

---------- Post added at 02:22 AM ---------- Previous post was at 01:28 AM ----------

Grarak for sound terminal said can't execute what that mean. And for voltage no such fil in directory. I already intall the kernel

Sent from my GT-I9205 using XDA Premium 4 mobile app
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
Gud job grarak. Hope more from you in future

Sent from my GT-I9205 using XDA Premium 4 mobile app

---------- Post added at 02:22 AM ---------- Previous post was at 01:28 AM ----------

Grarak for sound terminal said can't execute what that mean. And for voltage no such fil in directory. I already intall the kernel

Sent from my GT-I9205 using XDA Premium 4 mobile app

Did you try to install Trickster Mod? I am not sure whether it supports sound control or voltage control

And did you typ in 'su' before you change the values?

Btw: 0.2 is out

look to changelog for more details
 

yusopa

Senior Member
May 25, 2009
519
183
'Su' is type before that. I will down and try new version

Sent from my GT-I9205 using XDA Premium 4 mobile app
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
Hi Grarak, thanks!
testing this now.
I flashed v2, and had to also flash superuser manually. I do not think you mention that in OP, so maybe that would be necessary?

Superuser?

I don't understand
The kernel won't change anything of superuser side

Sent from my Galaxy Nexus using xda app-developers app
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
'Su' is type before that. I will down and try new version

Sent from my GT-I9205 using XDA Premium 4 mobile app

Ok I did some research for you

Trickster mod supports voltage and sound control from faux
So please download it from play store

Sent from my Galaxy Nexus using xda app-developers app
 

kipue

Senior Member
Sep 3, 2009
2,028
684
Hong Kong
Superuser?

I don't understand
The kernel won't change anything of superuser side

Sent from my Galaxy Nexus using xda app-developers app

I meant I lost root :)
My apps like titanium complained that I had no root.
I'm running Slim right now, and trying to activate root from the menu would not work. Had to flash latest super user from Chainfire

Yes, installed faux controls, and it works :)
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
I meant I lost root :)
My apps like titanium complained that I had no root.
I'm running Slim right now, and trying to activate root from the menu would not work. Had to flash latest super user from Chainfire

Yes, installed faux controls, and it works :)

Ok will take a look

Bte forgot to say

I have the device but touchscreen is broken so I cannot check the functionalities
I only can check whether the device is booting

Sent from my Galaxy Nexus using xda app-developers app
 

kipue

Senior Member
Sep 3, 2009
2,028
684
Hong Kong
Ok will take a look

Bte forgot to say

I have the device but touchscreen is broken so I cannot check the functionalities
I only can check whether the device is booting

Sent from my Galaxy Nexus using xda app-developers app

Ok, well, you'll get reports here :)
For now I feel like I get noticeably better perfs in the games I tried.
Some of them I haven't played since flashing Slim, so it could be it.
Maybe someone else can try and confirm if that's not just my imagination?
 

yusopa

Senior Member
May 25, 2009
519
183
Thank grarak already test. But i think your kernel make device likely lost root. Like kipue said. I on CM

Sent from my GT-I9205 using XDA Premium 4 mobile app
 
Last edited:

kipue

Senior Member
Sep 3, 2009
2,028
684
Hong Kong
  • Like
Reactions: Shahfizil

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    GraKernel

    This kernel only supports i920x variants! TW 4.4 and AOSP 4.4

    Welcome to GraKernel! I am horrible in naming things, so I just take the first 3 letters of my name and combine it with kernel.

    I won't include useless feature to this kernel, only features which give the users proper benefits. Currently I am trying to give the users a balance of performance and battery life, so don't expect this kernel will make your phone faster than other ones. This kernel is made for daily usage!

    Most of the features I will port from the msm8960 platform (i9505).

    The kernel comes with Synapse. You will find all advanced settings in it.

    Sources
    Kernel: https://github.com/Grarak/grakernel-msm8930
    Ramdisk: https://github.com/Grarak/RomSwitcher-melius

    Features
    • boot multiple roms on your phone
      (up to 5 roms only 4.4 AOSP roms are supported currently)
    • 3.4.94
    • based on msm8930 kernel from CyanogenMod (CAF-Kernel)
    • Build with Linaro 4.9.1 Toolchain optimized by Christopher83
    • CPU Overclock up to 2052 MHz
    • CPU Underclock down to 81 MHz
    • CPU Governors:
      • conservative
      • ondemand
      • intellidemand
      • powersave
      • interactive (default)
      • performance
      • intelliactive
    • GPU Governors:
      • performance
      • ondemand (default)
      • simple
    • I/O Schedulers:
      • deadline
      • row
      • cfq
      • bfq (default)
      • sio
      • fiops
    • XZkern
    • CSnappy compression/decompression:
    • CPU Voltage Control
    • exfat
    • f2fs
    • Battery Voltage Control
    • Intelliplug (intelligent hotplug)
    • Intelli-Thermal
    • Dynamic Fsync Control
    • Frandom Support (module)
    • Vibration Control
    • LED Control
    • MSM Kcal
    • zRam
    • Kexec hardboot
    • Support for Synapse

    Download
    GraKernel

    TW = TouchWiz
    KTT = Korean Version

    Credits
    faux123
    arco68
    AndreiLux
    Ezekeel
    Torvalds
    Tassadar
    F4K
    Codeaurora
    ktoonsez
    CyanogenMod
    Google
    Samsung
    11
    Changelog

    2.6
    • Patch kernel to 3.4.94
    • Intelliplug upstream patches
    • Intellidemand upstream patches
    • Sync with CM
    • Update RS Recovery

    2.5
    • sync with CM (AOSP)
    • update synapse options

    2.4
    • sync with CM (AOSP)
    • Merge with KK (TW)

    2.3
    • update RomSwitcher Recovery to 6.0.49 (not for TW version)
    • update Ramdisk

    2.2
    • patched kernel to 3.4.91
    • remove 2106MHz CPU step

    2.1
    • new CPU frequencies
    • add TW edition

    2.0
    • remove Sound Control
    • remove GPU Voltage Table
    • add Input limit and fastcharging current to Battery Control

    1.9
    • remove fastcharge
    • add Battery Voltage Control

    1.8
    • remove 2106 MHz CPU Freq step
    • fix fastcharge
    • Linaro Toolchain 4.9.1 2014.15 by christopher83


    1.6
    • switch to Linaro Toolchain 4.9.1 A15 by christopher83
    • add LED control
    • add f2fs format
    • add romswitcher

    1.5
    • add Intelli-Thermal
    • add 2.1 GHz step
    • intelliactive: add upstream patches

    1.4
    • wlan: Prima 3.2.7.47
    • update BFQ scheduler to v7r2
    • add cache2dmanager
    • intelliplug: special adaption for dualcore devices

    1.2.3
    • Sync with latest cm sources

    1.2.2
    • add support for newer cm builds and pacman

    1.2.1
    • remove romswitcher for now
    • wlan: Prima 3.2.7.42

    1.2
    • add Intelliactive
    • wlan: Prima 3.2.7.38
    • updated RS Recovery with latest cwm sources
    • fix installing recovery from synapse

    1.0
    • clean up intelliplug and intellidemand to avoid log spamming
    • increase max voltage limit (fix 2052 MHz step)
    • decrease min voltage limit

    0.9
    • wlan: Prima 3.2.7.33
    • modify intelli plug for our phone
    • add an option to enable negative display
    • add missing mdnie options for synapse

    0.8
    • add GPU Voltage Control
    • add some missing options in Synapse

    0.7
    • add CPU underclock down to 162 MHz
    • add GPU overclock up to 512 MHz
    • wlan: Prima 3.2.7.27
    • fix wifi for all roms after 20140116
    • add Vibration Control
    • add support for Synapse
    • fix Kexec Hardboot
    • enable Android Logger by default
    • change to Linaro 4.8.3 Toolchain optimized by Christopher83

    0.6
    • ML2 source drop
    • exfat update to 1.25
    • wlan: Prima 3.2.7.24
    • Implement kexec-hardboot
    • Back to 3.4.0 kernel (stability issues)

    0.5.1
    • fix sdcard mounting

    0.5
    • add Multiboot support via RomSwitcher
    • update Prima to 3.2.7.23
    • enable Vmalloc saving

    0.4
    • back to Faux Sound Control 2.1
    • update ext4 to latest version
    • patch to 3.4.11
    • add sys interface to control logger mode

    0.3
    • update Faux Sound Control to 3.1
    • add simple GPU Governor
    • switch to CyanogenMod Ramdisk
    • add Google's Snappy compression
    • add Google's Snappy decompression
    • add sio scheduler
    • add fiops scheduler

    0.2
    • add Fastcharge Control
    • overclock to 2052 MHz
    • increase read speed of deadline scheduler
    • increase default readahead value to 1024kB
    • add LZ4 compression
    • add LZ4 decompression
    • add Intelliplug
    • add Dynamic Fsync control
    • remove noop scheduler
    • add intellidemand governor
    • add Frandom module

    8
    Updated!

    You should try the last version, many improvements
    7
    Updated to 2.6
    6
    How to use kernel features

    This kernel comes with Synapse. Synapse has been written by @AndreiLux. The App works with JSON which will generate from UCI (Universal Configuration Interface). So it is possbile to add an interface for a specific kernel. After installing the kernel you will find Synapse in your App Drawer.

    Screenshot_2014-02-04-02-15-09.png
    Screenshot_2014-02-04-02-15-47.png
    Screenshot_2014-02-04-02-16-07.png
    Screenshot_2014-02-04-02-16-12.png
    Screenshot_2014-02-04-02-16-19.png
    Screenshot_2014-02-04-02-16-25.png


    Kexec hardboot

    Code:
    kexec --load-hardboot zImage --initrd=ramdisk.gz --mem-min=0x85000000 --command-line="$(cat /proc/cmdline)"
    kexec -e