mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-19 22:51:41 +08:00
185 lines
11 KiB
Markdown
185 lines
11 KiB
Markdown
Vic020
|
||
|
||
Install “Android 4.4 KitKat” to Run Favourite Games and Applications in Linux
|
||
================================================================================
|
||
**Android (x86)** is a project which aims to port Android system to Intel x86 processors to let users install it easily on any computer, the way they do this is by taking android source code, patching it to work on Intel x86 processors and some laptops and tablets.
|
||
|
||
![Install Android 4.4 KitKat in Linux](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-4.4-KitKat.jpg)
|
||
Install Android 4.4 KitKat in Linux
|
||
|
||
A few days ago, the project released “Android KitKat 4.4 RC2”, and today we will explain how to install it on VirtualBox, there is a problem that the mouse pointer doesn’t work in android in VirtualBox, but you may use this guide to install it beside other systems as a main system and the mouse should work I guess, otherwise we’ll use the keyboard.
|
||
|
||
### Step 1: Install VirtualBox in Linux ###
|
||
|
||
**1.** VirtualBox is available to install easily via official repositories in most Linux distributions, to install it on Ubuntu run.
|
||
|
||
$ sudo apt-get install virtualbox
|
||
|
||
For other Linux distributions like **RHEL, CentOS and Fedora**, use the following article to install Virtualbox.
|
||
|
||
- [Install VirtualBox in RHEL, CentOS and Fedora][1]
|
||
|
||
### Step 2: Download and Install Android 4.4 KitKat in Virtualbox ###
|
||
|
||
**2.** This is an easy step, just download **Android 4.4 x86 Kit Kat** file from the [androud Sourceforge.net][2] project.
|
||
|
||
**3.** To install **Android 4.4 kitkat** on VirtualBox, you need first to boot from the .iso image that you downloaded, to do so, open **VirtualBox**, Click on new to create a new virtual machine, and choose the settings as follow.
|
||
|
||
![Create New Virtual Machine](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-01.png)
|
||
Create New Virtual Machine
|
||
|
||
**4.** Then it will ask you to choose a Memory size for the machine, Android 4.4 kitkat needs 1GB of RAM to work perfectly, but I will choose 512MB since I only have 1GB of RAM on my computer.
|
||
|
||
![Set Memory to New Machine](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-02.png)
|
||
Set Memory to New Machine
|
||
|
||
**5.** Now select “Create a virtual hard drive now” to create a new one.
|
||
|
||
![Create Virtual Hard Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-03.png)
|
||
Create Virtual Hard Drive
|
||
|
||
**6.** It will now ask you for the type of the new virtual hard drive, select **VDI**.
|
||
|
||
![Select Hard Drive Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-04.png)
|
||
Select Hard Drive Type
|
||
|
||
![Select Storage Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-05.png)
|
||
Select Storage Type
|
||
|
||
**7.** Now choose the size of the virtual hard drive, you may choose any size you want, no less than **4GB** so the system can be installed correctly beside any future apps that you want to install.
|
||
|
||
![Set Size for Virtual Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-32.png)
|
||
Set Size for Virtual Drive
|
||
|
||
**8.** Now that’s your first virtual machine is created, now to boot from the **.iso** file that you downloaded, select the virtual machine from the list on the left, click on **Settings**, and go for “**storage**”, do as follow and select the **.iso** image of **android 4.4 kitkat RC2**.
|
||
|
||
![Select Android KitKat ISO](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-06.png)
|
||
Select Android KitKat ISO
|
||
|
||
**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)
|
||
Select to Install Android Kit Kat
|
||
|
||
**10.** Please select a partition to install Android-x86.
|
||
|
||
![Select Partition Drive](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-08.png)
|
||
Select Partition Drive
|
||
|
||
**11.** Now you will be prompted **cfdisk** which is a partitioning tool that we will use to create a new hard drive, so we can install android 4.4 on it, Click on “**New**”.
|
||
|
||
![Create New Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-09.png)
|
||
Create New Partition
|
||
|
||
**12.** Choose “**Primary**” as partition type.
|
||
|
||
![Choose Primary Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-10.png)
|
||
Choose Primary Partition
|
||
|
||
**13.** Next, select the size of the partition.
|
||
|
||
![Select Size of Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-11.png)
|
||
Select Size of Partition
|
||
|
||
**14.** Now, we have to make the new hard drive bootable in order to be able to write changes to the disk, click on “**Bootable**” to give the bootable flag to the new partition, you won’t notice any changes in fact but the bootable flag will be given to that partition.
|
||
|
||
![Make Partition Bootable](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-12.png)
|
||
Make Partition Bootable
|
||
|
||
**15.** After that, click on “**Write**” to write the changes to the hard drive.
|
||
|
||
![Apply Changes to Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-13.png)
|
||
Apply Changes to Partition
|
||
|
||
**16.** It will ask you if you are sure, write “**yes**” and click on **Enter**.
|
||
|
||
![Confirm Partition Changes](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-14.png)
|
||
Confirm Partition Changes
|
||
|
||
**17.** Now that’s our new hard drive is created, now click on **Quit** and you will see something like this, select the partition that you created before in order to install android on it and hit **Enter**.
|
||
|
||
![Choose Partition to Install Android](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-15.png)
|
||
Choose Partition to Install Android
|
||
|
||
**18.** Choose “**ext3**” as a filesystem for the hard drive and format.
|
||
|
||
![Select Ext3 Partition Type](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-16.png)
|
||
Select Ext3 Partition Type
|
||
|
||
![Format Partition](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-17.png)
|
||
Format Partition
|
||
|
||
**19.** You will be asked now if you want to install GRUB bootloader, of course you will select **Yes**, because if you don’t, you won’t be able to boot the new system, so choose “**Yes**” and hit **Enter**.
|
||
|
||
![Install Boot Loader GRUB](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-18.png)
|
||
Install Boot Loader GRUB
|
||
|
||
**20.** Finally, you will be asked if you want to make the **/system** partition writeable, choose Yes, it will help in a lot of things later after you install the system.
|
||
|
||
![Make Partition Writeable](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-19.png)
|
||
Make Partition Writeable
|
||
|
||
**21.** The installer will start it’s mission… after the installer finishes the job, choose Reboot, in my test, the “Run-Android x86” didn’t work for me, so you have to reboot.
|
||
|
||
![Android Kit Kat Installation](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-20.png)
|
||
Android Kit Kat Installation
|
||
|
||
**22.** Now that’s we installed **Android 4.4 KitKat RC2** on our hard drive, the problem is now that VirtualBox will keep loading the **.iso** image file instead of booting from the virtual hard drive, so to fix this problem, go to **Settings**, under “**storage**” select the **.iso** file and remove it from the booting menu.
|
||
|
||
![Remove Android Kit Kat Image](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-21.png)
|
||
Remove Android Kit Kat Image
|
||
|
||
**23.** Now you can start the virtual machine with the installed android system.
|
||
|
||
![Start Android Kit Kat System](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-23.png)
|
||
Start Android Kit Kat System
|
||
|
||
![Android Splash Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-24.png)
|
||
Android Splash Screen
|
||
|
||
**24.** Now you will start a wizard to configure some things before you start using **Android**. You will see a screen like this, Now the problem is, that the Mouse doesn’t work in **android 4.4 KitKat**, that means that we’ll be using our skills in keyboard, first choose the **language** you want using the **Up** and **Down** keys in the keyboard, and to go the next step, hit the **Right** arrow key and click **Enter**.
|
||
|
||
![Android Welcome Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-31.png)
|
||
Android Welcome Screen
|
||
|
||
![Select WiFi Network](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-25.png)
|
||
Select WiFi Network
|
||
|
||
![Create Android Google Account](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-26.png)
|
||
Create Android Google Account
|
||
|
||
![Sign in Google Account](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-27.png)
|
||
Sign in Google Account
|
||
|
||
![Set Date and Time](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-28.png)
|
||
Set Date and Time
|
||
|
||
![Enter Your Details](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-29.png)
|
||
Enter Your Details
|
||
|
||
![Android 4.4 Kit Kat Home Screen](http://www.tecmint.com/wp-content/uploads/2014/07/Install-Android-Kit-Kat-in-Linux-30.jpeg)
|
||
Android 4.4 Kit Kat Home Screen
|
||
|
||
Installing **Android x86** will be good for you if you don’t have a smartphone and you want to use the **Play Store** apps easily, have you ever tried to install android x86? What was the results? Do you think that android may become a “**real operation system**” targeting PCs in the feature?
|
||
|
||
----------
|
||
|
||
![](http://1.gravatar.com/avatar/1374d0df45065e405e1b059d2fca04ff?s=80&d=blank&r=G)
|
||
|
||
[Hanny Helal][3]
|
||
|
||
A Linux & Foss user since 2010, working on many projects in the field of Free Software.
|
||
|
||
|
||
--------------------------------------------------------------------------------
|
||
|
||
via: http://www.tecmint.com/install-android-kitkat-in-linux/
|
||
|
||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||
|
||
本文由 [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/
|
||
[3]:http://www.tecmint.com/
|