# android **Repository Path**: DXCyber409/android ## Basic Information - **Project Name**: android - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: mkq-mr1 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README MoKee Open Source =========== Submitting Patches ------------------ Patches are always welcomed! Please submit your patches via MoKee Gerrit! You can do this by using these commands: (From root android directory) . build/envsetup.sh (Go to repo you are patching, make your changes and commit) mkgerrit repo start mkq-mr1 . (Make your changes and commit) repo upload . or git push ssh://@mokeedev.review:29418/ HEAD:refs/for/ *Note: "." means current directory* *Commit Example* We want to make a change in InputDevice.java that resides in the frameworks/base project, and upload that to Gerrit for review. Let's start a local branch of that repo (directory) and call it mychanges: repo start mychanges frameworks/base && cd frameworks/base Now we make our edits to that file. We can check those changes: git add InputDevice.java (or git add .) Then commit it: git commit -m 'Added feature xyz' Go to the root of your local android folder, and issue the upload: cd ~/mokee && repo upload frameworks/base For more help on using repo, use this command: repo help upload Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel). Commit your patches in a single commit. Squash multiple commits using this command: git rebase -i HEAD~<# of commits> To view the status of your and others' patches, visit [MoKee Code Review](https://mokeedev.review/) Getting Started --------------- To get started with MoKee Open Source, you will need to get familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html). To initialize your local repository using the MoKee trees, use a command like this: repo init -u https://github.com/MoKee/android.git -b mkq-mr1 Then to sync up: repo sync Start Work ---------- To work faster, we introduced a new build script to help you start compiling. First, go to the root path of your project. We assume that your source is under (/mokee): cd /mokee then feel free to use the build script: . build/envsetup.sh && lunch (enter device number) && mka bacon The script is interactive so everything else is self-explanatory.