• Stars
    star
    361
  • Rank 117,957 (Top 3 %)
  • Language
  • Created about 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Build crDroid and some general information

alt text

1. Grabbing the source

Repo is a tool provided by Google that simplifies using Git in the context of the Android source.

1.1 Installing dependencies and Repo

Several packages are needed in order to build crDroid

sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-gtk3-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

Install Repo tool

# Make a directory where Repo will be stored and add it to the path
$ mkdir ~/bin
$ PATH=~/bin:$PATH

# Download Repo itself
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

# Make Repo executable
$ chmod a+x ~/bin/repo

1.2 Initializing Repo

# Create a directory for the source files
# This can be located anywhere (as long as the fs is case-sensitive)
$ mkdir crDroid
$ cd crDroid

# Install Repo in the created directory
$ repo init -u https://github.com/crdroidandroid/android.git -b 13.0 --git-lfs

This is what you will run each time you want to pull in upstream changes. Keep in mind that on your first run, it is expected to take a while as it will download all the required Android source files and their change histories.

# Let Repo take care of all the hard work
$ repo sync
# Run to prepare our devices list
$ . build/envsetup.sh
# ... now run
$ lunch lineage_devicecodename-buildtype
$ m bacon

1.3 Automation

At crDroid, we have an automated script that also builds and uploads your device to our official SourceForge page.
Show me more.

2. Contributions

To submit changes/patches, please send a pull request on GitHub. We will review and merge.

3. How to become an Official Maintainer

Make sure you can follow our rules-and-guidelines, then if all is right, just message Gabriel over Telegram with the device you want to maintain.

4. crDroid features / overlays, translations, forum template and OTA

4.1 crDroid features / overlays

Set those overlays to proper paths

Frameworks base
overlay/frameworks/base/core/res/res/values/config.xml
https://github.com/crdroidandroid/android_frameworks_base/blob/13.0/core/res/res/values/cr_config.xml

SystemUI
overlay/frameworks/base/packages/SystemUI/res/values/config.xml
https://github.com/crdroidandroid/android_frameworks_base/blob/13.0/packages/SystemUI/res/values/cr_config.xml

4.2 Translations

We use Crowdin for translations since it is easy and everyone can do it.
To help out click here.

4.3 Forum template

Build ready? Tested all features and translations are smooth?
Why not share your build over your beloved forums?
To do so, we have made a small template to help out. Just edit what you need and let the downloads roll. 😎

4.4 OTA

So posted on forums and your users are enjoying your build.
Well you can help out your users by letting them know when you fix stuff in your builds with the help of our OTA app.
Since crDroid Oreo, if you want to be on the official maintainers list, you'll need to provide OTA access.
You can set it up really easy by reading android_vendor_crDroidOTA repo description.

More Repositories

1

crdroid_features

our main features (why you love us)
188
star
2

android_frameworks_base

Base System (crDroid Android)
Java
75
star
3

android_vendor_crDroidOTA

OTA configuration for crDroidOTA (make your device official)
53
star
4

android_packages_apps_crDroidSettings

our Settings app
Java
41
star
5

crdroid_build

bash script to build crDroid (simple and with auto upload to FTP)
Shell
35
star
6

android_build

Android Build System (crDroid Android)
Makefile
25
star
7

android_packages_apps_Launcher3

Java
18
star
8

android_packages_apps_Settings

Settings System (crDroid Android)
Java
17
star
9

android_device_xiaomi_surya

C++
17
star
10

android_kernel_xiaomi_sm6150

C
16
star
11

android_device_xiaomi_sm8150-common

Shell
15
star
12

android_vendor_crdroid

CSS
15
star
13

android_kernel_xiaomi_sm8150

C
13
star
14

android_kernel_oneplus_msm8998

C
10
star
15

android_device_xiaomi_vayu

Makefile
10
star
16

android_device_xiaomi_raphael

device tree for Redmi K20 PRO/Mi 9T PRO
C++
9
star
17

android_device_xiaomi_sm6150-common

Java
8
star
18

android_device_oneplus_msm8998-common

C++
7
star
19

android_device_xiaomi_chime

Shell
7
star
20

android_vendor_addons

Blobs, boot animation and prebuilt apps.
Makefile
7
star
21

crdroid.net

our beloved website
PHP
6
star
22

android_device_xiaomi_alioth

Device tree for POCO F3 (alioth)
Java
6
star
23

issue_tracker

all crDroid related issues should go here
6
star
24

android_kernel_oneplus_sm8350

C
6
star
25

android_kernel_xiaomi_surya

C
5
star
26

android_frameworks_av

C++
5
star
27

proprietary_vendor_xiaomi

Makefile
5
star
28

android_device_xiaomi_sm8250-common

Shell
5
star
29

android_kernel_lge_g3

C
5
star
30

android_device_xiaomi_sweet

Makefile
5
star
31

android_device_oneplus_sm8250-common

Shell
4
star
32

android_device_xiaomi_lavender

C++
4
star
33

android_packages_apps_SetupWizard

Java
4
star
34

android_packages_apps_Matlog

Java
4
star
35

android_packages_apps_Updater

Java
4
star
36

android_device_oneplus_sdm845-common

Shell
4
star
37

android_device_xiaomi_ginkgo

C++
4
star
38

android_kernel_huawei_angler

C
4
star
39

android_bootable_recovery

C++
4
star
40

android_device_oneplus_sm8350-common

Java
4
star
41

android_build_soong

Go
4
star
42

android_device_xiaomi_phoenix

Makefile
4
star
43

android_kernel_oneplus_sdm845

C
4
star
44

android_packages_apps_crDroidMusic

Java
4
star
45

android_device_oneplus_kebab

Makefile
4
star
46

android_device_lge_g3-common

C++
3
star
47

android_hardware_xiaomi

C++
3
star
48

android_device_oneplus_enchilada

Makefile
3
star
49

rules-and-guidelines

Rules and guidelines for maintainers
3
star
50

android_device_oneplus_cheeseburger

C++
3
star
51

android_packages_apps_Dialer

Java
3
star
52

android_device_xiaomi_spes

Device tree for Redmi Note 11 (spes|spesn)
C
3
star
53

android_kernel_oneplus_sm8250

C
3
star
54

android_packages_apps_GameSpace

Kotlin
3
star
55

android_device_xiaomi_whyred

Redmi Note 5 Pro/AI Vendor Tree
Makefile
3
star
56

android_frameworks_native

C++
3
star
57

android_bionic

Assembly
2
star
58

android_device_xiaomi_miatoll

Java
2
star
59

proprietary_vendor_xiaomi_ginkgo

Makefile
2
star
60

crdroid_device_google_crosshatch

Official Crdroid Android Device Tree for Google Pixel 3XL
C
2
star
61

android_device_asus_X00QD

C++
2
star
62

android_kernel_xiaomi_jason

C
2
star
63

android_external_arm-optimized-routines

C
2
star
64

android_vendor_xiaomi_spes

Makefile
2
star
65

android_kernel_xiaomi_chime

C
2
star
66

crdroid_mergetool

Shell
2
star
67

android_device_oneplus_sm7250-common

Shell
2
star
68

android_device_oneplus_fajita

Makefile
2
star
69

android_kernel_realme_sdm710

C
2
star
70

android_device_qcom_sepolicy-legacy-um

Makefile
2
star
71

android_kernel_xiaomi_msm8953

C
2
star
72

android_kernel_xiaomi_sweet

C
2
star
73

android_hardware_qcom_display

C++
2
star
74

proprietary_vendor_oneplus_sm8150-common

Makefile
2
star
75

android_device_xiaomi_santoni

C++
2
star
76

android_device_lge_vs980

Makefile
2
star
77

android_device_xiaomi_lmi

Java
2
star
78

android_device_lge_d851

Makefile
2
star
79

android_device_lge_ls990

Makefile
2
star
80

android_device_lge_g3ds

Makefile
2
star
81

android_device_oneplus_hotdogb

Makefile
2
star
82

android_device_xiaomi_courbet

Makefile
2
star
83

android_hardware_interfaces

C++
2
star
84

android_kernel_motorola_msm8998

C
2
star
85

android_prebuilts_clang_host_linux-x86_clang-6443078

clang 11.0.1 (based on r383902) from build 6443078
C++
2
star
86

android_device_xiaomi_vince

A12.1 & A11 | vince DT exclusively for crDroidAndroid.
C++
2
star
87

android_packages_apps_Messaging

Java
2
star
88

android_kernel_motorola_msm8953-2

KERNEL V4.9
C
2
star
89

android_hardware_oneplus

C++
2
star
90

android_device_oneplus_hotdogg

Makefile
2
star
91

android_kernel_motorola_msm8953_old

C
2
star
92

android_device_xiaomi_gemini

C++
2
star
93

android_packages_apps_ThemePicker

Java
2
star
94

android_hardware_oplus

C++
2
star
95

android_vendor_xiaomi_surya

Makefile
2
star
96

android_kernel_xiaomi_lavender

C
2
star
97

proprietary_vendor_xiaomi-dipper

Makefile
1
star
98

android_packages_overlays_black

Makefile
1
star
99

android_device_xiaomi_merlinx

Makefile
1
star
100

android_device_motorola_kiev

C++
1
star