get source

  • nix-shell -p git-repo
  • repo init -u https://android.googlesource.com/platform/manifest
    • with -b you can specify the branch: eg: main (default), android-13.0.0_r35
    • all branches can be listed with: git ls-remote -h https://android.googlesource.com/platform/manifest.git
  • repo sync -j8
    • downloads about 150G of source

robotnix

Lineage OS

things i discovered

list of Android concepts

errors i run into with aosp

build commands

  • starlte
    • nix build ../config/#robotnixConfigurations.s9.config.build.debugEnterEnv -o debugEnterEnv —option max-recursion-level 1000000 $nl —show-trace