Skip to content

[AMFI Launch Constraint] CoreDevice services fail to launch on iOS 17+ with roothide Bootstrap #357

@DreamMoonCai

Description

@DreamMoonCai

Device Model

iPhone 15 Pro

iOS Version

17.0

Bootstrap Version

2.1

Packages Updated

Yes

Disable Injection

Yes

What happened

DDI mounted at: /System/Developer (seen in mount output)

Problem:
When connecting device to Xcode 26, Xcode hangs indefinitely at "Preparing iPhone".
CoreDevice services fail to launch due to AMFI Launch Constraint Violation.
Analysis:

  • Roohide redirects /sbin/launchd to .jbroot-.../.sysroot/sbin/launchd
  • AMFI checks the launchd path and rejects the launch
  • CoreDevice services cannot start → Xcode hangs at "Preparing"
    Workaround:
  • Uninstall roothide (exit jailbreak environment) → Xcode works normally
  • But this defeats the purpose of jailbreaking for development
    Request:
    Please add support for CoreDevice services / Xcode debugging in roothide Bootstrap.

Log output

dmesg | grep AMFI: [ 3031.568065]: AMFI: Launch Constraint Violation (enforcing), error info: c[4]p[2]m[1]e[0], (Constraint not matched) launching proc[vc: 1 pid: 5755]: /System/Developer/usr/libexec/dtappserviced, launch type 0, failure proc [vc: 4 pid: 1]: /private/var/containers/Bundle/Application/.jbroot-A46D62A9AA6B0DCE/.sysroot/sbin/launchd

Acknowledgement of README and FAQ

  • I have read both the README and the FAQ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions