Skip to content
Martin Valba edited this page Aug 27, 2020 · 5 revisions

Welcome to the kernel-sdm845-beryllium compiling wiki!

What env should i use?

  • Any Debian based linux will do
  • I use Kali Linux

Installing deps via apt

sudo apt install libssl-dev gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libfdt-dev

Cloning and building

  • Navigate to the folder where you wanna clone the source
  • git clone https://github.com/PWN-Hunter/kernel-sdm845-beryllium.git
  • cd kernel-sdm845-beryllium
  • Building and modifying config it comes with
  • For a note scripts use skull_defconfig by default, you can changes these in *.sh files
Menuconfig (This makes dir in ../out_menu and auto deletes when done)
  • ./menuconfig.sh
build.sh (Makes ../out and leaves it there for faster compile next time)
  • ./build.sh

Updating and upgrading source (For vanilla source, by this i mean if you havent made local changes for it)

  • Fetch the commits
  • git fetch
  • Merge commits
  • git merge