This might be a weird one, but has anyone has come up with the notion of chrooting android x86 inside a pc linux distro. The reverse is quite common ( linux deploy, lil debi etc bundling a debian environment inside a linux device ). I was googling my day to something describing this as something common yet, nothing ( it can be done almost casually on android devices an likewise on major linux distros ).
Has it crossed anyone else's mind ? Whould anybody be interested in postinge something I might have missed or stopping me from trying ( providing sound reasons for not doing so or shouting "this is madness" for maximum drama effect ) .
Whould anyone find it interresting if..... should..... maybe.... provided that i succeeded I post the proccess ?
Hi, yes I thought about this too and spend way too much time looking for a solution like that Plase post if you find anything or even manage to do something on your own. This would totally rock, as I don't want to use any proprietary OS but would like to play some Android games on my computer.
I found a thread where someone managed to do this, but running on the Android kernel. It's still different from running GNU+Linux chrooted, because on the Android kernel runs GNU+Linux and then Android chrooted (kinda complicated ). I asked whether it's possible to have the GNU+Linux kernel running isntead of Android's, you can check it out here: http://forum.xda-developers.com/showthread.php?t=1780378
Also, maybe we can just copy from Chromium/ Chrome OS when they are done implementing support for natively running Android Apps on the OS (which they announcend on Google IO 2014). Hmm, probably not so great (fast) since it will run inside the browser...
A google search got me here. What you guys what to do is a lil different then what i want. I have a really neat device an ASUS TRIO an intel atom powered device.
It has android 4.3 and a windows 10 in the keyboard. The problem is the android 4.3 is so dang old. Id love if it had an update available but only the french tablet asus made that copied the trio tablet only (not dock) got an update to android 4.4. So it got me thinking could I run chrome os on this tablet and gain back more of the support ive lost since the android is so old. That led me to chroot and I know I can run debian but like I said Id love to run chrome os but no one is working on this or I cant find it. Suggestions?
I do not get why this should be a problem. You simply can not chroot into different architectiute (PC is x86 or x86_64). But you can use emulator to provide "bridge" between those architectures. Its called Qemu. You can use qemu binaries for chroot into another architecture. But I do not think that what you want, you area talking about gaming a android games on PC. Thats possible too but I think its not called chroot but its again emulator (not qemu but android emulator) for example AnBox.
Related
I have a Toshiba Satellite L505, running Windows 7 Home Premium (dual core 1st gen i3).
Recent events have made me need to run android-only programs on a semi-daily basis. Combined with the cool factor, I am seriously considering buying a Honeycomb tablet. However, money is limited and I can't really afford it, so I would most likely wind up with a rooted nook color, or just upgrading my phone (LG Vortex). Not terrible options, but my sister has suggested something that would work just as well, if not better, for free.
I know there's at least some version of android that is compatible with x86 processors, and i could get my laptop to dual-boot W7HP and Android, that would be wonderful. Obviously I would want 3.0 Honeycomb, but I would be willing to install 2.4, 2.3, or 2.2. if something newer is not available.
The problem is, I have scoured google and found nothing about this, at all. I have heard of people installing android on their laptops, and some netbooks/laptops are even sold dual-booting, so I know its possible. Now, how on earth would I go about installing android as a secondary OS on my computer? So far I have only been able to find instructions to create an Android Live CD/SD/flash drive, but i need something permanently on my computer, where i can actually save my work and apps to the hard drive. WiFi, keyboard, trackpad, and USB drivers are required, CD and SD would be greatly appreciated as well.
How would i accomplish this? Any and all help would be massively appreciated.
um, hello? anyone?
Yeah thats because only google has a bootable version of their os on a pc. They implement their virtual tool with sdk tool so thats how they want you do it its crazy..There is probably a way though you just have to modify the boot.ini file on your hard drive thus pointing it to the android os. First youll probably need a new hard drive if it can be done on a usb it can be done on a hard drive plain and simple. Dual booting is done through the bios. The bios is what loads the HD which loads the boot.ini file telling it what to boot. Not sure if that would work but its a start there might even be a windows app that will help you do this. Like I said if people are making bootable usb drives its the same process on a hard drive the bios is whats booting that usb so if you direct the bios to an extended hard drive thus booting the android os. Its the same process as it would be on a usb that would make it permanent and there is a program called EasyBCD which easily allows you to change the boot.ini which will basically allow you to have the selection of both operating systems on boot you can choose between the two once you get it working!
Actually it is so much easier. The Android x86 project uses grub. You can boot it and run from livecd, usb or install android to your home pc. I started doin this today to see what the performance benefits would be from a developer point of view.
Installation is pretty straight forward, with loads of tutorials on the website. Have a look at it here http://www.android-x86.org/
I have installed Prime OS classic 0.4.5 works fine on my L505-LS5014
This isn't a guide, more an informative post and discussion for Android application and platform developers, AND regular users. Maybe a guide in the future will be a goal of mine.
Some of you may or may not know what VMware is, what it is for, or never used it. Trying to keep the OP brief; VMware is a virtualization solution(s) for desktops and servers. In layman's terms it allows an operating system to be run inside another operating system, instead of setting your desktop to dual boot (have an option at startup to load either windows or Mac as example). There are many applications and benefits to this kind of solution that I won't get into in the OP.
Currently there are solutions available and being built, but are not yet completely optimized, but you can do it. For a developer this means you can be developing Android applications or platforms on whatever OS you want by virtualizing the OS and software currently supported. It also means that you can replace the Android virtual emulator with an Android OS inside VMware for application development, but also means you can load your Android platform into VMware for testing while you develop. Why would you want to do this? Well we all know how painful slow the emulator is, and it is just made worse if your hardware is slow. Because the emulator emulates software running on an arm processor inside an x86 environment things are slow, which means your development is slowed. Using VMware however you are using binary translation to "port" your platform to x86 processing. Currently this solution is not completely optimized, or "official" but it will be. That means less development time, more support, and a more convenient option!
The other edge of the sword is also a VMware virtual machine environment inside Android's Dalvik virtual machine. For users, and developers in certain scenarios this opens even more possibilities. Imagine having the ability to use your personal Android, and that pesky dumbed down corporate phone running together, the corporate advice running inside your personal device, or vice versa. Also, the ability to run any other OS in your device. Windows, Linux and UNIX distributions, solaris, Mac, whatever you wish. This opens lots more doors for Android devices.
Now not everything is complete, but it will be. It sounds like VMware will end up and be the de facto standard for virtualization for Android, as the solution is in the works for google to put VMware into the Android core, in the kernel. Now that would be sweet, because if you have used VMware you probably agree with me that it is THE virtualization solution in any application or solution you need it in.
Maybe this isn't as exciting to others as it is for me. What do you guys think? Let the topic begin!
The following links are meant more to cite my sources, but each one of them is a more detailed read into the topic, and well worth reading to inform yourself and see what is in the works:
http://i.downloadsquad.switched.com/2011/02/15/android-dalvik-vmware-virtualization/
http://gigaom.com/2011/09/27/vmware-mobilize-201/
http://www.android-x86.org/
Run ICS in x86!
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
DoctorComrade said:
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
Click to expand...
Click to collapse
I don't know if it applies to what your doing, but it is pretty cool to be able to use VMware on your mobile device. If you are managing virtual servers there is already an official solution from VMware you can download from the Android market. It is called VMware view, for Android. Pretty cool.
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Sad Panda said:
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Click to expand...
Click to collapse
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
EGOvoruhk said:
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
Click to expand...
Click to collapse
Well in terms of doing dual boot natively, I agree, probably never going to happen...ever. However if you run it in a virtual machine, just like Android runs in the Dalvik virtual machine, it can be done.
The bootloader and drivers are already built and would be taken care of by VMware. You make or hint at a valid point, there would never be enough desire for anyone to do it natively. It isn't impossible, but just would never see anyone take the time to do it
Ice Cream Sandwich x86 in VMware
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
Bingo! Awesome contribution! Yeah this is one of the two examples I speak of, Android running on an x86 CPU (instead of arm like our phones and tablets) running as virtualization of hardware. Great reply to back me up, and even a guide to boot, AND ics!! If you must play with ICS before it gets to evo 3D
Added the ICS in VMware to OP.
I have tried this a few way and in no way can i get it to work on VMWARE gets stuck on found androidx86
Sad Panda said:
Added the ICS in VMware to OP.
Click to expand...
Click to collapse
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
digitaljeff said:
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
Click to expand...
Click to collapse
No problemo
heres some links to the vmdk images to work in vmplayer, dont thank me, thank the guy who wrote the guide on converting vdi to vmdk
ICS vmdk
http://www.megaupload.com/?d=FZWH3G20
SD card vmdk
http://www.megaupload.com/?d=15TLJZ87
as many of you know, android and Linux kernels started re-merging at version 3.3. People said that a short way down the road, android apps would be able to run natively in linux. the kernel is now version 3.6 and I've heard nothing more about running android apps in linux. people on these and other forums put a lot of great work into getting linux running on android devices. now with windows 8 coming out, the market will be full of both ARM and x86 based touch devices of all sizes and shapes. I for one would love to be able to boot up ubuntu on one of these devices, and use either traditional linux apps or android touch apps as my mood and situation dictate. so- any new word on when we will be able to run android apps in linux?
we are exploring this possibility, and did some work, but nothing to release yet.
I assume you already know that for now, you can run Android as a virtual machine on Linux host.
cool to hear the work is progressing, good luck!
I heard about using a VM but was never able to find where to get it.
nothing substantial yet, we wanted to run android apps directly on desktops, Linux or Windows. Using a virtual machine is really an over kill.
You can download a prebuilt vm from ours:
http://www.vmlite.com/index.php?option=com_kunena&Itemid=158&func=view&catid=9&id=8838
it has been downloaded millions of times. You can search "Android vm" on google to find instructions.
interesed
I am also hoping to see a solution to this question also. I understand that Debian, fedora and Arch Linux all have different packaging systems i always thought is was a smiler difference with android with more Java worked into the core of things. So i would think that adding the proper Java support to any Linux distro to support the apk package it should work but i am not a programmer.
Hi everybody. I'd be very keen on an hypothetical Ubuntu for Android like ROM. I've searched it without success. Is there any project like this? If not, could you tell me which should be the way to go? I mean, I've played a bit with ROM development, but of course I don't have any idea of how to start a project like this.
I'd be very grateful if you could provide any information about it. How Canonical created Ubuntu for Android? How Motorola created Webtop? There are ways to install a Linux distro on a phone, but they are usually virtualized. Basically, what I'd like to have is an Android ROM that, when docked, started a GNU/Linux environment with all the power that a distro has. Package manager, desktop apps and so on. Something like Ubuntu Edge software or Microsoft Continuum, but with Android.
I know that I'm noob but I'd really appreciate you're orientations
It's possible to run (most of) a desktop Linux distro and Android concurrently under the same kernel. The main issue is how to unify the GUI - Android uses SurfaceFlinger and X11 needs its own drivers which are not available for most/all Android devices. You could play with the XSDL app.
Has anyone so far got any form of linux (vnc or framebuffer or any way it might work) on our tablet? A while ago i saw @Stevethegreat write about it in the androplus kernel thread and i'm wondering if anything came out of that. It would be really nice to get debian or ubuntu on here because my note 10.1 is getting quite slow for more demanding programs with its weedy 1.4 ghz exynos while the 810 would probably do amazingly well. By the way in case anyone was about to suggest it-- the linux deploy or complete linux installer apps don't seem to work on this tablet (stock rooted and androplus kernel), linux deploy fails at the beginning of the install and complete linux installer just plain force closes when trying to start the linux.... Any ideas?
What do you want to run on the tablet?
Graphic-wise I do not miss anything.
With a terminal emulator and busybox or adb-shell the commandline takes me far...
I could even cross compile some arm-binaries if I had the itch.
For my server needs I have a Raspberry Pi2 (seafile, carddav, caldav) for < 50 EUR with nice case and power supply. Eats < 10 EUR electricity/year.
DHGE said:
What do you want to run on the tablet?
Graphic-wise I do not miss anything.
With a terminal emulator and busybox or adb-shell the commandline takes me far...
I could even cross compile some arm-binaries if I had the itch.
For my server needs I have a Raspberry Pi2 (seafile, carddav, caldav) for < 50 EUR with nice case and power supply. Eats < 10 EUR electricity/year.
Click to expand...
Click to collapse
I mostly need propper linux to run exagear desktop which enables x86 programs to run on arm so that these tablets can be used as a intel laptop replacement . While it runs fine on my pi2 that is really a bit too weak even at 1 or 1.2 ghz and while it is faster on the old note i bet the 810 would make it approach the speeds of a entry level or mid range intel laptop and increase usability by alot. It also seems to me a bit weird how the apps i wrote about in the first post simply do not work on the z4tab even with selinux on premissive and such.
I don't own the tablet so I can't be 100% sure. However if you compile a kernel with Virtual Terminal support and follow the linux guide I wrote for Note 10.1 2014 tablet , I'm mostly positive that you'd get a rather responsive linux implementation. You have to forget hardware acceleration though (as it is dependant to the particular architecture of each and every device), unless you found a way to implement it...
Stevethegreat said:
I don't own the tablet so I can't be 100% sure. However if you compile a kernel with Virtual Terminal support and follow the linux guide I wrote for Note 10.1 2014 tablet , I'm mostly positive that you'd get a rather responsive linux implementation. You have to forget hardware acceleration though (as it is dependant to the particular architecture of each and every device), unless you found a way to implement it...
Click to expand...
Click to collapse
This guide? http://forum.xda-developers.com/gal...-to-install-gnu-linux-samsung-galaxy-t3239809
I will try it but first i need to figure out why the linuxdeploy itself wont work... But thank you anyway, no hardware acceleration is more than good enough for my needs
ml11ML said:
This guide? http://forum.xda-developers.com/gal...-to-install-gnu-linux-samsung-galaxy-t3239809
I will try it but first i need to figure out why the linuxdeploy itself wont work... But thank you anyway, no hardware acceleration is more than good enough for my needs
Click to expand...
Click to collapse
Yeah, but you have to edit some of the files there. For example the kernel used there is obviously for Note tablet, *don't attempt to flash it to Xperia tablet* it will brick it. Also you'd have to edit the xorg.conf fille that you have to copy to the first step (follow the explanation part).
If you do the above two probably both the quick guide and the full guide would work. If not it would mean that I'd have to update my LinuxCanvas app, in which case someone should donate to me an Xperia tablet Z4
Stevethegreat said:
Yeah, but you have to edit some of the files there. For example the kernel used there is obviously for Note tablet, *don't attempt to flash it to Xperia tablet* it will brick it. Also you'd have to edit the xorg.conf fille that you have to copy to the first step (follow the explanation part).
If you do the above two probably both the quick guide and the full guide would work. If not it would mean that I'd have to update my LinuxCanvas app, in which case someone should donate to me an Xperia tablet Z4
Click to expand...
Click to collapse
One would have to be pretty mad to go trying to install Linux on a tablet and then flash a kernel from a samsung to a sony xD But yeah... i will try it IF this Linux Deploy will get about maybe working for a change...
ml11ML said:
One would have to be pretty mad to go trying to install Linux on a tablet and then flash a kernel from a samsung to a sony xD But yeah... i will try it IF this Linux Deploy will get about maybe working for a change...
Click to expand...
Click to collapse
Yeah I know, I just want to be clear so that nobody (of those reading here) would attmpt that and suddenly think that I was the one that bricked his device. I can do without such charges
As for linuxdeploy, I use version 1.5.3 in my guide as it is the one with less issues. I gave a link there to the apk. Try it and see how it goes.
ml11ML said:
Has anyone so far got any form of linux (vnc or framebuffer or any way it might work) on our tablet?
Click to expand...
Click to collapse
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
On my raspi2 I use armhf
@vartha
Interesting how far you've come.
On my Raspberry I have no problems (even used LibreOffice on LXDE) with armhf.
armhf (32 bit) gives no problems in package selections so far and should work on the Tablet Z4.
Some background:
https://www.debian.org/releases/stable/armhf/index.html.de
https://wiki.debian.org/Arm64Port
Problems with the tablet could setting up drivers for the qualcomm hardware in your version of Linux.
At least SONY provide the sources for the kernel and heading over to qualcomm there is tons of documentation. Here you look at specific (OEM-) boards. Our tablet is not that exotic.
I doubt you could run a huge operating system of INTEL-architecture due to memory constraints. Windows NT4 or XP might be possible in 3Gbytes host memory.
vartha said:
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
Click to expand...
Click to collapse
I am now installing the v20 androplus and rooting.. will try again when this is done
vartha said:
Linux deploy 1.5.6, current from play store, works well for me on a rooted SGP771, of course with an Andro+ kernel. Using armhf gave the least problems to get a Ubuntu or Debian installed with graphics via a local or remote VNC viewer.
Since the Z4T is 64 bits, I however aimed to install an arm64 architecture. Here, the success rate is lower, which is mostly due to packages that cannot be installed and a bug in tightvncserver with arm64 and higher color depth'.
I however finally succeeded with arm64 too, by using Ubuntu wily, LXDE and an x11rdp installed via ssh instead of tightvncserver. Now I'm trying a framebuffer display for speed, power consumption and a higher DPI, but yet without success. Changing DPI for VNC is simple, as Linux Deploy has a setting for it, but using RDP this seems to be tricky.
Did you say which error you get with Linux Deploy? I found it useful to turn on debug and trace output in the settings. The very first issue I had with Linux Deploy, first on the SGP621, later again on the SGP771, was that I tried to use the file method on the external SD card without the necessary permissions. On the Z4T I now use the internal storage instead, it's much faster too.
Unfortunately I'm not a Linux or Android guy, so I need to google solutions for each and every problem I encounter and I don't even think of trying to resolve package installation problems.
My objective is mostly to see how far I can get using Linux on such a lightweight device as the Z4T.
I already had the Eclipse IDE with JDT and CDT running fast enough for productive work. GHC (Haskell) runs too, but not GHCI. Using Linux with a touchscreen only and at such a high DPI is still disappointing. To my surprise, mc works rather well with a tochscreen in a fullscreen terminal via ssh. My holy grail shall however be to see Windows 8.1 running in qemu. I wonder how that will perform. Not so well I suppose. Maybe a combination of Wine and qemu would work ok, where qemu only executes the x86 application code and leaves the OS code behind the Windows APIs up to be executed natively by Wine...
Click to expand...
Click to collapse
Well now on marshmallow it works!