From owner-freebsd-questions@freebsd.org Wed Aug 5 07:45:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E10D03AD2EF for ; Wed, 5 Aug 2020 07:45:11 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [IPv6:2a02:2770::216:3eff:fee1:cf9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BM3Yy4j4wz4TQY for ; Wed, 5 Aug 2020 07:45:10 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (localhost [IPv6:::1]) by yggdrasil.evilham.com (Postfix) with ESMTP id 4BM3Yn4mBCz1CWq for ; Wed, 5 Aug 2020 09:45:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=evilham.com; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=mail; bh=NfqZ/pZm1uc6lUhE9WvQdCjDvqw=; b=JQU473 unHqnjT/F6ZcE2vPx8KfFobhCSRNhg+4A5gTtHFr2j0ovqasoy+7o+zmFUEKcZ+h 2Iy8UdHRftu8nV4H+5LLkHpiVdFSIJ+ODP1n3MKGzF0zCC8YTqkb3pRiwpvDJLaE ZkduTGa/TIAYBoKqEcrebZRQHg/itTD5xdn2Q= Received: from yggdrasil.evilham.com (unknown [IPv6:2a0a:e5c1:121:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by yggdrasil.evilham.com (Postfix) with ESMTPSA id 4BM3Yn0zTbz1CWp for ; Wed, 5 Aug 2020 09:45:01 +0200 (CEST) From: Evilham To: freebsd-questions@freebsd.org Subject: Re: Complete idiots guide to virtualize Android with bhyve References: In-reply-to: Date: Wed, 05 Aug 2020 09:44:50 +0200 Message-ID: <2cc1b4bd-1575-4924-b19a-5562edb17d7a@yggdrasil.evilham.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 4BM3Yy4j4wz4TQY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (headers rsa verify failed) header.d=evilham.com header.s=mail header.b=JQU473 u; dmarc=pass (policy=none) header.from=evilham.com; spf=pass (mx1.freebsd.org: domain of contact@evilham.com designates 2a02:2770::216:3eff:fee1:cf9 as permitted sender) smtp.mailfrom=contact@evilham.com X-Spamd-Result: default: False [-3.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.913]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.980]; RCVD_COUNT_THREE(0.00)[3]; R_DKIM_REJECT(0.00)[evilham.com:s=mail]; DKIM_TRACE(0.00)[evilham.com:-]; DMARC_POLICY_ALLOW(0.00)[evilham.com,none]; NEURAL_HAM_SHORT(-0.37)[-0.368]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:196752, ipnet:2a02:2770::/32, country:NL] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 07:45:11 -0000 On dc., ag. 05 2020, Antonio Olivares wrote: > Dear kind FreeBSD users, > > I have seen some sites where it is mentioned that we can run > Android with > bhve on FreeBSD. > > https://m.youtube.com/watch?utm_source=discoverbsd&v=zq2rYQ84DiQ > > But I cannot follow which commands to use or where to get > Android sources. > > Is there a complete idiots guide somewhere so I can follow step > by step. I > have experience with virtualbox and VMware but on Linux. I > would like to With the Caveat that you should think about whether or not this is the approach you want to take, what you are asking is indeed doable and there are valid use-cases to running Android in a VM. I guess there is no complete step by step guide because there are many ways to do it and it depends a bit on your needs. The general guide would be something like: 1. Get an ISO from the Android-x86 project https://www.android-x86.org/releases (not aware of other installation methods atm) 2. Use that ISO to install the OS under bhyve (using the UEFI loader) 3. Profit It's a tad more complex than that because you'll have to make sure that networking is properly setup and that the screen is made available over VNC; that's where any general step-by-step bhyve guide will help. There are helpers like vm-bhyve, depending on how you approach things you can use either. See, e.g.: https://github.com/churchers/vm-bhyve/ and https://wiki.freebsd.org/bhyve/ which might bring you a tad further. Cheers, -- Evilham