[App] virtual machines on android - OnePlus 8 / 8 Pro & 8T Cross Device Themes, Apps &

hello i want to share this project for the people who are interested in virtualisation in android
the project is Limbox86:https://f-droid.org/en/packages/com.limbo.emu.main/
its really interesting also here documentation
Virtual Machinery
Virtual Machinery - Limbo Emulator
virtualmachinery.weebly.com
and
Operating Systems
This section serves as a place to learn how to install and tweak some of the operating systems that Limbo supports in order to make them more mobile friendly. The list below also includes some OSes...
virtualmachinery.weebly.com
also here an interesting site for archive os
- ArchiveOS
New additions: CutefishOS An elegant, beautiful and easy-to-use Linux desktop operating system. It runs Cutefish Desktop based on Ubuntu and... May 29, 2023 ConstellationOS A super-light, SpiderOS based OS designed for speed on modern hardware. Easily and quickly build OpenWrt... May 26...
archiveos.org
i managed to run some distros in the past in my op8 here some examples

Related

*** OFFICIAL Ubuntu Touch FAQ ***

Once a week we'll be updating this thread with the latest FAQs.
Ubuntu Touch has seen lots of interest in the few weeks since the developer preview was announced, and many new folks are already contributing on a regular basis. As the project is quite new and moving at a quick pace, there surely are a lot of questions. The Touch team will take their time to answer whichever questions you might have, so let's hear them!
Submit Your Question!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Submit more questions here: https://docs.google.com/forms/d/1B2GzH5Zh8EVEXboe_5E2HuJgSmDpBqPXH59LM50376c/viewform
---------------------------------------------------------------------------------------
The following Ubuntu Touch managers, engineers and contributors have helped answering these questions.
- pat: Pat McGowan
- dholbach: Daniel Holbach
- sergiusens: Sergio Schvezov
- mhall119: Michael Hall
- lool: Loïc Minier
- rsalveti: Ricardo Salveti
- mzanetti: Michael Zanetti
- dpm: David Planella
- john.pugh: John Pugh
- tespy: Tony Espy
There are more answers to come.
--------------------------------------------------------------------------------------
Is there any plan to make a final version of ubuntu touch for nexus series?
The 13.10 release will be the first official release for the four targeted Nexus devices. (pat)
Are there plan to merge works from Meego/Harmattan community? since both are deb based?
Any works from Meego or Mer that can be leveraged would be welcome, we constantly look for existing solutions.For example the File Manager app is using a QML plugin from Mer/Nemo, which is descended from Meego. (pat)
When will a 1-click install be available?
Early versions of this will be available in the 13.10 timeframe in the SDK, but will not initially include full support in the software center. (pat)
When will this be a wide release for more than nexus phones?
The release will be tested on the 4 nexus devices. Other devices require community devs to support them. (pat)
(edited) There were many many questions of the form “Will <my device> be supported too?”
You can see a list of devices where ports are in the works at https://wiki.ubuntu.com/Touch/Devices - click on any of the links to find out more about the state of the images in question.
If you should want to get involved in porting, this guide (https://wiki.ubuntu.com/Touch/Porting) might be of interest. (dholbach)
(edited) Many asked if running Android apps on Ubuntu Touch will be supported too.
We are currently evaluating the effort and approaches to enable Android developers to move their apps to Ubuntu easily. The goal would not be to run Android apps unchanged, but to allow developers to adapt them for the Ubuntu Touch User Experience and to minimize the overall porting effort. (pat)
How it will be possible to access mobile devices features like gps, sensors, camera in user apps? Any API for eg. QML or native code?
This is already available from the Qt level and work is underway to expose through QML. (pat)
Will the final product allow me to us "sudo" and "apt-get" just like a desktop computer?
It would in developer mode, at least for images installed out of the final public builds. (sergiusens)
Hi guys! I think you people are doing a great job and many thanks for that! However, I do have one question that I hope you could answer. Is there going to be an app store for Ubuntu Touch where apps can be downloaded or purchased?
Yes. There are several teams working on it and a first iteration will be available in October. (dholbach)
With the glut in games coming to Ubuntu via HIB and Steam portals, is there any ways or plans to support the recompiling of games to Arm so that one could run a game on their computer, pick it up on their tablet, and finish on the phone?
It would be up to the game developer to make this possible, however Ubuntu provides them a single ARM target that support multiple devices, supports OpenGL, and provides a cloud syncing service (U1/U1DB) that would make this all possible. (mhall119)
Does Ubuntu Touch use BlueZ or Bluedroid as the bluetooth stack If it uses Bluedroid, does it support BlueZ?
Bluez. (lool)
1. Will ubuntu touch support existing android applications?
2. Will it be possible for every device to run ubuntu touch like the desktop os supporting most configurations?
3. Will my device supported for future versions of the OS or a device per OS policy?
1- Ubuntu Touch is a very different product than Android, there are common things in the plumbing but that is about it.
2- The desktop world and the device world are very different, so in practice no.
3- For minor updates I would say yes, for major updates it would probably work like in the industry (I'm not a subject matter expert to answer this one). That said, the community can take core of making sure it is. (sergiusens)
What kind of app support will you likely have on the platform upon launch? Obviously you don't want to have a paltry amount like Windows Phone, but have you been able to persuade many developers into making apps for Ubuntu Touch as well as iOS, Android, Blackberry OS, and Windows Phone?
Our app developer outreach has gathered a lot of interested from open source developers, who are happy to start writing apps for our SDK before it's even reached a beta release. We have seen a large number of these apps being written for a wide variety of uses, and they have been helping us shape the SDK itself in return. Once the SDK reaches a stable release, we are confident it will provide an attractive platform for commercial and indie developers, and we expect to see a large number of existing apps ported. (mhall119)
I would like to know if the applications would be different from android ones. I mean we will need that popular developers to make their apps to ubuntu system?
Please see http://developer.ubuntu.com for the latest SDK and information. (pat)
if I have quick bug reports and suggestions and radical ideas, where would I send them or who would I talk to? With me being not a developer.
- Irc channel :#ubuntu-touch on freenode.
- The [email protected] mailing list, and
- submit bugs on launchpad at https://launchpad.net/ubuntu-touch-preview
1. Can the Existing native linux apps run on Ubuntu touch when compiled for use on Ubuntu Touch devices?
2. Can existing android apps be installed/used over Ubuntu Touch?
Existing native apps using a supported toolkit (Qt for now) will run, but unless they are designed to work well in a touch interface they may not be very useful on devices. Part of the Ubuntu SDK's focus is on making apps that can transition between desktop and touch interfaces in a way that makes them useable in both. (mhall119)
Why aren't their tabs in the browser?
i definetly rely on tabs.
Tabbed browsing support will be added in June. (pat)
Once Ubuntu Touch does roll out, will it coincide with the regular Ubuntu release cycle? For example, Ubuntu 13.10 will not only release for desktops, but will coincide in releasing for mobiles and tablets as well.
Thats correct, 13.10 will include the first release of Ubuntu Touch for phones and tablets, specifically working on the 4 reference nexus designs.
When will be ready so I could flash it on my Nexus 4?
https://wiki.ubuntu.com/Touch/ReleaseNotes should give you a good idea of where things with the preview stand right now. Check out https://bugs.launchpad.net/touch-preview-images/+bugs for even more detail.
Will Ubuntu desktop and Ubuntu Touch merge as one in the upcoming 13.10 release?
This is the goal for 14.04, there should be a preview available of Ubuntu Touch on desktops in 13.10. (mhall119)
By far the thing that excites me the most about Ubuntu Touch is the prospect of Desktop mode, could you explain it in a bit more detail?
The desktop shell (Unity 7) will be re-implemented in the same codebase as Ubuntu Touch (Unity 8), so that there will be one "Unity" that can change the way it looks and behaves depending on the kind of device it is running on. For app developers, the platform will be the same, the APIs will be the same, they won't need to maintain separate versions of their app. (mhall119)
When it will be available? Can Ubuntu sync Gmail contacts?
There is already a manual way to sync Google contacts, it just needs a GUI built around it. http://sergiusens.github.io/posts/google-contacts-on-ubuntu-touch.html (mhall119)
Is there a list of supported devices?
Please refer to https://wiki.ubuntu.com/Touch/Devices. (sergiusens)
Can we develop and run our own native apps? Will a GUI framework be provided that will make our apps look the same as the Ubuntu Touch UI?
Yes, native apps can be written in C++/Qt, or QML/Javascript. We provide a UI Toolkit with native widgets that you can use in your apps. (mhall119)
What does Ubuntu for phone and tablets have that neither Apple and Android havent got?
One platform for phone, tablet, desktop/laptop, TV and server. You only need to write and maintain one version of your app, and it will work on every Ubuntu device. (mhall119)
Why Java is not part of Ubuntu Touch? Will Java developers can get a chance to innovate for Ubuntu Touch?
If the question is regarding dalvik, it's because Ubuntu Touch is not really based out of Android but uses some of its bits. If it's regarding java, openjdk is available in the repositories although for GUI there is still no support, once Mir lands, that could change. (sergiusens)
What will you guys be doing in regards to privacy in order to avoid controversy like in 12.10?
The new Smart Scopes that have arrivedin 13.10 provide fine-grained control over which scopes are active, giving the user the ability to decide what sources are used by the Dash. We are also improving the way we let the user know that their searches may be using external sources to find results. (mhall119)
The last time I tried Ubuntu Touch, I could not make and install my own apps. Has Ubuntu Touch become developable?
Yes, you can visit http://developer.ubuntu.com to get the Ubuntu SDK and learn how to write your own Ubuntu Touch apps. (mhall119)
Would it be possible to have Ubuntu Touch use cloud storage to store apps, repos etc so that we can automatically sync our data across mobile and PCs?
You will have both Ubuntu One Files and Ubuntu One Database to sync your app's data between a user's devices. (mhal119)
Can we have an Android Runtime (like BB10 has) in a near future?
We are currently evaluating the effort and approaches to enable Android developers to move their apps to Ubuntu easily. The goal would not be to run Android apps unchanged, but to allow developers to adapt them for the Ubuntu Touch User Experience and to minimize the overall porting effort. (pat)
About the project Ubuntu for Android, Ubuntu Touch will provide in the future a desktop interface if plugged via hdmi, like Ubuntu for Android?
Yes, if your phone is capable you will be able to run Ubuntu Touch on it's touch screen, but then dock it to an external screen, and be presented with the Desktop shell. (mhall119)
What program is used for viewing, editing and creating Office documents (Word, Excel, PowerPoint)? Is it possible to run Android apps on it? Can I use it as a daily software for my Nexus 7?
There is a Document Viewer being developed that can currently display plain text and image files. We are evaluating the available libraries for displaying office documents, and plan to incorporate that functionality into this app. (mhall119)
Will we be able to access the ubuntu APT repositories on ubuntu touch and be able to install any packages that have been ported to the arm architecture OUT-OF-THE-BOX?
Yes, although we are exploring an alternate package format and delivery architecture for apps. (mhall119)
What's the point of throwing an Undeveloped OS (blueprints?) to the public so that they finish its development then charge everyone hundreds of dollars for an official device running the same OS?
Our engineers have not slowed down their development since we made everything open. Quite the contrary, development efforts within Canonical have only intensified. What we have done is given the opportunity to those who want to be involved in it a chance to do so. Not just in implementing blueprints that already existed, but to be a part of the process of drafting those blueprints as well. We currently have regular meetings between Canonical engineers and designers with community engineers and designers, who are working together to define everything from the platform's foundation and APIs all the way up to the final look of apps. (mhall119)
Can you install the same packages from the Ubuntu Repository for your PC on your Ubuntu Touch Device (as long as they are available for ARM of course)? Can these Desktop apps be used on the touch device itself, or only through the Unity Desktop via some sort of dock with a mouse/keyboard?
If the application uses a supported toolkit (just Qt at the moment) that allows it to run on SurfaceFlinger and Mir, it will be able to run on Ubuntu Touch. Our goal is to provide a single platform for app developers, which will allow a single codebase to run on all Ubuntu devices. (mhall119)
What kind of apps is it gonna "Support"? like all the Android Market apps? Or a completely new Market? Thanks in advance, really looking forward to Ubuntu Touch.
A new market based on the existing Ubuntu repositories and applications. (mhall119)
Will I be able to run games like Nexiuz and OpenArena on my Nexus 10 tablet?
Generally it's possible to support any game that works with OpenGL ES 2.0, but some porting work might be needed to enable support for Mir (instead of depending on X11 libs, for example). (rsalveti)
Are you planning to make sure the visual experience of Ubuntu Touch has no perceivable lag for the end user? How do you expect to accomplish this with HTML5 technology?
Yes, we plan to make the Ubuntu Touch experience as smooth as possible. Knowing the limitations of HTML5 (which we intend to fully support nevertheless), we are using/providing Qt/QML to write native apps that can get the most out of the phone's hardware. (mzanetti)
I would like to know if the applications would be different from android ones. I mean we will need that popular developers to make their apps to ubuntu system?
Please see developer.ubuntu.com for the latest SDK and information. (pat)
So what is the minimum hardware requirement(processor, kernel version,LDPI support) the OS will need?
The requirements for the entry level Ubuntu smartphone: 1Ghz dual core Cortex A9 processor, 1GB RAM preferred, OpenGL/ES supported graphics, 4GB to 8GB storage. (pat)
I'd like to know if it would be do-able to make an Ubuntu Touch fork which includes the Dalvik VM and support for running APKs.
If it's not, can you please elaborate a little bit on the technical reasons behind this limitation. If it is possible, I'd like to know how hard it might be. Would the Ubuntu part require much modification to run on top of a "vanilla" CyanogenMod?
Aside from that, I wanted to ask what are your plans in term of kernel version support for Ubuntu Touch. Are you planning on contributing to port newer versions of the Linux kernel to Android or will Touch follow the mainstream Android kernel releases?
Thanks a lot for your time, and for your work on this promising OS, really looking forward to be more involved in this new mobile ecosystem.
See the response regarding support of Anroid apps. We plan to track the Android kernels in the near term. This could change over time and will be driven by the needs of manufacturers.
On your site when it talks of support from valve and unity game engine does it mean for mobile or in terms of the desktop OS?
Currently both Valve and Unity Technologies support Ubuntu Desktop. (john.pugh)
can ubuntu touch be ported to armv6 tablet device with 1gigs of ram and 4 gb rom because at official site it is mentioned for armv7 devices??
ARMv6 is not supported anymore by Ubuntu since Karmic. Ubuntu currently targets the ARMv7 and above Application Processor family (Cortex A8, A9 and above). (rsalveti)
When will ubuntu touch be stable on the nexus 4?
It should be stable by the time 13.10 is released. (sergiusens)
will we see the ubuntu for android feature in the final realese for ubuntu touch?
These two projects are not related, while Ubuntu for Android runs on top of Android; Ubuntu Touch is its own operating system in itself reusing some components from Android to the point it's not even Android anymore. (sergiusens)
Will I be able to run any native ubuntu desktop application on a x86 (Intel Atom) Smartphone/Tablet running Ubuntu Touch?
We have not yet produced an x86 build of Ubuntu Touch but this is certainly possible. Ubuntu Touch will not provide support for X in its first release, but compatiility will be provided later to support the converged device use case. (pat)
sooooo...ubuntu touch for armv6?
ARMv6 is not supported anymore by Ubuntu since Karmic. Ubuntu currently targets the ARMv7 and above Application Processor family (Cortex A8, A9 and above). (rsalveti)
Can we port .apk's to touch? And what file extension ubuntu touch will use on it's apps if not apk? Also to get ubuntu work example on Gt-i9300 do we need source from samsung?
See the response regarding porting android apps. We will not use the apk extension, there will be a new extension for the new click packages which are based on debian package format. (pat)
hello ubuntu, when will the galaxy s3 i747 get ubuntu touch?
For the list of supported devices (also for WIP), please check https://wiki.ubuntu.com/Touch/Devices. (rsalveti)
Hello! Would it be possible to use desktop applications (e.g LibreOffice, Firefox, Audacity, Transmission), while utilizing the phone interface? Would it be possible to use terminal applications, just as in Ubuntu (e.g mc – midnight commander)? Is Ubuntu going to be based on Android (meaning that Ubuntu is just a chroot running atop of Android) or is Ubuntu going to be stand-alone? (i.e not using the Android kernel, not running atop of Android, utilizing Upstart, using Ubuntu kernel etc.) Would it be possible to turn on root access (preferably – with a tick in the settings) easily? Ubuntu Phone does differ from Android – Android doesn't let you make your phone a fully-fledged PC – Ubuntu does. I guess lots of people are looking forward to seeing PC-like functionality (i.e desktop apps, terminal apps, etc.) in Ubuntu Phone. So am I. Really looking forward to Ubuntu taking off! I hope these questions (and answers) will be in the FAQ. Thank for your time!
In the future it will be possible to use desktop apps and phone interface, this is the converged device support we are moving toward. There is a terminal app available now. There is work nearly completed to "flip" the current design. Ubuntu TOuch will boot into Ubuntu using upstart and Android components will reside in an LXC container. Not sure how easy it will be to turn on root but developers will have this. (pat)
why on devices like Xperia 2011 daily builds are not booting but MWC image is booting
hybris is the component that bridges the two components, the Android container and Ubuntu. It lives on both sides and needs to be in sync. While this may not be the case for all the devices, it is most likely that the Android side hasn't been updated with these changes; nor the platform-api which is also dual lived. (sergiusens)
Will it be available on devices which have bad sources like Exynos-based Samsung Devices?
The Nexus 10 (manta) is Exynos based and officially supported. (sergiusens)
Can we install it as a daily driver OS in any phone? For example, i have a Galaxy Note and its was ported, but its buggy, i cant make calls, the fonts looks ugly and the UI its overscaled
You should be able to install Ubuntu on any device to use daily as long as the port is marked as complete. As can be seen on the wiki for the Note II (https://wiki.ubuntu.com/Touch/Devices/n7100), the port is certainly not complete. (sergiusens)
Why CyanogenMod as base for Ubuntu Touch?
The choice on CyanogenMod was made based on how easy it was to use as a base when starting to work on a new device. (sergiusens)
When is the estimated release for a stable version of Ubuntu Touch with all the features working going to come out?
A functionally complete version will be available with 13.10. (pat)
Will you try to make a release for every phone or an driver package approach?
We will focus on a set of reference designs. (pat)
How will you incorporate software updates on the ubuntu platform? Currently Android goes through a seemingly tedious process( Source ---> OEM ---> Carrier---> Phone) where as IOS is significantly different ( Source ---> Phone). Will Ubuntu touch be closer to Androids method or Apples?
We hope to have an Ubuntu ecosystem that is not as fragmented as Android in terms of which updates are applied where and when. The model should be closer to Apple's, but this is not entirely within our control. (pat)
Will other GUI be avalaible (Gnome, KDE)?
None are planned, but the UI is customizable to some extent. (pat)
Ubuntu Touch will officially support Ubuntu Software Centre packages? Or a own software centre will be provided in the future?
Apps for Ubuntu Touch will be available from the software center. (pat)
When will CDMA/EvDO/LTE support be added for users in the US, China, India, Southeast Asia, and South America?
We do not have plans for CDMA support at this time, but would welcome this addition. THe Ofono stack does not currently provide for this. (tespy)
Will there be continued support for the Nexus lineup for the current crop and the future versions?
Yes. Future versions are tbd. (pat)
I would like to ask about the requirements for Ubuntu touch, it says on the Ubuntu QA section that the minimum is a 1ghz single core processor, I know it runs slow on all devices at the moment because it is still under development, however I also read in the ubuntu page that ubuntu touch will run faster than Android due to it taking advantage of everything possible. Android 4.2 jelly bean seems to run pretty slow and laggy, will Ubuntu touch (Which is build on top of an Android 4.2 kernel) run faster on such devices?
The current performance seems quite acceptable. The Qt stack we are using for the shell and apps is quite well optimized for these devices. We are continuing to enhance the app management, ui toolkit and core system stacks to improve performance. (pat)
How to develop a cell phone for my Ubuntu Touch?
Please take a look at https://wiki.ubuntu.com/Touch/Porting, where we post instructions for people to add support for additional devices. (rsalveti)
Will you give any support to PySide project (Python bindings for Qt)? The project was started by Nokia but currently it is not developping further and only Qt 4.x is supported. Python makes developing applications much easier compared to C++ while still allowing to use C/C++ libraries for performance critical parts. I have some applications ready that I would like to port to Ubuntu Touch but rewriting them from Python to C++ would take me too much time.
There is actually an upgrade of PyQt to work with Qt5. The beta has been around since March, and the final Qt5 release was reelased just now:http://www.riverbankcomputing.co.uk/news/pyqt-50. While we don't officially support that at the time being, it should be relatively easy to make it run on Ubuntu Touch. (mzanetti)
Ubuntu touch ported to Samsung Galaxy Tab 7.0 almost perfect. Wiki says the last missing feature is being worked by Ubuntu devs, after last piece completed will we see daily updates along with Nexus devices?
We hope to incorporate more community-driven ports as we go, which then will be published daily together with our Nexus based images (but you might still need to copy the proprietary binaries for a fully working image). (rsalveti)
I've seen that the files on http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/ are with a "flipped container", which gives us the ability to run Ubuntu Touch directly and run Android after that. Unflipped ones obviously need run Android because they run Ubuntu using chroot. Where we can boot directly into Ubuntu, is there any specific reason for us to run Android?
Even with the flipped container model we still need to run Android specific services, such as RILD and SensorService. Work is in progress to reduce the amount of Android dependencies. (rsalveti)

[Q] Tablet ubuntu able to run edubuntu (kde etc)?

Hi all
Does anyone know if I can run kde-based software on the developer alpha of Ubuntu for tablets yet please? Not expecting reliability, just want to do some child user testing of the edubuntu suite on tablets.
Thanks
Chris
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Huge thanks, that is really useful
Hempe said:
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Click to expand...
Click to collapse
After some research on your reply I've a couple questions. Does it mean the Unity interface doesn't need X-server? Or are they just using a temporary workaround until X-server is implemented?
And does this apply to both Ubuntu for Android, and Ubuntu for tablets?
Huge thanks
Having done some further research I've made my decision - thanks hugely for providing the missing link in my knowledge. What follows is my best interpretation of the rumours.
Currently in place of X-server is SurfaceFlinger, ("because X-server uses 30 yr old code" - Canonical). Canonical publicly dabbled with using Wayland until mid-Feb, then decided to create their own revamped display server from scratch, called Mir, which they seem to have been working on since mid last year, and are trying to get GPU vendors to support, written to run across all devices and to meet the needs of the Unity interface, and written in Qt/QML which is what they want native apps written in.
Bottom line for me, is that the technology is still right up there in the clouds and nowhere near decided enough to base my business strategy on. Also, Ubuntu for tablets seems a pretty thin version of Ubuntu anyway, so Edubuntu was never an option and I'm unlikely to be able to leverage much from Ubuntu's Open Source libraries anyway.
Like others, (see the comment on jonobacon.org below), I find it frustrating that the wealth of code written for Ubuntu is no longer usable, but I reckon this is probably necessary to squeeze the most out of every single CPU cycle and milliamp. Ubuntu for tablet is dead in the water if it kills the battery and performs worse than the established competitors.
Therefore all indications are I need to write for Android, keeping my options as open as possible to migrate. So it is now Titanium/UnityIDE versus HTML5, particularly assessing relative performance.
http://www.omgubuntu.co.uk/2013/03/canonical-announce-custom-display-server-mir-not-wayland-not-x
http://www.jonobacon.org/2013/02/21/five-ubuntu-touch-facts/ -- not the article but the comment starting "In that case, wouldn't it be better to port existing apps instead of...."
http://www.omgubuntu.co.uk/2013/02/canonical-working-on-new-display-server
http://www.phoronix.com/scan.php?page=news_item&px=MTMwOTM
Just to clarify.
1. There are plans to make a X-Mir compatibility layer that will allow you to run programs that require an X-Server to work with mir.
2. Not all is lost at the moment it just looks that way.
Only Graphical Userinterfaces are affected. Your commandline tools and libraries don't need to be changed.
3. If you are looking for platform to write apps for, well there is worke being done to let you run your QML apps (intended for ubuntu touch) on android.
So if you choose to make QML apps they can be or will be able to run on linux, mac, windows and android
Wow, huge thanks, I missed that.
Does this mean EVERYTHING Ubuntu without a GUI will work? I want to run a NodeJS server. How likely is it that it will work perfectly now? How likely is it that it will work perfectly in the (nominally October 2013) release? (Sorry, just give me a keyword and I'll go off and do my research.)
Is Canonical planning to get X-Mir into the next ~Oct release?
My other query was whether QML on Android would perform as well. For others interested, it looks like it works directly with the Android SurfaceFlinger, bypassing the Dalvik VM, so performance should compare with native Java code.
Huge thanks once again
Chris
Sources:
http://www.youtube.com/watch?v=TEkubKZaUt8
http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/

[Q] Can I access and use serial ports from a native Linux app on an Android device?

Hi there,
I just signed up here and this is most probably not the right place for this kind of questions, but as a newbie I'm obviously not allowed to post into the developer section.
We're currently examining the pros and cons of the next hardware platform for our project, which consists of two software components: one is a non-UI background application that communicates with industrial plants over a serial connection via RS232 and/or RS485. It also offers an interface to higher-level software, such as the corresponding GUI, in which we want to show a data visualization and monitor.
I've done some testing with Linux and Qt, it ran quite well on the currently used BeagleBone Black ARM board in combination with a 7" LCD touch display, but the UI is not nearly as smooth as Android, for example.
Now I'd like to rebuild it with Android, as it offers a much more comfortable and "fun-to-use" UI. But I couldn't find an answer to the most important point for us: as Android is set upon the underlying linux - can we compile and run our background application on this system AND also access and use the "real" serial ports the hardware offers (e.g. dev/ttyS[n], not talking specifically about the BeagleBone right now, think of any ARM board with these ports built into it), just like on every other ARM linux board with COM ports? Or is there a fundamental difference in the way Android and its base linux behave when it comes to IO ports?
Basically, what I think of is this:
- a background application running on Android Linux that talks to the plant over a serial connection
- an Android app acting as UI talking to the background process
Thanks for your help!

Android app framework suggestion.

Hello all!
Would it be possible to develop a framework of some sorts to install android apps natively instead of using Darwin or JVM on Ubuntu Touch?
The way I see it (might be a little too simple) is to convert the bytecode to native code and write wrapper functions for Android function calls or something like that. Is it possible?
Android doesn't use Darwin or the JVM (In the strictest sense), it uses either the Dalvik VM (which is based off Java, but is not Java, nor is it a JVM in the strictest sense [as in, executes applications made for the Java JVM]) or the Android Runtime (ART).
To my knowledge there is no Android analog to WINE (what you're proposing). There are applications such as Genymotion and Shashlik but those either aren't targeting ARM or aren't ready for ARM yet.
It's quite possible, if you ported the Android Runtime or Dalvik VM over to a WINE-esque application, but no, to my knowledge there are no projects doing this.
As Android is coming to Chromebooks it may be possible to just replicate the same container on Ubuntu Touch - it may require some work to make Mir work with whatever interface Chromebook's android port talks to (Freon?) but Google will do most of the effort here
grandrew said:
As Android is coming to Chromebooks it may be possible to just replicate the same container on Ubuntu Touch - it may require some work to make Mir work with whatever interface Chromebook's android port talks to (Freon?) but Google will do most of the effort here
Click to expand...
Click to collapse
Android itself is NOT coming to Chromebooks, this is simply Google's Android Runtime for Chrome being released into mainstream usage (see the Archon project for more information about this runtime.), This is still an emulated Android device (albeit more optimized so it runs faster, likely using x86 binaries) that runs under Chrome's NACL platform, it is NOT Android on Chromebooks as many news sources would like to suggest.
At the moment, Chromium does not run very well inside XMir (which is why I didn't give it any real thought there), but yes, this and the Android Runtime for Chrome should fill this gap perfectly. In the future though, it may be possible to use the LXC container with some work done to surface_flinger and the Android frameworks (to support Mir's windowing system ofc) to run the applications inside the Android container.
Like I said though, Google's Chromium runtime would work. But we currently have no hardware acceleration inside of legacy X11 applications, limited filesystem access inside said legacy container (only the XDG standard folders: Downloads, Documents, Music, Pictures are mounted into the legacy container), We also don't really have good, working OpenGL available to X11 applications since GPU access is done through libhybris which X11 knows nothing about.
It's possible to get around this similar to how Canonical has done it on the PC's development version of Unity8 and get Hardware Acceleration (truthfully, I haven't tested to see if it works with the android mirplatform packages though) by turning on DRI/DRM, I did this in my tweaked kernel, but it doesn't seem to provide any performance improvements with the freedreno X11 driver installed (I saw no indication that XMir initialized the freedreno driver at all, only Mesa's Software Rasterizing Interface driver.)

Interface Android application with Termux on the same device

Greetings. This is my first post; if another forum would have been more appropriate, please let me know.
My team has developed some machine learning software on Linux, mostly in Python, and mostly in the area of image and speech processing. Much of our input comes from Android devices, which exchange data with the backend server. Due to latency and other issues, we would like to look at putting our machine learning software on the Android device itself. Termux looks like an interesting solution; perhaps you know of other Linux shell apps.
My main question is: For communications between the "real" Android app, typically a Java program developed with Android Studio, and the "Linux machine" on the device, is the Linux instance treated like another system, with its own IP? Or is there a way to communicate directly between, say a camera app on the phone and the Linux instance?
btw, I am aware that Android OS is a Linux variant, so perhaps Termux is running on the same kernel?
Thanks,
Sid

Categories

Resources