• Stars
    star
    235
  • Rank 170,528 (Top 4 %)
  • Language
  • Created almost 11 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

Submitting Patches


To prevent missue of gerrit - yes unfortunately there are poeple out there that do such things - it is required to be registered as contributor to submit changes. So if you want to submit patches contact us by email to [email protected] with your gerrit username and/or email so we can add you to this group.

Our ROM is open source, and patches are always welcome! You can send patches by using these commands:

cd <project>
<make edits>
git add -A
git commit -m "commit message"
git push ssh://<username>@gerrit.omnirom.org:29418/<project> HEAD:refs/for/android-13.0

Register at <gerrit.omnirom.org> and use the username that you registered there in the above command

Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>

If you are going to make extra additions, just repeat steps (Don't start a new patch), but instead of git commit -m use git commit --amend. Gerrit will recognize it as a new patchset.

To view the status of your and others patches, visit OmniROM Code Review

Maintaining Authorship


Maintaining authorship is a very important aspect of working with Open Source code. If you wish to submit a patch/fix from anywhere else (another ROM, project, etc.), it is imperative that you maintain the ownership of the person whose work you are seeking to include. Doing so will ensure that credit is given where it is deserved, and the prinicples of open source are upheld. Your contribution to the project will still be recognized as you will forever be listed as the committer.

If you manually cherry pick a patch/fix then you will need to add the original author prior to pushing to our gerrit. This is a very easy task to perform, and is usually done after you commit a patch/fix locally. This is accomplished after you type in git commit -a , type in the commit message and save. You would then do the following:

git commit --amend --author "Author <[email protected]>"

So it should look like this once you get all of the author's information

git commit --amend --author "Spencer McGillicuddy <[email protected]>"

Alternatively, adding as part of the original git commit message is preferred and done like the following:

git commit --author="Author <[email protected]>" -m "[commit message]"

This saves time, and when part of your normal routine, prevents the infamous "ermahgerd I forgot to add authorship - let me fix it because I was found out!" message.

Getting Started


To get started with OmniROM, you'll need to get familiar with Git and Repo.

To initialize your local repository using the OmniROM trees, use a command like this:

repo init -u https://github.com/omnirom/android.git -b android-13.0

Then to sync up:

repo sync

Then to build:

 cd <source-dir>; . build/envsetup.sh; brunch <device_name>

Private Repositories


The repositories in omni-private are only accessible to registered users So if you want to use those please contact us by email to [email protected] with a short description what you want to use them for. Send us your github account then we can add you to the group that has read access to those repositories.

Changes to those repositories are still accessible on gerrit

You can also build without those repositories if you dont need or want the features that are in them. In that case simply remove the include

<include name="omni-private.xml" />

Qcom Repositories


Most of Qcom repo are moved to our Gitlab, like Display. Here, you can find an eg how to add this repo into your dependencies

   {
     "remote": "gitlab",
     "repository": "android_vendor_qcom_opensource_display-commonsys",
     "target_path": "vendor/qcom/opensource/commonsys/display",
     "revision": "android-12.0"
   }

More Repositories

1

android_bootable_recovery

C
1,914
star
2

android_frameworks_base

Java
104
star
3

android_build

Makefile
32
star
4

android_system_core_old

C++
29
star
5

android_device_lge_hammerhead

C++
28
star
6

android_packages_apps_Settings

Java
28
star
7

android_vendor_omni

Shell
26
star
8

Docs

Documentation for Omni, replacing the wiki
24
star
9

android_device_brcm_rpi4

C
24
star
10

android_device_lge_mako

C++
22
star
11

android_device_moto_shamu

C++
21
star
12

android_packages_apps_Launcher3

Java
16
star
13

android_device_oppo_r819

C
15
star
14

android_frameworks_av

C++
15
star
15

android_device_oneplus_oneplus5

Java
11
star
16

android_external_busybox

C
11
star
17

android_device_oppo_find7

Device tree for Oppo Find 7/7a
Makefile
11
star
18

android_device_oneplus_oneplus6

C++
10
star
19

android_kernel_lge_hammerhead

Kernel source code for LGE Hammerhead (Google Nexus 5)
C
10
star
20

android_frameworks_native

C++
10
star
21

android_kernel_sony_msm

C
9
star
22

android_device_asus_flo

C
9
star
23

android_kernel_samsung_smdk4412

C
9
star
24

android_kernel_oneplus_msm8998

C
9
star
25

android_device_oppo_find7op

Device tree for Oppo Find 7 OnePlus Edition (aka OnePlus One)
C
8
star
26

android_device_samsung_i9300

C
8
star
27

android_frameworks_opt_telephony

Java
8
star
28

android_kernel_oneplus_sm8150

C
7
star
29

android_device_asus_deb

C
7
star
30

android_device_xiaomi_mido

Java
7
star
31

android_device_lge_p880

C++
7
star
32

android_device_lenovo_a6000

C++
7
star
33

android_device_samsung_i9100

C++
7
star
34

android_packages_apps_PerformanceControl

Java
6
star
35

android_device_samsung_galaxysmtd

Makefile
6
star
36

android_device_samsung_p1

Makefile
6
star
37

android_device_samsung_manta

C++
6
star
38

android_device_samsung_t0lte

C
6
star
39

android_kernel_samsung_aries

C
6
star
40

android_packages_apps_Dialer

Java
5
star
41

android_device_asus_grouper

C
5
star
42

android_packages_apps_DeskClock

Java
5
star
43

android_system_sepolicy

Python
5
star
44

android_packages_apps_SnapdragonCamera2

Java
5
star
45

android_device_asus_zenfone9

C++
5
star
46

android_kernel_lge_mako

C
5
star
47

android_device_asus_rog2

Java
5
star
48

android_device_sony_kugo

Makefile
5
star
49

android_device_oneplus_oneplus3

C
4
star
50

android_device_oppo_n1

Java
4
star
51

android_kernel_oneplus_msm8996

C
4
star
52

android_kernel_asus_rog2

C
4
star
53

android_device_samsung_n7100

C
4
star
54

omni-website

Repo for OmniROM's new website
JavaScript
4
star
55

android_packages_apps_SnapdragonCamera

Java
4
star
56

android_device_samsung_i9305

C
4
star
57

android_hardware_samsung

C
4
star
58

android_device_motorola_falcon

C
4
star
59

android_device_asus_me301t

Makefile
4
star
60

android_device_oneplus_oneplus6t

C++
4
star
61

android_device_asus_tf101

Python
4
star
62

android_packages_apps_Apollo

Java
4
star
63

android_device_oppo_msm8974-common

Common device tree resources for Oppo MSM8974 devices (find7, find7op)
C++
4
star
64

omni_apps_Installer

OmniInstaller, automatic all-in-one Android installer ||ย WORK IN PROGRESS DO NOT USE
C++
4
star
65

android_packages_apps_Phonograph

Java
4
star
66

android_kernel_oneplus_sdm845

C
4
star
67

android_device_huawei_angler

C++
4
star
68

android_device_motorola_sm6125_common

C++
4
star
69

android_device_samsung_i9100g

C
3
star
70

android_device_asus_zenfone6

Java
3
star
71

android_packages_apps_Camera2

Java
3
star
72

android_device_oppo_find5

C
3
star
73

android_kernel_xiaomi_msm8998

C
3
star
74

android_device_samsung_msm8974-common

C++
3
star
75

android_kernel_moto_shamu

C
3
star
76

android_device_asus_tf300t

Java
3
star
77

android_packages_apps_Roadrunner

Java
3
star
78

android_hardware_sony_boringssl-compat

C
3
star
79

android_device_samsung_smdk4412-common

C
3
star
80

android_packages_apps_DSPManager

Java
3
star
81

android_device_asus_sm8250-common

C++
3
star
82

android_kernel_oppo_r819

C
3
star
83

android_device_samsung_p5110

Makefile
3
star
84

android_device_samsung_n7000

C++
3
star
85

android_packages_apps_MonthCalendarWidget

Java
3
star
86

android_device_samsung_l900

Shell
3
star
87

android_device_asus_zenfone8

C++
3
star
88

omni

Omni
3
star
89

android_device_oneplus_oneplus7pro

C++
3
star
90

android_external_chromium-org

C++
2
star
91

android_packages_apps_OmniStore

Kotlin
2
star
92

android_packages_apps_SamsungServiceMode

Java
2
star
93

android_device_motorola_def

Java
2
star
94

android_kernel_xiaomi_msm8953

C
2
star
95

android_device_samsung_superior

C
2
star
96

android_kernel_oppo_find5

C
2
star
97

android_device_samsung_jfltexx

Shell
2
star
98

android_vendor_qcom_opensource_commonsys

C++
2
star
99

android_device_sony_common

C
2
star
100

android_frameworks_native-caf

C++
2
star