Hovatek Forum
  • Training
  • Private Support
  • Blog
  • Journal
  • Home
Login or Register Hello There, Guest! Please Login or Register to gain Full Access!
Login
Username:
Password:
  Lost Password?
OR login via
   
X

  1. Hovatek Forum
  2. DEVELOPMENT
  3. Android
  4. [Tweak] {PROJEKT} i y k o n B l a z e™ - K e r n e l- for TECNO W4
  • Hovatek Forum
  • DEVELOPMENT
  • Android

  • Tutorial: 5 powerful optimization tips for Android Oreo (Go Edition) users.... LEARN MORE (Feb, 2019)

    Thread Rating:
    • 0 Vote(s) - 0 Average

    Share   Tweet

    [Tweak] {PROJEKT} i y k o n B l a z e™ - K e r n e l- for TECNO W4

    DroidPeepz Inc
    DroidPeepz Inc
    Verified Account

    Posts: 41
    Threads: 7
    Joined: Apr 2015
    Thanks 0
    #1
    02-26-2017, 07:29 PM

    i y k o n B l a z e - K e r n e l
    [Image: 2179548394-iykonzBlaze-Kernel.png]
    # About #

    * !! iykonzBlaze Kernel Had Its Initial Stage
         On TECNO W4, MediaTek Based Device.

    * !! Chipset : MT6580
    * !! OS : Android 6.0 Marshamallow  

    FIND SOURCE HERE -> CLICK


    NOTE  : Currently, this projekt is still under development.
    -----------------
    THINGS NEEDED TO BE DONE Idea : LCM need to be configured well in order to help boot up the custom kernel.


    PHP Code:
    ### Motto ###
    ```
    Talent Is Nothing Without Ethics!
    -iyke 



    PHP Code:
    save as  : blaze.sh 

    #!/bin/bash
    printf '\e[8;40;100t]'
    #
    # Custom build script
    # Copyright  2017, Nana Iyke Quame "iyke"
    # <nanaquameallday@gmail.com>
    #
    #Android_Matrix_Development
    #DroidPeepz Inc
    #
    # NOTE : This Is Meant For  The Good & Ease Of Kernel Development,
    #  - Please You Are Free To Edit And Make It Better, But DO NOT STEAL !
    #  - 
    #
    #START - HOME
    START() {
     
     clear
      echo
      echo
    cecho C 
    "" "================================="
     
    echo "================================="
    cecho P "" "================================="
    cecho Y ""  " **ANDROID MATRIX DEVELOPMENT**"
    cecho C ""  "*MediaTek & Qualcomm Snapdragon*"
     
    echo "================================="
     
    cecho Y "" "================================="
     
    echo "========*****************========"   
    cecho G 
    ""  "  ---> DroidPeepz Inc    "
    cecho C "" "  ---> iykonzBlaze Kernel   "
    cecho P ""  "  ---> by : Nana Iyke Quame   "
    echo "========*****************========"
     
     cecho B "" "    Menu"    "  || "$(date +%b-%d-%Y-%H:%M)''
     
     echo
       cecho P 
    "    a - " "About !"
     
     echo
       cecho G 
    "    r - " "Refresh"
     
     echo
      cecho C 
    "    s - " "Start Compiling Kernel"
     
     echo
      cecho R 
    "    x - " "Exit"
     
     echo
    }

     
    #MENU
    EXT_MAIN() {
    while :
    do

     
     clear
      START
      read 
    -p "Enter option: " CHOICE
      case 
    "$CHOICE" in
            A
    |a) ABT;;   #DONE
     
    R|r) refresh;;     #REFRESH                            
     
    S|s) BLAZE;;      #DONE
     
    X|x) EXIT;;
     *) 
    cecho R "" "     Invalid option"; sleep 0.3; continue;;
     
    esac

    done
    }

    #ABT
    ABT(){
    clear
    echo
    cecho C "" "  !! iykonzBlaze Kernel Had Its Initial Stage
          On TECNO W4, MediaTek Based Device !!"
    echo
    cecho C "" "  !! Chipset : MT6580!! "
    cecho C "" "  !! OS : Android 6.0 Marshamallow !! "
    sleep 3.0;
    START " "
    }                                                        

    #EXIT
    EXIT(){
    clear
     cecho C 
    "" "Talent Is Nothing WIthout Ethics!!!"
     
    sleep 1.0;
     
    clear
    exit 
    }

    #REFRESH
    refresh() {
    clear
    sleep 0.3
    ; continue;
    START
    }

    #RELAX
    RELAX(){
     
    read -p "Press enter key to continue . . ."
     
    echo
    START " " 
    }
     
     
    BLAZE() {
    clear
    export KBUILD_BUILD_USER
    =iyke
    export KBUILD_BUILD_HOST
    =droidpeepz-inc

    sleep 0.5
    ;

    cd iykonzblaze-kernel-3.18.x
    echo ""
    echo "Creating Directories..."
    mkdir  -p OUTPUT
    echo ""
    sleep 0.6;
    if [ -
    f OUTPUT/arch/arm/boot/zImage-dtb ]
    then
        echo 
    'Remove Previous kernel If There Is Any...'
     
       echo ""
     
       rm OUTPUT/arch/arm/boot/zImage*
    fi

    #Change toolchain path before using build script!
    echo "Export toolchains..."
    export CROSS_COMPILE=~/toolchains/arm-eabi-linaro-4.7.3/bin/arm-eabi-
    echo 
    ""

    export ARCH=arm ARCH_MTK_PLATFORM=mt6580
    echo ""

    echo "Make defconfig..."
    make -C $PWD O=$PWD/OUTPUT ARCH=arm tecno_w4_defconfig
     
    echo ""

    #Edit the number according to the number of CPUs you have in your PC:
    echo "Compiling iykonzBlaze Kernel..."
    make -j4 -C $PWD O=$PWD/OUTPUT ARCH=arm
    echo ""

    if [ ! -f OUTPUT/arch/arm/boot/zImage-dtb ]
    then
     
    echo "WARNING!  WARNING!! WARNING!!!"
     
    echo "Please Check & Trace Where Errors."
     
    echo 
     
       echo 
        cecho R 
    "" "BUILD ERRORS!"
     
       echo
        cecho R 
    "" "BUILD ERRORS!"
     
       echo
        cecho R 
    "" "BUILD ERRORS!"
    else
     
       echo 'Moving kernel...'
     
       mkdir -p BUILT-IYKONZBLAZE
        cp OUTPUT
    /arch/arm/boot/zImage-dtb
        mv OUTPUT
    /arch/arm/boot/zImage-dtb /BUILT-IYKONZBLAZE/boot.img-kernel
    fi

    echo
    echo 
    echo 
    cecho G "" "============================="
    echo "  !! PROCESS TIME !!      "
    echo $[$SECONDS / 60]' minutes '$[$SECONDS % 60]' seconds' 
    cecho C "" "============================="
    echo
    echo
    echo
    RELAX " "
    }

    #COLOR
    #USAGE: cecho TYPE=R|G|Y|B|P|C|W "msg1" "color_msg2" "msg3"
    cecho ()
     
      {
     
      #Case didn't work out for me in cygwin
     
      if [ "$1" == "R" ]
    then
      echo 
    -e "$2""\033[0;91m$3\033[0m""$4" # Red
    elif  [ "$1" == "G" ]
    then
      echo 
    -e "$2""\033[0;92m$3\033[0m""$4" # Green
    elif  [ "$1" == "Y" ]
    then
      echo 
    -e "$2""\033[0;93m$3\033[0m""$4" # Yellow
    elif  [ "$1" == "B" ]
    then
      echo 
    -e "$2""\033[0;94m$3\033[0m""$4" # Blue
    elif  [ "$1" == "P" ]
    then
      echo 
    -e "$2""\033[0;95m$3\033[0m""$4" # Purple
    elif  [ "$1" == "C" ]
    then
      echo 
    -e "$2""\033[0;96m$3\033[0m""$4" # Cyan
    elif  [ "$1" == "W" ]
    then
      echo 
    -e "$2""\033[0;97m$3\033[0m""$4" # White
     
    fi
    }

    #EXTRA_COLOR_OPTIONS
    blue='\033[0;34m'
    cyan='\033[0;36m'
    yellow='\033[0;33m'
    red='\033[0;31m'
    nocol='\033[0m'

    #DEPLOYING function
    EXT_MAIN 



    **Projekt Is Owned By:**
     Nana Iyke Quame
    FB id

    Credit:
    SnowCatPDA
    Sandeep Sethi
    Ahmed Ramey
    Android Matrix Development

    (This post was last modified: 02-26-2017, 07:33 PM by DroidPeepz Inc. Edit Reason: adding source link )
    Website Find
    Reply
    X
    Thanks to DroidPeepz Inc



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    « Next Oldest | Next Newest »




    • View a Printable Version
    • Subscribe to this thread


    Users browsing this thread: 1 Guest(s)

    About

    The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

    Follow us

           

    Popular Links

    • Free T-shirts
    • Mobile app

    Reach Us

    Contact Us  Meet Our team

    Powered By MyBB. Crafted by EreeCorp.
    Linear Mode
    Threaded Mode