[Q] Run a ARM virtual machine on Android. - General Questions and Answers

Hello!
I would like to run Raspbian on my phone, I have a Moto X 2014, so I think hardware will not be a problem... The problem is, how to create a VM for running ARM on Android? I've already emulated a Windows XP on this using Limbo PC emulator, but XP runs on x86... I see a lot of x86 emulators for Android, but no one ARM" emulator" ironically... :v
Anyone knows a ARM "emulator" for Android or, how to run Raspbian on It?
Thanks!

No one?

Found it? Or not yet .. (

StepVolt said:
Found it? Or not yet .. (
Click to expand...
Click to collapse
IMO to make VMs on Android is an impossibility and this due to several technical restrictions.

Related

VirtualBox Android Emulator with Marketplace

Does anyone know of any VirtualBox Android Emulator that has Marketplace?
Thanks!
Oh, I forgot to add "that's free" and not the $50 that some cheeky bastards are trying to charge for a thing called AndroidVM!
iridium21 said:
Does anyone know of any VirtualBox Android Emulator that has Marketplace?
Thanks!
Oh, I forgot to add "that's free" and not the $50 that some cheeky bastards are trying to charge for a thing called AndroidVM!
Click to expand...
Click to collapse
Android doesn't just load up and run on a PC. It's a source code project that a real developer has to spend time porting from platform to platform, unless you want to run it from a runtime built from the SDK. To do that requires an underlying OS, like Windows, Linux a MAC - something capable of running the SDK.
Since, VMware is emulating a PC, then in order to run as a real virtual machine, android needs to be pretty much ported to a PC. Since Android is built on a Linux kernel, it's not impossible, but geese - why? That said, it's bound to show up on an Intel compatible tablet at some point, if it hasn't already.
attn1 said:
Android doesn't just load up and run on a PC. It's a source code project that a real developer has to spend time porting from platform to platform, unless you want to run it from a runtime built from the SDK. To do that requires an underlying OS, like Windows, Linux a MAC - something capable of running the SDK.
Since, VMware is emulating a PC, then in order to run as a real virtual machine, android needs to be pretty much ported to a PC. Since Android is built on a Linux kernel, it's not impossible, but geese - why? That said, it's bound to show up on an Intel compatible tablet at some point, if it hasn't already.
Click to expand...
Click to collapse
I'm already running Android under Virtualbox - I just wondered if there's a version for VB that has Marketplace.
attn1 said:
Android doesn't just load up and run on a PC. It's a source code project that a real developer has to spend time porting from platform to platform, unless you want to run it from a runtime built from the SDK. To do that requires an underlying OS, like Windows, Linux a MAC - something capable of running the SDK.
Since, VMware is emulating a PC, then in order to run as a real virtual machine, android needs to be pretty much ported to a PC. Since Android is built on a Linux kernel, it's not impossible, but geese - why? That said, it's bound to show up on an Intel compatible tablet at some point, if it hasn't already.
Click to expand...
Click to collapse
Wow. So much complete and utter wrong in one post... I've been running Android under a virtual machine for quite a while...
There is an x86 version of Android available at androidx86.org
It will definitely run under Virtual Box or any other virtualization software package. It's Android 1.6 by the way, and you will have to perform some geek-like activities to simulate an SD-card to install appz.
Big question is whether an ARM-device version of Android would work in a normal VM emulator (not talking about Bochs and stuff).
FloatingFatMan said:
Wow. So much complete and utter wrong in one post... I've been running Android under a virtual machine for quite a while...
Click to expand...
Click to collapse
Well, since I hadn't heard of a port to x86, I was certainly wrong about that, which makes the rest of the post moot, but not wrong. In any event, I stand corrected.
sorry to add a flame of any kind but this
"Since, VMware is emulating a PC, then in order to run as a real virtual machine, android needs to be pretty much ported to a PC. Since Android is built on a Linux kernel, it's not impossible, but geese - why? That said, it's bound to show up on an Intel compatible tablet at some point, if it hasn't already."
is totally wrong.
Virtual machines virtualise the hardware of your machine (bad explanation I KNOW). if you have a PowerPC you can only emulate PowerPC (Mac for those that dont know) and intel/amd chips are things like x86 then theres smaller devices like ARM. my point is that if you have a Intel/amd box you can only emulate x86 O/S. however if you have a netbook with a version of linux or windows built on arm arch then u could prob get away with the original android if you are running normal x86 then u require android that has been built from source on x86.
this made me laugh
"Since Android is built on a Linux kernel, it's not impossible"
all i can say is what??
anyway back to the point... to run android on a x86 box u need x86 android
The problem with getting the Market to work is simply that the GApps are currently only available in a compiled for ARM version. period. that's the answer you wanted to hear i guess.
@others: stop OTing please...
hvc123 said:
sorry to add a flame of any kind but this
"Since, VMware is emulating a PC, then in order to run as a real virtual machine, android needs to be pretty much ported to a PC. Since Android is built on a Linux kernel, it's not impossible, but geese - why? That said, it's bound to show up on an Intel compatible tablet at some point, if it hasn't already."
is totally wrong.
Virtual machines virtualise the hardware of your machine (bad explanation I KNOW). if you have a PowerPC you can only emulate PowerPC (Mac for those that dont know) and intel/amd chips are things like x86 then theres smaller devices like ARM. my point is that if you have a Intel/amd box you can only emulate x86 O/S. however if you have a netbook with a version of linux or windows built on arm arch then u could prob get away with the original android if you are running normal x86 then u require android that has been built from source on x86.
this made me laugh
"Since Android is built on a Linux kernel, it's not impossible"
all i can say is what??
anyway back to the point... to run android on a x86 box u need x86 android
Click to expand...
Click to collapse
VMware and Virtualbox emulate PC hardware. Since Android runs on a Linux kernel, and Linux was originally developed for an x86 PC, it follows that a port of Android could be done for a PC. Since this was not a generic discussion about virtual machines but a specific discussion about PC emulation, I don't see where the argument is.
PC = x86 and it's successors. You said I was totally wrong and then pretty much made my case. The only point I missed is that the work had already been done. To run Android in a x86 (PC) VM, you'll need an X86 (PC) compatible version of Android - right - what I said.
Right... Ok, now does anyone know the answer to the original question?
the_fish said:
The problem with getting the Market to work is simply that the GApps are currently only available in a compiled for ARM version. period. that's the answer you wanted to hear i guess.
@others: stop OTing please...
Click to expand...
Click to collapse
OP should read your thread.
arctu said:
OP should read your thread.
Click to expand...
Click to collapse
I have
Supposedly, these guys have Android with Marketplace for VirtualBox:
http://www.androidvm.com/home
So it must be able to be done - the only problem is that it's $49.95!
deleted
zgornz said:
They state they are running Ubuntu in a VM, then installed the Android emulator in Ubuntu, then the android emulator is setup to have the Marketplace. The android emulator is doing the ARM emulation.
I think using qemu User Mode emulation it might be possible to actually launch the Marketplace and apps via android-x86 without using a phone emulator. Not sure it would be that valuable, but it would allow lots more apps on a netbook running Android.
Click to expand...
Click to collapse
I imagine it would be a mess to get a touch screen working in android running on an emulator.
I read reviews on androidx86 booted (not emulated) on a few netbooks that ran great and very responsive..I also read one on a touch screen comp that worked fine..they claim all apps work-minus gapps obviously.
I plan on trying this on my Toshiba nb205 netbook today and can post a review if anyone is interested..
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
A review would sure be appreciated. More knowledge is always better.
Just a quick follow up, I tried out the Androidx86 on my netbook this weekend, both booted off the usb and installed on the hd..it runs..nothing spectacular and slightly dissappointing. You still only have a 4x4 screen and the Marketplace is entirely different, very small selection of "blah" apps..none of my favorite android apps anyways-facebook,twitter,gmail..not really any widgets either. Lastly, you need to use an external mouse..the touchpad just moves the background but gives you no pointer (could be a hardware compatability issue tho)..
On the positive side, the internet was very fast and resume time was almost instantanious..not really any major bugs, just nothing too special..
This method works with 1.6 as originally described here:
link-> forum.xda-developers.com/showthread.php?t=529170
I got it to run with the signed-dream_devphone_userdebug-img-14721.zip image from HTC for the developer phone.
link-> developer.htc.com/adp.html
I replaced the android-sdk-windows\add-ons\google_apis-4_r02\images\system.img with the one from the signed-dream_devphone_userdebug-img-14721.zip
(you should backup the original system.ini)
I then used the Android SDK GUI interface to create a Google API Level 4 machine.
I did not need to install the marketenabler.apk, as described in the original thread.
It boots up like a new Dev Phone, it behaves like there is a valid SIM and working data connection.
CTRL-F11 rotates the screen (slide out keyboard).
I have only installed a few free apps (K9 mail) but they seem to work fine.
I can't post links so copy, and paste them.
It would be trivial to create an Ubuntu virtual machine and then install the Android SDK inside of it and modify the system.img. Installing the SDK on your own machine probably takes less space and resources then running it inside another VM.
attn1 said:
Well, since I hadn't heard of a port to x86, I was certainly wrong about that, which makes the rest of the post moot, but not wrong. In any event, I stand corrected.
Click to expand...
Click to collapse
Updated, not corrected.
Yes, you were absolutely correct except for being out of date, because that process you described has already taken place as others have now pointed out.
To the person who said he was wrong, actually, no.
Android as it stands on the phone, is an ARM system compiled in ARM machine code. Android apps are hardware/platform agnostic but the operating system is not, it does have to be ported and recompiled for any different hardware system. That being said, it seems that most of that work is finished, ala androidx86.org
Cheers,
Rob
x86 Android Market
I have been reading a bit. It seems that it is possible to have Gapps installed for x86.
Froyo, people have been using Cyanogen 6 Gapps for Tegra.
Android x86 launched their Gingerbread version not long ago. It would not surprise me if Cyanogen 7 Gapps worked with it. Different devices used different versions and now there is just one version for all. It should be possible to run VM from the desktop.
NDK dependent Apps: in theory, it may be possible taking the apk using android apk tool, x86 NDK from the x86 build and rebuild it for x86 code.
I will be playing with an old EEE900 and see how this goes sooon.

Windows Emulator for Android

Hello,
can i simulate Windows with an Emulator on an Android tab ( eg. the Samsung Galaxy tab ) ?
Thanks
Matthias
STF-DIR said:
Hello,
can i simulate Windows with an Emulator on an Android tab ( eg. the Samsung Galaxy tab ) ?
Thanks
Matthias
Click to expand...
Click to collapse
Has no one an idea ?
Matthias
I think you can, google it to find right app.
Hello,
i have tried google to find a app for that, but wth no result.
Kan you tell me a name of an app for emulating windows on an android tablet?
Thanks
Matthias
windows emulator are on android market..
hmm interesting im gonna have to look into this
kuceens007 said:
windows emulator are on android market..
Click to expand...
Click to collapse
In fact I saw this emulator in market and try to find an answer here.
Just wonder whether it allows me to install a program which runs on my old windows 95 or 98...
In other words, can I install .exe software on it?
Thanks!
Some?
I have seen some do it but not well.
I think you can start Ubuntu and Windows 95 or 98 google it I've seen some Nexuses One running Ubuntu, Debian etc.
Its easier to run ubuntu than windows
Sent from my Desire HD using XDA Premium App
kuceens007 said:
Its easier to run ubuntu than windows
Click to expand...
Click to collapse
Ya it is much easier to run ubuntu or debian do to the fact that android is already a linux distribution, and ubuntu and debian both support arm processors standard which is what android phones use. Also in order to emulate windows you would have to emulate the intel cpu and that would make things unbairably slow, to the point of being almost unfunctionable.
Hope that helps
CAPN MORGAN said:
Ya it is much easier to run ubuntu or debian do to the fact that android is already a linux distribution, and ubuntu and debian both support arm processors standard which is what android phones use. Also in order to emulate windows you would have to emulate the intel cpu and that would make things unbairably slow, to the point of being almost unfunctionable.
Hope that helps
Click to expand...
Click to collapse
I allready tried win emu on dhd,it was fast but not good looking as ubuntu.i will try ubuntu because i have usb host for dhd
Sent from my Desire HD using XDA Premium App
Hi, been looking for emulators to isntall som legacy games ( civ 2 etc) any suggestions?
Anyone got suggestions? been looking for ages but nothing yet. Haven't been able to find something userfriendly.
I'm new to androids but I think you could always try to install Ubuntu then Wine to run some windows app's.. but you'd need pretty powerfull machine and quite luck to achieve that.
nekyo said:
I'm new to androids but I think you could always try to install Ubuntu then Wine to run some windows app's.. but you'd need pretty powerfull machine and quite luck to achieve that.
Click to expand...
Click to collapse
Wine is not an emulator, it only translates some platform-dependent things so windows app can run on Linux. As a result wine can only run on x86 architecture. To run windows on ARM android there are many x86 emulator available but of course the performance is not very satisfying. Windows 98 or below can run although with a bit slow. windows XP and later is much heavier so you can't run it in an emulator with acceptable speed
Linux have distros for ARM so it's much easier to install
with devices like s4 and xz is it still too hard to run win 7 in an emulator? win 8 has arm support
STF-DIR said:
Hello,
can i simulate Windows with an Emulator on an Android tab ( eg. the Samsung Galaxy tab ) ?
Thanks
Matthias
Click to expand...
Click to collapse
Windows Emulator

Wine in Ubuntu on TF

Hi,
i have just to run Ubuntu in my TF, it works great for me and now i want to install WineHQ. I think that wine isnt compabitile with ARM devices but somewhere i read,that from version 1.4 its have to be. But if i tried to install it in Ubuntu its says me,that the program isnt compabitile with my device. Have anyone of you run the Wine?Or do you know,where i can find the Arm version?
Thanks
http://www.winehq.org/announce/1.4
Not sure yet, but if someone else tries and gets successful, report back! I am very interested in this.
i don't see how it'll be compatible with arm... what wine basically does is it redirects requests for libraries that are in windows to those that are available in linux.
and then theres this: WINE=Wine Is Not an Emulator.
Quote from http://wiki.winehq.org/ARM:
"Windows apps are mostly compiled for x86 and they won't run on ARM with bare Wine, so this is not our motivation. The original Motivation was to be able to run winelib-apps on ARM, that even was before it got public that win8 will run on ARM devices."
Exactly - without emulating an x86 processor, you can't run an x86 app. That means no steam, not even notepad. No windows apps.
Strange that this thread has stopped as there is a thread in the gt540 forum linking to a thread where someone got it running through a memory card ubuntu install.
Although I think things like dual booting ubuntu and android and running things like wine will become truly interesting and less hacked once armv8 chips hit the market
FOUND IT!!!!
http://forum.xda-developers.com/showthread.php?p=17469201
Sent from my Transformer TF101 using XDA Premium HD app

Is there a X86 emulator for android better than Bochs?

Hey, guys! I want to emulate Mac OS X 10.9 in my Moto X... Just a few questions:
1-I read that emulators are not virtual machines.. what's the difference between them?
2-There's an emulator/virtual machine for android that runs better and faster than Bochs?
3-There's an way to acess the internet and listen audio in the emulator?
Thank You and sorry about the english because i'm brazilian...
pedrocarboni said:
Hey, guys! I want to emulate Mac OS X 10.9 in my Moto X... Just a few questions:
1-I read that emulators are not virtual machines.. what's the difference between them?
Click to expand...
Click to collapse
You are correct in that they are different, but are very closely related. Emulators are programs that allow you to run programs from one CPU instruction set on another. For example, Intel and AMD CPU's run the x86 instruction set, while most phones and tablets use the ARM instruction set. An emulator will let you run x86 code on an ARM system, or the other way around. Unfortunately, other hardware has to have special support (video card, sound card, networking). It can also run x86 code on an x86 system. This is useful to run two operating systems on one computer at a type (such as Windows and Linux, MacOS and Windows, etc.).
A Virtual Machine is probably best explained by using the Java language as an example. When you write a Java program and compile it, it turns the readable code into something called "bytecode". Its similar to x86 and ARM in the sense that it breaks down instructions into the simplest possible form, however, its for a computer that doesn't exist, a "virtual" computer. The system is designed so a program called a "Virtual Machine" can easily run the instructions on any computer, no matter if its running on an x86 computer, or ARM computer, or is running Windows, Linux, MacOS, or Android.
2-There's an emulator/virtual machine for android that runs better and faster than Bochs?
Click to expand...
Click to collapse
Unfortunately I don't know. However, I think that most Android devices would have difficulty emulating MacOS since they have very limited CPU and RAM resources.
3-There's an way to acess the internet and listen audio in the emulator?
Click to expand...
Click to collapse
This depends on the emulator, but most definitely. For example, the Virtualbox x86 emulator provides devices to the emulated system to do just this.
Thank You and sorry about the english because i'm brazilian...
Click to expand...
Click to collapse
Your English is quite good. No need to apologize for it . I hope I was of some help.
nhakobian said:
You are correct in that they are different, but are very closely related. Emulators are programs that allow you to run programs from one CPU instruction set on another. For example, Intel and AMD CPU's run the x86 instruction set, while most phones and tablets use the ARM instruction set. An emulator will let you run x86 code on an ARM system, or the other way around. Unfortunately, other hardware has to have special support (video card, sound card, networking). It can also run x86 code on an x86 system. This is useful to run two operating systems on one computer at a type (such as Windows and Linux, MacOS and Windows, etc.).
A Virtual Machine is probably best explained by using the Java language as an example. When you write a Java program and compile it, it turns the readable code into something called "bytecode". Its similar to x86 and ARM in the sense that it breaks down instructions into the simplest possible form, however, its for a computer that doesn't exist, a "virtual" computer. The system is designed so a program called a "Virtual Machine" can easily run the instructions on any computer, no matter if its running on an x86 computer, or ARM computer, or is running Windows, Linux, MacOS, or Android.
Unfortunately I don't know. However, I think that most Android devices would have difficulty emulating MacOS since they have very limited CPU and RAM resources.
This depends on the emulator, but most definitely. For example, the Virtualbox x86 emulator provides devices to the emulated system to do just this.
Your English is quite good. No need to apologize for it . I hope I was of some help.
Click to expand...
Click to collapse
Hey guy! Thank you so much for the help! I thought it was the same thing...
Anyway, I already saw Bochs emulating Windows 7 without lag on the Samsung Galaxy S5..
Thank you!
hmmm....try limbo...

WinCE ARM apps and Surface RT (jailbroken)

I have an app (ECUTalk) that can run on both Windows x86 and ARM (WinCE). I would think that this would be easy to port over to the Windows RT device. Anyone think this would be possible?
Globalrebel said:
I have an app (ECUTalk) that can run on both Windows x86 and ARM (WinCE). I would think that this would be easy to port over to the Windows RT device. Anyone think this would be possible?
Click to expand...
Click to collapse
Title is misleading.
There is a thread for port request.
It uses .net 1.x which is not exist on Windows RT, thus it can not run as-is (assuming it's a pure .net program).
No source code, no port.
WinCE and Windows are two totally different beasts. You won't ever be able to just run a WinCE app on Windows. It'll require a fair deal of reworking.
It might be possible to run ARM WinCE apps if someone ports the Shared Source Device Emulator 1.0 Microsoft has made. Though, I doubt it would be easy as that thing probably makes heavy use of x86 ASM.
You could likely use QEMU to run an x86 build of WinCE in emulation.
Another possible option would be to use the MESS emulator package. There is at least one driver that can boot Windows CE on an emulated ARM board.

Categories

Resources