CyanogenMod 14.1 compilation for B&N Nook HD+

Posted on in category «Tech» by fnv with tags , , , ,

Building instructions for CM 14.1

Howto is targeted for Barns&Noble NookHD+ (Codename: Ovation)

Install required packages

Debian 9 is used for build system so, installing packages looks like

apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev brotli

Plaform tools and repo command installation

Create directories and adjust PATH:

mkdir ~/bin
mkdir -p ~/android/system-cm-14.1-ovation
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod +x ~/bin/repo

Prepare repository and sync it

cd ~/android/system-cm-14.1-ovation
repo init -u https://github.com/airend/android.git -b cm-14

Extract proprietary files

Build the image

source build/envsetup.sh
breakfast ovation
brunch ovation