Coder Social home page Coder Social logo

utqemu's Introduction

Ubuntu touch qemu

Ubuntu touch qemu is an easy to use ubuntu touch emulator/virtual machine.

Snap parts are based on qemu-virgil See https://snapcraft.io/qemu-virgil

Installation

Install the snap and connect to kvm:

snap install utqemu --edge
sudo snap connect utqemu:kvm

Usage

$ utqemu --help
Ubuntu touch qemu - usage
  utq start    - Stats qemu
  utq create   - Creates ubuntu touch qemu
  utq recreate - reCreates ubuntu touch qemu
  utq delete   - Deletes ubuntu touch qemu
  utq ssh      - ssh into running ubuntu touch qemu
  Default user:password is phablet:phablet

Copying

Copyright (C) 2018–2022 UBports Foundation.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Unlike the other files in this repo, snap/gui/icon.png comes from QEMU and is released under the GNU General Public License, version 2 or (at your option) any later version.

Because snap/gui/icon.png is available under a different license, the combination of that icon with the rest of this repo is available under the GNU GPLv3. (See gpl-3.0.md for details).

utqemu's People

Contributors

flohack74 avatar jayman2000 avatar jonnius avatar laerling avatar mariogrip avatar ogra1 avatar tomsaleeba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

utqemu's Issues

Script does not detect qemu-virgil

Start fails with:

$ utqemu start
WARNING: Image format was not specified for '/home/jonatan/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -device virtio-vga,virgl=on: Property '.virgl' not found

Any ideas?

License?

At the moment, this repo isn’t technically FOSS because there’s no license.

Limbo PC emu?

I know this will not push through since this is related on Android not on Ubuntu touch . But will request anyway if we can run Ubuntu touch emu inside limbo arm64 emulator of android . Thanks

cannot launch kvm

I just installed it on manjaro linux and got this error:

WARNING: Image format was not specified for '/home/MYUSERDIRECTORY/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -device virtio-vga,virgl=on: Property '.virgl' not found

anything I can do?

Could not access KVM kernel module

After applying #4 I hit the next issue trying to start utqemu:

WARNING: Image format was not specified for '/home/jonatan/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
Could not access KVM kernel module: Operation not permitted
qemu-system-x86_64: failed to initialize KVM: Operation not permitted

Adding myself to group kvm did not help. sudo chmod 666 /dev/kvm didn't solve the issue as well. No errors in journalctl meanwhile.

OS: Ubuntu 20.04

utq command not found after snap install utqemu --edge

running utq command after installing utqemu snap displays error "Command utq not found".
"sudo find / --name utq.sh" commands finds the utq.sh file under the location /snap/utqemu/x1/usr/bin/.
Maybe we to create a symbolic link at location /snap/bin?Please note: utqemu is present in /snap/utqemu/x1/usr/bin folder.
Should we use utqemu start command instead of utq?In that case the readme file has to be updated.
OS: Ubuntu 20.04

xz: Command not found

Creating the image fails with

/snap/utqemu/9/usr/bin/utq.sh: line 71: xz: command not found

even though xz is installed on my system. Maybe it needs to be shipped with the snap?

qemu-system-x86_64: failed to initialize KVM: Operation not permitted

I get this error when I download and run the packages.

tx8r@Asusleptop:~$ utqemu start

05/31 17:38:52 [NOTICE] Downloading 1 item(s)

05/31 17:38:52 [NOTICE] Allocating disk space. Use --file-allocation=none to disable it. See --file-allocation option in man page for more details.
 *** Download Progress Summary as of Mon May 31 17:39:52 2021 ***              
===============================================================================
[#9e11de 574MiB/743MiB(77%) CN:1 DL:10MiB ETA:16s]
FILE: /home/tx8r/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img.xz
-------------------------------------------------------------------------------

[#9e11de 733MiB/743MiB(98%) CN:1 DL:10MiB]                                     
05/31 17:40:09 [NOTICE] Download complete: /home/tx8r/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img.xz

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
9e11de|OK  |   9.8MiB/s|/home/tx8r/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img.xz

Status Legend:
(OK):download completed.

WARNING: Image format was not specified for '/home/tx8r/snap/utqemu/common/ubuntu-touch-mainline-generic-amd64.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
Could not access KVM kernel module: Operation not permitted
qemu-system-x86_64: failed to initialize KVM: Operation not permitted

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.