crdroidandroid/android
crdroidandroid/android has 721 GitHub stars and 281 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 11:37 UTC. Last push 2026-11-17.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
Build crDroid and some general information
Herramientas de desarrolloREADME.md
Original
1. Grabbing the source
Repo is a tool provided by Google that simplifies using Git in the context of the Android source:
- Repo docs: http://source.android.com/source/developing.html
- Git docs: http://git-scm.com/book
1.1 Installing dependencies and Repo
Several packages are needed in order to build crDroid. Example (we are using Ubuntu):
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses6 libncurses-dev libsdl1.2-dev libssl-dev libwxgtk3.2-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
(Some of those packages may need adjustment for your linux distribution)
Install the Repo tool:
# create ~/bin and add to PATH for this session (or add to your shell profile)
mkdir -p ~/bin
export PATH=~/bin:$PATH
# download Repo
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
# make Repo executable
chmod a+x ~/bin/repo
Tip: Add export PATH=~/bin:$PATH to ~/.bashrc or your shell profile so Repo is available in future sessions.
1.2 Initializing Repo
Create a workspace and initialize the crDroid 17.0 manifest:
mkdir -p ~/crDroid
cd ~/crDroid
repo init -u https://github.com/crdroidandroid/android.git -b 17.0 --git-lfs --no-clone-bundle
Sync the source tree (may take a long time on first run):
repo sync
Notes and useful flags:
- To recover from interrupted syncs or to force a fresh copy:
repo sync --force-sync --no-tags --no-clone-bundle -j8(adjust-jto match your bandwidth/CPUs). - Use
repo sync -cto only sync the current branch per project (saves time/space) when appropriate.
2. Building
Prepare the build environment:
. build/envsetup.sh
Build using:
brunch <devicecodename>
(Replace <devicecodename> with your device codename, e.g. caiman, lemonadep, etc.)
Troubleshooting tips:
- Out-of-disk-space: ensure enough free space (Android tree can require 100+ GB).
- If builds fail after repo sync, try
repo sync --force-syncand a clean build:mka cleanthen rebuild.
3. Contributions
To submit changes or patches:
- Fork the repository on GitHub, make your changes, and open a Pull Request against the appropriate branch.
- We review PRs and merge them when appropriate.
4. How to become an Official Maintainer
- Read and follow our rules and guidelines: https://github.com/crdroidandroid/rules-and-guidelines
- If everything is in order, message Gabriel on Telegram: https://telegram.me/gwolf2u
5. crDroid features / overlays, translations and forum template
5.1 crDroid overlays or flags
Set overlays to the proper paths.
Frameworks base:
overlay/frameworks/base/core/res/res/values/config.xml
Example reference: https://github.com/crdroidandroid/android_frameworks_base/blob/17.0/core/res/res/values/cr_config.xml
SystemUI:
overlay/frameworks/base/packages/SystemUI/res/values/config.xml
Example reference: https://github.com/crdroidandroid/android_frameworks_base/blob/17.0/packages/SystemUI/res/values/cr_config.xml
If you device supports blur but it is expensive to render, you should disable default blur with following prop:
ro.surface_flinger.blur_disabled_by_default=true
If you see artifacts with blur, you can reduce blur rendering effect with following example overlays:
Disable high performance transitions
Reduce blur radius
5.2 Build flags
If your device cannot render blur at all, you should disable blur support by defining below in device.mk
TARGET_SUPPORTS_BLUR := false
If your device doesn't include OEM faceunlock support, can enable crDroid supported one by enabling below build flag in device.mk
TARGET_FACE_UNLOCK_SUPPORTED := true
5.3 Translations
We use Crowdin for translations. To help out see: https://github.com/crdroidandroid/crdroid_features#translations
5.4 Forum template
Ready to share your build? Use the forum post template: https://github.com/crdroidandroid/crdroid_features/blob/17.0/ForumPostTemplate