blob: 8d1dd3b70f382105d69b3f2dd909562713758edf [file] [log] [blame] [view]
Skyler Kaufman44436912011-04-07 15:11:52 -07001<!--
2 Copyright 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070017# Codenames, Tags, and Build Numbers #
18
19At a high level, Android development happens around families of
20releases, which use code names ordered alphabetically after tasty
21treats.
22
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070023## Platform code names, versions, API levels, and NDK releases ##
24
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070025The code names match the following version numbers, along with
26API levels and NDK releases provided for convenience:
27
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070028Code name | Version | API level
29---------------|--------------|------------
30(no code name) | 1.0 | API level 1
31(no code name) | 1.1 | API level 2
32Cupcake | 1.5 | API level 3, NDK 1
33Donut | 1.6 | API level 4, NDK 2
34Eclair | 2.0 | API level 5
35Eclair | 2.0.1 | API level 6
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -070036Eclair | 2.1 (incl. 2.1-update 1) | API level 7, NDK 3
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070037Froyo | 2.2.x | API level 8, NDK 4
38Gingerbread | 2.3 - 2.3.2 | API level 9, NDK 5
Jean-Baptiste Querucac01c12011-09-28 17:26:00 -070039Gingerbread | 2.3.3 - 2.3.7 | API level 10
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -070040Honeycomb | 3.0 | API level 11
41Honeycomb | 3.1 | API level 12
Jean-Baptiste Queru80f89c32011-10-05 14:37:21 -070042Honeycomb | 3.2 - 3.2.2 | API level 13
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070043
44Starting with Cupcake, individual builds are identified with a short
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070045build code, e.g. FRF85B.
46
47The first letter is the code name of the release family, e.g. F is
48Froyo.
49
50The second letter is a branch code that allows Google to identify
51the exact code branch that the build was made from, and R is by
52convention the primary release branch.
53
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070054The next letter and two digits are a date code. The letter counts
55quarters, with A being Q1 2009. Therefore, F is Q2 2010. The two
56digits count days within the quarter, so F85 is June 24 2010.
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070057
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070058Finally, the last letter identifies individual versions related to
59the same date code, sequentially starting with A; A is actually
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070060implicit and usually omitted for brevity.
61
62The date code is not guaranteed to be the exact date at which a build
63was made, and it is common that minor variations added to an existing
64build re-use the same date code as that existing build.
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070065
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070066## Source code tags and builds ##
67
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070068Starting with Donut, the exact list of tags and builds is in the
69following table:
70
71Build | Tag | Notes
72-------|--------------------|-----------------------------------
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070073DRC83 | android-1.6_r1.1 | earliest Donut version, ADP1, ADP2
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070074DRC92 | android-1.6_r1.2
75DRD08 | android-1.6_r1.3
76DRD20 | android-1.6_r1.4
77DMD64 | android-1.6_r1.5 | latest Donut version
78ESD20 | android-2.0_r1 | earliest Eclair version
79ESD56 | android-2.0.1_r1
80ERD79 | android-2.1_r1 | Nexus One
81ERE27 | android-2.1_r2 | Nexus One
82EPE54B | android-2.1_r2.1p | Nexus One
83ESE81 | android-2.1_r2.1s
84EPF21B | android-2.1_r2.1p2 | latest Eclair version
85FRF85B | android-2.2_r1 | earliest Froyo version, Nexus One
86FRF91 | android-2.2_r1.1 | Nexus One
87FRG01B | android-2.2_r1.2
88FRG22D | android-2.2_r1.3
89FRG83 | android-2.2.1_r1 | Nexus One
90FRG83D | android-2.2.1_r2 | Nexus One
91FRG83G | android-2.2.2_r1 | latest Froyo version, Nexus One
92GRH55 | android-2.3_r1 | earliest Gingerbread version, Nexus S
93GRH78 | android-2.3.1_r1 | Nexus S
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070094GRH78C | android-2.3.2_r1 | Nexus S
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -070095GRI40 | android-2.3.3_r1 | Nexus One, Nexus S
Jean-Baptiste Queru1a6c0f02011-05-11 08:51:17 -070096GRI54 | android-2.3.3_r1.1 | Nexus S
97GRJ06D | android-2.3.4_r0.9 | Nexus S 4G
Jean-Baptiste Queru24d21302011-07-26 10:52:50 -070098GRJ22 | android-2.3.4_r1 | Nexus One, Nexus S, Nexus S 4G
Jean-Baptiste Querucac01c12011-09-28 17:26:00 -070099GRJ90 | android-2.3.5_r1 | Nexus S 4G
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700100GRK39C | android-2.3.6_r0.9 | Nexus S
101GRK39F | android-2.3.6_r1 | Nexus One, Nexus S
102GWK74 | android-2.3.7_r1 | latest Gingerbread version, Nexus S 4G
Skyler Kaufman991ae4d2011-04-07 12:30:41 -0700103
104The branches donut, eclair, froyo, gingerbread represent development
105branches that do not exactly match configurations that were tested
106by Google. They might contain a variety of changes in addition to
107the official tagged releases, and those haven't been as thoroughly
108tested.
109
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -0700110## Honeycomb GPL modules ##
111
112For Honeycomb, the entire platform source code isn't available.
113However, the parts of Honeycomb licensed under the GPL and LGPL
114are available under the following tags:
115
116Build | Tag | Notes
117-------|--------------------|-----------------------------------
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -0700118HRI39 | android-3.0_r1 | earliest Honeycomb version
119HRI66 | android-3.0_r1.1
120HWI69 | android-3.0_r1.2
121HRI93 | android-3.0_r1.3
Jean-Baptiste Queruc1f92662011-07-20 12:37:14 -0700122HMJ37 | android-3.1_r1
Jean-Baptiste Querucac01c12011-09-28 17:26:00 -0700123HTJ85B | android-3.2_r1
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700124HTK55D | android-3.2.1_r1
125HTK75D | android-3.2.1_r2
126HLK75C | android-3.2.2_r1
127HLK75D | android-3.2.2_r2 | latest Honeycomb version
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700128
129There is no manifest that contains exactly those. However, there
130are manifests that allow building those components. The following
131commands work for 3.0_r1.1, and using other versions can be done by
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700132switching the git checkout paramater, and if necessary the -m parameter in
133repo init. The git checkout command outputs an error for the non-GPL
134projects, where it can't find the tag in question.
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700135
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700136 $ repo init -b master -m base-for-3.0-gpl.xml
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700137 $ repo sync
138 $ repo forall -c git checkout android-3.0_r1.1