首页 / 操作系统 / Linux / Android 源码域名变更 kernel download (下载)方法
对于开发Android驱动或者进行android移植和定制的同仁们来说,获取android kernel源代码是必不可少的。遗憾的是,google的android.git.kernel.org由于受到黑客攻击,已经停用,域名移至:android.googlesource.com而官方网站也未提供kernel的在线浏览,因此只能下载kernel再阅读了,显然,如下方法不可能再下载到你想要的代码了 git clone git://android.git.kernel.org/projects/kernel/common.git/经过我的摸索,终于总结出来下载kernel的新指令:$ repo init -u https://android.googlesource.com/kernel/common同样地,可-b指定你想要的版本,如下载android 2.2(代号为froyo):$ repo init -u https://android.googlesource.com/kernel/common -b froyo特此与csdn同仁共享。其余指令请参考:http://source.android.com/source/downloading.html