Run an android Virtual Machine on an android phone


Question

I haven't been able to find an answer for this so I figured I would ask here.



Is there an app or method I can use to create and run an Android Virtual Machine on my Android Phone?



I have a personal phone I want to put my work email on; however, my work email requires Microsoft Intune which requires that I give permission for my company to clear my phone at any time without warning. The reason they do this is in case I have company secrets on my phone and I if I become a risk they want to wipe my phone. I wanted to work around this by putting an android virtual machine on my phone. This way the company can clear my phone if they please but they will just wipe my VM not me actual personal phone.



I saw an article that VMWare was doing something like this but I couldn't find any documentation on it.



Does anyone know of a way to put a Android VM on an Android phone?


Answer

This does not seem to possible, I have looked for it for years and found nothing. This is probably because these points:




  1. Android devices have a tiny amount of ram, which cannot be extended. With just 3 GB of RAM, you can forget to run pretty much any VM, as any normal OS needs at least 4 GB by now. A typical PC has 8 GB by now, or even 16. Virtualization is a field where extra ram is especially useful.

  2. Pretty all Android devices are based on the ARM CPU architecture. ARM CPUs are very energy efficient, but at the same time pretty weak and feeble compared to full Desktop Grade CPUs from AMD and Intel (which burn a lot more electricity). They don't perform as well doing multitasking, which makes sense: You don't use multitasking much on mobile devices.

  3. Virtual Machines are often not full emulation of another CPU, this means that you actually cannot run intel / AMD i386 code on an ARM CPU, so you would need a OS that is especially made for this, i.e. has been compiled for the ARM architecture, that cuts down the selection big time. Debian Linux prides itself on offering the distribution on many CPU architectures, but other manufacturers don't offer that. There is for example no standard full version of Windows 7 or 10 that supports ARM, and neither does Mac OS X.

  4. VMs are more of a professional area, while mobile devices are oriented towards non-professional consumers.

  5. Disk Storage is another problem: Most mobile devices have very little. A slim Linux can get by with just 4 GB, but a full fledge Linux needs around 10 GB, but a Windows needs around 20 GB just to get going. This is no issue on a laptop or desktop, where you will have 1 terabyte available (1000 GB), but an impossibility if you just have 32 GB.



All these things conspire together to make VMs on Android an impossibility


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes