Skip to content
Grarak edited this page Oct 19, 2014 · 17 revisions

Welcome to the KernelManager wiki!

How do I add support for my Kernel?

You have to edit devices.json first

(send me a pull request if you are done with editing)

Create a JSONObject in "devices" Array.

Example

{

    "codenames": [ "a5", "a5chl", "a5ul", "a5dwg", "a5dug", "htc_a5", "htc_a5chl", "htc_a5ul", "htc_a5dwg", "htc_a5dug" ],
    "kernels": [
        {
            "name": "GraKernel",
            "json": "https://raw.githubusercontent.com/Grarak/grarak.github.io/master/grakernel/desire816.json",
            "description": "A Kernel by Grarak"
        }

    ],
    "boot": "/dev/block/platform/msm_sdcc.1/by-name/boot"

}

Objects

  • required codenames: the vendor/code name of your device
  • required kernels: an array which contains the supported kernels
  • required boot: the boot partition of your device (backup function)

Kernels Array

Example

{
    "name": "GraKernel",
    "json": "https://raw.githubusercontent.com/Grarak/grarak.github.io/master/grakernel/desire816.json",
    "description": "A Kernel by Grarak"
}

Objects

  • required name : name of your kernel
  • required json: a custom JSON file which contains downloads and different informations (link should be static!)
  • description : a short description of your kernel

Your Kernel JSON

{
    
    "downloads": [
    
        {
    
            "android": [ "4.4" ],
            "url": "https://github.com/Grarak/grarak.github.io/raw/master/a5/grakernel/gk_0.3.zip",
            "version": "0.3",
            "note": "Only for Sense 5.5/6.0 based roms."
    
        },
        {
        
            "android": [ "4.4" ],
            "url": "https://github.com/Grarak/grarak.github.io/raw/master/a5/grakernel/gk_0.2.zip",
            "version": "0.2",
            "note": "Only for Sense 5.5/6.0 based roms."
                  
        },
        {
        
            "android": [ "4.4" ],
            "url": "https://github.com/Grarak/grarak.github.io/raw/master/a5/grakernel/gk_0.1.zip",
            "version": "0.1",
            "note": "Only for Sense 5.5/6.0 based roms."
                  
        }
    
    ],
    "lists": [
    
        {
    
            "url": "https://raw.githubusercontent.com/Grarak/grarak.github.io/master/grakernel/desire816-changelog.txt",
            "name": "Changelog"

        },
        {
    
            "url": "https://raw.githubusercontent.com/Grarak/grarak.github.io/master/grakernel/desire816-features.txt",
            "name": "Features"

        },
        {
    
            "url": "http://forum.xda-developers.com/desire-816/orig-development/kernel-grakernel-t2857866",
            "name": "XDA"

        }
    
    ]
    
}

Objects

  • required downloads: an array which contains the downloads
  • lists: an array which contains different links (kernel manager will display them as web views)

Downloads Array

Example

{
        
    "android": [ "4.4" ],
    "url": "https://github.com/Grarak/grarak.github.io/raw/master/a5/grakernel/gk_0.1.zip",
    "version": "0.1",
    "note": "Only for Sense 5.5/6.0 based roms."
                  
}

Objects

  • required android : an array of supported Android versions
  • required url: direct download link (should be a flushable ZIP)
  • required version : the version of the kernel
  • note : a short text for the user

Lists Array

You can add anything you want here (also Facebook sites, but please nothing illegal or porn sites).

Example

{
    
    "url": "http://forum.xda-developers.com/desire-816/orig-development/kernel-grakernel-t2857866",
    "name": "XDA"

}

Objects

  • required url : can be any link
  • required name: name of the link
Clone this wiki locally