• Stars
    star
    455
  • Rank 96,175 (Top 2 %)
  • Language
    Shell
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

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

Repository Details

Downloading the Source

  1. Repo sync all code with default.xml
    repo init -u git://github.com/OnePlusOSS/android.git -b oneplus3/6.0.1
    repo sync
  2. Root your device
  3. Pull the necessary libraries from your device by executing the script pull_library.sh
  4. After pull_library.sh be executed, a directory named "vendor" should be generated. Copy this directory to root of project.

Building the System

[Set up environment]
Initialize the environment with the envsetup.sh script. git a $ . build/envsetup.sh
[Choose a Target]
Choose which target to build with lunch.
$ lunch
enter 25 for msm8996-userdebug
enter 26 for msm8996-user
[Build the code]
Build everything with make. GNU make can handle parallel tasks with a -jN argument.
$ make -j4
[Flash a Device]
Let device enter fastboot mode, run
$ adb reboot bootloader
Once the device is in fastboot mode, run
$ fastboot flash boot boot.img
$ fastboot flash system system.img
If you want flash new /data partition, run
$ fastboot flash userdata userdata.img

More Repositories

1

android_kernel_oneplus_sm8150

C
182
star
2

android_kernel_oneplus_sm8250

C
147
star
3

android_kernel_oneplus_msm8996

C
146
star
4

android_kernel_oneplus_msm8998

C
142
star
5

android_kernel_oneplus_msm8994

GPL Kernel Source for OnePlus 2
C
139
star
6

android_kernel_oneplus_msm8974

GPL Kernel Source for OnePlus X
C
84
star
7

android_kernel_oneplus_one

GPL Kernel Source for OnePlus One
C
76
star
8

android_kernel_oneplus_sm8350

C
64
star
9

android_kernel_oneplus_sdm845

C
54
star
10

android_kernel_oneplus_mt6893

C
42
star
11

android_kernel_msm-5.10_oneplus_sm8450

C
37
star
12

android_kernel_oneplus_sm8550

C
35
star
13

android_kernel_oneplus_sm8650

C
34
star
14

android_kernel_modules_and_devicetree_oneplus_sm8550

Shell
33
star
15

OpenSourceReleases

29
star
16

android_kernel_oneplus_sm8475

C
26
star
17

android_kernel_modules_and_devicetree_oneplus_sm8650

Shell
26
star
18

android_vendor_qcom_opensource_audio_kernel_sm8150

C
25
star
19

android_kernel_oneplus_sm7250

C
23
star
20

android_vendor_oneplus_oneplus3

Makefile
20
star
21

android_frameworks_base

Java
19
star
22

android_kernel_modules_and_devicetree_oneplus_sm8450

C
18
star
23

android_vendor_qcom_opensource_audio_kernel_sm8250

C
17
star
24

android_kernel_5.10_oneplus_mt6895

C
17
star
25

android_kernel_oneplus_sm6350

C
14
star
26

android_kernel_5.10_oneplus_mt6983

13
star
27

android_hardware_qcom_camera

C++
13
star
28

android_kernel_oneplus_sdm845_techpack_audio

C
13
star
29

android_vendor_oneplus_oneplus3T

Makefile
12
star
30

android_kernel_modules_and_devicetree_oneplus_sm8475

Makefile
12
star
31

android_kernel_oneplus_sm7225

C
11
star
32

android_kernel_oneplus_sm4250

C
11
star
33

android_kernel_oneplus_sm4350

C
10
star
34

android_vendor_oneplus_opensource_kernel

C
10
star
35

android_device_qcom_common

Shell
9
star
36

android_kernel_modules_and_devicetree_oneplus_sm8250

C
8
star
37

android_vendor_mediatek_kernel_modules_mt6893

8
star
38

android_build

Makefile
8
star
39

android_vendor_oneplus_SDM845

Makefile
8
star
40

android_kernel_modules_and_devicetree_oneplus_sm6375

C
6
star
41

android_system_core

6
star
42

android_vendor_qcom_thulium

Makefile
6
star
43

android_kernel_modules_oneplus_mt6983

6
star
44

android_kernel_oneplus_sm7675

C
6
star
45

android_hardware_ril

5
star
46

android_kernel_oneplus_mt6877

C
5
star
47

android_kernel_msm-5.4_oneplus_sm6375

C
5
star
48

android_vendor_oneplus_8998O

Makefile
4
star
49

android_device_qcom_sepolicy

Makefile
4
star
50

android_vendor_qcom_opensource_audio_kernel_sm8350

C
4
star
51

android_external_skia

4
star
52

android_vendor_oneplus_oneplus2

4
star
53

android_vendor_qcom-opensource_wlan_qcacld-3.0

C
4
star
54

android_art

C++
4
star
55

packages_apps_Nfc

4
star
56

android_kernel_modules_and_devicetree_oneplus_sm8350

C
4
star
57

android_kernel_modules_and_devicetree_oneplus_sm7675

Shell
4
star
58

android_vendor_oneplus_8996N

Makefile
3
star
59

android_vendor_qcom_plutonium

3
star
60

android_external_wpa_supplicant_8

3
star
61

android_hardware_qcom_audio

3
star
62

android_vendor_mediatek_kernel_modules_mt6895

Makefile
3
star
63

android_vendor_oneplus_8996O

Makefile
3
star
64

android_kernel_modules_oneplus_mt6833

3
star
65

android_vendor_oneplus_oneplusX

3
star
66

android_vendor_oneplus_8998N

Makefile
3
star
67

android_hardware_interfaces

C++
3
star
68

android_kernel_oneplus_mt6833

3
star
69

android_kernel_modules_oneplus_mt6877

2
star
70

external_libp61-jcop-kit

2
star
71

android_external_mm-dash

2
star
72

android_vendor_qcom_opensource_audio_kernel_sm4250

C
2
star
73

external_libnfc-nci

2
star
74

android_vendor_qcom_opensource_audio_kernel_sm7250

C
2
star
75

android_external_sepolicy

2
star
76

android_vendor_qcom_opensource_audio_kernel_sm7225

C
2
star
77

android_vendor_qcom_opensource_fm

Java
2
star
78

android_hardware_qcom_bt

2
star
79

android_system_sepolicy

2
star
80

android_hardware_qcom_media

C++
2
star
81

android_vendor_qcom_opensource_bluetooth

2
star
82

packages_apps_SmartCardService

Java
2
star
83

android_hardware_libhardware

2
star
84

android_kernel_oneplus_mt6789

C
2
star
85

android_vendor_qcom_copper

1
star
86

android_frameworks_opt_telephony

1
star
87

android_frameworks_av

1
star
88

android_vendor_qcom_opensource_audio_kernel_sm4350

C
1
star
89

android_vendor_qcom_opensource_commonsys_system_bt

C++
1
star
90

android_vendor_qcom-opensource_wlan_fw-api

C
1
star
91

external_libese-spi

1
star
92

android_kernel_modules_and_devicetree_oneplus_sm7250

C
1
star
93

android_system_chre

C++
1
star
94

android_kernel_4.19_oneplus_mt6765

C
1
star
95

android_vendor_qcom_opensource_location

1
star
96

android_hardware_qcom_wlan

1
star
97

android_vendor_qcom_cobalt

Makefile
1
star
98

android_kernel_modules_and_devicetree_oneplus_sm4350

C
1
star
99

android_vendor_mediatek_kernel_modules_mt6877

1
star
100

android_vendor_qcom_opensource_audio_kernel_sm6350

C
1
star