Artix compiling Android 1 ‐ crDroid‐Revived

This guide is mainly written by Mick Faustin; with me testing the ensuing build and helping with Artix stuff.

Last updated : 14/3/2026 (I'd call this a stub for now as I am yet to completely compile stuff, so this is all there is)

− Introduction −
Prerequisites

− Dependencies −
pacman stuff
ncurses5‐compat
Other preparations
− Building the ROM −
Repo initialization
Manifest initialization
Compiling

Introduction

Personally, I kind of wanted to be an Android developer, but the entrance seems to be rather challenging. So I settled by building an existing custom ROM and having someone else in the vicinity to test it. Fortunately, Garry just so happened to get his OP5T assembled (minus the missing IMEI but we won't need it) so I can also use him as my guinea pig for my builds... after I convinced him to volunteer his OP5T for the task, which is easier said than done (and please don't get me started on his G710EAW, that thing is his daily).

Prerequisites

Dependencies

pacman stuff

# pacman ‐S repo bc ccache git‐lfs gitg gperf gradle jdk11‐openjdk lib32‐zlib lib32‐ncurses lib32‐readline libxcrypt‐compat lzop maven ninja noto‐fonts perl‐switch pngcrush schedtool sdl squashfs‐tools rsync ttf‐dejavu vim

Notes :

AUR stuff (ncurses5‐compat‐libs, lib32‐ncurses5‐compat‐libs, xml2)

Required PGP keys for ncurses5‐compat packages :
ncurses5‐compat‐libs :
lib32‐ncurses5‐compat‐libs :
xml2 :

Other preparations

Building the ROM

If you're not in build environment, please cd there. All operations in this part happens there.

Repo initialization

Manifest initialization

We give a shout‐out to MSe1969 for solving our manifest headaches. In a previous attempt (my 1st repo sync), we just copied over the 5T entries into a roomservice.xml in local_manifests & did $ breakfast dumpling, only to fuck up the entire local repo with /vendor aimed at root. Lesson learned ‐ do NOT breakfast when compiling from someone else's tree, and repo sync after making the manifests.

Compiling

Conclusion

As the build compilation kept failing from random ninja / soong issues we can offer no solid conclusions yet.

To‐do list (Garry's addendum)

Back to top

Main Page