# Kernel-Elemental For All Hi6250 Devices Full Video https://www.youtube.com/watch?v=Vn-xQQ5NB7w ## Compatibility *Android 7.0 And Android 8 #how-to-install-latest-gcc-on-ubuntu-lts.txt https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91 *Update GCC 6.1.1 code: sudo apt-get update && \ sudo apt-get install build-essential software-properties-common -y && \ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ sudo apt-get update && \ sudo apt-get install gcc-snapshot -y && \ sudo apt-get update && \ sudo apt-get install gcc-6 g++-6 -y && \ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \ sudo apt-get install gcc-4.8 g++-4.8 -y && \ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8; When completed, you must change to the gcc you want to work with by default. Type in your terminal: sudo update-alternatives --config gcc To verify if it worked. Just type in your terminal gcc -v *Update GCC 7.1 on Ubuntu 14.04 & 16.04 code: sudo apt-get update -y && \ sudo apt-get upgrade -y && \ sudo apt-get dist-upgrade -y && \ sudo apt-get install build-essential software-properties-common -y && \ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ sudo apt-get update -y && \ sudo apt-get install gcc-7 g++-7 -y && \ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \ sudo update-alternatives --config gcc select gcc-7.1 *Update GCC 8.1.0 on Ubuntu 14.04 & 16.04 code: sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get install build-essential software-properties-common -y && sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get update -y && sudo apt-get install gcc-8 g++-8 -y && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8 && sudo update-alternatives --config gcc select gcc-8 ## Compile Your Own Kernel git clone https://github.com/KingOfMezi/Kernel-Elemental.git * Run the following command: curl https://github.com/Dil3mm4/labyrinth_kernel_prague/commit/4bcf6b58359ac8c94a0b3f2933f43faf7db32425.patch | patch -p1 ## Build ./build.sh * Where is Image file? go to **out/arch/arm64/boot/** and inside that folder will find an image called **Image** image: https://drive.google.com/file/d/1TOwecXRzl8LSKcyN9nhEHvuik3i6fbMC/view Make clean To recompile you just have to execute "./clean.sh" to clean the previous compilation and repeat again. "./build.sh"... ..enjoy..