Track CM's superuser

* Changes have been made to allow it to work on 5.X

Change-Id: Ibd56ba284b85abac4fd3d60f593d13bdf41c841a
Signed-off-by: bmc08gt <>
1 file changed
tree: 283926a44c8ea4299d28003dab5c7228a444a9fe
  1. default.xml

Android Open Kang Project

Download the Source

Please read the AOSP building instructions before proceeding.

Initializing Repository

Init core trees without any device/kernel/vendor :

$ repo init -u -b lollipop

Init repo with all devices, kernels and vendors supported by AOKP :

$ repo init -u -b lollipop -g all,kernel,device,vendor

Init repo only for a particular device :

$ repo init -u -b lollipop -g all,-notdefault,<devicename>,<vendorname>

for example, to init only trees needed to build mako :

$ repo init -u -b lollipop -g all,-notdefault,mako,lge

Init repo for multiple devices :

$ repo init -u -b lollipop -g all,-notdefault,<devicename1>,<devicename2>,<devicename3>,<vendorname1>,<vendorname2>,<vendorname3>

for example, to init trees needed to build mako and flo :

$ repo init -u -b lollipop -g all,-notdefault,mako,flo,lge,asus

sync repo :

$ repo sync


After the sync is finished, please read the instructions from the Android site on how to build.

. build/

You can also build (and see how long it took) for specific devices like this:

. build/
time brunch aokp_mako-userdebug

Remember to make clobber every now and then!