Coder Social home page Coder Social logo

utmapp / utm Goto Github PK

View Code? Open in Web Editor NEW
24.3K 24.3K 1.2K 39.11 MB

Virtual machines for iOS and macOS

Home Page: https://getutm.app

License: Apache License 2.0

Objective-C 12.03% C 1.00% Shell 2.44% Python 0.62% Swift 83.90%
apple emulation ios jailbreak macos qemu utm virtual-machines vm

utm's People

Contributors

3j14 avatar afh avatar bludood avatar changanmoon avatar cheny0y0 avatar conath avatar evsio0n avatar fredyshox avatar hui2007 avatar j-f1 avatar jezerm avatar joematt avatar js-john avatar kkebo avatar ktprograms avatar lostincompilation avatar matgaj avatar mavethee avatar mmp0 avatar obbcth avatar osy avatar osy86 avatar pan93412 avatar pointum avatar s0rd3s avatar saagarjha avatar spotlightishere avatar tie avatar ty-yqs avatar wibus-wee 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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

utm's Issues

[UTM] App freezes/white screen on launch

iOS 13.3 on iPhone XS.

While not jailbroken, the app itself can be opened as long as it is signed, however, the app will crash right after clicking on any of the VMs. Configuration menu works without issues.

Additionally, the app will crash when a fairly large VM is attempting to be launched even in jailbroken mode (in my case, a Windows XP install with a 2 GB hard drive, it was set up on the device itself and was fully functional until I shut down the VM and attempted to re-launch the virtual machine later on); when reopened, the app will stay on the white splash screen after the initial crash and stop functioning, even after removing the app in the switcher/respringing/su && ldrestart (possibly due to lack of cleanup?). This is also reproducible by shutting down the virtual machine with the power button on the top menu UI; the machine shuts down and the app freezes. Only fixable by rebooting and re-jailbreaking.
IMG_0660

Crashes On VM Launch

Whenever I try to make a VM, it will not launch after creation, no matter what OS I use. Ive tried 32 and 64 bit Windows 10 as well as 32 bit Ubuntu 16.04 and nothing. You tap on the VM and it crashes the app instantly. iPad 11" 256gb cellular and iPhone XS Max 256gb. Same exact issue? Are we only limited to Windows XP, 7, and Archlinux?

Unable to install UTM on jailbroken device

IOS version: 13.3 (17C54)

My ipad has successfully jailbroken and installed appsync,
I use fiiza file manager to install ipa files. Prompt installation failed!
Does UTM not support ios13.3?

[Build] Distribute as .ipa

It would be very nice to build the app as a pre-packaged, unsigned .ipa as part of the building. This makes it much easier to sideload for non macOS users, and to download and install the .ipa straight on device without the use of a computer for jailbroken devices.

[Qemu] QAPI monitor support

We need to interface with QMP in order to have basic functionalities like pause/resume, shutdown, disc eject as well as advanced functionalities like IO error handling.

  • Swift/Obj-C Generator for QAPI
  • Socket interfacing
  • Marshaling between JSON and native code

LibUSB port for iOS IOKit

I tried UTM ,it’s great . My iPad Pro was jailbroken already , so whether would UTM to support usb type-c ? That would be wonderful.

[qemu] Port android emulator changes for qemu

I don't get how to run Android arm64. All the resources I find online are from 2014 with lots of dead links and my only clue is that the standard AVD by google runs on qemu but I have no idea how to run it.
Any help would be greatly appreciated!

Also is arm64 performance better on a arm64/e device than x86_64 performance or is it the same because it's emulated anyway?

Add link to the webside in the repo describtion

Hello!
Its a beautiful project but as many projects it lacks this final "showoff" touch.
So much work has been put in it already I believe yet half of people wont see it because there is no link to website or screenshot in readme pinning attention while scrolling.

I suggest adding a link to a website to the repo description. Easy yet very important thing.
wdyt?

cheers!

[Bug] PowerPC and PowerPC64 VMs do not get created properly

Attempting to start PowerPC and PowerPC64 VMs will cause a dlopen() error.

Steps to reproduce:

  1. Create a new VM
  2. Set its architecture to either PowerPC or PowerPC64
  3. Attempt to start the VM

Workaround: The Architecture value inside of the System dictionary inside the config.plist file can be set to ppc or ppc64 to get around this problem. However, PowerPC and PowerPC64 VMs seem to crash when launched, so this may or may not be a real workaround.

[Qemu] Implement cleanup

Currently, qemu does not do much cleanup. mmap() pages are not unmapped, etc because it was designed to run as a process. Now that it's running as a shared library, we have to be careful about cleaning up.

  • Cleanup in qemu-img
  • Cleanup mmap()
  • Cleanup pthreads
  • Find and cleanup anything else

Launching a VM twice causes a crash

If I launch a VM, stop it, then launch it again, the app will crash.

(lldb) bt
* thread #48, stop reason = signal SIGABRT
    frame #0: 0x000000018fa10df8 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x000000018f9291e8 libsystem_pthread.dylib`pthread_kill$VARIANT$mp + 136
    frame #2: 0x000000018f87c644 libsystem_c.dylib`abort + 100
    frame #3: 0x000000010e7691cc libqemu-system-x86_64.dylib`type_new.cold.1 + 52
  * frame #4: 0x000000010e5eb2bc libqemu-system-x86_64.dylib`type_new(info=<unavailable>) at object.c:106:17 [opt]
    frame #5: 0x000000010e5e5c28 libqemu-system-x86_64.dylib`type_register [inlined] type_register_internal(info=<unavailable>) at object.c:137:10 [opt]
    frame #6: 0x000000010e5e5c24 libqemu-system-x86_64.dylib`type_register(info=<unavailable>) at object.c:146 [opt]
    frame #7: 0x000000010e6d18a4 libqemu-system-x86_64.dylib`module_call_init(type=<unavailable>) at module.c:97:9 [opt]
    frame #8: 0x000000010e4144ec libqemu-system-x86_64.dylib`qemu_main(argc=25, argv=0x000000016d77ae20, envp=<unavailable>) at vl.c:2878:5 [opt]
    frame #9: 0x00000001029db1ec UTM`start_qemu(args=0x0000000282e16370) at UTMQemu.m:38:14
    frame #10: 0x000000018f931d98 libsystem_pthread.dylib`_pthread_start + 156

It looks like it's re-registering a plugin or similar:

Registering `chardev-gdb' which already exists

[Help] Missing libraries with i386 and ARM/ARM64

When I try to launch an i386 x86 vm, or an ARM or ARM64 machine, I get an error message telling me that I’m missing libraries. I am on iOS 13.1.3 using an iPad Pro 8,1 (2019 11” 64GB model) Using latest version of UTM.
613CC777-FE16-4DC7-9526-2AFED275DCDE

No ipa asset in new release

There is no ipa asset in the newest release. Sorry about this if one just hasn’t been made yet, or is going to be added soon.

[UTM] Crash in rebuildVertices

Sometimes the app will crash in

        [_texture replaceRegion:region
                    mipmapLevel:0
                      withBytes:(const char *)_canvasData + (NSUInteger)(rect.origin.y*_canvasStride + rect.origin.x*pixelSize)
                    bytesPerRow:_canvasStride];

UTM crashes when I open a vm created in UTM

After I create a VM and installed Windows and Linux on it in UTM, I close the app and open it again after a couple of hours and the vm dosen't open anymore instead UTM crashes.

The device that I am using to test this is an iPhone XR running iOS 13.3 jailbroken with unc0ver v4.0.3.

[UTM] USB Keyboard doesn't send special keys (Ctrl, Alt, CMD)

1)
When connecting a keyboard over USB to my iPad, input mostly works if the keyboard sheet is open (it is minimized ot only display the special chars).
However pressing "special keys" like arrorw up,down,left,right or ctr,alt,cmd/Super/Windows key don't seem to be forwarded.

2)
Also i wasn't able to type the > character.
Typing it from USB keyboard, doesn't do anything.
Typing it from onscreen keyboard prints : instead (german QWERTZ layout in iOS).

3)
Another thing (dunno if i should maybe open another issue for this):
When connecting USB keyboard it is desired to hide all overlays and have the VM run fullscreen.
As of right now the special keys overlay (which is atm required for keypresses to reach the VM) hides some part of the screen.
The overlay on top also hides some parts of the screen.

Suggestion: there should be an option to have the screen resized to fit inbetween these overlays.
This is potentially useful when typing on the onscreen keyboard, because you then still would have the full overview of the VM and you see what you're actually typing

Equipment problem

What's the problem with my ipadpro2018 crashed after installing win7 or win10?

App won’t load white screen

Whenever I try to launch the app it’s just a white screen a doesn’t load I’ve tried downloading it again and same outcome I’m on iPhone 11 Pro Max on 13.3

Networking: Client unavailable from host

I'm running alpine extended x64 with nodejs. Things are slow but actually pretty decent (helped by virtio instead of ide for disks).

I'm however not able to figure out how to access a port that is being listened to by the client from the host OS. Specifically, the ip for my alpine client is 10.0.2.15 and node is listening on 19000. When I try to access that from any browser on the iPad itself it just times out.

Any tips on accessing the client OS through networking? Or it should just work and I'm doing something else wrong?

Network configuration not working

Hi,
There is "IP CONFIGURATION" in "Networking", but I still wonder how to get it work. Is the virtual networking adapter working in NAT mode or bridge mode?

My local network is 192.168.1.0/24, 192.168.1.1 as the gateway. After Windows is installed in the VM, I find the default gateway "192.168.2.2" which is automatically configured even when I leave it blank in "IP CONFIGURATON".

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.