{"id":339,"date":"2010-03-17T22:34:22","date_gmt":"2010-03-18T03:34:22","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/?p=339"},"modified":"2010-03-18T09:42:34","modified_gmt":"2010-03-18T14:42:34","slug":"running-android-in-virtualbox","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=339","title":{"rendered":"Running Android in VirtualBox"},"content":{"rendered":"<p>I&#8217;ve been continuing my development efforts in the mobile application space &#8211; largely on the <a href=\"http:\/\/developer.palm.com\/\">Palm WebOS<\/a> platform. As WebOs developers know, the emulator for the Palm Pre SDK is based on <a href=\"http:\/\/www.virtualbox.org\/\">VirtualBox<\/a>, since the WebOS platform runs on top of a Linux 2.6 kernel (on x86). Since we know that <a href=\"http:\/\/www.android.com\/\">Google Android<\/a> also runs on the Linux x86 2. kernel, I wondered if it would be possible to emulate Android on the PC using VirtualBox. It turns out, a couple of others have tried this out &#8211; the instructions at <a href=\"http:\/\/www.taranfx.com\/how-to-run-google-android-in-virtualbox-vmware-on-netbooks\">this site<\/a> worked very well for me, so all credit to their hard work! Here are the steps:<\/p>\n<ol>\n<li>Download the android liveCD iso files from the <a href=\"http:\/\/code.google.com\/p\/live-android\/\">Live-Android<\/a> project. I used the latest version (0.3), which came in two separate download files.<\/li>\n<li>Join the two download files into one. On Linux, you can use the following (or similar) in a shell prompt:<br \/>\n<strong>$ cat android-live.001 android-live.002 &gt; android-live.iso<\/strong><br \/>\nFor Windows, in a cmd window, type<br \/>\n<strong> c:&gt; copy android-live.001+android-live.002 \u00a0android-live.iso<\/strong><\/li>\n<li> Start up the VirtualBox GUI, and open the Media Manager. Click the CD\/DVD tab, and then click the Add button. Navigate to the location where the android Live CD iso was saved, and select the iso file, then click OK.<br \/>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_341\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Virtual-Media-Manager.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-341\" class=\"size-thumbnail wp-image-341\" title=\"Screenshot-Virtual Media Manager\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Virtual-Media-Manager-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-341\" class=\"wp-caption-text\">Virtual Media Manager<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_340\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Virtual-Media-Manager-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-340\" class=\"size-thumbnail wp-image-340\" title=\"Screenshot-Virtual Media Manager-1\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Virtual-Media-Manager-1-150x150.png\" alt=\"Virtual Media Manager\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-340\" class=\"wp-caption-text\">Virtual Media Manager, Android live CD iso selected<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Now create a new Virtual machine profile from the main GUI, by clicking the New button. Name the profile, and set the OS to Linux, with version Linux 2.6. Hit Next.<\/li>\n<li>Set the memory for virtual machine to 300 MB; this should be more than enough. Hit Next.<\/li>\n<li>Uncheck the box for the hard disk, then click Next. A warning will be displayed indicating that there is no boot device for the machine; this can be ignored, by clicking Continue. Hit Next to get to the final confirmation screen. Then hit Finish to create the virtual machine.<\/li>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_345\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-Live.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-345\" class=\"size-thumbnail wp-image-345\" title=\"Screenshot-Create New Virtual Machine Android Live\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-Live-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-345\" class=\"wp-caption-text\">Create New Virtual Machine Android Live<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_344\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-memory.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-344\" class=\"size-thumbnail wp-image-344\" title=\"Screenshot-Create New Virtual Machine Android memory\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-memory-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-344\" class=\"wp-caption-text\">Create New Virtual Machine Android memory<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td>\n<p><div id=\"attachment_343\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-VirtualBox-Android-no-HD-Warning.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-343\" class=\"size-thumbnail wp-image-343\" title=\"Screenshot-VirtualBox - Android no HD Warning\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-VirtualBox-Android-no-HD-Warning-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-343\" class=\"wp-caption-text\">VirtualBox - Android no HD Warning<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_342\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-confirmation.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-342\" class=\"size-thumbnail wp-image-342\" title=\"Screenshot-Create New Virtual Machine Android confirmation\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Create-New-Virtual-Machine-Android-confirmation-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-342\" class=\"wp-caption-text\">Create New Virtual Machine Android confirmation<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<li>The next step was to ensure that the machine would boot from the image by\u00a0clicking the Settings button and updating the CD\/DVD mount for the machine. Click on the ISO Image File option and select the Android iso image added above.<\/li>\n<li>Start the new virtual machine, choosing to boot from the CD.<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_351\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Android-LiveCD-0.3-Settings.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-351\" class=\"size-thumbnail wp-image-351\" title=\"Screenshot-Android LiveCD 0.3 - Settings\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Screenshot-Android-LiveCD-0.3-Settings-150x150.png\" alt=\"Android LiveCD 0.3 - Settings\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-351\" class=\"wp-caption-text\">Android LiveCD 0.3 - Settings<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_350\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-boot-Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-350\" class=\"size-thumbnail wp-image-350\" title=\"Android boot Screenshot\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-boot-Screenshot-150x150.png\" alt=\"Android boot \" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-350\" class=\"wp-caption-text\">Android boot <\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_349\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-LiveCD-boot-Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-349\" class=\"size-thumbnail wp-image-349\" title=\"Android LiveCD boot Screenshot\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-LiveCD-boot-Screenshot-150x150.png\" alt=\"Android LiveCD boot\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-349\" class=\"wp-caption-text\">Android LiveCD boot<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td>\n<p><div id=\"attachment_347\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-347\" class=\"size-thumbnail wp-image-347\" title=\"Android Screenshot\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-Screenshot-150x150.png\" alt=\"Android Screenshot\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-347\" class=\"wp-caption-text\">Android Screenshot<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_346\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-2-Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-346\" class=\"size-thumbnail wp-image-346\" title=\"Android Applications Screenshot\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/03\/Android-2-Screenshot-150x150.png\" alt=\"Android Applications Screenshot\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-346\" class=\"wp-caption-text\">Android Applications Screenshot<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This gives the mobile developer who wants to develop and deploy to multiple platforms a quick, cheap way to evaluate functionality and operation without buying a whole new device. I&#8217;m looking forward to trying out my own apps in the Android world!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been continuing my development efforts in the mobile application space &#8211; largely on the Palm WebOS platform. As WebOs developers know, the emulator for the Palm Pre SDK is based on VirtualBox, since the WebOS platform runs on top of a Linux 2.6 kernel (on x86). Since we know that Google Android also runs [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56,42,8,10,16,54,52,78],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-android","category-google","category-linux","category-mobile","category-software","category-sun-virtualbox","category-virtualization","category-webos"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":1,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions\/352"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}