Skip to content

Instantly share code, notes, and snippets.

@VRanger
Last active August 19, 2018 12:31
Show Gist options
  • Select an option

  • Save VRanger/6eb640b89ad117c0ec5e408233f1cd6e to your computer and use it in GitHub Desktop.

Select an option

Save VRanger/6eb640b89ad117c0ec5e408233f1cd6e to your computer and use it in GitHub Desktop.
#!/bin/bash
export DEBIAN_FRONTEND="noninteractive"
dpkg --configure -a
apt-get update
apt-get update && apt-get -y install default-jre ccache bc bash libncurses5-dev git-core gnupg flex bison gperf build-essential zip curl libc6-dev ncurses-dev cmake automake autogen autoconf autotools-dev libtool shtool python m4 gcc libtool zlib1g-dev
apt-get -y install gcc-8
apt-get -f install
apt-get upgrade -y
git clone --depth=1 https://github.com/VRanger/android_kernel_santoni.git --branch=Clang/Oreo
git clone --depth=1 https://github.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-4667116.git --branch=8.1 $HOME/toolchains/clang
git clone --depth=1 https://github.com/krasCGQ/aarch64-linux-android --branch=opt-gnu-8.x $HOME/toolchains/gcc
git clone --depth=1 https://github.com/VRanger/dragontc-8.0.git $HOME/toolchains/dragontc
cd android_kernel_santoni
curl https://dl.dropboxusercontent.com/s/8na0qnxi7lzc9k0/default_build.sh?dl=0 --output builder.sh && bash builder.sh
curl --upload-file $RK/$FILENAME.zip https://transfer.sh/Gabriel-DTC.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment