GithubHelp home page GithubHelp logo

pe-manifest's Introduction

Pixel Experience

  • Sync

      repo init -u https://github.com/ikey4u/pe-manifest -b ten --repo-url https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/
      repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
    

    Or you may use a script

      curl -LO https://raw.githubusercontent.com/ikey4u/pe-manifest/ten/syncme
    

    Then change the script to fit your situation and run.

  • Build

      . build/envsetup.sh
      lunch aosp_$device-userdebug
      time mka bacon -jX
    
  • Building for Redmi Note 7 Pro

    • Overview

      Full building steps

        . build/envsetup.sh
        lunch aosp_violet-userdebug
        time mka bacon -j$(nproc --all)
      
    • Details

      lunch will call the following python script

        roomserivce.py violet
      

      roomserivce will do the following stuffs

      1. query from github

        The requested url is

         https://api.github.com/search/repositories?q=violet+user:PixelExperience-Devices+in:name+fork:true
        

        it will find device_xiaomi_violet and clone it to local device/xiaomi/violet.

      2. Adding dependencies and fetching

        Then it will add device/xiaomi/violet/aosp.dependencies into .repo/local_manifests/pixel.xml and fetch these dependencies.

    • Appendix

      I use zsh and pyenv to do the building. If you encounter the following errors:

        pyenv: python3.6: command not found
      

      This is an issue of pyenv, you may solve it by

        pyenv local 2.7.15 3.6.5
      

      Google's repo tool unable to write log (vendor/aosp/tools/changelog.sh), I do not know why, ignored.

        Got an error, terminating the pool: ValueError: I/O operation on closed file
      

pe-manifest's People

Contributors

bdcgoogle avatar bsimonnet avatar cco3 avatar cferris1000 avatar colincross avatar danalbert avatar danw avatar delphij avatar deymo avatar dyneteve avatar enh-google avatar freeinfra avatar gauravsh-google avatar ghartman17022 avatar hlcpereira avatar iam avatar ikey4u avatar jhenrique09 avatar kruton avatar liutikas avatar luca020400 avatar mikeng avatar mkayyash avatar nickkral avatar pirama-arumuga-nainar avatar rashed97 avatar stephenhines avatar tornewuff avatar vapier avatar wileyatgoogle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.