Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang on Dopamine when spawning app #156

Open
jiska2342 opened this issue Oct 31, 2024 · 0 comments
Open

Hang on Dopamine when spawning app #156

jiska2342 opened this issue Oct 31, 2024 · 0 comments

Comments

@jiska2342
Copy link

jiska2342 commented Oct 31, 2024

Hi :)

I'm on iOS 16.2.1, iPhone 14, Dopamine 2.

When dumping apps, bagbak hangs around this step:

spawned app pid => 2520
pid => 2520

bagbak does not spawn the app, and it also doesn't work if I launch the app myself before dumping.
(At least the app is not spawned visually, but in the end there's multiple app processes running in the background? Not sure if that is intended.)

When I open the app myself, look up the PID myself, and modify index.js like this, it works:

    // dump main app
    if (Object.keys(binariesForMain).length) {
      //const pidApp = await script.exports.spawn(this.#app.identifier);
      //debug('spawned app pid =>', pidApp);
      const pidApp = 2521;
      await task(pidApp, binariesForMain);
    }

Not sure if it's a bagbak or a Frida/Jailbreak issue. Maybe this workaround helps someone who has the same problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant