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

Shell & SSH doesn't work with Dopamine 1.0.2, iOS 15.1, iPhone XR #110

Closed
Liam0205 opened this issue May 4, 2023 · 23 comments
Closed

Shell & SSH doesn't work with Dopamine 1.0.2, iOS 15.1, iPhone XR #110

Liam0205 opened this issue May 4, 2023 · 23 comments
Labels
question Further information is requested

Comments

@Liam0205
Copy link

Liam0205 commented May 4, 2023

Environ

  • iPhone XR
  • iOS 15.1
  • Dopamine 1.0.2

Reproduction steps

  • Jailbreak with Dopamine 1.0.2
  • Install New Term 3 Beta from Sileo
  • Open New Term 3 Beta
  • Each time, it gives "Session Ended" in red

IMG_0054

BTW, the same combination of Dopamine & New Term 3 Beta on iPhone 13 Pro/iOS 15.4.1 works fine.

Also, SSH connection to the device cannot be established (with OpenSSH server installed).

@bakirfatah99
Copy link

Revomve this will work fine

image

@Liam0205
Copy link
Author

Liam0205 commented May 4, 2023 via email

@opa334
Copy link
Owner

opa334 commented May 4, 2023

Check if it works when you disable tweaks in the Dopamine app

@Cryptiiiic Cryptiiiic added the question Further information is requested label May 4, 2023
@Liam0205
Copy link
Author

Liam0205 commented May 5, 2023

Check if it works when you disable tweaks in the Dopamine app

@opa334 still not work. Test route:

  1. reboot, disable tweak injection, jailbreak, open New Term 3 --- Session End, SSH not work
  2. reboot, enable tweak injection, jailbreak, open Dopamine, disable tweak injection, open New Term 3 --- Session End, SSH not work

@Liam0205 Liam0205 changed the title Shell doesn't work with Dopamine 1.0.2, iOS 15.1, iPhone XR Shell & SSH doesn't work with Dopamine 1.0.2, iOS 15.1, iPhone XR May 5, 2023
@opa334
Copy link
Owner

opa334 commented May 6, 2023

That's certainly weird. Try reinstalling system-cmds in Sileo.

If nothing else works, try removing jailbreak environment and then after being jailbroken, only install NewTerm3 and check if it works then.

@Liam0205
Copy link
Author

Liam0205 commented May 6, 2023

@opa334 still not work. Test route:

  1. reboot, open Dopamine, in Settings, Uninstall Jailbreak.
  2. reboot
  3. reset whole iPhone in System Preferences
  4. Install TrollStore, Install Dopamine, Jailbreak
  5. Install New Term 3 Beta in Sileo, open it --- Got Session Ended
  6. Install OpenSSH (both server & client) --- SSH connection closed

@opa334
Copy link
Owner

opa334 commented May 6, 2023

The fact SSH doesn't work is really weird, like that should work in all cases as long as the trustcache was loaded and the daemon got started.

@Liam0205
Copy link
Author

Liam0205 commented May 7, 2023

@opa334 Same feeling here.

So... without SSH connection and local shell, how can I check if trustcache is loaded correctly, and how can I figure out if SSH daemon get started normaly?

@opa334
Copy link
Owner

opa334 commented May 7, 2023

If the app doesn't error out while jailbreaking, both these things should work.

@Liam0205
Copy link
Author

New info: MTerminal reports bus error when start.

@qnblackcat
Copy link

@Liam0205 I have the exact same issues as your. I installed login from this repo (http://nt994.github.io/) and it fixed the Session Ended error in Newterm 3

SSH is still broken tho

@Liam0205
Copy link
Author

@Liam0205
Copy link
Author

@Liam0205 I have the exact same issues as your. I installed login from this repo (http://nt994.github.io/) and it fixed the Session Ended error in Newterm 3

SSH is still broken tho

Thanks for the information.

I can confirm that by installing this package, New Term 3 works while MTerminal and SSH are still broken.

I was trying to trace this package, and find the tweet. However, it seems that the tweet is still not the origin of the package.

@qnblackcat
Copy link

Please let me know if you have the original source

@Liam0205
Copy link
Author

Please let me know if you have the original source

sure thing

@Liam0205
Copy link
Author

The fact SSH doesn't work is really weird, like that should work in all cases as long as the trustcache was loaded and the daemon got started.

Now, getting New Term 3 works, how chould we check if tructcache is being loaded correctly?

@opa334
Copy link
Owner

opa334 commented May 12, 2023

The root cause is that /private/preboot/<UUID> is not owned by root:wheel on some devices. Fix the permissions with Filza and then everything should work

@opa334
Copy link
Owner

opa334 commented May 12, 2023

Also DO NOT install that login package, it makes this issue 10 times worse, it does not solve anything. Remove that package, then reinstall system-cmds.

@qnblackcat
Copy link

@opa334
Trust me, I reinstall system-cmds a dozen times but it didnt fix Newterm. Even on a fresh jailbreak where Newterm is the only package I have.

00EFB138-5C8A-4172-A69E-420E7C37592E
Does my ownership look good tho?

@

@Liam0205
Copy link
Author

iPhone 13 Pro, wiith New Term and SSH working well: owner root:wheel, permissions 755.

iPhone XR, wiith New Term and SSH broken: owner root:wheel, permissions 777.

Maybe I should change 777 to 755? Will this break SSV?

@Liam0205
Copy link
Author

OK, 755 works. Both New Term and SSH work well now.

@opa334
Copy link
Owner

opa334 commented May 12, 2023

No this will not break SSV

777 is definitely wrong and is what causes the issue

755 is right

@qnblackcat
Copy link

Can confirm 755 works 👌

Liam0205 added a commit to Liam0205/Dopamine that referenced this issue May 12, 2023
Liam0205 added a commit to Liam0205/Dopamine that referenced this issue May 12, 2023
Liam0205 added a commit to Liam0205/Dopamine that referenced this issue May 12, 2023
@opa334 opa334 closed this as completed in 57975d2 May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants