1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Thoughts around an Android Go VM for the Pyra?

Discussion in 'General Discussions' started by Grench, Dec 5, 2017.

  1. Grench

    Grench Forum Addict!

    Joined:
    Oct 3, 2008
    Messages:
    5,222
    ible, levi and Silent-Hunter like this.
  2. Swordfish II

    Swordfish II Very Active Member

    Joined:
    May 20, 2015
    Messages:
    588
    Hmm maybe an update to the Pandora android???
     
  3. ible

    ible Advanced Guard Tower

    Joined:
    Mar 24, 2014
    Messages:
    1,717
    Location:
    Thrice in CA, twice in ND, once in the NL
    wouldn't you need a compiled version of android Go for pyra's underlying architecture? i wonder how hard that is, even if you have the source codes...
     
  4. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,143
    Location:
    Somewhere off the coast of the EU
    It's the work of a spare afternoon at most to sync down the android source repo and set it building. I haven't checked yet to see if the source for android go is available, but I'd kind of assume it was.
     
  5. Grench

    Grench Forum Addict!

    Joined:
    Oct 3, 2008
    Messages:
    5,222
    Mmmm.... not exactly. If the objective is to run it as a VM environment, it would have to be compiled to reflect what the VM environment exposes to the OS. First we would need a VM environment.

    Alternatively...
    There are examples of Linux running in a chroot on Android.
    We would 'simply' need to go the other direction.

    Androiid in a KVM environment (X86):
    https://developer.android.com/studio/run/emulator-acceleration.html

    Guide to deploying Ubuntu and Android (Jellybean) KVM on ARM - even specific to the Cortex-A15:
    http://www.virtualopensystems.com/en/solutions/guides/kvm-on-arm-vexpress/
    http://www.virtualopensystems.com/en/virtualization/open-source/kvm-arm/

    So, with consideration for the lighter weight Android Go OS, what pieces are still missing?
     
    rygD likes this.
  6. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,356
    I still can't figure out why there's no Android environment for Linux. The whole point of Android was to abstract away all the hardware, it should be "easy".
    Now I haven't actually done any investigation so this is literally me blowing smoke out my ass, so don't take it too seriously. I'm certain there are very good reasons it isn't as easy as it would appear, I just don't know what those reasons might be.
     
    CommanderB, rygD and ible like this.
  7. Grench

    Grench Forum Addict!

    Joined:
    Oct 3, 2008
    Messages:
    5,222
    Top Google for, "Android environment for Linux," result is:
    https://anbox.io/

    #3 is
    http://aptgadget.com/best-android-emulators-linux/

    So - not exactly a new concept.
     
  8. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    8,143
    Location:
    Somewhere off the coast of the EU
    Stan's not talking about an android emulator. Now anbox looks like it might be more what he had in mind, but I couldn't read that much about it. As I understand it the principle problem with running android in a chroot for example, is that android generally runs on older kernels than most Linux users run.
     
  9. wismerhill

    wismerhill Still Fresh

    Joined:
    Jun 18, 2017
    Messages:
    2
    Location:
    Belgium
    Android also needs a patched Linux kernel, I don't think it can run on a vanilla kernel. And AFAIK (though I haven't looked at it recently) some of their patches are a no-go for the mainline kernel.
     
    levi likes this.

Share This Page

Loading...