{"id":8699,"date":"2025-01-22T12:56:01","date_gmt":"2025-01-22T17:56:01","guid":{"rendered":"https:\/\/www.bu.edu\/metit\/?page_id=8699"},"modified":"2025-11-18T12:05:55","modified_gmt":"2025-11-18T17:05:55","slug":"avd-device","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/metit\/services\/ed-tech\/labs\/virtual-labs\/tutorials\/cs694\/avd-device\/","title":{"rendered":"Open the AVD Virtual Device"},"content":{"rendered":"<h4 align=\"center\">MET CS694 Virtual Lab Topics<\/h4>\n<div class=\"center-children\">\n<div class=\"grid col-4 colors\">\n<div class=\"hovereffect\" style=\"background-color: #707070;\"><a href=\"\/metit\/services\/ed-tech\/labs\/virtual-labs\/tutorials\/cs694\/access\/\"><span>Access the CS694 VLab<\/span><\/a><\/div>\n<div class=\"hovereffect\" style=\"background-color: #f0f0f0;\"><a href=\"\/metit\/services\/ed-tech\/labs\/virtual-labs\/tutorials\/cs694\/\"><span>Open the AVD Virtual Device<\/span><\/a><\/div>\n<div class=\"hovereffect\" style=\"background-color: #707070;\"><a href=\"\/metit\/services\/ed-tech\/labs\/virtual-labs\/tutorials\/cs694\/oxygen\/\"><span>Open Oxygen Forensics<\/span><\/a><\/div>\n<div class=\"hovereffect\" style=\"background-color: #707070;\"><a href=\"\/metit\/services\/ed-tech\/labs\/virtual-labs\/tutorials\/cs694\/troubleshooting\/\"><span>Trouble-shooting<\/span><\/a><\/div>\n<\/p><\/div>\n<\/div>\n<hr \/>\n<h4>Start the Nested VM<\/h4>\n<ol>\n<li>In the CS694 VLab, open the <strong>Hyper-V Manager<\/strong> from the Desktop.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture1.png\" alt=\"\" width=\"91\" height=\"100\" \/><\/p>\n<li>In the &#8216;User Account Control&#8217; enter your <strong>BU password<\/strong>.<br \/>\n   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/05\/AVD_NewPicture1a.png\" alt=\"\" width=\"362\" height=\"485\" class=\"alignnone  wp-image-8861\" \/><\/p>\n<li>Right click <strong>CS694<\/strong> from the Virtual Machines list, then click <strong>Start<\/strong>.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture2a.jpg\" alt=\"\" width=\"525\" height=\"281\" \/><\/p>\n<li>Once the VM starts, right click <strong>CS694<\/strong> again, then click <strong>Connect<\/strong>.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture2b.jpg\" alt=\"\" width=\"525\" height=\"220\" \/><\/p>\n<li>Log in to the user <strong>metstudent<\/strong> with the password <strong>CS694vlab<\/strong>.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture3-636x461-1.png\" alt=\"\" width=\"525\" height=\"381\" \/>\n<\/ol>\n<hr \/>\n<h4>Start the AVD from Container<\/h4>\n<ol>\n<li>Click on the Android Virtual Device icon in the left bar.<\/li>\n<p>   <img src=\"\/metit\/files\/2025\/01\/AVD_NewPicture4.png\" alt=\"\" width=\"258\" \/><\/p>\n<p>You will receive a notification when the container is ready.<br \/>\n   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture4b-636x178-1.jpg\" alt=\"\" width=\"636\" height=\"178\" \/><\/p>\n<li>When the container is active, it can be checked from a terminal with the <strong>docker ps<\/strong> command.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture5-636x251-1.png\" alt=\"\" width=\"636\" height=\"251\" \/><\/p>\n<p>The Android Virtual Device is also available to the <strong>abd<\/strong> command.<br \/>\n   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture6.png\" alt=\"\" width=\"433\" height=\"233\" \/><\/p>\n<p><strong style=\"color: red;\">NOTE:<\/strong> If the device appears as \u201coffline\u201d, wait <em>5 minutes<\/em> for it to startup and try again. Proceed when it is listed as a \u201cdevice\u201d.<br \/>\n   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture6c.jpg\" alt=\"\" width=\"594\" height=\"137\" class=\"alignnone size-full wp-image-8726\" \/><\/p>\n<li>Access the android virtual device&#8217;s GUI with the command <strong>scrcpy -s &lt;name of device&gt; &amp;<\/strong>.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture7-636x29-1.png\" alt=\"\" width=\"636\" height=\"29\" \/><\/p>\n<p>The window that appears is the interface to the active android device in the container.<br \/>\n   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture8b-636x532-1.png\" alt=\"\" width=\"636\" height=\"532\" \/><\/p>\n<\/ol>\n<hr \/>\n<h4>Ending your Session<\/h4>\n<ol>\n<li>Close the AVD GUI window, then stop the container with the <strong>docker stop avd-device<\/strong> command.<\/li>\n<p><\/p>\n<li>Stop the AVD container with the <strong>docker stop avd-device<\/strong> command, then power off the Ubuntu VM with the <strong>sudo poweroff<\/strong> command.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture8c.jpg\" alt=\"\" width=\"466\" height=\"69\" \/><\/p>\n<li>Log off from the CS694-VLAB using the icon on the desktop.<\/li>\n<p>   <img loading=\"lazy\" src=\"\/metit\/files\/2025\/01\/AVD_NewPicture9.png\" alt=\"\" width=\"177\" height=\"196\" \/>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>MET CS694 Virtual Lab Topics Access the CS694 VLab Open the AVD Virtual Device Open Oxygen Forensics Trouble-shooting Start the Nested VM In the CS694 VLab, open the Hyper-V Manager from the Desktop. In the &#8216;User Account Control&#8217; enter your BU password. Right click CS694 from the Virtual Machines list, then click Start. Once the [&hellip;]<\/p>\n","protected":false},"author":14346,"featured_media":0,"parent":3454,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"page-templates\/no-sidebars.php","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/pages\/8699"}],"collection":[{"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/users\/14346"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/comments?post=8699"}],"version-history":[{"count":20,"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/pages\/8699\/revisions"}],"predecessor-version":[{"id":9118,"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/pages\/8699\/revisions\/9118"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/pages\/3454"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/metit\/wp-json\/wp\/v2\/media?parent=8699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}