6 ms·
but now can I run a virtual machine on an android device?
by m463 4y ago
but now can I run a virtual machine on an android device?
- ipaddr 4y agoYes.. legally
- judge2020 4y agoLegally you 'can', but does apple have to support it? do they have to expose those apis to the public? are they forced to implement them and spend the time to do validation testing for it?
- kevin_thibedeau 4y agoDoes Microsoft have to offer browser choice on its OS?
- judge2020 4y agoHypervisor support on Windows is extremely expensive for Microsoft to maintain. Would Microsoft have a judgement against them if they removed it from e.g. Windows 12? Before hyper-v there was Virtualbox, which is a "you can build it if you spend your time building it". I'm asking if the situation is that Apple must build their hyper-v equivalent, or if they just need to allow third parties to build and publish software-based emulation engines.
- m463 4y ago(thanks, I was trying to make the point that this was probably a fear apple had)
- kurthr 4y agoDepends on what you want to emulate (do you want access to phone capabilities), but this is the first link I found: https://www.youtube.com/watch?v=AuUnjO8eUEw https://www.youtube.com/watch?v=AuUnjO8eUEw
- Prickle 4y agoI assume you mean "Can I run a virtual machine of an android device?" The answer is yes. Since forever ago. You can find an official guide here: https://source.android.com/docs/setup/create/avd https://source.android.com/docs/setup/create/avd
- jeroenhd 4y agoCurrently, you're limited to QEMU with software emulation or a Linux proot/chroot. KVM support isn't in a stable version of Android yet but it's coming soon. With an unlocked bootloader and potentially a few kernel tweaks you probably could (as well as Windows and any other compatible OS). I don't think the experience will be very usable, though. iPhones contain dedicated hardware that Android devices don't have (and vice versa) and decent GPU acceleration may be a long time off with the standard driver quality Android vendors deliver.
- moremetadata 4y ago[dead]
- rezonant 4y agoCool that KVM seems to be in the cards in the future. I didn't get the impression that GP meant emulating iOS itself on Android though.
- rektide 4y agoYou can run Chrome, which has a virtual machine in it. Maybe not the same kind of virtual machine that you're talking about, but this is the kind of virtual machine that Apple has banned: any kind of code that isn't statically compiled, that isn't immediately readable. This is why Chrome (actual, not the thin cosmetic shell over Safari WebView available now) can't run on iOS: Chrome has to download & run JS code, and that's impossible because it doesn't know ahead of time what code to run. Apple has society in the pinchers. Conversely, I have no respect at all for the m-f a-h at Google who have, in MV3, pulled an Apple and banned anything but statically compiled code in WebExtensions. Google is doing the worst thing Apple did, but to the web. And I absolutely hate it. Hate it hate it hate it hate it. Abominable way to hurt the web. https://github.com/w3c/webextensions/issues/139 https://github.com/w3c/webextensions/issues/139
- TechBro8615 4y agoWhile not directly applicable to this case, it's worth noting that you cannot run Chrome on iOS, explicitly because it's a VM (in the sense that it executes user-defined code). That's why iOS Chrome uses WebKit, and not V8, as its rendering and JS engine.
- corndoge 4y agoThat is what the parent comment says
- stuckkeys 4y agoCan you tone it down a bit with the “has a virtual machine in it” part. The word you are looking for is “sandbox” virtualization.
- rektide 4y agoI'm not sure what logic or system you're applying, but it seems categorically wrong. Java is a VM. JS has a VM. .NET has a VM. These are all virtual machines. They're their own execution engines running compiled user code. I think your gatekeeping here is very technically incorrect. This isn't tone. This is what the industry actually has used for multiple decades now as terminology. Is the code being run natively compiled? No? Is it running in a machine which is virtual? It's a virtual machine. This has incredibly long precdence of terminology. It's been what Apple has gate-kept with for a long time now. I disagree with your tone policing, on a number of grounds.
- Maursault 4y agoWrong headed. Case was about Corellium's third party virtual iOS device used for security research, not a VM running on iOS. But I really really want my iPadOS MAME app back, and I would applaud some judgement that banned Apple's VM and emulator ban on iOS and similar.
- RajT88 4y agoDosBox and Bochs both run on Android. This case is not about running VM's on iOS, it is about running VM's which are running iOS.
- _ea1k 4y agoNestbox will even let you run virtualized Linux on a non-rooted Pixel 7 or 7 Pro.