Status Update
Comments
ba...@google.com <ba...@google.com>
ba...@google.com <ba...@google.com> #2
Thank you for reporting this request. We have shared this with our product and engineering team and will update the information as it becomes available.
ji...@google.com <ji...@google.com> #3
Sorry for the super late response. I somehow missed this bug in my inbox.
Thank you for the valuable suggestions. All make sense to me.
We usually don't share our feature plan, but I have seen some expectations that I feel like should be corrected before they go wild.
The main purpose of this Linux terminal feature is to bring more apps (Linux apps/tools/games) into Android, but NOT to bring yet another desktop environment. Android, as
This however doesn't mean that we prohibit the installation of any Linux desktop management system (xfce, gnome, etc.) in the VM. I just mean that those won't be provided as the default experience as you would expect. But, because Android is an open-source project, I wouldn't be surprised if there will be any device maker who ships such a Linux desktop management system by default.
And GPU acceleration is something we are preparing for the next release. Stay tuned! :)
he...@gmail.com <he...@gmail.com> #4
ji...@google.com <ji...@google.com> #5
Yes
as...@gmail.com <as...@gmail.com> #6
I do see a /mnt/shared mount point to /sdcard/Download but it does not see anything copied from host side, only shows what I copied from the VM as shown below.
droid@localhost:~$ mount |grep shared
android on /mnt/shared type virtiofs (rw,relatime)
droid@localhost:~$ ls -l /mnt/shared
total 4
-rwxrwx---. 1 droid users 5 Mar 19 14:32 test.txt
ak...@google.com <ak...@google.com> #8
I do see a /mnt/shared mount point to /sdcard/Download but it does not see anything copied from host side, only shows what I copied from the VM as shown below.
What file was copied from the host side ? Could you send the ls -l
and stat
output of the file shared from host under /sdcard/Download. Were these files created as "root" user ? Please try creating files as regular Android user and verify.
Also, could you please try re-mounting /mnt/shared ?
umount /mnt/shared
mount -t virtiofs android /mnt/shared
Description
Title: Open Source Debian VM Tweaks and Enhance Android Docking for Linux Workstation Experience
Component: Android Runtime
Type: Feature Request
Labels: Enhancement, Virtualization, Linux
Description:
Background: With the introduction of Android's Virtualization Framework, there's an exciting potential to transform Android devices into versatile Linux workstations when docked. This could significantly boost productivity for developers and enthusiasts who require a desktop Linux environment on the go.
Request Details:
Open Source the Debian VM Tweaks: Current State: Android is reportedly preparing to run Linux apps in a Debian VM with GPU acceleration. However, the specifics of how Android tweaks the Debian image or the VM environment for best performance and integration are not publicly available.
Request: We kindly request that Google consider open-sourcing these modifications or at least provide detailed documentation on how to: Optimize Debian for Android's hardware constraints. Integrate Android's GPU acceleration with the VM. Manage power usage and battery life effectively within this VM scenario.
Benefit: This would allow the community to: Create and support other Linux distribution images tailored for Android. Enhance the Android VM experience by leveraging community-driven development. Ensure compatibility with a wider range of software and use cases. Allow Docked Android Devices to Extend VM to Display: Current State: Samsung DeX and similar technologies extend the Android interface to external displays but do not currently support running a full Linux VM in this mode.
Request: Enable Android devices, when docked, to: Automatically switch from Android to a pre-configured Linux VM environment. Use the external display and peripherals to provide a full "Linux Workstation in your Pocket" experience. Specifics: This could be implemented via: A user-initiated switch or an automatic detection of docking. Use of external displays for the full Linux desktop environment, possibly with options for different DEs or WMs. Seamless integration of hardware like keyboards, mice, and possibly USB devices into the VM environment. Consider adding options for users to configure or select different Linux distributions or environments for different scenarios or preferences.
Use Case: Developers and power users could carry their entire Linux development environment in their pocket, ready to expand to a full workstation setup when needed. Educational use where a single device can serve both as a learning tool and a practical workstation. Enhancing productivity in mobile environments by providing access to a full suite of Linux applications.
Expected Outcome: An ecosystem where Android devices serve not only as mobile phones but also as portable Linux workstations. Increased developer productivity and creativity by allowing seamless transitions between mobile and desktop environments.
Additional Notes: Please consider the security implications of running Linux VMs on Android, ensuring that measures are in place to protect both the host and guest systems. Battery life and thermal management should be priorities to maintain usability.