Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.66 KB

README.mkdn

File metadata and controls

61 lines (47 loc) · 1.66 KB

AOSP Krypton

Getting Started

To get started with Android, you'll need to get familiar with Git and Repo.

Note: Syncing requires ssh for all of our repositories (including gitlab, make SURE to add it there or else sync will fail), so make sure that ssh is setup properly. Here's how to do that https://docs.github.com/en/authentication/connecting-to-github-with-ssh

To initialize your local repository using the manifest for KOSP :-

repo init -u [email protected]:AOSP-Krypton/manifest.git -b A12

Then to sync up:

repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)

Building the source

The source at AOSP-Krypton is well configured for building.

Source the build scripts:

source build/envsetup.sh

You can sync the device specific repositories with this command (it is just a wrapper around roomservice):

fetchrepos <device>

To build for a device:

launch <device> <build-variant> [OPTIONS]

For a full list of available options, run this command after sourcing build scripts:

hmm

You will now see the manual for using different functions available, including krypton specific functions.

If you are willing to maintain a device and has got the necessary skills with git and a basic understanding of how everything works with aosp then join our common chat https://t.me/kryptonaosp in telegram and contact one of the admins.

Thanks section

Here's my thanks to people who made this possible:

  • Google for AOSP
  • ABC
  • Arrow OS
  • DerpFest
  • LineageOS
  • POSP
  • Statix OS
  • YAAP