2014-07-17 20:42:06 +08:00
|
|
|
|
装X指南--在Linux上装个Android 4.4玩玩
|
2014-07-16 10:55:58 +08:00
|
|
|
|
================================================================================
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**Android (x86)**项目致力于移植Android系统到X86处理器上,使用户可以更容易的在任何电脑上安装Android。他们通过使用android源码,增加补丁来使Android能够在X86处理器下工作,不单只是笔记本电脑和平板电脑。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Install Android 4.4 KitKat in Linux](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-4.4-KitKat.jpg)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
在Linux安装Android 4.4 KitKat
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
几天前,项目组发布了最新的“Android KitKat 4.4 RC2”,下面,我将说明如何在VirtualBox上的安装过程,不过有一个小问题,安装完成Android后鼠标指针不工作了,我猜,如果你根据本教程将它安装成主系统,这个鼠标应该可以工作,否则我们只能使用键盘了。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
### 阶段 1: 在linux上安装VirtualBox ###
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-08-22 11:18:20 +08:00
|
|
|
|
**1.** 大多数的Linux发行版中,官方源都有VirtualBox,例如在Ubuntu中安装
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
$ sudo apt-get install virtualbox
|
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
其他的Linux发行版,像**RHEL, CentOS and Fedora**,请参考下面文章来安装VirtualBox
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
- [Install VirtualBox in RHEL, CentOS and Fedora][1]
|
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
### 阶段 2: 下载并在VirtualBox中安装Android 4.4 kitkat ###
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**2.** 这步挺简单的,只是需要去[androud Sourceforge.net][2]项目下载 **Android 4.4 x86 Kit Kat**文件
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**3.** 为了安装**Android 4.4 kitkat**,首先,你需要引导刚刚下载.iso文件,启动 **VirtualBox**,创建一个新的虚拟机,然后跟着下面图片设置:
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Create New Virtual Machine](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-01.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
创建新的虚拟设备
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**4.** 接下来,它会询问你新设备的内存大小,Android 4.4 kikat需要1G内存才能完美运行,但是由于我的电脑只有1G内存,我只能选择512MB。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Set Memory to New Machine](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-02.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
设置内存
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**5.** 选择“现在创建虚拟硬盘”(“Create a virtual hard drive now”)创建一个新的硬盘
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Create Virtual Hard Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-03.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
创建虚拟硬盘
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**6.** 它现在会询问你新虚拟硬盘的类型,选择**VDI**
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Hard Drive Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-04.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择硬盘驱动类型
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Storage Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-05.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择存储方式
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**7.** 现在设置虚拟硬盘大小,你可以设置任何大小,但是除了未来安装Apps的空间,至少系统正确地安装需要**4G**。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Set Size for Virtual Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-32.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
设置虚拟硬盘大小
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**8.** 现在你的新虚拟设备创建好了,可以引导下载的**.iso**文件了,右键刚刚创建的虚拟机,**设置** -> **存储** ,如下图,设置**android 4.4 kitkat RC2**的镜像文件。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Android KitKat ISO](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-06.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择Android KitKat ISO
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
**9.** Click on **OK**, and start the machine to boot the .iso image, choose “**Installation**” to start installing the system on the virtual machine.
|
|
|
|
|
|
|
|
|
|
![Select to Install Android Kit Kat](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-07.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择 Install Android Kit Kat
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**10.** 请选择一个分区来安装Android-x86
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Partition Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-08.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择 Partition Drive
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**11.** 如下图,你可以看见cfdisk界面,cfdisk是一个分区工具,我们将要使用它来创建一个新的硬盘分区,用来安装Android 4.4,现在,点击 “**New**”
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Create New Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-09.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
创建新分区
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**12.** 选择“**Primary**”作为分区类型
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Choose Primary Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-10.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择主分区
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**13.** 接下来,设置分区大小
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Size of Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-11.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
设置分区大小
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**14.** 现在我们必须给硬盘创建新的引导使其能够写入新的分区表,点击“**Bootable**”给引导标记新的分区,你不会注意到有任何变化,但是引导标记将会自己给选中分区。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Make Partition Bootable](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-12.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
制作分区引导
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**15.** 完成之后,点击“**Write**”对硬盘写入新的分区。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Apply Changes to Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-13.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
应用新分区
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**16.** 它会询问你是否确认,输入“**yes**”并点击**Enter**
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Confirm Partition Changes](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-14.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
确认分区改变
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**17.** 现在我们的新硬盘已经创建,点击 **Quit** 你就可以看来类似下图的显示,选中刚刚创建的用来安装Android 的分区,点击**Enter**
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Choose Partition to Install Android](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-15.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择分区安装Android
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**18.** 选择“**ext3**”作为硬盘文件系统并格式化
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select Ext3 Partition Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-16.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择Ext3分区类型
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Format Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-17.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
格式化分区
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**19.** 它将会询问你时候需要安装GRUB启动器,当然选择**Yes**,如果不这样,你将不能启动新系统,所以选择**Yes**并点击**Enter**
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Install Boot Loader GRUB](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-18.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
安装引导加载器 GRUB
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**20.** 最后,它会问你**/system**分区是否能写入,选择yes,它会在安装完系统后帮助你减少很多麻烦
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Make Partition Writeable](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-19.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
使分区能写入
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**21.** 安装将会开始它的任务,安装器结束工作后,选择重启,在我做测试的时候,“Run-Android x86”不起作用,所以你不得不重启。
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Android Kit Kat Installation](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-20.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
Android Kit kat 安装完成
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**22.** 我们已经安装完成**Android 4.4 KitKat RC2**,问题是VirtualBox将会继续引导**.iso**镜像文件而不是虚拟设备,所以为了修正这个问题,**设置** -> **存储** ->移除iso文件
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Remove Android Kit Kat Image](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-21.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
移除Android Kit Kat 镜像
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**23.** 你可以启动你的虚拟设备,运行你的Android系统了
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Start Android Kit Kat System](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-23.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
启动Android Kit Kat 系统
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Android Splash Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-24.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
Android标志界面
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
**24.** 使用**Android**之前,你需要完成一个向导来配置一些事。你会看见如下屏幕,现在问题是,鼠标不能在**android 4.4 kitkat**工作,这意味着我们需要展示我们键盘的高超技巧了。首先,选择语言,你需要使用键盘**上**键和**下**键,到下一步,需要使用**右**键移动光标,选择**Enter**
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Android Welcome Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-31.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
Android 欢迎界面
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Select WiFi Network](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-25.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
选择WiFi网络
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Create Android Google Account](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-26.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
创建Android Google账户
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Sign in Google Account](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-27.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
注册Google账户
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Set Date and Time](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-28.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
设置日期和时间
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Enter Your Details](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-29.png)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
输入你的信息
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
![Android 4.4 Kit Kat Home Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-30.jpeg)
|
2014-07-17 20:42:06 +08:00
|
|
|
|
Android 4.4 Kit Kat 主界面
|
|
|
|
|
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
安装 **Android x86**好处颇多,如果你没有智能手机而又想早点使用**Play Store**apps,怎么不试试安装android x86呢?结果怎样?你有想过android可以成为一个针对桌面功能的**实时操作系统**?
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
![](http://1.gravatar.com/avatar/1374d0df45065e405e1b059d2fca04ff?s=80&d=blank&r=G)
|
|
|
|
|
|
|
|
|
|
[Hanny Helal][3]
|
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
2010年,成为Linux和自由软件用户,已为自由软件贡献多个项目
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
via: http://www.tecmint.com/install-android-kitkat-in-linux/
|
|
|
|
|
|
2014-07-17 20:42:06 +08:00
|
|
|
|
译者:[Vic___](http://www.vicyu.net) 校对:[校对者ID](https://github.com/校对者ID)
|
2014-07-16 10:55:58 +08:00
|
|
|
|
|
|
|
|
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
|
|
|
|
|
|
|
|
|
[1]:http://www.tecmint.com/install-virtualbox-on-redhat-centos-fedora/
|
|
|
|
|
[2]:http://sourceforge.net/projects/android-x86/
|
2014-07-16 18:54:55 +08:00
|
|
|
|
[3]:http://www.tecmint.com/
|