DerpFest Guides

learn how to build derpfest from source for your device

Before you get excited and rush things up, please read these articles and follow the steps provided there

Begin with initialization of the derpfest repository

mkdir derpfest
cd derpfest
repo init -u git:// -b ten
repo sync --force-sync --no-tags --no-clone-bundle

Find Your device sources and modify it as described below

If your device sources (trees, vendor, kernel etc.) are not stable we don't suggest to continue reading this guide. Fix your device side sources first, else the expirence will be bad.

We suggest using LOS or PE device sources as they are mostly stable and don't require much changes.

The given examples below are for either PE or LOS rom

Adapting Device Side Sources (Trees) for DerpFest

Rename the file shown below

If Pixel Expirence to
If Lineage os to

Now change contents of as shown below

Change “aosp“ or “lineage“ to “aosip” & /”” to “” for example: $(call inherit-product, vendor/aosip/config/

Change PRODUCT_NAME value to “lineage_device-codename || aosp_device-codename” for example: ( “lineage_tissot || aosp_tissot” ) to derp_device-codename ( i.e, derp_tissot )

Also rename make file name in the file - open it and change value of ("PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/"( ||”) to ””)

Remove Lineage OS Stuff

It is necessary to clean up any specific files from LineageOS as these features depend on Los SDK which won’t be available on AOSP and will results in build failures. e.g: LiveDisplay, LineageParts, LineageOverlays etc.

From the root of your device tree/Common device tree remove the following folders/files: lineage-overlays lineagehw Simillarly from

# Lineage Hardware

From manifest.xml remove livedisplay HAL:

<hal format="hidl">

From named as your SOC codename like:

# LiveDisplay native
[email protected]

Note: There is a possiblity that some custom packages such as doze etc may have dependency on lineageSDK, it is necessary to fix them to avoid complie errors.

Start compiling the rom from source

. build/
lunch derp_device-userdebug
time mka kronic

Reference for this guide is taken from Arrow OS Blog