Building Vanir for Unofficial Devices

This guide will teach you to build Vanir for Unofficial Devices.

 

1. Setup the Android Build Environment on your machine.

 


2. Syncing the VanirAOSP Source code.

 

Go in your home directory and execute the following commands:

 

mkdir -p ~/bin

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

chmod a+x ~/bin/repo
mkdir ~/vanir
cd ~/vanir
repo init -u git://github.com/VanirAOSP/platform_manifest -b m6
repo sync -f -c -q -jX (X is equivalent to your internet connection for ex. I use -j4 for my 4mbps connection. NOTE: Don’t panic nothing will appear on the screen but its still syncing)

3. Adding support for the device in the vendor tree and manifest:
vanir_device.mk files are in vendor/vanir/products. One must exist for each device. Each is analagous to cm.mk in CyanogenMod device trees.

4. Building
lunch vanir_DEVICE-userdebug
mka bacon

2 Commentsto Building Vanir for Unofficial Devices

  1. lexridge says:

    None of the pastbin links are working. Is there another source for these?

Leave a Reply