Build AOSP for RPi4

Build AOSP for RPi4

使用AOSP (Android Open Source Project)原始碼來編譯出給Raspberry Pi能安裝的Android系統。

Android

Initializing a Repo client

  1. Create working directry for Android Source
     mkdir {WORKDIR}
     cd {WORKDIR}
    
  2. Configure Git with your real name and email address. To use the Gerrit code-review tool, you need an email address.
     git config --global user.name {YOUR_NAME}
     git config --global user.email {YOUR_EMAIL}
    
  3. Run repo init to get the latest version of Repo with its most recent bug fixes
     repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r47
    

    To check out a branch other than master, specify it with -b. For a list of branches, see Source code tags and builds.

  4. Download RPi4 project list for Android source code
     mkdir .repo/manifests
     wget https://github.com/jimmy9478/build-Android-for-rpi4/blob/arpi-10/loacl_manifests.xml -O .repo/manifests/local_manifests.xml
    
  5. Downloading the Android source tree
     repo sync -j$(nproc --all)
    

    To speed syncs, pass the -c (current branch) and -j threadcount flags.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.