How to download the android source code

1,137 views
Skip to first unread message

Tez

unread,
Sep 16, 2011, 11:50:47 AM9/16/11
to android-platform
Kernel.org has been down for a long time now.
I really need 2.3.4_r1, but how do I get it?
I was told github.com/android is an official mirror, but each project
is a separate .git,
how do I sync the proper branch from there? or is there any way I can
get the code
or when will kernel.org be available again!!!

-Earlence

Jean-Baptiste Queru

unread,
Sep 16, 2011, 11:59:04 AM9/16/11
to android-...@googlegroups.com
There's no official location at the moment. Whatever someone put on
github is not official (and is surely far from being complete).

We're working on making things available again, but there's no
estimate at this time.

JBQ

> --
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
>
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

sola

unread,
Sep 16, 2011, 1:52:03 PM9/16/11
to android-...@googlegroups.com
Hi,

$ chmod a+x ~/bin/repo
$ repo init -u git://android.git.linaro.org/platform/manifest.git -b android-2.3.4_r1
$ sed -i s/android\.git\.kernel\.org/android\.git\.linaro\.org/ .repo/manifest.xml
$ sed -i s/review\.source\.android\.com/review\.android\.git\.linaro\.org/ .repo/manifest.xml
$ repo sync

Regards
Akihiro

2011/9/17 Jean-Baptiste Queru <j...@android.com>



--
Akihiro Maeda
http://blog.sola-dolphin-1.net/

Tez

unread,
Sep 18, 2011, 6:14:51 AM9/18/11
to android-platform
I get the following message:

Getting repo ...
from https://code.google.com/p/git-repo/
fatal: https://code.google.com/p/git-repo//info/refs not found: did
you run git update-server-info on the server?

when I run it on a system with git 1.6.0.4

and it works fine on another system with git 1.7.0

-Earlence

On Sep 16, 7:52 pm, sola <sola.198...@gmail.com> wrote:
> Hi,
>
> $ curlhttp://git-repo.googlecode.com/files/repo-1.12> ~/bin/repo
> $ chmod a+x ~/bin/repo
> $ repo init -u git://android.git.linaro.org/platform/manifest.git -b
> android-2.3.4_r1
> $ sed -i s/android\.git\.kernel\.org/android\.git\.linaro\.org/
> .repo/manifest.xml
> $ sed -i s/review\.source\.android\.com/review\.android\.git\.linaro\.org/
> .repo/manifest.xml
> $ repo sync
>
> Regards
> Akihiro
>
> 2011/9/17 Jean-Baptiste Queru <j...@android.com>
>
>
>
> > There's no official location at the moment. Whatever someone put on
> > github is not official (and is surely far from being complete).
>
> > We're working on making things available again, but there's no
> > estimate at this time.
>
> > JBQ
>

b3hzat

unread,
Sep 18, 2011, 6:58:13 AM9/18/11
to android-...@googlegroups.com, Tez
Hi,

Kernel.org website is under maintenance so you can try steps as below website;

http://php.webtutor.pl/en/2011/09/05/kernel-org-hacked-how-to-get-android-
repo/

cheers,
b3hzat

Tez

unread,
Sep 18, 2011, 7:01:41 AM9/18/11
to android-platform
Yes, I know and have tried the code aurora sources. They always fail
with errors in libstagefright. I've seen this myself. There was a bug
that was logged with no known workaround. so this is not an option for
me.

-Earlence

On Sep 18, 12:58 pm, b3hzat <b3h...@gmail.com> wrote:
> Hi,
>
> Kernel.org website is under maintenance so you can try steps as below website;
>
> http://php.webtutor.pl/en/2011/09/05/kernel-org-hacked-how-to-get-and...
> repo/
>
> cheers,
> b3hzat
>
> On 18 Eylül 2011 Pazar 03:14:51 Tez wrote:
>
> > I get the following message:
>
> > Getting repo ...
> >    fromhttps://code.google.com/p/git-repo/
> > fatal:https://code.google.com/p/git-repo//info/refsnot found: did

Tez

unread,
Sep 18, 2011, 3:30:07 PM9/18/11
to android-platform
ok. the code from Linaro's git repo is fine until korg comes back up.

-Earlence

On Sep 18, 1:01 pm, Tez <earlencefe...@gmail.com> wrote:
> Yes, I know and have tried the code aurora sources. They always fail
> with errors in libstagefright. I've seen this myself. There was a bug
> that was logged with no known workaround. so this is not an option for
> me.
>
> -Earlence
>
> On Sep 18, 12:58 pm, b3hzat <b3h...@gmail.com> wrote:
>
> > Hi,
>
> > Kernel.org website is under maintenance so you can try steps as below website;
>
> >http://php.webtutor.pl/en/2011/09/05/kernel-org-hacked-how-to-get-and...
> > repo/
>
> > cheers,
> > b3hzat
>
> > On 18 Eylül 2011 Pazar 03:14:51 Tez wrote:
>
> > > I get the following message:
>
> > > Getting repo ...
> > >    fromhttps://code.google.com/p/git-repo/
> > > fatal:https://code.google.com/p/git-repo//info/refsnotfound: did

Alan Olsen

unread,
Sep 18, 2011, 4:01:49 PM9/18/11
to android-...@googlegroups.com

tot...@hotmail.com

unread,
Sep 19, 2011, 5:21:41 AM9/19/11
to android-platform
Hello everyone ,
I got trouble on getting the source code of android , and found that
the Kernel.org has been down .
is there any body who can tell me where I can get them ?

Many thanks,
Chris Zhang

tot...@hotmail.com

unread,
Sep 19, 2011, 5:19:02 AM9/19/11
to android-platform

Hello , everyone.
right now I got trouble about the source code, Is there anyone who can
tell me when or where it is available for me
to get the source code .

Many thanks.

Jean-Baptiste Queru

unread,
Sep 19, 2011, 10:56:30 AM9/19/11
to android-...@googlegroups.com
As was discussed just a few days ago in this thread, there is
currently no official location to download the Android source code.
We're working on getting things available again, but there's no
estimate at this point and we're asking everyone to be patient in the
meantime.

Thanks,
JBQ

Bahar Ali

unread,
Sep 20, 2011, 1:56:57 AM9/20/11
to android-...@googlegroups.com
Open repo file

gedit ~/bin/repo

and replace

REPO_URL='git://android.git.kernel.org/tools/repo.git'
with
REPO_URL='http://android.git.kernel.org/tools/repo.git'


Try this InshaAllah it will work.

Best Regards

Bahar Ali

Developer
Security Engineering Research Group
Institute of Management Sciences
Phase-VII, Hayatabad, Peshawar


David Herges

unread,
Sep 20, 2011, 4:03:39 AM9/20/11
to android-...@googlegroups.com

As was discussed just a few days ago in this thread, there is
currently no official location to download the Android source code.
We're working on getting things available again, but there's no
estimate at this point and we're asking everyone to be patient in the
meantime.

Sorry mate, but you're messing it up big time. You have Google Code, there are loads of other open source git hosting sites around there and I can't imagine that you do not have a mirror of the official repo. Why don't you publish on one of'em?

Cheers, David

penguin359

unread,
Sep 21, 2011, 1:45:58 AM9/21/11
to android-...@googlegroups.com
I recommend you read this excellent post by +Dan Morrill which explains the problem with hosting in detail.  I for one applaud the kernel.org maintainers for the excellent work they have done to keep the site running as smoothly as it has.  I, like many others, am waiting anxiously for the site to come back on-line, but know enough to bite my tongue for the time being while they do the long and tedious job of restoring the site back to it's original state.

Jean-Baptiste Queru

unread,
Sep 21, 2011, 8:57:20 AM9/21/11
to android-...@googlegroups.com
To be a bit tongue-in-cheek, but also to illustrate the difficulty of
the task: we're not trying to bring the site back to its original
state, since that wouldn't prevent the same issue from happening
again. Our goal is to restore the same level of functionality while
eliminating the risk of a recurrence.

JBQ

> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-platform/-/84wlLj3OP7MJ.

Naseer

unread,
Sep 21, 2011, 12:42:03 PM9/21/11
to android-platform
Meanwhile, you could use the source from codeaurora.org. It syncs (or
used to sync when kernel.org was up) from the main aosp repo on a
regular basis.

https://www.codeaurora.org/gitweb/quic/la/

For example, to get the aosp master branch

repo init -u git://codeaurora.org/platform/manifest.git -b aosp/master
repo sync

The other stable branches are also present on codeaurora.


Thanks,
-Naseer

Tez

unread,
Sep 21, 2011, 1:09:38 PM9/21/11
to android-platform
CodeAurora always fails with some weird error in stage fright.
Linaro is good.

-Earlence

kiran

unread,
Sep 29, 2011, 1:52:36 AM9/29/11
to android-...@googlegroups.com
But at least tell us when it would be available i am trying to download gingerbread android source and never succeeded.
Regards
Kiran
Regards
 Kiran

Jean-Baptiste Queru

unread,
Sep 29, 2011, 10:38:09 AM9/29/11
to android-...@googlegroups.com
When it's available again, you'll know. Right now I can't give any more details.

JBQ

Виталя Разыграев

unread,
Sep 29, 2011, 4:27:07 AM9/29/11
to android-...@googlegroups.com
Stop write to me please!!!

Ответ от Развграева Виталия Александровича

C уважением
Разыграев Виталий Ð Ð»ÐµÐºÑ Ð°Ð½Ð´Ñ€Ð¾Ð²Ð¸Ñ
тел: +79653433857

Виталя Разыграев

unread,
Sep 29, 2011, 4:27:41 AM9/29/11
to android-...@googlegroups.com
Stop write to me please!!!

Ответ от Развграева Виталия Александровича

Zach Pfeffer

unread,
Sep 29, 2011, 9:33:40 PM9/29/11
to android-platform, linar...@linaro.org
On Sep 21, 12:09 pm, Tez <earlencefe...@gmail.com> wrote:
> CodeAurora always fails with some weird error in stage fright.
> Linaro is good.

Thanks Tez.

We do have a full mirror at http://android.git.linaro.org. We also
have a whole range of precompiled images at: https://android-build.linaro.org/.

See: http://www.linaro.org/linaro-blog/2011/09/15/%EF%BB%BFbuilding-a-linaro-android-build-from-source/

For instructions on compiling everything from source.

We just had our 11.09 release (today). The announcement is here:

http://www.linaro.org/linaro-blog/2011/09/29/linaro-11-09-released/

We currently support TIs: Pandaboard, Beagle, Beagle xM, Samsung's
Origen, Freescale's iMX53 and ST Ericsson's Snowball out of the box.

One thing unique about our builds is that we use the tip of GCC 4.6
with -O3 turned on. Other than that, we're tracking things fairly
closely.

Benchmarks are here: http://www.linaro.org/linaro-blog/2011/09/22/the-11-09-android-toolchain-has-been-benchmarked/

We're always happy to help at #linaro and #linaro-android on
irc.freenode.net.

> -Earlence
>
> On Sep 21, 6:42 pm, Naseer <naseer.ah...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Meanwhile, you could use the source from codeaurora.org. It syncs (or
> > used to sync whenkernel.orgwas up) from the main aosp repo on a

tommy.hong

unread,
Sep 29, 2011, 10:08:05 PM9/29/11
to android-...@googlegroups.com, linar...@linaro.org
Linaro server seems stable.

2011/9/30 Zach Pfeffer <zach.p...@linaro.org>



--
Chinese Name:Hong jiu jin
Android,Internet of Things,Embedded System Design and Develop
English Name:Tommy
Tel: +86 1367514 8249
Skype ID:hongjiujing 
Blog: http://internetofthings.blogbus.com/
Country:China
There are three types of people in this world: those who make things happen, those who watch things happen and those who wonder what happened.

B.Arunkumar

unread,
Sep 30, 2011, 2:28:16 AM9/30/11
to android-platform
Hello,

would be interested to know if anybody has got a compilable
GingerBread source tree through suggestions in this thread:

http://groups.google.com/group/android-building/browse_thread/thread/fb8f48025c95ddd3

Thank you,
B.Arunkumar

On Sep 30, 7:08 am, "tommy.hong" <hongjiuj...@gmail.com> wrote:
> Linaro server seems stable.
>
> 2011/9/30 Zach Pfeffer <zach.pfef...@linaro.org>
>
>
>
>
>
> > On Sep 21, 12:09 pm, Tez <earlencefe...@gmail.com> wrote:
> > > CodeAurora always fails with some weird error in stage fright.
> > > Linaro is good.
>
> > Thanks Tez.
>
> > We do have a full mirror athttp://android.git.linaro.org. We also
> > have a whole range of precompiled images at:
> >https://android-build.linaro.org/.
>
> > See:
> >http://www.linaro.org/linaro-blog/2011/09/15/%EF%BB%BFbuilding-a-lina...
>
> > For instructions on compiling everything from source.
>
> > We just had our 11.09 release (today). The announcement is here:
>
> >http://www.linaro.org/linaro-blog/2011/09/29/linaro-11-09-released/
>
> > We currently support TIs: Pandaboard, Beagle, Beagle xM, Samsung's
> > Origen, Freescale's iMX53 and ST Ericsson's Snowball out of the box.
>
> > One thing unique about our builds is that we use the tip of GCC 4.6
> > with -O3 turned on. Other than that, we're tracking things fairly
> > closely.
>
> > Benchmarks are here:
> >http://www.linaro.org/linaro-blog/2011/09/22/the-11-09-android-toolch...
> Gtalk ID:: hongjiuj...@gmail.com <talk%3Ahongjiuj...@gmail.com>
> Blog:http://internetofthings.blogbus.com/
> Country:China
> There are three types of people in this world: those who make things happen,
> those who watch things happen and those who wonder what happened.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages