This is the local manifest for EAS Kernel for the op3/t - OREO git clone this wherever you want and make symblic links to .repo/local_manifest for xml file/files. # Some explanation: buildeas.sh: example of a simple build script kernelpick.sh: example of a simple script to apply some patches ####################### # General preperation # ####################### # os: Ubuntu 18.04 # required libaries: $ sudo apt-get update && sudo apt-get install automake bc bin86 bison build-essential bzip2 ccache curl flex g++-multilib gcc-multilib git git-core gksu gnupg gperf imagemagick kernel-package lib32ncurses5-dev lib32readline6-dev lib32readline-gplv2-dev libbz2-dev libbz2-1.0 libc6-dev libghc-bzlib-dev lib32z1-dev libesd0-dev liblz4-tool libncurses5-dev libncurses5 libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop make maven ncftp openjdk-8-jre openjdk-8-jdk pngcrush rsync tmux qt4-dev-tools schedtool screen squashfs-tools w3m xsltproc zip zlib1g-dev zlib1g-dev:i386 # depencies: sudo apt install -f # add java jdk8: sudo apt-get update sudo apt-get install openjdk-8-jdk sudo apt-get upgrade ################### # Shell commands: # ################### # get the repo command; put it in some directory in your $PATH sudo curl https://storage.googleapis.com/git-repo-downloads/repo -o /usr/local/bin/repo sudo chmod a+x /usr/local/bin/repo # cd /where/you/want/to/your/source-tree mkdir -p eas/kernel cd eas/kernel git clone https://github.com/mcdachpappe/android_msm8996-oos-oreo-eas git checkout mcd-mod cd .. mkdir -p AnyKernel2 cd AnyKernel2 git clone https://github.com/mcdachpappe/AnyKernel2-oos-eas git checkout mcd cd .. mkdir -p my_tmp cd my_tmp git clone https://github.com/mcdachpappe/local_manifest.git git checkout oos-eas cd ../.. ln -s my_tmp/local_manifest/buildeas.sh ./buildeas ln -s my_tmp/local_manifest/kernelpick.sh ./kernelpick ###################################### # Syncing (aka download) the sources # ###################################### # Shell command: # this takes some time; it's about 20GB to fetch repo sync -j16 -c -f --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune ################################## # Fetch the latest kernel source # ################################## cd eas/kernel git remote add linux-stable https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch linux-stable # Figure out what version you are on make kernelversion # git cherry-pick <previous_tag>..<next_tag> # example: git cherry-pick v3.18.118..v3.18.119 ########################### # Building EAS-OOS Kernel # ########################### # Shell command: ./buildeas If everything worked wirhout errors, you will get a flashable zip in ./kernel If not: check terminal for errors # Congrats, you have just build your own kernel! # ------------------------------------------------
mcdachpappe/local_manifest
some usefull manifests - see each branches README.md for more information
Shell