0% found this document useful (0 votes)
9 views

Android VBox Win

You can install and run the free Android 4.3 operating system in a virtual machine created using the free Oracle VM VirtualBox program running on a Windows computer. This allows you to learn about and experiment with Android without needing dedicated Android hardware. The document provides detailed steps for downloading an Android 4.3 ISO, creating a new virtual machine in VirtualBox, attaching the ISO, and installing and running Android in the virtual environment.

Uploaded by

SHAHID IQBAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Android VBox Win

You can install and run the free Android 4.3 operating system in a virtual machine created using the free Oracle VM VirtualBox program running on a Windows computer. This allows you to learn about and experiment with Android without needing dedicated Android hardware. The document provides detailed steps for downloading an Android 4.3 ISO, creating a new virtual machine in VirtualBox, attaching the ISO, and installing and running Android in the virtual environment.

Uploaded by

SHAHID IQBAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 210

RUNNING "ANDROID"

IN A
VIRTUAL MACHINE
IN
"ORACLE VM VIRTUALBOX"
IN "WINDOWS.."

1
Web location for this
presentation:
http://aztcs.org
Click on
“Meeting Notes”
2
SUMMARY
You can install and run a free copy
of "Android 4.3" in a virtual
machine inside the free "Oracle
VM VirtualBox" program in a
"Windows.." computer.
This gives you a chance to learn
about the "Android" flavor of Linux
without or prior to spending money
for an "Android" phone or tablet.
3
Real Physical Computer running
Windows XP, Windows Vista,
Windows 7, Windows 8 or 8.1 OS
"Oracle VM VirtualBox" (free)
Virtual Machine Program
"Android" (free)
running in a
virtual machine
"ANDRIOD" IN "ORACLE VM
VIRTUALBOX" IN "WINDOWS.."
• It is harder to run "Android" in
"..VirtualBox" relative to "VMware Player"
because "..VirtualBox" does not offer
mouse integration for "Android":
In "..VirtualBox", you cannot click inside
the virtual machine windows to get your
mouse to work inside the virtual machine.
Instead, you have to use the "Devices"
menu option to "connect" your mouse to
the "Android" virtual machine.5
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• After doing this, your mouse's cursor will
be stuck inside the virtual machine.
To free the mouse cursor from the virtual
machine, you have to physically
disconnect and reconnect the mouse's
USB plug from the USB port of the
computer. After you do this, the mouse
will work outside the virtual machine
window but it will not work inside the
virtual machine until you use the
6
"Devices" menu again.
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• To reduce wear on the USB port


of your computer, we recommend
that you use a USB extension
cable so that you can do the
disconnects and reconnects your
mouse with the equipment end of
the USB extension cable:
7
8
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• See
http://www.pcworld.com/article/20
48220/hybrid-hijinks-how-to-
install-android-on-your-pc.html
for the hyperlink for downloading
the ISO file that is an image of
the installation CD for "Android
4.3". 9
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Download the .ISO file for the CD
installation image for "Android
4.3".
• Create a new virtual machine and
attach the .ISO to it.
• Start up the virtual machine and
follow the instructions inside
Android's installation program.
10
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• During the installation process,
skip the setup of a wireless
access point since the Andriod
will automatically connect to
the virtual wired network
adapter that "VMware Player"
provides for it.
11
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• During the installation process,
skip the setup of a Google
account since your Google
account will fail to recognize your
Android virtual machine as a
legitimate device to synchronize
files, settings, and favorites
anyway. 12
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the "New" button:

13
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the "New" button:

14
15
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Provide a name for the virtual


machine:

16
17
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• In this example, we named the


virtual machine
"Android 4.3"

18
19
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Select "Linux" for the type of


virtual machine:

20
21
"ANDRIOD" IN"ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Select "Other Linux" for the


version:

22
23
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Next" button:

24
25
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click

26
27
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Drag the slider to select the


amount of virtual RAM for the
virtual machine:

28
29
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the "Next" button:

30
31
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Make sure that "Create a hard
drive.." is selected.
Then click on the "Create" button:

32
33
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Leave the hard drive type set to the top


default setting. Then click on the "Next"
button:

34
35
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Make sure that "Dynamically


allocated" is selected. Then click
on the "Continue" button.

36
37
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click and drag the slider to
determine the size of the virtual
hard drive:

38
39
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the "Create" button:

40
41
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the "Settings" button:

42
43
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• A "..Settings" box will be
displayed:

44
45
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on "Storage":

46
47
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• The virtual IDE controller will be
displayed in the "Storage Tree":

48
49
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Empty" CD image:

50
51
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• The CD image will now be
highlighted:

52
53
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• Click on the CD icon near the
right edge of the box:

54
55
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on "Choose a virtual


CD/DVD image file" in the pop-up
context menu.

56
57
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• A "Please choose.." dialog box


will be displayed:

58
59
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the .ISO file of "Android


4.3" that you downloaded earlier:

60
61
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The .ISO file of "Android 4.3" will


now be shown in the "File Name"
box:

62
63
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Open" button:

64
65
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "OK" button:

66
67
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• The new "Andriod 4.3" virtual
machine will be listed in the
"Oracle VM VirtualBox Manager"
window:

68
69
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Start" button:

70
71
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The following box is totally


incorrect but click on its "OK"
button anyway:

72
73
74
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

75
76
77
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The following notice is also totally


incorrect but click on its "OK"
button anyway"

78
79
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

80
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

81
82
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The "Grub 2" bootup menu of


"Android 4.3" will be displayed:

83
84
85
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Use the down arrow key to select


the bottom option:

86
87
88
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the Enter key once:

89
90
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

91
92
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

93
94
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Tab or right arrow key to "New".


Then press the "Enter" key once:

95
96
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Leave "Primary" selected. Then


press the Enter key once:

97
98
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Adjust the size of the virtual hard


drive partition. Then press the
Enter key once:

99
100
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Leave "Bootable" selected. Then


press the Enter key once:

101
102
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The "Boot" flag will be displayed:

103
104
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Tab or right arrow key to "Write"


and then press the Enter key
once:

105
106
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• An "Are you sure?" message will be


displayed:

107
108
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Type in
yes
and then press the Enter key
once:

109
110
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The bottom of the box will say


"Writing partition to disk...":

111
112
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• When "Writing partition table to disk..." goes


away, your new virtual hard drive partition is
initialized and ready formatting in a future
step..
• Tab or right arrow key to "Quit" and then press
the Enter key once:

113
114
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Tab or right arrow key to make


sure that "OK" is selected, then
press the "Enter" key once.

115
116
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Down arrow key to select "EXT3"


file format:

117
118
119
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Enter key with "OK" highlighted.

120
121
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the "Enter" key once:

122
123
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Left arrow key to select "Yes":

124
125
126
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the Enter key once:

127
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click

128
129
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the Enter key again:

130
131
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• A horizontal status bar shows


you the progress of the format
process for the virtual hard
drive:

132
133
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• At this point, you will be stuck in


an endless cycle of installing
"Android 4.3" into your virtual
machine unless you first shut
down the virtual machine and
disconnect the .ISO file that
represents the installation CD for
"Android 4.3": 134
135
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click once on the red "X" button


in the upper-right corner of the
virtual machine window:

136
137
138
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Select the "Power off the


machine" option:

139
140
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "OK" button:

141
142
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Settings" button:

143
144
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on "Storage":

145
146
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The virtual IDE controller will


be displayed in the "Storage
Tree":

147
148
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the Android 4.3 ISO


file:

149
150
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the CD icon on the


right edge of the window:

151
152
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on "Remove disk from


virtual drive" in the popup context
menu.

153
154
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "OK" button:

155
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The virtual CD will not be


shown as "Empty":

156
157
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Start the virtual machine by


clicking on the "Start" button:

158
159
160
161
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the "Enter" key once:

162
163
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Press the tab key until the


Start button turns blue and
then press the Enter key:

164
165
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Unlike other virtual machine


programs, in "Oracle VM
Virtualbox", you cannot make the
mouse cursor go inside the virtual
machine window by clicking
inside the virtual machine
window.
166
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• To put the mouse cursor inside the


virtual machine for use there:
Click on "Devices" in the Menu Bar
of the virtual machine.
Click on "USB Devices" in the pull-
down menu.
Click on the listing for your mouse in
the pop-up context menu.
167
168
"ANDRIOD" INSIDE "ORACLE VM
VIRTUALBOX" IN "WINDOWS.." (continued)

• Click on "Devices" in the Menu


Bar of the virtual machine.
Click on "USB Devices" in the
pull-down menu.
Click on the listing for your
mouse in the pop-up context
menu. 169
170
171
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Start" button:

172
173
"ANDRIOD" INSIDE "ORACLE VM
VIRTUALBOX" IN "WINDOWS.." (continued)

• A "Welcome" banner will be


displayed for 20 to 50
seconds:

174
175
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• When asked to "Select Wi-Fi",


you do not need to and doing
so will not work anyway, so
click on the "Skip" button:

176
177
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on "Skip anyway":

178
179
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• When asked if you have a
Google account, click on the "No"
button:

180
181
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on "Not now":

182
183
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the right pointing


triangle button to move
forward:

184
185
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the right pointing


triangle button to move
forward:

186
187
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the right pointing


triangle button to move
forward:

188
189
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Finish" button:

190
191
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "Apps Button".


It looks like a circle with six
white squares inside it:

192
193
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Click on the "OK" button:

194
195
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• The apps screen includes a


"Settings" button and a
"Terminal Emulator" button:

196
197
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• If you encounter a lock screen,


unlock the Android virtual
machine by dragging the lock
out of the circle:

198
199
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• Then you can click on the


"Apps button" to get to a
usable screen:

200
201
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• This is the highest level usable


screen:

202
203
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• If your "Android 4.3" virtual


machine goes to sleep, the only
way that you can wake it is to
press on the "Context Menu Key"
of the keyboard. The "Context
Menu Key" is sometimes called
the "Menu Key".
204
205
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• If your "Android" virtual machine falls
asleep and you cannot remember
about the "Context Menu" key, your
other alternative is to disconnect the
mouse from the USB port, wait 5
seconds, and then resert the
mouse's USB plug back into the USB
port. Then close the virtual machine
by clicking on the red "x" button.
206
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• To get your mouse cursor out of the
virtual machine, you have to do the
following:
Disconnect the USB plug of the
mouse from the USB port of the
computer.
Wait 5 seconds.
Reconnect the USB plug of the
mouse by inserting it into the USB
port of the computer. 207
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)

• To close down the virtual


machine if the mouse cursor is
working:
Use your mouse cursor to drag
the right half of the top "Status
Bar" downward.
Then click on the "Power Off"
button: 208
209
"ANDRIOD" IN "ORACLE VM VIRTUALBOX" IN
"WINDOWS.." (continued)
• To close down the virtual machine if the
mouse cursor is not working:
Follow the previous procedure to get the
mouse cursor out of the virtual machine.
Then click on the red "X" button in the
upper-right corner of the virtual machine.
Select "Power off the machine" from the
"Close Virtual Machine?" dialog box.
Finally, click on the "OK" button of the
"Close Virtual Machine?" dialog 210 box.

You might also like