sudo su
apt update
apt install repo git gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5 rsync lib32ncurses-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig
exit
mkdir ~/nosfe
cd ~/nosfe
git config --global user.email "[email protected]"
git config --global user.name "login"
repo init -u https://github.com/nitrogen-os-fan-edition/android_manifest.git -b 11
repo init -u https://github.com/nitrogen-os-fan-edition/android_manifest.git -b 11 --depth=1
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
repo sync -c -q --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
. build/envsetup.sh
lunch nitrogen_$device-userdebug
make -j$(nproc --all) otapackage