blob: 09d2c5c1fb5189cdee1726201b79843dd22f998a [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
Jean-Baptiste Queru3e466b02011-10-06 14:34:00 -070041Honeycomb | 3.1 | API level 12, NDK 6
Jean-Baptiste Queru80f89c32011-10-05 14:37:21 -070042Honeycomb | 3.2 - 3.2.2 | API level 13
Jean-Baptiste Queru3e466b02011-10-06 14:34:00 -070043IceCreamSandwich | 4.0.x | API level 14, NDK 7
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070044
45Starting with Cupcake, individual builds are identified with a short
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070046build code, e.g. FRF85B.
47
48The first letter is the code name of the release family, e.g. F is
49Froyo.
50
51The second letter is a branch code that allows Google to identify
52the exact code branch that the build was made from, and R is by
53convention the primary release branch.
54
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070055The next letter and two digits are a date code. The letter counts
56quarters, with A being Q1 2009. Therefore, F is Q2 2010. The two
57digits count days within the quarter, so F85 is June 24 2010.
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070058
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070059Finally, the last letter identifies individual versions related to
60the same date code, sequentially starting with A; A is actually
Jean-Baptiste Querue3dc1ac2011-06-23 13:29:03 -070061implicit and usually omitted for brevity.
62
63The date code is not guaranteed to be the exact date at which a build
64was made, and it is common that minor variations added to an existing
65build re-use the same date code as that existing build.
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070066
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070067## Source code tags and builds ##
68
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070069Starting with Donut, the exact list of tags and builds is in the
70following table:
71
72Build | Tag | Notes
73-------|--------------------|-----------------------------------
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070074DRC83 | android-1.6_r1.1 | earliest Donut version, ADP1, ADP2
Skyler Kaufman991ae4d2011-04-07 12:30:41 -070075DRC92 | android-1.6_r1.2
76DRD08 | android-1.6_r1.3
77DRD20 | android-1.6_r1.4
78DMD64 | android-1.6_r1.5 | latest Donut version
79ESD20 | android-2.0_r1 | earliest Eclair version
80ESD56 | android-2.0.1_r1
81ERD79 | android-2.1_r1 | Nexus One
82ERE27 | android-2.1_r2 | Nexus One
83EPE54B | android-2.1_r2.1p | Nexus One
84ESE81 | android-2.1_r2.1s
85EPF21B | android-2.1_r2.1p2 | latest Eclair version
86FRF85B | android-2.2_r1 | earliest Froyo version, Nexus One
87FRF91 | android-2.2_r1.1 | Nexus One
88FRG01B | android-2.2_r1.2
89FRG22D | android-2.2_r1.3
90FRG83 | android-2.2.1_r1 | Nexus One
91FRG83D | android-2.2.1_r2 | Nexus One
92FRG83G | android-2.2.2_r1 | latest Froyo version, Nexus One
93GRH55 | android-2.3_r1 | earliest Gingerbread version, Nexus S
94GRH78 | android-2.3.1_r1 | Nexus S
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -070095GRH78C | android-2.3.2_r1 | Nexus S
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -070096GRI40 | android-2.3.3_r1 | Nexus One, Nexus S
Jean-Baptiste Queru1a6c0f02011-05-11 08:51:17 -070097GRI54 | android-2.3.3_r1.1 | Nexus S
98GRJ06D | android-2.3.4_r0.9 | Nexus S 4G
Jean-Baptiste Queru24d21302011-07-26 10:52:50 -070099GRJ22 | android-2.3.4_r1 | Nexus One, Nexus S, Nexus S 4G
Jean-Baptiste Querucac01c12011-09-28 17:26:00 -0700100GRJ90 | android-2.3.5_r1 | Nexus S 4G
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700101GRK39C | android-2.3.6_r0.9 | Nexus S
102GRK39F | android-2.3.6_r1 | Nexus One, Nexus S
103GWK74 | android-2.3.7_r1 | latest Gingerbread version, Nexus S 4G
Jean-Baptiste Queru3e466b02011-10-06 14:34:00 -0700104ITL41D | android-4.0.1_r1 | current IceCreamSandwich version, Galaxy Nexus
Skyler Kaufman991ae4d2011-04-07 12:30:41 -0700105
Jean-Baptiste Queru3e466b02011-10-06 14:34:00 -0700106The branches froyo, gingerbread, ics-mr0, represent development
Skyler Kaufman991ae4d2011-04-07 12:30:41 -0700107branches that do not exactly match configurations that were tested
108by Google. They might contain a variety of changes in addition to
109the official tagged releases, and those haven't been as thoroughly
110tested.
111
Jean-Baptiste Querub4d39b42011-04-11 13:53:58 -0700112## Honeycomb GPL modules ##
113
114For Honeycomb, the entire platform source code isn't available.
115However, the parts of Honeycomb licensed under the GPL and LGPL
116are available under the following tags:
117
118Build | Tag | Notes
119-------|--------------------|-----------------------------------
Jean-Baptiste Queru3a49c682011-05-09 09:29:18 -0700120HRI39 | android-3.0_r1 | earliest Honeycomb version
121HRI66 | android-3.0_r1.1
122HWI69 | android-3.0_r1.2
123HRI93 | android-3.0_r1.3
Jean-Baptiste Queruc1f92662011-07-20 12:37:14 -0700124HMJ37 | android-3.1_r1
Jean-Baptiste Querucac01c12011-09-28 17:26:00 -0700125HTJ85B | android-3.2_r1
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700126HTK55D | android-3.2.1_r1
127HTK75D | android-3.2.1_r2
128HLK75C | android-3.2.2_r1
129HLK75D | android-3.2.2_r2 | latest Honeycomb version
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700130
131There is no manifest that contains exactly those. However, there
132are manifests that allow building those components. The following
133commands work for 3.0_r1.1, and using other versions can be done by
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700134switching the git checkout paramater, and if necessary the -m parameter in
135repo init. The git checkout command outputs an error for the non-GPL
136projects, where it can't find the tag in question.
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700137
Jean-Baptiste Querube48f612011-10-06 14:20:51 -0700138 $ repo init -b master -m base-for-3.0-gpl.xml
Jean-Baptiste Queru3b70aac2011-06-23 13:29:24 -0700139 $ repo sync
140 $ repo forall -c git checkout android-3.0_r1.1